@noppu-labs/opencode-permission-reviewer 3.2.2 → 3.2.3
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,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.2.3] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- The README's install section leads with `opencode plugin add` on OpenCode V2 and keeps the
|
|
15
|
+
`bunx ... init --tui` command for V1, where `opencode plugin` does not register the TUI
|
|
16
|
+
overlay. The README also opens with a banner image.
|
|
17
|
+
- The npm package has a fuller description and more search keywords.
|
|
18
|
+
- `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md`, `MIGRATION.md`, `NOTICE` and
|
|
19
|
+
`LICENSE-APACHE` moved from the repository root to `docs/`. The npm package now ships
|
|
20
|
+
`docs/MIGRATION.md`, `docs/NOTICE`, `docs/LICENSE-APACHE` and `docs/SECURITY.md` in place of
|
|
21
|
+
the root copies.
|
|
22
|
+
- No behaviour change: the plugin code, package exports, command-line interface and
|
|
23
|
+
configuration are the same as in 3.2.2.
|
|
24
|
+
|
|
10
25
|
## [3.2.2] - 2026-10-23
|
|
11
26
|
|
|
12
27
|
### Changed
|
package/README.md
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@noppu-labs/opencode-permission-reviewer)
|
|
6
6
|
[](https://opencode.ai)
|
|
7
7
|
[](https://bun.sh)
|
|
8
|
-
[](
|
|
8
|
+
[](docs/NOTICE)
|
|
9
|
+
|
|
10
|
+

|
|
9
11
|
|
|
10
12
|
An OpenCode plugin that sends every `ask` permission to a tool-free AI reviewer. The reviewer
|
|
11
13
|
reads the pending request, recent transcript evidence, what you asked for, and a policy you
|
|
@@ -13,11 +15,6 @@ control. It then allows the action, denies it with a reason the agent can act on
|
|
|
13
15
|
it to you. Routine actions stop waiting for a keystroke, and risky ones are still blocked or
|
|
14
16
|
brought to you.
|
|
15
17
|
|
|
16
|
-
This is a fork of [warc0s/opencode-permission-reviewer](https://github.com/warc0s/opencode-permission-reviewer),
|
|
17
|
-
published to npm as `@noppu-labs/opencode-permission-reviewer`. It includes changes upstream
|
|
18
|
-
has not released, such as Jev's System One scores in audit records. It is an unofficial community
|
|
19
|
-
plugin, not affiliated with or endorsed by [Anomaly](https://anoma.ly).
|
|
20
|
-
|
|
21
18
|
## What it does
|
|
22
19
|
|
|
23
20
|
- Leaves your existing policy alone: `allow` rules continue and `deny` rules stay blocked
|
|
@@ -54,13 +51,16 @@ plugin, not affiliated with or endorsed by [Anomaly](https://anoma.ly).
|
|
|
54
51
|
|
|
55
52
|
## Install
|
|
56
53
|
|
|
54
|
+
OpenCode V2 installs the package and registers it in one step:
|
|
55
|
+
|
|
57
56
|
```bash
|
|
58
|
-
|
|
57
|
+
opencode plugin add @noppu-labs/opencode-permission-reviewer
|
|
59
58
|
```
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
the
|
|
63
|
-
|
|
60
|
+
On OpenCode V1, `opencode plugin` registers the server plugin but not the TUI overlay, so use
|
|
61
|
+
the package's own CLI instead. `--host auto` detects V1 or V2, `--tui` also registers the
|
|
62
|
+
overlay (V1 `tui.json` or V2 global `cli.json`), and `--npm` writes the package name instead of
|
|
63
|
+
a path. It never overwrites an existing entry.
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
bunx @noppu-labs/opencode-permission-reviewer init --host auto --npm --tui --yes
|
|
@@ -71,7 +71,7 @@ register the checkout's absolute path.
|
|
|
71
71
|
|
|
72
72
|
## Configure
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
To register the plugin by hand instead:
|
|
75
75
|
|
|
76
76
|
OpenCode V1 (`opencode.json` in the project, or `~/.config/opencode/opencode.json`):
|
|
77
77
|
|
|
@@ -149,17 +149,10 @@ and long commands.
|
|
|
149
149
|
| [Safety](docs/SAFETY.md) | Safety properties and threat model |
|
|
150
150
|
| [Supply chain](docs/SUPPLY-CHAIN.md) | What the package ships, dependency policy, known advisories |
|
|
151
151
|
| [Compatibility](docs/COMPATIBILITY.md) | Supported versions and troubleshooting |
|
|
152
|
-
| [Migration](MIGRATION.md)
|
|
152
|
+
| [Migration](docs/MIGRATION.md) | Moving between OpenCode V1 and V2, rollback |
|
|
153
153
|
| [Development](docs/DEVELOPMENT.md) | Build output, live testing, compatibility matrix, benchmark, TUI screens |
|
|
154
154
|
|
|
155
155
|
## Contributing
|
|
156
156
|
|
|
157
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md). Report security issues privately as described in
|
|
158
|
-
[SECURITY.md](SECURITY.md).
|
|
159
|
-
|
|
160
|
-
## License
|
|
161
|
-
|
|
162
|
-
Changes made in this fork are released under the [MIT License](LICENSE). Code from the upstream
|
|
163
|
-
project remains under the [Apache License 2.0](LICENSE-APACHE). The reviewer policy is adapted
|
|
164
|
-
from [OpenAI Codex Guardian](https://github.com/openai/codex/tree/c82cb044f3413e6584308d969b94e7a1430711ab/codex-rs/core/src/guardian)
|
|
165
|
-
(Apache-2.0, Copyright OpenAI and contributors); [NOTICE](NOTICE) has the full attribution.
|
|
157
|
+
See [CONTRIBUTING.md](docs/CONTRIBUTING.md). Report security issues privately as described in
|
|
158
|
+
[SECURITY.md](docs/SECURITY.md).
|
package/dist/index.js
CHANGED
package/{NOTICE → docs/NOTICE}
RENAMED
|
@@ -5,7 +5,7 @@ This project is a fork of warc0s/opencode-permission-reviewer
|
|
|
5
5
|
(https://github.com/warc0s/opencode-permission-reviewer), Copyright 2026 Warc0s,
|
|
6
6
|
licensed under the Apache License, Version 2.0 (see ./LICENSE-APACHE). Code from
|
|
7
7
|
that project remains under the Apache License, Version 2.0. Changes made in this
|
|
8
|
-
fork are licensed under the MIT License (see
|
|
8
|
+
fork are licensed under the MIT License (see ../LICENSE).
|
|
9
9
|
|
|
10
10
|
The reviewer policy in src/modules/context/services/prompt/policy.ts is adapted
|
|
11
11
|
from the OpenAI Codex Guardian auto-review policy and policy template:
|
|
@@ -18,10 +18,10 @@ The plugin approves or denies AI-agent actions on your behalf, so most security
|
|
|
18
18
|
where it approves something it should not. In scope:
|
|
19
19
|
|
|
20
20
|
- An automatic approval that breaks one of the deterministic invariants in
|
|
21
|
-
[docs/SAFETY.md](
|
|
21
|
+
[docs/SAFETY.md](SAFETY.md), such as approving an action the reviewer classified as
|
|
22
22
|
critical, or approving after a reviewer failure.
|
|
23
23
|
- Project or inline configuration that weakens trusted global settings (see the trust rules in
|
|
24
|
-
[docs/CONFIGURATION.md](
|
|
24
|
+
[docs/CONFIGURATION.md](CONFIGURATION.md)).
|
|
25
25
|
- The reviewer session gaining tools, MCP servers, or repository instructions.
|
|
26
26
|
- Credentials leaking into reviewer evidence, the audit log, or the TUI.
|
|
27
27
|
- The release pipeline: npm publishing, provenance, checksums, and the SBOM.
|
|
@@ -29,7 +29,7 @@ where it approves something it should not. In scope:
|
|
|
29
29
|
A reviewer model that misjudges an action's risk is a known limit of the design, not a
|
|
30
30
|
vulnerability on its own. The plugin checks a decision's consistency, not its semantic
|
|
31
31
|
correctness. Other plugins loaded into the same OpenCode host can also override its decisions.
|
|
32
|
-
[docs/SAFETY.md](
|
|
32
|
+
[docs/SAFETY.md](SAFETY.md) covers the threat model.
|
|
33
33
|
|
|
34
34
|
This project is a fork of
|
|
35
35
|
[warc0s/opencode-permission-reviewer](https://github.com/warc0s/opencode-permission-reviewer).
|
|
@@ -46,5 +46,5 @@ or `npm ci` (npm 8.15.0 or later), run this in the installing project:
|
|
|
46
46
|
npm audit signatures
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
[docs/SUPPLY-CHAIN.md](
|
|
49
|
+
[docs/SUPPLY-CHAIN.md](SUPPLY-CHAIN.md) describes what the package ships and the known
|
|
50
50
|
residual exposure in its dependency tree.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noppu-labs/opencode-permission-reviewer",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "Policy-aware permission reviewer for OpenCode V1 and V2",
|
|
3
|
+
"version": "3.2.3",
|
|
4
|
+
"description": "Policy-aware AI permission reviewer for OpenCode V1 and V2: auto-approves routine agent tool calls, denies risky ones with feedback, and escalates the rest to you",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"tui.tsx",
|
|
39
39
|
"dist/",
|
|
40
40
|
"README.md",
|
|
41
|
-
"MIGRATION.md",
|
|
41
|
+
"docs/MIGRATION.md",
|
|
42
42
|
"CHANGELOG.md",
|
|
43
|
-
"NOTICE",
|
|
43
|
+
"docs/NOTICE",
|
|
44
44
|
"LICENSE",
|
|
45
|
-
"LICENSE-APACHE",
|
|
46
|
-
"SECURITY.md"
|
|
45
|
+
"docs/LICENSE-APACHE",
|
|
46
|
+
"docs/SECURITY.md"
|
|
47
47
|
],
|
|
48
48
|
"license": "MIT AND Apache-2.0",
|
|
49
49
|
"author": "cris005",
|
|
@@ -61,13 +61,26 @@
|
|
|
61
61
|
"keywords": [
|
|
62
62
|
"opencode",
|
|
63
63
|
"opencode-plugin",
|
|
64
|
+
"opencode-ai",
|
|
64
65
|
"ai-agent",
|
|
66
|
+
"coding-agent",
|
|
67
|
+
"ai-coding-assistant",
|
|
65
68
|
"agent-safety",
|
|
66
|
-
"
|
|
69
|
+
"ai-safety",
|
|
70
|
+
"guardrails",
|
|
71
|
+
"llm-guardrails",
|
|
72
|
+
"permissions",
|
|
67
73
|
"permission-management",
|
|
74
|
+
"auto-approval",
|
|
75
|
+
"auto-approve",
|
|
76
|
+
"tool-approval",
|
|
77
|
+
"human-in-the-loop",
|
|
78
|
+
"command-review",
|
|
79
|
+
"shell-safety",
|
|
80
|
+
"policy-as-code",
|
|
81
|
+
"security",
|
|
68
82
|
"llm",
|
|
69
83
|
"codex-guardian",
|
|
70
|
-
"policy-as-code",
|
|
71
84
|
"typescript",
|
|
72
85
|
"bun"
|
|
73
86
|
],
|
|
File without changes
|
|
File without changes
|