Repository navigation
feat(opencode): convert frozen model bindings and gate declaration packaging - #9
Draft
wanglongan587 wants to merge 1 commit into
Draft
wanglongan587 wants to merge 1 commit into
wanglongan587 wants to merge 1 commit into
Conversation
This was referenced Oct 20, 2026
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
Requires desktop#703. Draft dependency: the published SDK is 0.10.0. Update the formal pin and lock after 0.11.0 publication, then rerun ordinary checks before merging. Local preview imports are used only for validation, never committed as runtime dependencies.
Adds OpenAI Chat Completions / Anthropic Messages conversion, private state, disabled project routing, frozen discovery and model/authentication guards. Raw private diagnostics are suppressed with protocol error codes preserved. Default declaration publication remains off; opted-in archives are read back and compared with immutable static-copy bytes.
ADR: plugin-owned-model-adapters remains approved. This delivers the adapter and publication boundary, not host rollout or final production acceptance.
Refs ora-space/circus#336
Evidence
After: full preview source checks, lint and 6 tests pass, covering both protocols, embedded model slashes, error privacy, frozen-model guards and archive digest mismatch.
Merge Danger
Door: two-way
No publication is performed. Declaration packaging is an explicit opt-in requiring compatible deployed hosts; universal artifacts cannot claim the bundled model contract.
Blast Radius: opencode-adapter
Keep this draft until SDK pin/lock and normal CI are complete. Connections/defaults remain Cloud-owned; this plugin converts only the frozen binding.
Refs ora-space/circus#354