@noppu-labs/opencode-permission-reviewer 3.6.0 → 3.8.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 +103 -0
- package/README.md +14 -4
- package/dist/explain.js +16 -12
- package/dist/index.js +17 -13
- package/dist/tui/modules/config/models/openrouter-decision-models.ts +16 -12
- package/docs/NOTICE +6 -5
- package/docs/SECURITY.md +13 -4
- package/package.json +9 -9
- /package/{docs/LICENSE-APACHE → LICENSES/Apache-2.0.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,109 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.8.0] - 2026-12-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- A price/performance chart of the OpenRouter decision models
|
|
15
|
+
(`docs/images/decision-models-price-performance.svg`), shown above the recommendation in the
|
|
16
|
+
reviewer models guide and rebuilt from `benchmarks/permission-reviewer/charts/` with
|
|
17
|
+
`node charts/render.mjs`.
|
|
18
|
+
- `docs/ARCHITECTURE.md`: the actors, the actions, and every external interface of the package
|
|
19
|
+
(entry points, each CLI subcommand, configuration files, environment variables, the files the
|
|
20
|
+
plugin writes, network endpoints and the RPC protocol).
|
|
21
|
+
- `docs/GOVERNANCE.md`: the roles, and who holds access to the repository, security advisories,
|
|
22
|
+
npm, release publishing and SonarCloud.
|
|
23
|
+
- The permission-reviewer benchmark runs System One decision models through OpenRouter and the
|
|
24
|
+
TypeSafe API, using the plugin's own provider table, and `combine` scores a System One run with a
|
|
25
|
+
reasoning reviewer on the cases it routes, applying the plugin's own hand-off rule.
|
|
26
|
+
`export-public` exports both. The benchmark README has a procedure, "Benchmark a decision model".
|
|
27
|
+
No reviewer behaviour changes.
|
|
28
|
+
- `benchmarks/permission-reviewer/RESULTS.md` has the results for nineteen System One models alone,
|
|
29
|
+
their pairings with GPT-6 Luna, Claude Haiku 5.5 and DeepSeek V4.1 Flash at low and high effort,
|
|
30
|
+
the paired comparisons, and notes on the runs that did not complete normally.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- Eighteen OpenRouter decision models are now marked benchmarked (this project, 2026-11-30,
|
|
35
|
+
PRB-600), so selecting one no longer raises the unbenchmarked config notice: `baseten/bison-1`,
|
|
36
|
+
`baseten/groundhog-1`, `baseten/mammoth-1`, `cloudflare/clef`, `cloudflare/clef-omni`,
|
|
37
|
+
`google/gemini-decision-1`, `heygen/heygen-decision-1`, `liquid/d1-ultra`, `liquid/d1.2`,
|
|
38
|
+
`liquid/d1.2-ultra`, `microsoft/microsoft-decision-1.1`, `openai/gpt-6-luna-decisions`,
|
|
39
|
+
`perplexity/pplx-decider-v1.3:free`, `perplexity/pplx-decider-flash-v1.3:free`,
|
|
40
|
+
`typesafe/jev-1.13`, `typesafe/jev-1.14`, `upstage/solar-decide-flash` and
|
|
41
|
+
`antdigital/lingdt-decision-fast-1.0:free`. Marked benchmarked does not mean recommended.
|
|
42
|
+
- The reviewer models guide reports this project's benchmark results and states its
|
|
43
|
+
recommendation rules: no unsafe approval after the gates, and no System One model that made a
|
|
44
|
+
dangerous or critical approval on its own. A table gives each recommended setup with its score,
|
|
45
|
+
cost per 1,000 reviews and mean latency. It recommends `openrouter/google/gemini-decision-1`
|
|
46
|
+
alone, with `openrouter/liquid/d1.2-ultra` as the cheaper alternative. With a reasoning reviewer
|
|
47
|
+
it recommends `openrouter/liquid/d1.2-ultra` with DeepSeek V4.1 Flash high, with
|
|
48
|
+
`openrouter/google/gemini-decision-1` with DeepSeek as the alternative. It does not recommend
|
|
49
|
+
`baseten/bison-1`, `baseten/groundhog-1`, `heygen/heygen-decision-1`,
|
|
50
|
+
`microsoft/microsoft-decision-1.1`, `perplexity/pplx-decider-flash-v1.3:free`, `liquid/d1.2` or
|
|
51
|
+
`cloudflare/clef-omni` under those rules, `perplexity/pplx-decider-v1.3:free` because of
|
|
52
|
+
OpenRouter's daily limit on free models, or `upstage/solar-decide-flash`,
|
|
53
|
+
`antdigital/lingdt-decision-fast-1.0:free` and `openai/gpt-6-luna-decisions` for their low
|
|
54
|
+
scores.
|
|
55
|
+
- The OpenRouter decision model list adds `antdigital/lingdt-decision-fast-1.0:free` and drops
|
|
56
|
+
`liquid/d1.1`.
|
|
57
|
+
- `cloudflare/clairic` is listed as incompatible: OpenRouter serves it only on its extractions
|
|
58
|
+
endpoint. Selecting it raises a config notice that every review will fail.
|
|
59
|
+
- The security policy (`docs/SECURITY.md`, which ships in the package) promises an initial
|
|
60
|
+
response within a week and adds a disclosure policy: fixed vulnerabilities are published as
|
|
61
|
+
GitHub security advisories.
|
|
62
|
+
- The README and the contributing guide say where bug reports and feature requests go. The guide
|
|
63
|
+
adds that new functionality and bug fixes come with tests, and that a pull request is
|
|
64
|
+
contributed under the repository's license (GitHub's Terms of Service, section D.6).
|
|
65
|
+
- The README shows the OpenSSF Best Practices and OpenSSF Baseline badges.
|
|
66
|
+
- The development guide describes the repository rulesets as they are and what Dependabot
|
|
67
|
+
updates.
|
|
68
|
+
- CI and the release build install dependencies with `--ignore-scripts`. The CI and CodeQL
|
|
69
|
+
workflows now set token permissions on every job, as the release and OpenRouter model workflows
|
|
70
|
+
already did. The two advisory workflows keep a single read-only token for the whole workflow.
|
|
71
|
+
- The Apache License 2.0 text moves from `docs/LICENSE-APACHE` to `LICENSES/Apache-2.0.txt`, in
|
|
72
|
+
the repository and in the npm package, so it sits in a standard license location. Its content is
|
|
73
|
+
unchanged, and `docs/NOTICE` points to the new path. Anything that reads the old path from an
|
|
74
|
+
installed package must use the new one.
|
|
75
|
+
- `docs/NOTICE`, the security policy and the contributing guide say
|
|
76
|
+
the project began as a fork of `warc0s/opencode-permission-reviewer` and is now developed
|
|
77
|
+
independently. The attribution and the licenses are unchanged.
|
|
78
|
+
|
|
79
|
+
## [3.7.0] - 2026-11-27
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- **Breaking:** the TUI runtime dependencies move from OpenTUI 0.8 to 0.9. `@opentui/core` and
|
|
84
|
+
`@opentui/solid` are pinned at 0.9.9. `solid-js` stays at 1.9.18, inside the `^1.9.12` that
|
|
85
|
+
`@opentui/solid` 0.9.9 peers. Installs that pin `@opentui/*` themselves, or that run the plugin
|
|
86
|
+
beside another that expects OpenTUI 0.8, must move with it to keep a single Solid runtime. The
|
|
87
|
+
supported host ranges and the minimum Bun (1.3.14) are unchanged.
|
|
88
|
+
- The real-host matrix adds OpenCode 1.19.6 and 2.4.2, the latest V1 and V2 releases. 1.19.6 is
|
|
89
|
+
the first verified host on the 1.19 line.
|
|
90
|
+
- The real-host matrix in CI now runs the minimum and the latest release of each line, plus V2
|
|
91
|
+
2.2.5 for OpenTUI 0.8. V1 1.18.30 through 1.18.32 and 1.18.35 leave the matrix. V2 2.0.26, 2.1.2
|
|
92
|
+
and 2.2.0 move to the on-demand window (`tests/compatibility/verify-v2-window.ts`). The verified
|
|
93
|
+
references are now 1.19.6 and 2.4.2. The supported ranges are unchanged.
|
|
94
|
+
- Bumped the runtime dependency `@opencode/client` and the dev dependency `@opencode/plugin` to
|
|
95
|
+
2.4.2, with `bun.lock` synchronized.
|
|
96
|
+
- The OpenRouter decision model list adds `baseten/bison-1`, `baseten/groundhog-1`, `liquid/d1.2`,
|
|
97
|
+
`liquid/d1.2-ultra` and `microsoft/microsoft-decision-1.1`, and drops `liquid/d1`. The new
|
|
98
|
+
models are unbenchmarked, so selecting one raises a config notice
|
|
99
|
+
([Reviewer models](docs/REVIEWER-MODELS.md#openrouter)).
|
|
100
|
+
|
|
101
|
+
### Security
|
|
102
|
+
|
|
103
|
+
- Consumer installs no longer carry `glob` 9.3.5 and `minimatch` 8.0.7, which had the moderate
|
|
104
|
+
GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249. They came in through `@opentui/solid`'s
|
|
105
|
+
`babel-plugin-module-resolver`, which `@opentui/solid` dropped in 0.9.8. `npm audit` over a
|
|
106
|
+
consumer install of the tarball reports no advisory. The root `overrides` stay for the dev
|
|
107
|
+
dependency `@opencode/plugin`
|
|
108
|
+
([Supply chain](docs/SUPPLY-CHAIN.md#known-residual-exposure),
|
|
109
|
+
[#128](https://github.com/noppu-labs/opencode-permission-reviewer/issues/128)).
|
|
110
|
+
- The audit no longer ignores GHSA-fc5q-39xc-vjpf (`picomatch`), which GitHub withdrew
|
|
111
|
+
([#154](https://github.com/noppu-labs/opencode-permission-reviewer/issues/154)).
|
|
112
|
+
|
|
10
113
|
## [3.6.0] - 2026-11-19
|
|
11
114
|
|
|
12
115
|
### Changed
|
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
[](https://opencode.ai)
|
|
7
7
|
[](https://bun.sh)
|
|
8
8
|
[](docs/NOTICE)
|
|
9
|
+
[](https://www.bestpractices.dev/projects/17186)
|
|
10
|
+
[](https://www.bestpractices.dev/projects/17186/baseline-2)
|
|
9
11
|
|
|
10
12
|

|
|
11
13
|
|
|
@@ -18,6 +20,8 @@ brought to you.
|
|
|
18
20
|
You can use any LLM or [System One model](docs/REVIEWER-MODELS.md#system-one-reviewers) as the
|
|
19
21
|
reviewer, or even a combination of both, with System One handing its hard calls to an LLM
|
|
20
22
|
([Reviewer models](docs/REVIEWER-MODELS.md#system-one-with-selective-reasoning-escalation)).
|
|
23
|
+
For the decision models we recommend, alone or with a reasoning reviewer, see
|
|
24
|
+
[Choosing a decision model](docs/REVIEWER-MODELS.md#choosing-a-decision-model).
|
|
21
25
|
|
|
22
26
|
For a short overview with the install steps, see the
|
|
23
27
|
[OpenCode Permission Reviewer page](https://toolkit.noppu.com/opencode/opencode-permission-reviewer)
|
|
@@ -44,8 +48,8 @@ on Noppu Labs' AI Toolkit site.
|
|
|
44
48
|
## Requirements
|
|
45
49
|
|
|
46
50
|
- [Bun](https://bun.sh) >= 1.3.14
|
|
47
|
-
- [OpenCode](https://opencode.ai) V1 `>=1.18.29 <2` (tested
|
|
48
|
-
(tested
|
|
51
|
+
- [OpenCode](https://opencode.ai) V1 `>=1.18.29 <2` (tested up to 1.19.6) or V2 `>=2.0.22 <3`
|
|
52
|
+
(tested up to 2.4.2)
|
|
49
53
|
- `git` on `PATH`, used only for read-only Git enrichment. Without it, the reviewer gets no Git
|
|
50
54
|
snapshot.
|
|
51
55
|
- A reviewer model: either a model configured in OpenCode that follows JSON schemas reliably, or
|
|
@@ -167,11 +171,17 @@ and long commands.
|
|
|
167
171
|
| [Compatibility](docs/COMPATIBILITY.md) | Supported versions and troubleshooting |
|
|
168
172
|
| [Migration](docs/MIGRATION.md) | Moving between OpenCode V1 and V2, rollback |
|
|
169
173
|
| [Development](docs/DEVELOPMENT.md) | Build output, live testing, compatibility matrix, benchmark, TUI screens |
|
|
174
|
+
| [Architecture](docs/ARCHITECTURE.md) | Actors, actions, and every external interface of the package |
|
|
175
|
+
| [Governance](docs/GOVERNANCE.md) | Roles, and who holds access to the repository, npm and releases |
|
|
170
176
|
|
|
171
177
|
## Contributing
|
|
172
178
|
|
|
173
|
-
|
|
174
|
-
[
|
|
179
|
+
Report bugs and request features in
|
|
180
|
+
[GitHub issues](https://github.com/noppu-labs/opencode-permission-reviewer/issues/new/choose),
|
|
181
|
+
using the bug report or feature request template. Report security issues privately as described
|
|
182
|
+
in [SECURITY.md](docs/SECURITY.md), not in a public issue. To change the code, see
|
|
183
|
+
[CONTRIBUTING.md](docs/CONTRIBUTING.md); [GOVERNANCE.md](docs/GOVERNANCE.md) says who maintains
|
|
184
|
+
the project and who holds access to what.
|
|
175
185
|
|
|
176
186
|
---
|
|
177
187
|
|
package/dist/explain.js
CHANGED
|
@@ -325,38 +325,41 @@ function resolveMinimumConfidence(value) {
|
|
|
325
325
|
// src/modules/config/models/openrouter-decision-models.ts
|
|
326
326
|
const OPENROUTER_DECISION_MODELS = {
|
|
327
327
|
models: {
|
|
328
|
+
"antdigital/lingdt-decision-fast-1.0:free": { benchmarked: true },
|
|
329
|
+
"baseten/bison-1": { benchmarked: true },
|
|
328
330
|
"baseten/elephant-1": { benchmarked: false },
|
|
331
|
+
"baseten/groundhog-1": { benchmarked: true },
|
|
329
332
|
"baseten/joey-1": { benchmarked: false },
|
|
330
|
-
"baseten/mammoth-1": { benchmarked:
|
|
331
|
-
"cloudflare/
|
|
332
|
-
"cloudflare/clef": { benchmarked: false },
|
|
333
|
+
"baseten/mammoth-1": { benchmarked: true },
|
|
334
|
+
"cloudflare/clef": { benchmarked: true },
|
|
333
335
|
"cloudflare/clef-flash": { benchmarked: false },
|
|
334
|
-
"cloudflare/clef-omni": { benchmarked:
|
|
335
|
-
"google/gemini-decision-1": { benchmarked:
|
|
336
|
-
"heygen/heygen-decision-1": { benchmarked:
|
|
336
|
+
"cloudflare/clef-omni": { benchmarked: true },
|
|
337
|
+
"google/gemini-decision-1": { benchmarked: true },
|
|
338
|
+
"heygen/heygen-decision-1": { benchmarked: true },
|
|
337
339
|
"heygen/heygen-decision-1-turbo": { benchmarked: false },
|
|
338
340
|
"jaredpalmer/kev-4b": { benchmarked: false },
|
|
339
|
-
"liquid/d1": { benchmarked: true },
|
|
340
341
|
"liquid/d1-ultra": { benchmarked: true },
|
|
341
|
-
"liquid/d1.
|
|
342
|
+
"liquid/d1.2": { benchmarked: true },
|
|
343
|
+
"liquid/d1.2-ultra": { benchmarked: true },
|
|
342
344
|
"microsoft/microsoft-decision-1": { benchmarked: false },
|
|
345
|
+
"microsoft/microsoft-decision-1.1": { benchmarked: true },
|
|
343
346
|
"morph/reflex": { benchmarked: false },
|
|
344
347
|
"nace-ai/drex-max": { benchmarked: false },
|
|
345
348
|
"nace-ai/drex-max-finance": { benchmarked: false },
|
|
346
349
|
"nace-ai/drex-v1.5": { benchmarked: false },
|
|
347
350
|
"nace-ai/drex-v2.0": { benchmarked: false },
|
|
348
|
-
"openai/gpt-6-luna-decisions": { benchmarked:
|
|
351
|
+
"openai/gpt-6-luna-decisions": { benchmarked: true },
|
|
349
352
|
"parallel/decisions-fast": { benchmarked: false },
|
|
350
353
|
"perplexity/pplx-decider-flash-v1.2": { benchmarked: false },
|
|
351
|
-
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked:
|
|
354
|
+
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked: true },
|
|
352
355
|
"perplexity/pplx-decider-v1.2": { benchmarked: false },
|
|
353
|
-
"perplexity/pplx-decider-v1.3:free": { benchmarked:
|
|
356
|
+
"perplexity/pplx-decider-v1.3:free": { benchmarked: true },
|
|
354
357
|
"respan/span-02": { benchmarked: false },
|
|
355
358
|
"togethercomputer/tev1-4b-experimental": { benchmarked: false },
|
|
356
359
|
"typesafe/jev-1.13": { benchmarked: true },
|
|
357
360
|
"typesafe/jev-1.14": { benchmarked: true },
|
|
358
361
|
"upstage/solar-decide": { benchmarked: false },
|
|
359
|
-
"upstage/solar-decide-flash": { benchmarked:
|
|
362
|
+
"upstage/solar-decide-flash": { benchmarked: true },
|
|
360
363
|
"~liquid/d1-latest": { benchmarked: false },
|
|
361
364
|
"~liquid/d1-ultra-latest": { benchmarked: false },
|
|
362
365
|
"~perplexity/pplx-decider-flash-latest": { benchmarked: false },
|
|
@@ -364,6 +367,7 @@ const OPENROUTER_DECISION_MODELS = {
|
|
|
364
367
|
"~typesafe/jev-latest": { benchmarked: false }
|
|
365
368
|
},
|
|
366
369
|
incompatible: {
|
|
370
|
+
"cloudflare/clairic": "served only on the extractions endpoint",
|
|
367
371
|
"respan/span-01": "requires a different state shape",
|
|
368
372
|
"respan/span-01-lite": "requires a different state shape",
|
|
369
373
|
"respan/span-01-lite:free": "requires a different state shape",
|
package/dist/index.js
CHANGED
|
@@ -139,7 +139,7 @@ function invariant(condition, message) {
|
|
|
139
139
|
if (!condition) throw new Error(message);
|
|
140
140
|
}
|
|
141
141
|
// package.json
|
|
142
|
-
var version = "3.
|
|
142
|
+
var version = "3.8.0";
|
|
143
143
|
// src/utils/redact.ts
|
|
144
144
|
const REDACT = (type) => `[REDACTED:${type}]`;
|
|
145
145
|
const OPENCODE_SESSION_KEY = /^(?:session[_-]?id|session|sid)$/i;
|
|
@@ -941,38 +941,41 @@ function resolveMinimumConfidence(value) {
|
|
|
941
941
|
// src/modules/config/models/openrouter-decision-models.ts
|
|
942
942
|
const OPENROUTER_DECISION_MODELS = {
|
|
943
943
|
models: {
|
|
944
|
+
"antdigital/lingdt-decision-fast-1.0:free": { benchmarked: true },
|
|
945
|
+
"baseten/bison-1": { benchmarked: true },
|
|
944
946
|
"baseten/elephant-1": { benchmarked: false },
|
|
947
|
+
"baseten/groundhog-1": { benchmarked: true },
|
|
945
948
|
"baseten/joey-1": { benchmarked: false },
|
|
946
|
-
"baseten/mammoth-1": { benchmarked:
|
|
947
|
-
"cloudflare/
|
|
948
|
-
"cloudflare/clef": { benchmarked: false },
|
|
949
|
+
"baseten/mammoth-1": { benchmarked: true },
|
|
950
|
+
"cloudflare/clef": { benchmarked: true },
|
|
949
951
|
"cloudflare/clef-flash": { benchmarked: false },
|
|
950
|
-
"cloudflare/clef-omni": { benchmarked:
|
|
951
|
-
"google/gemini-decision-1": { benchmarked:
|
|
952
|
-
"heygen/heygen-decision-1": { benchmarked:
|
|
952
|
+
"cloudflare/clef-omni": { benchmarked: true },
|
|
953
|
+
"google/gemini-decision-1": { benchmarked: true },
|
|
954
|
+
"heygen/heygen-decision-1": { benchmarked: true },
|
|
953
955
|
"heygen/heygen-decision-1-turbo": { benchmarked: false },
|
|
954
956
|
"jaredpalmer/kev-4b": { benchmarked: false },
|
|
955
|
-
"liquid/d1": { benchmarked: true },
|
|
956
957
|
"liquid/d1-ultra": { benchmarked: true },
|
|
957
|
-
"liquid/d1.
|
|
958
|
+
"liquid/d1.2": { benchmarked: true },
|
|
959
|
+
"liquid/d1.2-ultra": { benchmarked: true },
|
|
958
960
|
"microsoft/microsoft-decision-1": { benchmarked: false },
|
|
961
|
+
"microsoft/microsoft-decision-1.1": { benchmarked: true },
|
|
959
962
|
"morph/reflex": { benchmarked: false },
|
|
960
963
|
"nace-ai/drex-max": { benchmarked: false },
|
|
961
964
|
"nace-ai/drex-max-finance": { benchmarked: false },
|
|
962
965
|
"nace-ai/drex-v1.5": { benchmarked: false },
|
|
963
966
|
"nace-ai/drex-v2.0": { benchmarked: false },
|
|
964
|
-
"openai/gpt-6-luna-decisions": { benchmarked:
|
|
967
|
+
"openai/gpt-6-luna-decisions": { benchmarked: true },
|
|
965
968
|
"parallel/decisions-fast": { benchmarked: false },
|
|
966
969
|
"perplexity/pplx-decider-flash-v1.2": { benchmarked: false },
|
|
967
|
-
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked:
|
|
970
|
+
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked: true },
|
|
968
971
|
"perplexity/pplx-decider-v1.2": { benchmarked: false },
|
|
969
|
-
"perplexity/pplx-decider-v1.3:free": { benchmarked:
|
|
972
|
+
"perplexity/pplx-decider-v1.3:free": { benchmarked: true },
|
|
970
973
|
"respan/span-02": { benchmarked: false },
|
|
971
974
|
"togethercomputer/tev1-4b-experimental": { benchmarked: false },
|
|
972
975
|
"typesafe/jev-1.13": { benchmarked: true },
|
|
973
976
|
"typesafe/jev-1.14": { benchmarked: true },
|
|
974
977
|
"upstage/solar-decide": { benchmarked: false },
|
|
975
|
-
"upstage/solar-decide-flash": { benchmarked:
|
|
978
|
+
"upstage/solar-decide-flash": { benchmarked: true },
|
|
976
979
|
"~liquid/d1-latest": { benchmarked: false },
|
|
977
980
|
"~liquid/d1-ultra-latest": { benchmarked: false },
|
|
978
981
|
"~perplexity/pplx-decider-flash-latest": { benchmarked: false },
|
|
@@ -980,6 +983,7 @@ const OPENROUTER_DECISION_MODELS = {
|
|
|
980
983
|
"~typesafe/jev-latest": { benchmarked: false }
|
|
981
984
|
},
|
|
982
985
|
incompatible: {
|
|
986
|
+
"cloudflare/clairic": "served only on the extractions endpoint",
|
|
983
987
|
"respan/span-01": "requires a different state shape",
|
|
984
988
|
"respan/span-01-lite": "requires a different state shape",
|
|
985
989
|
"respan/span-01-lite:free": "requires a different state shape",
|
|
@@ -7,38 +7,41 @@ export interface OpenRouterDecisionModels {
|
|
|
7
7
|
// biome-ignore lint/nursery/useExplicitType: `as const satisfies` keeps the literal ids; an annotation would widen them
|
|
8
8
|
export const OPENROUTER_DECISION_MODELS = {
|
|
9
9
|
models: {
|
|
10
|
+
"antdigital/lingdt-decision-fast-1.0:free": { benchmarked: true },
|
|
11
|
+
"baseten/bison-1": { benchmarked: true },
|
|
10
12
|
"baseten/elephant-1": { benchmarked: false },
|
|
13
|
+
"baseten/groundhog-1": { benchmarked: true },
|
|
11
14
|
"baseten/joey-1": { benchmarked: false },
|
|
12
|
-
"baseten/mammoth-1": { benchmarked:
|
|
13
|
-
"cloudflare/
|
|
14
|
-
"cloudflare/clef": { benchmarked: false },
|
|
15
|
+
"baseten/mammoth-1": { benchmarked: true },
|
|
16
|
+
"cloudflare/clef": { benchmarked: true },
|
|
15
17
|
"cloudflare/clef-flash": { benchmarked: false },
|
|
16
|
-
"cloudflare/clef-omni": { benchmarked:
|
|
17
|
-
"google/gemini-decision-1": { benchmarked:
|
|
18
|
-
"heygen/heygen-decision-1": { benchmarked:
|
|
18
|
+
"cloudflare/clef-omni": { benchmarked: true },
|
|
19
|
+
"google/gemini-decision-1": { benchmarked: true },
|
|
20
|
+
"heygen/heygen-decision-1": { benchmarked: true },
|
|
19
21
|
"heygen/heygen-decision-1-turbo": { benchmarked: false },
|
|
20
22
|
"jaredpalmer/kev-4b": { benchmarked: false },
|
|
21
|
-
"liquid/d1": { benchmarked: true },
|
|
22
23
|
"liquid/d1-ultra": { benchmarked: true },
|
|
23
|
-
"liquid/d1.
|
|
24
|
+
"liquid/d1.2": { benchmarked: true },
|
|
25
|
+
"liquid/d1.2-ultra": { benchmarked: true },
|
|
24
26
|
"microsoft/microsoft-decision-1": { benchmarked: false },
|
|
27
|
+
"microsoft/microsoft-decision-1.1": { benchmarked: true },
|
|
25
28
|
"morph/reflex": { benchmarked: false },
|
|
26
29
|
"nace-ai/drex-max": { benchmarked: false },
|
|
27
30
|
"nace-ai/drex-max-finance": { benchmarked: false },
|
|
28
31
|
"nace-ai/drex-v1.5": { benchmarked: false },
|
|
29
32
|
"nace-ai/drex-v2.0": { benchmarked: false },
|
|
30
|
-
"openai/gpt-6-luna-decisions": { benchmarked:
|
|
33
|
+
"openai/gpt-6-luna-decisions": { benchmarked: true },
|
|
31
34
|
"parallel/decisions-fast": { benchmarked: false },
|
|
32
35
|
"perplexity/pplx-decider-flash-v1.2": { benchmarked: false },
|
|
33
|
-
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked:
|
|
36
|
+
"perplexity/pplx-decider-flash-v1.3:free": { benchmarked: true },
|
|
34
37
|
"perplexity/pplx-decider-v1.2": { benchmarked: false },
|
|
35
|
-
"perplexity/pplx-decider-v1.3:free": { benchmarked:
|
|
38
|
+
"perplexity/pplx-decider-v1.3:free": { benchmarked: true },
|
|
36
39
|
"respan/span-02": { benchmarked: false },
|
|
37
40
|
"togethercomputer/tev1-4b-experimental": { benchmarked: false },
|
|
38
41
|
"typesafe/jev-1.13": { benchmarked: true },
|
|
39
42
|
"typesafe/jev-1.14": { benchmarked: true },
|
|
40
43
|
"upstage/solar-decide": { benchmarked: false },
|
|
41
|
-
"upstage/solar-decide-flash": { benchmarked:
|
|
44
|
+
"upstage/solar-decide-flash": { benchmarked: true },
|
|
42
45
|
"~liquid/d1-latest": { benchmarked: false },
|
|
43
46
|
"~liquid/d1-ultra-latest": { benchmarked: false },
|
|
44
47
|
"~perplexity/pplx-decider-flash-latest": { benchmarked: false },
|
|
@@ -46,6 +49,7 @@ export const OPENROUTER_DECISION_MODELS = {
|
|
|
46
49
|
"~typesafe/jev-latest": { benchmarked: false },
|
|
47
50
|
},
|
|
48
51
|
incompatible: {
|
|
52
|
+
"cloudflare/clairic": "served only on the extractions endpoint",
|
|
49
53
|
"respan/span-01": "requires a different state shape",
|
|
50
54
|
"respan/span-01-lite": "requires a different state shape",
|
|
51
55
|
"respan/span-01-lite:free": "requires a different state shape",
|
package/docs/NOTICE
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
OpenCode Permission Reviewer
|
|
2
2
|
Copyright 2026 Noppu Labs
|
|
3
3
|
|
|
4
|
-
This project
|
|
4
|
+
This project began as a fork of warc0s/opencode-permission-reviewer
|
|
5
5
|
(https://github.com/warc0s/opencode-permission-reviewer), Copyright 2026 Warc0s,
|
|
6
|
-
licensed under the Apache License, Version 2.0 (see
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
licensed under the Apache License, Version 2.0 (see ../LICENSES/Apache-2.0.txt).
|
|
7
|
+
It is now developed independently. Code from that project remains under the
|
|
8
|
+
Apache License, Version 2.0. Changes made in this project are licensed under the
|
|
9
|
+
MIT License (see ../LICENSE).
|
|
9
10
|
|
|
10
11
|
The reviewer policy in src/modules/context/services/prompt/policy.ts is adapted
|
|
11
12
|
from the OpenAI Codex Guardian auto-review policy and policy template:
|
|
@@ -18,4 +19,4 @@ adds OpenCode permission semantics, human escalation, confidence validation,
|
|
|
18
19
|
isolated review, and SSH, local-script, and Git evidence enrichment.
|
|
19
20
|
|
|
20
21
|
OpenAI Codex is Copyright OpenAI and contributors and is licensed under the
|
|
21
|
-
Apache License, Version 2.0 (see
|
|
22
|
+
Apache License, Version 2.0 (see ../LICENSES/Apache-2.0.txt).
|
package/docs/SECURITY.md
CHANGED
|
@@ -10,7 +10,15 @@ please don't open a public issue. Include as much of this as you can:
|
|
|
10
10
|
- the plugin version (`version` in `package.json`) and the OpenCode version you run
|
|
11
11
|
- the safety outcome you expected and the one you got
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
You can expect an initial response within a week.
|
|
14
|
+
|
|
15
|
+
## Disclosure policy
|
|
16
|
+
|
|
17
|
+
The project follows coordinated disclosure. A report stays private while it is assessed and fixed.
|
|
18
|
+
Once a fixed version is released, the project publishes the vulnerability as a
|
|
19
|
+
[GitHub security advisory](https://github.com/noppu-labs/opencode-permission-reviewer/security/advisories)
|
|
20
|
+
on this repository, with the affected versions, how to tell whether you are affected, and the
|
|
21
|
+
version that fixes it.
|
|
14
22
|
|
|
15
23
|
## Scope
|
|
16
24
|
|
|
@@ -31,9 +39,10 @@ vulnerability on its own. The plugin checks a decision's consistency, not its se
|
|
|
31
39
|
correctness. Other plugins loaded into the same OpenCode host can also override its decisions.
|
|
32
40
|
[docs/SAFETY.md](SAFETY.md) covers the threat model.
|
|
33
41
|
|
|
34
|
-
This project
|
|
35
|
-
[warc0s/opencode-permission-reviewer](https://github.com/warc0s/opencode-permission-reviewer)
|
|
36
|
-
If an issue also affects
|
|
42
|
+
This project began as a fork of
|
|
43
|
+
[warc0s/opencode-permission-reviewer](https://github.com/warc0s/opencode-permission-reviewer)
|
|
44
|
+
and is now developed independently. If an issue also affects that project, report it there as
|
|
45
|
+
well.
|
|
37
46
|
|
|
38
47
|
## Verifying releases
|
|
39
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noppu-labs/opencode-permission-reviewer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Let OpenCode run unattended, securely: a System One or LLM reviewer answers permission prompts and asks you only when it should.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"CHANGELOG.md",
|
|
43
43
|
"docs/NOTICE",
|
|
44
44
|
"LICENSE",
|
|
45
|
-
"
|
|
45
|
+
"LICENSES/Apache-2.0.txt",
|
|
46
46
|
"docs/SECURITY.md"
|
|
47
47
|
],
|
|
48
48
|
"license": "MIT AND Apache-2.0",
|
|
@@ -101,15 +101,15 @@
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@biomejs/biome": "2.6.
|
|
104
|
+
"@biomejs/biome": "2.6.8",
|
|
105
105
|
"@opencode-ai/plugin": "1.19.6",
|
|
106
106
|
"@opencode-ai/sdk": "1.19.6",
|
|
107
|
-
"@opencode/plugin": "2.
|
|
107
|
+
"@opencode/plugin": "2.4.2",
|
|
108
108
|
"@types/bun": "^1.3.0",
|
|
109
109
|
"@types/semver": "7.8.0",
|
|
110
110
|
"fta-cli": "3.1.0",
|
|
111
111
|
"get-east-asian-width": "1.7.0",
|
|
112
|
-
"knip": "6.
|
|
112
|
+
"knip": "6.47.0",
|
|
113
113
|
"string-width": "9.0.0",
|
|
114
114
|
"tsdown": "0.23.7",
|
|
115
115
|
"typescript": "7.0.2"
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"typecheck": "tsc --noEmit",
|
|
130
130
|
"fta": "fta .",
|
|
131
131
|
"knip": "knip",
|
|
132
|
-
"audit": "bun audit --ignore GHSA-chp3-j5qr-2vfr
|
|
132
|
+
"audit": "bun audit --ignore GHSA-chp3-j5qr-2vfr",
|
|
133
133
|
"build": "rm -rf dist && tsdown && bun scripts/copy-tui.ts",
|
|
134
134
|
"test": "bun test",
|
|
135
135
|
"test:stress": "bun test tests/stress.test.ts --timeout 30000",
|
|
@@ -140,11 +140,11 @@
|
|
|
140
140
|
},
|
|
141
141
|
"dependencies": {
|
|
142
142
|
"@typesafe-ai/sdk": "0.6.0",
|
|
143
|
-
"@opencode/client": "2.
|
|
143
|
+
"@opencode/client": "2.4.2",
|
|
144
144
|
"jsonc-parser": "3.3.1",
|
|
145
145
|
"semver": "7.8.6",
|
|
146
|
-
"@opentui/core": "0.
|
|
147
|
-
"@opentui/solid": "0.
|
|
146
|
+
"@opentui/core": "0.9.9",
|
|
147
|
+
"@opentui/solid": "0.9.9",
|
|
148
148
|
"solid-js": "1.9.18",
|
|
149
149
|
"zod": "4.6.7"
|
|
150
150
|
}
|
|
File without changes
|