@signalridge/pi-approval-core 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 +12 -0
  2. package/package.json +32 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.0
4
+ ### Minor Changes
5
+
6
+ - 0ec64d1: Introduce the independent side-effect-free approval-core library with API-v1 local service discovery, reviewed native tool definitions, exact opaque provider/nested tool-call identities, and validated synchronous cooperative command-adapter capabilities.
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
+
3
15
  ## 1.2.0
4
16
 
5
17
  Initial independent approval-core library: validated local service contract v1 and invocation-local reviewed native tool definitions.
package/package.json CHANGED
@@ -1,13 +1,26 @@
1
1
  {
2
2
  "name": "@signalridge/pi-approval-core",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Side-effect-free local approval contracts and reviewed native Pi tool factories.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "private": false,
8
- "signalridgePackage": { "kind": "library" },
9
- "exports": { ".": { "types": "./src/index.ts", "default": "./src/index.ts" } },
10
- "files": ["README.md", "LICENSE", "CHANGELOG.md", "coreAPI.md", "src"],
8
+ "signalridgePackage": {
9
+ "kind": "library"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./src/index.ts",
14
+ "default": "./src/index.ts"
15
+ }
16
+ },
17
+ "files": [
18
+ "README.md",
19
+ "LICENSE",
20
+ "CHANGELOG.md",
21
+ "coreAPI.md",
22
+ "src"
23
+ ],
11
24
  "scripts": {
12
25
  "lint": "biome check src/ test/ vitest.config.ts --error-on-warnings",
13
26
  "format": "biome check --write src/ test/ vitest.config.ts",
@@ -15,7 +28,10 @@
15
28
  "test": "vitest run --config vitest.config.ts",
16
29
  "check": "bun run lint && bun run typecheck && bun run test"
17
30
  },
18
- "peerDependencies": { "@earendil-works/pi-coding-agent": "*", "typebox": "*" },
31
+ "peerDependencies": {
32
+ "@earendil-works/pi-coding-agent": "*",
33
+ "typebox": "*"
34
+ },
19
35
  "devDependencies": {
20
36
  "@earendil-works/pi-coding-agent": "1.0.4",
21
37
  "typebox": "1.3.27",
@@ -24,8 +40,16 @@
24
40
  "typescript": "^6.0.0",
25
41
  "vitest": "^4.1.11"
26
42
  },
27
- "repository": { "type": "git", "url": "https://github.com/signalridge/pi-extensions", "directory": "packages/pi-approval-core" },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "https://github.com/signalridge/pi-extensions",
46
+ "directory": "packages/pi-approval-core"
47
+ },
28
48
  "homepage": "https://github.com/signalridge/pi-extensions/tree/main/packages/pi-approval-core",
29
- "bugs": { "url": "https://github.com/signalridge/pi-extensions/issues" },
30
- "publishConfig": { "access": "public" }
49
+ "bugs": {
50
+ "url": "https://github.com/signalridge/pi-extensions/issues"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ }
31
55
  }