acp-kernel 0.0.68-pr.278.141 → 0.0.68
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 +4 -16
- package/dist/index.js.map +1 -1
- package/dist/report.d.ts +0 -9
- package/dist/report.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/report.d.ts
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import type { CompressionState, CoreMessage } from "./types.js";
|
|
2
|
-
/** Host-declared surface facts for status reports. The kernel never resolves
|
|
3
|
-
* packs — which pack is active is host policy (billion-context #730); the
|
|
4
|
-
* kernel only renders what the host declares about the active surface. */
|
|
5
|
-
export interface StatusReportMeta {
|
|
6
|
-
pack?: string;
|
|
7
|
-
packVersion?: string;
|
|
8
|
-
host?: string;
|
|
9
|
-
}
|
|
10
2
|
export interface StatusReportOptions {
|
|
11
3
|
scope?: "compressed" | "uncompressed";
|
|
12
4
|
view?: "ranges" | "messages";
|
|
13
5
|
tool?: string;
|
|
14
6
|
sort?: "size" | "time" | "tool" | "age";
|
|
15
7
|
limit?: number;
|
|
16
|
-
meta?: StatusReportMeta;
|
|
17
8
|
}
|
|
18
9
|
export declare function buildStatusReport(state: CompressionState, messages: CoreMessage[], countTokens: (t: string) => number, options?: StatusReportOptions): string;
|
|
19
10
|
export declare function buildRecap(state: CompressionState, blockId?: string): string;
|
package/dist/report.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../src/report.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAoB,gBAAgB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAsGlF
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../src/report.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAoB,gBAAgB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAsGlF,MAAM,WAAW,mBAAmB;IAChC,KAAK,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;IACtC,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,iBAAiB,CAC7B,KAAK,EAAE,gBAAgB,EACvB,QAAQ,EAAE,WAAW,EAAE,EACvB,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,EAClC,OAAO,GAAE,mBAAwB,GAClC,MAAM,CAyBR;AA0MD,wBAAgB,UAAU,CACtB,KAAK,EAAE,gBAAgB,EACvB,OAAO,CAAC,EAAE,MAAM,GACjB,MAAM,CA6BR"}
|
package/package.json
CHANGED