@monotykamary/pi-vcc 0.8.7 → 0.8.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monotykamary/pi-vcc",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"description": "Algorithmic conversation compactor for pi - transcript-preserving structured summaries, no LLM calls",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -21,14 +21,17 @@
|
|
|
21
21
|
"typebox": ">=1.1.24 <2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@earendil-works/pi-server": "0.85.0",
|
|
25
24
|
"@types/node": "^26.0.0",
|
|
26
25
|
"knip": "6.14.1",
|
|
27
|
-
"typescript": "6.0.3"
|
|
26
|
+
"typescript": "6.0.3",
|
|
27
|
+
"@earendil-works/pi-coding-agent": "0.85.1",
|
|
28
|
+
"vitest": "4.1.7"
|
|
28
29
|
},
|
|
29
30
|
"scripts": {
|
|
30
31
|
"typecheck": "tsc --noEmit",
|
|
31
|
-
"lint:dead": "knip"
|
|
32
|
+
"lint:dead": "knip",
|
|
33
|
+
"test": "PI_FABRIC_COMPACTION_ENGINE= bun test ./tests --path-ignore-patterns '**/real-sessions.test.ts' && bun run test:regression",
|
|
34
|
+
"test:regression": "vitest run __tests__"
|
|
32
35
|
},
|
|
33
36
|
"pi": {
|
|
34
37
|
"extensions": [
|
package/src/core/report.ts
CHANGED
|
@@ -17,7 +17,7 @@ import type { PiVccCompactionDetails } from "../details";
|
|
|
17
17
|
|
|
18
18
|
export const PI_VCC_COMPACT_INSTRUCTION = "__pi_vcc__";
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
interface CompactionStats {
|
|
21
21
|
summarized: number;
|
|
22
22
|
kept: number;
|
|
23
23
|
keptTokensEst: number;
|
|
@@ -115,7 +115,7 @@ const isHiddenEmptyCustomMessage = (message: unknown): boolean => {
|
|
|
115
115
|
);
|
|
116
116
|
};
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
type OwnCutCancelReason =
|
|
119
119
|
| "no_live_messages"
|
|
120
120
|
| "too_few_live_messages";
|
|
121
121
|
|