feat: add config file support and optional toolchains#53
Closed
shrwnsan wants to merge 2 commits intofletchgqc:mainfrom
Closed
feat: add config file support and optional toolchains#53shrwnsan wants to merge 2 commits intofletchgqc:mainfrom
shrwnsan wants to merge 2 commits intofletchgqc:mainfrom
Conversation
5703bd2 to
01be366
Compare
Add ~/.agentbox/config for persistent settings (tool, Java, Claude channel). Make Java opt-out with --no-java flag (backwards compatible). Add --cc-latest flag for latest Claude Code channel. Improve Java status message to avoid command-not-found errors. Config file supports bash key=value format with shebang for syntax highlighting. CLI flags override config file settings. Co-Authored-By: GLM <[email protected]>
Override AGENTBOX_INCLUDE_OPENCODE=false when AGENTBOX_TOOL=opencode since the tool cannot run without being installed. Co-Authored-By: GLM <[email protected]>
01be366 to
9b6c126
Compare
Contributor
Author
|
Closing in favor of new PR #54 with clean history |
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
~/.agentbox/configfile for persistent settings (bash key=value format)--no-javaflag to exclude Java toolchain (default: included for backwards compatibility)--no-opencodeflag to exclude OpenCode installation (default: included)--cc-latestflag for Claude Code latest channel (default: stable)AGENTBOX_TOOL=opencodeis set, overridingAGENTBOX_INCLUDE_OPENCODE=falseConfiguration
Config file supports bash syntax with shebang for editor syntax highlighting:
CLI flags override config file settings.
Examples
Benefits
--no-javaand--no-opencode--cc-latestflagAGENTBOX_INCLUDE_OPENCODE=false🤖 Generated by Claude Code - GLM 4.7