feat(claudecode): make CLI command configurable#418
Open
hushicai wants to merge 1 commit intochenhg5:mainfrom
Open
feat(claudecode): make CLI command configurable#418hushicai wants to merge 1 commit intochenhg5:mainfrom
hushicai wants to merge 1 commit intochenhg5:mainfrom
Conversation
Background: Some users build custom Claude Code binaries with different executable names (e.g., claude-js from leaked source). The claudecode agent was hardcoding 'claude' as the CLI command. Change: Add 'cmd' option in agent config to allow custom CLI binary names. Default is 'claude' for backward compatibility. Usage in config.toml: [projects.agent] type = "claudecode" [projects.agent.options] cmd = "claude-js" # custom command name
chenhg5
approved these changes
Apr 2, 2026
Owner
chenhg5
left a comment
There was a problem hiding this comment.
LGTM! Clean implementation for configurable CLI command.
✅ Feature correctness:
- Adds
cmdoption to claudecode agent config - Defaults to "claude" for backward compatibility
- Properly validates CLI exists in PATH
✅ Code quality: Minimal changes, follows existing patterns.
✅ Tests: CI passes.
Useful for users with custom Claude Code binaries.
|
Seems PR duplicate with #373 |
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.
Background
Some users build custom Claude Code binaries with different executable names (e.g., claude-js from leaked source). The claudecode agent was hardcoding "claude" as the CLI command.
Change
Add cmd option in agent config to allow custom CLI binary names. Default is "claude" for backward compatibility.
Usage