@noppu-labs/opencode-permission-reviewer 3.2.0 → 3.2.2

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/NOTICE +2 -2
  3. package/dist/explain.js +2723 -2723
  4. package/dist/index.d.ts +639 -540
  5. package/dist/index.js +9756 -9741
  6. package/dist/rpc.d.ts +1 -1
  7. package/dist/rpc.js +1 -1
  8. package/dist/tui/{opencode → adapters/opencode}/event-normalizer.ts +2 -2
  9. package/dist/tui/{config-fields.ts → modules/config/models/config-fields.ts} +2 -2
  10. package/dist/tui/{config-knobs.ts → modules/config/models/config-knobs.ts} +1 -1
  11. package/dist/tui/{config-policy-rules.ts → modules/config/models/config-policy-rules.ts} +2 -2
  12. package/dist/tui/{config-risk-policy.ts → modules/config/models/config-risk-policy.ts} +2 -1
  13. package/dist/tui/{config.ts → modules/config/services/config.ts} +5 -5
  14. package/dist/tui/{config → modules/config/services}/layer-read.ts +4 -3
  15. package/dist/tui/{config → modules/config/services}/loader.ts +3 -3
  16. package/dist/tui/{reviewer-model.ts → modules/config/services/reviewer-model.ts} +6 -3
  17. package/dist/tui/{config → modules/config/services}/risk-policy-clamp.ts +2 -2
  18. package/dist/tui/{system-one-routing.ts → modules/config/services/system-one-routing.ts} +1 -1
  19. package/dist/tui/{config → modules/config/services}/trust-boundary.ts +4 -4
  20. package/dist/tui/{config → modules/config/services}/trusted-degradation.ts +2 -2
  21. package/dist/tui/{config-rule-condition.ts → modules/policy/config-rule-condition.ts} +1 -1
  22. package/dist/tui/{ui-protocol.ts → modules/status/models/ui-protocol.ts} +9 -9
  23. package/dist/tui/{ui-state.ts → modules/status/services/ui-state.ts} +2 -2
  24. package/dist/tui/{ui-status-extras.ts → modules/status/services/ui-status-extras.ts} +4 -2
  25. package/dist/tui/{ui-status-parse.ts → modules/status/services/ui-status-parse.ts} +5 -5
  26. package/dist/tui/tui.tsx +5 -5
  27. package/dist/tui/ui/action-fit.ts +10 -2
  28. package/dist/tui/ui/attribution.ts +4 -3
  29. package/dist/tui/ui/components.tsx +1 -1
  30. package/dist/tui/ui/config-notices.ts +1 -1
  31. package/dist/tui/ui/fit-parts.ts +1 -1
  32. package/dist/tui/ui/manual-toast.ts +3 -3
  33. package/dist/tui/ui/review-feed.ts +3 -3
  34. package/dist/tui/ui/review-overlay.tsx +1 -1
  35. package/dist/tui/ui/review-result.tsx +1 -1
  36. package/dist/tui/ui/review-store.ts +3 -3
  37. package/dist/tui/ui/review-theme.ts +1 -1
  38. package/dist/tui/ui/v1-host.ts +5 -2
  39. package/dist/tui/ui/v2.tsx +1 -1
  40. package/package.json +3 -3
  41. package/dist/tui/types.ts +0 -357
  42. /package/dist/tui/{config → modules/config/services}/jsonc.ts +0 -0
  43. /package/dist/tui/{config → modules/config/services}/trust-boundary-keys.ts +0 -0
  44. /package/dist/tui/{failure-kind.ts → modules/status/models/failure-kind.ts} +0 -0
  45. /package/dist/tui/{ui → modules/status/models}/rpc.ts +0 -0
  46. /package/dist/tui/{ui-text-elide.ts → modules/status/services/ui-text-elide.ts} +0 -0
  47. /package/dist/tui/{descriptor-io.ts → utils/descriptor-io.ts} +0 -0
  48. /package/dist/tui/{is-record.ts → utils/is-record.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.2.2] - 2026-10-23
11
+
12
+ ### Changed
13
+
14
+ - Internal follow-ups to the `src/` restructure: one shared logger type, clearer names for the
15
+ context reader and the review audit-record helpers, and a stricter layer test. No behaviour
16
+ change: the package exports, command-line interface, configuration and shipped files are the
17
+ same as in 3.2.1.
18
+
19
+ ## [3.2.1] - 2026-10-23
20
+
21
+ ### Changed
22
+
23
+ - Internal restructure of `src/` into layered modules, adapters and helpers, with a test that
24
+ enforces the dependency direction. No behaviour change: the package exports, command-line
25
+ interface, configuration and shipped files are the same as in 3.2.0.
26
+
10
27
  ## [3.2.0] - 2026-10-23
11
28
 
12
29
  ### Changed
package/NOTICE CHANGED
@@ -7,8 +7,8 @@ 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
8
  fork are licensed under the MIT License (see ./LICENSE).
9
9
 
10
- The reviewer policy in src/policy.ts is adapted from the OpenAI Codex Guardian
11
- auto-review policy and policy template:
10
+ The reviewer policy in src/modules/context/services/prompt/policy.ts is adapted
11
+ from the OpenAI Codex Guardian auto-review policy and policy template:
12
12
 
13
13
  https://github.com/openai/codex/tree/c82cb044f3413e6584308d969b94e7a1430711ab/codex-rs/core/src/guardian
14
14