@osovv/vv-opencode 1.4.0 → 1.4.2

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +38 -22
  3. package/dist/commands/patch-provider.d.ts +54 -3
  4. package/dist/commands/patch-provider.js +59 -5
  5. package/dist/commands/patch-provider.js.map +1 -1
  6. package/dist/lib/vvoc-preset-registry.d.ts +25 -37
  7. package/dist/lib/vvoc-preset-registry.js +26 -36
  8. package/dist/lib/vvoc-preset-registry.js.map +1 -1
  9. package/dist/plugins/system-context-injection/index.js +12 -3
  10. package/dist/plugins/system-context-injection/index.js.map +1 -1
  11. package/dist/plugins/workflow/delegated.d.ts +26 -2
  12. package/dist/plugins/workflow/delegated.js +141 -3
  13. package/dist/plugins/workflow/delegated.js.map +1 -1
  14. package/dist/plugins/workflow/index.js +327 -10
  15. package/dist/plugins/workflow/index.js.map +1 -1
  16. package/dist/plugins/workflow/persistence.js +23 -4
  17. package/dist/plugins/workflow/persistence.js.map +1 -1
  18. package/dist/plugins/workflow/repair.d.ts +1 -0
  19. package/dist/plugins/workflow/repair.js +30 -30
  20. package/dist/plugins/workflow/repair.js.map +1 -1
  21. package/package.json +1 -1
  22. package/schemas/vvoc/v3.json +1 -1
  23. package/templates/agents/investigator.md +3 -0
  24. package/templates/agents/vv-code-reviewer.md +9 -3
  25. package/templates/agents/vv-controller.md +14 -0
  26. package/templates/agents/vv-implementer.md +5 -3
  27. package/templates/agents/vv-spec-reviewer.md +3 -0
  28. package/templates/skills/vv-execute/SKILL.md +7 -4
  29. package/templates/skills/vv-plan/SKILL.md +3 -1
  30. package/templates/skills/vv-review/SKILL.md +1 -0
  31. package/templates/skills/vv-spec/SKILL.md +2 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## <small>1.4.2 (2026-09-11)</small>
