Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
test(agent-runtime): keep the structured-status case free of balance wording
vastsa5b4292dc3f2e
diff --git a/packages/agent-runtime/src/agent-errors.test.ts b/packages/agent-runtime/src/agent-errors.test.tsindex a6d5103c4..9c44b1e28 100644--- a/packages/agent-runtime/src/agent-errors.test.ts+++ b/packages/agent-runtime/src/agent-errors.test.ts@@ -816,7 +816,7 @@ describe("classifyAgentError", () => {it("keeps a structured status ahead of an OpenAI Error code prefix", () => {expect(classifyAgentError(Object.assign(- new Error("Error code: 402 - Insufficient Balance"),+ new Error("Error code: 402 - Payment failed upstream"),{ status: 503 },))).toMatchObject({code: "PROVIDER_ERROR",