billion-context-omp 0.2.2 → 0.2.3
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/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/decompress-tool.d.ts +1 -0
- package/dist/index.js +82 -26
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts +3 -0
- package/package.json +1 -1
package/dist/runtime.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export interface AcpRuntime {
|
|
|
22
22
|
coreMessages: CoreMessage[];
|
|
23
23
|
}>;
|
|
24
24
|
commitFoldState(ctx: ExtensionContext, state: CompressionState, toolCallId?: string): void;
|
|
25
|
+
/** Record the identity sequence of the last rebuilt output so the next
|
|
26
|
+
* foldStream can recognize omp re-feeding it (issue #52). */
|
|
27
|
+
recordRebuiltOutput(ctx: ExtensionContext, rebuilt: AgentMessage[]): void;
|
|
25
28
|
/** Track the per-session streak of consecutively REJECTED compress calls.
|
|
26
29
|
* `ok=false` increments and returns the new streak; `ok=true` resets to 0.
|
|
27
30
|
* A re-fold (rewritten stream prefix) drops the slot and starts at 0. */
|
package/package.json
CHANGED