Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(runtime): integrate Pi 1.0 before stable tool declarations
zszz3b85dd789067b
diff --cc docs/spec/03-runtime/02-agent-runtime.mdindex 44506236b,7ede74646..08346ab68--- a/docs/spec/03-runtime/02-agent-runtime.md+++ b/docs/spec/03-runtime/02-agent-runtime.md@@@ -514,13 -511,13 +511,13 @@@ recovery notice leave, so recovery cannrejects. None of these values are configurable.**Estimate calibration (D606).** Every threshold above is compared against one- number, corrected against observed request usage. pi's `estimateContextTokens`- anchors on the last assistant usage and estimates everything after it as- `chars / 4`: that constant under-counts CJK text, and with no anchor left it- omits system/tool overhead. The budget also computes the output-cap estimator+ number, corrected against observed request usage. The runtime estimator anchors+ on the last assistant usage and delegates provider-message estimation to+ pi-ai; desktop-only rows use the existing character heuristic. With no usage+ anchor, the budget also computes the output-cap estimatorover non-system conversation messages plus the current system prompt and active-tool schemas. System-transcript rows are metadata snapshots of that same prompt-and are excluded from this component, so the request estimate counts the prompt+tool schemas. System-transcript rows are chronological updates, already covered by that+folded prompt/tool floor, and are excluded from this component, so the request estimate counts the promptand schemas exactly once. The budget uses the larger of this full-requestestimate and the calibrated message estimate. This is a hard floor before thefirst calibration sample and prevents counting overhead twice after andiff --cc packages/agent-runtime/src/runtime.tsindex f7084b85d,0c6140702..aa1379404--- a/packages/agent-runtime/src/runtime.ts+++ b/packages/agent-runtime/src/runtime.ts@@@ -136,14 -122,25 +124,28 @@@ import} from "./agent-messages.js";import { withExplicitRequired } from "./tool-schema.js";import { buildSessionContext } from "./session-context.js";+ import { prepareCompaction } from "./pi-runtime-compaction-plan.js";+ import { compact } from "./pi-runtime-compaction-summary.js";+ import {+ estimateContextTokens,+ estimateTokens,+ } from "./pi-runtime-estimates.js";+ import { convertToLlm } from "./pi-runtime-messages.js";+ import type {+ CompactionEntry,+ CompactionPreparation,+ CompactionSettings,+ Entry,+ MessageEntry,+ } from "./pi-runtime-types.js";import {initialSystemTranscript,+ CONTEXT_BUDGET_SECTION,+ syncSystemSections,+ systemTranscriptCheckpoint,+ removeTrailingAssistantMessages,rebuildSystemTranscript,replaceSystemPrompt,- syncSystemTools,systemPromptContent,} from "./system-transcript.js";import {diff --cc packages/agent-runtime/src/system-transcript-journal.test.tsindex 3fc43d2ee,000000000..59c3e815cmode 100644,000000..100644--- a/packages/agent-runtime/src/system-transcript-journal.test.ts+++ b/packages/agent-runtime/src/system-transcript-journal.test.ts@@@ -1,96 -1,0 +1,97 @@@+import { describe, expect, it, vi } from "vitest";- import type { AgentMessage, MessageEntry, CompactionEntry } from "@earendil-works/pi-agent-core";++import type { AgentMessage } from "@earendil-works/pi-agent-core";++import type { MessageEntry, CompactionEntry } from "./pi-runtime-types.js";+import type { UiMessage } from "@pi-desktop/shared";+import { getCurrentTools, Type, type SystemMessage } from "@earendil-works/pi-ai";+import { orderSystemRows, readSystemMessage, SystemTranscriptJournal } from "./system-transcript-journal.js";+import { buildSessionContext } from "./session-context.js";+import { CONTEXT_BUDGET_SECTION, syncSystemSections, systemTranscriptCheckpoint } from "./system-transcript.js";++const tool = { name: "Read", description: "Read", parameters: Type.Object({ path: Type.String() }) };+const initial: SystemMessage = { role: "system", content: "", sections: { runtime: "Instructions", skills: "First skill" }, toolsAdded: [tool], timestamp: 1 };+const user: AgentMessage = { role: "user", content: "Find files", timestamp: 2 };+function entry(message: AgentMessage, id = "user"): MessageEntry {+ return { type: "message", id, seq: 0, parentId: null, timestamp: message.timestamp, message };+}+const userRow: UiMessage = { id: "user", role: "user", content: "Find files", createdAt: new Date(2).toISOString() };++describe("model system journal", () => {+ it("restores the original order even when a user row was pre-persisted", async () => {+ const journal = new SystemTranscriptJournal();+ const rows = [userRow];+ const entries = [entry(user)];+ const delta: SystemMessage = { role: "system", content: "", toolsRemoved: [{ name: "Read" }], timestamp: 3 };+ await journal.persist([initial, user, delta], entries, async (row) => { rows.push(row); });+ expect(rows.map((row) => row.role)).toEqual(["user", "system", "system"]);+ const restored = new SystemTranscriptJournal();+ const messages = orderSystemRows(rows).map((row) => row.modelSystem ? restored.restore(row) : user);+ expect(messages).toEqual([initial, user, delta]);+ expect(getCurrentTools(messages)).toEqual([]);+ const append = vi.fn();+ await restored.persist(messages, entries, append);+ expect(append).not.toHaveBeenCalled();+ });++ it("retries failed persistence with the same id and never installs it before acknowledgement", async () => {+ const journal = new SystemTranscriptJournal();+ const entries = [entry(user)];+ const rows: UiMessage[] = [];+ await expect(journal.persist([initial, user], entries, async (row) => {+ rows.push(row); throw new Error("disk full");+ })).rejects.toMatchObject({ code: "LOCAL_REQUEST_ERROR", cause: new Error("disk full") });+ expect(entries).toHaveLength(1);+ await journal.persist([initial, user], entries, async (row) => { rows.push(row); });+ expect(rows[0].id).toBe(rows[1].id);+ expect(entries.map((item) => item.message.role)).toEqual(["system", "user"]);+ });++ it("replaces skill sections without rewriting the old prefix", () => {+ const original = [initial, user];+ const changed = syncSystemSections(original, { runtime: "Instructions", skills: "Second skill" });+ expect(changed.slice(0, 2)).toEqual(original);+ expect(changed.at(-1)).toMatchObject({ sections: { skills: "Second skill" } });+ expect(syncSystemSections(changed, { runtime: "Instructions", skills: "Second skill" })).toBe(changed);+ expect(syncSystemSections(changed, { runtime: "Instructions", skills: "" }).at(-1)).toMatchObject({ sections: { skills: "" } });+ });++ it("restores a compaction checkpoint once before the retained tail", async () => {+ const delta: SystemMessage = { role: "system", content: "", toolsRemoved: [{ name: "Read" }], timestamp: 3 };+ const systemMessage = systemTranscriptCheckpoint([initial, user, delta])!;+ const compaction: CompactionEntry = {+ type: "compaction", id: "cp", seq: 1, parentId: "user", timestamp: 4,+ summary: "Past work", tokensBefore: 100, retainedTail: [initial, user, delta],+ details: { systemMessageJson: JSON.stringify(systemMessage) }, fromHook: false,+ };+ const messages = buildSessionContext([entry(user), compaction]).messages;+ expect(messages.filter((message) => message.role === "system")).toEqual([systemMessage]);+ expect(messages[0]).toEqual(systemMessage);+ expect(getCurrentTools(messages)).toEqual([]);+ const journal = new SystemTranscriptJournal();+ journal.rememberCheckpoint(systemMessage);+ const append = vi.fn();+ await journal.persist(JSON.parse(JSON.stringify(messages)), [], append);+ expect(append).not.toHaveBeenCalled();+ });++ it("expires budget reminders at compaction without dropping active instructions or tools", () => {+ const checkpoint = systemTranscriptCheckpoint([initial, user, {+ role: "system", content: "", sections: { [CONTEXT_BUDGET_SECTION]: "Old window is nearly full" }, timestamp: 3,+ }]);+ expect(checkpoint?.sections).toEqual(initial.sections);+ expect(checkpoint?.toolsAdded).toEqual(initial.toolsAdded);+ });++ it("recognizes a restored checkpoint with text blocks without adding durable rows", async () => {+ const blocks: SystemMessage = { ...initial, content: [{ type: "text", text: "Extension instructions" }] };+ const checkpoint = systemTranscriptCheckpoint([blocks, user])!;+ const journal = new SystemTranscriptJournal();+ journal.rememberCheckpoint(JSON.stringify(checkpoint));+ const append = vi.fn();+ await journal.persist(JSON.parse(JSON.stringify([checkpoint, user])), [], append);+ expect(append).not.toHaveBeenCalled();+ });++ it.each([null, {}, { ...initial, timestamp: -1 }, { ...initial, toolsAdded: [{ name: "Read", parameters: "bad" }] }])("rejects malformed saved state", (value) => {+ expect(() => readSystemMessage(value)).toThrow("Invalid persisted model system message");+ });+});diff --cc packages/agent-runtime/src/system-transcript-journal.tsindex bff05f19e,000000000..e3f7492cdmode 100644,000000..100644--- a/packages/agent-runtime/src/system-transcript-journal.ts+++ b/packages/agent-runtime/src/system-transcript-journal.ts@@@ -1,117 -1,0 +1,118 @@@+import { randomUUID } from "node:crypto";+import { LocalRequestError, Type, contentText, toToolDeclaration, type SystemMessage } from "@earendil-works/pi-ai";- import type { AgentMessage, MessageEntry } from "@earendil-works/pi-agent-core";++import type { AgentMessage } from "@earendil-works/pi-agent-core";++import type { MessageEntry } from "./pi-runtime-types.js";+import type { UiMessage } from "@pi-desktop/shared";+import * as Value from "typebox/value";++const systemSchema = Type.Object({+ role: Type.Literal("system"),+ content: Type.String(),+ timestamp: Type.Number({ minimum: 0, maximum: 8.64e15 }),+ sections: Type.Optional(Type.Record(Type.String(), Type.Union([Type.String(), Type.Null()]))),+ toolsAdded: Type.Optional(Type.Array(Type.Object({+ name: Type.String({ minLength: 1 }), description: Type.String(),+ parameters: Type.Record(Type.String(), Type.Unknown()),+ constrainedSampling: Type.Optional(Type.Union([+ Type.Literal(false),+ Type.Object({ type: Type.Literal("json_schema"), strict: Type.Union([Type.Literal("prefer"), Type.Literal("require")]) }),+ Type.Object({ type: Type.Literal("grammar"), variants: Type.Record(Type.String(), Type.Unknown()) }),+ ])),+ }))),+ toolsRemoved: Type.Optional(Type.Array(Type.Object({ name: Type.String({ minLength: 1 }) }))),+});++export function readSystemMessage(value: unknown): SystemMessage {+ if (typeof value === "string") value = JSON.parse(value);+ if (!Value.Check(systemSchema, value)) throw new Error("Invalid persisted model system message");+ // Tool parameter schemas and grammar variants are JSON objects at this boundary.+ return value as SystemMessage;+}++/** Reorder only internal rows, whose following user row may have arrived first. */+export function orderSystemRows(history: readonly UiMessage[]): UiMessage[] {+ const rows = history.filter((row) => !row.modelSystem);+ for (const row of history) {+ if (!row.modelSystem) continue;+ if (row.role !== "system" || row.modelSystem.version !== 1) {+ throw new Error("Invalid model system record");+ }+ const before = row.modelSystem.beforeMessageId;+ let index = before ? rows.findIndex((candidate) => candidate.id === before) : -1;+ if (index < 0 && row.modelSystem.afterMessageId) {+ const previous = rows.findIndex((candidate) => candidate.id === row.modelSystem?.afterMessageId);+ if (previous >= 0) {+ index = previous + 1;+ while (rows[index]?.modelSystem) index++;+ }+ }+ rows.splice(index < 0 ? rows.length : index, 0, row);+ }+ return rows;+}++/** Persist provider-neutral declarations before dispatch; never persist a folded request. */+export class SystemTranscriptJournal {+ private readonly ids = new WeakMap<AgentMessage, string>();+ private readonly pending = new WeakMap<AgentMessage, string>();+ private readonly checkpoints = new Set<string>();++ restore(row: UiMessage): SystemMessage {+ const message = readSystemMessage(row.modelSystem?.messageJson);+ this.ids.set(message, row.id);+ return message;+ }++ isPersisted(message: AgentMessage): boolean {+ return this.ids.has(message) || this.checkpoints.has(JSON.stringify(message));+ }++ async persist(+ messages: readonly AgentMessage[],+ entries: MessageEntry[],+ append: (row: UiMessage) => Promise<void>,+ ): Promise<void> {+ for (let index = 0; index < messages.length; index++) {+ const message = messages[index];+ if (message.role !== "system" || this.isPersisted(message)) continue;+ const following = messages.slice(index + 1).find((candidate) => candidate.role !== "system");+ const nextEntry = following && entries.find((entry) => entry.message === following);+ const preceding = messages.slice(0, index).reverse().find((candidate) => candidate.role !== "system");+ const previousEntry = preceding && entries.find((entry) => entry.message === preceding);+ const id = this.pending.get(message) ?? randomUUID();+ this.pending.set(message, id);+ const serialized: SystemMessage = {+ ...message, content: contentText(message.content),+ ...(message.toolsAdded ? { toolsAdded: message.toolsAdded.map(toToolDeclaration) } : {}),+ };+ const row: UiMessage = {+ id, role: "system", content: "", createdAt: new Date(message.timestamp).toISOString(),+ modelSystem: { version: 1, messageJson: JSON.stringify(serialized), ...(nextEntry ? { beforeMessageId: nextEntry.id } : {}), ...(previousEntry ? { afterMessageId: previousEntry.id } : {}) },+ };+ try {+ await append(row);+ } catch (cause) {+ // Stop before dispatch. Retrying the provider cannot repair a failed+ // durable write, and the original host error may contain private paths.+ throw new LocalRequestError("request-preparation", { cause });+ }+ this.ids.set(message, id);+ this.pending.delete(message);+ const entry: MessageEntry = {+ type: "message", id, seq: entries.length, parentId: null,+ timestamp: message.timestamp, message,+ };+ const position = nextEntry ? entries.indexOf(nextEntry) : entries.length;+ entries.splice(position, 0, entry);+ entries.forEach((item, seq) => { item.seq = seq; item.parentId = entries[seq - 1]?.id ?? null; });+ }+ }++ rememberCheckpoint(message: unknown): void {+ this.checkpoints.add(JSON.stringify(readSystemMessage(message)));+ }++ remember(message: AgentMessage, id: string): void {+ this.ids.set(message, id);+ }+}diff --cc packages/agent-runtime/src/system-transcript.test.tsindex 3d4ec5c1d,854809a06..f83ad2f9f--- a/packages/agent-runtime/src/system-transcript.test.ts+++ b/packages/agent-runtime/src/system-transcript.test.ts@@@ -12,8 -12,8 +12,9 @@@ importtype Tool,} from "@earendil-works/pi-ai";import { estimateContextTokens as estimateTranscriptTokens } from "@earendil-works/pi-ai/utils/estimate";+ import { convertToLlm } from "./pi-runtime-messages.js";import {+ syncSystemSections,initialSystemTranscript,rebuildSystemTranscript,replaceSystemPrompt,diff --cc pnpm-lock.yamlindex b984698f6,6185de925..f47d9bab7--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@@ -174,15 -199,9 +199,9 @@@ overridesvite@5: '>=6.4.3 <7'patchedDependencies:- '@earendil-works/[email protected]':- hash: b98bc9f5653147d34650f4be892612c7b34f7c553a58cb70457cf900310347d7- path: patches/@[email protected]- '@earendil-works/[email protected]':- hash: d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4- path: patches/@[email protected]- '@earendil-works/[email protected]':- hash: 0e05051778ef4ffca9bac7ec68cae64f1d659d4b8640eeeb1a121e0f620a6abe- path: patches/@[email protected]+ '@earendil-works/[email protected]': 02de513ae53cf7f1e92d0cfc7fce07cf880d31195f5ec621d2f2197ead92a9da- '@earendil-works/[email protected]': 7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3++ '@earendil-works/[email protected]': 9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0+ '@earendil-works/[email protected]': 2d46470684b572b37bba57cf3cec31d81cf7747be163812b74563c8be8a95da3importers:@@@ -208,11 -227,11 +227,11 @@@version: 0.2.2devDependencies:'@earendil-works/pi-ai':- specifier: 0.99.1- version: 0.99.1(patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])+ specifier: 1.0.0- version: 1.0.0(patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])++ version: 1.0.0(patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-mcp':- specifier: 0.99.1- version: 0.99.1+ specifier: 1.0.0+ version: 1.0.0'@pi-desktop/agent-host':specifier: workspace:*version: link:../../packages/agent-host@@@ -400,14 -419,14 +419,14 @@@packages/agent-runtime:dependencies:'@earendil-works/pi-agent-core':- specifier: 0.99.1- version: 0.99.1(patch_hash=b98bc9f5653147d34650f4be892612c7b34f7c553a58cb70457cf900310347d7)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])+ specifier: 1.0.0+ version: 1.0.0(patch_hash=02de513ae53cf7f1e92d0cfc7fce07cf880d31195f5ec621d2f2197ead92a9da)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-ai':- specifier: 0.99.1- version: 0.99.1(patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])+ specifier: 1.0.0- version: 1.0.0(patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])++ version: 1.0.0(patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-coding-agent':- specifier: 0.99.1- version: 0.99.1(patch_hash=0e05051778ef4ffca9bac7ec68cae64f1d659d4b8640eeeb1a121e0f620a6abe)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])+ specifier: 1.0.0+ version: 1.0.0(patch_hash=2d46470684b572b37bba57cf3cec31d81cf7747be163812b74563c8be8a95da3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])'@pi-desktop/shared':specifier: workspace:*version: link:../shared@@@ -5307,15 -5325,10 +5325,10 @@@ snapshotsdependencies:esbuild: 0.28.2- '@earendil-works/[email protected](patch_hash=b98bc9f5653147d34650f4be892612c7b34f7c553a58cb70457cf900310347d7)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])':+ '@earendil-works/[email protected](patch_hash=02de513ae53cf7f1e92d0cfc7fce07cf880d31195f5ec621d2f2197ead92a9da)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:- '@earendil-works/chord': 0.99.1- '@earendil-works/pi-ai': 0.99.1(patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])- '@earendil-works/pi-telemetry': 0.99.1- diff: 8.0.4- ignore: 7.0.8- '@earendil-works/pi-ai': 1.0.0(patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])++ '@earendil-works/pi-ai': 1.0.0(patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])typebox: 1.3.27- yaml: 2.9.0transitivePeerDependencies:- '@aws-sdk/credential-provider-node'- '@modelcontextprotocol/sdk'@@@ -5329,7 -5342,7 +5342,7 @@@- ws- zod- '@earendil-works/[email protected](patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])':- '@earendil-works/[email protected](patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':++ '@earendil-works/[email protected](patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.124.0([email protected])'@aws-sdk/client-bedrock-runtime': 3.1127.0@@@ -5354,7 -5367,7 +5367,7 @@@- ws- zod- '@earendil-works/[email protected](patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])':- '@earendil-works/[email protected](patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':++ '@earendil-works/[email protected](patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.124.0([email protected])'@aws-sdk/client-bedrock-runtime': 3.1127.0@@@ -5383,14 -5396,14 +5396,14 @@@dependencies:quickjs-wasi: 3.6.2- '@earendil-works/[email protected](patch_hash=0e05051778ef4ffca9bac7ec68cae64f1d659d4b8640eeeb1a121e0f620a6abe)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])':+ '@earendil-works/[email protected](patch_hash=2d46470684b572b37bba57cf3cec31d81cf7747be163812b74563c8be8a95da3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])':dependencies:- '@earendil-works/chord': 0.99.1- '@earendil-works/pi-agent-core': 0.99.1(patch_hash=b98bc9f5653147d34650f4be892612c7b34f7c553a58cb70457cf900310347d7)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])- '@earendil-works/pi-ai': 0.99.1(patch_hash=d146cb1c4386252dd01f522fab0c388868fed0c86d230b4c34e5fd28a8bfc6e4)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])- '@earendil-works/pi-codemode': 0.99.1- '@earendil-works/pi-mcp': 0.99.1- '@earendil-works/pi-tui': 0.99.1+ '@earendil-works/chord': 1.0.0+ '@earendil-works/pi-agent-core': 1.0.0(patch_hash=02de513ae53cf7f1e92d0cfc7fce07cf880d31195f5ec621d2f2197ead92a9da)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])- '@earendil-works/pi-ai': 1.0.0(patch_hash=7b666ab69d8e8a12a7d02550e98a3a0020f38d7046da6dc82b237adf176475e3)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])++ '@earendil-works/pi-ai': 1.0.0(patch_hash=9a4038bcac99877bfda2690848abf7801f5b325d28872b15eedd1f4ca8619ba0)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])+ '@earendil-works/pi-codemode': 1.0.0+ '@earendil-works/pi-mcp': 1.0.0+ '@earendil-works/pi-tui': 1.0.0'@silvia-odwyer/photon-node': 0.3.4chalk: 6.0.0cross-spawn: 7.0.6