throw new Error('Standalone expert entry did not send through the expected project session. session=' + streamSessionId + ' expected=' + String(expertEntry.currentProjectId || ''));
}
} else if (String(expertEntry.entryMode || '') === 'home-chat-shortcut') {
if (String(finalState.viewMode || '') !== 'chat') {
...
...
@@ -484,31 +534,31 @@ if (smokeViewMode === 'skills') {
} else {
throw new Error('Expert-entry smoke returned unsupported entryMode: ' + String(expertEntry.entryMode || ''));
}
} else if (streamSmoke.phase !== 'completed' && !workspaceLaunchAccepted) {