billion-context-pi 0.1.71 → 0.1.72

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.
@@ -6,3 +6,16 @@ export declare function isBiliProxyBaseUrl(baseUrl: string | undefined): boolean
6
6
  * ACP in-process on top of it would double-compress every request.
7
7
  */
8
8
  export declare const PROXY_STAND_DOWN_MESSAGE: string;
9
+ /**
10
+ * Shown (and logged) when a billion-context host-native entry owns this
11
+ * process (issue #461): the native entry self-spawns an in-process proxy and
12
+ * rewrites model API traffic at the fetch layer, so running ACP in-process on
13
+ * top of it would double-compress every request. Its BILLION_CONTEXT_PROXY env
14
+ * var is written only after the proxy is up (past the synchronous extension
15
+ * load), and the fetch-layer rewrite keeps the configured baseUrl clean —
16
+ * BILLION_CONTEXT_NATIVE, set synchronously at module evaluation by the native
17
+ * entry (billion-context markNativeHost, #820/#824), is the only signal visible
18
+ * at our checkpoints. `host` is the marker value ("pi", "opencode", …) — kept
19
+ * in the text so a mismatched host is diagnosable from the warning alone.
20
+ */
21
+ export declare function nativeStandDownMessage(host: string): string;
package/dist/surface.d.ts CHANGED
@@ -7,7 +7,7 @@ export interface ToolPromptOverrides {
7
7
  promptSnippet?: string;
8
8
  promptGuidelines?: string | string[];
9
9
  }
10
- export type AcpToolName = "compress" | "decompress" | "search_context" | "acp_status";
10
+ export type AcpToolName = "compress" | "decompress" | "search_context" | "acp_status" | "acp_cache";
11
11
  export type ToolPromptsConfig = Partial<Record<AcpToolName, ToolPromptOverrides>>;
12
12
  export type NudgeSectionsConfig = Partial<Record<"efficiencyNote" | "emergencyHeader" | "t2Guidance" | "t3Guidance", string | null>>;
13
13
  export declare function sanitizeToolPrompts(raw: unknown): ToolPromptsConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "billion-context-pi",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "description": "One billion, not one million. Model-driven context management for the Pi coding agent.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -61,7 +61,7 @@
61
61
  "@earendil-works/pi-coding-agent": "0.83.0",
62
62
  "@earendil-works/pi-tui": "0.83.0",
63
63
  "@types/node": "^26.1.2",
64
- "acp-kernel": "0.0.69",
64
+ "acp-kernel": "0.0.75",
65
65
  "tsup": "^8.5.1",
66
66
  "tsx": "^4.23.1",
67
67
  "typescript": "^7.0.2"