Skip to content

agent CLI: friendly errors for old SDK version + worker start failures#869

Closed
theomonnom wants to merge 1 commit into
mainfrom
theo/agent-friendly-errors
Closed

agent CLI: friendly errors for old SDK version + worker start failures#869
theomonnom wants to merge 1 commit into
mainfrom
theo/agent-friendly-errors

Conversation

@theomonnom

Copy link
Copy Markdown
Member

No description provided.

- Pre-flight: reuse agentfs.CheckSDKVersion (pinned to 1.6.0, the thin-CLI baseline) in startAgent so start/dev/console/simulate fail fast with a clear 'too old, upgrade to ...' instead of a cryptic subprocess error.
- On early exit / failed register/connect, surface the agent's OWN output (the real error) plus the full log path - no string-match guessing of the cause. Wired into simulate (CI + TUI) and console.

Verified against staging with a broken .venv (shows the ModuleNotFoundError) and an old declared SDK (shows the upgrade message).
@theomonnom theomonnom force-pushed the theo/agent-friendly-errors branch from f9b2e56 to 8df0f96 Compare June 9, 2026 23:10
@theomonnom

Copy link
Copy Markdown
Member Author

Folded into #867 instead of a separate PR.

@theomonnom theomonnom closed this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant