repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

fix(klaus): price recognized fallback models

eae656318d8b1cd93cd8470e8b4f98dd1a7a9a65

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

Changed files (8)

CHANGELOG.md

Modified
32 32 - Remove the unneeded `builtin-tools` extension and `/builtin-tools` command
33 33 - Update npm dependency lockfile to latest resolved package versions
34 34 - Replace dprint and markdownlint-cli2 with rumdl for Markdown, Taplo for TOML, and yq frontmatter validation; add structural Markdown checks for links, footnotes, fences, TOCs, anchors, encoding, and comments
35 -- Pin all Pi packages to 0.84.2 and modernize extensions for API changes around agent sessions, provider headers, auth, and RPC messages
35 +- Pin all Pi packages to 0.84.3 and modernize extensions for API changes around agent sessions, provider headers, auth, and RPC messages
36 36 - Store Klaus sessions separately under Pi's configured session directory, never in normal Claude session storage; non-persisted Pi sessions and sessionless model calls remain isolated in memory
37 37 - Make Klaus SDK upgrades exact-version cutovers with once-only asynchronous startup migrations; Pi remains responsive while Klaus waits, and failed migrations preserve existing data
38 38 - Preserve exact Pi branch context in Klaus through turn checkpoints and Claude SDK session fork and resume APIs, without runtime fallbacks or private transcript manipulation
53 53 - Add automatic Klaus setup on Android through an isolated `grun` launcher
54 54 - Support concurrent Klaus calls from extensions that create Pi agent sessions or make direct model calls
55 55 - Reap idle secondary Klaus queries after 15 minutes, refreshing the timeout on provider or tool activity and replaying canonical Pi context if a later result arrives
56 -- Report Klaus API-equivalent spend using Pi's current Anthropic rates while keeping token usage and warning that actual subscription or Fable credit usage may differ
56 +- Report Klaus API-equivalent spend using Pi's current Anthropic rates and recognized fallback model rates while keeping token usage and warning that actual subscription or Fable credit usage may differ
57 57 - Document that Klaus uses Anthropic's proprietary Claude Agent SDK under its commercial terms without vendoring the SDK
58 58 - Add Decay to classify and compact session history into ranked durable memory, with a passive progress widget that keeps Pi's editor available for queued steering and Escape cancellation, plus automatic fallback to Pi's default compaction on failure
59 59 - Let Decay use a separately configured model for summarization

extensions/klaus/__e2e__/provider-scenarios.test.ts

