Repository navigation
feat: gate the Agent declaration behind --agent-configuration - #11
Merged
EricWvi merged 1 commit intoOct 20, 2026
Merged
Conversation
assets/config.json declares one personal model connection over openai-completions or anthropic-messages. With --agent-configuration every package carries it, the release reads it back from each archive, binds its digest in [agent_configuration] and publishes the static copy; without the flag the release is unchanged. release.yml does not pass the flag until hosts that resolve the declaration are deployed.
EricWvi
approved these changes
Oct 20, 2026
EricWvi
left a comment
Contributor
There was a problem hiding this comment.
Reviewed 319381f: flag stays off in release.yml, marketplace sync only acts when the manifest binds a declaration, declaration/association shape matches claude-code-agent#2; deno task test/check/lint pass. Non-blocking: add assets/config.json to fmt.exclude so deno fmt cannot change the pinned digest.
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
Gives this plugin the same publish-order switch claude-code-agent got in ora-space/claude-code-agent#2, so a declared OpenCode release can follow the hosts that resolve it:
assets/config.json: one personal model connection,openai-completionsandanthropic-messages,modelCardinality: single, no Settings.deno task package --agent-configuration: every.oraxcarries the declaration; the script reads it back from each finished archive, refuses a release whose packages disagree or miss it, writesdist/agent-configuration.jsonand binds its digest in[agent_configuration]. Without the flag the manifest renders exactly as before, in both release shapes (per-target and universal).release.ymlattaches the static copy when present;marketplace.ymldownloads it for a binding release and places it beside the registry entry, removing a stale one otherwise. The flag is not passed. Turning it on is an owner decision after compatible hosts are deployed.scripts/package.tsstays generic: nothing in it names OpenCode.Independent of #10 (runtime adapter) and of the SDK 0.11.0 publication; both PRs add a
testtask todeno.json, so whichever merges second resolves that one line.ADR: agent-configuration-declarations and agent-configuration-metadata remain approved: nothing is published yet.
Refs ora-space/circus#370
Evidence
tests/package_test.ts(5 tests,deno task test): the declaration's exact shape and pinned digestf1186c1e…defc49; read-back of bound and unbound archives; rejection of non-JSON, missing or zeroschemaVersionand oversize declarations; the flag-off manifest is unchanged for targets and universal releases; with a binding,[agent_configuration]renders after top-level keys and before[[targets]], and after a universalurl/sha256.ora_plugin_config::compile_agent_configuration(desktop, at feat(node): hand model grants to plugin-owned adapters desktop#708 head): fingerprintf1186c1e0f210b3a1c9d4db7b4929183313288d97246e4d5088a342a02defc49, protocols[OpenaiCompletions, AnthropicMessages].deno check,deno lint,deno fmt --checkpass. No real release was packaged.Merge Danger
Door: two-way
Blast Radius: release-packaging
With the flag off, packages and manifests are byte-for-byte what they were.