Repository navigation
Hide the subagent helper's console window and list every OpenCode model - #116
Merged
Merged
Conversation
The ACP helper started npx or opencode without CREATE_NO_WINDOW, unlike every other program Claudiu starts. Release builds have no console of their own, so Windows opened a console window for each subagent run and each model lookup in Settings. A model id with a character other than letters, digits, dots, dashes, underscores and slashes, such as `ollama/qwen3:8b`, gave no agent type, so it vanished from the picker and the page while still counting toward the total. Every such character now becomes a dash, and a long name is cut to the 64 characters Claude Code takes. Each model's tag now shows the type as Claude Code names it, `Claudiu:codex-gpt-6-1-sol`.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Two bugs shipped in 0.9.8 with Codex and OpenCode subagents.
npxoropencodewithout hiding its console. Release builds have no console of their own, so a console window opened for each subagent run and each model lookup in Settings. It now usesplatform::no_windowlike every other program Claudiu starts.ollama/qwen3:8boropenrouter/deepseek/deepseek-r1:free, gave no agent type. It vanished from the picker and the page but still counted toward "N of M on". Every such character now becomes a dash, and a long name is cut to 64 characters.Claudiu:codex-gpt-6-1-sol, since the mod registers the types.Evidence
cargo test: 494 passed, 0 failed. The type-name test now covers colons, spaces and a 70-character id. The headless test reads theClaudiu:tag and fails without the change.bash,editandwriteby name, top-level and underagent.build, still leaves read-only OpenCode with only glob, grep, read and skill. Asked to create a file, it couldn't, and the folder stayed unchanged.Not checked: the console window itself, since that needs a release build on Windows.
Risk
Small. Two cut-short names that come out the same give one type, as two ids that differ only in dots and slashes already did. Revert this commit to undo it.
Refs #115