@howaboua/pi-codex-conversion 1.5.8-dev.35.57ee19e → 1.5.9-dev.36.31cf28c

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.9
4
+
5
+ - Fixed native Responses compaction replay when provider payloads include in-flight tail items that are not yet persisted in the session branch.
6
+
3
7
  ## 1.5.8
4
8
 
5
9
  - Fixed native Responses compaction replay after compaction display messages so requests replace Pi placeholder compaction context with the native compacted window instead of failing parity checks.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-codex-conversion",
3
- "version": "1.5.8-dev.35.57ee19e",
3
+ "version": "1.5.9-dev.36.31cf28c",
4
4
  "description": "Codex-oriented tool and prompt adapter for pi coding agent",
5
5
  "type": "module",
6
6
  "repository": {
@@ -562,7 +562,6 @@ function buildNativeReplaySegmentsInternal<TApi extends Api>(args: {
562
562
  const trailingPreambleCount = freshPreamble.trailingInput.length;
563
563
  const compactionSummaryCount = serializeMessagesToResponsesInput(args.model, [compactionSummaryMessage]).length;
564
564
  const preCompactionKeptCount = replayMatch.preCompactionKept.input.length;
565
- const tailStartIndex = freshPreambleCount + compactionSummaryCount + preCompactionKeptCount;
566
565
  const tailEndIndex = args.payload.input.length - trailingPreambleCount;
567
566
  const actualCompactionSummary = cloneResponsesInputSlice(
568
567
  args.payload.input.slice(freshPreambleCount, freshPreambleCount + compactionSummaryCount),