Skip to content

Improve missing Claude CLI errors during startup#28

Open
pyxzzfly wants to merge 4 commits intoJKHeadley:mainfrom
pyxzzfly:pyxzzfly/instar-friendly-claude-cli-errors
Open

Improve missing Claude CLI errors during startup#28
pyxzzfly wants to merge 4 commits intoJKHeadley:mainfrom
pyxzzfly:pyxzzfly/instar-friendly-claude-cli-errors

Conversation

@pyxzzfly
Copy link
Copy Markdown

Summary

  • surface actionable Claude Code CLI install guidance when Claude CLI execution fails
  • detect missing Claude CLI during tmux session startup and log the same friendly message
  • preserve the non-blocking spawnInteractiveSession(initialMessage, ...) contract while readiness happens in the background
  • add regression coverage for provider errors, startup death handling, and the non-blocking interactive path

Closes #13.

Testing

  • npx vitest run tests/unit/ClaudeCliIntelligenceProvider.test.ts tests/unit/session-manager-behavioral.test.ts tests/unit/session-resume.test.ts tests/unit/builtin-manifest.test.ts
  • npx vitest run tests/integration/session-resume-flow.test.ts
  • npm run lint

@pyxzzfly pyxzzfly force-pushed the pyxzzfly/instar-friendly-claude-cli-errors branch from 5082162 to 62eca37 Compare March 28, 2026 15:22
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.

Improve error message when Claude Code CLI is not installed

1 participant