@dfosco/storyboard 0.6.0-beta.7 → 0.6.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1251,9 +1251,11 @@ function handleConnection(ws, widgetId, canvasId, prettyName, widgetStartupComma
|
|
|
1251
1251
|
// the agent feel "stuck" for the first half-minute after launch.
|
|
1252
1252
|
writeFileSync(envScriptPath, envParts.join('\n') + '\necho "Environment loaded:"\n')
|
|
1253
1253
|
} catch { /* empty */ }
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1254
|
+
// Source env script; the trailing readiness echo MUST remain on
|
|
1255
|
+
// the pane so the post-startup poller can match it. Don't append
|
|
1256
|
+
// a `clear` here — the welcomeCmd that runs next clears the pane
|
|
1257
|
+
// itself before launching the agent.
|
|
1258
|
+
const envSourceCmd = `source ${JSON.stringify(envScriptPath)}`
|
|
1257
1259
|
|
|
1258
1260
|
setTimeout(() => {
|
|
1259
1261
|
try {
|