agent-orchestrator/packages/core/src
prateek dbeb8d9fb2
fix: increase delays in spawn prompt submission to ensure Enter is processed (#62)
Fixes issue where spawned sessions would send the prompt text but the Enter
keystroke would not be submitted, requiring manual Enter press.

Changes:
- Increase delay after paste-buffer from 300ms to 1000ms in tmux.ts sendKeys()
  to ensure tmux processes the paste before receiving Enter keystroke
- Add 100ms delay after Escape key to ensure it's processed before pasting
- Increase spawn wait time from 1s to 2s before sending initial prompt to
  allow Claude to fully initialize (permission prompts, startup, etc.)

These longer delays account for:
1. tmux paste buffer processing time
2. Claude permission prompt interactions
3. Agent initialization and readiness

Closes: FIX-SPAWN-PROMPT-SUBMIT
2026-02-16 20:31:07 +05:30
..
__tests__ feat: wire up live activity detection for agent sessions (#45) 2026-02-16 05:31:02 +05:30
config.ts feat: layered prompt system for agent sessions (#27) 2026-02-14 20:07:13 +05:30
index.ts feat: wire up live activity detection for agent sessions (#45) 2026-02-16 05:31:02 +05:30
lifecycle-manager.ts refactor: replace magic strings with constants for status enums (#64) 2026-02-16 08:53:17 +05:30
metadata.ts fix: remove sessions/ subdirectory from metadata paths (#24) 2026-02-14 17:28:58 +05:30
orchestrator-prompt.ts feat: implement ao start command for unified orchestrator startup (#42) 2026-02-16 04:58:39 +05:30
plugin-registry.ts feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
prompt-builder.ts feat: layered prompt system for agent sessions (#27) 2026-02-14 20:07:13 +05:30
session-manager.ts refactor: replace magic strings with constants for status enums (#64) 2026-02-16 08:53:17 +05:30
tmux.ts fix: increase delays in spawn prompt submission to ensure Enter is processed (#62) 2026-02-16 20:31:07 +05:30
types.ts refactor: replace magic strings with constants for status enums (#64) 2026-02-16 08:53:17 +05:30
utils.ts feat: wire up live activity detection for agent sessions (#45) 2026-02-16 05:31:02 +05:30