@signalridge/pi-approvals 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +40 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.0
4
+ ### Minor Changes
5
+
6
+ - 0ec64d1: Introduce the opt-in experimental approvals extension with a human-owned session-scoped broker, explicit native-backend certification, fail-closed cooperative command admission, append-affine committed-navigation ownership, and bounded overlay review with focus-safe cancellation.
7
+
8
+ ### Patch Changes
9
+
10
+ - 74b65a5: Bound edit call rendering without IO or diff work; retain captured service liveness and exact-name admission through post-approval IO; reject live child canonical conflicts even when SDK metadata still wins. Replace delegated bash dispatch with an owned POSIX backend guarded after CWD preparation, preserving the SDK output layer while owning process-group/IPC cleanup. Preserve native editor paste/cursor/Undo state with an admitted non-capturing UI bridge, and hide unfocused reviews so foreign native questions remain visible and answerable.
11
+
12
+ Refuse Bun/compiled application and unknown interpreter capabilities before approval or subprocess startup instead of executing the host application as a supervisor. Use lossless hard wrapping, whole-grapheme and native-normalized Thai/Lao escaping, and explicit compact-preview whitespace/backslashes so spacing marks and distinct commands remain inspectable through actual terminal output.
13
+ - 0925139: Bound synchronous file-review diff work before generation, capture bash execution options and environments, require exact per-name canonical review bindings, and close owned review overlays by identity. Recheck cooperative adapter admission after child tool-call normalizers and carry the same captured approval-service and branch-owner guard through background startup to command dispatch. Preserve existing v1 approval and v4 managed contracts; document review limits and trusted-extension boundaries.
14
+ - Updated dependencies [74b65a5]
15
+ - Updated dependencies [0ec64d1]
16
+ - Updated dependencies [0925139]
17
+ - @signalridge/pi-approval-core@1.3.0
18
+
3
19
  ## 1.2.0
4
20
 
5
21
  Initial opt-in experimental human approval broker, with explicit pending command reviews, native RPC confirmations, and session-owned fail-closed cleanup.
package/package.json CHANGED
@@ -1,14 +1,30 @@
1
1
  {
2
2
  "name": "@signalridge/pi-approvals",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Opt-in experimental human approval broker for canonical native Pi mutations and bash.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "private": false,
8
- "keywords": ["pi-package", "pi-extension", "pi", "approvals"],
9
- "pi": { "extensions": ["./src/index.ts"] },
10
- "piExtension": { "lifecycle": "experimental" },
11
- "files": ["README.md", "LICENSE", "CHANGELOG.md", "src"],
8
+ "keywords": [
9
+ "pi-package",
10
+ "pi-extension",
11
+ "pi",
12
+ "approvals"
13
+ ],
14
+ "pi": {
15
+ "extensions": [
16
+ "./src/index.ts"
17
+ ]
18
+ },
19
+ "piExtension": {
20
+ "lifecycle": "experimental"
21
+ },
22
+ "files": [
23
+ "README.md",
24
+ "LICENSE",
25
+ "CHANGELOG.md",
26
+ "src"
27
+ ],
12
28
  "scripts": {
13
29
  "lint": "biome check src/ test/ vitest.config.ts --error-on-warnings",
14
30
  "format": "biome check --write src/ test/ vitest.config.ts",
@@ -16,8 +32,14 @@
16
32
  "test": "vitest run --config vitest.config.ts",
17
33
  "check": "bun run lint && bun run typecheck && bun run test"
18
34
  },
19
- "dependencies": { "@signalridge/pi-approval-core": "^1.2.0" },
20
- "peerDependencies": { "@earendil-works/pi-coding-agent": "*", "@earendil-works/pi-tui": "*", "typebox": "*" },
35
+ "dependencies": {
36
+ "@signalridge/pi-approval-core": "^1.3.0"
37
+ },
38
+ "peerDependencies": {
39
+ "@earendil-works/pi-coding-agent": "*",
40
+ "@earendil-works/pi-tui": "*",
41
+ "typebox": "*"
42
+ },
21
43
  "devDependencies": {
22
44
  "@earendil-works/pi-coding-agent": "1.0.4",
23
45
  "@earendil-works/pi-ai": "1.0.4",
@@ -28,8 +50,16 @@
28
50
  "typescript": "^6.0.0",
29
51
  "vitest": "^4.1.11"
30
52
  },
31
- "repository": { "type": "git", "url": "https://github.com/signalridge/pi-extensions", "directory": "packages/pi-approvals" },
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "https://github.com/signalridge/pi-extensions",
56
+ "directory": "packages/pi-approvals"
57
+ },
32
58
  "homepage": "https://github.com/signalridge/pi-extensions/tree/main/packages/pi-approvals",
33
- "bugs": { "url": "https://github.com/signalridge/pi-extensions/issues" },
34
- "publishConfig": { "access": "public" }
59
+ "bugs": {
60
+ "url": "https://github.com/signalridge/pi-extensions/issues"
61
+ },
62
+ "publishConfig": {
63
+ "access": "public"
64
+ }
35
65
  }