opencode-agent-skill 9.0.0 → 11.0.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 +116 -0
- package/README.md +742 -675
- package/bin/ocskill.mjs +354 -5
- package/docs/V11-PERCEPTION-ADAPTIVE-EXECUTION.md +75 -0
- package/docs/V11-PERCEPTION-ADAPTIVE.md +220 -0
- package/evals/router-triggers.json +82 -0
- package/evals/routing.json +76 -0
- package/evals/v11/tasks.json +122 -0
- package/global-config/AGENTS.md +78 -163
- package/global-config/agents/merge-arbiter.md +12 -0
- package/global-config/agents/visual-verifier.md +12 -0
- package/global-config/plugins/ues-router/index.js +683 -59
- package/global-config/plugins/ues-router/router.js +62 -3
- package/global-config/plugins/ues-router/runtime-guard.js +265 -0
- package/global-config/skills/browser-qa/SKILL.md +14 -0
- package/global-config/skills/browser-qa/references/workflow.md +11 -0
- package/global-config/skills/browser-security/SKILL.md +12 -0
- package/global-config/skills/component-visual-testing/SKILL.md +10 -0
- package/global-config/skills/design-source/SKILL.md +10 -0
- package/global-config/skills/design-source/references/workflow.md +12 -0
- package/global-config/skills/dynamic-workflow/SKILL.md +18 -0
- package/global-config/skills/dynamic-workflow/references/workflow.md +19 -0
- package/global-config/skills/responsive-verification/SKILL.md +10 -0
- package/global-config/skills/skill-authoring/SKILL.md +12 -0
- package/global-config/skills/skill-evaluation/SKILL.md +17 -0
- package/global-config/skills/visual-fidelity/SKILL.md +14 -0
- package/global-config/skills/visual-fidelity/references/workflow.md +14 -0
- package/lib/benchmark-confidence.mjs +49 -11
- package/lib/browser-adapter.mjs +82 -0
- package/lib/browser-runtime.mjs +193 -0
- package/lib/capability-registry.mjs +109 -0
- package/lib/context-engine-v11.mjs +146 -0
- package/lib/context-manifest.mjs +16 -3
- package/lib/control-center.mjs +12 -2
- package/lib/dynamic-workflow.mjs +179 -0
- package/lib/eval-ablation.mjs +146 -0
- package/lib/eval-report.mjs +83 -0
- package/lib/eval-telemetry.mjs +64 -0
- package/lib/evidence-budget.mjs +84 -0
- package/lib/evidence-store.mjs +178 -0
- package/lib/hermes-bridge.mjs +45 -1
- package/lib/model-config.mjs +9 -1
- package/lib/model-policy.mjs +58 -1
- package/lib/orchestrator-policy.mjs +100 -7
- package/lib/png-diff.mjs +229 -0
- package/lib/prompt-cache.mjs +60 -0
- package/lib/skill-quality.mjs +72 -0
- package/lib/task-engine.mjs +223 -12
- package/lib/ui-inspector.mjs +152 -0
- package/lib/v11-metrics.mjs +64 -0
- package/lib/visual-spec.mjs +159 -0
- package/package.json +11 -5
- package/scripts/eval-ablation.mjs +47 -0
- package/scripts/eval-matrix.mjs +13 -2
- package/scripts/validate-v11-suite.mjs +58 -0
- package/scripts/validate.mjs +16 -4
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,122 @@ The project follows Semantic Versioning.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [11.0.0] - 2026-09-22
|
|
10
|
+
|
|
11
|
+
### Released
|
|
12
|
+
- Promoted V11 perception-aware adaptive execution to stable after the full local CI gate passed on Windows with 234 tests total, 232 passed, 0 failed and 2 platform-specific skips.
|
|
13
|
+
- Stable npm installs use the default `latest` dist-tag, so users install with `npm install -g opencode-agent-skill`.
|
|
14
|
+
- Includes content-addressed Evidence Store, adaptive EvidenceBudget/context externalization, stable-prefix prompt telemetry, capability-aware model routing, visual geometry receipts, deterministic PNG diff/crop, responsive/design-token inspection, optional Playwright browser inspection, cost-aware dynamic workflow scheduling, 48 focused skills and 12 subagents.
|
|
15
|
+
|
|
16
|
+
### Verified
|
|
17
|
+
- Syntax: 178 JavaScript modules.
|
|
18
|
+
- Catalog: 48 skills, 11 commands and 12 subagents.
|
|
19
|
+
- Router: 129 cases, 294/294 required routes and 61/61 negative guards.
|
|
20
|
+
- V11 contracts: 13 tasks across 6 categories and 15 required runtime files.
|
|
21
|
+
- Live/long/polyglot fixture validation: 20 / 5 / 8 tasks.
|
|
22
|
+
- npm pack dry-run, packed-install smoke and plain one-command install/resource auto-sync smoke: PASS.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- Package version is 11.0.0.
|
|
26
|
+
- V11 becomes the stable npm release line; V10 remains in Git history as the previous stable release.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### V11 dev.2
|
|
30
|
+
- Added project-local, fail-closed Playwright browser inspection that returns bounded semantic elements, bounding boxes, computed visual properties and a screenshot path while treating page content as untrusted evidence.
|
|
31
|
+
- Exposed browser inspection through CLI and the OpenCode V2 router without making Playwright a required package dependency.
|
|
32
|
+
- Fixed duplicate `ui_layout` router tool registration and aligned durable context packs with V11 context schema version 6.
|
|
33
|
+
- Extended V11 validation and regression coverage for the browser runtime.
|
|
34
|
+
- Package development version is 11.0.0-dev.2.
|
|
35
|
+
|
|
36
|
+
## [11.0.0-dev.1] - 2026-09-22
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
- Adaptive context engine that externalizes oversized source/test/reference excerpts into content-addressed evidence pointers while keeping bounded inline previews.
|
|
40
|
+
- Deterministic UI layout and design-token tools exposed to the OpenCode V2 runtime.
|
|
41
|
+
- Cost- and modality-aware workflow scheduling with inline thresholds, deterministic-first waves, independent LLM/vision concurrency and bounded wave cost.
|
|
42
|
+
- Repeated-stable prompt ratio telemetry and an optional fail-closed ablation gate for repeated input efficiency.
|
|
43
|
+
- Stronger V11 contract coverage for adaptive context, UI inspection and evidence externalization.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
- V11 router metadata now reports version 11.
|
|
47
|
+
- Task context packs transport large contextual evidence through `evidence:sha256` pointers and report externalized byte/ref counts.
|
|
48
|
+
- Capability-aware model routing fails closed when an enabled configured model set cannot satisfy required capabilities such as vision/browser.
|
|
49
|
+
- Package development version is 11.0.0-dev.1.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
- V11 eval-report regression tests now account for expanded adaptive telemetry coverage instead of using the old V10-only telemetry shape.
|
|
53
|
+
|
|
54
|
+
## [11.0.0-dev.0] - 2026-09-22
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
- Content-addressed Evidence Store with bounded retrieval, deduplication and garbage collection.
|
|
58
|
+
- Adaptive Evidence Budget planning and context-manifest integration for evidence-efficient execution.
|
|
59
|
+
- Prompt stable-prefix/cache telemetry for repeated-input measurement.
|
|
60
|
+
- Capability registry and capability-aware model selection for coding, reasoning, tools, vision, browser, filesystem and long-context needs.
|
|
61
|
+
- Visual specification, geometry receipts, responsive viewport matrix, dependency-free PNG decode/diff/crop and bounded visual repair planning.
|
|
62
|
+
- Browser QA adapter with CLI-first verification planning, targeted semantic evidence and explicit untrusted-page security boundaries.
|
|
63
|
+
- Cost-aware dynamic workflow scheduler separating deterministic work from LLM/vision work.
|
|
64
|
+
- Skill-quality linting for entrypoint size, metadata and routing-description collision detection.
|
|
65
|
+
- Nine V11 skills: visual-fidelity, browser-qa, design-source, responsive-verification, component-visual-testing, browser-security, skill-authoring, skill-evaluation and dynamic-workflow.
|
|
66
|
+
- Two V11 subagents: visual-verifier and merge-arbiter.
|
|
67
|
+
- Optional Hermes sidecar workflow contract with evidence-pointer transport.
|
|
68
|
+
- V11 Control Center evidence-store/runtime telemetry and V11-specific tests/eval routing cases.
|
|
69
|
+
|
|
70
|
+
### Changed
|
|
71
|
+
- Model policy schema supports per-model capability metadata plus cost, latency and quality hints.
|
|
72
|
+
- Adaptive model resolution can select configured models by required task capabilities.
|
|
73
|
+
- OpenCode V2 router recognizes visual/browser/design/skill-workflow intents and keeps FAST routing selective.
|
|
74
|
+
- Package version is 11.0.0-dev.0 while npm latest remains V10 stable until V11 release gates pass.
|
|
75
|
+
|
|
76
|
+
## [10.0.0] - 2026-09-22
|
|
77
|
+
|
|
78
|
+
### Released
|
|
79
|
+
- Promoted V10 RC.2 to stable after the local full gate passed with 182 tests passing, 0 failing, 2 platform-specific skips, plus package and install smoke validation.
|
|
80
|
+
- Stable npm installs use the default `latest` dist-tag, so users install with `npm install -g opencode-agent-skill`.
|
|
81
|
+
- Includes adaptive context/routing, weak-model recovery, no-progress watchdog, duplicate/loop guards, bounded exploration output, durable compaction checkpoints, provider recovery and retryable lease recovery.
|
|
82
|
+
|
|
83
|
+
### Changed
|
|
84
|
+
- Package version is 10.0.0.
|
|
85
|
+
- V10 stable keeps FAST at 8k, STANDARD at 20k and DEEP at 48k while preserving configured executor capability and correctness-first verification gates.
|
|
86
|
+
|
|
87
|
+
## [10.0.0-rc.2] - 2026-09-22
|
|
88
|
+
|
|
89
|
+
### Added
|
|
90
|
+
- No-progress watchdog for fresh executor sessions with active-tool grace so legitimate long-running tools are not killed merely for being quiet.
|
|
91
|
+
- Duplicate exploration guard and loop detector for repeated read/grep/glob-style calls without new workspace/evidence progress.
|
|
92
|
+
- Runtime tool-output budgets for large grep/glob/read/repo-graph style outputs.
|
|
93
|
+
- Durable pre-compaction checkpoints containing current task, runId, plan hash, workspace fingerprint, evidence pointers and a structured next action.
|
|
94
|
+
- Post-compaction resume enforcement with automatic fresh-session recovery when the next action is not executed.
|
|
95
|
+
- Provider failure classification and recovery for no-token, timeout, rate-limit, upstream, quota, auth and context-overflow failures.
|
|
96
|
+
- Periodic lease supervisor that recovers expired running executors to an explicit retryable state.
|
|
97
|
+
|
|
98
|
+
### Changed
|
|
99
|
+
- Provider stalls retry once in a fresh session with the same model; repeated retryable provider failures use the configured escalation model/provider when available.
|
|
100
|
+
- Stale lease recovery now records `retryable` instead of overloading terminal/logical `failed`.
|
|
101
|
+
- Explicit `long/high-risk`, `high-risk`, and structured long/high-risk facts hard-override FAST/light routing to DEEP/heavy.
|
|
102
|
+
- Package version is 10.0.0-rc.2.
|
|
103
|
+
- npm tag releases publish prereleases under `next`; stable versions continue to use `latest`.
|
|
104
|
+
|
|
105
|
+
### Fixed
|
|
106
|
+
- A post-compaction session that only emits narrative text without executing the persisted next action is treated as stalled instead of silently completing.
|
|
107
|
+
|
|
108
|
+
## [10.0.0-rc.1] - 2026-09-22
|
|
109
|
+
|
|
110
|
+
### Added
|
|
111
|
+
- Initial-input token telemetry and aggregate reporting for baseline-vs-UES evaluation.
|
|
112
|
+
- Attempt-aware recovery policy with bounded context/skill escalation from initial execution to diagnosis and deep recovery.
|
|
113
|
+
- Policy-aware FAST runtime routing that prioritizes direct domain/debug/review skills over generic orchestration.
|
|
114
|
+
- Benchmark efficiency gates for initial input tokens and total tokens.
|
|
115
|
+
- Reference-vs-candidate ablation CLI that requires pass-rate preservation and measurable initial-context reduction.
|
|
116
|
+
|
|
117
|
+
### Changed
|
|
118
|
+
- FAST context budget is 8k and STANDARD is 20k; DEEP remains 48k to preserve high-risk/long-horizon capability.
|
|
119
|
+
- Always-loaded global engineering instructions are compressed while retaining exact-contract, evidence, verification, safety and durable-work invariants.
|
|
120
|
+
- Retry context expands only after failure; repeated failures add graph/critic evidence instead of repeating speculative patches.
|
|
121
|
+
- Adaptive model policy exposes recovery stage and does not silently downshift the configured/default executor tier for FAST tasks.
|
|
122
|
+
- OpenCode V2 router metadata is versioned for the V10 policy-aware path.
|
|
123
|
+
- Package version is 10.0.0-rc.1; npm publication/tagging is intentionally deferred until RC verification passes.
|
|
124
|
+
|
|
9
125
|
## [9.0.0] - 2026-09-22
|
|
10
126
|
|
|
11
127
|
### Added
|