@noppu-labs/opencode-permission-reviewer 3.4.3 → 3.6.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,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.6.0] - 2026-11-19
11
+
12
+ ### Changed
13
+
14
+ - Answers to agent ask dialogs reach the reviewer with a full UTC timestamp
15
+ (`[2026-09-01T12:01:03Z]`) instead of the time of day only, so answers given on different days of
16
+ a long session no longer look alike.
17
+
18
+ ### Fixed
19
+
20
+ - The V1 entrypoint refuses to load on a host that reports an OpenCode V2 version, and logs why
21
+ even without `debug`. Its reviewer isolation is a single-file plugin, which V2 does not load, so
22
+ every review used to fail closed with no visible cause. The message points at the V2 `"plugins"`
23
+ key.
24
+
25
+ ### Security
26
+
27
+ - Tools that usually only read are no longer labeled read-only when the command writes a file or
28
+ runs a program. Before, a policy rule on workspace writes or code execution did not match these
29
+ forms, and the reviewer was told the command only read.
30
+ - `sort` reads `-o` inside a short-option cluster (`sort -uo FILE`, `-nruoFILE`) and as an
31
+ abbreviated long option (`--out=FILE`). `--compress-program` counts as code execution.
32
+ - `uniq` and `xxd` report their second operand as a write.
33
+ - `tree` reports `-o FILE`, including after an attached level (`-L2 -o FILE`), and `-R`, which
34
+ writes a listing into each directory it visits.
35
+ - `yq` reports `-i` inside a flag cluster (`-iP`) or with a value (`--inplace=true`), and
36
+ `-s`/`--split-exp`, which writes a file per result. With `--security-allow-write-any-path`,
37
+ the write can land outside the workspace.
38
+
39
+ ## [3.5.0] - 2026-11-19
40
+
41
+ ### Changed
42
+
43
+ - The OpenRouter decision model list adds `google/gemini-decision-1`, `heygen/heygen-decision-1`,
44
+ `heygen/heygen-decision-1-turbo`, `nace-ai/drex-max-finance`,
45
+ `perplexity/pplx-decider-flash-v1.3:free` and `perplexity/pplx-decider-v1.3:free`. They are
46
+ unbenchmarked, so selecting one raises a config notice
47
+ ([Reviewer models](docs/REVIEWER-MODELS.md#openrouter)).
48
+ - The list names `parallel/decisions-fast` instead of `parallel/decisions-fast:free`, following
49
+ OpenRouter's listing. A config that names either is still read as a System One model.
50
+ - Bumped the runtime dependency `@opencode/client` to 2.3.2 and the dev dependencies
51
+ `@opencode/plugin` to 2.3.2 and `@opencode-ai/plugin` and `@opencode-ai/sdk` to 1.19.6, with
52
+ `bun.lock` synchronized.
53
+ - Bumped the dev dependencies `@biomejs/biome` to 2.6.7, `knip` to 6.45.1, `string-width` to 9.0.0
54
+ and `tsdown` to 0.23.7.
55
+
56
+ ### Security
57
+
58
+ - A `$'…'` word with an escape that bash, bash 3.2 and zsh decode differently could hide a command
59
+ from the emergency brake or make it look read-only. zsh reads `$'r\m'` as `rm`, `$'\-delete'` as
60
+ `-delete` and `$'\C-\x4a'` as a newline, bash 3.2 keeps `\u0027` as written where later shells
61
+ read a quote, and bash ends `<<$'E\[F'` at `E\[F` where zsh ends it at `E[F`. The analysis read
62
+ them all as bash 4.4 and later do. The brake now also reads such words the way zsh and bash 3.2
63
+ do. A heredoc delimiter with such an escape, or with a NUL, is treated as never terminating,
64
+ including inside a substitution or a command string. The capability report warns about such a
65
+ command and lowers its class confidence; a `read-only` class becomes `unknown`, and any other
66
+ class is kept, so policy rules that match it still apply.
67
+ - GHSA-fc5q-39xc-vjpf (`picomatch` through 4.0.7, high) is ignored by ID in the audit. No patched
68
+ `picomatch` release exists yet. It reaches this repository only through the dev dependencies
69
+ `knip`, `tsdown` and `@opencode/plugin`, and this package neither ships it nor imports from it.
70
+ Issue #154 tracks removing the ignore.
71
+
10
72
  ## [3.4.3] - 2026-11-16
11
73
 
12
74
  ### Changed