Repository navigation
fix: support Graphify commands in OpenCode v2 - #1
Merged
safishamsi merged 1 commit intoOct 10, 2026
Merged
Conversation
3 of 6 tasks
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.
The v1.1.0 Git tag loads in OpenCode v2, but
/graphifyis missing because MCP configuration transforms run after plugin setup. Its fallback command executor also throws instead of submitting a prompt.Register the command independently of MCP reconciliation and submit through
ctx.session.prompt, preserving literal arguments, attachments, and delivery. Disabled or unrelated connections refuse execution. Preserve existing commands and v1 behavior, use current v2 types, and prepare version 1.1.1.Validation:
npm run check,npm pack --dry-run, andgit diff --checkpass.@opencode/cli@2.0.26isolated runtime: plugin active;/graphifyregistered; Graphify MCP reachesneeds_auth; command invocation admits the expanded prompt with literal arguments and queue delivery; context hook adds Graphify guidance. A test-only guard stops before the model request. Authenticated tool execution was not tested.Release: merge this PR, then publish
graphify-opencode@1.1.1from the authorized npm account. npm currently serves 1.0.0; the existing Git tag is 1.1.0. The OpenCode v2 ecosystem submission must wait for the fixed release. Related: anomalyco/opencode#54304 and anomalyco/opencode#54303.