@monotykamary/pi-vcc 0.6.0 → 0.6.1
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/npm-shrinkwrap.json +3268 -1804
- package/package.json +4 -4
- package/src/core/invisible-continue.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monotykamary/pi-vcc",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Algorithmic conversation compactor for pi - transcript-preserving structured summaries, no LLM calls",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"url": "git+https://github.com/monotykamary/pi-vcc.git"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@earendil-works/pi-ai": "
|
|
19
|
-
"@earendil-works/pi-agent-core": "
|
|
20
|
-
"@earendil-works/pi-coding-agent": "
|
|
18
|
+
"@earendil-works/pi-ai": "^0.79.8",
|
|
19
|
+
"@earendil-works/pi-agent-core": "^0.79.8",
|
|
20
|
+
"@earendil-works/pi-coding-agent": "^0.79.8",
|
|
21
21
|
"typebox": ">=1.1.24 <2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -40,6 +40,10 @@ Agent.prototype.subscribe = function (this: Agent, ...args: any[]) {
|
|
|
40
40
|
// "Cannot continue from message role: assistant" and the agent loop
|
|
41
41
|
// exits — leaving mid-task work unfinished.
|
|
42
42
|
//
|
|
43
|
+
// Note (pi 0.79+): Agent.continue() now drains queued steering/follow-up
|
|
44
|
+
// messages before throwing, so this throw path only fires when there are
|
|
45
|
+
// genuinely no queued messages — the prompt([]) fallback is still correct.
|
|
46
|
+
//
|
|
43
47
|
// The fix: when continue() would throw because the last message is an
|
|
44
48
|
// assistant, fall back to prompt([]) instead. prompt([]) doesn't check
|
|
45
49
|
// the last message role — it starts a fresh agent loop with the current
|