acp-kernel 0.0.62-pr.245.90 → 0.0.62
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reasoning-pairs.d.ts","sourceRoot":"","sources":["../src/reasoning-pairs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,WAAW,EAAE,GACtB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"reasoning-pairs.d.ts","sourceRoot":"","sources":["../src/reasoning-pairs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,WAAW,EAAE,GACtB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAwD1C"}
|
package/package.json
CHANGED
package/dist/turn-integrity.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { CoreMessage } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Atomic turn groups for compression integrity (#684).
|
|
4
|
-
*
|
|
5
|
-
* A turn is a reasoning run, the assistant text/tool-call burst that follows
|
|
6
|
-
* it, and every tool-result paired (by toolCallId) to the burst's calls.
|
|
7
|
-
* Strict-echo thinking providers (DeepSeek: "The `reasoning_content` in the
|
|
8
|
-
* thinking mode must be passed back to the API") reject a rebuilt request
|
|
9
|
-
* whose assistant tool-call turn survives without its reasoning, and every
|
|
10
|
-
* OpenAI-wire provider rejects a result whose call is gone. Turns are
|
|
11
|
-
* therefore atomic for folding: all members fold together, or none do.
|
|
12
|
-
*
|
|
13
|
-
* Grouping is adjacency-based, mirroring {@link adjustBoundariesForReasoningPairs}:
|
|
14
|
-
* a reasoning run pairs with the assistant burst immediately following it.
|
|
15
|
-
* Bursts without a preceding reasoning run still group with their sibling
|
|
16
|
-
* calls and results. Messages belonging to no turn (user messages, system,
|
|
17
|
-
* orphan reasoning, summaries) get no group — they carry no pairing
|
|
18
|
-
* constraint. Groups are disjoint.
|
|
19
|
-
*
|
|
20
|
-
* @returns disjoint member-id arrays; a message appears in at most one group.
|
|
21
|
-
*/
|
|
22
|
-
export declare function computeTurnGroups(messages: CoreMessage[]): string[][];
|
|
23
|
-
//# sourceMappingURL=turn-integrity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"turn-integrity.d.ts","sourceRoot":"","sources":["../src/turn-integrity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAS9C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,EAAE,CA2ErE"}
|