@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard",
3
- "version": "0.6.0-beta.7",
3
+ "version": "0.6.0-beta.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Storyboard prototyping framework — core engine, React integration, and canvas",
@@ -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
- const envSourceCmd = startupCommand
1255
- ? `clear && source ${JSON.stringify(envScriptPath)} && clear`
1256
- : `source ${JSON.stringify(envScriptPath)}`
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 {