@noppu-labs/opencode-permission-reviewer 3.3.1 → 3.4.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 CHANGED
@@ -7,6 +7,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.4.0] - 2026-11-04
11
+
12
+ ### Changed
13
+
14
+ - **Breaking:** the TUI runtime dependencies move from OpenTUI 0.7 to 0.8. `@opentui/core` and
15
+ `@opentui/solid` are pinned at 0.8.2 and `solid-js` at 1.9.18, matching the `@opentui/* >=0.8.0`
16
+ that `@opencode/plugin` peers from 2.2.3. Installs that pin `@opentui/*` or `solid-js`
17
+ themselves, or that run the plugin beside another that expects OpenTUI 0.7, must move with it to
18
+ keep a single Solid runtime. The supported host ranges are unchanged: the real-host matrix
19
+ renders the TUI on every pinned V1 host and on V2 2.0.22 through 2.2.5.
20
+ - Bumped the runtime dependency `@opencode/client` and the dev dependency `@opencode/plugin` to
21
+ 2.2.5, with `bun.lock` synchronized.
22
+ - The real-host matrix adds OpenCode 2.2.5, the first verified V2 host on OpenTUI 0.8.
23
+ - The OpenRouter decision model list adds `baseten/elephant-1`, `baseten/joey-1` and
24
+ `baseten/mammoth-1`. They are unbenchmarked, so selecting one raises a config notice
25
+ ([Reviewer models](docs/REVIEWER-MODELS.md#openrouter)).
26
+
27
+ ### Security
28
+
29
+ - `solid-js` 1.9.18 resolves `seroval` 1.6.12, which fixes GHSA-p6vx-979v-rg4c,
30
+ GHSA-jp82-f5mq-hwhp, GHSA-97r2-qh9m-474h, GHSA-wp97-x4hv-qvhp, GHSA-7rv5-mrxv-xcr9 and
31
+ GHSA-9wx9-5pv9-3349. The audit no longer ignores any advisory, and the consumer `npm audit`
32
+ gate no longer admits a residual
33
+ ([#112](https://github.com/noppu-labs/opencode-permission-reviewer/issues/112)).
34
+ - GHSA-3g3m-2fjr-6pw4 (`glob`) and GHSA-g3hv-75wg-m249 (`minimatch`), both moderate, are fixed
35
+ only in new majors that upstream doesn't allow yet. Root `overrides` to `glob` 14.0.3 and
36
+ `minimatch` 11.0.4 clear them from this repository's tree. The consumer tree keeps them through
37
+ `@opentui/solid`'s `babel-plugin-module-resolver`, which never calls the vulnerable code here, and
38
+ they are documented as residual exposure
39
+ ([Supply chain](docs/SUPPLY-CHAIN.md#known-residual-exposure),
40
+ [#128](https://github.com/noppu-labs/opencode-permission-reviewer/issues/128)).
41
+
42
+ ## [3.3.2] - 2026-10-30
43
+
44
+ ### Changed
45
+
46
+ - Bumped the runtime dependency `@opencode/client` to 2.2.2.
47
+ - Bumped the dev dependencies `@opencode/plugin` to 2.2.2, `get-east-asian-width` to 1.7.0 and
48
+ `string-width` to 8.3.0, with `bun.lock` synchronized. The `@opentui/*` pins stay at 0.7.0
49
+ because `@opencode/plugin` 2.2.2 still pins them, so the `seroval` residual exposure tracked in
50
+ [#112](https://github.com/noppu-labs/opencode-permission-reviewer/issues/112) is unchanged.
51
+
52
+ ### Fixed
53
+
54
+ - The TUI's East Asian Wide table is regenerated from `get-east-asian-width` 1.7.0, so characters
55
+ added as wide in Unicode 18 take two terminal columns when long commands are fitted.
56
+
10
57
  ## [3.3.1] - 2026-10-30
11
58
 
12
59
  ### Changed
package/dist/explain.js CHANGED
@@ -325,6 +325,9 @@ function resolveMinimumConfidence(value) {
325
325
  // src/modules/config/models/openrouter-decision-models.ts
326
326
  const OPENROUTER_DECISION_MODELS = {
327
327
  models: {
328
+ "baseten/elephant-1": { benchmarked: false },
329
+ "baseten/joey-1": { benchmarked: false },
330
+ "baseten/mammoth-1": { benchmarked: false },
328
331
  "cloudflare/clef": { benchmarked: false },
329
332
  "cloudflare/clef-flash": { benchmarked: false },
330
333
  "cloudflare/clef-omni": { benchmarked: false },
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ function invariant(condition, message) {
108
108
  if (!condition) throw new Error(message);
109
109
  }
110
110
  // package.json
111
- var version = "3.3.1";
111
+ var version = "3.4.0";
112
112
  // src/utils/redact.ts
113
113
  const REDACT = (type) => `[REDACTED:${type}]`;
114
114
  const OPENCODE_SESSION_KEY = /^(?:session[_-]?id|session|sid)$/i;
@@ -910,6 +910,9 @@ function resolveMinimumConfidence(value) {
910
910
  // src/modules/config/models/openrouter-decision-models.ts
911
911
  const OPENROUTER_DECISION_MODELS = {
912
912
  models: {
913
+ "baseten/elephant-1": { benchmarked: false },
914
+ "baseten/joey-1": { benchmarked: false },
915
+ "baseten/mammoth-1": { benchmarked: false },
913
916
  "cloudflare/clef": { benchmarked: false },
914
917
  "cloudflare/clef-flash": { benchmarked: false },
915
918
  "cloudflare/clef-omni": { benchmarked: false },
@@ -7,6 +7,9 @@ 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
+ "baseten/elephant-1": { benchmarked: false },
11
+ "baseten/joey-1": { benchmarked: false },
12
+ "baseten/mammoth-1": { benchmarked: false },
10
13
  "cloudflare/clef": { benchmarked: false },
11
14
  "cloudflare/clef-flash": { benchmarked: false },
12
15
  "cloudflare/clef-omni": { benchmarked: false },
@@ -1,5 +1,5 @@
1
1
  // Generated by `bun scripts/generate-east-asian-wide.ts` from
2
- // get-east-asian-width 1.6.0. Do not edit by hand.
2
+ // get-east-asian-width 1.7.0. Do not edit by hand.
3
3
  // Packed as hex "from-to" pairs because a literal array of tuples exceeds the FTA cap.
4
4
 
5
5
  const PACKED: string = [
@@ -10,15 +10,15 @@ const PACKED: string = [
10
10
  "27b0-27b0 27bf-27bf 2b1b-2b1c 2b50-2b50 2b55-2b55 2e80-2e99 2e9b-2ef3 2f00-2fd5",
11
11
  "2ff0-303e 3041-3096 3099-30ff 3105-312f 3131-318e 3190-31e5 31ef-321e 3220-3247",
12
12
  "3250-a48c a490-a4c6 a960-a97c ac00-d7a3 f900-faff fe10-fe19 fe30-fe52 fe54-fe66",
13
- "fe68-fe6b ff01-ff60 ffe0-ffe6 16fe0-16fe4 16ff0-16ff6 17000-18cd5 18cff-18d1e 18d80-18df2",
14
- "1aff0-1aff3 1aff5-1affb 1affd-1affe 1b000-1b122 1b132-1b132 1b150-1b152 1b155-1b155 1b164-1b167",
15
- "1b170-1b2fb 1d300-1d356 1d360-1d376 1f004-1f004 1f0cf-1f0cf 1f18e-1f18e 1f191-1f19a 1f200-1f202",
16
- "1f210-1f23b 1f240-1f248 1f250-1f251 1f260-1f265 1f300-1f320 1f32d-1f335 1f337-1f37c 1f37e-1f393",
17
- "1f3a0-1f3ca 1f3cf-1f3d3 1f3e0-1f3f0 1f3f4-1f3f4 1f3f8-1f43e 1f440-1f440 1f442-1f4fc 1f4ff-1f53d",
18
- "1f54b-1f54e 1f550-1f567 1f57a-1f57a 1f595-1f596 1f5a4-1f5a4 1f5fb-1f64f 1f680-1f6c5 1f6cc-1f6cc",
19
- "1f6d0-1f6d2 1f6d5-1f6d8 1f6dc-1f6df 1f6eb-1f6ec 1f6f4-1f6fc 1f7e0-1f7eb 1f7f0-1f7f0 1f90c-1f93a",
20
- "1f93c-1f945 1f947-1f9ff 1fa70-1fa7c 1fa80-1fa8a 1fa8e-1fac6 1fac8-1fac8 1facd-1fadc 1fadf-1faea",
21
- "1faef-1faf8 20000-2fffd 30000-3fffd",
13
+ "fe68-fe6b ff01-ff60 ffe0-ffe6 16fe0-16fe4 16ff0-16ff6 17000-18cda 18cff-18d20 18d80-18df2",
14
+ "18e00-19191 191a0-191d2 1aff0-1aff3 1aff5-1affb 1affd-1affe 1b000-1b128 1b132-1b132 1b150-1b152",
15
+ "1b155-1b155 1b164-1b168 1b170-1b2fb 1d300-1d356 1d360-1d376 1f004-1f004 1f0cf-1f0cf 1f18e-1f18e",
16
+ "1f191-1f19a 1f1ae-1f1ae 1f200-1f202 1f210-1f23b 1f240-1f248 1f250-1f251 1f260-1f265 1f300-1f320",
17
+ "1f32d-1f335 1f337-1f37c 1f37e-1f393 1f3a0-1f3ca 1f3cf-1f3d3 1f3e0-1f3f0 1f3f4-1f3f4 1f3f8-1f43e",
18
+ "1f440-1f440 1f442-1f4fc 1f4ff-1f53d 1f54b-1f54e 1f550-1f567 1f57a-1f57a 1f595-1f596 1f5a4-1f5a4",
19
+ "1f5fb-1f64f 1f680-1f6c5 1f6cc-1f6cc 1f6d0-1f6d2 1f6d5-1f6d9 1f6dc-1f6df 1f6eb-1f6ec 1f6f4-1f6fc",
20
+ "1f7da-1f7da 1f7e0-1f7eb 1f7f0-1f7f0 1f90c-1f93a 1f93c-1f945 1f947-1f9ff 1fa70-1fa7c 1fa80-1fac6",
21
+ "1fac8-1fac8 1facc-1fadd 1fadf-1faeb 1faef-1fafa 20000-2fffd 30000-3fffd",
22
22
  ].join(" ");
23
23
 
24
24
  /** Inclusive code point ranges with East Asian Width Wide or Fullwidth. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noppu-labs/opencode-permission-reviewer",
3
- "version": "3.3.1",
3
+ "version": "3.4.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",
@@ -104,19 +104,21 @@
104
104
  "@biomejs/biome": "2.6.3",
105
105
  "@opencode-ai/plugin": "1.19.5",
106
106
  "@opencode-ai/sdk": "1.19.5",
107
- "@opencode/plugin": "2.2.0",
107
+ "@opencode/plugin": "2.2.5",
108
108
  "@types/bun": "^1.3.0",
109
109
  "@types/semver": "7.8.0",
110
110
  "fta-cli": "3.1.0",
111
- "get-east-asian-width": "1.6.0",
111
+ "get-east-asian-width": "1.7.0",
112
112
  "knip": "6.43.0",
113
- "string-width": "7.2.0",
113
+ "string-width": "8.3.0",
114
114
  "tsdown": "0.23.3",
115
115
  "typescript": "7.0.2"
116
116
  },
117
117
  "overrides": {
118
118
  "@babel/core": "7.29.7",
119
+ "glob": "14.0.3",
119
120
  "ip-address": "10.7.4",
121
+ "minimatch": "11.0.4",
120
122
  "toml": "5.0.1",
121
123
  "zod": "4.6.7"
122
124
  },
@@ -127,7 +129,7 @@
127
129
  "typecheck": "tsc --noEmit",
128
130
  "fta": "fta .",
129
131
  "knip": "knip",
130
- "audit": "bun audit --ignore GHSA-p6vx-979v-rg4c --ignore GHSA-jp82-f5mq-hwhp --ignore GHSA-97r2-qh9m-474h --ignore GHSA-wp97-x4hv-qvhp --ignore GHSA-7rv5-mrxv-xcr9 --ignore GHSA-9wx9-5pv9-3349",
132
+ "audit": "bun audit",
131
133
  "build": "rm -rf dist && tsdown && bun scripts/copy-tui.ts",
132
134
  "test": "bun test",
133
135
  "test:stress": "bun test tests/stress.test.ts --timeout 30000",
@@ -138,12 +140,12 @@
138
140
  },
139
141
  "dependencies": {
140
142
  "@typesafe-ai/sdk": "0.6.0",
141
- "@opencode/client": "2.2.0",
143
+ "@opencode/client": "2.2.5",
142
144
  "jsonc-parser": "3.3.1",
143
145
  "semver": "7.8.5",
144
- "@opentui/core": "0.7.0",
145
- "@opentui/solid": "0.7.0",
146
- "solid-js": "1.9.12",
146
+ "@opentui/core": "0.8.2",
147
+ "@opentui/solid": "0.8.2",
148
+ "solid-js": "1.9.18",
147
149
  "zod": "4.6.7"
148
150
  }
149
151
  }