fix(opencode): drop mcp shrink auto-registration and fix tools schema#452
fix(opencode): drop mcp shrink auto-registration and fix tools schema#452alaa-alghazouli wants to merge 2 commits into
Conversation
- Stop registering broken standalone caveman-shrink mcp. Emit wrap instructions instead. - Convert agents/cavecrew-*.md tools array to opencode object schema. - Add missing caveman-compress.md command file to fix installer tests.
|
@alaa-alghazouli thank you for this PR as it saved me a lot of headaches; I installed caveman for OpenCode on windows via powershell (solution to the |
|
Is there any quick manual fix? |
Per opencode documentation, the config directory is always ~/.config/opencode regardless of platform. The previous code used APPDATA on Windows, which caused installed files to land in C:\Users\<user>\AppData\Roaming\opencode instead of the expected C:\Users\<user>\.config\opencode, requiring users to manually move files after installation. Both bin/install.js and src/plugins/opencode/plugin.js are updated to remove the APPDATA branch so opencodeConfigDir() always resolves to ~/.config/opencode (or XDG_CONFIG_HOME/opencode when set). Reported-by: gitPhate
878d04b to
1b999cf
Compare
Hey @gitPhate, glad my PR saved you some headaches! Just pushed a fix for the Windows path issue too, opencodeConfigDir() now always uses ~/.config/opencode so no manual file moving needed anymore |
|
@alaa-alghazouli great work, many thanks! |
CI will resync plugins/caveman/agents/... on merge.