fix(cli): fix claude install, cross-platform launch, and sudo support#360
Open
fix(cli): fix claude install, cross-platform launch, and sudo support#360
Conversation
- 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>
f913853 to
ea87176
Compare
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>
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>
This was referenced Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm install -g @anthropic-ai/claude-codewith the official curl installercurl -fsSL https://claude.ai/install.sh | bashfor linux/darwin, and PowerShell equivalent for win32openDirectoryandterminalCommandper-platform objects; fix darwin terminal launch; add win32start cmd /ksupportprocess.stdin.isTTYand inherit stdin when running interactively so that commands requiringsudocan prompt the user for a passwordwelcome-agent-setuptest to use correctagent-listtest IDTest plan
pnpm test:unit)pnpm build)pnpm lint:fix)🤖 Generated with Claude Code