billion-context-pi 0.1.39 → 0.1.41
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/delegate-tool.d.ts +5 -0
- package/dist/index.js +163 -118
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts +4 -1
- package/dist/tag-tokens.d.ts +3 -0
- package/package.json +1 -1
package/dist/runtime.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export interface AcpRuntime {
|
|
|
22
22
|
/** Drop per-session tracking state (session_start). */
|
|
23
23
|
clearSessionTracking(sid: string): void;
|
|
24
24
|
adapter: AdapterConfig;
|
|
25
|
-
setAdapter(adapter: AdapterConfig): void;
|
|
26
25
|
prompts: Prompts;
|
|
27
26
|
setPrompts(prompts: Prompts): void;
|
|
28
27
|
markNudgeShown(turnKey: string): void;
|
|
@@ -30,6 +29,10 @@ export interface AcpRuntime {
|
|
|
30
29
|
clearNudgeTracking(): void;
|
|
31
30
|
liveContextLimit(ctx: ExtensionContext): number;
|
|
32
31
|
configFor(ctx: ExtensionContext): Config;
|
|
32
|
+
/** Re-read ~/.<dir>/acp.json + <cwd>/<dir>/acp.json and re-derive the adapter
|
|
33
|
+
* config when the contents change. Cheap no-op when unchanged. Called at
|
|
34
|
+
* session_start and on every context event so config edits apply live. */
|
|
35
|
+
reloadConfig(cwd: string): Promise<void>;
|
|
33
36
|
stateFor(ctx: ExtensionContext, liveMessages?: AgentMessage[]): Promise<{
|
|
34
37
|
state: CompressionState;
|
|
35
38
|
coreMessages: ReturnType<typeof entriesToCoreMessages>;
|
package/package.json
CHANGED