docs: correct the csp --agent list in CLAUDE.md#79
Merged
Conversation
The Public API surface listed `--agent <claude|cursor|codex|opencode| copilot|kiro|gemini>`, which drifted from the actual `Agent` clap ValueEnum in src/bin/csp/main.rs on two counts: - it advertised `codex`, which is NOT a valid `--agent` value (clap rejects it) — Codex is supported via the plugin / MCP `~/.codex/config.toml`, not an `init`-generated agent file; - it omitted csp's own agents: antigravity, commandcode, kiro, pi, reasonix. Sync the list to the real enum and note the Codex distinction. The README's `csp init --agent` examples were already correct. Refs #76
Up to standards ✅🟢 Issues
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
|
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.



Closes #76.
Finding
The reported drift was not in the README — its
csp init --agentexamples already match the implementation. The stale list lived inCLAUDE.mdline 64 (Public API surface):This is wrong two ways vs. the actual
AgentclapValueEnum(src/bin/csp/main.rs):codexis not a valid--agentvalue — clap rejects it. Codex is supported via the plugin (codex plugin add csp@pleaseai) and MCP (~/.codex/config.toml), not aninit-generated agent file.antigravity,commandcode,kiro,pi,reasonix.Decision on codex / zcode (semble#207 / #218)
No new
initagents added. Codex is deliberately handled through the plugin/MCP path, so an--agent codexinit file would be redundant;zcodeis an upstream-installer harness not relevant to csp's deliberately-divergent agent set. The fix is therefore docs-only.Change
Sync CLAUDE.md's
--agentlist to the real 10-variant enum and note the Codex distinction.No code / tests affected.
Summary by cubic
Updated
CLAUDE.mdto sync thecsp --agentoptions with the currentAgentclap ValueEnum. Removedcodex(configured via plugin/MCP, not aninitagent) and listed all supported agents:claude,gemini,cursor,opencode,copilot,kiro,antigravity,commandcode,pi,reasonix.Written for commit 9380337. Summary will update on new commits.