@hank-warren/pi-auto-permissions 0.6.0 → 0.6.1

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 (2) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,30 @@
1
+ # @hank-warren/pi-auto-permissions
2
+
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - cf12677: ship CHANGELOG.md in the published tarball
8
+ - Updated dependencies [cf12677]
9
+ - @hank-warren/pi-permission-selector@1.0.1
10
+
11
+ ## 0.6.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 500fe67: Remove the `ExtensionSelectorComponent` monkey patch; compose `OptionSelector` explicitly (spec §9.4).
16
+
17
+ `pi-permission-selector` is now a **pure library**: it no longer registers an extension, patches nothing, and standalone installs do nothing — the reason for the major bump. `selector-patch.ts` and `index.ts` are deleted; `keys.ts` and `selector.ts` remain the frozen cross-package surface. Dialogs this repo does not own (pi's model/theme/session pickers, third-party extensions) revert to stock arrows+Enter, an accepted trade-off (spec §9.3): nothing here breaks when a pi upgrade changes selector internals.
18
+
19
+ `pi-auto-permissions` renders both of its prompts — the guardian approval prompt and the `request_override` prompt — through `ctx.ui.custom()` with the shared `OptionSelector` from `@hank-warren/pi-permission-selector` (a new plain dependency), instead of `ctx.ui.select` plus the global patch. Behavior is preserved: numbered options with `1`–`9` hotkeys, Tab-to-comment on the approval prompt (the note is still delivered as a steering user message, now by pi-auto-permissions itself), exact legacy option strings for `classifyPromptChoice`, and Herdr blocked-state bracketing. Cancellation semantics match `ctx.ui.select`: Esc, abort of the prompt signal, and a host that cannot render custom UI all resolve `undefined`, which every caller treats as deny/cancel — never allow.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [500fe67]
24
+ - @hank-warren/pi-permission-selector@1.0.0
25
+
26
+ ## 0.5.1
27
+
28
+ ### Patch Changes
29
+
30
+ - 67abcf5: document the optional `HERDR_ENV` herdr pane blocked indicator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hank-warren/pi-auto-permissions",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Fork of @ogulcancelik/pi-auto-permissions with dialog-answer user evidence: context-aware Bash permissions for Pi with automated guardian review.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -49,10 +49,11 @@
49
49
  "usage-log.ts",
50
50
  "widget-status.ts",
51
51
  "README.md",
52
- "LICENSE"
52
+ "LICENSE",
53
+ "CHANGELOG.md"
53
54
  ],
54
55
  "dependencies": {
55
- "@hank-warren/pi-permission-selector": "^1.0.0"
56
+ "@hank-warren/pi-permission-selector": "^1.0.1"
56
57
  },
57
58
  "peerDependencies": {
58
59
  "@earendil-works/pi-ai": "*",