pi-longhaul 1.0.0 → 1.0.2
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/CHANGELOG.md +24 -0
- package/README.md +4 -0
- package/package.json +5 -4
- package/pi-compat.json +33 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,30 @@ entries and log event types. Rendered state text, prompt wording and section lay
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [v1.0.2] - 2026-10-13
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Tested with pi 1.2.0, now recorded in `pi-compat.json`. No code changes to the extension: 1.2.0 fires
|
|
16
|
+
`before_agent_start` for runs a custom message starts as well (pi#5581), and Longhaul does not use that event. A
|
|
17
|
+
test stand-in for pi-goal that read the event's prompt now skips the custom-message variant.
|
|
18
|
+
|
|
19
|
+
## [v1.0.1] - 2026-10-10
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- A cross-version smoke (`npm run cross-version`), run by CI on every push and by the nightly job with the newest
|
|
24
|
+
pi: one transcript handed through every pi in `pi-compat.json`, oldest to newest and back, with a Longhaul
|
|
25
|
+
compaction by each. Every step must compact with an accepted diff, and the finished transcript must read back
|
|
26
|
+
with one span per compaction and no anomaly.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Tested with pi 0.87.1, 0.99.0, 0.99.1, 0.99.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 and 1.1.0; 0.99.0, 0.99.2 and
|
|
31
|
+
1.0.3 are newly recorded in `pi-compat.json`. No code changes to the extension.
|
|
32
|
+
- Published from the release workflow through npm trusted publishing, so this version carries a provenance
|
|
33
|
+
attestation linking it to its source commit. v1.0.0 was published by hand and has none.
|
|
34
|
+
|
|
11
35
|
## [v1.0.0] - 2026-10-10
|
|
12
36
|
|
|
13
37
|
### Added
|
package/README.md
CHANGED
|
@@ -361,6 +361,10 @@ listed in [pi-compat.json](pi-compat.json). On a listed line it runs silently. O
|
|
|
361
361
|
per session and runs; a session that opted out of it (`PI_COMPACTOR=pi`) is not warned. If a compaction fails, pi's own compaction takes over. A nightly job tests against the
|
|
362
362
|
newest pi and opens an issue when it breaks.
|
|
363
363
|
|
|
364
|
+
Tested with pi 0.87.1, 0.99.0, 0.99.1, 0.99.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0 and 1.2.0. Upgrading or
|
|
365
|
+
downgrading pi mid-project is covered too: CI hands one transcript through every listed pi, oldest to newest and
|
|
366
|
+
back, with a Longhaul compaction by each, and each must continue what the others wrote.
|
|
367
|
+
|
|
364
368
|
## Known issues
|
|
365
369
|
|
|
366
370
|
- **Two compactors both run.** pi runs every installed compactor on every compaction, each paying for its own
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-longhaul",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Keep pi sessions working all night. A compactor that carries your session forward instead of rewriting it: your rules kept in your own words, the state written by code, old reasoning left behind, and about 5x faster than pi's own compaction on a local model.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"extensions": [
|
|
33
33
|
"./src/index.ts"
|
|
34
34
|
],
|
|
35
|
-
"image": "https://raw.githubusercontent.com/lobo235/pi-longhaul/v1.0.
|
|
35
|
+
"image": "https://raw.githubusercontent.com/lobo235/pi-longhaul/v1.0.2/.github/assets/infographic.png"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"src/**/*.ts",
|
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
"score": "pi --no-session --model ${SCORE_MODEL:?set SCORE_MODEL=provider/model-id[:thinking]} -e ./src/score/score-run.ts",
|
|
63
63
|
"evidence": "pi --no-session --model ${SCORE_MODEL:?set SCORE_MODEL=provider/model-id} -e ./src/score/evidence-run.ts",
|
|
64
64
|
"smoke": "node scripts/compaction-smoke.ts",
|
|
65
|
-
"check-pack": "node scripts/check-pack.ts"
|
|
65
|
+
"check-pack": "node scripts/check-pack.ts",
|
|
66
|
+
"cross-version": "node scripts/cross-version-smoke.ts"
|
|
66
67
|
},
|
|
67
68
|
"engines": {
|
|
68
69
|
"node": ">=22.19.0"
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
"typebox": "*"
|
|
75
76
|
},
|
|
76
77
|
"devDependencies": {
|
|
77
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
78
|
+
"@earendil-works/pi-coding-agent": "1.2.0",
|
|
78
79
|
"@types/node": "^24.19.1",
|
|
79
80
|
"typebox": "1.3.7",
|
|
80
81
|
"typescript": "5.9.3"
|
package/pi-compat.json
CHANGED
|
@@ -60,6 +60,39 @@
|
|
|
60
60
|
"npm run smoke: one compaction by pi 1.1.0 of the packed package, fake model",
|
|
61
61
|
"one real compaction through pi --mode rpc on the setup-check fixture with a local model: a compaction record, no fallback"
|
|
62
62
|
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"pi": "0.99.0",
|
|
66
|
+
"date": "2026-10-10",
|
|
67
|
+
"how": [
|
|
68
|
+
"npm test on the vendored pi: typecheck, unit suite, load smoke and the extension-API contract checks; no contract moved",
|
|
69
|
+
"npm run smoke: one real compaction by that pi in a fresh agent dir, against a fake model; the diff was accepted"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"pi": "0.99.2",
|
|
74
|
+
"date": "2026-10-10",
|
|
75
|
+
"how": [
|
|
76
|
+
"npm test on the vendored pi: typecheck, unit suite, load smoke and the extension-API contract checks; no contract moved",
|
|
77
|
+
"npm run smoke: one real compaction by that pi in a fresh agent dir, against a fake model; the diff was accepted"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"pi": "1.0.3",
|
|
82
|
+
"date": "2026-10-10",
|
|
83
|
+
"how": [
|
|
84
|
+
"npm test on the vendored pi: typecheck, unit suite, load smoke and the extension-API contract checks; no contract moved",
|
|
85
|
+
"npm run smoke: one real compaction by that pi in a fresh agent dir, against a fake model; the diff was accepted"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"pi": "1.2.0",
|
|
90
|
+
"date": "2026-10-14",
|
|
91
|
+
"how": [
|
|
92
|
+
"npm test on the vendored pi; one contract moved in a test only (before_agent_start became a union on messageType, pi#5581; the pi-goal stand-in now skips the custom-message event)",
|
|
93
|
+
"npm run smoke and npm run cross-version -- --extra 1.2.0: every listed pi continues 1.2.0's transcripts and it continues theirs",
|
|
94
|
+
"one real compaction through pi --mode rpc on the setup-check fixture with a local model: a compaction record, no fallback"
|
|
95
|
+
]
|
|
63
96
|
}
|
|
64
97
|
]
|
|
65
98
|
}
|