2
+
3
+ ### Summary
4
+
5
+ This release strengthens the reliability of vvoc's managed prompts and workflow recovery. Managed agents, skills, and the universal guidance injected into primary sessions now carry explicit correctness obligations: for behavior changes, agents derive the material properties that must be preserved, separate write scope from impact and verification scope, investigate directly affected consumers, challenge a material assumption with a diagnostic counterexample, and choose verification at the level where the risk arises, while controllers and reviewers distinguish "no defect discovered" from sufficient evidence and can fail a change for a material verification gap. In addition, when a tracked subagent returns a malformed result, the workflow plugin now performs at most one bounded continuation in the same child session without a tools override, preserving that session's persisted permissions and requiring a truthful post-continuation status, while explicit BLOCKED or NEEDS_CONTEXT output still fails closed. Together these changes make agent verification more honest and keep workflow recovery from silently altering permissions.
6
+
7
+ * feat(prompts): add correctness obligations to managed agents, skills, and universal guidance ([6f2dd21](https://github.com/osovv/vv-opencode/commit/6f2dd21))
8
+ * fix(workflow): preserve permissions during result continuation ([5342a31](https://github.com/osovv/vv-opencode/commit/5342a31))
9
+
10
+ ## <small>1.4.1 (2026-09-11)</small>
11
+
12
+ ### Summary
13
+
14
+ Version 1.4.1 corrects the GPT-6 Astra alias limits to the official 1.05M context, 922K input, and 128K output contract, so patched sessions no longer compact roughly 500K tokens earlier than the model actually supports. The built-in preset registry is refreshed with DeepSeek Flash Max and GLM-5.3 Max/Flash Max role assignments, new vv-osovv-ds and vv-osovv-zai presets, and Luna Low in place of the legacy Spark alias, while retired presets, custom presets, and active role or profile settings are preserved across install and sync. Delegated workflow handling now records a confirmed foreground worker launch failure as a distinct failed attempt with bounded evidence, keeping the item retryable against the same two-attempt budget instead of stranding an in-flight attempt until restart. The release also archives the applied delegated-workflow and Astra-presets change bundle and checkpoints foreground failure-recovery work, which remains unfinished pending review fixes.
15
+
16
+ * fix(patch-provider): correct GPT-6 Astra alias limits to official 1.05M/922K/128K contract ([cd2610d](https://github.com/osovv/vv-opencode/commit/cd2610d)), closes [PR#33972](https://github.com/PR/issues/33972)
17
+ * chore(grace): archive C-DELEGATED-WORKFLOW-ASTRA-PRESETS as applied ([5fabfb9](https://github.com/osovv/vv-opencode/commit/5fabfb9))
18
+ * chore(workflow): checkpoint foreground failure recovery ([7a1c29c](https://github.com/osovv/vv-opencode/commit/7a1c29c))
19
+ * feat(presets): refresh role assignments and provider aliases ([2bbfa70](https://github.com/osovv/vv-opencode/commit/2bbfa70))
20
+
1
21
  ## 1.4.0 (2026-09-11)
2
22
 
3
23
  ### Summary
package/README.md CHANGED
@@ -169,7 +169,7 @@ grep '<COMPONENT-' .vvoc/specs/*/*.xml # component map across spec and plan
169
169
  | **ModelRolesPlugin** | Semantic model roles (`vv-role:smart`, `vv-role:fast`, …) instead of hardcoded model IDs in agents, subagents, and commands — resolved per machine or project at startup. |
170
170
  | **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. |
171
171
  | **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. |
172
- | **SystemContextInjectionPlugin** | Injects the work policy selected by the orchestration profile into vv-controller at startup, plus skill discovery; subagents stay unpolluted. |
172
+ | **SystemContextInjectionPlugin** | Injects universal guidance — including correctness obligations for behavior changes — plus the work policy selected by the orchestration profile into vv-controller at startup, and registers skill discovery; subagents stay unpolluted. |
173
173
  | **SecretsRedactionPlugin** | Redacts tokens, keys, emails, and other sensitive values before messages reach the model, restoring them only where local execution needs the originals. |
174
174
  | **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. |
175
175
  | **ToolHistoryCompactionPlugin** | Shrinks the context replayed to the model by compacting old tool outputs non-destructively, without touching on-disk history. |
@@ -192,6 +192,8 @@ All prompt files are scaffolded by `vvoc install` / `vvoc sync`:
192
192
  | `investigator` | Finds the root cause first when behavior is unclear or a failure needs diagnosis |
193
193
  | `guardian` | Supports GuardianPlugin by reviewing permission requests and auto-approving only routine low-risk ones |
194
194
 
195
+ Managed prompts and the universal guidance injected into primary sessions carry explicit correctness obligations. For behavior changes, agents derive the material properties that must be preserved from the request and established contracts, separate write scope from impact and verification scope, investigate directly affected consumers, challenge a material assumption with a diagnostic counterexample, and choose verification at the level the risk arises. Controllers tie completion claims to observed evidence rather than status markers; reviewers distinguish no discovered defect from sufficient support for a material claim and can fail a change for a material verification gap. These obligations are prompt-level guidance only: `vvoc install` / `vvoc sync` deliver the current wording, changes take effect after an OpenCode restart like all vvoc config changes, and the bundled contract tests check instruction delivery and wording — they do not evaluate or guarantee how a real model behaves.
196
+
195
197
  ### Managed skills
196
198
 
197
199
  Two families: `vv-*` skills guide the work protocol, while `vvoc-*` skills operate and observe the vvoc/OpenCode tooling itself.
@@ -227,7 +229,7 @@ Skills are loaded by OpenCode at session start through `config.skills.paths` (re
227
229
  | `vvoc plugin list` | List OpenCode plugin entries |
228
230
  | `vvoc plugin enable\|disable` | Toggle a vvoc-managed plugin on or off |
229
231
  | `vvoc orchestration show\|set` | Show or set the vv-controller orchestration profile |
230
- | `vvoc patch-provider stepfun-ai\|codex\|deepseek\|kimi\|alibaba\|all` | Patch OpenCode providers; `codex` adds subscription-safe OpenAI aliases (also accepts `openai`), `deepseek`/`kimi`/`alibaba` add vv- reasoning-effort aliases, `all` patches every provider at once |
232
+ | `vvoc patch-provider stepfun-ai\|codex\|deepseek\|kimi\|alibaba\|zai\|all` | Patch OpenCode providers; `codex` adds subscription-safe OpenAI aliases (also accepts `openai`), `deepseek`/`kimi`/`alibaba`/`zai` add vv- reasoning-effort aliases, `all` patches every provider at once |
231
233
  | `vvoc completion` | Install shell completions |
232
234
  | `vvoc upgrade` | Upgrade the global package and run follow-up sync; sync failure is reported as a partial upgrade |
233
235
  | `vvoc analytics cache-hit-rate` | Aggregate persisted cache hit rate by day, week, month, session, model, provider, project, vvoc version, or OpenCode version |
@@ -354,10 +356,10 @@ vvoc role list
354
356
  vvoc role list --scope effective
355
357
 
356
358
  # Assign models to roles
357
- vvoc role set default deepseek/deepseek-v4-flash
358
- vvoc role set smart openai/vv-codex-gpt-5.6-sol-xhigh
359
+ vvoc role set default deepseek/vv-deepseek-flash-max
360
+ vvoc role set smart zai-coding-plan/vv-glm-5.3-max
359
361
  vvoc role set fast openai/vv-codex-gpt-5.6-luna-low
360
- vvoc role set reviewer zai-coding-plan/glm-5.2 --scope project
362
+ vvoc role set reviewer zai-coding-plan/vv-glm-5.3-max --scope project
361
363
 
362
364
  # Switch provider presets
363
365
  vvoc preset vv-codex
@@ -365,30 +367,39 @@ vvoc preset vv-zai
365
367
  vvoc preset vv-deepseek
366
368
  vvoc preset vv-kimi
367
369
  vvoc preset vv-alibaba
368
- vvoc preset vv-osovv-sol
369
- vvoc preset vv-osovv-flash
370
- vvoc preset vv-osovv-kimi
370
+ vvoc preset vv-osovv-ds
371
+ vvoc preset vv-osovv-zai
371
372
  vvoc preset vv-osovv-qwen
372
373
  vvoc preset vv-astra-solo
373
374
  vvoc preset vv-astra-workers
374
375
 
375
- # Install the explicit-reasoning provider aliases the Astra presets use
376
- vvoc patch-provider codex # vv-codex-gpt-6-astra-max + vv-codex-gpt-5.3-codex-spark-medium (+ existing aliases)
377
- vvoc patch-provider deepseek # vv-deepseek-flash-high (+ existing alias)
378
- vvoc patch-provider zai # vv-glm-5.3-high
376
+ # Install the explicit-reasoning provider aliases
377
+ vvoc patch-provider codex # vv-codex-gpt-6-astra-max (+ vv-codex-gpt-5.3-codex-spark-medium legacy alias + existing aliases)
378
+ vvoc patch-provider deepseek # vv-deepseek-flash-max (+ vv-deepseek-v4-flash-max, vv-deepseek-flash-high)
379
+ vvoc patch-provider zai # vv-glm-5.3-max + vv-glm-5.3-flash-max (+ vv-glm-5.3-high)
379
380
  vvoc patch-provider all # every patch above in one run
380
381
  ```
381
382
 
382
- 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 on every `vvoc install`/`vvoc sync`; user-defined presets are preserved as-is.
383
+ 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>`.
383
384
 
384
- The two Astra presets pin explicit reasoning-effort aliases:
385
+ Every shipped preset declares an explicit role matrix and orchestration profile:
385
386
 
386
- | Preset | default | smart | fast | reviewer | Profile |
387
+ | Preset | default | fast | smart | reviewer | Profile |
387
388
  |---|---|---|---|---|---|
388
- | `vv-astra-solo` | `openai/vv-codex-gpt-6-astra-max` | `openai/vv-codex-gpt-6-astra-max` | `openai/vv-codex-gpt-5.3-codex-spark-medium` | `zai-coding-plan/vv-glm-5.3-high` | single-session |
389
- | `vv-astra-workers` | `deepseek/vv-deepseek-flash-high` | `openai/vv-codex-gpt-6-astra-max` | `openai/vv-codex-gpt-5.3-codex-spark-medium` | `zai-coding-plan/vv-glm-5.3-high` | delegated |
389
+ | `vv-codex` | `openai/vv-codex-gpt-5.6-terra-high` | `openai/vv-codex-gpt-5.6-luna-low` | `openai/vv-codex-gpt-5.6-sol-xhigh` | `openai/vv-codex-gpt-5.6-sol-xhigh` | single-session |
390
+ | `vv-zai` | `zai-coding-plan/vv-glm-5.3-flash-max` | `zai-coding-plan/vv-glm-5.3-flash-max` | `zai-coding-plan/vv-glm-5.3-max` | `zai-coding-plan/vv-glm-5.3-max` | balanced |
391
+ | `vv-deepseek` | `deepseek/vv-deepseek-flash-max` | `deepseek/vv-deepseek-flash-max` | `deepseek/vv-deepseek-flash-max` | `deepseek/vv-deepseek-flash-max` | balanced |
392
+ | `vv-kimi` | `kimi-for-coding/k3` | `kimi-for-coding/kimi-for-coding-highspeed` | `kimi-for-coding/vv-kimi-k3-max` | `kimi-for-coding/kimi-for-coding` | single-session |
393
+ | `vv-alibaba` | `alibaba-token-plan/qwen3.8-max` | `alibaba-token-plan/deepseek-v4-flash` | `alibaba-token-plan/vv-qwen3.8-max-xhigh` | `alibaba-token-plan/glm-5.2` | single-session |
394
+ | `vv-osovv-ds` | `deepseek/vv-deepseek-flash-max` | `openai/vv-codex-gpt-5.6-luna-low` | `deepseek/vv-deepseek-flash-max` | `zai-coding-plan/vv-glm-5.3-max` | single-session |
395
+ | `vv-osovv-zai` | `deepseek/vv-deepseek-flash-max` | `openai/vv-codex-gpt-5.6-luna-low` | `zai-coding-plan/vv-glm-5.3-max` | `zai-coding-plan/vv-glm-5.3-max` | single-session |
396
+ | `vv-osovv-qwen` | `deepseek/vv-deepseek-flash-max` | `openai/vv-codex-gpt-5.6-luna-low` | `alibaba-token-plan/vv-qwen3.8-max-xhigh` | `zai-coding-plan/vv-glm-5.3-max` | delegated |
397
+ | `vv-astra-solo` | `openai/vv-codex-gpt-6-astra-max` | `openai/vv-codex-gpt-5.6-luna-low` | `openai/vv-codex-gpt-6-astra-max` | `zai-coding-plan/vv-glm-5.3-high` | single-session |
398
+ | `vv-astra-workers` | `deepseek/vv-deepseek-flash-high` | `openai/vv-codex-gpt-5.6-luna-low` | `openai/vv-codex-gpt-6-astra-max` | `zai-coding-plan/vv-glm-5.3-high` | delegated |
399
+
400
+ `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.
390
401
 
391
- New aliases bind API model IDs to explicit efforts (`gpt-6-astra` → max, `gpt-5.3-codex-spark` → medium with unsupported inherited effort variants disabled, `deepseek-flash` → high, `glm-5.3` → high) and keep the established OpenAI reasoning-summary and encrypted-reasoning options. Spark and GLM-5.3 are advertised conservatively as text-only. The shared `fast` role also serves `explore`, Guardian, and `small_model` — Spark 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.
402
+ The explicit-reasoning aliases bind API model IDs to fixed efforts in the patched OpenCode provider entries. `deepseek-flash` is available as `vv-deepseek-flash-max` (effort `max`, image input) and the older `vv-deepseek-flash-high` (`high`, text-only); `vv-deepseek-v4-flash-max` remains text-only. On `zai-coding-plan`, `glm-5.3` is available as `vv-glm-5.3-high` and `vv-glm-5.3-max` (both text-only) and `glm-5.3-flash` as `vv-glm-5.3-flash-max` (text, image, video, and PDF input). The codex aliases keep the established OpenAI reasoning-summary and encrypted-reasoning options. `vv-codex-gpt-5.3-codex-spark-medium` is retained only for backward compatibility with manual configurations that already reference it: it is legacy/manual compatibility, keeps its disabled inherited effort variants, and is advertised conservatively as text-only, and no shipped preset selects it. The shared `fast` role also serves `explore`, Guardian, and `small_model` — 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.
392
403
 
393
404
  ### Orchestration profiles
394
405
 
@@ -413,12 +424,11 @@ Built-in presets declare an orchestration mapping:
413
424
  | `vv-codex` | single-session |
414
425
  | `vv-kimi` | single-session |
415
426
  | `vv-alibaba` | single-session |
416
- | `vv-osovv-sol` | single-session |
417
- | `vv-osovv-flash` | single-session |
418
- | `vv-osovv-kimi` | single-session |
419
- | `vv-osovv-qwen` | single-session |
427
+ | `vv-osovv-ds` | single-session |
428
+ | `vv-osovv-zai` | single-session |
420
429
  | `vv-astra-solo` | single-session |
421
430
  | `vv-astra-workers` | delegated |
431
+ | `vv-osovv-qwen` | delegated |
422
432
  | `vv-zai` | balanced |
423
433
  | `vv-deepseek` | balanced |
424
434
 
@@ -455,6 +465,12 @@ Delegated tasks are opened with `"mode": "delegated"`, an explicitly empty `requ
455
465
  - `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`.
456
466
  - `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.
457
467
 
468
+ 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 skips the `tool.execute.after` hook on a thrown execution, 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 `task_id` resume, no command/subtask path) whose host call errors with the exact `Subagent failed (task_id: <child>): ` wrapper, where the event metadata independently binds the same parent session and child session. 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.
469
+
470
+ This is not universal automatic error recovery. Background or promoted launches, resumed/shared/re-prompted children, cancellation or interruption, any task that entered the `tool.execute.after` hook (including a protocol/repair failure there), missing or mismatched parent/child metadata, 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.
471
+
472
+ When a tracked subagent returns a recognized task envelope whose inner result is malformed for the strict protocol — a missing `VVOC_STATUS`, a missing `VVOC_ROUTE`, a non-protocol top-block line, or body text without the required blank line — the plugin makes at most one bounded continuation to that same child session. The continuation request carries no `tools` override (so the child's persisted session permissions are preserved), and its instructions direct the child to preserve the original work item, assignment, role, and write scope; to finish unfinished work with its existing history and currently permitted tools; or, if the work was already complete, to correct only the final report without repeating work or inventing evidence; and to report a truthful post-continuation `VVOC_STATUS`/`VVOC_ROUTE` rather than freezing an outdated one. These are instructions to the model, not a mechanical guarantee of compliance: the plugin still reparses the continued output strictly, applies the bounded error-code and explicit-hard-stop gates, and fails closed with the original protocol error and excerpt. Continuation is attempted only once; a valid result never continues, and a failed, empty, or still-malformed continuation is never retried. An explicit `VVOC_STATUS: BLOCKED` or `NEEDS_CONTEXT` line is detected before the call, so malformed hard-stop output fails closed through the original protocol error and excerpt instead of being continued.
473
+
458
474
  Independent review happens at checkpoints declared in the plan. An approved delegated plan carries an `<execution><mode>delegated</mode>` section with `<review_checkpoints>` (`CHECKPOINT-R-NNN` identities, each with kind, wave barrier, covered tasks, reviewed scope files, reviewer set, acceptance criteria, and verification commands) and per-task `<write_scope>` lists. `work_checkpoint` handles three actions:
459
475
 
460
476
  - `register` — loads an approved active plan plus its linked approved spec, fully lints them, and binds the run to their content hashes and the canonical workspace root. Re-registering identical inputs is idempotent; changed approved inputs are explicit plan drift, never a progress reset.
@@ -127,8 +127,8 @@ declare const PATCH_PROVIDER_PRESETS: {
127
127
  readonly id: "gpt-6-astra";
128
128
  readonly variants: {};
129
129
  readonly limit: {
130
- readonly context: 400000;
131
- readonly input: 272000;
130
+ readonly context: 1050000;
131
+ readonly input: 922000;
132
132
  readonly output: 128000;
133
133
  };
134
134
  readonly modalities: {
@@ -201,6 +201,23 @@ declare const PATCH_PROVIDER_PRESETS: {
201
201
  readonly reasoningEffort: "max";
202
202
  };
203
203
  };
204
+ readonly "vv-deepseek-flash-max": {
205
+ readonly name: "VV DeepSeek Flash Max";
206
+ readonly id: "deepseek-flash";
207
+ readonly variants: {};
208
+ readonly limit: {
209
+ readonly context: 1000000;
210
+ readonly output: 384000;
211
+ };
212
+ readonly modalities: {
213
+ readonly input: readonly ["text", "image"];
214
+ readonly output: readonly ["text"];
215
+ };
216
+ readonly reasoning: true;
217
+ readonly options: {
218
+ readonly reasoningEffort: "max";
219
+ };
220
+ };
204
221
  readonly "vv-deepseek-flash-high": {
205
222
  readonly name: "VV DeepSeek Flash High";
206
223
  readonly id: "deepseek-flash";
@@ -296,9 +313,43 @@ declare const PATCH_PROVIDER_PRESETS: {
296
313
  readonly reasoningEffort: "high";
297
314
  };
298
315
  };
316
+ readonly "vv-glm-5.3-max": {
317
+ readonly name: "VV GLM-5.3 Max";
318
+ readonly id: "glm-5.3";
319
+ readonly variants: {};
320
+ readonly limit: {
321
+ readonly context: 1000000;
322
+ readonly output: 131072;
323
+ };
324
+ readonly modalities: {
325
+ readonly input: readonly ["text"];
326
+ readonly output: readonly ["text"];
327
+ };
328
+ readonly reasoning: true;
329
+ readonly options: {
330
+ readonly reasoningEffort: "max";
331
+ };
332
+ };
333
+ readonly "vv-glm-5.3-flash-max": {
334
+ readonly name: "VV GLM-5.3 Flash Max";
335
+ readonly id: "glm-5.3-flash";
336
+ readonly variants: {};
337
+ readonly limit: {
338
+ readonly context: 1000000;
339
+ readonly output: 131072;
340
+ };
341
+ readonly modalities: {
342
+ readonly input: readonly ["text", "image", "video", "pdf"];
343
+ readonly output: readonly ["text"];
344
+ };
345
+ readonly reasoning: true;
346
+ readonly options: {
347
+ readonly reasoningEffort: "max";
348
+ };
349
+ };
299
350
  };
300
351
  };
301
- readonly summary: "provider.zai-coding-plan.models.vv-glm-5.3-high patched";
352
+ readonly summary: "provider.zai-coding-plan.models vv-glm-5.3 high/max/flash-max aliases patched";
302
353
  };
303
354
  };
304
355
  /** Special preset name that applies every registered patch preset in sequence. */
@@ -1,5 +1,5 @@
1
1
  // FILE: src/commands/patch-provider.ts
2
- // VERSION: 0.9.0
2
+ // VERSION: 0.10.0
3
3
  // START_MODULE_CONTRACT
4
4
  // PURPOSE: Apply OpenCode patch presets to global or project OpenCode config layers.
5
5
  // SCOPE: Patch preset validation, scoped OpenCode config path resolution, provider/baseURL patch writes, provider-specific object patch writes under `provider` (codex, deepseek, kimi, alibaba, zai), and CLI output.
@@ -19,7 +19,7 @@
19
19
  // END_MODULE_MAP
20
20
  //
21
21
  // START_CHANGE_SUMMARY
22
- // LAST_CHANGE: [C-DELEGATED-WORKFLOW-ASTRA-PRESETS - Added Astra max and Spark medium codex aliases, DeepSeek Flash high, and the zai GLM-5.3 high patch with explicit Spark variant disabling.]
22
+ // LAST_CHANGE: [direct fix - Corrected vv-codex-gpt-6-astra-max limits to the official GPT-6 Astra contract (context 1050000, input 922000, output 128000) instead of the GPT-5.6-family 400000/272000 values that only apply post-PR#33972.]
23
23
  // END_CHANGE_SUMMARY
24
24
  import { defineCommand } from "citty";
25
25
  import { describeWriteResult, resolvePaths, writeOpenCodeProviderObject, writeProviderBaseUrl, } from "../lib/opencode.js";
@@ -128,9 +128,12 @@ const OPENAI_PATCH = {
128
128
  name: "VV Codex GPT-6 Astra Max",
129
129
  id: "gpt-6-astra",
130
130
  variants: {},
131
+ // GPT-6 Astra keeps its own official contract (1.05M context / 922K
132
+ // input / 128K output per OpenAI model docs, Sept 2026); only the
133
+ // GPT-5.6 family was capped to 272K input by Codex PR#33972.
131
134
  limit: {
132
- context: 400000,
133
- input: 272000,
135
+ context: 1050000,
136
+ input: 922000,
134
137
  output: 128000,
135
138
  },
136
139
  modalities: {
@@ -235,6 +238,23 @@ const DEEPSEEK_PATCH = {
235
238
  reasoningEffort: "max",
236
239
  },
237
240
  },
241
+ "vv-deepseek-flash-max": {
242
+ name: "VV DeepSeek Flash Max",
243
+ id: "deepseek-flash",
244
+ variants: {},
245
+ limit: {
246
+ context: 1000000,
247
+ output: 384000,
248
+ },
249
+ modalities: {
250
+ input: ["text", "image"],
251
+ output: ["text"],
252
+ },
253
+ reasoning: true,
254
+ options: {
255
+ reasoningEffort: "max",
256
+ },
257
+ },
238
258
  "vv-deepseek-flash-high": {
239
259
  name: "VV DeepSeek Flash High",
240
260
  id: "deepseek-flash",
@@ -273,6 +293,40 @@ const ZAI_PATCH = {
273
293
  reasoningEffort: "high",
274
294
  },
275
295
  },
296
+ "vv-glm-5.3-max": {
297
+ name: "VV GLM-5.3 Max",
298
+ id: "glm-5.3",
299
+ variants: {},
300
+ limit: {
301
+ context: 1000000,
302
+ output: 131072,
303
+ },
304
+ modalities: {
305
+ input: ["text"],
306
+ output: ["text"],
307
+ },
308
+ reasoning: true,
309
+ options: {
310
+ reasoningEffort: "max",
311
+ },
312
+ },
313
+ "vv-glm-5.3-flash-max": {
314
+ name: "VV GLM-5.3 Flash Max",
315
+ id: "glm-5.3-flash",
316
+ variants: {},
317
+ limit: {
318
+ context: 1000000,
319
+ output: 131072,
320
+ },
321
+ modalities: {
322
+ input: ["text", "image", "video", "pdf"],
323
+ output: ["text"],
324
+ },
325
+ reasoning: true,
326
+ options: {
327
+ reasoningEffort: "max",
328
+ },
329
+ },
276
330
  },
277
331
  };
278
332
  const PATCH_PROVIDER_PRESETS = {
@@ -310,7 +364,7 @@ const PATCH_PROVIDER_PRESETS = {
310
364
  kind: "provider-object",
311
365
  providerID: "zai-coding-plan",
312
366
  value: ZAI_PATCH,
313
- summary: "provider.zai-coding-plan.models.vv-glm-5.3-high patched",
367
+ summary: "provider.zai-coding-plan.models vv-glm-5.3 high/max/flash-max aliases patched",
314
368
  },
315
369
  };
316
370
  /** Special preset name that applies every registered patch preset in sequence. */
@@ -1 +1 @@
1
- {"version":3,"file":"patch-provider.js","sourceRoot":"","sources":["../../src/commands/patch-provider.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,iBAAiB;AACjB,wBAAwB;AACxB,uFAAuF;AACvF,yNAAyN;AACzN,0CAA0C;AAC1C,gEAAgE;AAChE,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,+FAA+F;AAC/F,8EAA8E;AAC9E,8GAA8G;AAC9G,4FAA4F;AAC5F,gHAAgH;AAChH,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,mMAAmM;AACnM,qBAAqB;AAErB,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,oBAAo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M,EAAE,GAAG,MAAM,wBAAwB,CAAC,UAAU,EAAE;YACpE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;YAClB,SAAS;YACT,KAAK;SACN,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"patch-provider.js","sourceRoot":"","sources":["../../src/commands/patch-provider.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kBAAkB;AAClB,wBAAwB;AACxB,uFAAuF;AACvF,yNAAyN;AACzN,0CAA0C;AAC1C,gEAAgE;AAChE,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,+FAA+F;AAC/F,8EAA8E;AAC9E,8GAA8G;AAC9G,4FAA4F;AAC5F,gHAAgH;AAChH,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,gPAAgP;AAChP,qBAAqB;AAErB,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAmB5B,MAAM,aAAa,GAAG;IACpB,OAAO,EAAE;QACP,OAAO,EAAE,2BAA2B;KACrC;IACD,MAAM,EAAE;QACN,gBAAgB,EAAE;YAChB,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;aACf;YACD,UAAU,EAAE;gBACV,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;gBACjC,MAAM,EAAE,CAAC,MAAM,CAAC;aACjB;SACF;KACF;CACyC,CAAC;AAE7C,MAAM,YAAY,GAAG;IACnB,MAAM,EAAE;Q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AC;gBACtF,IAAI,CAAC;oBACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,wBAAwB,CAAC,MAAM,EAAE;wBACxD,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;wBAClB,SAAS;wBACT,KAAK;qBACN,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,KAAK,sBAAsB,CAAC,MAAM,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC;gBAC5F,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,MAAM,GAAG,IAAI,CAAC;oBACd,OAAO,CAAC,KAAK,CAAC,GAAG,MAAM,KAAK,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;gBACxF,CAAC;YACH,CAAC;YACD,IAAI,MAAM;gBAAE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;YACjC,OAAO;QACT,CAAC;QAED,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,wBAAwB,CAAC,UAAU,EAAE;YACpE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;YAClB,SAAS;YACT,KAAK;SACN,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC"}
@@ -14,10 +14,10 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
14
14
  readonly "vv-zai": {
15
15
  readonly description: "Starter ZAI role assignments for built-in vvoc roles.";
16
16
  readonly agents: {
17
- readonly default: "zai-coding-plan/glm-5-turbo";
18
- readonly fast: "zai-coding-plan/glm-4.7";
19
- readonly smart: "zai-coding-plan/glm-5.2";
20
- readonly reviewer: "zai-coding-plan/glm-5.2";
17
+ readonly default: "zai-coding-plan/vv-glm-5.3-flash-max";
18
+ readonly fast: "zai-coding-plan/vv-glm-5.3-flash-max";
19
+ readonly smart: "zai-coding-plan/vv-glm-5.3-max";
20
+ readonly reviewer: "zai-coding-plan/vv-glm-5.3-max";
21
21
  };
22
22
  readonly orchestration: {
23
23
  readonly profile: "balanced";
@@ -26,10 +26,10 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
26
26
  readonly "vv-deepseek": {
27
27
  readonly description: "Starter DeepSeek role assignments for built-in vvoc roles.";
28
28
  readonly agents: {
29
- readonly default: "deepseek/deepseek-v4-flash";
30
- readonly fast: "deepseek/deepseek-v4-flash";
31
- readonly smart: "deepseek/deepseek-v4-pro";
32
- readonly reviewer: "deepseek/deepseek-v4-pro";
29
+ readonly default: "deepseek/vv-deepseek-flash-max";
30
+ readonly fast: "deepseek/vv-deepseek-flash-max";
31
+ readonly smart: "deepseek/vv-deepseek-flash-max";
32
+ readonly reviewer: "deepseek/vv-deepseek-flash-max";
33
33
  };
34
34
  readonly orchestration: {
35
35
  readonly profile: "balanced";
@@ -59,37 +59,25 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
59
59
  readonly profile: "single-session";
60
60
  };
61
61
  };
62
- readonly "vv-osovv-sol": {
63
- readonly description: "Personal osovv stack with codex sol smart (deepseek + openai + zai).";
62
+ readonly "vv-osovv-ds": {
63
+ readonly description: "Personal osovv stack with DeepSeek Flash default and smart (deepseek + openai + zai).";
64
64
  readonly agents: {
65
- readonly default: "deepseek/deepseek-v4-flash";
65
+ readonly default: "deepseek/vv-deepseek-flash-max";
66
66
  readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
67
- readonly smart: "openai/vv-codex-gpt-5.6-sol-xhigh";
68
- readonly reviewer: "zai-coding-plan/glm-5.2";
67
+ readonly smart: "deepseek/vv-deepseek-flash-max";
68
+ readonly reviewer: "zai-coding-plan/vv-glm-5.3-max";
69
69
  };
70
70
  readonly orchestration: {
71
71
  readonly profile: "single-session";
72
72
  };
73
73
  };
74
- readonly "vv-osovv-flash": {
75
- readonly description: "Personal osovv stack with deepseek v4 flash smart (deepseek + openai + zai).";
74
+ readonly "vv-osovv-zai": {
75
+ readonly description: "Personal osovv stack with GLM-5.3 smart (deepseek + openai + zai).";
76
76
  readonly agents: {
77
- readonly default: "deepseek/deepseek-v4-flash";
77
+ readonly default: "deepseek/vv-deepseek-flash-max";
78
78
  readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
79
- readonly smart: "deepseek/vv-deepseek-v4-flash-max";
80
- readonly reviewer: "zai-coding-plan/glm-5.2";
81
- };
82
- readonly orchestration: {
83
- readonly profile: "single-session";
84
- };
85
- };
86
- readonly "vv-osovv-kimi": {
87
- readonly description: "Personal osovv stack with kimi k3 smart (deepseek + openai + kimi + zai).";
88
- readonly agents: {
89
- readonly default: "deepseek/deepseek-v4-flash";
90
- readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
91
- readonly smart: "kimi-for-coding/vv-kimi-k3-max";
92
- readonly reviewer: "zai-coding-plan/glm-5.2";
79
+ readonly smart: "zai-coding-plan/vv-glm-5.3-max";
80
+ readonly reviewer: "zai-coding-plan/vv-glm-5.3-max";
93
81
  };
94
82
  readonly orchestration: {
95
83
  readonly profile: "single-session";
@@ -98,20 +86,20 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
98
86
  readonly "vv-osovv-qwen": {
99
87
  readonly description: "Personal osovv stack with qwen3.8 smart (deepseek + openai + qwen + zai).";
100
88
  readonly agents: {
101
- readonly default: "deepseek/deepseek-v4-flash";
89
+ readonly default: "deepseek/vv-deepseek-flash-max";
102
90
  readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
103
91
  readonly smart: "alibaba-token-plan/vv-qwen3.8-max-xhigh";
104
- readonly reviewer: "zai-coding-plan/glm-5.2";
92
+ readonly reviewer: "zai-coding-plan/vv-glm-5.3-max";
105
93
  };
106
94
  readonly orchestration: {
107
- readonly profile: "single-session";
95
+ readonly profile: "delegated";
108
96
  };
109
97
  };
110
98
  readonly "vv-astra-solo": {
111
- readonly description: "Astra-primary solo stack with Spark fast and GLM-5.3 review.";
99
+ readonly description: "Astra-primary solo stack with Luna fast and GLM-5.3 review.";
112
100
  readonly agents: {
113
101
  readonly default: "openai/vv-codex-gpt-6-astra-max";
114
- readonly fast: "openai/vv-codex-gpt-5.3-codex-spark-medium";
102
+ readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
115
103
  readonly smart: "openai/vv-codex-gpt-6-astra-max";
116
104
  readonly reviewer: "zai-coding-plan/vv-glm-5.3-high";
117
105
  };
@@ -123,7 +111,7 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
123
111
  readonly description: "Astra-architecture delegated stack with DeepSeek Flash workers and GLM-5.3 review.";
124
112
  readonly agents: {
125
113
  readonly default: "deepseek/vv-deepseek-flash-high";
126
- readonly fast: "openai/vv-codex-gpt-5.3-codex-spark-medium";
114
+ readonly fast: "openai/vv-codex-gpt-5.6-luna-low";
127
115
  readonly smart: "openai/vv-codex-gpt-6-astra-max";
128
116
  readonly reviewer: "zai-coding-plan/vv-glm-5.3-high";
129
117
  };
@@ -133,5 +121,5 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
133
121
  };
134
122
  };
135
123
  export type BuiltInVvocPresetName = keyof typeof BUILTIN_VVOC_PRESET_REGISTRY;
136
- export declare const BUILTIN_VVOC_PRESET_NAMES: readonly ("vv-codex" | "vv-zai" | "vv-deepseek" | "vv-kimi" | "vv-alibaba" | "vv-osovv-sol" | "vv-osovv-flash" | "vv-osovv-kimi" | "vv-osovv-qwen" | "vv-astra-solo" | "vv-astra-workers")[];
124
+ export declare const BUILTIN_VVOC_PRESET_NAMES: readonly ("vv-codex" | "vv-zai" | "vv-deepseek" | "vv-kimi" | "vv-alibaba" | "vv-osovv-ds" | "vv-osovv-zai" | "vv-osovv-qwen" | "vv-astra-solo" | "vv-astra-workers")[];
137
125
  export declare function isBuiltinVvocPresetName(name: string): name is BuiltInVvocPresetName;