@osovv/vv-opencode 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/README.md +87 -85
- package/dist/commands/completion.js +0 -1
- package/dist/commands/completion.js.map +1 -1
- package/dist/commands/doctor.js +6 -9
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/init.d.ts +2 -1
- package/dist/commands/init.js +7 -12
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/install.d.ts +4 -0
- package/dist/commands/install.js +40 -37
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/launch.d.ts +2 -1
- package/dist/commands/launch.js +18 -14
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/patch-provider.d.ts +225 -307
- package/dist/commands/patch-provider.js +92 -296
- package/dist/commands/patch-provider.js.map +1 -1
- package/dist/commands/status.js +7 -10
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.d.ts +4 -0
- package/dist/commands/sync.js +38 -35
- package/dist/commands/sync.js.map +1 -1
- package/dist/index.d.ts +25 -5
- package/dist/index.js +73 -34
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-tool-catalog.d.ts +1 -1
- package/dist/lib/agent-tool-catalog.js +3 -6
- package/dist/lib/agent-tool-catalog.js.map +1 -1
- package/dist/lib/agent-tool-contract.d.ts +22 -13
- package/dist/lib/agent-tool-contract.js +20 -20
- package/dist/lib/agent-tool-contract.js.map +1 -1
- package/dist/lib/analytics/types.d.ts +7 -1
- package/dist/lib/analytics/types.js +2 -2
- package/dist/lib/analytics/types.js.map +1 -1
- package/dist/lib/config-layers.d.ts +28 -6
- package/dist/lib/config-layers.js +268 -73
- package/dist/lib/config-layers.js.map +1 -1
- package/dist/lib/managed-agents.d.ts +24 -2
- package/dist/lib/managed-agents.js +45 -15
- package/dist/lib/managed-agents.js.map +1 -1
- package/dist/lib/model-roles.d.ts +5 -0
- package/dist/lib/model-roles.js +22 -1
- package/dist/lib/model-roles.js.map +1 -1
- package/dist/lib/opencode/agent-registrations.d.ts +4 -4
- package/dist/lib/opencode/agent-registrations.js +386 -197
- package/dist/lib/opencode/agent-registrations.js.map +1 -1
- package/dist/lib/opencode/inspection.d.ts +13 -13
- package/dist/lib/opencode/inspection.js +69 -106
- package/dist/lib/opencode/inspection.js.map +1 -1
- package/dist/lib/opencode/model-overrides.d.ts +2 -2
- package/dist/lib/opencode/model-overrides.js +192 -47
- package/dist/lib/opencode/model-overrides.js.map +1 -1
- package/dist/lib/opencode/paths.d.ts +6 -2
- package/dist/lib/opencode/paths.js +12 -11
- package/dist/lib/opencode/paths.js.map +1 -1
- package/dist/lib/opencode/plugin-registration.d.ts +10 -11
- package/dist/lib/opencode/plugin-registration.js +76 -138
- package/dist/lib/opencode/plugin-registration.js.map +1 -1
- package/dist/lib/opencode/shared-utils.d.ts +47 -3
- package/dist/lib/opencode/shared-utils.js +346 -15
- package/dist/lib/opencode/shared-utils.js.map +1 -1
- package/dist/lib/opencode.d.ts +5 -6
- package/dist/lib/opencode.js +10 -10
- package/dist/lib/opencode.js.map +1 -1
- package/dist/lib/vvoc-config.js +4 -4
- package/dist/lib/vvoc-config.js.map +1 -1
- package/dist/lib/vvoc-paths.d.ts +7 -0
- package/dist/lib/vvoc-paths.js +15 -1
- package/dist/lib/vvoc-paths.js.map +1 -1
- package/dist/lib/vvoc-preset-registry.d.ts +38 -50
- package/dist/lib/vvoc-preset-registry.js +38 -48
- package/dist/lib/vvoc-preset-registry.js.map +1 -1
- package/dist/plugins/analytics/index.d.ts +20 -14
- package/dist/plugins/analytics/index.js +281 -133
- package/dist/plugins/analytics/index.js.map +1 -1
- package/dist/plugins/guardian/index.d.ts +63 -42
- package/dist/plugins/guardian/index.js +217 -759
- package/dist/plugins/guardian/index.js.map +1 -1
- package/dist/plugins/hashline-edit/index.d.ts +145 -31
- package/dist/plugins/hashline-edit/index.js +679 -244
- package/dist/plugins/hashline-edit/index.js.map +1 -1
- package/dist/plugins/hashline-edit/schemas.d.ts +1 -1
- package/dist/plugins/hashline-edit/schemas.js +3 -3
- package/dist/plugins/hashline-edit/schemas.js.map +1 -1
- package/dist/plugins/model-roles/index.d.ts +18 -4
- package/dist/plugins/model-roles/index.js +44 -181
- package/dist/plugins/model-roles/index.js.map +1 -1
- package/dist/plugins/peak-hours/index.d.ts +23 -22
- package/dist/plugins/peak-hours/index.js +210 -178
- package/dist/plugins/peak-hours/index.js.map +1 -1
- package/dist/plugins/secrets-redaction/deep.js +35 -51
- package/dist/plugins/secrets-redaction/deep.js.map +1 -1
- package/dist/plugins/secrets-redaction/index.d.ts +96 -8
- package/dist/plugins/secrets-redaction/index.js +290 -102
- package/dist/plugins/secrets-redaction/index.js.map +1 -1
- package/dist/plugins/secrets-redaction/session.d.ts +9 -0
- package/dist/plugins/secrets-redaction/session.js +21 -4
- package/dist/plugins/secrets-redaction/session.js.map +1 -1
- package/dist/plugins/secrets-redaction/stream.d.ts +92 -0
- package/dist/plugins/secrets-redaction/stream.js +772 -0
- package/dist/plugins/secrets-redaction/stream.js.map +1 -0
- package/dist/plugins/spec-guard/index.d.ts +49 -18
- package/dist/plugins/spec-guard/index.js +231 -129
- package/dist/plugins/spec-guard/index.js.map +1 -1
- package/dist/plugins/system-context-injection/index.d.ts +10 -4
- package/dist/plugins/system-context-injection/index.js +271 -78
- package/dist/plugins/system-context-injection/index.js.map +1 -1
- package/dist/plugins/tool-history-compaction/index.d.ts +26 -4
- package/dist/plugins/tool-history-compaction/index.js +170 -32
- package/dist/plugins/tool-history-compaction/index.js.map +1 -1
- package/dist/plugins/tool-history-compaction/transform.d.ts +47 -16
- package/dist/plugins/tool-history-compaction/transform.js +173 -55
- package/dist/plugins/tool-history-compaction/transform.js.map +1 -1
- package/dist/plugins/web-tools/fetch-service.d.ts +51 -13
- package/dist/plugins/web-tools/fetch-service.js +106 -75
- package/dist/plugins/web-tools/fetch-service.js.map +1 -1
- package/dist/plugins/web-tools/index.d.ts +58 -16
- package/dist/plugins/web-tools/index.js +202 -91
- package/dist/plugins/web-tools/index.js.map +1 -1
- package/dist/plugins/web-tools/media-loader.d.ts +3 -3
- package/dist/plugins/web-tools/media-loader.js +3 -3
- package/dist/plugins/web-tools/media-loader.js.map +1 -1
- package/dist/plugins/web-tools/providers/native-fetch.d.ts +2 -2
- package/dist/plugins/web-tools/providers/native-fetch.js +1 -1
- package/dist/plugins/web-tools/providers/native-fetch.js.map +1 -1
- package/dist/plugins/web-tools/providers/spider.d.ts +2 -2
- package/dist/plugins/web-tools/providers/spider.js +1 -1
- package/dist/plugins/web-tools/providers/spider.js.map +1 -1
- package/dist/plugins/web-tools/providers/zai.d.ts +2 -2
- package/dist/plugins/web-tools/providers/zai.js +1 -1
- package/dist/plugins/web-tools/providers/zai.js.map +1 -1
- package/dist/plugins/web-tools/schemas.d.ts +1 -1
- package/dist/plugins/web-tools/schemas.js +3 -3
- package/dist/plugins/web-tools/schemas.js.map +1 -1
- package/dist/plugins/web-tools/search-service.d.ts +81 -12
- package/dist/plugins/web-tools/search-service.js +104 -57
- package/dist/plugins/web-tools/search-service.js.map +1 -1
- package/dist/plugins/workflow/authorization.d.ts +44 -10
- package/dist/plugins/workflow/authorization.js +113 -73
- package/dist/plugins/workflow/authorization.js.map +1 -1
- package/dist/plugins/workflow/cancellation.d.ts +86 -0
- package/dist/plugins/workflow/cancellation.js +202 -0
- package/dist/plugins/workflow/cancellation.js.map +1 -0
- package/dist/plugins/workflow/checkpoints.d.ts +7 -1
- package/dist/plugins/workflow/checkpoints.js +141 -21
- package/dist/plugins/workflow/checkpoints.js.map +1 -1
- package/dist/plugins/workflow/delegated.d.ts +14 -0
- package/dist/plugins/workflow/delegated.js +6 -5
- package/dist/plugins/workflow/delegated.js.map +1 -1
- package/dist/plugins/workflow/host.d.ts +81 -0
- package/dist/plugins/workflow/host.js +189 -0
- package/dist/plugins/workflow/host.js.map +1 -0
- package/dist/plugins/workflow/index.d.ts +69 -4
- package/dist/plugins/workflow/index.js +1391 -1026
- package/dist/plugins/workflow/index.js.map +1 -1
- package/dist/plugins/workflow/recovery.d.ts +3 -5
- package/dist/plugins/workflow/recovery.js +18 -33
- package/dist/plugins/workflow/recovery.js.map +1 -1
- package/dist/plugins/workflow/repair.d.ts +31 -5
- package/dist/plugins/workflow/repair.js +116 -48
- package/dist/plugins/workflow/repair.js.map +1 -1
- package/dist/plugins/workflow/results.d.ts +31 -31
- package/dist/plugins/workflow/results.js +4 -4
- package/dist/plugins/workflow/results.js.map +1 -1
- package/dist/plugins/workflow/schemas.d.ts +3 -3
- package/dist/plugins/workflow/schemas.js +5 -5
- package/dist/plugins/workflow/schemas.js.map +1 -1
- package/dist/plugins/workflow/system-instruction.md +4 -0
- package/dist/plugins/workflow/tooling.d.ts +6 -0
- package/dist/plugins/workflow/tooling.js +3 -1
- package/dist/plugins/workflow/tooling.js.map +1 -1
- package/dist/runtime/auxiliary.d.ts +13 -0
- package/dist/runtime/auxiliary.js +108 -0
- package/dist/runtime/auxiliary.js.map +1 -0
- package/dist/runtime/client.d.ts +88 -0
- package/dist/runtime/client.js +174 -0
- package/dist/runtime/client.js.map +1 -0
- package/dist/runtime/context-inspection-contract.d.ts +397 -0
- package/dist/runtime/context-inspection-contract.js +622 -0
- package/dist/runtime/context-inspection-contract.js.map +1 -0
- package/dist/runtime/context-inspection.d.ts +52 -0
- package/dist/runtime/context-inspection.js +324 -0
- package/dist/runtime/context-inspection.js.map +1 -0
- package/dist/runtime/context.d.ts +192 -0
- package/dist/runtime/context.js +1246 -0
- package/dist/runtime/context.js.map +1 -0
- package/dist/runtime/coordination.d.ts +40 -0
- package/dist/runtime/coordination.js +87 -0
- package/dist/runtime/coordination.js.map +1 -0
- package/dist/runtime/model-registry.d.ts +34 -0
- package/dist/runtime/model-registry.js +227 -0
- package/dist/runtime/model-registry.js.map +1 -0
- package/dist/runtime/permissions.d.ts +20 -0
- package/dist/runtime/permissions.js +250 -0
- package/dist/runtime/permissions.js.map +1 -0
- package/dist/runtime/snapshot-config.d.ts +80 -0
- package/dist/runtime/snapshot-config.js +268 -0
- package/dist/runtime/snapshot-config.js.map +1 -0
- package/dist/runtime/snapshot-store.d.ts +25 -0
- package/dist/runtime/snapshot-store.js +519 -0
- package/dist/runtime/snapshot-store.js.map +1 -0
- package/dist/runtime/snapshots.d.ts +59 -0
- package/dist/runtime/snapshots.js +721 -0
- package/dist/runtime/snapshots.js.map +1 -0
- package/dist/runtime/types.d.ts +713 -0
- package/dist/runtime/types.js +190 -0
- package/dist/runtime/types.js.map +1 -0
- package/dist/tui/analytics/indicator.d.ts +25 -26
- package/dist/tui/analytics/indicator.js +66 -74
- package/dist/tui/analytics/indicator.js.map +1 -1
- package/dist/tui/branding/footer.d.ts +7 -12
- package/dist/tui/branding/footer.js +16 -24
- package/dist/tui/branding/footer.js.map +1 -1
- package/dist/tui/context/analyze.d.ts +20 -9
- package/dist/tui/context/analyze.js +295 -257
- package/dist/tui/context/analyze.js.map +1 -1
- package/dist/tui/context/collect.d.ts +29 -3
- package/dist/tui/context/collect.js +450 -66
- package/dist/tui/context/collect.js.map +1 -1
- package/dist/tui/context/plugin.d.ts +21 -7
- package/dist/tui/context/plugin.js +65 -70
- package/dist/tui/context/plugin.js.map +1 -1
- package/dist/tui/context/types.d.ts +174 -43
- package/dist/tui/context/types.js +25 -19
- package/dist/tui/context/types.js.map +1 -1
- package/dist/tui/context/view.d.ts +33 -7
- package/dist/tui/context/view.js +136 -81
- package/dist/tui/context/view.js.map +1 -1
- package/dist/tui/peak-hours/banner.d.ts +13 -11
- package/dist/tui/peak-hours/banner.js +48 -80
- package/dist/tui/peak-hours/banner.js.map +1 -1
- package/dist/tui/policy.d.ts +69 -0
- package/dist/tui/policy.js +169 -0
- package/dist/tui/policy.js.map +1 -0
- package/dist/tui.d.ts +3 -8
- package/dist/tui.js +72 -68
- package/dist/tui.js.map +1 -1
- package/package.json +19 -15
- package/schemas/vvoc/v3.json +1 -1
- package/server.js +3 -5
- package/templates/agents/enhancer.md +10 -5
- package/templates/agents/guardian.md +10 -4
- package/templates/agents/investigator.md +4 -2
- package/templates/agents/vv-code-reviewer.md +4 -2
- package/templates/agents/vv-spec-reviewer.md +4 -2
- package/templates/skills/vv-execute/references/tool-contracts.md +1 -1
- package/tui.js +3 -5
- package/dist/plugins/analytics/v2.d.ts +0 -21
- package/dist/plugins/analytics/v2.js +0 -133
- package/dist/plugins/analytics/v2.js.map +0 -1
- package/dist/plugins/guardian/v2.d.ts +0 -13
- package/dist/plugins/guardian/v2.js +0 -161
- package/dist/plugins/guardian/v2.js.map +0 -1
- package/dist/plugins/hashline-edit/v2.d.ts +0 -12
- package/dist/plugins/hashline-edit/v2.js +0 -145
- package/dist/plugins/hashline-edit/v2.js.map +0 -1
- package/dist/plugins/model-roles/v2.d.ts +0 -24
- package/dist/plugins/model-roles/v2.js +0 -274
- package/dist/plugins/model-roles/v2.js.map +0 -1
- package/dist/plugins/peak-hours/v2.d.ts +0 -12
- package/dist/plugins/peak-hours/v2.js +0 -95
- package/dist/plugins/peak-hours/v2.js.map +0 -1
- package/dist/plugins/secrets-redaction/v2.d.ts +0 -14
- package/dist/plugins/secrets-redaction/v2.js +0 -100
- package/dist/plugins/secrets-redaction/v2.js.map +0 -1
- package/dist/plugins/spec-guard/v2.d.ts +0 -12
- package/dist/plugins/spec-guard/v2.js +0 -139
- package/dist/plugins/spec-guard/v2.js.map +0 -1
- package/dist/plugins/system-context-injection/agent-contexts.d.ts +0 -5
- package/dist/plugins/system-context-injection/agent-contexts.js +0 -164
- package/dist/plugins/system-context-injection/agent-contexts.js.map +0 -1
- package/dist/plugins/system-context-injection/v2.d.ts +0 -13
- package/dist/plugins/system-context-injection/v2.js +0 -60
- package/dist/plugins/system-context-injection/v2.js.map +0 -1
- package/dist/plugins/tool-history-compaction/v2.d.ts +0 -11
- package/dist/plugins/tool-history-compaction/v2.js +0 -56
- package/dist/plugins/tool-history-compaction/v2.js.map +0 -1
- package/dist/plugins/v2-runtime/config-watcher.d.ts +0 -26
- package/dist/plugins/v2-runtime/config-watcher.js +0 -111
- package/dist/plugins/v2-runtime/config-watcher.js.map +0 -1
- package/dist/plugins/v2-runtime/index.d.ts +0 -50
- package/dist/plugins/v2-runtime/index.js +0 -114
- package/dist/plugins/v2-runtime/index.js.map +0 -1
- package/dist/plugins/v2-runtime/location-config.d.ts +0 -51
- package/dist/plugins/v2-runtime/location-config.js +0 -91
- package/dist/plugins/v2-runtime/location-config.js.map +0 -1
- package/dist/plugins/v2-runtime/setup.d.ts +0 -48
- package/dist/plugins/v2-runtime/setup.js +0 -174
- package/dist/plugins/v2-runtime/setup.js.map +0 -1
- package/dist/plugins/web-tools/v2.d.ts +0 -11
- package/dist/plugins/web-tools/v2.js +0 -99
- package/dist/plugins/web-tools/v2.js.map +0 -1
- package/dist/plugins/workflow/v2.d.ts +0 -58
- package/dist/plugins/workflow/v2.js +0 -181
- package/dist/plugins/workflow/v2.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
|
1
|
+
## 2.1.0 (2026-10-01)
|
|
2
|
+
|
|
3
|
+
### Summary
|
|
4
|
+
|
|
5
|
+
Version 2.1.0 completes the migration to a native OpenCode 2.0.18 integration, replacing the earlier dual-runtime approach so that install, init, sync, and launch now target the supported host window (>=2.0.18 <2.0.19) and fail closed outside it, and it drops legacy V1 dependencies and the Kimi preset while preserving user-owned configuration. Workflow tracking and recovery are ported to the native host, including correct cancellation settlement on the live native root-interrupt shape and safe handling of failed report repair, while the context TUI gains real-PTY acceptance coverage. Reliability and safety fixes matter to users throughout: secrets restoration and redaction now rebuild owned copies so frozen native tool inputs can no longer throw, WebSocket framing state is isolated per session and reset at each request boundary so abandoned streams no longer poison later responses, native file boundaries, read anchoring, and permission checks are enforced, snapshot admission and auxiliary lineage are correlated and persisted, and setup validates the native document before any write while keeping role intent in the modelIntent envelope instead of native model literals. The release also bounds commit diffs in the release-summary prompt so large releases no longer exceed the summary model's context window and fail release preparation, aggregating installed-parity evidence that verifies the packed artifact and its surfaces against the pinned host. For users this means a cleaner, more predictable native experience with stronger guarantees around secrets, edits, cancellation recovery, and configuration safety.
|
|
6
|
+
|
|
7
|
+
* fix(release): bound commit diffs in summary prompt to model context ([1c6f722](https://github.com/osovv/vv-opencode/commit/1c6f722))
|
|
8
|
+
* fix(v2): contain midpoint stream and workflow failures ([5ff4290](https://github.com/osovv/vv-opencode/commit/5ff4290))
|
|
9
|
+
* fix(v2): copy-on-write secret restore for frozen native tool input ([3a4f72f](https://github.com/osovv/vv-opencode/commit/3a4f72f))
|
|
10
|
+
* fix(v2): correlate snapshot admission and persist auxiliary lineage ([029eb62](https://github.com/osovv/vv-opencode/commit/029eb62))
|
|
11
|
+
* fix(v2): enforce native file boundaries and read anchoring ([4b1e953](https://github.com/osovv/vv-opencode/commit/4b1e953))
|
|
12
|
+
* fix(v2): isolate websocket framing by request lifetime ([7fb9ac1](https://github.com/osovv/vv-opencode/commit/7fb9ac1))
|
|
13
|
+
* fix(v2): validate native setup and preserve model intent ([67424d7](https://github.com/osovv/vv-opencode/commit/67424d7))
|
|
14
|
+
* fix(workflow): settle cancellation on live native root-interrupt shape ([c77f36d](https://github.com/osovv/vv-opencode/commit/c77f36d))
|
|
15
|
+
* chore(grace): apply and archive C-OPENCODE-V2-NATIVE ([01f13b8](https://github.com/osovv/vv-opencode/commit/01f13b8))
|
|
16
|
+
* chore(grace): record native V2 rewrite plan and findings ([c003724](https://github.com/osovv/vv-opencode/commit/c003724))
|
|
17
|
+
* chore(v2): checkpoint host gating and Kimi removal ([0dfa6ad](https://github.com/osovv/vv-opencode/commit/0dfa6ad))
|
|
18
|
+
* chore(v2): checkpoint native setup awaiting acceptance ([9afd855](https://github.com/osovv/vv-opencode/commit/9afd855))
|
|
19
|
+
* chore(v2): checkpoint safety ports pending native boundary fixes ([2dc7ac6](https://github.com/osovv/vv-opencode/commit/2dc7ac6))
|
|
20
|
+
* chore(v2): checkpoint unfinished native runtime and snapshots ([25c4db1](https://github.com/osovv/vv-opencode/commit/25c4db1))
|
|
21
|
+
* docs(grace): record final spec review pass ([4bdf00a](https://github.com/osovv/vv-opencode/commit/4bdf00a))
|
|
22
|
+
* docs(grace): retain native file boundary and creation findings ([537a5d2](https://github.com/osovv/vv-opencode/commit/537a5d2))
|
|
23
|
+
* docs(v2): reconcile README/AGENTS/GRACE to native V2-only ([0cf66b9](https://github.com/osovv/vv-opencode/commit/0cf66b9))
|
|
24
|
+
* docs(v2): record final delivery evidence snapshot ([6671291](https://github.com/osovv/vv-opencode/commit/6671291))
|
|
25
|
+
* docs(v2): restore grace-lint-clean semantic markup ([d5c573e](https://github.com/osovv/vv-opencode/commit/d5c573e))
|
|
26
|
+
* test(v2): add isolated packed core acceptance harness ([3403e2e](https://github.com/osovv/vv-opencode/commit/3403e2e))
|
|
27
|
+
* test(v2): aggregate guardian + hashline parity (32/38) ([62906e5](https://github.com/osovv/vv-opencode/commit/62906e5))
|
|
28
|
+
* test(v2): aggregate spec-guard + compaction parity (34/38) ([f54fdcf](https://github.com/osovv/vv-opencode/commit/f54fdcf))
|
|
29
|
+
* test(v2): aggregate tool control plane, web-tools parity (30/38) ([cfe96d7](https://github.com/osovv/vv-opencode/commit/cfe96d7))
|
|
30
|
+
* test(v2): aggregate-root parity tier (27/38 rows) ([d028207](https://github.com/osovv/vv-opencode/commit/d028207))
|
|
31
|
+
* test(v2): correct workflow cancellation parity harness; native interrupt-observability wall ([c8aab64](https://github.com/osovv/vv-opencode/commit/c8aab64))
|
|
32
|
+
* test(v2): drive workflow foreground launch in aggregate parity ([f3e90ba](https://github.com/osovv/vv-opencode/commit/f3e90ba))
|
|
33
|
+
* test(v2): finalize installed-parity evidence with honest AC-11 residuals ([f507ced](https://github.com/osovv/vv-opencode/commit/f507ced))
|
|
34
|
+
* test(v2): installed-artifact parity harness foundation (26/38 rows) ([50c4f91](https://github.com/osovv/vv-opencode/commit/50c4f91))
|
|
35
|
+
* test(v2): rewrite tool-contract host harness for native 2.0.18 ([e6a5161](https://github.com/osovv/vv-opencode/commit/e6a5161))
|
|
36
|
+
* test(v2): verify analytics usage in aggregate parity (29/38) ([868810f](https://github.com/osovv/vv-opencode/commit/868810f))
|
|
37
|
+
* test(v2): verify peak-hours primary gating in aggregate parity (28/38) ([d931df9](https://github.com/osovv/vv-opencode/commit/d931df9))
|
|
38
|
+
* feat(v2): assemble native package and coordinate snapshot admission ([1755af5](https://github.com/osovv/vv-opencode/commit/1755af5))
|
|
39
|
+
* feat(v2): deliver native context TUI and PTY acceptance ([caa1244](https://github.com/osovv/vv-opencode/commit/caa1244))
|
|
40
|
+
* feat(v2): port context telemetry compaction and peak policies ([98b5680](https://github.com/osovv/vv-opencode/commit/98b5680))
|
|
41
|
+
* feat(workflow): port tracking and recovery to native V2 ([7aa723d](https://github.com/osovv/vv-opencode/commit/7aa723d))
|
|
42
|
+
|
|
43
|
+
## <small>2.0.1 (2026-09-26)</small>
|
|
44
|
+
|
|
45
|
+
### Summary
|
|
46
|
+
|
|
47
|
+
Version 2.0.1 closes silent parity gaps discovered in the post-release audit of the OpenCode v2 migration, tightening behavior that previously differed from the v1 runtime. Guardian now registers its tool-intent tracker and derives command intents from prompt admission metadata, and both event subscriptions filter by location directory so shared servers never cross-review projects outside their own. Peak-hours restores the static managed subagent set, keeping continuation work soft-exempt in hard mode. Secrets redaction now protects auxiliary title, generate, and compaction requests input-side, since v2 exposes no completion-output hook, so those models never observe placeholders and cannot echo them into persisted titles or summaries. Workflow bridges the v2 event stream into the shared handler, with user prompt admissions, tool failure and progress states, and session deletions driving child-freshness taints, live binding consumption, and store cleanup under the same fail-closed rules. Together these fixes make the v2 runtime behave consistently with v1, prevent placeholder leakage into generated titles, and add regression coverage through event-translation and redaction tests verified against a real v2 server.
|
|
48
|
+
|
|
49
|
+
* fix(v2): close the silent v2 parity gaps from the post-release audit ([4b48034](https://github.com/osovv/vv-opencode/commit/4b48034))
|
|
50
|
+
* chore(grace): apply and archive C-OPENCODE-V2-MIGRATION ([013c032](https://github.com/osovv/vv-opencode/commit/013c032))
|
|
51
|
+
|
|
1
52
|
## 2.0.0 (2026-09-26)
|
|
2
53
|
|
|
3
54
|
### Summary
|
package/README.md
CHANGED
|
@@ -62,39 +62,19 @@ Every managed skill can also be invoked explicitly when you want to drive the pr
|
|
|
62
62
|
## Quick start
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
|
-
bun add -g opencode
|
|
65
|
+
bun add -g @opencode/cli@2.0.18 # native OpenCode host, pinned to the supported window
|
|
66
66
|
bun add -g @osovv/vv-opencode
|
|
67
67
|
vvoc install
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
`vvoc install` does four things:
|
|
71
71
|
|
|
72
|
-
- pins `@osovv/vv-opencode`
|
|
73
|
-
- scaffolds the managed agents and skills;
|
|
72
|
+
- pins `@osovv/vv-opencode` once in the native OpenCode `plugins` array — the host resolves that package's `./server` export for server plugins and its `./tui` export for the terminal UI;
|
|
73
|
+
- scaffolds the managed agents and skills and registers them through the native `agents` and `skills` config;
|
|
74
74
|
- writes the canonical `vvoc.json` config;
|
|
75
|
-
- sets `vv-controller` as your default OpenCode agent, with the spec, planning, review, reflection, and handoff skills auto-
|
|
75
|
+
- sets `vv-controller` as your default OpenCode agent (`default_agent`), with the spec, planning, review, reflection, and handoff skills auto-triggering by request type.
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
### OpenCode v2 support
|
|
80
|
-
|
|
81
|
-
Since 2.0.0 the package is dual-runtime and supports both OpenCode 1 and OpenCode 2: the same pinned package loads under OpenCode v1 (`>= 1.18.29`, through the object `server()` entrypoint) and OpenCode v2 (`>= 2.0.18`, through `Plugin.define` `setup()`). Installing either major line with `vvoc install` / `vvoc sync` works unchanged: v2 reads the same `plugin` array fields and the same `.opencode/` layout.
|
|
82
|
-
|
|
83
|
-
What changes on the v2 runtime:
|
|
84
|
-
|
|
85
|
-
- **One server, many sessions.** v2 runs one background server with thin clients; vvoc plugins resolve their configuration per session location instead of one startup snapshot, so a single server can host projects with different toggles, role maps, and policies.
|
|
86
|
-
- **Restart-free presets.** Changing roles or presets in `vvoc.json` takes effect through replayable transforms and a config watcher — no OpenCode restart. Each session pins its role-resolved model on its first prompt, so a long autonomous session stays anchored to its starting preset while new sessions pick up the switched one (verified end to end against a real v2 server by `bun run e2e:v2`).
|
|
87
|
-
- **Role references survive config normalization.** v2 strips `vv-role:` model strings from config-defined agents; the model-roles plugin reads them from the raw project config and applies them per session.
|
|
88
|
-
- **Same-name tool registration replaces built-ins.** `web_search` / `web_fetch` override the v2 built-ins while enabled and restore them when disabled.
|
|
89
|
-
- **The workflow delegated continuation prompt degrades fail-closed** under the v2 prompt shape: unrecognized or unavailable continuation paths reject the attempt and never accept a report.
|
|
90
|
-
|
|
91
|
-
The full v2 `/context` TUI inspector ships in a follow-up release; the v2 TUI entry registers the `/context` command with a status dialog while the complete v1 inspector keeps running on the v1 runtime.
|
|
92
|
-
|
|
93
|
-
End-to-end verification against a sandboxed, real OpenCode v2 server (isolated binary, disposable XDG homes, PID-exact lifecycle):
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
bun run e2e:v2
|
|
97
|
-
```
|
|
77
|
+
vv-opencode supports OpenCode `>=2.0.18 <2.0.19` only — V1 hosts and 2.0.19 or newer are outside the supported window, and `vvoc install`/`init`/`sync`/`launch` fail closed with the exact window when the installed host does not match. `vvoc status` and `vvoc doctor` report the installed host version next to that window (`OpenCode supported range: >=2.0.18 <2.0.19`) without changing any files. Install the host from npm as `@opencode/cli` (its `opencode` binary) or from the matching official binary distribution; do not install the legacy `opencode-ai` V1 host.
|
|
98
78
|
|
|
99
79
|
**Want to try it without touching your global setup?** Scope everything to one project:
|
|
100
80
|
|
|
@@ -103,7 +83,7 @@ vvoc install --scope project
|
|
|
103
83
|
vvoc launch --scope project
|
|
104
84
|
```
|
|
105
85
|
|
|
106
|
-
Project scope writes only to `./.opencode/` and `./.vvoc/`. A plain `opencode` launch may still apply OpenCode's native config discovery and merge behavior; `vvoc launch --scope project` is the hard sandbox path — it starts OpenCode with `OPENCODE_CONFIG
|
|
86
|
+
Project scope writes only to `./.opencode/` and `./.vvoc/`. A plain `opencode` launch may still apply OpenCode's native config discovery and merge behavior; `vvoc launch --scope project` is the hard sandbox path — it starts OpenCode with `OPENCODE_CONFIG` and `VVOC_CONFIG` pinned to the selected local files (and pins the native `OPENCODE_CONFIG_DIR` discovery root when the selected config sits outside the default one, so generated sibling agents and skills are still found), so you can smoke-test vv-opencode in one repository without mutating your primary global setup.
|
|
107
87
|
|
|
108
88
|
> **Already installed?** Run `vvoc sync` anytime to refresh plugins, prompts, skills, and presets.
|
|
109
89
|
|
|
@@ -181,15 +161,17 @@ grep '<COMPONENT-' .vvoc/specs/*/*.xml # component map across spec and plan
|
|
|
181
161
|
|
|
182
162
|
## What's inside
|
|
183
163
|
|
|
184
|
-
### The
|
|
164
|
+
### The eleven server plugins and the native TUI
|
|
165
|
+
|
|
166
|
+
Eleven server plugins run inside the OpenCode server process; the twelfth entry, **ContextTuiPlugin**, runs in the terminal UI through the same pinned package's `./tui` export.
|
|
185
167
|
|
|
186
168
|
| Plugin | What it does |
|
|
187
169
|
|---|---|
|
|
188
170
|
| **WorkflowPlugin** | A state machine over multi-agent work: explicit work items, required reviewers, bounded implementation/review rounds, and hard stops when more context is needed. |
|
|
189
|
-
| **ModelRolesPlugin** | Semantic model roles (`vv-role:smart`, `vv-role:fast`, …) instead of hardcoded model IDs in agents, subagents, and commands — resolved
|
|
171
|
+
| **ModelRolesPlugin** | Semantic model roles (`vv-role:smart`, `vv-role:fast`, …) instead of hardcoded model IDs in agents, subagents, and commands — resolved from the effective vvoc role map plus the native `modelIntent` envelope each time a session family binds its snapshot. |
|
|
190
172
|
| **GuardianPlugin** | Keeps long or AFK runs moving by auto-approving routine low-risk permission requests; anything risky stays in OpenCode's normal manual approval flow. |
|
|
191
173
|
| **HashlineEditPlugin** | Routes each model to exactly one native edit tool (host `edit` for GLM/Qwen/Kimi, host `apply_patch` for GPT, `str_replace_editor` for DeepSeek, `hashline_edit` for unmatched models) and hides the other edit tools per session. |
|
|
192
|
-
| **SystemContextInjectionPlugin** | Injects universal guidance — including correctness obligations and evidence discipline for behavior changes — plus the work policy selected by the orchestration profile into vv-controller at startup
|
|
174
|
+
| **SystemContextInjectionPlugin** | Injects universal guidance — including correctness obligations and evidence discipline for behavior changes — plus the work policy selected by the orchestration profile into vv-controller at startup; subagents stay unpolluted. Skill discovery is registered by `vvoc install`/`sync` through the native `skills` config, not by a plugin. |
|
|
193
175
|
| **SecretsRedactionPlugin** | Redacts tokens, keys, emails, and other sensitive values before messages reach the model, restoring them only where local execution needs the originals. |
|
|
194
176
|
| **WebToolsPlugin** | Two provider-neutral tools — `web_search` and `web_fetch` — over Exa, Brave, Z.AI, native retrieval, or Spider, with permission checks and normalized output. |
|
|
195
177
|
| **ToolHistoryCompactionPlugin** | Shrinks the context replayed to the model by compacting old tool outputs non-destructively, without touching on-disk history. |
|
|
@@ -228,7 +210,7 @@ Two families: `vv-*` skills guide the work protocol, while `vvoc-*` skills opera
|
|
|
228
210
|
| `vv-handoff` | You are ending a session and want the visible context preserved | A redacted XML note at `.vvoc/handoff/YYYY-MM-DD-<session-slug>/handoff.xml`, written from already-visible context only |
|
|
229
211
|
| `vvoc-usage-analytics` | You ask about token usage, cache hit rate, costs, or caching regressions | Read-only analysis across `vvoc analytics`, the analytics JSONL, and historical `opencode.db` data |
|
|
230
212
|
|
|
231
|
-
Skills are loaded by OpenCode at session start through `
|
|
213
|
+
Skills are loaded by OpenCode at session start through the native `skills` string array in `opencode.json(c)` — `vvoc install`/`sync` write the path reference and maintain the OpenCode skills-directory symlink — and the `vv-controller` agent's skill-trigger rules invoke them automatically when a request matches their conditions.
|
|
232
214
|
|
|
233
215
|
---
|
|
234
216
|
|
|
@@ -238,10 +220,10 @@ Skills are loaded by OpenCode at session start through `config.skills.paths` (re
|
|
|
238
220
|
|---|---|
|
|
239
221
|
| `vvoc init` | Interactive bootstrap flow |
|
|
240
222
|
| `vvoc install` | Non-interactive setup and scaffolding |
|
|
241
|
-
| `vvoc sync` | Refresh
|
|
242
|
-
| `vvoc launch` | Launch OpenCode with deterministic runtime
|
|
243
|
-
| `vvoc status` | Show current installation state, including OpenCode version
|
|
244
|
-
| `vvoc doctor` | Diagnose OpenCode version/runtime/
|
|
223
|
+
| `vvoc sync` | Refresh native plugins/agents/skills registrations, prompts, skills, config |
|
|
224
|
+
| `vvoc launch` | Launch OpenCode with deterministic runtime and vvoc config sources after a host-window preflight |
|
|
225
|
+
| `vvoc status` | Show current installation state, including the installed OpenCode version against the supported window and combined-package registration |
|
|
226
|
+
| `vvoc doctor` | Diagnose OpenCode version/window/runtime/vvoc setup problems (exits non-zero on issues) |
|
|
245
227
|
| `vvoc config validate` | Validate canonical `vvoc.json` |
|
|
246
228
|
| `vvoc role list\|set\|unset` | Manage model role assignments |
|
|
247
229
|
| `vvoc preset list\|show\|<name>` | Inspect or apply named presets |
|
|
@@ -249,7 +231,7 @@ Skills are loaded by OpenCode at session start through `config.skills.paths` (re
|
|
|
249
231
|
| `vvoc plugin list` | List OpenCode plugin entries |
|
|
250
232
|
| `vvoc plugin enable\|disable` | Toggle a vvoc-managed plugin on or off |
|
|
251
233
|
| `vvoc orchestration show\|set` | Show or set the vv-controller orchestration profile |
|
|
252
|
-
| `vvoc patch-provider stepfun-ai\|codex\|deepseek\|
|
|
234
|
+
| `vvoc patch-provider stepfun-ai\|codex\|deepseek\|alibaba\|zai\|xiaomi\|all` | Patch OpenCode providers; `codex` adds real gpt-5.5/5.6/6 models with effort variants (also accepts `openai`), `deepseek`/`alibaba`/`zai`/`xiaomi` add `#variant` suffixes on real models, `stepfun-ai` sets the StepFun `.ai` baseURL, `all` patches every provider at once |
|
|
253
235
|
| `vvoc completion` | Install shell completions |
|
|
254
236
|
| `vvoc upgrade` | Upgrade the global package and run follow-up sync; sync failure is reported as a partial upgrade |
|
|
255
237
|
| `vvoc analytics cache-hit-rate` | Aggregate persisted cache hit rate by day, week, month, session, model, provider, project, vvoc version, or OpenCode version |
|
|
@@ -267,7 +249,7 @@ vvoc guardian config --print --timeout-ms 30000 --review-toast-duration-ms 5000
|
|
|
267
249
|
|
|
268
250
|
Mutating commands default to global scope for backward compatibility; add `--scope project` to write a project-local layer. Read and diagnostic commands accept `--scope global|project|effective`, where `effective` resolves in this order:
|
|
269
251
|
|
|
270
|
-
1. explicit env override (`VVOC_CONFIG` / `OPENCODE_CONFIG
|
|
252
|
+
1. explicit env override (`VVOC_CONFIG` / `OPENCODE_CONFIG`, with `OPENCODE_CONFIG_DIR` selecting the native discovery root)
|
|
271
253
|
2. nearest project layer
|
|
272
254
|
3. global layer
|
|
273
255
|
4. built-in defaults when the command/runtime permits defaults
|
|
@@ -276,7 +258,6 @@ Canonical project-local paths:
|
|
|
276
258
|
|
|
277
259
|
```text
|
|
278
260
|
OpenCode config → ./.opencode/opencode.json(c)
|
|
279
|
-
OpenCode TUI config → ./.opencode/tui.json(c)
|
|
280
261
|
vvoc config → ./.vvoc/vvoc.json
|
|
281
262
|
Managed agent prompts → ./.vvoc/agents/*.md
|
|
282
263
|
Managed skills → ./.vvoc/skills/*/SKILL.md
|
|
@@ -285,13 +266,12 @@ Handoff notes → ./.vvoc/handoff/YYYY-MM-DD-<session-slug>/handoff.x
|
|
|
285
266
|
Repository memory → ./.vvoc/lessons/*.xml, ./.vvoc/runbooks/*.xml
|
|
286
267
|
```
|
|
287
268
|
|
|
288
|
-
Legacy root-level `./opencode.json` and `./opencode.jsonc` are intentionally not used as vvoc project layers.
|
|
269
|
+
Legacy root-level `./opencode.json` and `./opencode.jsonc` are intentionally not used as vvoc project layers. vvoc writes no `tui.json(c)`: the terminal UI reads its own process settings from the native `cli.json`, which vvoc leaves alone, and the TUI loads the vvoc package through the server plugin inventory instead.
|
|
289
270
|
|
|
290
271
|
Global paths:
|
|
291
272
|
|
|
292
273
|
```text
|
|
293
274
|
OpenCode config → $XDG_CONFIG_HOME/opencode/opencode.json
|
|
294
|
-
OpenCode TUI config → $XDG_CONFIG_HOME/opencode/tui.json(c)
|
|
295
275
|
vvoc config → $XDG_CONFIG_HOME/vvoc/vvoc.json
|
|
296
276
|
Managed agent prompts → $XDG_CONFIG_HOME/vvoc/agents/*.md
|
|
297
277
|
Managed skills → $XDG_CONFIG_HOME/vvoc/skills/*/SKILL.md
|
|
@@ -299,13 +279,33 @@ Persisted data → $XDG_DATA_HOME/vvoc/
|
|
|
299
279
|
Usage analytics → $XDG_DATA_HOME/vvoc/analytics/usage-YYYY-MM.jsonl
|
|
300
280
|
```
|
|
301
281
|
|
|
302
|
-
###
|
|
282
|
+
### One pinned package in the native plugins array
|
|
303
283
|
|
|
304
|
-
OpenCode keeps
|
|
284
|
+
OpenCode 2.x keeps one native config document per process. `opencode.json(c)` is loaded by the core/server plugin runtime and activates vvoc features such as model roles, Guardian, workflow, hashline edit, redaction, and web tools. The terminal UI process takes its own settings (tabs, keybinds, TUI-only plugin entries) from the native `cli.json`, and it also loads the TUI entrypoints of the plugins carried by the server inventory. vv-opencode uses that directly: the same pinned package entry (for example `@osovv/vv-opencode@X.Y.Z`) is registered once in the native `plugins` array, the host resolves its `./server` export for the server runtime and its `./tui` export for the terminal UI, and headless/server launches never load the UI module.
|
|
305
285
|
|
|
306
|
-
`vvoc install`, `vvoc init`, and `vvoc sync` conservatively
|
|
286
|
+
`vvoc install`, `vvoc init`, and `vvoc sync` conservatively write that single pinned base-package entry — a string, or a `{ "package": …, "options": … }` object — into the native `plugins` array; sync also migrates the broken legacy `@osovv/vv-opencode/tui` form and older managed pins. Existing comments, unrelated settings, unrelated plugin entries, and their `options` are preserved; malformed plugin entries fail without rewrite. V1 document shapes are refused outright instead of being migrated: `plugin`, `agent`, `provider`, `command`, `small_model`, and `tools` are not native 2.0.18 keys, and vvoc fails before mutating a document that uses them.
|
|
307
287
|
|
|
308
|
-
|
|
288
|
+
The native document shape vvoc validates, extends, and writes into:
|
|
289
|
+
|
|
290
|
+
```json
|
|
291
|
+
{
|
|
292
|
+
"$schema": "https://opencode.ai/config.json",
|
|
293
|
+
"default_agent": "vv-controller",
|
|
294
|
+
"plugins": [
|
|
295
|
+
{ "package": "@osovv/vv-opencode@1.7.0", "options": { "modelIntent": { "model": "vv-role:smart" } } }
|
|
296
|
+
],
|
|
297
|
+
"agents": { "vv-controller": {} },
|
|
298
|
+
"skills": ["./.vvoc/skills"],
|
|
299
|
+
"providers": {},
|
|
300
|
+
"permissions": {}
|
|
301
|
+
}
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
`plugins` is an array of package strings or `{package, options}` objects (plus `-target` removal directives); `agents` holds per-agent overrides while agent prompts live as discovered markdown; `skills` is a string array of discovery paths; `providers` carries patched provider/model objects; `permissions` carries host permission rules. There is no `plugin`/`agent`/`provider`/`command` singular key, no `small_model`, and no `tools` key.
|
|
305
|
+
|
|
306
|
+
Role intent has a native home as well: the pinned package entry's `options.modelIntent` envelope (`model`, `smallModel`, `agents`, `commands`) carries root, small-model, agent, and command model intent inside the native document — native 2.0.18 has no `small_model` field and rejects role references in `model` and `agents.<id>.model`, so vv-opencode never writes a `vv-role:*` reference as a native model literal (the model-overrides APIs route role intent into the envelope instead). Role assignments themselves live in `vvoc.json`: `vvoc role set` and preset application edit only that file, and the model-roles runtime combines the effective role map with the raw envelope intent to resolve concrete `provider/model#variant` selections (for example `xiaomi/mimo-v2.6-flash#thinking`) when each session family binds its snapshot.
|
|
307
|
+
|
|
308
|
+
Runtime plugins load the effective `vvoc.json` once during OpenCode startup and share one immutable config snapshot for the lifetime of the process; each session family additionally binds an immutable policy snapshot at its first accepted workload, so a bound family keeps the policy it was admitted under. There is no live reload: restart OpenCode after changing `vvoc.json`.
|
|
309
309
|
|
|
310
310
|
### Strict schema, loud failures
|
|
311
311
|
|
|
@@ -322,9 +322,9 @@ The optional schema-v3 `web` section follows the same layer precedence and is om
|
|
|
322
322
|
|
|
323
323
|
### Diagnostics never mutate
|
|
324
324
|
|
|
325
|
-
`vvoc status` and `vvoc doctor` report the installed OpenCode version, the `
|
|
325
|
+
`vvoc status` and `vvoc doctor` report the installed OpenCode version, the exact supported window (`OpenCode supported range: >=2.0.18 <2.0.19`), selected runtime/vvoc config paths, plugin registration, and validation problems without normalizing or rewriting files. `vvoc upgrade` can still finish the package installation when the follow-up `vvoc sync` fails; it then reports a partial upgrade, leaves config unchanged, and tells you to fix the invalid config before rerunning `vvoc sync`.
|
|
326
326
|
|
|
327
|
-
Runtime compatibility is
|
|
327
|
+
Runtime compatibility is window-pinned: install, init, sync, and launch refuse a host outside `>=2.0.18 <2.0.19` before touching config, Guardian evaluates permissions through the native `permission.evaluate` hook, hashline edit refs must use current hash/context anchors, and sync writes current managed agents without deleting old pre-rename user or command entries.
|
|
328
328
|
|
|
329
329
|
### Release channels
|
|
330
330
|
|
|
@@ -351,7 +351,7 @@ An explicit `--channel latest|rc` argument may only confirm the derived channel;
|
|
|
351
351
|
|
|
352
352
|
### Stability and compatibility
|
|
353
353
|
|
|
354
|
-
Since 1.0, vv-opencode treats the daily-driver surface as stable. The compatibility surfaces are: `vvoc install` / `vvoc sync` / `vvoc launch`, the managed skill names (`vv-spec`, `vv-plan`, `vv-execute`, `vv-review`, `vv-reflect`, `vv-handoff`), the published package exports, canonical vvoc schema v3, and the date-prefixed `.vvoc/specs/YYYY-MM-DD-<slug>/` artifact layout. Breaking workflow or config changes are documented in release notes. The project still prefers conservative, explicit changes over hidden migration magic: user-owned config is never silently clobbered, and invalid current config fails loudly.
|
|
354
|
+
Since 1.0, vv-opencode treats the daily-driver surface as stable. The compatibility surfaces are: `vvoc install` / `vvoc sync` / `vvoc launch`, the supported host window (`>=2.0.18 <2.0.19`), the managed skill names (`vv-spec`, `vv-plan`, `vv-execute`, `vv-review`, `vv-reflect`, `vv-handoff`), the published package exports, canonical vvoc schema v3, and the date-prefixed `.vvoc/specs/YYYY-MM-DD-<slug>/` artifact layout. Breaking workflow or config changes are documented in release notes. The project still prefers conservative, explicit changes over hidden migration magic: user-owned config is never silently clobbered, and invalid current config fails loudly.
|
|
355
355
|
|
|
356
356
|
### Deterministic local launch
|
|
357
357
|
|
|
@@ -362,7 +362,7 @@ vvoc install --scope project
|
|
|
362
362
|
vvoc launch --scope project -- run "hello"
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
`vvoc launch --scope project` is strict and non-mutating: if `.opencode/opencode.json` or `.vvoc/vvoc.json` is missing, it fails with a hint to run `vvoc install --scope project`.
|
|
365
|
+
`vvoc launch --scope project` is strict and non-mutating: if `.opencode/opencode.json` or `.vvoc/vvoc.json` is missing, it fails with a hint to run `vvoc install --scope project`. Launch pins `OPENCODE_CONFIG` and `VVOC_CONFIG` (plus the native `OPENCODE_CONFIG_DIR` discovery root when the selected config sits outside the default one) and never synthesizes missing files. `--scope effective` follows the layered lookup order, and `--scope global` uses the global config paths.
|
|
366
366
|
|
|
367
367
|
---
|
|
368
368
|
|
|
@@ -375,17 +375,16 @@ vvoc launch --scope project -- run "hello"
|
|
|
375
375
|
vvoc role list
|
|
376
376
|
vvoc role list --scope effective
|
|
377
377
|
|
|
378
|
-
# Assign models to roles
|
|
379
|
-
vvoc role set default deepseek/
|
|
380
|
-
vvoc role set smart zai-coding-plan/
|
|
381
|
-
vvoc role set fast openai/
|
|
382
|
-
vvoc role set reviewer zai-coding-plan/
|
|
378
|
+
# Assign models to roles (canonical provider/model#variant selections)
|
|
379
|
+
vvoc role set default deepseek/deepseek-flash#max
|
|
380
|
+
vvoc role set smart zai-coding-plan/glm-5.3#max
|
|
381
|
+
vvoc role set fast openai/gpt-6-luna#low
|
|
382
|
+
vvoc role set reviewer zai-coding-plan/glm-5.3#max --scope project
|
|
383
383
|
|
|
384
384
|
# Switch provider presets
|
|
385
385
|
vvoc preset vv-codex
|
|
386
386
|
vvoc preset vv-zai
|
|
387
387
|
vvoc preset vv-deepseek
|
|
388
|
-
vvoc preset vv-kimi
|
|
389
388
|
vvoc preset vv-alibaba
|
|
390
389
|
vvoc preset vv-osovv-ds
|
|
391
390
|
vvoc preset vv-osovv-mimo
|
|
@@ -394,12 +393,14 @@ vvoc preset vv-osovv-qwen
|
|
|
394
393
|
vvoc preset vv-astra-solo
|
|
395
394
|
vvoc preset vv-astra-workers
|
|
396
395
|
|
|
397
|
-
# Install the explicit-reasoning provider
|
|
398
|
-
vvoc patch-provider
|
|
399
|
-
vvoc patch-provider
|
|
400
|
-
vvoc patch-provider
|
|
401
|
-
vvoc patch-provider
|
|
402
|
-
vvoc patch-provider
|
|
396
|
+
# Install the explicit-reasoning provider model patches
|
|
397
|
+
vvoc patch-provider stepfun-ai # stepfun settings.baseURL https://api.stepfun.ai/v1 + step-3.7-flash
|
|
398
|
+
vvoc patch-provider codex # real gpt-5.5/5.6/6 models + effort variants (also accepts `openai`)
|
|
399
|
+
vvoc patch-provider deepseek # deepseek-flash + deepseek-v4-flash with #max/#high variants (384K output)
|
|
400
|
+
vvoc patch-provider alibaba # qwen3.8-max#xhigh
|
|
401
|
+
vvoc patch-provider zai # glm-5.3 #high/#max + glm-5.3-flash #max
|
|
402
|
+
vvoc patch-provider xiaomi # mimo-v2.6-flash#thinking (thinking.type=enabled)
|
|
403
|
+
vvoc patch-provider all # every patch above in one run
|
|
403
404
|
```
|
|
404
405
|
|
|
405
406
|
Built-in role IDs: `default`, `smart`, `fast`, `reviewer`, plus any custom lowercase-hyphenated IDs. Presets are partial — applying one only changes the roles it defines. Managed built-in presets (`vv-*`) are refreshed from the shipped registry as part of the other work `vvoc install` and `vvoc sync` already do; neither command activates a preset or writes the active roles or orchestration profile on its own — that only happens when you run `vvoc preset <name>`.
|
|
@@ -408,21 +409,20 @@ Every shipped preset declares an explicit role matrix and orchestration profile:
|
|
|
408
409
|
|
|
409
410
|
| Preset | default | fast | smart | reviewer | Profile |
|
|
410
411
|
|---|---|---|---|---|---|
|
|
411
|
-
| `vv-codex` | `openai/
|
|
412
|
-
| `vv-zai` | `zai-coding-plan/
|
|
413
|
-
| `vv-deepseek` | `deepseek/
|
|
414
|
-
| `vv-
|
|
415
|
-
| `vv-
|
|
416
|
-
| `vv-osovv-
|
|
417
|
-
| `vv-osovv-
|
|
418
|
-
| `vv-osovv-
|
|
419
|
-
| `vv-
|
|
420
|
-
| `vv-astra-
|
|
421
|
-
| `vv-astra-workers` | `xiaomi/vv-mimo-v2.6-flash-high` | `openai/vv-codex-gpt-6-luna-low` | `openai/vv-codex-gpt-6-astra-max` | `zai-coding-plan/vv-glm-5.3-high` | delegated |
|
|
412
|
+
| `vv-codex` | `openai/gpt-5.6-terra#high` | `openai/gpt-6-luna#low` | `openai/gpt-5.6-sol#xhigh` | `openai/gpt-5.6-sol#xhigh` | single-session |
|
|
413
|
+
| `vv-zai` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` | balanced |
|
|
414
|
+
| `vv-deepseek` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | balanced |
|
|
415
|
+
| `vv-alibaba` | `alibaba-token-plan/qwen3.8-max` | `alibaba-token-plan/deepseek-v4-flash` | `alibaba-token-plan/qwen3.8-max#xhigh` | `alibaba-token-plan/glm-5.2` | single-session |
|
|
416
|
+
| `vv-osovv-ds` | `deepseek/deepseek-flash#max` | `openai/gpt-6-luna#low` | `deepseek/deepseek-flash#max` | `zai-coding-plan/glm-5.3#max` | single-session |
|
|
417
|
+
| `vv-osovv-mimo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `xiaomi/mimo-v2.6-flash#thinking` | `zai-coding-plan/glm-5.3#max` | single-session |
|
|
418
|
+
| `vv-osovv-zai` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` | single-session |
|
|
419
|
+
| `vv-osovv-qwen` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `alibaba-token-plan/qwen3.8-max#xhigh` | `zai-coding-plan/glm-5.3#max` | delegated |
|
|
420
|
+
| `vv-astra-solo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` | single-session |
|
|
421
|
+
| `vv-astra-workers` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` | delegated |
|
|
422
422
|
|
|
423
423
|
`vv-osovv-ds` replaces the former `vv-osovv-flash` offering and `vv-osovv-zai` is new; `vv-osovv-sol`, `vv-osovv-flash`, and `vv-osovv-kimi` are no longer shipped. A retired preset definition already present in a saved `vvoc.json` is preserved in place rather than migrated or removed across `vvoc install`/`vvoc sync`; delete it manually if you no longer want it. No automatic provider migration or legacy-name cleanup runs, and applying a preset changes only the roles and profile it declares.
|
|
424
424
|
|
|
425
|
-
|
|
425
|
+
Provider patches bind real model ids with `#variant` suffixes instead of alias models. `deepseek/deepseek-flash` carries `#max` and `#high` effort variants (image input, 384000-token output limit), and `deepseek/deepseek-v4-flash#max` stays text-only with the same output limit. On `zai-coding-plan`, `glm-5.3` carries `#high` and `#max` (both text-only) and `glm-5.3-flash` carries `#max` (text, image, video, and PDF input); `alibaba-token-plan/qwen3.8-max` carries `#xhigh`. On `xiaomi`, `mimo-v2.6-flash#thinking` enables the documented thinking toggle (`thinking.type=enabled`) with no PDF declaration and no `reasoningEffort` — text/image/audio/video input, 1M context / 131K output — because the public Xiaomi API documents a thinking toggle rather than an effort knob; live thinking behavior is not smoke-verified. Codex variants keep the established OpenAI reasoning-summary and encrypted-reasoning options, with the GPT-5.5/5.6 family capped at 400K context / 272K input and GPT-6 Luna/Astra keeping 1.05M/922K/128K. The `stepfun-ai` patch keeps the StepFun `.ai` baseURL (`https://api.stepfun.ai/v1`) for `step-3.7-flash`. `gpt-5.3-codex-spark` keeps its `#medium` variant only for manual configurations that already reference it, advertised conservatively as text-only, and no shipped preset selects it. The shared `fast` role also serves `smallModel` (through the `modelIntent` envelope — native 2.0.18 has no `small_model` field), `explore`, and `guardian`; availability for those consumers is not verified until you use it. Real model access, review quality, latency, and Astra-token savings are unmeasured: metadata here describes provider capability and pricing boundaries, not benchmarked behavior, and credentialed smoke runs would require separate authorization.
|
|
426
426
|
|
|
427
427
|
### Orchestration profiles
|
|
428
428
|
|
|
@@ -445,7 +445,6 @@ Built-in presets declare an orchestration mapping:
|
|
|
445
445
|
| Preset | Profile |
|
|
446
446
|
|---|---|
|
|
447
447
|
| `vv-codex` | single-session |
|
|
448
|
-
| `vv-kimi` | single-session |
|
|
449
448
|
| `vv-alibaba` | single-session |
|
|
450
449
|
| `vv-osovv-ds` | single-session |
|
|
451
450
|
| `vv-osovv-mimo` | single-session |
|
|
@@ -488,13 +487,13 @@ Delegated tasks are opened with `"mode": "delegated"`, an explicitly empty `requ
|
|
|
488
487
|
- `accept` (with rationale and evidence references) records controller acceptance and reaches `ready_to_close`. Acceptance is recorded distinctly from an independent reviewer `PASS`.
|
|
489
488
|
- `request_changes` returns the task to the implementation path. Controller-directed retries are bounded to an initial attempt plus one correction; re-deciding or reopening never resets that budget. `DONE_WITH_CONCERNS` requires an explicit `concernsDisposition`.
|
|
490
489
|
- `rework` reopens an accepted task only when a failed checkpoint from the same registered run covers it, preserving acceptance history and granting exactly one additional attempt.
|
|
491
|
-
- `recover` resumes a stopped or exhausted unaccepted task without resetting history. Recovery targets the latest terminal attempt and requires an explicit `diagnosis`, a `changedCondition` (the changed condition or approach), `verification` references, and a stable `recoveryId`. When ordinary budget remains, recovery simply returns a stopped item to the launch gate; when an extra attempt is necessary, it grants exactly one. The first grant per target is the single autonomous allowance; every further unit requires a fresh root-user message referenced by `userMessageId`, which the runtime validates for role, owning-session identity, message identity, and a timestamp at or after the stop — never for its wording — and each message authorizes at most one unit per target. A successful recovery authorization only makes the next bounded attempt possible: it is not a successful implementation, not acceptance, and never satisfies a reviewer.
|
|
490
|
+
- `recover` resumes a stopped or exhausted unaccepted task without resetting history. Recovery targets the latest terminal attempt and requires an explicit `diagnosis`, a `changedCondition` (the changed condition or approach), `verification` references, and a stable `recoveryId`. When ordinary budget remains, recovery simply returns a stopped item to the launch gate; when an extra attempt is necessary, it grants exactly one. The first grant per target is the single autonomous allowance; every further unit requires a fresh root-user message referenced by `userMessageId`, which the runtime validates for role, owning-session identity, message identity, and a timestamp at or after the stop — never for its wording — and each message authorizes at most one unit per target. A successful recovery authorization only makes the next bounded attempt possible: it is not a successful implementation, not acceptance, and never satisfies a reviewer. Recovering a cancelled or interrupted attempt additionally requires authoritative cancellation evidence — a pinned native interrupt message that names the child session, the child's terminal `aborted` structured error, and active/inbox quiescence — and fails closed with a `CANCELLATION_EVIDENCE_REQUIRED` message while that evidence is missing, leaving settlement and budget unchanged.
|
|
492
491
|
|
|
493
492
|
Worker stops stay hard stops for ordinary dispatch: a `BLOCKED` or `NEEDS_CONTEXT` result is never re-launched directly, and its recorded outcome and explanation remain historical facts. The same applies to an exhausted budget — an ordinary third launch is refused until a recorded recovery raises it. Accepted items are not recovery targets; their path is checkpoint-authorized rework.
|
|
494
493
|
|
|
495
|
-
A worker can fail to launch at all: the host task wrapper rejects the call before the worker runs (for example, an unknown provider or model). The host
|
|
494
|
+
A worker can fail to launch at all: the host task wrapper rejects the call before the worker runs (for example, an unknown provider or model). The native host surfaces that thrown execution through the `tool.execute.after` hook with `status: "error"`, so the plugin consumes the failure as a distinct **failed attempt** from the live call binding instead of leaving `inFlightAttempt` stranded until a restart. The supported case is deliberately narrow — a fresh ordinary foreground `vv-implementer` task launch (no `background`, no `sessionID` resume, no command/subtask path) whose error message matches the exact pinned native wrapper `Subagent failed (sessionID: <child>): `, where the hook event's session and call identity select the parent binding, the wrapper names the child session, the binding's child matches, and no `completed` after-hook has already been observed for that call. When it applies, the attempt is marked `failed` with the bounded host error as evidence and a completion time, the item stays `awaiting_implementer`, and the attempt is charged against the same two-attempt budget. The controller can then explicitly retry with a new call; two failed attempts exhaust the normal budget exactly like two completed ones. A failed attempt never counts as `DONE`, cannot be accepted or decided as a successful completion, and persists across restart. Because a worker may have applied partial edits before failing, inspect the diff before retrying or closing.
|
|
496
495
|
|
|
497
|
-
This is not universal automatic error recovery. Background
|
|
496
|
+
This is not universal automatic error recovery. Background launches, resumed/shared/re-prompted children, cancellation or interruption (a cancelled or interrupted termination leaves the attempt in-flight and settles only through evidence-backed cancellation recovery), any subagent call whose `execute.after` already reported `completed` — latched synchronously before any parsing or repair so a later error event can never be classified as a launch failure — a replaced or mismatched child session, non-delegated launches, and unknown or non-wrapper host errors all remain fail-closed: the in-flight block is preserved and no retry is authorized from the event alone. The plugin never hydrates workflow state, infers a work item from error text, or resets a whole session because of an error event, and it does not reclassify legacy-mode or checkpoint-reviewer launches.
|
|
498
497
|
|
|
499
498
|
A worker whose execution finishes but whose final report stays protocol-invalid after the bounded continuation is settled truthfully as a **rejected report**: the exact call-bound attempt is recorded as a completed execution with status `report_rejected`, a bounded diagnostic excerpt, and the protocol error code — never as `DONE`, never as a launch failure, and never as a still-in-flight attempt. When the malformed output contains an explicit `VVOC_STATUS: BLOCKED` or `NEEDS_CONTEXT` line, the observed stop is preserved (the item parks in the corresponding hard-stop state) and no continuation runs; otherwise the item returns to the launch gate with the attempt consumed. A rejected report has the same bounded recovery path as any other terminal outcome, and `work_item_list` distinguishes it from a running attempt, an exhausted budget, and a substantive stop by exposing the remaining budget and the supported next action. Unknown or still-running host outcomes (for example a non-string task output) are never guessed terminal and cannot clear a live attempt.
|
|
500
499
|
|
|
@@ -548,7 +547,7 @@ The full nine-tool contract lives in `templates/skills/vv-execute/references/too
|
|
|
548
547
|
- `str_replace_editor` — the plugin's DeepSeek dsh contract (`view`/`create`/`str_replace`/`insert`) with exact-verbatim matching.
|
|
549
548
|
- `hashline_edit` — the plugin's hash-anchored tool with `LINE#HASH#ANCHOR` references and anchored read output (default for unmatched models).
|
|
550
549
|
|
|
551
|
-
The default routing table sends `deepseek` to `str_replace_editor`, `kimi`, `qwen`, and `glm` to `edit`, and `gpt`/`codex` to `apply_patch`; everything else stays on `hashline_edit`. Patterns match case-insensitively as substrings of the session `modelID` only; the first matching rule wins. For every mode the plugin
|
|
550
|
+
The default routing table sends `deepseek` to `str_replace_editor`, `kimi`, `qwen`, and `glm` to `edit`, and `gpt`/`codex` to `apply_patch`; everything else stays on `hashline_edit`. Patterns match case-insensitively as substrings of the session `modelID` only; the first matching rule wins. For every mode the plugin enforces one selected existing-file editor through the native session tool-list visibility — hiding the other existing-file editors (including the host `edit` for the `str_replace_editor`/`hashline_edit` cohorts) while leaving new-file creation available — and never modifies the host's own edit/patch contracts, so each session sees exactly one editing tool for existing files. Every plugin-tool write is gated by an awaited native resource permission before a file is touched.
|
|
552
551
|
|
|
553
552
|
`vvoc sync` and `vvoc init` write this default table into `vvoc.json` so it is visible and editable. Materialization is conservative: a routing value you have changed is never overwritten; the table is only filled in where it is missing. Override routing in `vvoc.json` (schema v3) — the `plugins["hashline-edit"]` entry accepts a boolean or an object:
|
|
554
553
|
|
|
@@ -570,7 +569,7 @@ Routing changes require an OpenCode restart, like other runtime plugin settings.
|
|
|
570
569
|
|
|
571
570
|
### Tool history compaction
|
|
572
571
|
|
|
573
|
-
`ToolHistoryCompactionPlugin` shrinks the context replayed to the model on every turn without touching on-disk storage. It rewrites only the in-memory
|
|
572
|
+
`ToolHistoryCompactionPlugin` shrinks the context replayed to the model on every turn without touching on-disk storage. It rewrites only the in-memory provider-context copy the model is about to receive, through the native session `context` hook and gated per bound session family by its captured policy, and only the `output` of old completed tool parts — `input` and part structure (callID/type/order) are never changed, so provider tool_use/tool_result stitching stays intact.
|
|
574
573
|
|
|
575
574
|
The recent working context is never touched: the newest message and the last `protectRecentMessages` messages (default 8, measured by message recency time with array-order fallback) are always replayed verbatim, regardless of call count, output size, tool class, or parallel batching. Compaction only applies to messages older than that window.
|
|
576
575
|
|
|
@@ -630,13 +629,13 @@ Several providers (DeepSeek, Z.AI, Qwen) bill higher rates during daily or weekd
|
|
|
630
629
|
Behavior per mode:
|
|
631
630
|
|
|
632
631
|
- **soft** (default): the message goes through and the TUI shows a persistent orange banner in the bottom slot: `⚠ PEAK deepseek until 10:00 UTC · elevated pricing · off-peak now: z-ai, qwen`.
|
|
633
|
-
- **hard**: the LLM request is rejected with the window end, the wait time, and the connected providers that are currently outside peak (`PEAK_HOURS_BLOCK: provider "deepseek" is in peak hours until 10:00 UTC (about 3 h). … Connected providers outside peak hours right now: z-ai, qwen. …`). The block fires in `
|
|
632
|
+
- **hard**: the LLM request is rejected with the window end, the wait time, and the connected providers that are currently outside peak (`PEAK_HOURS_BLOCK: provider "deepseek" is in peak hours until 10:00 UTC (about 3 h). … Connected providers outside peak hours right now: z-ai, qwen. …`). The block fires in the native `model.request` hook, after your message has been admitted into the session and before any provider request: your message stays in the session history and the block renders as a regular error entry, not a dropped message.
|
|
634
633
|
|
|
635
634
|
Nothing already in flight is ever killed:
|
|
636
635
|
|
|
637
636
|
- a session created before the current window started is grandfathered to soft for its lifetime (`graceActiveSessions`, on by default — decisions come from persisted session data, so they survive restarts);
|
|
638
637
|
- subagent sessions, managed subagents, and `guardian` are always soft — the decision to work was already admitted at the parent level;
|
|
639
|
-
- internal OpenCode agents (`compaction`, `title`, `summary`) are exempt entirely.
|
|
638
|
+
- internal OpenCode agents (`compaction`, `title`, `summary`) and auxiliary request kinds (title, compaction, generate) are exempt entirely.
|
|
640
639
|
|
|
641
640
|
Schedules match **providers, not models**. Subscription plan provider ids from the OpenCode catalog (models.dev) are gated: `zai-coding-plan` and `zhipuai-coding-plan` map to the `z-ai` schedule, `alibaba-token-plan` and `alibaba-token-plan-cn` map to the `qwen` schedule. Bare pay-per-token API providers (`zai`, `zhipuai`, `alibaba`, `alibaba-cn`, `openai`, …) publish no peak surcharge and are never gated. Unknown providers are never warned about or blocked, and a malformed schedule logs a warning and disables that provider's schedule instead of blocking anything (fail-open).
|
|
642
641
|
|
|
@@ -723,7 +722,7 @@ Credentials resolve in this order:
|
|
|
723
722
|
|
|
724
723
|
Environment variables win when both sources exist; config changes take effect after restarting OpenCode. Config `apiKey` values may be literal or use `${VAR}` placeholders resolved from the OpenCode process environment at startup, matching `secretsRedaction.secret`; a placeholder referencing an unset or empty variable logs a startup warning naming the config field and the missing variable names, never values. Placeholder-resolved `apiKey` values become exact-match SecretsRedactionPlugin rules for provider-bound message flows, and WebToolsPlugin diagnostics report only the credential source (`env` or `config`), never the value. If a project-layer `.vvoc/vvoc.json` containing an `apiKey` is tracked by Git, startup logs warn with the file name only. Prefer environment variables or the global vvoc layer; do not commit credentials.
|
|
725
724
|
|
|
726
|
-
While `web-tools` is enabled
|
|
725
|
+
While `web-tools` is enabled for a bound session family, the plugin publishes exactly `web_search` and `web_fetch` in that session's tool surface instead of the native `websearch`/`webfetch` builtins — selected through per-session tool visibility driven by the captured policy, never by mutating your permission entries. An explicitly disabled captured policy publishes the genuine native builtins instead, and an unknown policy exposes neither owned nor builtin web tools for that family. It does not rewrite OpenCode files or remove MCP servers. Disable the plugin and restart to restore stock behavior:
|
|
727
726
|
|
|
728
727
|
```bash
|
|
729
728
|
vvoc plugin disable web-tools
|
|
@@ -735,13 +734,13 @@ Unrelated MCP search or reader tools are not removed automatically; disable thos
|
|
|
735
734
|
|
|
736
735
|
Run `/context` inside an active session. Its bounded host-owned dialog has three tabs: **Overview**, **Tools**, and **MCP**. Use left/right arrows or `1`, `2`, and `3` to switch tabs and up/down to scroll long detail; the measured header remains visible on every tab. Top-line used/remaining values come from the latest assistant turn's provider-reported input, cache-read, and output token counts when OpenCode exposes them.
|
|
737
736
|
|
|
738
|
-
Overview category rows are provider-neutral estimates derived from observable
|
|
737
|
+
Overview category rows are provider-neutral estimates derived from observable native state: system instructions, skill catalog, loaded skills, tool schemas, user and assistant messages, tool calls and results, files, and the latest compaction summary. Percentages are always `estimated tokens / current model contextLimit`; if OpenCode does not expose a positive current limit, the percentage is shown as an em dash rather than using another denominator. Numeric percentages may exceed 100% when estimates drift, while visual bars clamp only their fill at 100%.
|
|
739
738
|
|
|
740
739
|
The Tools tab separates each observable current tool's persistent **schema** estimate from its active **history** estimate, call count, combined total, source, and percentages. When a schema catalog is unavailable, the row says `schema unavailable` and labels the history-only subtotal as `known total` rather than presenting a false zero. History includes only tool parts in the active context: the latest compaction summary and subsequent turns. The `skill` tool remains visible in detail, but its history belongs to Overview's `Loaded skill results` category so it is not double-counted.
|
|
741
740
|
|
|
742
|
-
The MCP tab
|
|
741
|
+
The MCP tab lists the native MCP server inventory exactly as the host reports it — server name, `connected`/`pending`/`disabled`/`failed` status, and any server error — and groups registered external or plugin tools without a known owner under **Other external/plugin tools**. Tool namespace is only a registration hint, not authoritative MCP server provenance: instead of guessing ownership from names, vvoc discloses the registered tool catalog as `unavailable` or `partial` (with warnings) when the host cannot expose it, and unattributed tools stay unattributed.
|
|
743
742
|
|
|
744
|
-
The plugin does **not** claim to reconstruct the exact final provider request or provide provider-exact tokenization. Hidden provider transformations, plugin-added data, or otherwise unattributable content appears as `Unknown/provider-only`; when visible estimates exceed provider usage, the dialog reports estimation drift instead of forcing totals to match. Collection
|
|
743
|
+
The plugin does **not** claim to reconstruct the exact final provider request or provide provider-exact tokenization. Hidden provider transformations, plugin-added data, or otherwise unattributable content appears as `Unknown/provider-only`; when visible estimates exceed provider usage, the dialog reports estimation drift instead of forcing totals to match. Collection reads the selected session's location-scoped native state (messages, agents, skills, MCP server list, model metadata, compaction summaries) plus one read-only, versioned context-inspection RPC for the registered tool catalog and allowlisted policy, marks failed or mismatched reads explicitly as unavailable instead of empty, and issues no extra MCP requests.
|
|
745
744
|
|
|
746
745
|
The `context` vvoc plugin toggle defaults to enabled. Disable it with `vvoc plugin disable context`, then restart OpenCode.
|
|
747
746
|
|
|
@@ -756,12 +755,15 @@ bun run fmt # Auto-format source files
|
|
|
756
755
|
bun run contracts:check # Read-only nine-tool contract completeness gate
|
|
757
756
|
bun run contracts:generate # Regenerate the on-demand tool-contracts reference
|
|
758
757
|
bun run contracts:host # Isolated live-host contract gate (see below)
|
|
758
|
+
bun run e2e:v2 # Installed-package real-host parity harness (see below)
|
|
759
759
|
bun run release:check # Verify package/schema release consistency
|
|
760
760
|
```
|
|
761
761
|
|
|
762
762
|
`bun run contracts:check` is a repository-only, read-only gate: it censuses owned tool registrations independently of the catalog, executes every catalog fixture through the real validators and result schemas, and fails on a fake tool, a missing fixture or result variant, an opaque known object, a changed default, or a stale generated reference. It is part of `bun run check` and requires no network or host process. Run `bun run contracts:generate` only as a deliberate, reviewed step when a contract change is intended — the generated file is checked for currency, so editing it by hand fails the gate.
|
|
763
763
|
|
|
764
|
-
`bun run contracts:host` proves the same contract against the real host. It requires a locally installed `opencode`
|
|
764
|
+
`bun run contracts:host` proves the same contract against the real host. It requires a locally installed `opencode` binary inside the supported window (2.0.18, checked by exact version), a current `bun run build` (it exercises the built `dist/` plugins), pinned native manifests with no stale `@opencode-ai` dependency, and the existing evidence target directory `.grace/changes/active/C-OPENCODE-V2-NATIVE/`. The runner only checks that this directory exists: it does not validate the GRACE approval state and it does not accept an arbitrary active bundle. It never creates or recreates the directory, never writes into an archive, and never finalizes lifecycle state — approval and lifecycle are owned by the GRACE controller. It creates disposable HOME/XDG/config/workspace directories, uses only local built plugin URLs, synthetic agents/messages/credentials, and loopback OpenAI-compatible and Anthropic-compatible responders, and it sends no real provider or paid request. `bun scripts/check-tool-contracts-host.ts --probe` runs the minimal host-seam feasibility test, while the default full run executes the nine-tool matrix and writes `compatibility-evidence.json` only on a full observed pass; a missing executable, an unsupported host version, or any failed scenario exits nonzero instead of recording a skipped success. The generated evidence is one of three distinct levels and never stands in for the separately executed pinned-native unit fixtures (the 2.0.18 schema projection plus OpenAI/Anthropic/Google lowering fixtures) or for real remote-provider acceptance and model quality — paid-provider effectiveness stays explicitly unverified.
|
|
765
|
+
|
|
766
|
+
`bun run e2e:v2` runs the installed-package parity harness (`bun scripts/e2e-v2.ts --full`): it verifies the pinned native OpenCode 2.0.18 binary and packed-tarball hashes, isolates `HOME`/`XDG_*`/scratch state with loopback-only providers and exact PID ownership, exercises the packed core, real-PTY TUI, and installed-surface tiers against the installed package, and writes machine-readable `core-evidence.json` and `parity-evidence.json` into `.grace/changes/active/C-OPENCODE-V2-NATIVE/`. It exits nonzero while any mandatory parity row is unverified beyond an accepted, documented residual. The current evidence records 38 rows: 35 verified, 3 accepted AC-11 residuals (secrets live-session WebSocket cannot be driven offline against this host; the workflow aggregate sub-checks and cancellation-recovery scenario are cross-referenced to the dedicated workflow suites under T-004/wi-20), 0 failed, 0 unverified — with recorded limits including unexercised paid providers and cross-session equal-time first-accept ordering.
|
|
765
767
|
|
|
766
768
|
Git hooks are managed via `lefthook`.
|
|
767
769
|
|
|
@@ -782,7 +784,7 @@ bun run tui:local -- -s <session-id>
|
|
|
782
784
|
bun run tui:local -- --scope project
|
|
783
785
|
```
|
|
784
786
|
|
|
785
|
-
The command defaults to `effective` config resolution. It builds the package,
|
|
787
|
+
The command defaults to `effective` config resolution. It builds the package, creates a temporary isolated config home with a native `cli.json` whose plugin list points at a local directory forwarder re-exporting the freshly built `dist/tui.js`, dropping only the previously managed vv-opencode entry while preserving unrelated settings and comments, and forwards the remaining arguments to OpenCode. Your original OpenCode, cli, and vvoc config files are not modified, and the temporary config is removed after OpenCode exits. Restart the command after source changes because runtime plugins do not live reload.
|
|
786
788
|
|
|
787
789
|
Full release verification:
|
|
788
790
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,kBAAkB;AAClB,wBAAwB;AACxB,0EAA0E;AAC1E,8JAA8J;AAC9J,8IAA8I;AAC9I,2FAA2F;AAC3F,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,8DAA8D;AAC9D,kEAAkE;AAClE,+DAA+D;AAC/D,6DAA6D;AAC7D,+DAA+D;AAC/D,iBAAiB;AACjB,EAAE;AACF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