pi-invisible-continue 0.3.2 → 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.
Files changed (2) hide show
  1. package/continue.ts +4 -0
  2. package/package.json +3 -3
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,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-invisible-continue",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
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",
@@ -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.79.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",