@howaboua/pi-codex-conversion 1.5.11-dev.46.3146d2f → 1.5.12-dev.48.bf9d02e
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.12
|
|
4
|
+
|
|
5
|
+
- Hardened native Responses compaction replay after Pi fallback or compacted-window shape changes, preserving the previous native compacted window without aborting normal requests.
|
|
6
|
+
- Scoped native compacted-window injection to Pi compaction recovery requests so stale fallback state cannot leak into ordinary Responses requests.
|
|
7
|
+
- Improved compaction warnings for provider switching and recovery from failed native compaction.
|
|
8
|
+
|
|
3
9
|
## 1.5.11
|
|
4
10
|
|
|
5
11
|
- Aligned the custom OpenAI Codex provider and Pi development dependencies with Pi 0.75.4.
|
package/package.json
CHANGED
|
@@ -408,7 +408,10 @@ function findReplayMatch<TApi extends Api>(args: {
|
|
|
408
408
|
postCompactionEntries: readonly SessionEntry[];
|
|
409
409
|
}): ReplayMatch | undefined {
|
|
410
410
|
const compactionSummaryInput = serializeMessagesToResponsesInput(args.model, [args.compactionSummaryMessage]);
|
|
411
|
-
const preCompactionVariants =
|
|
411
|
+
const preCompactionVariants = [
|
|
412
|
+
...createReplayVariants({ model: args.model, entries: args.preCompactionEntries }),
|
|
413
|
+
createReplayMessageSet(args.model, []),
|
|
414
|
+
];
|
|
412
415
|
const postCompactionVariants = createReplayVariants({ model: args.model, entries: args.postCompactionEntries });
|
|
413
416
|
|
|
414
417
|
for (const preCompactionKept of preCompactionVariants) {
|
|
Binary file
|
|
Binary file
|