pi-invisible-continue 0.3.1 → 0.3.3

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/README.md CHANGED
@@ -78,6 +78,12 @@ Once loaded, use `/continue`:
78
78
 
79
79
  ## Installation
80
80
 
81
+ ```bash
82
+ pi install npm:pi-invisible-continue
83
+ ```
84
+
85
+ Or install from GitHub:
86
+
81
87
  ```bash
82
88
  pi install https://github.com/monotykamary/pi-invisible-continue
83
89
  ```
package/continue.ts CHANGED
@@ -63,6 +63,10 @@ let _lastInvisibleContinueTime = 0;
63
63
  // is an assistant (common after compaction), and the agent loop would die
64
64
  // leaving mid-task work unfinished.
65
65
  //
66
+ // Note (pi 0.79+): Agent.continue() now drains queued steering/follow-up
67
+ // messages before throwing, so this throw path only fires when there are
68
+ // genuinely no queued messages — the prompt([]) fallback is still correct.
69
+ //
66
70
  // When continue() throws "Cannot continue from message role: assistant":
67
71
  // - stopReason "stop" → agent finished cleanly, don't continue
68
72
  // - stopReason "aborted" → user cancelled, don't continue
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-invisible-continue",
3
- "version": "0.3.1",
4
- "description": "Invisible session continuation for pi resume the agentic loop without sending ANY prompt the LLM can see",
3
+ "version": "0.3.3",
4
+ "description": "Invisible session continuation for pi \u2014 resume the agentic loop without sending ANY prompt the LLM can see",
5
5
  "type": "module",
6
6
  "author": "Tom X Nguyen",
7
7
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "lint:dead": "knip --no-gitignore"
39
39
  },
40
40
  "devDependencies": {
41
- "@earendil-works/pi-agent-core": "^0.79.1",
42
- "@earendil-works/pi-coding-agent": "0.75.4",
41
+ "@earendil-works/pi-agent-core": "^0.79.8",
42
+ "@earendil-works/pi-coding-agent": "^0.79.8",
43
43
  "@types/node": "25.9.1",
44
44
  "@vitest/coverage-v8": "4.1.7",
45
45
  "knip": "6.14.1",