feat(opencode): add install script and fix build bugs for OpenCode support#6
Open
fruch wants to merge 4 commits intoSkillPanel:masterfrom
Open
feat(opencode): add install script and fix build bugs for OpenCode support#6fruch wants to merge 4 commits intoSkillPanel:masterfrom
fruch wants to merge 4 commits intoSkillPanel:masterfrom
Conversation
- platforms/opencode/build.sh: 8-phase transform pipeline producing commands, agents, instructions, and config fragments for OpenCode - platforms/opencode/plugin/: TypeScript plugin with tool.execute.before hook (destructive command blocking) and experimental.session.compacting hook (post-compaction workflow reminder) - .gitignore: exclude opencode build output and node_modules
- Add install.sh for single-command Maister installation into OpenCode projects - Fix agent filenames missing 'maister-' prefix in build output - Fix agent prompt paths referencing wrong filenames in agent-fragment.json - Fix Phase 2 to clean stale unprefixed agent files before rebuild - Wrap agent-fragment.json under 'agent' key for OpenCode config format
Author
|
not sure I know where to ship such a thing, too many option :( not as in Claude, that has one official repository |
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
Adds OpenCode platform support with a single-command installer and fixes several build bugs discovered during real-world testing on a Python project (scylla-cluster-tests).
Changes
New
platforms/opencode/install.sh— single-command installer that:.opencode/opencode.jsonwith agents wrapped under the"agent"key (required by OpenCode)@opencode-ai/pluginnpm dependencyBug fixes in
platforms/opencode/build.sh:maister-prefix (e.g.,maister-development.mdinstead ofdevelopment.md)agent-fragment.jsonreference the correctmaister--prefixed filenamesTesting
Tested end-to-end by installing into
/home/fruch/projects/scylla-cluster-testsand verifying OpenCode starts without config errors.Usage