billion-context-omp 0.3.0 → 0.3.1
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/dist/index.js +7 -45
- package/dist/index.js.map +1 -1
- package/dist/messages.d.ts +0 -8
- package/dist/wire-fold.d.ts +0 -5
- package/package.json +2 -2
package/dist/messages.d.ts
CHANGED
|
@@ -19,14 +19,6 @@ export interface StreamCompressCall {
|
|
|
19
19
|
compressCallId: string;
|
|
20
20
|
}[];
|
|
21
21
|
}
|
|
22
|
-
/** Most recent REJECTED compress call+result pair (issue #104): the kernel's
|
|
23
|
-
* hide-compress-calls node strips orphaned calls (KEEP_LAST_ORPHANED=0) — a
|
|
24
|
-
* rejected call creates no block, so BOTH the call and its result vanish
|
|
25
|
-
* from the model's view on the next turn; it cannot see the rejection or
|
|
26
|
-
* the loop-guard STOP and retries forever (observed: 92 in a row). The
|
|
27
|
-
* transform re-appends this pair so the last attempt's outcome stays
|
|
28
|
-
* visible. Returns null when no rejected call exists. */
|
|
29
|
-
export declare function lastRejectedCompressPair(stream: AgentMessage[]): AgentMessage[] | null;
|
|
30
22
|
export declare function findCompressCalls(message: AgentMessage): StreamCompressCall[];
|
|
31
23
|
/** Extract a compress tool's arguments from a stream toolCall. Two call
|
|
32
24
|
* shapes exist: (1) top-level — our tools are registered with
|
package/dist/wire-fold.d.ts
CHANGED
|
@@ -60,11 +60,6 @@ export declare function coreIdentity(msg: BiliMessage): string;
|
|
|
60
60
|
* checks (compress results stay ref-BLOCKED) resolve the name here. */
|
|
61
61
|
export declare function toolCallNames(msgs: BiliMessage[]): Map<string, string>;
|
|
62
62
|
export declare function toolResultTextsCore(msgs: BiliMessage[]): Map<string, string>;
|
|
63
|
-
/** Core-space twin of lastRejectedCompressPair (issue #104): the most recent
|
|
64
|
-
* rejected compress call+result pair, re-appended to the wire output so the
|
|
65
|
-
* model sees the outcome of its last attempt (hide-compress-calls strips
|
|
66
|
-
* orphaned calls and their results). Null when no rejected call exists. */
|
|
67
|
-
export declare function lastRejectedPairCore(msgs: BiliMessage[]): BiliMessage[] | null;
|
|
68
63
|
/** Compress calls carried by a core tool-call piece. Same two shapes as the
|
|
69
64
|
* AgentMessage stream (direct compress; legacy xd://compress via write),
|
|
70
65
|
* with the arguments JSON-encoded in the piece's text. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billion-context-omp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "One billion, not one million. Model-driven context management for the oh-my-pi (omp) coding agent.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@oh-my-pi/pi-coding-agent": "17.3.8",
|
|
69
69
|
"@oh-my-pi/pi-utils": "17.3.8",
|
|
70
70
|
"@types/node": "^26.1.2",
|
|
71
|
-
"acp-kernel": "0.0.
|
|
71
|
+
"acp-kernel": "0.0.32",
|
|
72
72
|
"billion-context-kit": "0.2.0",
|
|
73
73
|
"bun-types": "^1.3.14",
|
|
74
74
|
"tsup": "^8.5.1",
|