Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
refactor(agent-runtime): request Fast mode through pi-ai's serviceTier
zszz3b4f958c4b745
diff --git a/docs/adr/0332-openai-fast-mode.md b/docs/adr/0332-openai-fast-mode.mdindex 1c1a47cec..074215f20 100644--- a/docs/adr/0332-openai-fast-mode.md+++ b/docs/adr/0332-openai-fast-mode.md@@ -14,8 +14,9 @@ OpenAI serves a faster priority tier that Codex CLI and the OpenAI API callFast mode. On the wire it is the Responses body field `service_tier:"priority"`; the Codex backend rejects `"fast"`. The tier costs more: a ChatGPTsubscription spends its plan limits faster, and the OpenAI API bills a higher-per-token price. PI-Desktop never asked for a tier, and pi-ai's `streamSimple`-does not forward one.+per-token price. PI-Desktop never asked for a tier. pi-ai's Responses and+Codex adapters already accept `serviceTier` and price the tier the response+reports, but `streamSimple` dropped the option while building its base options.The cost is a decision about one conversation, while whether an endpointhonors the field is something only the user knows for a relay. Issue #1657 asks@@ -42,10 +43,12 @@ in model settings.the opt-in.4. **The launcher resolves; the runtime only stamps the wire.** Session launchsends `fastMode: true` to the sidecar only when the session switch is on and- the user's stored binding allows it. The runtime chains a payload hook on- main turns that adds `service_tier: "priority"` when the resolved wire is- `openai-codex-responses` or `openai-responses`. Subagents, compaction, and- one-shot plugin requests build their own options and keep the default tier.+ the user's stored binding allows it. The runtime passes pi-ai's native+ `serviceTier: "priority"` on main turns whose resolved wire is+ `openai-codex-responses` or `openai-responses`; the existing pi-ai patch+ forwards `serviceTier` through `streamSimple`, so the adapters also apply+ their own tier pricing. Subagents, compaction, and one-shot plugin requests+ build their own options and keep the default tier.## Alternativesdiff --git a/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md b/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.mdindex f91008399..42b3ea1b6 100644--- a/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md+++ b/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md@@ -19,7 +19,8 @@ in `docs/project/pi-110-adoption.md`.prompt-template expansion, and session-context projection.- `@earendil-works/pi-ai` supplies provider transports, auth, message types,request retries, and token estimation. Hosted-search request and estimation- behavior remains covered by PI-Desktop's pi-ai patch and contract tests.+ behavior, and forwarding `serviceTier` through `streamSimple` for Fast mode+ (ADR 0331), remain covered by PI-Desktop's pi-ai patch and contract tests.- Rust `host-core` remains the sole owner of SQLite and authoritative durablesession state. The Node sidecar asks it to persist checkpoints and tooloutcomes through the existing RPC contract.diff --git a/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md b/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.mdindex 006c7af22..c59f1582a 100644--- a/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md+++ b/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md@@ -12,7 +12,8 @@ JavaScript 包。上游包演进时,必须保持这一职责划分清晰。- `@earendil-works/pi-agent-core` 提供 Agent 循环,以及稳定的 agent、event、tool类型。Agent Runtime 自行维护桌面专用的上下文投影、压缩和 prompt 模板展开。- `@earendil-works/pi-ai` 提供提供商传输、认证、消息类型、请求重试和 token 估算。- Hosted search 请求与估算行为继续由 PI-Desktop 的 pi-ai 补丁和契约测试覆盖。+ Hosted search 请求与估算行为,以及为 Fast 模式让 `streamSimple` 转发 `serviceTier`+ (ADR 0331),继续由 PI-Desktop 的 pi-ai 补丁和契约测试覆盖。- Rust `host-core` 仍然是 SQLite 和权威持久会话状态的唯一所有者。Node sidecar通过现有 RPC 契约请求持久化检查点和工具结果。- `@earendil-works/pi-coding-agent` 是过渡期依赖。生产代码仅在原生 Pi 会话续接及diff --git a/packages/agent-runtime/src/fast-mode.test.ts b/packages/agent-runtime/src/fast-mode.test.tsindex 0bf505f49..8a395d212 100644--- a/packages/agent-runtime/src/fast-mode.test.ts+++ b/packages/agent-runtime/src/fast-mode.test.ts@@ -34,12 +34,12 @@ function capture() {const context = { messages: [{ role: "user", content: "hi", timestamp: 1 }] } as never;describe("withFastModeOptions", () => {- it("sends the priority tier on the Responses wire when allowed and switched on", async () => {+ it("sends the priority tier through streamSimple on the Responses wire", async () => {const { bodies, options } = capture();await responsesStreamSimple(responsesModel,context,- withFastModeOptions(options, true),+ withFastModeOptions(options, "openai-responses", true),).result();expect(bodies).toHaveLength(1);expect(bodies[0].service_tier).toBe("priority");@@ -47,7 +47,7 @@ describe("withFastModeOptions", () => {it("keeps the default tier when Fast mode is off", async () => {const { bodies, options } = capture();- const hooked = withFastModeOptions(options, false);+ const hooked = withFastModeOptions(options, "openai-responses", false);expect(hooked).toBe(options);await responsesStreamSimple(responsesModel, context, hooked).result();expect(bodies[0].service_tier).toBeUndefined();@@ -56,20 +56,9 @@ describe("withFastModeOptions", () => {it("leaves a Chat Completions request untouched even when switched on", async () => {const { bodies, options } = capture();const model = { ...responsesModel, api: "openai-completions" } as Model<"openai-completions">;- await completionsStreamSimple(- model,- context,- withFastModeOptions(options, true),- ).result();+ const hooked = withFastModeOptions(options, model.api, true);+ expect(hooked).toBe(options);+ await completionsStreamSimple(model, context, hooked).result();expect(bodies[0].service_tier).toBeUndefined();});-- it("chains after an earlier payload hook and keeps its replacement", async () => {- const options: SimpleStreamOptions = {- onPayload: async (payload) => ({ ...(payload as object), prompt_cache_key: "kept" }),- };- const hooked = withFastModeOptions(options, true);- const payload = await hooked.onPayload?.({ model: "gpt-test" }, responsesModel);- expect(payload).toEqual({ model: "gpt-test", prompt_cache_key: "kept", service_tier: "priority" });- });});diff --git a/packages/agent-runtime/src/fast-mode.ts b/packages/agent-runtime/src/fast-mode.tsindex 893bc58a1..4b45d5812 100644--- a/packages/agent-runtime/src/fast-mode.ts+++ b/packages/agent-runtime/src/fast-mode.ts@@ -1,34 +1,17 @@/**- * OpenAI Fast mode on the request body (ADR 0332).- *- * pi-ai's `streamSimple` does not forward a service tier, so the priority tier- * is set through the payload hook, the same channel the session-affinity body- * key uses. The launcher has already combined the session `/fast` switch with- * the model binding's opt-in; the hook still reads the wire of the model being- * called, so a request that does not travel on a Responses wire keeps its bytes.+ * OpenAI Fast mode (ADR 0332). The launcher has already combined the session+ * `/fast` switch with the model binding's opt-in; pi-ai's Responses adapters+ * send `serviceTier` as `service_tier` and price the tier the response reports.*/import type { SimpleStreamOptions } from "@earendil-works/pi-ai";import { FAST_MODE_SERVICE_TIER, fastModeSupportedOn } from "@pi-desktop/shared";-/** Chain a payload hook that asks for the priority tier when Fast mode is on. */+/** Ask for the priority tier on a wire that carries it; other wires keep their options. */export function withFastModeOptions(options: SimpleStreamOptions,+ api: string,fastMode: boolean,): SimpleStreamOptions {- if (fastMode !== true) return options;- const previous = options.onPayload;- return {- ...options,- onPayload: async (payload, model) => {- const replacement = await previous?.(payload, model);- const base = replacement === undefined ? payload : replacement;- if (!isRecord(base) || !fastModeSupportedOn(model.api)) return replacement;- return { ...base, service_tier: FAST_MODE_SERVICE_TIER };- },- };-}--function isRecord(value: unknown): value is Record<string, unknown> {- return typeof value === "object" && value !== null && !Array.isArray(value);+ return fastMode && fastModeSupportedOn(api) ? { ...options, serviceTier: FAST_MODE_SERVICE_TIER } : options;}diff --git a/packages/agent-runtime/src/runtime.ts b/packages/agent-runtime/src/runtime.tsindex 5c576855a..cc40c6c27 100644--- a/packages/agent-runtime/src/runtime.ts+++ b/packages/agent-runtime/src/runtime.ts@@ -2203,6 +2203,7 @@ Do not invent objections or turn speculative risks into blockers. Stop when thesessionId: this.sessionId,},),+ m.api,this.fastMode,);// The watchdog must be able to *stop* what it abandons. It wraps thediff --git a/patches/@[email protected] b/patches/@[email protected]index 4ab80d45d..caeea4f84 100644--- a/patches/@[email protected]+++ b/patches/@[email protected]@@ -745,7 +745,7 @@ index 2a6b4e4..9e44070 100644const samplingParams = resolveSamplingParams(model, reasoningEffort ?? "off", options?.samplingParams);if (samplingParams) {diff --git a/dist/api/simple-options.js b/dist/api/simple-options.js-index 4e36f35..c817c2e 100644+index 4e36f35..fd9225e 100644--- a/dist/api/simple-options.js+++ b/dist/api/simple-options.js@@ -5,7 +5,7 @@ const MIN_MAX_TOKENS = 1;@@ -757,6 +757,14 @@ index 4e36f35..c817c2e 100644return Math.min(maxTokens, Math.max(MIN_MAX_TOKENS, available));}export function resolveSamplingParams(model, thinkingLevel, requestParams) {+@@ -30,6 +30,7 @@ export function buildBaseOptions(model, context, options, apiKey) {+ sessionId: options?.sessionId,+ headers: options?.headers,+ onPayload: options?.onPayload,++ serviceTier: options?.serviceTier,+ onResponse: options?.onResponse,+ onProviderStreamEvent: options?.onProviderStreamEvent,+ timeoutMs: options?.timeoutMs,diff --git a/dist/auth/oauth/anthropic.js b/dist/auth/oauth/anthropic.jsindex 0823512..713d38a 100644--- a/dist/auth/oauth/anthropic.js@@ -947,10 +955,19 @@ index 1443bb5..5fc0625 100644-{"openai-completions":{"chat:deepseek-flash":{"id":"deepseek-flash","name":"DeepSeek V4.1 Flash","api":"openai-completions","baseUrl":"https://api.deepseek.com","provider":"deepseek","reasoning":true,"thinkingLevelMap":{"minimal":null,"low":"low","medium":null,"high":"high","max":"max"},"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.006,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek","supportsStrictMode":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-v4-pro":{"id":"deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","baseUrl":"https://api.deepseek.com","provider":"deepseek","reasoning":true,"input":["text"],"cost":{"input":1.32,"output":3.96,"cacheRead":0.044,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek","supportsStrictMode":true,"supportsMidConvoSystemMessages":true},"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"}}}+{"openai-completions":{"chat:deepseek-flash":{"id":"deepseek-flash","name":"DeepSeek V4.1 Flash","api":"openai-completions","baseUrl":"https://api.deepseek.com","provider":"deepseek","reasoning":true,"thinkingLevelMap":{"minimal":null,"low":"low","medium":null,"high":"high","max":"max"},"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.006,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek","supportsStrictMode":true,"supportsMidConvoSystemMessages":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-v4-pro":{"id":"deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","baseUrl":"https://api.deepseek.com","provider":"deepseek","reasoning":true,"input":["text"],"cost":{"input":1.32,"output":3.96,"cacheRead":0.044,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek","supportsStrictMode":true,"supportsMidConvoSystemMessages":true},"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"}}}diff --git a/dist/types.d.ts b/dist/types.d.ts-index b01603b..39a6d0a 100644+index b01603b..432fbf7 100644--- a/dist/types.d.ts+++ b/dist/types.d.ts-@@ -288,6 +288,30 @@ export interface ToolCall {+@@ -251,6 +251,8 @@ export interface SimpleStreamOptions extends StreamOptions {+ };+ /** Custom token budgets for thinking levels (token-based providers only) */+ thinkingBudgets?: ThinkingBudgets;++ /** OpenAI Responses service tier; adapters without the field ignore it. */++ serviceTier?: "auto" | "default" | "flex" | "scale" | "priority";+ }+ export type StreamFunction<TApi extends Api = Api, TOptions extends StreamOptions = StreamOptions> = (model: Model<TApi>, context: TranscriptContext, options?: TOptions) => AssistantMessageEventStream;+ export type ImagesFunction<TOptions extends ImagesOptions = ImagesOptions> = (model: ImageModel<ImageApi>, context: ImagesContext, options?: TOptions) => Promise<AssistantImages>;+@@ -288,6 +290,30 @@ export interface ToolCall {/** OpenAI Responses namespace for calls to dynamically loaded or namespaced tools. */namespace?: string;}@@ -981,7 +998,7 @@ index b01603b..39a6d0a 100644export interface Usage {input: number;output: number;-@@ -373,7 +397,7 @@ export interface UserMessage {+@@ -373,7 +399,7 @@ export interface UserMessage {}export interface AssistantMessage {role: "assistant";@@ -990,7 +1007,7 @@ index b01603b..39a6d0a 100644api: Api;provider: ProviderId;model: string;-@@ -388,6 +412,8 @@ export interface AssistantMessage {+@@ -388,6 +414,8 @@ export interface AssistantMessage {stopReason: StopReason;deferred?: DeferredHandle;errorMessage?: string;@@ -999,7 +1016,7 @@ index b01603b..39a6d0a 100644rawStopReason?: string;/*** Provider indication of whether the model explicitly ended its turn.-@@ -623,6 +649,10 @@ export type AssistantMessageEvent = {+@@ -623,6 +651,10 @@ export type AssistantMessageEvent = {contentIndex: number;toolCall: ToolCall;partial: AssistantMessage;@@ -1010,7 +1027,7 @@ index b01603b..39a6d0a 100644} | {type: "done";reason: Extract<StopReason, "stop" | "length" | "toolUse" | "deferred">;-@@ -657,6 +687,12 @@ export interface OpenAICompletionsCompat {+@@ -657,6 +689,12 @@ export interface OpenAICompletionsCompat {requiresThinkingAsText?: boolean;/** Whether all replayed assistant messages must include an empty reasoning_content field when reasoning is enabled. Default: auto-detected from URL. */requiresReasoningContentOnAssistantMessages?: boolean;@@ -1023,7 +1040,7 @@ index b01603b..39a6d0a 100644/** Format for reasoning/thinking parameter. "openai" uses reasoning_effort, "openrouter" uses reasoning: { effort }, "deepseek" uses thinking: { type } plus reasoning_effort when supported, "together" uses reasoning: { enabled } plus reasoning_effort when supported, "baseten" uses configurable chat_template_args plus reasoning_effort when supported, "zai" uses thinking: { type }, "qwen" uses top-level enable_thinking: boolean, "qwen-chat-template" uses chat_template_kwargs.enable_thinking and preserve_thinking, "chat-template" uses configurable chat_template_kwargs, "string-thinking" uses top-level thinking: string, and "ant-ling" uses reasoning: { effort } only when the mapped effort is non-null. Default: "openai". */thinkingFormat?: "openai" | "openrouter" | "deepseek" | "together" | "baseten" | "zai" | "qwen" | "chat-template" | "qwen-chat-template" | "string-thinking" | "ant-ling";/** Kwargs to send as `chat_template_kwargs` when `thinkingFormat` is `chat-template`. Use `{ "$var": "thinking.enabled" }`, `{ "$var": "thinking.effort" }`, or `{ "$var": "thinking.budget" }` for pi-controlled thinking values. */-@@ -935,6 +971,8 @@ export interface Model<TApi extends Api> extends BaseModel<TApi> {+@@ -935,6 +973,8 @@ export interface Model<TApi extends Api> extends BaseModel<TApi> {*/type?: "chat";reasoning: boolean;diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 1ac3e20d5..43bcc8d0e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -206,7 +206,7 @@ overrides:patchedDependencies:'@earendil-works/[email protected]': a2c96619d0f9a1d643a6c6a555ba6a7fb533147336c181f7d3b7f847be33a6eb- '@earendil-works/[email protected]': 2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705+ '@earendil-works/[email protected]': f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b'@earendil-works/[email protected]': 73b8776451352deeaa307306b1aaa3a22e2c2cfd6e06c802fcd390409912f60aimporters:@@ -234,7 +234,7 @@ importers:devDependencies:'@earendil-works/pi-ai':specifier: 1.1.0- version: 1.1.0(patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 1.1.0(patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-mcp':specifier: 1.1.0version: 1.1.0@@ -429,7 +429,7 @@ importers:version: 1.1.0(patch_hash=a2c96619d0f9a1d643a6c6a555ba6a7fb533147336c181f7d3b7f847be33a6eb)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-ai':specifier: 1.1.0- version: 1.1.0(patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 1.1.0(patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-coding-agent':specifier: 1.1.0version: 1.1.0(patch_hash=73b8776451352deeaa307306b1aaa3a22e2c2cfd6e06c802fcd390409912f60a)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])@@ -5235,7 +5235,7 @@ snapshots:'@earendil-works/[email protected](patch_hash=a2c96619d0f9a1d643a6c6a555ba6a7fb533147336c181f7d3b7f847be33a6eb)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:- '@earendil-works/pi-ai': 1.1.0(patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])+ '@earendil-works/pi-ai': 1.1.0(patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])typebox: 1.3.27transitivePeerDependencies:- '@aws-sdk/credential-provider-node'@@ -5250,7 +5250,7 @@ snapshots:- ws- zod- '@earendil-works/[email protected](patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':+ '@earendil-works/[email protected](patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.129.0([email protected])'@aws-sdk/client-bedrock-runtime': 3.1127.0@@ -5275,7 +5275,7 @@ snapshots:- ws- zod- '@earendil-works/[email protected](patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':+ '@earendil-works/[email protected](patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.129.0([email protected])'@aws-sdk/client-bedrock-runtime': 3.1127.0@@ -5308,7 +5308,7 @@ snapshots:dependencies:'@earendil-works/chord': 1.1.0'@earendil-works/pi-agent-core': 1.1.0(patch_hash=a2c96619d0f9a1d643a6c6a555ba6a7fb533147336c181f7d3b7f847be33a6eb)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])- '@earendil-works/pi-ai': 1.1.0(patch_hash=2aa7a30fca930a08ebdff65f82d2fc47aeb1cd941d34aae2e50e13b309ef2705)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])+ '@earendil-works/pi-ai': 1.1.0(patch_hash=f4ef44e75753e4d966c253f28d09a55924c26bb8a79bde1628ee66b2d8039b0b)(@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected])([email protected])([email protected])'@earendil-works/pi-codemode': 1.1.0'@earendil-works/pi-mcp': 1.1.0'@earendil-works/pi-tui': 1.1.0