Update agent and terminal configs
db7b1c5396ee494497a518119fce9045ba234201
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 07a87963319d
bugabingas dorkfiles
db7b1c5396ee494497a518119fce9045ba234201
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+2241 / −272 text lines
deleted file mode 100644+0 / −1 text lines
{"op":"add","id":"RM007","ts":"2026-04-29T20:49:06.988Z","tags":["pi-extensions","pi-api","extensions","architecture","reference"],"fact":"sids/pi-extensions is a comprehensive pi extension collection (14 extensions) demonstrating advanced API usage: factory injection, custom TUI via ctx.ui.custom(), input transform chains, session tree branching, tool rendering overrides, subprocess spawning, cross-extension event bus (pi.events), before_provider_request interception, and raw terminal input capture. Key shared lib: @siddr/pi-shared-qna.","reason":"Comprehensive analysis of the sids/pi-extensions repository covering all 14 extensions, their API usage patterns, architectural techniques, and code quality assessment."}deleted file mode 100644+0 / −7 text lines
# Project Facts1 remembered fact(s).| ID | Tags | Fact | Reason ||-----|------|------|--------|| RM007 | pi-extensions, pi-api, extensions, architecture, reference | sids/pi-extensions is a comprehensive pi extension collection (14 extensions) demonstrating advanced API usage: factory injection, custom TUI via ctx.ui.custom(), input transform chains, session tree branching, tool rendering overrides, subprocess spawning, cross-extension event bus (pi.events), before_provider_request interception, and raw terminal input capture. Key shared lib: @siddr/pi-shared-qna. | Comprehensive analysis of the sids/pi-extensions repository covering all 14 extensions, their API usage patterns, architectural techniques, and code quality assessment. |No final newline+20 / −14 text lines
+13 / −13 text lines
deleted file mode 100644+0 / −2 text lines
{"op":"add","id":"RM016","ts":"2026-05-04T07:11:50.481Z","tags":["nushell","dotfiles","carapace","completion"],"fact":"Nushell dotfiles generate ~/.config/nushell/carapace.nu in env.nu via `carapace _carapace nushell`; carapace is sourced from login.nu, not config.nu.","reason":"Discovered while diagnosing Nushell completion behavior; matters because generated carapace config is overwritten on shell startup and only loaded for login shells unless moved/sourced elsewhere."}{"op":"add","id":"RM017","ts":"2026-05-04T07:22:25.818Z","tags":["nushell","dotfiles","carapace","completion"],"fact":"Nushell dotfiles no longer generate/source ~/.config/nushell/carapace.nu; login.nu sources modules/completion.nu, which installs a wrapped Carapace external completer returning null on empty non-flag results for Nushell path fallback.","reason":"Changed completion setup to fix Carapace suppressing file completion for commands like java; matters for future completion debugging."}deleted file mode 100644+0 / −8 text lines
# Project Facts2 remembered fact(s).| ID | Tags | Fact | Reason ||-----|------|------|--------|| RM016 | nushell, dotfiles, carapace, completion | Nushell dotfiles generate ~/.config/nushell/carapace.nu in env.nu via `carapace _carapace nushell`; carapace is sourced from login.nu, not config.nu. | Discovered while diagnosing Nushell completion behavior; matters because generated carapace config is overwritten on shell startup and only loaded for login shells unless moved/sourced elsewhere. || RM017 | nushell, dotfiles, carapace, completion | Nushell dotfiles no longer generate/source ~/.config/nushell/carapace.nu; login.nu sources modules/completion.nu, which installs a wrapped Carapace external completer returning null on empty non-flag results for Nushell path fallback. | Changed completion setup to fix Carapace suppressing file completion for commands like java; matters for future completion debugging. |No final newline+2 / −0 text lines
+47 / −0 text lines
assistantMessage, it("does not emit shell prompt OSC markers inside overlay transcript", () => { const { overlay } = createOverlay(24, 90); overlay.handleSessionEvent(userStart("hi")); overlay.handleSessionEvent(assistantStart("hello")); expect(overlay.render(90).join("\n")).not.toContain("\x1b]133;"); }); it("replays events captured while overlay was hidden", () => { const first = createOverlay(24, 90).overlay; const events = [ userStart("hidden question"), assistantStart(""), assistantUpdate("hidden partial"), assistantUpdate("hidden final"), ]; first.loadEvents(events); expect(first.render(90).join("\n")).toContain("hidden final"); const reopened = createOverlay(24, 90).overlay; reopened.loadEvents(events); const rendered = reopened.render(90).join("\n"); expect(rendered).toContain("hidden question"); expect(rendered).toContain("hidden final"); expect(rendered).not.toContain("hidden partial"); }); it("hydrates prior session messages when reopened", () => { const { overlay } = createOverlay(24, 90); overlay.loadMessages([ { role: "user", content: [{ type: "text", text: "previous question" }] }, assistantMessage("partial prior answer"), ], true); expect(overlay.render(90).join("\n")).toContain("previous question"); expect(overlay.render(90).join("\n")).toContain("partial prior answer"); overlay.handleSessionEvent(assistantUpdate("continued prior answer")); const rendered = overlay.render(90).join("\n"); expect(rendered).toContain("continued prior answer"); expect(rendered).not.toContain("partial prior answer"); });+2 / −2 text lines
+56 / −30 text lines
type AgentSessionEvent,type GhostUi = Pick<ExtensionCommandContext["ui"], "notify" | "setWidget">;type GhostUi = Pick<ExtensionContext["ui"], "notify" | "setWidget">;type GhostContext = Pick<ExtensionCommandContext, "cwd" | "model" | "modelRegistry" | "ui">;type GhostContext = Pick<ExtensionContext, "cwd" | "model" | "modelRegistry" | "ui">; state.eventLog = []; const setHiddenState = (ctx: ExtensionCommandContext, hidden: boolean): void => { const handle = state.overlayHandle; if (!handle) return; handle.setHidden(hidden); if (hidden) { handle.unfocus(); ctx.ui.setWidget(WIDGET_KEY, hiddenWidget, { placement: "aboveEditor" }); return; } ctx.ui.setWidget(WIDGET_KEY, undefined); handle.focus(); }; const ensureGhostSession = async (ctx: ExtensionCommandContext): Promise<AgentSession> => { const ensureGhostSession = async (ctx: ExtensionContext): Promise<AgentSession> => { void ctx.ui.custom<void>( const unsubscribe = session.subscribe((event) => overlay.handleSessionEvent(event)); dispose: () => unsubscribe(), ).finally(() => cleanupGhost(ctx.ui));+111 / −19 text lines
UserMessageComponent, Text,import type { ExtensionCommandContext } from "@mariozechner/pi-coding-agent";import type { ExtensionContext } from "@mariozechner/pi-coding-agent";class GhostMessageComponent { private readonly text = new Text("", 0, 0); constructor( private readonly role: "user" | "assistant", private readonly theme: GhostTheme, message: { content: unknown }, ) { this.updateContent(message); } updateContent(message: { content: unknown }): void { const label = this.role === "user" ? this.theme.fg("accent", "you") : this.theme.fg("muted", "ghost"); const body = extractMessageText(message); this.text.setText(body ? `${label} ${body}` : label); } render(width: number): string[] { return this.text.render(width); } invalidate(): void { this.text.invalidate(); }} private readonly theme: ExtensionCommandContext["ui"]["theme"]; private readonly theme: GhostTheme; private streamingComponent?: AssistantMessageComponent; private streamingComponent?: GhostMessageComponent; this.input.onEscape = () => this.onCloseOverlay(); this.input.onEscape = () => this.closeOverlay("close"); } loadMessages(messages: readonly unknown[], isStreaming = false): void { this.resetTranscript(); const history = messages.map(toHistoryMessage); const lastAssistantIndex = findLastAssistantIndex(history); for (let index = 0; index < history.length; index++) { const message = history[index]; if (!message) continue; if (message.role === "user") { this.transcriptContainer.addChild(new GhostMessageComponent("user", this.theme, message)); continue; } if (message.role !== "assistant") continue; const component = new GhostMessageComponent("assistant", this.theme, message); this.transcriptContainer.addChild(component); if (isStreaming && index === lastAssistantIndex) this.streamingComponent = component; } this.setStatus(isStreaming ? "Streaming response..." : DEFAULT_STATUS); this.markTranscriptChanged(); } loadEvents(events: readonly AgentSessionEvent[]): void { this.resetTranscript(); for (const event of events) this.handleSessionEvent(event); this.tui.requestRender(true); } private resetTranscript(): void { this.transcriptContainer.clear(); this.streamingComponent = undefined; this.pendingTools.clear(); this.statusText = DEFAULT_STATUS; this.invalidateTranscriptCache(); this.scrollToBottom(); } private closeOverlay(result: "hide" | "close"): void { if (result === "hide") this.onHideOverlay(); else this.onCloseOverlay(); this.tui.requestRender(true); if (matchesKey(data, Key.ctrl("s"))) return this.onHideOverlay(); if (matchesKey(data, Key.ctrl("s"))) return this.closeOverlay("hide"); this.transcriptContainer.addChild( new UserMessageComponent(extractMessageText(message), getMarkdownTheme()), ); this.transcriptContainer.addChild(new GhostMessageComponent("user", this.theme, message)); this.streamingComponent = new AssistantMessageComponent(undefined, false, getMarkdownTheme()); this.streamingComponent = new GhostMessageComponent("assistant", this.theme, message); this.streamingComponent.updateContent(message);export function extractMessageText( message: { content: string | Array<{ type: string; text?: string }> },): string {export function extractMessageText(message: { content: unknown }): string { if (!Array.isArray(message.content)) return ""; part.type === "text" && typeof part.text === "string"function toHistoryMessage(message: unknown): GhostHistoryMessage | undefined { if (typeof message !== "object" || message === null) return undefined; const candidate = message as { role?: unknown; content?: unknown }; if (typeof candidate.role !== "string") return undefined; return { role: candidate.role, content: candidate.content };}function findLastAssistantIndex(messages: readonly (GhostHistoryMessage | undefined)[]): number { for (let index = messages.length - 1; index >= 0; index--) { if (messages[index]?.role === "assistant") return index; } return -1;}+12 / −1 text lines
new file mode 100644+548 / −0 text lines
{ "lockfileVersion": 1, "configVersion": 1, "workspaces": { "": { "name": "@bugabinga/pi-ext-web", "devDependencies": { "@marcfargas/pi-test-harness": "*", }, "peerDependencies": { "@mariozechner/pi-coding-agent": "*", "@mariozechner/pi-tui": "*", "typebox": "*", }, }, }, "packages": { "@anthropic-ai/sdk": ["@anthropic-ai/sdk@0.91.1", "", { "dependencies": { "json-schema-to-ts": "^3.1.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-LAmu761tSN9r66ixvmciswUj/ZC+1Q4iAfpedTfSVLeswRwnY3n2Nb6Tsk+cLPP28aLOPWeMgIuTuCcMC6W/iw=="], "@aws-crypto/crc32": ["@aws-crypto/crc32@5.2.0", "", { "dependencies": { "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "tslib": "^2.6.2" } }, "sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg=="], "@aws-crypto/sha256-browser": ["@aws-crypto/sha256-browser@5.2.0", "", { "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", "@aws-crypto/supports-web-crypto": "^5.2.0", "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-locate-window": "^3.0.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw=="], "@aws-crypto/sha256-js": ["@aws-crypto/sha256-js@5.2.0", "", { "dependencies": { "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "tslib": "^2.6.2" } }, "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA=="], "@aws-crypto/supports-web-crypto": ["@aws-crypto/supports-web-crypto@5.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg=="], "@aws-crypto/util": ["@aws-crypto/util@5.2.0", "", { "dependencies": { "@aws-sdk/types": "^3.222.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ=="], "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1045.0", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.8", "@aws-sdk/credential-provider-node": "^3.972.39", "@aws-sdk/eventstream-handler-node": "^3.972.14", "@aws-sdk/middleware-eventstream": "^3.972.10", "@aws-sdk/middleware-host-header": "^3.972.10", "@aws-sdk/middleware-logger": "^3.972.10", "@aws-sdk/middleware-recursion-detection": "^3.972.11", "@aws-sdk/middleware-user-agent": "^3.972.38", "@aws-sdk/middleware-websocket": "^3.972.16", "@aws-sdk/region-config-resolver": "^3.972.13", "@aws-sdk/token-providers": "3.1045.0", "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-endpoints": "^3.996.8", "@aws-sdk/util-user-agent-browser": "^3.972.10", "@aws-sdk/util-user-agent-node": "^3.973.24", "@smithy/config-resolver": "^4.4.17", "@smithy/core": "^3.23.17", "@smithy/eventstream-serde-browser": "^4.2.14", "@smithy/eventstream-serde-config-resolver": "^4.3.14", "@smithy/eventstream-serde-node": "^4.2.14", "@smithy/fetch-http-handler": "^5.3.17", "@smithy/hash-node": "^4.2.14", "@smithy/invalid-dependency": "^4.2.14", "@smithy/middleware-content-length": "^4.2.14", "@smithy/middleware-endpoint": "^4.4.32", "@smithy/middleware-retry": "^4.5.7", "@smithy/middleware-serde": "^4.2.20", "@smithy/middleware-stack": "^4.2.14", "@smithy/node-config-provider": "^4.3.14", "@smithy/node-http-handler": "^4.6.1", "@smithy/protocol-http": "^5.3.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-base64": "^4.3.2", "@smithy/util-body-length-browser": "^4.2.2", "@smithy/util-body-length-node": "^4.2.3", "@smithy/util-defaults-mode-browser": "^4.3.49", "@smithy/util-defaults-mode-node": "^4.2.54", "@smithy/util-endpoints": "^3.4.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-retry": "^4.3.6", "@smithy/util-stream": "^4.5.25", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-aPC6gAz9uKRiwfnKB7peTs6yD0FpSzmVnSkx0f2QtJfosFM6J6KtBvR1lMKby050K4C4PAyEScwA5YTsGfTcGA=="], "@aws-sdk/core": ["@aws-sdk/core@3.974.8", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@aws-sdk/xml-builder": "^3.972.22", "@smithy/core": "^3.23.17", "@smithy/node-config-provider": "^4.3.14", "@smithy/property-provider": "^4.2.14", "@smithy/protocol-http": "^5.3.14", "@smithy/signature-v4": "^5.3.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/util-base64": "^4.3.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-retry": "^4.3.6", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-njR2qoG6ZuB0kvAS2FyICsFZJ6gmCcf2X/7JcD14sUvGDm26wiZ5BrA6LOiUxKFEF+IVe7kdroxyE00YlkiYsw=="], "@aws-sdk/credential-provider-env": ["@aws-sdk/credential-provider-env@3.972.34", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-XT0jtf8Fw9JE6ppsQeoNnZRiG+jqRixMT1v1ZR17G60UvVdsQmTG8nbEyHuEPfMxDXEhfdARaM/XiEhca4lGHQ=="], "@aws-sdk/credential-provider-http": ["@aws-sdk/credential-provider-http@3.972.36", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/types": "^3.973.8", "@smithy/fetch-http-handler": "^5.3.17", "@smithy/node-http-handler": "^4.6.1", "@smithy/property-provider": "^4.2.14", "@smithy/protocol-http": "^5.3.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/util-stream": "^4.5.25", "tslib": "^2.6.2" } }, "sha512-DPoGWfy7J7RKxvbf5kOKIGQkD2ek3dbKgzKIGrnLuvZBz5myU+Im/H6pmc14QcnFbqHMqxvtWSgRDSJW3qXLQg=="], "@aws-sdk/credential-provider-ini": ["@aws-sdk/credential-provider-ini@3.972.38", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/credential-provider-env": "^3.972.34", "@aws-sdk/credential-provider-http": "^3.972.36", "@aws-sdk/credential-provider-login": "^3.972.38", "@aws-sdk/credential-provider-process": "^3.972.34", "@aws-sdk/credential-provider-sso": "^3.972.38", "@aws-sdk/credential-provider-web-identity": "^3.972.38", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/types": "^3.973.8", "@smithy/credential-provider-imds": "^4.2.14", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-oDzUBu2MGJFgoar05sPMCwSrhw44ASyccrHzj66vO69OZqi7I6hZZxXfuPLC8OCzW7C+sU+bI73XHij41yekgQ=="], "@aws-sdk/credential-provider-login": ["@aws-sdk/credential-provider-login@3.972.38", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/protocol-http": "^5.3.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-g1NosS8qe4OF++G2UFCM5ovSkgipC7YYor5KCWatG0UoMSO5YFj9C8muePlyVmOBV/WTI16Jo3/s1NUo/o1Bww=="], "@aws-sdk/credential-provider-node": ["@aws-sdk/credential-provider-node@3.972.39", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.34", "@aws-sdk/credential-provider-http": "^3.972.36", "@aws-sdk/credential-provider-ini": "^3.972.38", "@aws-sdk/credential-provider-process": "^3.972.34", "@aws-sdk/credential-provider-sso": "^3.972.38", "@aws-sdk/credential-provider-web-identity": "^3.972.38", "@aws-sdk/types": "^3.973.8", "@smithy/credential-provider-imds": "^4.2.14", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-HEswDQyxUtadoZ/bJsPPENHg7R0Lzym5LuMksJeHvqhCOpP+rtkDLKI4/ZChH4w3cf5kG8n6bZuI8PzajoiqMg=="], "@aws-sdk/credential-provider-process": ["@aws-sdk/credential-provider-process@3.972.34", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-T3IFs4EVmVi1dVN5RciFnklCANSzvrQd/VuHY9ThHSQmYkTogjcGkoJEr+oNUPQZnso52183088NqysMPji1/Q=="], "@aws-sdk/credential-provider-sso": ["@aws-sdk/credential-provider-sso@3.972.38", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/token-providers": "3.1041.0", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-5ZxG+t0+3Q3QPh8KEjX6syskhgNf7I0MN7oGioTf6Lm1NTjfP7sIcYGNsthXC2qR8vcD3edNZwCr2ovfSSWuRA=="], "@aws-sdk/credential-provider-web-identity": ["@aws-sdk/credential-provider-web-identity@3.972.38", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-lYHFF30DGI20jZcYX8cm6Ns0V7f1dDN6g/MBDLTyD/5iw+bXs3yBr2iAiHDkx4RFU5JgsnZvCHYKiRVPRdmOgw=="], "@aws-sdk/eventstream-handler-node": ["@aws-sdk/eventstream-handler-node@3.972.14", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/eventstream-codec": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-m4X56gxG76/CKfxNVbOFuYwnAZcHgS6HOH8lgp15HoGHIAVTcZfZrXvcYzJFOMLEJgVn+JHBu6EiNV+xSNXXFg=="], "@aws-sdk/middleware-eventstream": ["@aws-sdk/middleware-eventstream@3.972.10", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-QUqLs7Af1II9X4fCRAu+EGHG3KHyOp4RkuLhRKoA3NuFlh6TL8i+zXBl8w2LUxqm44B/Kom45hgSlwA1SpTsXQ=="], "@aws-sdk/middleware-host-header": ["@aws-sdk/middleware-host-header@3.972.10", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-IJSsIMeVQ8MMCPbuh1AbltkFhLBLXn7aejzfX5YKT/VLDHn++Dcz8886tXckE+wQssyPUhaXrJhdakO2VilRhg=="], "@aws-sdk/middleware-logger": ["@aws-sdk/middleware-logger@3.972.10", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-OOuGvvz1Dm20SjZo5oEBePFqxt5nf8AwkNDSyUHvD9/bfNASmstcYxFAHUowy4n6Io7mWUZ04JURZwSBvyQanQ=="], "@aws-sdk/middleware-recursion-detection": ["@aws-sdk/middleware-recursion-detection@3.972.11", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-+zz6f79Kj9V5qFK2P+D8Ehjnw4AhphAlCAsPjUqEcInA9umtSSKMrHbSagEeOIsDNuvVrH98bjRHcyQukTrhaQ=="], "@aws-sdk/middleware-sdk-s3": ["@aws-sdk/middleware-sdk-s3@3.972.37", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-arn-parser": "^3.972.3", "@smithy/core": "^3.23.17", "@smithy/node-config-provider": "^4.3.14", "@smithy/protocol-http": "^5.3.14", "@smithy/signature-v4": "^5.3.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/util-config-provider": "^4.2.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-stream": "^4.5.25", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-Km7M+i8DrLArVzrid1gfxeGhYHBd3uxvE77g0s5a52zPSVosxzQBnJ0gwWb6NIp/DOk8gsBMhi7V+cpJG0ndTA=="], "@aws-sdk/middleware-user-agent": ["@aws-sdk/middleware-user-agent@3.972.38", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-endpoints": "^3.996.8", "@smithy/core": "^3.23.17", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "@smithy/util-retry": "^4.3.6", "tslib": "^2.6.2" } }, "sha512-iz+B29TXcAZsJpwB+AwG/TTGA5l/VnmMZ2UxtiySOZjI6gCdmviXPwdgzcmuazMy16rXoPY4mYCGe7zdNKfx5A=="], "@aws-sdk/middleware-websocket": ["@aws-sdk/middleware-websocket@3.972.16", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-format-url": "^3.972.10", "@smithy/eventstream-codec": "^4.2.14", "@smithy/eventstream-serde-browser": "^4.2.14", "@smithy/fetch-http-handler": "^5.3.17", "@smithy/protocol-http": "^5.3.14", "@smithy/signature-v4": "^5.3.14", "@smithy/types": "^4.14.1", "@smithy/util-base64": "^4.3.2", "@smithy/util-hex-encoding": "^4.2.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-86+S9oCyRVGzoMRpQhxkArp7kD2K75GPmaNevd9B6EyNhWoNvnCZZ3WbgN4j7ZT+jvtvBCGZvI2XHsWZJ+BRIg=="], "@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.6", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.8", "@aws-sdk/middleware-host-header": "^3.972.10", "@aws-sdk/middleware-logger": "^3.972.10", "@aws-sdk/middleware-recursion-detection": "^3.972.11", "@aws-sdk/middleware-user-agent": "^3.972.38", "@aws-sdk/region-config-resolver": "^3.972.13", "@aws-sdk/signature-v4-multi-region": "^3.996.25", "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-endpoints": "^3.996.8", "@aws-sdk/util-user-agent-browser": "^3.972.10", "@aws-sdk/util-user-agent-node": "^3.973.24", "@smithy/config-resolver": "^4.4.17", "@smithy/core": "^3.23.17", "@smithy/fetch-http-handler": "^5.3.17", "@smithy/hash-node": "^4.2.14", "@smithy/invalid-dependency": "^4.2.14", "@smithy/middleware-content-length": "^4.2.14", "@smithy/middleware-endpoint": "^4.4.32", "@smithy/middleware-retry": "^4.5.7", "@smithy/middleware-serde": "^4.2.20", "@smithy/middleware-stack": "^4.2.14", "@smithy/node-config-provider": "^4.3.14", "@smithy/node-http-handler": "^4.6.1", "@smithy/protocol-http": "^5.3.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-base64": "^4.3.2", "@smithy/util-body-length-browser": "^4.2.2", "@smithy/util-body-length-node": "^4.2.3", "@smithy/util-defaults-mode-browser": "^4.3.49", "@smithy/util-defaults-mode-node": "^4.2.54", "@smithy/util-endpoints": "^3.4.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-retry": "^4.3.6", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-WBDnqatJl+kGObpfmfSxqnXeYTu3Me8wx8WCtvoxX3pfWrrTv8I4WTMSSs7PZqcRcVh8WeUKMgGFjMG+52SR1w=="], "@aws-sdk/region-config-resolver": ["@aws-sdk/region-config-resolver@3.972.13", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/config-resolver": "^4.4.17", "@smithy/node-config-provider": "^4.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-CvJ2ZIjK/jVD/lbOpowBVElJyC1YxLTIJ13yM0AEo0t2v7swOzGjSA6lJGH+DwZXQhcjUjoYwc8bVYCX5MDr1A=="], "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.25", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.37", "@aws-sdk/types": "^3.973.8", "@smithy/protocol-http": "^5.3.14", "@smithy/signature-v4": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-+CMIt3e1VzlklAECmG+DtP1sV8iKq25FuA0OKpnJ4KA0kxUtd7CgClY7/RU6VzJBQwbN4EJ9Ue6plvqx1qGadw=="], "@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1045.0", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-/o4qcty0DmQola0DBniRVeBakYY6ALOvKEFo1AtJpTmMn/cJ+Fk3RWGe5ieT/f/eYbHG9k5E7poKge/E+WGv4Q=="], "@aws-sdk/types": ["@aws-sdk/types@3.973.8", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-gjlAdtHMbtR9X5iIhVUvbVcy55KnznpC6bkDUWW9z915bi0ckdUr5cjf16Kp6xq0bP5HBD2xzgbL9F9Quv5vUw=="], "@aws-sdk/util-arn-parser": ["@aws-sdk/util-arn-parser@3.972.3", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-HzSD8PMFrvgi2Kserxuff5VitNq2sgf3w9qxmskKDiDTThWfVteJxuCS9JXiPIPtmCrp+7N9asfIaVhBFORllA=="], "@aws-sdk/util-endpoints": ["@aws-sdk/util-endpoints@3.996.8", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-endpoints": "^3.4.2", "tslib": "^2.6.2" } }, "sha512-oOZHcRDihk5iEe5V25NVWg45b3qEA8OpHWVdU/XQh8Zj4heVPAJqWvMphQnU7LkufmUo10EpvFPZuQMiFLJK3g=="], "@aws-sdk/util-format-url": ["@aws-sdk/util-format-url@3.972.10", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/querystring-builder": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-DEKiHNJVtNxdyTeQspzY+15Po/kHm6sF0Cs4HV9Q2+lplB63+DrvdeiSoOSdWEWAoO2RcY1veoXVDz2tWxWCgQ=="], "@aws-sdk/util-locate-window": ["@aws-sdk/util-locate-window@3.965.5", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-WhlJNNINQB+9qtLtZJcpQdgZw3SCDCpXdUJP7cToGwHbCWCnRckGlc6Bx/OhWwIYFNAn+FIydY8SZ0QmVu3xTQ=="], "@aws-sdk/util-user-agent-browser": ["@aws-sdk/util-user-agent-browser@3.972.10", "", { "dependencies": { "@aws-sdk/types": "^3.973.8", "@smithy/types": "^4.14.1", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-FAzqXvfEssGdSIz8ejatan0bOdx1qefBWKF/gWmVBXIP1HkS7v/wjjaqrAGGKvyihrXTXW00/2/1nTJtxpXz7g=="], "@aws-sdk/util-user-agent-node": ["@aws-sdk/util-user-agent-node@3.973.24", "", { "dependencies": { "@aws-sdk/middleware-user-agent": "^3.972.38", "@aws-sdk/types": "^3.973.8", "@smithy/node-config-provider": "^4.3.14", "@smithy/types": "^4.14.1", "@smithy/util-config-provider": "^4.2.2", "tslib": "^2.6.2" }, "peerDependencies": { "aws-crt": ">=1.0.0" }, "optionalPeers": ["aws-crt"] }, "sha512-ZWwlkjcIp7cEL8ZfTpTAPNkwx25p7xol0xlKoWVVf22+nsjwmLcHYtTPjIV1cSpmB/b6DaK4cb1fSkvCXHgRdw=="], "@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.22", "", { "dependencies": { "@nodable/entities": "2.1.0", "@smithy/types": "^4.14.1", "fast-xml-parser": "5.7.2", "tslib": "^2.6.2" } }, "sha512-PMYKKtJd70IsSG0yHrdAbxBr+ZWBKLvzFZfD3/urxgf6hXVMzuU5M+3MJ5G67RpOmLBu1fAUN65SbWuKUCOlAA=="], "@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="], "@babel/runtime": ["@babel/runtime@7.29.2", "", {}, "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g=="], "@borewit/text-codec": ["@borewit/text-codec@0.2.2", "", {}, "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ=="], "@google/genai": ["@google/genai@1.52.0", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"] }, "sha512-gwSvbpiN/17O9TbsqSsE/OzZcpv5Fo4RQjdngGgogtuB9RsyJ8ZHhX5KjHj1bp5N9snN2eK8LDGXSaWW2hof8Q=="], "@marcfargas/pi-test-harness": ["@marcfargas/pi-test-harness@0.5.0", "", { "peerDependencies": { "@mariozechner/pi-agent-core": "*", "@mariozechner/pi-ai": "*", "@mariozechner/pi-coding-agent": ">=0.50.0" } }, "sha512-EoF5BXiGRPNlos90UELMQ4jE/YYSPxbxgT/Bp9ZAIGwXh/HXRZBxUN4qscOLitCXw9GqCzctovdMIpo/VCauog=="], "@mariozechner/clipboard": ["@mariozechner/clipboard@0.3.5", "", { "optionalDependencies": { "@mariozechner/clipboard-darwin-arm64": "0.3.2", "@mariozechner/clipboard-darwin-universal": "0.3.2", "@mariozechner/clipboard-darwin-x64": "0.3.2", "@mariozechner/clipboard-linux-arm64-gnu": "0.3.2", "@mariozechner/clipboard-linux-arm64-musl": "0.3.2", "@mariozechner/clipboard-linux-riscv64-gnu": "0.3.2", "@mariozechner/clipboard-linux-x64-gnu": "0.3.2", "@mariozechner/clipboard-linux-x64-musl": "0.3.2", "@mariozechner/clipboard-win32-arm64-msvc": "0.3.2", "@mariozechner/clipboard-win32-x64-msvc": "0.3.2" } }, "sha512-D3F+UrU9CR7roJt0zDLp6Oc+4/KlLDIrN4frH+6V90SJNW2KKUec1oCQIPaaDjCqeOsQyX9dyqYbImIQIM45PA=="], "@mariozechner/clipboard-darwin-arm64": ["@mariozechner/clipboard-darwin-arm64@0.3.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-uBf6K7Je1ihsgvmWxA8UCGCeI+nbRVRXoarZdLjl6slz94Zs1tNKFZqx7aCI5O1i3e0B6ja82zZ06BWrl0MCVw=="], "@mariozechner/clipboard-darwin-universal": ["@mariozechner/clipboard-darwin-universal@0.3.2", "", { "os": "darwin" }, "sha512-mxSheKTW2U9LsBdXy0SdmdCAE5HqNS9QUmpNHLnfJ+SsbFKALjEZc5oRrVMXxGQSirDvYf5bjmRyT0QYYonnlg=="], "@mariozechner/clipboard-darwin-x64": ["@mariozechner/clipboard-darwin-x64@0.3.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-U1BcVEoidvwIp95+HJswSW+xr28EQiHR7rZjH6pn8Sja5yO4Yoe3yCN0Zm8Lo72BbSOK/fTSq0je7CJpaPCspg=="], "@mariozechner/clipboard-linux-arm64-gnu": ["@mariozechner/clipboard-linux-arm64-gnu@0.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-BsinwG3yWTIjdgNCxsFlip7LkfwPk+ruw/aFCXHUg/fb5XC/Ksp+YMQ7u0LUtiKzIv/7LMXgZInJQH6gxbAaqQ=="], "@mariozechner/clipboard-linux-arm64-musl": ["@mariozechner/clipboard-linux-arm64-musl@0.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-0/Gi5Xq2V6goXBop19ePoHvXsmJD9SzFlO3S+d6+T2b+BlPcpOu3Oa0wTjl+cZrLAAEzA86aPNBI+VVAFDFPKw=="], "@mariozechner/clipboard-linux-riscv64-gnu": ["@mariozechner/clipboard-linux-riscv64-gnu@0.3.2", "", { "os": "linux", "cpu": "none" }, "sha512-2AFFiXB24qf0zOZsxI1GJGb9wQGlOJyN6UwoXqmKS3dpQi/l6ix30IzDDA4c4ZcCcx4D+9HLYXhC1w7Sov8pXA=="], "@mariozechner/clipboard-linux-x64-gnu": ["@mariozechner/clipboard-linux-x64-gnu@0.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-v6fVnsn7WMGg73Dab8QMwyFce7tzGfgEixKgzLP8f1GJqkJZi5zO4k4FOHzSgUufgLil63gnxvMpjWkgfeQN7A=="], "@mariozechner/clipboard-linux-x64-musl": ["@mariozechner/clipboard-linux-x64-musl@0.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-xVUtnoMQ8v2JVyfJLKKXACA6avdnchdbBkTsZs8BgJQo29qwCp5NIHAUO8gbJ40iaEGToW5RlmVk2M9V0HsHEw=="], "@mariozechner/clipboard-win32-arm64-msvc": ["@mariozechner/clipboard-win32-arm64-msvc@0.3.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-AEgg95TNi8TGgak2wSXZkXKCvAUTjWoU1Pqb0ON7JHrX78p616XUFNTJohtIon3e0w6k0pYPZeCuqRCza/Tqeg=="], "@mariozechner/clipboard-win32-x64-msvc": ["@mariozechner/clipboard-win32-x64-msvc@0.3.2", "", { "os": "win32", "cpu": "x64" }, "sha512-tGRuYpZwDOD7HBrCpyRuhGnHHSCknELvqwKKUG4JSfSB7JIU7LKRh6zx6fMUOQd8uISK35TjFg5UcNih+vJhFA=="], "@mariozechner/pi-agent-core": ["@mariozechner/pi-agent-core@0.73.1", "", { "dependencies": { "@mariozechner/pi-ai": "^0.73.1", "typebox": "^1.1.24" } }, "sha512-Y/KVOhuKSgRQgYBlwmRtO2gPkUcoavOSqGF9bpQIINvNZvc19k6Z1H3bFDTce3Vp5ApMmTsfLH3+tNvOg75fAQ=="], "@mariozechner/pi-ai": ["@mariozechner/pi-ai@0.73.1", "", { "dependencies": { "@anthropic-ai/sdk": "^0.91.1", "@aws-sdk/client-bedrock-runtime": "^3.1030.0", "@google/genai": "^1.40.0", "@mistralai/mistralai": "^2.2.0", "chalk": "^5.6.2", "openai": "6.26.0", "partial-json": "^0.1.7", "proxy-agent": "^6.5.0", "typebox": "^1.1.24", "undici": "^7.19.1", "zod-to-json-schema": "^3.24.6" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-Jh4lXawZYuC83HzSIYuVum9NBqJD49i4JOt3H96cGW/924cwJMOyUs1Mv/e4QPzTXnzrqMoGviNQnvGgSu1LSg=="], "@mariozechner/pi-coding-agent": ["@mariozechner/pi-coding-agent@0.73.1", "", { "dependencies": { "@mariozechner/pi-agent-core": "^0.73.1", "@mariozechner/pi-ai": "^0.73.1", "@mariozechner/pi-tui": "^0.73.1", "@silvia-odwyer/photon-node": "^0.3.4", "chalk": "^5.5.0", "cli-highlight": "^2.1.11", "diff": "^8.0.2", "extract-zip": "^2.0.1", "file-type": "^21.1.1", "glob": "^13.0.1", "hosted-git-info": "^9.0.2", "ignore": "^7.0.5", "jiti": "^2.7.0", "marked": "^15.0.12", "minimatch": "^10.2.3", "proper-lockfile": "^4.1.2", "strip-ansi": "^7.1.0", "typebox": "^1.1.24", "undici": "^7.19.1", "uuid": "^14.0.0", "yaml": "^2.8.2" }, "optionalDependencies": { "@mariozechner/clipboard": "^0.3.5" }, "bin": { "pi": "dist/cli.js" } }, "sha512-gXQh3SaZmWTfVMc4Ao5+LGbVeKvzyO7tolok0nLsZgq9nGjZx/EEU3NM8C+qUnB4Nvs2rswG5qOVgLzQkq0fHQ=="], "@mariozechner/pi-tui": ["@mariozechner/pi-tui@0.73.1", "", { "dependencies": { "@types/mime-types": "^2.1.4", "chalk": "^5.5.0", "get-east-asian-width": "^1.3.0", "marked": "^15.0.12", "mime-types": "^3.0.1" }, "optionalDependencies": { "koffi": "^2.9.0" } }, "sha512-ybVsRnUbzQRtbocltJ2OXb2QogrO67N2BlUyKjZz9BHcZYiDJtNkcKQockxDjsVvDc0uBCLDX6iZJoBElBd8fw=="], "@mistralai/mistralai": ["@mistralai/mistralai@2.2.1", "", { "dependencies": { "ws": "^8.18.0", "zod": "^3.25.0 || ^4.0.0", "zod-to-json-schema": "^3.25.0" } }, "sha512-uKU8CZmL2RzYKmplsU01hii4p3pe4HqJefpWNRWXm1Tcm0Sm4xXfwSLIy4k7ZCPlbETCGcp69E7hZs+WOJ5itQ=="], "@nodable/entities": ["@nodable/entities@2.1.0", "", {}, "sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA=="], "@protobufjs/aspromise": ["@protobufjs/aspromise@1.1.2", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="], "@protobufjs/base64": ["@protobufjs/base64@1.1.2", "", {}, "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="], "@protobufjs/codegen": ["@protobufjs/codegen@2.0.5", "", {}, "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g=="], "@protobufjs/eventemitter": ["@protobufjs/eventemitter@1.1.0", "", {}, "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q=="], "@protobufjs/fetch": ["@protobufjs/fetch@1.1.0", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" } }, "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ=="], "@protobufjs/float": ["@protobufjs/float@1.0.2", "", {}, "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ=="], "@protobufjs/inquire": ["@protobufjs/inquire@1.1.1", "", {}, "sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew=="], "@protobufjs/path": ["@protobufjs/path@1.1.2", "", {}, "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA=="], "@protobufjs/pool": ["@protobufjs/pool@1.1.0", "", {}, "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw=="], "@protobufjs/utf8": ["@protobufjs/utf8@1.1.1", "", {}, "sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg=="], "@silvia-odwyer/photon-node": ["@silvia-odwyer/photon-node@0.3.4", "", {}, "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA=="], "@smithy/config-resolver": ["@smithy/config-resolver@4.4.17", "", { "dependencies": { "@smithy/node-config-provider": "^4.3.14", "@smithy/types": "^4.14.1", "@smithy/util-config-provider": "^4.2.2", "@smithy/util-endpoints": "^3.4.2", "@smithy/util-middleware": "^4.2.14", "tslib": "^2.6.2" } }, "sha512-TzDZcAnhTyAHbXVxWZo7/tEcrIeFq20IBk8So3OLOetWpR8EwY/yEqBMBFaJMeyEiREDq4NfEl+qO3OAUD+vbQ=="], "@smithy/core": ["@smithy/core@3.23.17", "", { "dependencies": { "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-base64": "^4.3.2", "@smithy/util-body-length-browser": "^4.2.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-stream": "^4.5.25", "@smithy/util-utf8": "^4.2.2", "@smithy/uuid": "^1.1.2", "tslib": "^2.6.2" } }, "sha512-x7BlLbUFL8NWCGjMF9C+1N5cVCxcPa7g6Tv9B4A2luWx3be3oU8hQ96wIwxe/s7OhIzvoJH73HAUSg5JXVlEtQ=="], "@smithy/credential-provider-imds": ["@smithy/credential-provider-imds@4.2.14", "", { "dependencies": { "@smithy/node-config-provider": "^4.3.14", "@smithy/property-provider": "^4.2.14", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "tslib": "^2.6.2" } }, "sha512-Au28zBN48ZAoXdooGUHemuVBrkE+Ie6RPmGNIAJsFqj33Vhb6xAgRifUydZ2aY+M+KaMAETAlKk5NC5h1G7wpg=="], "@smithy/eventstream-codec": ["@smithy/eventstream-codec@4.2.14", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.14.1", "@smithy/util-hex-encoding": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-erZq0nOIpzfeZdCyzZjdJb4nVSKLUmSkaQUVkRGQTXs30gyUGeKnrYEg+Xe1W5gE3aReS7IgsvANwVPxSzY6Pw=="], "@smithy/eventstream-serde-browser": ["@smithy/eventstream-serde-browser@4.2.14", "", { "dependencies": { "@smithy/eventstream-serde-universal": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-8IelTCtTctWRbb+0Dcy+C0aICh1qa0qWXqgjcXDmMuCvPJRnv26hiDZoAau2ILOniki65mCPKqOQs/BaWvO4CQ=="], "@smithy/eventstream-serde-config-resolver": ["@smithy/eventstream-serde-config-resolver@4.3.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-sqHiHpYRYo3FJlaIxD1J8PhbcmJAm7IuM16mVnwSkCToD7g00IBZzKuiLNMGmftULmEUX6/UAz8/NN5uMP8bVA=="], "@smithy/eventstream-serde-node": ["@smithy/eventstream-serde-node@4.2.14", "", { "dependencies": { "@smithy/eventstream-serde-universal": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-Ht/8BuGlKfFTy0H3+8eEu0vdpwGztCnaLLXtpXNdQqiR7Hj4vFScU3T436vRAjATglOIPjJXronY+1WxxNLSiw=="], "@smithy/eventstream-serde-universal": ["@smithy/eventstream-serde-universal@4.2.14", "", { "dependencies": { "@smithy/eventstream-codec": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-lWyt4T2XQZUZgK3tQ3Wn0w3XBvZsK/vjTuJl6bXbnGZBHH0ZUSONTYiK9TgjTTzU54xQr3DRFwpjmhp0oLm3gg=="], "@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.3.17", "", { "dependencies": { "@smithy/protocol-http": "^5.3.14", "@smithy/querystring-builder": "^4.2.14", "@smithy/types": "^4.14.1", "@smithy/util-base64": "^4.3.2", "tslib": "^2.6.2" } }, "sha512-bXOvQzaSm6MnmLaWA1elgfQcAtN4UP3vXqV97bHuoOrHQOJiLT3ds6o9eo5bqd0TJfRFpzdGnDQdW3FACiAVdw=="], "@smithy/hash-node": ["@smithy/hash-node@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "@smithy/util-buffer-from": "^4.2.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-8ZBDY2DD4wr+GGjTpPtiglEsqr0lUP+KHqgZcWczFf6qeZ/YRjMIOoQWVQlmwu7EtxKTd8YXD8lblmYcpBIA1g=="], "@smithy/invalid-dependency": ["@smithy/invalid-dependency@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-c21qJiTSb25xvvOp+H2TNZzPCngrvl5vIPqPB8zQ/DmJF4QWXO19x1dWfMJZ6wZuuWUPPm0gV8C0cU3+ifcWuw=="], "@smithy/is-array-buffer": ["@smithy/is-array-buffer@4.2.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-n6rQ4N8Jj4YTQO3YFrlgZuwKodf4zUFs7EJIWH86pSCWBaAtAGBFfCM7Wx6D2bBJ2xqFNxGBSrUWswT3M0VJow=="], "@smithy/middleware-content-length": ["@smithy/middleware-content-length@4.2.14", "", { "dependencies": { "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-xhHq7fX4/3lv5NHxLUk3OeEvl0xZ+Ek3qIbWaCL4f9JwgDZEclPBElljaZCAItdGPQl/kSM4LPMOpy1MYgprpw=="], "@smithy/middleware-endpoint": ["@smithy/middleware-endpoint@4.4.32", "", { "dependencies": { "@smithy/core": "^3.23.17", "@smithy/middleware-serde": "^4.2.20", "@smithy/node-config-provider": "^4.3.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-middleware": "^4.2.14", "tslib": "^2.6.2" } }, "sha512-ZZkgyjnJppiZbIm6Qbx92pbXYi1uzenIvGhBSCDlc7NwuAkiqSgS75j1czAD25ZLs2FjMjYy1q7gyRVWG6JA0Q=="], "@smithy/middleware-retry": ["@smithy/middleware-retry@4.5.7", "", { "dependencies": { "@smithy/core": "^3.23.17", "@smithy/node-config-provider": "^4.3.14", "@smithy/protocol-http": "^5.3.14", "@smithy/service-error-classification": "^4.3.1", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "@smithy/util-middleware": "^4.2.14", "@smithy/util-retry": "^4.3.6", "@smithy/uuid": "^1.1.2", "tslib": "^2.6.2" } }, "sha512-bRt6ZImqVSeTk39Nm81K20ObIiAZ3WefY7G6+iz/0tZjs4dgRRjvRX2sgsH+zi6iDCRR/aQvQofLKxxz4rPBZg=="], "@smithy/middleware-serde": ["@smithy/middleware-serde@4.2.20", "", { "dependencies": { "@smithy/core": "^3.23.17", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-Lx9JMO9vArPtiChE3wbEZ5akMIDQpWQtlu90lhACQmNOXcGXRbaDywMHDzuDZ2OkZzP+9wQfZi3YJT9F67zTQQ=="], "@smithy/middleware-stack": ["@smithy/middleware-stack@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-2dvkUKLuFdKsCRmOE4Mn63co0Djtsm+JMh0bYZQupN1pJwMeE8FmQmRLLzzEMN0dnNi7CDCYYH8F0EVwWiPBeA=="], "@smithy/node-config-provider": ["@smithy/node-config-provider@4.3.14", "", { "dependencies": { "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-S+gFjyo/weSVL0P1b9Ts8C/CwIfNCgUPikk3sl6QVsfE/uUuO+QsF+NsE/JkpvWqqyz1wg7HFdiaZuj5CoBMRg=="], "@smithy/node-http-handler": ["@smithy/node-http-handler@4.6.1", "", { "dependencies": { "@smithy/protocol-http": "^5.3.14", "@smithy/querystring-builder": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-iB+orM4x3xrr57X3YaXazfKnntl0LHlZB1kcXSGzMV1Tt0+YwEjGlbjk/44qEGtBzXAz6yFDzkYTKSV6Pj2HUg=="], "@smithy/property-provider": ["@smithy/property-provider@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-WuM31CgfsnQ/10i7NYr0PyxqknD72Y5uMfUMVSniPjbEPceiTErb4eIqJQ+pdxNEAUEWrewrGjIRjVbVHsxZiQ=="], "@smithy/protocol-http": ["@smithy/protocol-http@5.3.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-dN5F8kHx8RNU0r+pCwNmFZyz6ChjMkzShy/zup6MtkRmmix4vZzJdW+di7x//b1LiynIev88FM18ie+wwPcQtQ=="], "@smithy/querystring-builder": ["@smithy/querystring-builder@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "@smithy/util-uri-escape": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-XYA5Z0IqTeF+5XDdh4BBmSA0HvbgVZIyv4cmOoUheDNR57K1HgBp9ukUMx3Cr3XpDHHpLBnexPE3LAtDsZkj2A=="], "@smithy/querystring-parser": ["@smithy/querystring-parser@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-hr+YyqBD23GVvRxGGrcc/oOeNlK3PzT5Fu4dzrDXxzS1LpFiuL2PQQqKPs87M79aW7ziMs+nvB3qdw77SqE7Lw=="], "@smithy/service-error-classification": ["@smithy/service-error-classification@4.3.1", "", { "dependencies": { "@smithy/types": "^4.14.1" } }, "sha512-aUQuDGh760ts/8MU+APjIZhlLPKhIIfqyzZaJikLEIMrdxFvxuLYD0WxWzaYWpmLbQlXDe9p7EWM3HsBe0K6Gw=="], "@smithy/shared-ini-file-loader": ["@smithy/shared-ini-file-loader@4.4.9", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-495/V2I15SHgedSJoDPD23JuSfKAp726ZI1V0wtjB07Wh7q/0tri/0e0DLefZCHgxZonrGKt/OCTpAtP1wE1kQ=="], "@smithy/signature-v4": ["@smithy/signature-v4@5.3.14", "", { "dependencies": { "@smithy/is-array-buffer": "^4.2.2", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "@smithy/util-hex-encoding": "^4.2.2", "@smithy/util-middleware": "^4.2.14", "@smithy/util-uri-escape": "^4.2.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-1D9Y/nmlVjCeSivCbhZ7hgEpmHyY1h0GvpSZt3l0xcD9JjmjVC1CHOozS6+Gh+/ldMH8JuJ6cujObQqfayAVFA=="], "@smithy/smithy-client": ["@smithy/smithy-client@4.12.13", "", { "dependencies": { "@smithy/core": "^3.23.17", "@smithy/middleware-endpoint": "^4.4.32", "@smithy/middleware-stack": "^4.2.14", "@smithy/protocol-http": "^5.3.14", "@smithy/types": "^4.14.1", "@smithy/util-stream": "^4.5.25", "tslib": "^2.6.2" } }, "sha512-y/Pcj1V9+qG98gyu1gvftHB7rDpdh+7kIBIggs55yGm3JdtBV8GT8IFF3a1qxZ79QnaJHX9GXzvBG6tAd+czJA=="], "@smithy/types": ["@smithy/types@4.14.1", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-59b5HtSVrVR/eYNei3BUj3DCPKD/G7EtDDe7OEJE7i7FtQFugYo6MxbotS8mVJkLNVf8gYaAlEBwwtJ9HzhWSg=="], "@smithy/url-parser": ["@smithy/url-parser@4.2.14", "", { "dependencies": { "@smithy/querystring-parser": "^4.2.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-p06BiBigJ8bTA3MgnOfCtDUWnAMY0YfedO/GRpmc7p+wg3KW8vbXy1xwSu5ASy0wV7rRYtlfZOIKH4XqfhjSQQ=="], "@smithy/util-base64": ["@smithy/util-base64@4.3.2", "", { "dependencies": { "@smithy/util-buffer-from": "^4.2.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-XRH6b0H/5A3SgblmMa5ErXQ2XKhfbQB+Fm/oyLZ2O2kCUrwgg55bU0RekmzAhuwOjA9qdN5VU2BprOvGGUkOOQ=="], "@smithy/util-body-length-browser": ["@smithy/util-body-length-browser@4.2.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-JKCrLNOup3OOgmzeaKQwi4ZCTWlYR5H4Gm1r2uTMVBXoemo1UEghk5vtMi1xSu2ymgKVGW631e2fp9/R610ZjQ=="], "@smithy/util-body-length-node": ["@smithy/util-body-length-node@4.2.3", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-ZkJGvqBzMHVHE7r/hcuCxlTY8pQr1kMtdsVPs7ex4mMU+EAbcXppfo5NmyxMYi2XU49eqaz56j2gsk4dHHPG/g=="], "@smithy/util-buffer-from": ["@smithy/util-buffer-from@4.2.2", "", { "dependencies": { "@smithy/is-array-buffer": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-FDXD7cvUoFWwN6vtQfEta540Y/YBe5JneK3SoZg9bThSoOAC/eGeYEua6RkBgKjGa/sz6Y+DuBZj3+YEY21y4Q=="], "@smithy/util-config-provider": ["@smithy/util-config-provider@4.2.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-dWU03V3XUprJwaUIFVv4iOnS1FC9HnMHDfUrlNDSh4315v0cWyaIErP8KiqGVbf5z+JupoVpNM7ZB3jFiTejvQ=="], "@smithy/util-defaults-mode-browser": ["@smithy/util-defaults-mode-browser@4.3.49", "", { "dependencies": { "@smithy/property-provider": "^4.2.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-a5bNrdiONYB/qE2BuKegvUMd/+ZDwdg4vsNuuSzYE8qs2EYAdK9CynL+Rzn29PbPiUqoz/cbpRbcLzD5lEevHw=="], "@smithy/util-defaults-mode-node": ["@smithy/util-defaults-mode-node@4.2.54", "", { "dependencies": { "@smithy/config-resolver": "^4.4.17", "@smithy/credential-provider-imds": "^4.2.14", "@smithy/node-config-provider": "^4.3.14", "@smithy/property-provider": "^4.2.14", "@smithy/smithy-client": "^4.12.13", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-g1cvrJvOnzeJgEdf7AE4luI7gp6L8weE0y9a9wQUSGtjb8QRHDbCJYuE4Sy0SD9N8RrnNPFsPltAz/OSoBR9Zw=="], "@smithy/util-endpoints": ["@smithy/util-endpoints@3.4.2", "", { "dependencies": { "@smithy/node-config-provider": "^4.3.14", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-a55Tr+3OKld4TTtnT+RhKOQHyPxm3j/xL4OR83WBUhLJaKDS9dnJ7arRMOp3t31dcLhApwG9bgvrRXBHlLdIkg=="], "@smithy/util-hex-encoding": ["@smithy/util-hex-encoding@4.2.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Qcz3W5vuHK4sLQdyT93k/rfrUwdJ8/HZ+nMUOyGdpeGA1Wxt65zYwi3oEl9kOM+RswvYq90fzkNDahPS8K0OIg=="], "@smithy/util-middleware": ["@smithy/util-middleware@4.2.14", "", { "dependencies": { "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-1Su2vj9RYNDEv/V+2E+jXkkwGsgR7dc4sfHn9Z7ruzQHJIEni9zzw5CauvRXlFJfmgcqYP8fWa0dkh2Q2YaQyw=="], "@smithy/util-retry": ["@smithy/util-retry@4.3.8", "", { "dependencies": { "@smithy/service-error-classification": "^4.3.1", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-LUIxbTBi+OpvXpg91poGA6BdyoleMDLnfXjVDqyi2RvZmTveY5loE/FgYUBCR5LU2BThW2SoZRh8dTIIy38IPw=="], "@smithy/util-stream": ["@smithy/util-stream@4.5.25", "", { "dependencies": { "@smithy/fetch-http-handler": "^5.3.17", "@smithy/node-http-handler": "^4.6.1", "@smithy/types": "^4.14.1", "@smithy/util-base64": "^4.3.2", "@smithy/util-buffer-from": "^4.2.2", "@smithy/util-hex-encoding": "^4.2.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-/PFpG4k8Ze8Ei+mMKj3oiPICYekthuzePZMgZbCqMiXIHHf4n2aZ4Ps0aSRShycFTGuj/J6XldmC0x0DwednIA=="], "@smithy/util-uri-escape": ["@smithy/util-uri-escape@4.2.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-2kAStBlvq+lTXHyAZYfJRb/DfS3rsinLiwb+69SstC9Vb0s9vNWkRwpnj918Pfi85mzi42sOqdV72OLxWAISnw=="], "@smithy/util-utf8": ["@smithy/util-utf8@4.2.2", "", { "dependencies": { "@smithy/util-buffer-from": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-75MeYpjdWRe8M5E3AW0O4Cx3UadweS+cwdXjwYGBW5h/gxxnbeZ877sLPX/ZJA9GVTlL/qG0dXP29JWFCD1Ayw=="], "@smithy/uuid": ["@smithy/uuid@1.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-O/IEdcCUKkubz60tFbGA7ceITTAJsty+lBjNoorP4Z6XRqaFb/OjQjZODophEcuq68nKm6/0r+6/lLQ+XVpk8g=="], "@tokenizer/inflate": ["@tokenizer/inflate@0.4.1", "", { "dependencies": { "debug": "^4.4.3", "token-types": "^6.1.1" } }, "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA=="], "@tokenizer/token": ["@tokenizer/token@0.3.0", "", {}, "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="], "@tootallnate/quickjs-emscripten": ["@tootallnate/quickjs-emscripten@0.23.0", "", {}, "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA=="], "@types/mime-types": ["@types/mime-types@2.1.4", "", {}, "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w=="], "@types/node": ["@types/node@25.6.2", "", { "dependencies": { "undici-types": "~7.19.0" } }, "sha512-sokuT28dxf9JT5Kady1fsXOvI4HVpjZa95NKT5y9PNTIrs2AsobR4GFAA90ZG8M+nxVRLysCXsVj6eGC7Vbrlw=="], "@types/retry": ["@types/retry@0.12.0", "", {}, "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="], "@types/yauzl": ["@types/yauzl@2.10.3", "", { "dependencies": { "@types/node": "*" } }, "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q=="], "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], "ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="], "ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], "any-promise": ["any-promise@1.3.0", "", {}, "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="], "ast-types": ["ast-types@0.13.4", "", { "dependencies": { "tslib": "^2.0.1" } }, "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w=="], "balanced-match": ["balanced-match@4.0.4", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="], "base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="], "basic-ftp": ["basic-ftp@5.3.1", "", {}, "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw=="], "bignumber.js": ["bignumber.js@9.3.1", "", {}, "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ=="], "bowser": ["bowser@2.14.1", "", {}, "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg=="], "brace-expansion": ["brace-expansion@5.0.6", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g=="], "buffer-crc32": ["buffer-crc32@0.2.13", "", {}, "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ=="], "buffer-equal-constant-time": ["buffer-equal-constant-time@1.0.1", "", {}, "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="], "chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="], "cli-highlight": ["cli-highlight@2.1.11", "", { "dependencies": { "chalk": "^4.0.0", "highlight.js": "^10.7.1", "mz": "^2.4.0", "parse5": "^5.1.1", "parse5-htmlparser2-tree-adapter": "^6.0.0", "yargs": "^16.0.0" }, "bin": { "highlight": "bin/highlight" } }, "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg=="], "cliui": ["cliui@7.0.4", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ=="], "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], "data-uri-to-buffer": ["data-uri-to-buffer@6.0.2", "", {}, "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw=="], "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], "degenerator": ["degenerator@5.0.1", "", { "dependencies": { "ast-types": "^0.13.4", "escodegen": "^2.1.0", "esprima": "^4.0.1" } }, "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ=="], "diff": ["diff@8.0.4", "", {}, "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw=="], "ecdsa-sig-formatter": ["ecdsa-sig-formatter@1.0.11", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ=="], "emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], "end-of-stream": ["end-of-stream@1.4.5", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg=="], "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], "escodegen": ["escodegen@2.1.0", "", { "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2" }, "optionalDependencies": { "source-map": "~0.6.1" }, "bin": { "esgenerate": "bin/esgenerate.js", "escodegen": "bin/escodegen.js" } }, "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w=="], "esprima": ["esprima@4.0.1", "", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="], "estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], "esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], "extend": ["extend@3.0.2", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="], "extract-zip": ["extract-zip@2.0.1", "", { "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", "yauzl": "^2.10.0" }, "optionalDependencies": { "@types/yauzl": "^2.9.1" }, "bin": { "extract-zip": "cli.js" } }, "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg=="], "fast-xml-builder": ["fast-xml-builder@1.2.0", "", { "dependencies": { "path-expression-matcher": "^1.5.0", "xml-naming": "^0.1.0" } }, "sha512-00aAWieqff+ZJhsXA4g1g7M8k+7AYoMUUHF+/zFb5U6Uv/P0Vl4QZo84/IcufzYalLuEj9928bXN9PbbFzMF0Q=="], "fast-xml-parser": ["fast-xml-parser@5.7.2", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.5", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-P7oW7tLbYnhOLQk/Gv7cZgzgMPP/XN03K02/Jy6Y/NHzyIAIpxuZIM/YqAkfiXFPxA2CTm7NtCijK9EDu09u2w=="], "fd-slicer": ["fd-slicer@1.1.0", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="], "fetch-blob": ["fetch-blob@3.2.0", "", { "dependencies": { "node-domexception": "^1.0.0", "web-streams-polyfill": "^3.0.3" } }, "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ=="], "file-type": ["file-type@21.3.4", "", { "dependencies": { "@tokenizer/inflate": "^0.4.1", "strtok3": "^10.3.4", "token-types": "^6.1.1", "uint8array-extras": "^1.4.0" } }, "sha512-Ievi/yy8DS3ygGvT47PjSfdFoX+2isQueoYP1cntFW1JLYAuS4GD7NUPGg4zv2iZfV52uDyk5w5Z0TdpRS6Q1g=="], "formdata-polyfill": ["formdata-polyfill@4.0.10", "", { "dependencies": { "fetch-blob": "^3.1.2" } }, "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g=="], "gaxios": ["gaxios@7.1.4", "", { "dependencies": { "extend": "^3.0.2", "https-proxy-agent": "^7.0.1", "node-fetch": "^3.3.2" } }, "sha512-bTIgTsM2bWn3XklZISBTQX7ZSddGW+IO3bMdGaemHZ3tbqExMENHLx6kKZ/KlejgrMtj8q7wBItt51yegqalrA=="], "gcp-metadata": ["gcp-metadata@8.1.2", "", { "dependencies": { "gaxios": "^7.0.0", "google-logging-utils": "^1.0.0", "json-bigint": "^1.0.0" } }, "sha512-zV/5HKTfCeKWnxG0Dmrw51hEWFGfcF2xiXqcA3+J90WDuP0SvoiSO5ORvcBsifmx/FoIjgQN3oNOGaQ5PhLFkg=="], "get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="], "get-east-asian-width": ["get-east-asian-width@1.6.0", "", {}, "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA=="], "get-stream": ["get-stream@5.2.0", "", { "dependencies": { "pump": "^3.0.0" } }, "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="], "get-uri": ["get-uri@6.0.5", "", { "dependencies": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.2", "debug": "^4.3.4" } }, "sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg=="], "glob": ["glob@13.0.6", "", { "dependencies": { "minimatch": "^10.2.2", "minipass": "^7.1.3", "path-scurry": "^2.0.2" } }, "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw=="], "google-auth-library": ["google-auth-library@10.6.2", "", { "dependencies": { "base64-js": "^1.3.0", "ecdsa-sig-formatter": "^1.0.11", "gaxios": "^7.1.4", "gcp-metadata": "8.1.2", "google-logging-utils": "1.1.3", "jws": "^4.0.0" } }, "sha512-e27Z6EThmVNNvtYASwQxose/G57rkRuaRbQyxM2bvYLLX/GqWZ5chWq2EBoUchJbCc57eC9ArzO5wMsEmWftCw=="], "google-logging-utils": ["google-logging-utils@1.1.3", "", {}, "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA=="], "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], "highlight.js": ["highlight.js@10.7.3", "", {}, "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A=="], "hosted-git-info": ["hosted-git-info@9.0.3", "", { "dependencies": { "lru-cache": "^11.1.0" } }, "sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg=="], "http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="], "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], "ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="], "ignore": ["ignore@7.0.5", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="], "ip-address": ["ip-address@10.2.0", "", {}, "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA=="], "is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="], "jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="], "json-bigint": ["json-bigint@1.0.0", "", { "dependencies": { "bignumber.js": "^9.0.0" } }, "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ=="], "json-schema-to-ts": ["json-schema-to-ts@3.1.1", "", { "dependencies": { "@babel/runtime": "^7.18.3", "ts-algebra": "^2.0.0" } }, "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g=="], "jwa": ["jwa@2.0.1", "", { "dependencies": { "buffer-equal-constant-time": "^1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } }, "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg=="], "jws": ["jws@4.0.1", "", { "dependencies": { "jwa": "^2.0.1", "safe-buffer": "^5.0.1" } }, "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA=="], "koffi": ["koffi@2.16.2", "", {}, "sha512-owU0MRwv6xkrVqCd+33uw6BaYppkTRXbO/rVdJNI2dvZG0gzyRhYwW25eWtc5pauwK8TGh3AbkFONSezdykfSA=="], "long": ["long@5.3.2", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="], "lru-cache": ["lru-cache@11.3.6", "", {}, "sha512-Gf/KoL3C/MlI7Bt0PGI9I+TeTC/I6r/csU58N4BSNc4lppLBeKsOdFYkK+dX0ABDUMJNfCHTyPpzwwO21Awd3A=="], "marked": ["marked@15.0.12", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA=="], "mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], "mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], "minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], "minipass": ["minipass@7.1.3", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="], "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], "mz": ["mz@2.7.0", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="], "netmask": ["netmask@2.1.1", "", {}, "sha512-eonl3sLUha+S1GzTPxychyhnUzKyeQkZ7jLjKrBagJgPla13F+uQ71HgpFefyHgqrjEbCPkDArxYsjY8/+gLKA=="], "node-domexception": ["node-domexception@1.0.0", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="], "node-fetch": ["node-fetch@3.3.2", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="], "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], "once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="], "openai": ["openai@6.26.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-zd23dbWTjiJ6sSAX6s0HrCZi41JwTA1bQVs0wLQPZ2/5o2gxOJA5wh7yOAUgwYybfhDXyhwlpeQf7Mlgx8EOCA=="], "p-retry": ["p-retry@4.6.2", "", { "dependencies": { "@types/retry": "0.12.0", "retry": "^0.13.1" } }, "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ=="], "pac-proxy-agent": ["pac-proxy-agent@7.2.0", "", { "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", "socks-proxy-agent": "^8.0.5" } }, "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA=="], "pac-resolver": ["pac-resolver@7.0.1", "", { "dependencies": { "degenerator": "^5.0.0", "netmask": "^2.0.2" } }, "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg=="], "parse5": ["parse5@5.1.1", "", {}, "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug=="], "parse5-htmlparser2-tree-adapter": ["parse5-htmlparser2-tree-adapter@6.0.1", "", { "dependencies": { "parse5": "^6.0.1" } }, "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA=="], "partial-json": ["partial-json@0.1.7", "", {}, "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA=="], "path-expression-matcher": ["path-expression-matcher@1.5.0", "", {}, "sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ=="], "path-scurry": ["path-scurry@2.0.2", "", { "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg=="], "pend": ["pend@1.2.0", "", {}, "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="], "proper-lockfile": ["proper-lockfile@4.1.2", "", { "dependencies": { "graceful-fs": "^4.2.4", "retry": "^0.12.0", "signal-exit": "^3.0.2" } }, "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA=="], "protobufjs": ["protobufjs@7.5.7", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.5", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.1", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.1", "@types/node": ">=13.7.0", "long": "^5.0.0" } }, "sha512-NGnrxS/nLKUo5nkbVQxlC71sB4hdfImdYIbFeSCidxtwATx0AHRPcANSLd0q5Bb2BkoSWo2iisQhGg5/r+ihbA=="], "proxy-agent": ["proxy-agent@6.5.0", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", "socks-proxy-agent": "^8.0.5" } }, "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A=="], "proxy-from-env": ["proxy-from-env@1.1.0", "", {}, "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="], "pump": ["pump@3.0.4", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA=="], "require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="], "retry": ["retry@0.12.0", "", {}, "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow=="], "safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="], "signal-exit": ["signal-exit@3.0.7", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="], "smart-buffer": ["smart-buffer@4.2.0", "", {}, "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="], "socks": ["socks@2.8.9", "", { "dependencies": { "ip-address": "^10.1.1", "smart-buffer": "^4.2.0" } }, "sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw=="], "socks-proxy-agent": ["socks-proxy-agent@8.0.5", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="], "source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], "string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], "strip-ansi": ["strip-ansi@7.2.0", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="], "strnum": ["strnum@2.3.0", "", {}, "sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q=="], "strtok3": ["strtok3@10.3.5", "", { "dependencies": { "@tokenizer/token": "^0.3.0" } }, "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA=="], "supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], "thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="], "thenify-all": ["thenify-all@1.6.0", "", { "dependencies": { "thenify": ">= 3.1.0 < 4" } }, "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA=="], "token-types": ["token-types@6.1.2", "", { "dependencies": { "@borewit/text-codec": "^0.2.1", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" } }, "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww=="], "ts-algebra": ["ts-algebra@2.0.0", "", {}, "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw=="], "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], "typebox": ["typebox@1.1.38", "", {}, "sha512-pZ0aQPmMmXoUvSbeuWf/Hzsc+avNw/Zd6VeE8CFgkVGWyuHPJvqeJJDeJqLve+K70LvjYIoleGcoJHPT17cWoA=="], "uint8array-extras": ["uint8array-extras@1.5.0", "", {}, "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A=="], "undici": ["undici@7.25.0", "", {}, "sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ=="], "undici-types": ["undici-types@7.19.2", "", {}, "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg=="], "uuid": ["uuid@14.0.0", "", { "bin": { "uuid": "dist-node/bin/uuid" } }, "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg=="], "web-streams-polyfill": ["web-streams-polyfill@3.3.3", "", {}, "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw=="], "wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], "wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="], "ws": ["ws@8.20.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA=="], "xml-naming": ["xml-naming@0.1.0", "", {}, "sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw=="], "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="], "yaml": ["yaml@2.8.4", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-ml/JPOj9fOQK8RNnWojA67GbZ0ApXAUlN2UQclwv2eVgTgn7O9gg9o7paZWKMp4g0H3nTLtS9LVzhkpOFIKzog=="], "yargs": ["yargs@16.2.0", "", { "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" } }, "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw=="], "yargs-parser": ["yargs-parser@20.2.9", "", {}, "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w=="], "yauzl": ["yauzl@2.10.0", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="], "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="], "zod-to-json-schema": ["zod-to-json-schema@3.25.2", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="], "@aws-crypto/sha256-browser/@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], "@aws-crypto/util/@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], "@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1041.0", "", { "dependencies": { "@aws-sdk/core": "^3.974.8", "@aws-sdk/nested-clients": "^3.997.6", "@aws-sdk/types": "^3.973.8", "@smithy/property-provider": "^4.2.14", "@smithy/shared-ini-file-loader": "^4.4.9", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-Th7kPI6YPtvJUcdznooXJMy+9rQWjmEF81LxaJssngBzuysK4a/x+l8kjm1zb7nYsUPbndnBdUnwng/3PLvtGw=="], "cli-highlight/chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], "cliui/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], "node-fetch/data-uri-to-buffer": ["data-uri-to-buffer@4.0.1", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="], "p-retry/retry": ["retry@0.13.1", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="], "parse5-htmlparser2-tree-adapter/parse5": ["parse5@6.0.1", "", {}, "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw=="], "proxy-agent/lru-cache": ["lru-cache@7.18.3", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="], "string-width/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], "wrap-ansi/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], "@aws-crypto/sha256-browser/@smithy/util-utf8/@smithy/util-buffer-from": ["@smithy/util-buffer-from@2.2.0", "", { "dependencies": { "@smithy/is-array-buffer": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA=="], "@aws-crypto/util/@smithy/util-utf8/@smithy/util-buffer-from": ["@smithy/util-buffer-from@2.2.0", "", { "dependencies": { "@smithy/is-array-buffer": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA=="], "cliui/strip-ansi/ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], "string-width/strip-ansi/ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], "wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], "@aws-crypto/sha256-browser/@smithy/util-utf8/@smithy/util-buffer-from/@smithy/is-array-buffer": ["@smithy/is-array-buffer@2.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA=="], "@aws-crypto/util/@smithy/util-utf8/@smithy/util-buffer-from/@smithy/is-array-buffer": ["@smithy/is-array-buffer@2.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA=="], }}+73 / −106 text lines
* web_search — search MiniMax Coding Plan API (primary) with DDG fallback * web_search — search Z.AI/MiniMax APIs with DDG fallbackimport type { ExtensionAPI, ExtensionCommandContext } from "@mariozechner/pi-coding-agent";import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";interface ConvertInput { kind: ContentKind; body: Buffer; contentType: string; url: string; format: string; maxChars: number; ctShort: string; officeFormat?: string; headerLine: (conversion: string) => string;}async function convertContent(input: ConvertInput): Promise<ContentOutput> { switch (input.kind) { case "binary": return processBinary(input.body, input.contentType, input.url, input.headerLine); case "image": return processImage(input.body, input.contentType, input.url, input.headerLine); case "media": return processMedia(input.body, input.contentType, input.url, input.maxChars, input.headerLine); case "pdf": return processPdf(input.body, input.headerLine); case "office": { if (!input.officeFormat) throw new Error("Missing office document format"); return processOffice(input.body, input.officeFormat, input.headerLine); } case "json": return processJson(input.body, input.headerLine); case "text": return processText(input.body, input.ctShort, input.headerLine); case "html": return processHtml(input.body, input.format, input.headerLine); }}function truncateText(text: string, maxChars: number): string { return text.length > maxChars ? text.slice(0, maxChars) + "\n… (truncated)" : text;}function progressMessage(loaded: number, total: number): string { const mb = (loaded / 1_048_576).toFixed(1); if (total <= 0) return `⬇ ${mb}MB`; const totalMb = (total / 1_048_576).toFixed(1); const percent = Math.round((loaded / total) * 100); return `⬇ ${mb}/${totalMb}MB (${percent}%)`;}/** Render expanded tool text: prefix + each line dimmed. Returns null if content is not text. */function expandedText(result: { content: Array<{ type: string; text?: string }> }, prefix: string, theme: { fg: (style: string, text: string) => string }): string | null { const onProgress = (loaded: number, total: number) => { const mb = (loaded / 1_048_576).toFixed(1); if (total > 0) { setStatus(`\u2B07 ${mb}/${(total / 1_048_576).toFixed(1)}MB (${Math.round((loaded / total) * 100)}%)`); } else { setStatus(`\u2B07 ${mb}MB`); } }; const onProgress = (loaded: number, total: number) => setStatus(progressMessage(loaded, total)); const headerLine = (conversion: string) => `[${ctShort} | ${fmtSize(bodyLen)} | \u2192 ${conversion}]`; // Raw passthrough const output = body.toString("utf-8"); const truncated = output.length > maxChars ? output.slice(0, maxChars) + "\n\u2026 (truncated)" : output; const output = truncateText(body.toString("utf-8"), maxChars); // Dispatch to content processor const processed = kind === "binary" ? await processBinary(body, contentType, params.url, headerLine) : kind === "image" ? await processImage(body, contentType, params.url, headerLine) : kind === "media" ? await processMedia(body, contentType, params.url, maxChars, headerLine) : kind === "pdf" ? await processPdf(body, headerLine) : kind === "office" && officeFormat ? await processOffice(body, officeFormat, headerLine) : kind === "json" ? processJson(body, headerLine) : kind === "text" ? processText(body, ctShort, headerLine) : /* html */ await processHtml(body, format, headerLine); // Early-return path for binary/image/media (already formatted) // Normal path: truncate, wrap, return let { output } = processed; if (output.length > maxChars) { output = output.slice(0, maxChars) + "\n\u2026 (truncated)"; } const output = truncateText(processed.output, maxChars); content: [{ type: "text", text: wrapUntrusted(`${params.url}\n\n${output}`, spotlightMarkers) }], // ── web_search (MiniMax primary, DDG fallback) ───────────────────────── // ── web_search (Z.AI → MiniMax → DDG) ───────────────────────────────── let results: SearchResult[]; let source: string; const useMinimax = ctx ? await isMinimaxAvailable(ctx) : false; if (useMinimax) { try { const response = await minimaxSearch(params.query, ctx!, signal); results = (response.organic ?? []).map((r) => ({ title: r.title, url: r.link, snippet: r.snippet, date: r.date, })); source = "minimax"; } catch (err) { ctx?.ui?.notify(`MiniMax search failed, falling back to DDG: ${(err as Error).message}`, "warning"); results = await searchDdg(params.query, signal, timeout, ctx); source = "ddg"; } } else { results = await searchDdg(params.query, signal, timeout, ctx); source = "ddg"; } // ── DDG search helper ────────────────────────────────────────────────── async function searchDdg( query: string, signal?: AbortSignal, timeout?: number, ctx?: ExtensionCommandContext, ): Promise<SearchResult[]> { const waitMs = throttleWait(); if (waitMs > 0) { ctx?.ui?.setStatus("web", `\u23F3 DDG rate limit: ${(waitMs / 1000).toFixed(1)}s`); await new Promise((r) => setTimeout(r, waitMs)); ctx?.ui?.setStatus("web", undefined); } const html = await fetchSearchHtml(`${DDG_HTML_URL}?q=${encodeURIComponent(query)}`, signal, timeout); markSearchTime(); const parsed = parseDdgResults(html); if (parsed.diagnostics.captcha) { ctx?.ui?.notify("DDG captcha detected \u2014 try again later", "warning"); } const d = parsed.diagnostics; if (d.rawBlockCount > 0 || d.resultsSkipped > 0) { ctx?.ui?.notify( `DDG: ${d.resultsFound} results from ${d.rawBlockCount} blocks` + (d.resultsSkipped > 0 ? ` (${d.resultsSkipped} deduped)` : ""), "info", ); } if (parsed.error) { throw new Error(parsed.error); } return parsed.results.map((r) => ({ title: r.title, url: r.url, snippet: r.snippet })); }+3 / −2 text lines
new file mode 100644+157 / −0 text lines
import type { ExtensionContext } from "@mariozechner/pi-coding-agent";import type { SearchResult } from "./constants.js";import { parseDdgResults, throttleWait, markSearchTime } from "./ddg.js";import { fetchSearchHtml } from "./fetch.js";import { DDG_HTML_URL } from "./constants.js";import { isMinimaxAvailable, minimaxSearch } from "./minimax.js";import { isZaiAvailable, zaiSearch } from "./zai.js";export type SearchSource = "zai" | "minimax" | "ddg";type Notify = (message: string, level: "warning" | "info") => void;interface SearchProvider { source: SearchSource; label: "Z.AI" | "MiniMax" | "DDG"; search(): Promise<SearchResult[]>;}export interface WebSearchOptions { query: string; count: number; timeout: number; signal?: AbortSignal; ctx?: ExtensionContext; notify?: Notify;}export interface WebSearchOutcome { results: SearchResult[]; source: SearchSource;}export async function searchWeb(options: WebSearchOptions): Promise<WebSearchOutcome> { const providers = await buildProviders(options); for (let i = 0; i < providers.length; i++) { const provider = providers[i]; try { return { results: await provider.search(), source: provider.source }; } catch (err) { const next = providers[i + 1]; if (!next) throw err; options.notify?.(fallbackNotice(provider.label, err, next.label), "warning"); } } return { results: [], source: "ddg" };}async function buildProviders(options: WebSearchOptions): Promise<SearchProvider[]> { const providers: SearchProvider[] = []; if (await isZaiAvailable(options.ctx)) { providers.push({ source: "zai", label: "Z.AI", search: () => zaiSearch(options.query, options.ctx, options.signal, { count: options.count, timeoutMs: options.timeout, }), }); } if (options.ctx && await isMinimaxAvailable(options.ctx)) { providers.push({ source: "minimax", label: "MiniMax", search: () => searchMinimax(options.query, options.ctx!, options.signal), }); } providers.push({ source: "ddg", label: "DDG", search: () => searchDdg(options.query, options.signal, options.timeout, options.ctx), }); return providers;}async function searchMinimax(query: string, ctx: ExtensionContext, signal?: AbortSignal): Promise<SearchResult[]> { const response = await minimaxSearch(query, ctx, signal); return (response.organic ?? []).map((r) => ({ title: r.title, url: r.link, snippet: r.snippet, date: r.date, }));}async function searchDdg( query: string, signal?: AbortSignal, timeout?: number, ctx?: ExtensionContext,): Promise<SearchResult[]> { const waitMs = throttleWait(); if (waitMs > 0) { ctx?.ui?.setStatus("web", `⏳ DDG rate limit: ${(waitMs / 1000).toFixed(1)}s`); await new Promise((r) => setTimeout(r, waitMs)); ctx?.ui?.setStatus("web", undefined); } const html = await fetchSearchHtml(`${DDG_HTML_URL}?q=${encodeURIComponent(query)}`, signal, timeout); markSearchTime(); const parsed = parseDdgResults(html); if (parsed.diagnostics.captcha) { ctx?.ui?.notify("DDG captcha detected — try again later", "warning"); } const d = parsed.diagnostics; if (d.rawBlockCount > 0 || d.resultsSkipped > 0) { ctx?.ui?.notify( `DDG: ${d.resultsFound} results from ${d.rawBlockCount} blocks` + (d.resultsSkipped > 0 ? ` (${d.resultsSkipped} deduped)` : ""), "info", ); } if (parsed.error) throw new Error(parsed.error); return parsed.results.map((r) => ({ title: r.title, url: r.url, snippet: r.snippet }));}function fallbackNotice(provider: SearchProvider["label"], err: unknown, nextProvider: SearchProvider["label"]): string { const suffix = `trying ${nextProvider}`; const msg = err instanceof Error ? err.message : String(err); if (provider === "Z.AI") return zaiNotice(err, suffix, msg); if (provider === "MiniMax") return minimaxNotice(msg, suffix); return `${provider} search failed; ${suffix}: ${msg}`;}function zaiNotice(err: unknown, suffix: string, msg: string): string { const code = (err as { code?: string } | undefined)?.code; const kind = (err as { kind?: string } | undefined)?.kind; const codeText = code ? ` (${code})` : ""; if (kind === "quota") return `Z.AI quota/package unavailable${codeText}; ${suffix}`; if (kind === "auth") return `Z.AI auth failed${codeText}; ${suffix}`; if (kind === "rate_limit") return `Z.AI rate/concurrency limit${codeText}; ${suffix}`; if (kind === "policy") return `Z.AI blocked sensitive/policy content${codeText}; ${suffix}`; if (kind === "permission") return `Z.AI API permission missing${codeText}; ${suffix}`; if (kind === "endpoint") return `Z.AI endpoint/base URL not found; ${suffix}`; return `Z.AI search failed; ${suffix}: ${msg}`;}function minimaxNotice(msg: string, suffix: string): string { if (/\b1027\b/.test(msg) || /output\s+new_?sensitive/i.test(msg)) { return `MiniMax blocked search result/snippet as sensitive (1027 output); ${suffix}`; } if (/\b1026\b/.test(msg) || /input\s+new_?sensitive/i.test(msg)) { return `MiniMax blocked search query as sensitive (1026 input); ${suffix}`; } return `MiniMax search failed; ${suffix}: ${msg}`;}new file mode 100644+164 / −0 text lines
import { afterEach, describe, expect, test } from "bun:test";import { ZaiApiError, zaiSearch } from "./zai.js";const originalFetch = globalThis.fetch;const originalZaiKey = process.env.ZAI_API_KEY;const originalZaiBase = process.env.ZAI_BASE_URL;const originalZaiSearchBase = process.env.ZAI_SEARCH_BASE_URL;afterEach(() => { globalThis.fetch = originalFetch; if (originalZaiKey === undefined) delete process.env.ZAI_API_KEY; else process.env.ZAI_API_KEY = originalZaiKey; if (originalZaiBase === undefined) delete process.env.ZAI_BASE_URL; else process.env.ZAI_BASE_URL = originalZaiBase; if (originalZaiSearchBase === undefined) delete process.env.ZAI_SEARCH_BASE_URL; else process.env.ZAI_SEARCH_BASE_URL = originalZaiSearchBase; delete process.env.ZAI_SEARCH_FRESHNESS;});describe("zaiSearch", () => { test("calls direct Web Search API and maps results", async () => { process.env.ZAI_API_KEY = "test-key"; process.env.ZAI_BASE_URL = "https://api.z.ai"; let requestUrl = ""; let requestBody: Record<string, unknown> = {}; globalThis.fetch = (async (input, init) => { requestUrl = String(input); requestBody = JSON.parse(String(init?.body)); expect(init?.headers).toMatchObject({ Authorization: "Bearer test-key" }); return new Response(JSON.stringify({ id: "search-1", created: 123, search_result: [{ title: "Example", content: "Summary", link: "https://example.com", publish_date: "2026-05-09", }], }), { status: 200, headers: { "Content-Type": "application/json" } }); }) as typeof fetch; const results = await zaiSearch("example", undefined, undefined, { count: 3, freshness: "week" }); expect(requestUrl).toBe("https://api.z.ai/api/paas/v4/web_search"); expect(requestBody).toEqual({ search_engine: "search-prime", search_query: "example", count: 3, search_recency_filter: "oneWeek", }); expect(results).toEqual([{ title: "Example", url: "https://example.com", snippet: "Summary", date: "2026-05-09" }]); }); test("uses ZAI_SEARCH_FRESHNESS default", async () => { process.env.ZAI_API_KEY = "test-key"; process.env.ZAI_SEARCH_FRESHNESS = "month"; let requestBody: Record<string, unknown> = {}; globalThis.fetch = (async (_input, init) => { requestBody = JSON.parse(String(init?.body)); return new Response(JSON.stringify({ search_result: [] }), { status: 200 }); }) as typeof fetch; await zaiSearch("example", undefined, undefined, { count: 3 }); expect(requestBody).toMatchObject({ search_recency_filter: "oneMonth" }); }); test("normalizes base URLs that already include /api paths", async () => { process.env.ZAI_API_KEY = "test-key"; process.env.ZAI_BASE_URL = "https://api.z.ai/api/mcp/web_search_prime/mcp"; let requestUrl = ""; globalThis.fetch = (async (input) => { requestUrl = String(input); return new Response(JSON.stringify({ search_result: [] }), { status: 200 }); }) as typeof fetch; await zaiSearch("example", undefined); expect(requestUrl).toBe("https://api.z.ai/api/paas/v4/web_search"); }); test("ZAI_SEARCH_BASE_URL overrides chat/provider base URL", async () => { process.env.ZAI_API_KEY = "test-key"; process.env.ZAI_BASE_URL = "https://wrong.example.com/api/paas/v4/chat/completions"; process.env.ZAI_SEARCH_BASE_URL = "https://api.z.ai/api/paas/v4"; let requestUrl = ""; globalThis.fetch = (async (input) => { requestUrl = String(input); return new Response(JSON.stringify({ search_result: [] }), { status: 200 }); }) as typeof fetch; await zaiSearch("example", undefined); expect(requestUrl).toBe("https://api.z.ai/api/paas/v4/web_search"); }); test("classifies auth errors", async () => { process.env.ZAI_API_KEY = "test-key"; globalThis.fetch = (async () => new Response( JSON.stringify({ error: { code: "1002", message: "bad key" } }), { status: 401, statusText: "Unauthorized" }, )) as typeof fetch; try { await zaiSearch("example", undefined); throw new Error("expected failure"); } catch (err) { expect(err).toBeInstanceOf(ZaiApiError); expect((err as ZaiApiError).kind).toBe("auth"); expect((err as ZaiApiError).code).toBe("1002"); expect((err as Error).message).toBe("Z.AI auth failed (1002): bad key"); } }); test("classifies quota/package errors", async () => { process.env.ZAI_API_KEY = "test-key"; globalThis.fetch = (async () => new Response( JSON.stringify({ error: { code: "1113", message: "Insufficient balance or no resource package. Please recharge." } }), { status: 429, statusText: "Too Many Requests" }, )) as typeof fetch; try { await zaiSearch("example", undefined); throw new Error("expected failure"); } catch (err) { expect(err).toBeInstanceOf(ZaiApiError); expect((err as ZaiApiError).kind).toBe("quota"); expect((err as ZaiApiError).code).toBe("1113"); expect((err as Error).message).toContain("Z.AI quota/package unavailable (1113)"); } }); test("classifies endpoint/base URL errors", async () => { process.env.ZAI_API_KEY = "test-key"; globalThis.fetch = (async () => new Response("Not Found", { status: 404, statusText: "Not Found" })) as typeof fetch; try { await zaiSearch("example", undefined); throw new Error("expected failure"); } catch (err) { expect(err).toBeInstanceOf(ZaiApiError); expect((err as ZaiApiError).kind).toBe("endpoint"); expect((err as Error).message).toContain("Z.AI endpoint/base URL not found (HTTP 404)"); } }); test("classifies policy blocks", async () => { process.env.ZAI_API_KEY = "test-key"; globalThis.fetch = (async () => new Response( JSON.stringify({ error: { code: "1301", message: "unsafe or sensitive content" } }), { status: 400 }, )) as typeof fetch; try { await zaiSearch("example", undefined); throw new Error("expected failure"); } catch (err) { expect(err).toBeInstanceOf(ZaiApiError); expect((err as ZaiApiError).kind).toBe("policy"); expect((err as Error).message).toContain("Z.AI blocked sensitive/policy content (1301)"); } });});new file mode 100644+223 / −0 text lines
/** * Z.AI Web Search API client. * Direct HTTP API, not MCP. * Docs: https://docs.z.ai/api-reference/tools/web-search */import type { ExtensionContext } from "@mariozechner/pi-coding-agent";import type { SearchResult } from "./constants.js";export type ZaiSearchFreshness = "day" | "week" | "month" | "year";type ZaiRecencyFilter = "oneDay" | "oneWeek" | "oneMonth" | "oneYear" | "noLimit";interface ZaiSearchObjectResponse { title?: string; content?: string; link?: string; media?: string; icon?: string; refer?: string; publish_date?: string;}interface ZaiSearchResponse { id?: string; created?: number; search_result?: ZaiSearchObjectResponse[]; code?: number | string; message?: string; error?: { code?: number | string; message?: string };}export type ZaiErrorKind = | "auth" | "quota" | "rate_limit" | "policy" | "permission" | "endpoint" | "params" | "server" | "account" | "unknown";export class ZaiApiError extends Error { constructor( message: string, public readonly kind: ZaiErrorKind, public readonly code?: string, public readonly status?: number, public readonly rawMessage?: string, ) { super(message); this.name = "ZaiApiError"; }}const DEFAULT_ZAI_BASE_URL = "https://api.z.ai";const ZAI_PROVIDER_NAMES = ["zai", "z-ai", "z.ai", "bigmodel"] as const;const ZAI_API_KEY_ENV = ["ZAI_API_KEY", "Z_AI_API_KEY"] as const;const ZAI_NO_FRESHNESS = new Set(["", "none", "nolimit", "no_limit"]);const ZAI_FRESHNESS = new Set(["day", "week", "month", "year"]);const FRESHNESS_TO_RECENCY: Record<ZaiSearchFreshness, ZaiRecencyFilter> = { day: "oneDay", week: "oneWeek", month: "oneMonth", year: "oneYear",};const ERROR_LABEL: Record<ZaiErrorKind, string> = { auth: "auth failed", quota: "quota/package unavailable", rate_limit: "rate/concurrency limit", policy: "blocked sensitive/policy content", permission: "API permission missing", endpoint: "endpoint/base URL not found", params: "request parameter error", server: "server error", account: "account problem", unknown: "API error",};const QUOTA_CODES = new Set(["1113", "1304", "1308", "1309", "1310", "1311"]);const RATE_LIMIT_CODES = new Set(["1302", "1303", "1305", "1312"]);const PERMISSION_CODES = new Set(["1220", "434"]);function resolveDefaultFreshness(): ZaiSearchFreshness | undefined { const value = process.env.ZAI_SEARCH_FRESHNESS?.trim().toLowerCase() ?? ""; if (ZAI_NO_FRESHNESS.has(value)) return undefined; return ZAI_FRESHNESS.has(value) ? value as ZaiSearchFreshness : undefined;}export async function resolveZaiApiKey(ctx?: ExtensionContext): Promise<string | undefined> { if (ctx) { for (const provider of ZAI_PROVIDER_NAMES) { const key = await ctx.modelRegistry.getApiKeyForProvider(provider); if (key) return key; } } for (const envName of ZAI_API_KEY_ENV) { const value = process.env[envName]?.trim(); if (value) return value; } return undefined;}export function resolveZaiBaseUrl(ctx?: ExtensionContext): string { const envBase = process.env.ZAI_SEARCH_BASE_URL?.trim() || process.env.ZAI_BASE_URL?.trim(); if (envBase) return envBase; const model = ctx?.modelRegistry.getAll().find((m) => ZAI_PROVIDER_NAMES.includes(m.provider as typeof ZAI_PROVIDER_NAMES[number]), ); return model?.baseUrl ?? DEFAULT_ZAI_BASE_URL;}export async function isZaiAvailable(ctx?: ExtensionContext): Promise<boolean> { return !!(await resolveZaiApiKey(ctx));}function normalizeApiBaseUrl(baseUrl: string): string { const base = baseUrl.trim().replace(/\/+$/, ""); try { const url = new URL(base); if (url.pathname === "/api" || url.pathname.startsWith("/api/")) { return `${url.origin}/api`; } return `${url.origin}${url.pathname}/api`.replace(/\/+api$/, "/api"); } catch {} return base.endsWith("/api") ? base : `${base}/api`;}function classifyZaiError(code: string | undefined, status: number | undefined, message: string): ZaiErrorKind { if (code && /^100[0-4]$/.test(code)) return "auth"; if (QUOTA_CODES.has(code ?? "")) return "quota"; if (RATE_LIMIT_CODES.has(code ?? "") || status === 429) return "rate_limit"; if (code === "1301" || /sensitive|unsafe|policy/i.test(message)) return "policy"; if (PERMISSION_CODES.has(code ?? "")) return "permission"; if (status === 404) return "endpoint"; if (code && /^121\d$|^1261$/.test(code)) return "params"; if (code && /^111\d$|^112\d$/.test(code)) return "account"; if (status !== undefined && status >= 500) return "server"; return "unknown";}function describeZaiError(kind: ZaiErrorKind, code: string | undefined, message: string, status?: number): string { const tag = code ? ` (${code})` : status ? ` (HTTP ${status})` : ""; return `Z.AI ${ERROR_LABEL[kind]}${tag}: ${message}`;}function makeZaiApiError(status: number | undefined, code: unknown, message: unknown): ZaiApiError { const codeText = code === undefined || code === null ? undefined : String(code); const rawMessage = typeof message === "string" && message ? message : "unknown error"; const kind = classifyZaiError(codeText, status, rawMessage); return new ZaiApiError(describeZaiError(kind, codeText, rawMessage, status), kind, codeText, status, rawMessage);}async function parseZaiError(response: Response): Promise<ZaiApiError> { const text = await response.text().catch(() => ""); if (!text) return makeZaiApiError(response.status, undefined, response.statusText || "request failed"); try { const data = JSON.parse(text) as ZaiSearchResponse; return makeZaiApiError(response.status, data.error?.code ?? data.code, data.error?.message ?? data.message ?? response.statusText); } catch {} return makeZaiApiError(response.status, undefined, `${response.statusText}: ${text.slice(0, 500)}`);}export async function zaiSearch( query: string, ctx: ExtensionContext | undefined, signal?: AbortSignal, options?: { count?: number; freshness?: ZaiSearchFreshness; timeoutMs?: number },): Promise<SearchResult[]> { const apiKey = await resolveZaiApiKey(ctx); if (!apiKey) { throw new Error("Z.AI API key not configured. Set ZAI_API_KEY or configure a zai provider."); } const count = Math.min(Math.max(Math.trunc(options?.count ?? 10), 1), 50); const body: Record<string, unknown> = { search_engine: "search-prime", search_query: query, count, }; const freshness = options?.freshness ?? resolveDefaultFreshness(); if (freshness) { body.search_recency_filter = FRESHNESS_TO_RECENCY[freshness]; } const url = `${normalizeApiBaseUrl(resolveZaiBaseUrl(ctx))}/paas/v4/web_search`; const timeoutSignal = AbortSignal.timeout(options?.timeoutMs ?? 30_000); const requestSignal = signal ? AbortSignal.any([signal, timeoutSignal]) : timeoutSignal; const response = await fetch(url, { method: "POST", headers: { "Authorization": `Bearer ${apiKey}`, "Content-Type": "application/json", "Accept-Language": "en-US,en", }, body: JSON.stringify(body), signal: requestSignal, }); if (!response.ok) { throw await parseZaiError(response); } const data = (await response.json()) as ZaiSearchResponse; if (data.error || data.code !== undefined) { throw makeZaiApiError(response.status, data.error?.code ?? data.code, data.error?.message ?? data.message); } const results = data.search_result ?? []; return results.map((r) => ({ title: r.title ?? r.link ?? "Untitled", url: r.link ?? "", snippet: r.content ?? r.media ?? "", date: r.publish_date, })).filter((r) => r.url);}new file mode 100644+56 / −0 text lines
---description: Review, checkout, test, and prepare PR mergeargument-hint: "<pr-url|number|branch|ref> [test-command]"---Review PR end-to-end and prepare merge. Do **not** merge until explicit user OK.**PR**: $1 **Test command override**: ${@:2}Workflow:1. **Identify** - Detect host/tooling: GitHub `gh` if available; otherwise generic `git`. - Resolve PR metadata: title, author, base, head, URL, status, CI, labels. - Fetch latest base/head.2. **Protect local work** - Check `git status --short`. - If dirty unrelated work exists: do not overwrite. Prefer isolated worktree. - Detect repo style via `git worktree list`, existing branch/worktree conventions.3. **Checkout** - Prefer worktree when repo uses worktrees, current tree is dirty, or PR needs isolation. - Use branch when repo convention/current state is clean and branch checkout is safe. - GitHub path: `gh pr checkout <PR>` or fetch ref, then create branch/worktree. - Generic path: fetch PR/head ref or remote branch, then create branch/worktree.4. **Review diff** - Compare PR head vs base. - Read relevant files, tests, docs, configs. - Check correctness, security, perf, API compat, migrations, UX, error handling. - Verify PR matches issue/description.5. **Test** - If test override provided, run it. - Else infer project commands from README, package files, lockfiles, CI, justfile, Makefile. - Run focused tests first, then broader suite if reasonable. - Include lint/typecheck/build when conventional. - Capture exact commands and outcomes.6. **Report** - Produce structured report: - PR summary - Checkout location + base/head SHAs - Review findings: blockers / warnings / notes with file:line refs - Tests run: command → pass/fail - Merge readiness: READY | NOT READY - Exact merge plan/command to run after OK - If not ready, list minimal required fixes.7. **Wait** - Stop after report. - Ask for explicit OK to merge only if READY. - On OK: re-fetch, verify PR still current/mergeable, run critical checks if needed, then merge using repo convention (`gh pr merge`, platform tool, or local merge). Report final status. - After successful merge: remove worktree/branch of PR+1 / −1 text lines
new file mode 100644+108 / −0 text lines
---name: java-ffmdescription: "Use for Java 26 Foreign Function & Memory API (FFM, Project Panama): java.lang.foreign, native library calls, off-heap memory, MemorySegment, Arena, Linker, SymbolLookup, FunctionDescriptor, MemoryLayout, upcalls/downcalls, jextract, errno, restricted native access."license: CC-BY-4.0-summarycompatibility: "Java SE 26 / JDK 26; java.lang.foreign stable since Java 22"metadata: sources: - "https://docs.oracle.com/en/java/javase/26/core/foreign-function-and-memory-api.html" - "https://docs.oracle.com/en/java/javase/26/docs/api/java.base/java/lang/foreign/package-summary.html"---# Java 26 FFM SkillUse this skill when writing/reviewing Java code using the Foreign Function & Memory API.When active:1. Identify C ABI/platform, exact native signatures, library loading path, ownership/lifetime, thread access, and error convention.2. Prefer safe FFM idioms: arena-bound allocation, explicit layouts, exact method handle types, explicit cleanup, minimal restricted API use.3. Read `references/java-26-ffm.md` for distilled API facts, patterns, and pitfalls.4. If implementing bindings for many C declarations, recommend `jextract`; hand-code only small bindings.## Core model- `MemorySegment` = contiguous memory view: address + byte size + scope + access checks.- `Arena` = native memory lifetime owner. Close arena → all segments allocated by it invalid.- `MemoryLayout` / `ValueLayout` / `AddressLayout` = data shape, size, alignment, endianness, access handles.- `Linker` + `SymbolLookup` + `FunctionDescriptor` = turn native symbol + signature into `MethodHandle` downcall.- Upcall = native code calls Java via `linker.upcallStub(methodHandle, descriptor, arena)`.## Default imports```javaimport java.lang.foreign.*;import java.lang.invoke.*;import static java.lang.foreign.ValueLayout.*;import static java.lang.foreign.MemoryLayout.*;import static java.lang.foreign.MemoryLayout.PathElement.*;```## Native accessRestricted FFM methods need native access enabled. FFM is final in Java 26; do not add `--enable-preview` for FFM-only code.```bashjavac --release 26 Main.javajava --enable-native-access=ALL-UNNAMED Mainjava --enable-native-access=my.module Main```In JDK 24+, illegal native access defaults to warning; future JDK may deny. For CI, prefer explicit `--enable-native-access=<module>` and consider `--illegal-native-access=deny`.## Fast checklistsBefore downcall:- Exact C prototype? Include typedef expansion, pointer depth, varargs specialization.- Correct platform layouts? `long` differs: Linux/x64 `long` = 64-bit; Windows/x64 `long` = 32-bit. `size_t` is `JAVA_LONG` on Linux/x64, not `JAVA_INT`.- C constants/macros? Do not guess magic numbers; use `jextract`, generate constants, or choose APIs without macro constants.- Ownership? Who allocates/frees returned pointers? Which arena owns passed buffers/upcall stubs?- Threading? Confined arena only owner thread. Shared arena for cross-thread access.- Error path? Return sentinel? `errno`? output parameter?Before structs:- Include explicit padding where C ABI inserts it.- Verify `byteSize()` and `byteAlignment()` vs C `sizeof`/`alignof` if possible.- Use named layouts + layout path var handles; avoid manual offset math.Before pointer dereference/out params:- Pointer from native/read memory is often zero-length.- C `T** out` means allocate an `ADDRESS` slot, pass that slot, then read the real `T*` with `slot.get(ADDRESS, 0)`; use the real handle for later calls, not the address of the slot. Common example: `sqlite3_open(..., sqlite3**)`.- Attach bounds via `AddressLayout.withTargetLayout(...)` when statically known, or `segment.reinterpret(size, arena, cleanup)` when dynamically known.- Treat `reinterpret` and target layouts as unsafe/restricted: wrong size/lifetime can crash JVM.## Canonical minimal downcall```javastatic final Linker LINKER = Linker.nativeLinker();static final SymbolLookup LIBC = LINKER.defaultLookup();static final MethodHandle strlen = LINKER.downcallHandle( LIBC.findOrThrow("strlen"), FunctionDescriptor.of(JAVA_LONG, ADDRESS) // Linux/x64 size_t, char*);static long strlen(String s) throws Throwable { try (Arena arena = Arena.ofConfined()) { MemorySegment cString = arena.allocateFrom(s); // UTF-8, NUL-terminated return (long) strlen.invokeExact(cString); }}```## Primary referencesOpen `references/java-26-ffm.md` for:- API map- arena/segment rules- type mapping- downcall/upcall/variadic/errno patterns- pointer-return handling- struct layouts- jextract workflow- safety pitfallsnew file mode 100644+457 / −0 text lines
# Java 26 Foreign Function & Memory API — distilledSources: Oracle Java SE 26 core guide + `java.lang.foreign` API docs.## What FFM is forFFM (`java.lang.foreign`) lets Java code:- call native/foreign functions without JNI glue;- pass Java code as native function pointers;- allocate/access off-heap memory safely with bounds/lifetime checks;- model native structs/unions/arrays/pointers via layouts.FFM is stable since Java 22. Java 26 docs describe same core model with JDK 26 API pages.## Main types| Type | Use ||---|---|| `Arena` | Owns lifetime of native segments. Allocate via `allocate`, `allocateFrom`; close to free. || `MemorySegment` | Bounds-checked view over heap/native/mapped memory. Has address, byte size, scope. || `SegmentAllocator` | Allocation interface implemented by `Arena`; helpers copy Java data to native memory. || `MemoryLayout` | Describes size/alignment/field structure; creates var handles. || `ValueLayout` | Primitive layouts (`JAVA_INT`, `JAVA_LONG`, `ADDRESS`, unaligned variants, byte order). || `AddressLayout` | Pointer layout. Optional target layout enables dereference sizing. || `SequenceLayout` | Array layout. || `StructLayout` / `UnionLayout` | C `struct` / `union` layout. Add explicit padding for ABI. || `FunctionDescriptor` | Native function signature: return layout + arg layouts. || `Linker` | ABI-specific bridge; creates downcall handles and upcall stubs. || `SymbolLookup` | Resolves native symbol names to function addresses. || `Linker.Option` | `firstVariadicArg`, `captureCallState("errno")`, critical/capture options. |## Arenas and lifetimesUse arenas to allocate native/off-heap segments.```javatry (Arena arena = Arena.ofConfined()) { MemorySegment buf = arena.allocate(1024, 8); buf.set(JAVA_INT, 0, 42);} // closes arena, frees buf backing memory```Arena kinds:- `Arena.ofConfined()` — deterministic lifetime, owner-thread only; default choice.- `Arena.ofShared()` — deterministic lifetime, accessible/closable by multiple threads; close is safe/atomic.- `Arena.ofAuto()` — GC-managed lifetime; any thread; cannot close manually.- `Arena.global()` — never freed; any thread; cannot close manually.Closed arena → segment access throws `IllegalStateException`. Out-of-bounds → `IndexOutOfBoundsException`. Wrong thread for confined arena → access/close fails.## Memory segmentsSegment kinds:- heap segment: `MemorySegment.ofArray(...)`, backed by Java array;- native segment: allocated by arena;- mapped segment: from `FileChannel.map(..., Arena)`.Access:```javaint x = segment.get(JAVA_INT, 0); // byte offsetsegment.set(JAVA_INT, 4, 123);int y = segment.getAtIndex(JAVA_INT, 3); // logical index, offset = 3 * 4segment.setAtIndex(JAVA_INT, 3, 456);```Strings:```javaMemorySegment c = arena.allocateFrom("hello"); // UTF-8 + NULString s = c.getString(0);```Arrays:```javaMemorySegment nativeInts = arena.allocateFrom(JAVA_INT, new int[] {3, 1, 2});int[] copy = nativeInts.toArray(JAVA_INT);```Slicing:```javaMemorySegment slice = segment.asSlice(16, 8); // same backing memory, narrower bounds```Parallel/disjoint work: use `Arena.ofShared()` and `segment.elements(layout)` when multiple threads need access.## Alignment and endiannessLayouts carry byte size, byte alignment, and byte order. Segment access validates alignment.- Native segment address + offset must satisfy layout alignment.- Heap segment max alignment depends on backing array type.- For packed/unaligned data use `JAVA_INT_UNALIGNED`, etc.- For non-native byte order use `layout.withOrder(ByteOrder.BIG_ENDIAN)`.```javaint be = segment.get(JAVA_INT.withOrder(ByteOrder.BIG_ENDIAN), 0);```## C type mappingAlways treat C mapping as ABI/platform-dependent. Prefer:```javaMap<String, MemoryLayout> canon = Linker.nativeLinker().canonicalLayouts();MemoryLayout size_t = canon.get("size_t");```All native linkers provide canonical layouts for:`bool`, `char`, `short`, `int`, `long`, `long long`, `float`, `double`, `size_t`, `wchar_t`, `void*`.Typical Linux/x64 mappings:| C type | Java FFM layout | Java carrier ||---|---|---|| `bool` | `JAVA_BOOLEAN` | `boolean` || `char`, `unsigned char` | `JAVA_BYTE` | `byte` || `short`, `unsigned short` | `JAVA_SHORT` | `short` || `int`, `unsigned int` | `JAVA_INT` | `int` || `long`, `unsigned long` | `JAVA_LONG` | `long` || `long long`, `unsigned long long` | `JAVA_LONG` | `long` || `float` | `JAVA_FLOAT` | `float` || `double` | `JAVA_DOUBLE` | `double` || `size_t` | `JAVA_LONG` on 64-bit, `JAVA_INT` on 32-bit | `long`/`int` || `T*`, function pointer | `ADDRESS` | `MemorySegment` || `struct` | `structLayout(...)` | `MemorySegment` || `union` | `unionLayout(...)` | `MemorySegment` |Unsigned types use same-size signed carriers; interpret with Java unsigned helpers (`Integer.toUnsignedLong`, `Long.compareUnsigned`, masks) as needed.## DowncallsDowncall = Java → native function.Pattern:```javastatic final Linker LINKER = Linker.nativeLinker();static final SymbolLookup LOOKUP = LINKER.defaultLookup();static final MethodHandle strlen = LINKER.downcallHandle( LOOKUP.findOrThrow("strlen"), FunctionDescriptor.of(JAVA_LONG, ADDRESS));static long strlen(String s) throws Throwable { try (Arena arena = Arena.ofConfined()) { return (long) strlen.invokeExact(arena.allocateFrom(s)); }}```Rules:- `FunctionDescriptor.of(returnLayout, argLayouts...)`.- `FunctionDescriptor.ofVoid(argLayouts...)` for `void` return.- `MethodHandle.invokeExact` requires exact Java carriers and return cast.- `ADDRESS` args/returns are `MemorySegment`.- Descriptor must match actual native signature. Linker cannot verify; mismatch can crash JVM.Library lookup:```javaSymbolLookup std = Linker.nativeLinker().defaultLookup();// restricted: loads native library; arena controls library lookup lifetimeSymbolLookup lib = SymbolLookup.libraryLookup("libc.so.6", arena);````libraryLookup` is restricted because library loading may execute native code.## UpcallsUpcall = native → Java through function pointer.C:```cvoid qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));```Java:```javastatic int compareInts(MemorySegment a, MemorySegment b) { return Integer.compare(a.get(JAVA_INT, 0), b.get(JAVA_INT, 0));}static final Linker LINKER = Linker.nativeLinker();static final MethodHandle QSORT = LINKER.downcallHandle( LINKER.defaultLookup().findOrThrow("qsort"), FunctionDescriptor.ofVoid(ADDRESS, JAVA_LONG, JAVA_LONG, ADDRESS));static void sort(int[] input) throws Throwable { FunctionDescriptor cmpDesc = FunctionDescriptor.of( JAVA_INT, ADDRESS.withTargetLayout(JAVA_INT), ADDRESS.withTargetLayout(JAVA_INT) ); MethodHandle cmp = MethodHandles.lookup().findStatic( MyClass.class, "compareInts", cmpDesc.toMethodType() ); try (Arena arena = Arena.ofConfined()) { MemorySegment cmpPtr = LINKER.upcallStub(cmp, cmpDesc, arena); MemorySegment arr = arena.allocateFrom(JAVA_INT, input); QSORT.invokeExact(arr, (long) input.length, JAVA_INT.byteSize(), cmpPtr); int[] sorted = arr.toArray(JAVA_INT); }}```Upcall stub lifetime must outlive native use. If native stores callback pointer, do not use a short-lived confined arena unless pointer is invalidated before close.## Pointers returned by native functions and pointer out-parametersFor C output parameters like `T** out`, allocate one pointer-sized slot, pass it to native code, then read the actual returned pointer:```javaMemorySegment out = arena.allocate(ADDRESS);int rc = some_open(..., out); // C signature: int some_open(..., T **out)MemorySegment handle = out.get(ADDRESS, 0); // use this T* for later calls```Do not pass the slot (`out`) to later functions expecting `T*`; pass `handle`. This distinction is critical for APIs such as `sqlite3_open(..., sqlite3**)` and `sqlite3_prepare_v2(..., sqlite3_stmt**)`.Native pointer returns/read pointers usually become zero-length `MemorySegment`s:- address is known;- size is 0;- scope is global/always alive;- direct access throws out-of-bounds.Attach bounds/lifetime before dereference.Example `malloc/free` wrapper:```javastatic final Linker LINKER = Linker.nativeLinker();static final SymbolLookup C = LINKER.defaultLookup();static final MethodHandle malloc = LINKER.downcallHandle( C.findOrThrow("malloc"), FunctionDescriptor.of(ADDRESS, JAVA_LONG));static final MethodHandle free = LINKER.downcallHandle( C.findOrThrow("free"), FunctionDescriptor.ofVoid(ADDRESS));static MemorySegment mallocSegment(long bytes, Arena arena) throws Throwable { MemorySegment raw = (MemorySegment) malloc.invokeExact(bytes); // byteSize() == 0 return raw.reinterpret(bytes, arena, s -> { try { free.invokeExact(s); } catch (Throwable t) { throw new RuntimeException(t); } });}```If bounds statically known for a pointer field/arg:```javaAddressLayout int4Ptr = ADDRESS.withTargetLayout(sequenceLayout(4, JAVA_INT));MemorySegment p = segment.get(int4Ptr, offset); // byteSize() = 16````reinterpret` and `AddressLayout.withTargetLayout` are restricted because wrong bounds/lifetime can corrupt memory/crash JVM.## Structs, arrays, layoutsC:```cstruct Point { int x; int y; } pts[10];```Java layout + var handles:```javastatic final SequenceLayout POINTS = sequenceLayout(10, structLayout( JAVA_INT.withName("x"), JAVA_INT.withName("y") ));static final VarHandle X = POINTS.varHandle(sequenceElement(), groupElement("x"));static final VarHandle Y = POINTS.varHandle(sequenceElement(), groupElement("y"));try (Arena arena = Arena.ofConfined()) { MemorySegment pts = arena.allocate(POINTS); X.set(pts, 0L, 3L, 10); // base offset, sequence index, value int x = (int) X.get(pts, 0L, 3L);}```For C padding/alignment:```java// struct Example { int x; long y; } on many 64-bit ABIsStructLayout EXAMPLE = structLayout( JAVA_INT.withName("x"), paddingLayout(4), JAVA_LONG.withName("y"));```Native linker function descriptors require well-formed layouts. Group layouts must include appropriate padding and satisfy natural alignment/size rules. Packed structs may be rejected by some linkers.## Variadic functionsFFM links specialized non-variadic forms. Use `Linker.Option.firstVariadicArg(index)`.C:```cint printf(const char *format, ...);```Java:```javaMethodHandle printf = LINKER.downcallHandle( LINKER.defaultLookup().findOrThrow("printf"), FunctionDescriptor.of(JAVA_INT, ADDRESS, JAVA_INT, JAVA_INT, JAVA_INT), Linker.Option.firstVariadicArg(1));try (Arena arena = Arena.ofConfined()) { int rc = (int) printf.invokeExact( arena.allocateFrom("%d plus %d equals %d\n"), 2, 2, 4 );}```C default promotions apply conceptually; FFM does not auto-promote. Use promoted layouts for variadic args (`float` → `double`, small ints → `int`). Linker rejects non-promoted variadic layouts depending on platform.## Capturing errnoUse `Linker.Option.captureCallState("errno")` on downcall handle and pass captured-state segment as leading argument to the method handle.```javastatic final Linker.Option CAP_ERRNO = Linker.Option.captureCallState("errno");static final StructLayout CAPTURED = Linker.Option.captureStateLayout();static final VarHandle ERRNO = CAPTURED.varHandle(groupElement("errno"));static final MethodHandle fopen = LINKER.downcallHandle( C.findOrThrow("fopen"), FunctionDescriptor.of(ADDRESS, ADDRESS, ADDRESS), CAP_ERRNO);try (Arena arena = Arena.ofConfined()) { MemorySegment state = arena.allocate(CAPTURED); MemorySegment file = (MemorySegment) fopen.invokeExact( state, arena.allocateFrom("missing.txt"), arena.allocateFrom("r") ); if (file.address() == 0) { int errno = (int) ERRNO.get(state, 0L); }}```Use `strerror(errno)` to convert to message if needed; returned string pointer likely needs `reinterpret(Long.MAX_VALUE).getString(0)` or known bound. This is restricted/unsafe; prefer bounded APIs if available.## Restricted methods and native accessRestricted FFM-related operations:- `Linker.downcallHandle(...)` — signature mismatch is unsafe.- `Linker.upcallStub(...)` — function pointer type/lifetime mismatch is unsafe.- `SymbolLookup.libraryLookup(...)` — loading libraries can execute native code.- `MemorySegment.reinterpret(...)` — changes bounds/lifetime alias.- `AddressLayout.withTargetLayout(...)` — enables pointer dereference sizing.- `ModuleLayer.Controller.enableNativeAccess(...)` — propagates native privilege.Enable native access at run time; FFM itself is final in Java 26, so FFM-only code does not need `--enable-preview`.```bashjavac --release 26 Main.javajava --enable-native-access=ALL-UNNAMED Mainjava --enable-native-access=my.module Main```More selective is better: put FFM code on module path and enable only that module.Control illegal native access:```bashjava --illegal-native-access=allow|warn|deny ...```JDK 24+ default is `warn`; future default expected `deny`.## jextractUse `jextract` when binding nontrivial headers.Obtain: <https://jdk.java.net/jextract/> Source: <https://github.com/openjdk/jextract>Typical:```bashjextract \ -l :/absolute/path/to/libfoo.so \ --output gensrc \ -I /path/to/include \ -t com.example.foo \ /path/to/foo.hjavac -sourcepath gensrc Main.javajava -cp gensrc:. --enable-native-access=ALL-UNNAMED Main```Generated bindings handle many descriptors, layouts, and upcall helpers. Still review ownership/lifetime/error conventions.## Common bugs- Missing `--enable-native-access` → warning or `IllegalCallerException` depending config/JDK.- `invokeExact` args not exact carriers (`int` vs `long`, missing return cast) → `WrongMethodTypeException`.- Using Linux/x64 layout assumptions on Windows/x64 (`long` mismatch).- Mapping `size_t`/`strlen` to `JAVA_INT` on Linux/x64; use `JAVA_LONG` or canonical `size_t` layout.- Guessing C macro constants such as `sysconf` names; use `jextract` or generated constants.- Accessing arena segment after close → `IllegalStateException`.- Passing confined-arena segment to another thread → failure.- Dereferencing zero-length pointer without sizing → `IndexOutOfBoundsException`.- Confusing pointer out-parameter slots (`T**`) with returned handles (`T*`) → native `SQLITE_MISUSE`, crashes, or corrupted state.- Wrong `FunctionDescriptor` → unspecified behavior/JVM crash.- Forgetting C struct padding/alignment → corrupted fields/native call failure.- Upcall stub arena closes while native code still stores callback pointer → dangling function pointer.- Native code stores pointer to arena buffer after arena close → dangling pointer.- Treating unsigned values as signed without conversion.- Assuming Java memory model guarantees for native memory; normal JMM guarantees do not apply to off-heap native segments.- Using `Arena.global()` or `ofAuto()` where deterministic cleanup required.## Decision guide- Small C function, simple signature → hand-code downcall.- Many functions/structs/macros/header churn → `jextract`.- Native returns allocated pointer → wrap with `reinterpret(size, arena, cleanup)` and matching free.- Native writes into caller buffer → allocate in arena, pass segment, read after call.- Native stores callback/buffer past call → allocate with lifetime covering native use; define explicit close/unregister.- Cross-thread native access → shared arena or copy data to heap.+18 / −11 text lines
+12 / −0 text lines
show_distribution_summary = true+133 / −33 text lines
- Environment: $env.VAR (not $VAR). Set with: $env.VAR = value- Redirection: use `| save file` not > file. Use `out>` or `o>` for stdout- External commands: prefix with ^ to run system command- Environment variables: $env.VAR (not $VAR). Set with: $env.VAR = value- $nu contains runtime info: config-path, env-path, current-exe, is-interactive- $env.config contains Nushell configuration- $in is current pipeline input- $it is current row/element in closures like `where` and `each`- Redirection: use `| save file` not `> file`. Use `out>` or `o>` for stdout where appropriate- External commands: prefix with ^ to run system command explicitlyCOMMON EQUIVALENTS:- echo $PATH -> $env.PATH- echo $? -> $env.LAST_EXIT_CODE- cd -> cd (same)- ls -la -> ls --long --all or ls -la- find . -name -> glob **/pattern- grep -> where $it =~ pattern- cat file -> open file- > file -> | save file- >/dev/null -> | ignore- export VAR=x -> $env.VAR = x- $(cmd) -> $(cmd) (same in Nushell)- sed/awk -> str replace, parse, splitBASH -> NUSHELL EQUIVALENTS:- $VAR -> $env.VAR- export VAR=val -> $env.VAR = val- echo $PATH -> $env.PATH- echo $? -> $env.LAST_EXIT_CODE- $(cmd) -> (cmd)- cd -> cd- ls -la -> ls --long --all or ls -la- cat file -> open --raw file- grep pattern -> where $it =~ pattern- find . -name "*.rs" -> ls **/*.rs or glob **/*.rs- [ -f file ] -> $file | path exists- basename path -> $path | path parse | get stem- > file -> | save file- >> file -> | save --append file- >/dev/null -> | ignore- 2>&1 -> o+e>| (external commands only)- sed/awk -> str replace, parse, split, each, reduce, select, update- && / || -> prefer `;`, `try/catch`, `if`, or inspect $env.LAST_EXIT_CODECOMMAND SYNTAX:- Custom commands: def command-name [param: type] { ... }- Aliases: alias name = cmd- For loops: for x in $list { ... }- While: while condition { ... }- Match: match $var { val => ..., _ => ... }- Let + mutate: mut x = 1; $x = 2- Try/catch: try { ... } catch { ... }PIPELINE PATTERNS:- Filter rows: ls | where size > 1mb- Filter dirs: ls | where type == dir- Regex filter: ls | where name =~ "^nu"- Select columns: ls | select name size- Insert computed column: ls | insert big {|row| $row.size > 1mb }- Update column: ls | update name { path parse | get stem }- Iterate list: [1 2 3] | each {|x| $x * 2 }- Filter list: [1 2 3] | where $it > 2- Reduce list: [1 2 3] | reduce {|val acc| $acc + $val }REDIRECTION:- Write file: "hello" | save output.txt- Append file: "hello" | save --append output.txt- Discard output: command | ignore- Redirect stderr from external command: ^external_cmd e>| ignore- Redirect stdout+stderr from external command: ^external_cmd o+e>| ignore- Redirect stdout+stderr to file from external command: ^external_cmd o+e>| error.log- e>| and o+e>| work for external commands only, not internal Nushell commands- For internal command errors, use try/catch instead of stderr redirectionVARIABLES:- Immutable: let x = 10- List: let items = [1 2 3]- Record: let cfg = {theme: dark}- Compile-time constant: const PI = 3.14159- Mutable: mut y = 0; $y = 5- Env path prepend: $env.PATH = ($env.PATH | prepend "/custom")- Do not assign immutable vars with `$x = ...` unless declared `mut`STRINGS:- Literal string: 'hello world'- Escaped string: "hello\nworld"- Interpolation: $"hello, ($name)!"- Raw/no escapes: $'raw string'#- Raw with quotes: r#'can have "quotes"'#DATA TYPES:- int: 42- float: 3.14- bool: true or false- nothing/null: null- list: [1 2 3]- record: {a: 1, b: 2}- table: [{x: 1}, {x: 2}]- filesize: 10mb, 1gb- duration: 5sec, 2min- inclusive range: 1..10- exclusive range: 1..<10FUNCTIONS AND ALIASES:- Custom command: def greet [name: string] { $"Hello, ($name)!" }- Typed args: def add [a: int, b: int] { $a + $b }- Rest args: def sum [...nums: int] { $nums | math sum }- Alias: alias name = cmdCONTROL FLOW:- If: if $cond { "yes" } else { "no" }- Match: match $val { 1 => "one", 2 => "two", _ => "other" }- For loop: for i in 1..10 { print $i }- While loop: while $condition { ... }- Try/catch: try { risky_operation } catch {|err| print $err.msg }- Error: error make "something failed"- Structured error: error make {msg: "failed", help: "try this"}- Catch error record commonly has msg, debug, json fields; no direct code fieldEXTERNAL COMMANDS:- Explicit external: ^ls -la- Explicit external echo: ^echo "hello"- Spread args: let args = ["-la" "*.nu"]; ^ls ...$args- Use ^ when command name may conflict with an internal Nushell commandMODULES:- Define module: module utils { export def add [a: int, b: int] { $a + $b } }- Use exported command: use utils add; add 5 3FILES:- Glob current dir: ls *.nu- Recursive glob: ls **/*.rs- Open parsed structured data: open file.json- Open raw text: open --raw file.txt- Check path exists: "/tmp" | path existsRUNNING NUSHELL:- Run script file: nu script.nu- Run one-liner: nu -c 'ls | where size > 1mb'COMMON MISTAKES TO AVOID:- Do NOT use Bash `2>&1`; use `o+e>|` for external commands- Do NOT use `$err.code`; use `$err.msg` or inspect `$err.json`- Do NOT write `ls | e>| ignore`; internal commands do not support stderr redirection- Do NOT use `$variable` for env vars; use `$env.variable`- Do NOT use `$(cmd)`; use `(cmd)`- Do NOT forget `^` before external commands when ambiguity is possible- Do NOT pipe structured data expecting plain strings; select/get columns explicitly- Do NOT use deprecated `$config`; use `$env.config`- Do NOT assign to immutable vars; use `mut` or `$env.var`- Do NOT use `test -f file`; use `$file | path exists`+25 / −22 text lines
-- Standard 8: content.* + global colors (for syntax, markdown, text) palette.content.backdrop, -- Index 0: BLACK (darkest = background) palette.error, -- Index 1: RED (urgent, non-negotiable) palette.content.focus, -- Index 2: GREEN (active attention) palette.warning, -- Index 3: YELLOW (distracting but ignorable) palette.content.important_local, -- Index 4: BLUE (prominent content) palette.content.accent, -- Index 5: MAGENTA (brand identity) palette.content.unfocus, -- Index 6: CYAN (deepest visible, dim) palette.content.normal, -- Index 7: WHITE (brightest = foreground) -- Predictable ANSI 0-7 for general terminal applications. palette.content.backdrop, -- Index 0: BLACK (terminal background) palette.error, -- Index 1: RED (error) palette.content.focus, -- Index 2: GREEN (success/focus) palette.warning, -- Index 3: YELLOW (warning) palette.content.important_local, -- Index 4: BLUE (link/primary) palette.content.accent, -- Index 5: MAGENTA (accent) palette.info, -- Index 6: CYAN (info) palette.content.normal, -- Index 7: WHITE (terminal foreground) -- Bright 8: ui.* + content.important_global (for chrome, panels, indicators) palette.content.minor, -- Index 8: BRIGHT BLACK (receded content) palette.info, -- Index 9: BRIGHT RED (info, reclaimed from error dup) palette.ui.unfocus, -- Index 10: BRIGHT GREEN (UI dim borders) palette.ui.backdrop, -- Index 11: BRIGHT YELLOW (UI panel backgrounds) palette.content.important_global, -- Index 12: BRIGHT BLUE (most visible content) palette.ui.accent, -- Index 13: BRIGHT MAGENTA (UI brand accent) palette.ui.important_local, -- Index 14: BRIGHT CYAN (UI highlights/selections) palette.ui.important_global, -- Index 15: BRIGHT WHITE (prominent UI) -- Predictable ANSI 8-15. Nugu-specific UI colors live in indexed 16+. palette.content.minor, -- Index 8: BRIGHT BLACK (muted) palette.error, -- Index 9: BRIGHT RED palette.ui.focus, -- Index 10: BRIGHT GREEN palette.warning, -- Index 11: BRIGHT YELLOW palette.content.important_global, -- Index 12: BRIGHT BLUE palette.ui.accent, -- Index 13: BRIGHT MAGENTA palette.ui.important_local, -- Index 14: BRIGHT CYAN palette.ui.important_global, -- Index 15: BRIGHT WHITE -- Arbitrary colors of the palette in the range from 16 to 255 -- Nugu semantic extras for apps explicitly coupled to this palette. [17] = palette.ui.normal, -- nugu semantic: ui.normal [18] = palette.ui.minor, -- nugu semantic: ui.minor [19] = palette.ui.focus, -- nugu semantic: ui.focus [17] = palette.ui.normal, -- nugu semantic: ui.normal [18] = palette.ui.backdrop, -- nugu semantic: ui.backdrop [19] = palette.ui.minor, -- nugu semantic: ui.minor [20] = palette.ui.focus, -- nugu semantic: ui.focus [21] = palette.ui.unfocus, -- nugu semantic: ui.unfocus [22] = palette.content.unfocus, -- nugu semantic: content.unfocus