oira666_pi-watcher 0.0.11 → 0.0.12

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/EVERGREEN.md CHANGED
@@ -46,7 +46,8 @@ then `test/e2e/watcher.test.ts`. No lint script is configured.
46
46
  Unit tests cover bounded live state, prompt identity/policy, CLI filtering, JSONL transport, and UI.
47
47
  `runtime-integration.test.ts` uses real RPC children and an offline provider to protect prompt-free
48
48
  startup, inheritance/exclusions, nested Pi launches, isolated models, resume, approval refusal,
49
- session guards, locks, shutdown, and recovery. `extension.test.cjs` exercises command → overlay →
49
+ session guards, locks, shutdown, and recovery. Busy reload is refused; RPC abort cancels
50
+ in-flight bridge calls before an idle reload succeeds. `extension.test.cjs` exercises command → overlay →
50
51
  RPC → approval → main delivery, including compaction refusal and shutdown cancellation.
51
52
  It also verifies that Watcher registers no keyboard shortcuts and that `/watcher` opens and reopens
52
53
  the panel without prompting or losing the side conversation.
@@ -62,4 +63,9 @@ RPC framing/dialogs/settlement; session JSONL/resume/tools and model persistence
62
63
  TUI key parsing, overlay focus/disposal, and clipboard support. Pi 1.5.0 removes published pi-ai
63
64
  TypeBox exports while retaining loader compatibility. Its package refresh/retry, session-write,
64
65
  deferred editor replacement, and compaction OAuth fixes require no Watcher-specific workaround.
65
- Tested against Pi 1.5.0.
66
+ Pi 1.5.1 refuses reload during responses/compaction and waits for tool abort/results before
67
+ runtime disposal; cancellation tests must not depend on a busy reload reaching session_shutdown.
68
+ Its RPC shutdown/cleanup, overlay disposal/blocked status, async-hook serialization, stable model
69
+ selection, and package-update result progress events require no Watcher runtime workaround:
70
+ Watcher patches resource resolution, not PackageManager.update or its progress events.
71
+ Tested against Pi 1.5.1.
package/README.md CHANGED
@@ -12,7 +12,7 @@ pi install npm:oira666_pi-watcher
12
12
 
13
13
  Then restart Pi or run `/reload`. Requires Node.js **22.19+** and the modular Pi installation. The child launcher uses Pi's package-manager loading interfaces. Standalone compiled Pi binaries are not supported.
14
14
 
15
- Tested against Pi 1.5.0.
15
+ Tested against Pi 1.5.1.
16
16
 
17
17
  For local development:
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oira666_pi-watcher",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "A persistent side-agent conversation for observing and steering your running Pi agent.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -49,10 +49,10 @@
49
49
  "typebox": "^1.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@earendil-works/pi-agent-core": "^1.5.0",
53
- "@earendil-works/pi-ai": "^1.5.0",
54
- "@earendil-works/pi-coding-agent": "^1.5.0",
55
- "@earendil-works/pi-tui": "^1.5.0",
52
+ "@earendil-works/pi-agent-core": "^1.5.1",
53
+ "@earendil-works/pi-ai": "^1.5.1",
54
+ "@earendil-works/pi-coding-agent": "^1.5.1",
55
+ "@earendil-works/pi-tui": "^1.5.1",
56
56
  "@types/node": "^26.6.6",
57
57
  "typebox": "^1.4.3",
58
58
  "typescript": "^7.0.2"