feat: add Command Code agent detection and integration#1
Draft
hubaibmahmood wants to merge 3 commits into
Draft
Conversation
added 3 commits
June 10, 2026 18:49
- Add commandcode.md sub-agent definition in src/semble/agents/ - Add AgentTarget entry in src/semble/installer/agents.py with MCP config (~/.commandcode/mcp.json), instructions (~/.commandcode/AGENTS.md), and sub-agent (~/.commandcode/agents/semble-search.md) - Update docs/installation.md with Command Code MCP, sub-agent, and supported agents sections - Add commandcode to parametrized merge_mcp test
- Change binary='cmd' to binary=None to prevent false detection on
Windows (shutil.which('cmd') resolves to cmd.exe on every Windows
machine regardless of whether Command Code is installed)
- Fix indentation of pi and commandcode AgentTarget entries to match
the 8-space style used by all other entries
- Fix indentation of parametrize block in test_installer.py to match
the 4-space style used throughout the file
- Remove undocumented 'runAs: subagent' from commandcode.md - Change 'allowed-tools' to 'tools' per Command Code docs - Use 'Bash/Read' in description to match other agent files - Fix grep wording to match existing convention - Fix indentation in agents.py (ruff format)
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 MinishLab#189
Adds Command Code (cmd) as a supported agent target in the Semble installer, following the same pattern as PR MinishLab#183 (Reasonix/Pi support).
Files changed
src/semble/installer/agents.py— AddedAgentTargetfor Command Code (binary:cmd, config_dir:~/.commandcode/, mcp:~/.commandcode/mcp.json→ keymcpServers)src/semble/agents/commandcode.md— New sub-agent definition filedocs/installation.md— Added Command Code to supported agents list, MCP manual setup, and sub-agent tabletests/test_installer.py— Added("commandcode", "mcpServers")to parametrized testTesting
make test)make lint,make typecheck)semble installandsemble uninstallwork correctly with Command Code