Skip to content

fix(cli): fix claude install, cross-platform launch, and sudo support#360

Open
blackpc wants to merge 6 commits intomainfrom
feat/onboarding-setup-fixes
Open

fix(cli): fix claude install, cross-platform launch, and sudo support#360
blackpc wants to merge 6 commits intomainfrom
feat/onboarding-setup-fixes

Conversation

@blackpc
Copy link
Contributor

@blackpc blackpc commented Mar 15, 2026

Summary

Test plan

  • All 4,021 unit tests pass (pnpm test:unit)
  • Build succeeds (pnpm build)
  • Lint passes (pnpm lint:fix)
  • Pre-commit hooks pass (typecheck, prettier, eslint)

🤖 Generated with Claude Code

@github-actions
Copy link

Dev Release Published

Artifact Version Install
npm 1.113.0-pr360.fc6e148 npm install -g @shepai/cli@1.113.0-pr360.fc6e148

Published from commit ad417eb | View CI

@github-actions
Copy link

Dev Release Published

Artifact Version Install
npm 1.114.0-pr360.d483d29 npm install -g @shepai/cli@1.114.0-pr360.d483d29

Published from commit f913853 | View CI

blackpc and others added 4 commits March 16, 2026 13:25
- Use npm install -g @anthropic-ai/claude-code instead of curl script
- Make openDirectory and terminalCommand per-platform (linux/darwin/win32)
- Fix darwin launch: use osascript instead of broken open -a Terminal.app
- Add win32 terminal command via start cmd
- Inherit stdin when isTTY to allow sudo password prompts
- Add tests for interactive stdin and per-platform launch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix openDirectory printing [object Object] for platform-specific commands
update e2e assertion from curl to npm for claude-code --how output

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
add e2e test asserting shep install gemini-cli --how shows
npm install -g @google/gemini-cli (not bare gemini package name)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ary name

Add installCommand field to AgentAuthStatus interface and propagate it
through all code paths. Use platform-resolved install command in the
empty state banner instead of hardcoded npm install. Fix cursor binary
name from 'cursor' to 'cursor-agent'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@blackpc blackpc force-pushed the feat/onboarding-setup-fixes branch from f913853 to ea87176 Compare March 16, 2026 11:40
@github-actions
Copy link

Dev Release Published

Artifact Version Install
npm 1.120.0-pr360.cadec27 npm install -g @shepai/cli@1.120.0-pr360.cadec27

Published from commit ea87176 | View CI

Replace npm install -g @anthropic-ai/claude-code with
curl -fsSL https://claude.ai/install.sh | bash as the official
install method. Update tool config, e2e tests, and storybook mocks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

Dev Release Published

Artifact Version Install
npm 1.121.0-pr360.3389500 npm install -g @shepai/cli@1.121.0-pr360.3389500

Published from commit 047ed86 | View CI

Update test to use correct 'agent-list' test ID instead of
'welcome-agent-setup' to match the rendered component. Clean up
feature.yaml formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

Dev Release Published

Artifact Version Install
npm 1.122.2-pr360.dfb75fe npm install -g @shepai/cli@1.122.2-pr360.dfb75fe

Published from commit 6088b52 | View CI

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