Modified
148 148 output?: number;
149 149 cacheRead?: number;
150 150 cacheWrite?: number;
151 + responseModel?: string;
151 152 } = {},
152 153 ): unknown[] {
153 154 return [
154 - messageStart(index, "claude-sonnet-5", {
155 + messageStart(index, options.responseModel ?? "claude-sonnet-5", {
155 156 input_tokens: options.input ?? 11,
156 157 cache_read_input_tokens: options.cacheRead ?? 0,
157 158 cache_creation_input_tokens: options.cacheWrite ?? 0,
805 806 expect(result.usage.cost.total).toBeGreaterThan(0);
806 807 }, 60_000);
809 + it("prices recognized fallbacks and ignores unknown returned models", async () => {
810 + await useServer((_request, index, response) =>
811 + sse(
812 + response,
813 + textFrames(index, "fallback", {
814 + input: 1_000_000,
815 + output: 1_000_000,
816 + cacheRead: 1_000_000,
817 + cacheWrite: 1_000_000,
818 + responseModel: index === 1 ? "claude-opus-5" : "claude-sonnet-5",
819 + }),
820 + ),
821 + );
822 + const { t, model } = await providerSession("claude-fable-5");
823 + const complete = (sessionId: string) =>
824 + t.session.modelRuntime.completeSimple(
825 + model,
826 + { messages: [{ role: "user", content: sessionId, timestamp: 1 }] },
827 + { sessionId },
828 + );
830 + const recognized = await complete("recognized-fallback");
831 + expect(recognized.responseModel).toBe("claude-opus-5");
832 + expect(recognized.usage.cost).toEqual({
833 + input: 5,
834 + output: 25,
835 + cacheRead: 0.5,
836 + cacheWrite: 6.25,
837 + total: 36.75,
838 + });
840 + const unknown = await complete("unknown-fallback");
841 + expect(unknown.responseModel).toBe("claude-sonnet-5");
842 + expect(unknown.usage.cost).toEqual({
843 + input: 10,
844 + output: 50,
845 + cacheRead: 1,
846 + cacheWrite: 12.5,
847 + total: 73.5,
848 + });
849 + }, 60_000);
808 851 it("accepts an empty successful assistant response without inventing content", async () => {
809 852 await useServer((_request, index, response) =>
810 853 sse(response, [

extensions/klaus/__tests__/harness.test.ts

Modified
70 70 contextWindow: source?.contextWindow,
71 71 maxTokens: source?.maxTokens,
73 + expect(projected?.compat).toEqual(source?.compat);

extensions/klaus/index.ts

Modified
25 25 thinkingLevelMap: model.thinkingLevelMap,
26 26 input: [...model.input],
27 27 cost: structuredClone(model.cost),
28 + compat: structuredClone(model.compat),
28 29 contextWindow: model.contextWindow,
29 30 maxTokens: model.maxTokens,

extensions/klaus/src/agent-sdk.ts

Modified
391 391 cacheWrite: message.usage.cache_creation_input_tokens ?? 0,
393 393 responseId: message.uuid,
394 + responseModel: state.responseModel,
394 395 position: state.latestPosition ?? message.uuid,
395 396 sdkSessionId: message.session_id,
396 397 stopReason: "length",
414 415 cacheWrite: message.usage.cache_creation_input_tokens ?? 0,
416 417 responseId: message.uuid,
418 + responseModel: state.responseModel,
417 419 position: state.latestPosition ?? message.uuid,
418 420 sdkSessionId: message.session_id,
419 421 stopReason: message.stop_reason === "max_tokens" ? "length" : "stop",

extensions/klaus/src/coordinator.ts

Modified
1 1 import { join } from "node:path";
2 2 import {
3 + type Api,
3 4 type AssistantMessage,
4 5 type AssistantMessageEventStream,
5 6 type Context,
88 89 private toolJson = new Map<number, string>();
89 90 private finished = false;
91 - constructor(private readonly model: Model<string>) {
92 + constructor(private readonly model: Model<Api>) {
92 93 dbg?.("coordinator.sink.create", {
93 94 provider: model.provider,
94 95 api: model.api,
271 272 Object.assign(this.output.usage, usage);
272 273 this.output.usage.totalTokens =
273 274 usage.input + usage.output + usage.cacheRead + usage.cacheWrite;
274 - calculateCost(this.model, this.output.usage);
275 + const fallbackCost =
276 + this.model.compat &&
277 + "allowedFallbackModels" in this.model.compat &&
278 + responseModel !== this.model.id
279 + ? this.model.compat.allowedFallbackModels?.find(
280 + (fallback) =>
281 + fallback.provider === "anthropic" &&
282 + fallback.model === responseModel,
283 + )?.cost
284 + : undefined;
285 + calculateCost(
286 + fallbackCost && responseModel
287 + ? { ...this.model, id: responseModel, cost: fallbackCost }
288 + : this.model,
289 + this.output.usage,
290 + );
275 291 this.output.responseId = responseId;
276 292 this.output.responseModel = responseModel;
277 293 this.output.stopReason = stopReason;
324 340 stream(
325 - model: Model<string>,
341 + model: Model<Api>,
326 342 context: Context,
327 343 options: SimpleStreamOptions = {},
328 344 ): AssistantMessageEventStream {
389 405 private async invoke(
390 406 sink: PiSink,
391 - model: Model<string>,
407 + model: Model<Api>,
392 408 context: Context,
393 409 options: SimpleStreamOptions,
394 410 ): Promise<void> {
472 488 private async start(
473 489 sink: PiSink,
474 - model: Model<string>,
490 + model: Model<Api>,
475 491 context: Context,
476 492 options: SimpleStreamOptions,
477 493 tools: KlausRequest["tools"],

package-lock.json

Modified
11 11 "extensions/*"
13 13 "devDependencies": {
14 - "@earendil-works/pi-agent-core": "0.84.2",
15 - "@earendil-works/pi-ai": "0.84.2",
16 - "@earendil-works/pi-client": "0.84.2",
17 - "@earendil-works/pi-coding-agent": "0.84.2",
18 - "@earendil-works/pi-protocol": "0.84.2",
19 - "@earendil-works/pi-telemetry": "0.84.2",
20 - "@earendil-works/pi-tui": "0.84.2",
14 + "@earendil-works/pi-agent-core": "0.84.3",
15 + "@earendil-works/pi-ai": "0.84.3",
16 + "@earendil-works/pi-client": "0.84.3",
17 + "@earendil-works/pi-coding-agent": "0.84.3",
18 + "@earendil-works/pi-protocol": "0.84.3",
19 + "@earendil-works/pi-telemetry": "0.84.3",
20 + "@earendil-works/pi-tui": "0.84.3",
21 21 "@fast-check/vitest": "^0.4.1",
22 22 "@playwright/test": "^1.61.0",
23 23 "@vitest/coverage-istanbul": "^4.1.9",
1667 1667 "license": "MIT"
1669 1669 "node_modules/@earendil-works/pi-agent-core": {
1670 - "version": "0.84.2",
1671 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.84.2.tgz",
1672 - "integrity": "sha512-8Pn3wSCxj0cfo5I6jxQYVB/3uuQRmHhAlEclyjqpOuMEdQMIODHizRogv56FLdbU+dTiGnybeHQ2N+sV1/L2YA==",
1670 + "version": "0.84.3",
1671 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.84.3.tgz",
1672 + "integrity": "sha512-VURr+xBRl3RxYcw3kT9Pn3yfi6LbRoCJgHF7h1mAblMjtLNV/MfG/RyF0uJizBAM886AEakSiw3j9c/aSngppg==",
1673 1673 "license": "MIT",
1674 1674 "dependencies": {
1675 - "@earendil-works/pi-ai": "^0.84.2",
1676 - "@earendil-works/pi-telemetry": "^0.84.2",
1675 + "@earendil-works/pi-ai": "^0.84.3",
1676 + "@earendil-works/pi-telemetry": "^0.84.3",
1677 1677 "diff": "8.0.4",
1678 1678 "ignore": "7.0.5",
1679 1679 "typebox": "1.3.7",
1690 1690 "license": "MIT"
1692 1692 "node_modules/@earendil-works/pi-ai": {
1693 - "version": "0.84.2",
1694 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.84.2.tgz",
1695 - "integrity": "sha512-6MzsrYIYNVlE7SfpbL2yYb67Qo58p/7Q+xWG1RZvoX1P80aRCHSod2/13aFpxkow1lPO2LEh3c495J0Gwmyjig==",
1693 + "version": "0.84.3",
1694 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.84.3.tgz",
1695 + "integrity": "sha512-M0YUV8vNO3y2WwWSyY8ijKJV5W4gkSUixuvk+Z00ZBjsyMfsdXfITsHEwP1UIf09YRWXT6oGn0GlCamt+P32XQ==",
1696 1696 "license": "MIT",
1697 1697 "dependencies": {
1698 1698 "@anthropic-ai/sdk": "0.91.1",
1699 1699 "@aws-sdk/client-bedrock-runtime": "3.1048.0",
1700 - "@earendil-works/pi-telemetry": "^0.84.2",
1700 + "@earendil-works/pi-telemetry": "^0.84.3",
1701 1701 "@google/genai": "1.52.0",
1702 - "@opentelemetry/api": "1.9.0",
1703 1702 "@smithy/node-http-handler": "4.7.3",
1704 1703 "http-proxy-agent": "7.0.2",
1705 1704 "https-proxy-agent": "7.0.6",
1721 1720 "license": "MIT"
1723 1722 "node_modules/@earendil-works/pi-client": {
1724 - "version": "0.84.2",
1725 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.84.2.tgz",
1726 - "integrity": "sha512-/RFSPhD/bZbpOp1oJj+UneSUFSgZhWxzcSENUY+8+8xhoBrWXMYI2t77XNx4Yf+c8YK2qTHquForhNcelYpXvg==",
1723 + "version": "0.84.3",
1724 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.84.3.tgz",
1725 + "integrity": "sha512-zfErYane+390W0xpBJ/FWCp6aktPpkpcIcXUeZiAziWLoxE80ZNQALRyOSa/gGS5V+1OkNnMYxRxbzN0zUvnOA==",
1727 1726 "dev": true,
1728 1727 "license": "MIT",
1729 1728 "dependencies": {
1730 - "@earendil-works/pi-protocol": "^0.84.2"
1729 + "@earendil-works/pi-protocol": "^0.84.3"
1732 1731 "engines": {
1733 1732 "node": ">=22.19.0"
1736 1735 "node_modules/@earendil-works/pi-coding-agent": {
1737 - "version": "0.84.2",
1738 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-coding-agent/-/pi-coding-agent-0.84.2.tgz",
1739 - "integrity": "sha512-l4E+B7hgXKWddRo8bC/eSue2aWZjEgJ9xIpf5p0Og+lq8a2TArCwJ0HCoCPCgaBP/tN4zbYH/wOwvx9pJpeLCA==",
1736 + "version": "0.84.3",
1737 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-coding-agent/-/pi-coding-agent-0.84.3.tgz",
1738 + "integrity": "sha512-Yr2p9PubrbFZmYEPYI+C8KmZP9xlFuLDnAG64RtU0ZDgrdiXYWa+y7WGyJO5OlqPliOkVCMd9IzVszO3/t0D0w==",
1740 1739 "hasShrinkwrap": true,
1741 1740 "license": "MIT",
1742 1741 "dependencies": {
1743 - "@earendil-works/pi-agent-core": "^0.84.2",
1744 - "@earendil-works/pi-ai": "^0.84.2",
1745 - "@earendil-works/pi-client": "^0.84.2",
1746 - "@earendil-works/pi-protocol": "^0.84.2",
1747 - "@earendil-works/pi-tui": "^0.84.2",
1742 + "@earendil-works/pi-agent-core": "^0.84.3",
1743 + "@earendil-works/pi-ai": "^0.84.3",
1744 + "@earendil-works/pi-client": "^0.84.3",
1745 + "@earendil-works/pi-protocol": "^0.84.3",
1746 + "@earendil-works/pi-tui": "^0.84.3",
1748 1747 "@silvia-odwyer/photon-node": "0.3.4",
1749 1748 "chalk": "5.6.2",
1750 1749 "cross-spawn": "7.0.6",
1751 1750 "diff": "8.0.4",
1752 - "glob": "13.0.6",
1753 1751 "grok-mermaid": "0.2.2",
1754 1752 "highlight.js": "10.7.3",
1755 1753 "hosted-git-info": "9.0.3",
1763 1761 "yaml": "2.9.0"
1765 1763 "bin": {
1766 - "pi": "dist/cli.js"
1764 + "pi": "dist/bundle/cli.js"
1768 1766 "engines": {
1769 1767 "node": ">=22.19.0"
2210 2208 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-agent-core": {
2211 - "version": "0.84.2",
2212 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.84.2.tgz",
2209 + "version": "0.84.3",
2210 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.84.3.tgz",
2213 2211 "license": "MIT",
2214 2212 "dependencies": {
2215 - "@earendil-works/pi-ai": "^0.84.2",
2216 - "@earendil-works/pi-telemetry": "^0.84.2",
2213 + "@earendil-works/pi-ai": "^0.84.3",
2214 + "@earendil-works/pi-telemetry": "^0.84.3",
2217 2215 "diff": "8.0.4",
2218 2216 "ignore": "7.0.5",
2219 2217 "typebox": "1.3.7",
2226 2224 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-ai": {
2227 - "version": "0.84.2",
2228 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.84.2.tgz",
2225 + "version": "0.84.3",
2226 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.84.3.tgz",
2229 2227 "license": "MIT",
2230 2228 "dependencies": {
2231 2229 "@anthropic-ai/sdk": "0.91.1",
2232 2230 "@aws-sdk/client-bedrock-runtime": "3.1048.0",
2233 - "@earendil-works/pi-telemetry": "^0.84.2",
2231 + "@earendil-works/pi-telemetry": "^0.84.3",
2234 2232 "@google/genai": "1.52.0",
2235 - "@opentelemetry/api": "1.9.0",
2236 2233 "@smithy/node-http-handler": "4.7.3",
2237 2234 "http-proxy-agent": "7.0.2",
2238 2235 "https-proxy-agent": "7.0.6",
2250 2247 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-client": {
2251 - "version": "0.84.2",
2252 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.84.2.tgz",
2248 + "version": "0.84.3",
2249 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.84.3.tgz",
2253 2250 "license": "MIT",
2254 2251 "dependencies": {
2255 - "@earendil-works/pi-protocol": "^0.84.2"
2252 + "@earendil-works/pi-protocol": "^0.84.3"
2257 2254 "engines": {
2258 2255 "node": ">=22.19.0"
2261 2258 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-protocol": {
2262 - "version": "0.84.2",
2263 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.84.2.tgz",
2259 + "version": "0.84.3",
2260 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.84.3.tgz",
2264 2261 "license": "MIT",
2265 2262 "dependencies": {
2266 2263 "typebox": "1.3.7"
2272 2269 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-telemetry": {
2273 - "version": "0.84.2",
2274 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.84.2.tgz",
2270 + "version": "0.84.3",
2271 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.84.3.tgz",
2275 2272 "license": "MIT",
2276 2273 "engines": {
2277 2274 "node": ">=22.19.0"
2280 2277 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-tui": {
2281 - "version": "0.84.2",
2282 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.84.2.tgz",
2278 + "version": "0.84.3",
2279 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.84.3.tgz",
2283 2280 "license": "MIT",
2284 2281 "dependencies": {
2285 2282 "get-east-asian-width": "1.6.0",
2505 2502 "license": "MIT"
2507 - "node_modules/@earendil-works/pi-coding-agent/node_modules/@opentelemetry/api": {
2508 - "version": "1.9.0",
2509 - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
2510 - "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
2511 - "license": "Apache-2.0",
2512 - "engines": {
2513 - "node": ">=8.0.0"
2515 - },
2516 2504 "node_modules/@earendil-works/pi-coding-agent/node_modules/@protobufjs/aspromise": {
2517 2505 "version": "1.1.2",
2518 2506 "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
2964 2952 "url": "https://github.com/sponsors/sindresorhus"
2967 - "node_modules/@earendil-works/pi-coding-agent/node_modules/glob": {
2968 - "version": "13.0.6",
2969 - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz",
2970 - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==",
2971 - "license": "BlueOak-1.0.0",
2972 - "dependencies": {
2973 - "minimatch": "^10.2.2",
2974 - "minipass": "^7.1.3",
2975 - "path-scurry": "^2.0.2"
2976 - },
2977 - "engines": {
2978 - "node": "18 || 20 || >=22"
2979 - },
2980 - "funding": {
2981 - "url": "https://github.com/sponsors/isaacs"
2983 - },
2984 2955 "node_modules/@earendil-works/pi-coding-agent/node_modules/google-auth-library": {
2985 2956 "version": "10.6.2",
2986 2957 "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.6.2.tgz",
3178 3149 "url": "https://github.com/sponsors/isaacs"
3181 - "node_modules/@earendil-works/pi-coding-agent/node_modules/minipass": {
3182 - "version": "7.1.3",
3183 - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
3184 - "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
3185 - "license": "BlueOak-1.0.0",
3186 - "engines": {
3187 - "node": ">=16 || 14 >=14.17"
3189 - },
3190 3152 "node_modules/@earendil-works/pi-coding-agent/node_modules/ms": {
3191 3153 "version": "2.1.3",
3192 3154 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
3298 3260 "node": ">=8"
3301 - "node_modules/@earendil-works/pi-coding-agent/node_modules/path-scurry": {
3302 - "version": "2.0.2",
3303 - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
3304 - "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==",
3305 - "license": "BlueOak-1.0.0",
3306 - "dependencies": {
3307 - "lru-cache": "^11.0.0",
3308 - "minipass": "^7.1.2"
3309 - },
3310 - "engines": {
3311 - "node": "18 || 20 || >=22"
3312 - },
3313 - "funding": {
3314 - "url": "https://github.com/sponsors/isaacs"
3316 - },
3317 3263 "node_modules/@earendil-works/pi-coding-agent/node_modules/proper-lockfile": {
3318 3264 "version": "4.1.2",
3319 3265 "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz",
3548 3494 "node_modules/@earendil-works/pi-protocol": {
3549 - "version": "0.84.2",
3550 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.84.2.tgz",
3551 - "integrity": "sha512-jbBh03fkeckWEroHpcZBr4w5/Ibat8WwdXFlXHivYQImrQNFtLpDeL0t1cku4hmK0q3pceIRQHkw4fwbM4YILQ==",
3495 + "version": "0.84.3",
3496 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.84.3.tgz",
3497 + "integrity": "sha512-9a4g6WhLOvRqvsIOFaWxg/2gdrbY4Thclwj5ipLUPAWChfsDJ/8XdPc2sRhSOkD6EsxpEFJz3xppcfwI6EcZDg==",
3552 3498 "dev": true,
3553 3499 "license": "MIT",
3554 3500 "dependencies": {
3566 3512 "license": "MIT"
3568 3514 "node_modules/@earendil-works/pi-telemetry": {
3569 - "version": "0.84.2",
3570 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.84.2.tgz",
3571 - "integrity": "sha512-wg5caea7uIv1BHRBm2Y116RvFG4oSAiP5qk9tA2463PDGIr4K8M1Ceyyg5DOpF/shUUl0gk826yQJAeAcHYB9g==",
3515 + "version": "0.84.3",
3516 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.84.3.tgz",
3517 + "integrity": "sha512-sgEkWoKrvSGaKn+YfLLFZmn+/A7B/w62eLwTD57nI+C9to8ITlFFVbgC2OtwvPnT3NFGHdCd53qhBEMIlptD1g==",
3572 3518 "license": "MIT",
3573 3519 "engines": {
3574 3520 "node": ">=22.19.0"
3577 3523 "node_modules/@earendil-works/pi-tui": {
3578 - "version": "0.84.2",
3579 - "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.84.2.tgz",
3580 - "integrity": "sha512-ds2TLihOnM5sLJB3VpXV6y0uR5efVuHf4MN7yDpsty6hA2DUO/EDVzjp/0od0G2JslzVLMjT8T8zavtxVb+qbg==",
3524 + "version": "0.84.3",
3525 + "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.84.3.tgz",
3526 + "integrity": "sha512-fS6OEQKEEALnKa6Uw8LcgZZ+9CWck7f3MQSCETQp6leUgIFwMEDtKmOUnL9nsYm+RIPmy7OmplVxYRbV6hiaFg==",
3581 3527 "license": "MIT",
3582 3528 "dependencies": {
3583 3529 "get-east-asian-width": "1.6.0",
3787 - "node_modules/@opentelemetry/api": {
3788 - "version": "1.9.0",
3789 - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
3790 - "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
3791 - "license": "Apache-2.0",
3792 - "engines": {
3793 - "node": ">=8.0.0"
3795 - },
3796 3733 "node_modules/@oxc-project/types": {
3797 3734 "version": "0.143.0",
3798 3735 "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.143.0.tgz",

package.json

Modified
14 14 "typecheck": "tsc --noEmit"
16 16 "devDependencies": {
17 - "@earendil-works/pi-agent-core": "0.84.2",
18 - "@earendil-works/pi-ai": "0.84.2",
19 - "@earendil-works/pi-client": "0.84.2",
20 - "@earendil-works/pi-coding-agent": "0.84.2",
21 - "@earendil-works/pi-protocol": "0.84.2",
22 - "@earendil-works/pi-telemetry": "0.84.2",
23 - "@earendil-works/pi-tui": "0.84.2",
17 + "@earendil-works/pi-agent-core": "0.84.3",
18 + "@earendil-works/pi-ai": "0.84.3",
19 + "@earendil-works/pi-client": "0.84.3",
20 + "@earendil-works/pi-coding-agent": "0.84.3",
21 + "@earendil-works/pi-protocol": "0.84.3",
22 + "@earendil-works/pi-telemetry": "0.84.3",
23 + "@earendil-works/pi-tui": "0.84.3",
24 24 "@fast-check/vitest": "^0.4.1",
25 25 "@playwright/test": "^1.61.0",
26 26 "@vitest/coverage-istanbul": "^4.1.9",