feat(configure): surface Codex and OpenCode in codevhub install / config - #263
Merged
Merged
Conversation
…config` Revert the temporary hide from #223. The Codex and OpenCode rows return to ToolSelect, the single picker shared by `codevhub install` and `codevhub config`, so new users can select and configure them again. Nothing downstream changes: the Tool union, configureCodex / configureOpenCode, detection, restore, update and the launch commands were never touched by the hide. This removes the `hidden` flag and the derived VISIBLE_TOOLS list, since TOOLS is once again the rendered set. Why now: `codevhub readiness` (#197) offers Claude Code, Codex and OpenCode, but gates each on the agent being CoDev-configured and tells the user to "run `codevhub install`, select this agent". With the rows hidden, that instruction was impossible to follow for anyone who installed after #223 — the OpenCode readiness path and its `--agent opencode` flag were unreachable. Tests: restore the extension-row navigation counts (rows shift down two positions), replace the "hides Codex and OpenCode" assertion with the positive render check, and un-skip the two Codex-selection integration tests in InstallApp.test.tsx — they pass unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0178nPaQqSGVe7Y1fR2ovDTK
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.
What
Brings the Codex and OpenCode rows back to the agent picker in
codevhub installandcodevhub config, reverting the temporary hide from #223.Why now
codevhub readiness(#197) offers Claude Code, Codex and OpenCode, but gates each on the agent being CoDev-configured and tells the user to "runcodevhub install, select this agent". With the rows hidden, that instruction was impossible to follow for anyone who installed after #223: the OpenCode row in the readiness picker was permanently(unavailable), and--agent opencode(with its dedicated model path) was unreachable.How
src/components/ToolSelect.tsxis the single selection surface both commands share. Thehiddenflag and the derivedVISIBLE_TOOLSlist are removed, soTOOLSis once again the rendered set. Nothing downstream changes: theToolunion,configureCodex/configureOpenCode, detection, restore, update and the launch commands were never touched by the hide.Tests
tests/InstallApp.test.tsxare un-skipped and pass unchanged.All checks pass:
pnpm fix,pnpm typecheck,pnpm test(1486 passed, 0 skipped),pnpm build && node dist/index.js --version.🤖 Generated with Claude Code
https://claude.ai/code/session_0178nPaQqSGVe7Y1fR2ovDTK