@ensocode/server 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +117 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/anthropic-messages-MGNURJ72.js +6 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{azure-openai-responses-FSC6BAW3.js → azure-openai-responses-4WDOP7MF.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js +3 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-4KSTFUIK.js +19 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-4UNPP53I.js +55 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-CCYGJPSU.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-4EYXVSA5.js → chunk-FF6XOTWB.js} +9 -9
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-FMPAMX2W.js +82 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-GFUN2N5K.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-C2WU32PX.js → chunk-H4W2F2IO.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-IEBK4HQA.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-EOO47QGR.js → chunk-JLFZH7C6.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-LCB5FO32.js +4 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-GN3QYODH.js → chunk-LQUBM7HF.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-MABPTPMF.js +30 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-MPEFJ3RP.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-EBFHJFEE.js → chunk-PYBKJQVF.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-VKJQ6CME.js +8 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-B46VJEHW.js → chunk-VUPOM3AH.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-3TGLJEWK.js → chunk-WL4TUXY7.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-V6KH5QG4.js → chunk-XM4MQFQV.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-YZKQS34S.js → chunk-Y55SJART.js} +5 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-ZG74NES2.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-ZKNSXGL5.js +1243 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{cli-MCOUW5WS.js → cli-35W4A75E.js} +7 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{cloudflare-workers-ai-system-one-WLAFJSP6.js → cloudflare-workers-ai-system-one-WKRH5HZA.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/codemode-worker.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{easter-egg-3d-WMBNSJ4M.js → easter-egg-3d-GEVPKQF6.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{execute-4CEBORGZ.js → execute-L2EEDV3L.js} +5 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/github-copilot.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{google-generative-ai-INGKNW72.js → google-generative-ai-VSMFCHJU.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{google-vertex-IBTX6MBF.js → google-vertex-35UTLZJN.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{llama-cpp-classify-V5U3QKXI.js → llama-cpp-classify-Z3SS4FP4.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{mistral-conversations-S4OWXIXQ.js → mistral-conversations-LWJTUFIM.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/openai-codex-responses-YYIXDJWF.js +10 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{openai-completions-EJNYB6IX.js → openai-completions-X2I4TQ2L.js} +3 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{openai-decisions-IXI34BYG.js → openai-decisions-GG3FBAIF.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/openai-responses-5CX3GG6R.js +4 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{openrouter-images-PISKSFMS.js → openrouter-images-WHNK2UQG.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{pi-messages-NORUKF4E.js → pi-messages-5CXWY5I7.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{runtime-FQB7RU7U.js → runtime-J5ZSBGTX.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{typesafe-system-one-CHVC2UUI.js → typesafe-system-one-KA2SBSSD.js} +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/virtual-modules-7ZY53V4K.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/cli-runtime.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/index.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/rpc-entry.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-command.js +26 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-login.d.ts +15 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-login.js +232 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-logout.d.ts +14 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-logout.js +57 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-terminal.d.ts +17 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/auth-terminal.js +63 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +3 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.d.ts +5 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.js +7 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +25 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +139 -50
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +3 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js +3 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/cache-warmer.d.ts +4 -37
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/cache-warmer.js +11 -89
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/utils.js +2 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/index.d.ts +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +10 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +1 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js +9 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +28 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts +2 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/mcp-servers.d.ts +12 -37
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/mcp-servers.js +42 -121
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/model-config.d.ts +52 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +20 -19
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/model-runtime.d.ts +5 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/model-runtime.js +11 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts +10 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +50 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/pi-ai-schemas.d.ts +4 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/preferred-providers.d.ts +17 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/preferred-providers.js +24 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js +18 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-composer.js +3 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-matching.d.ts +6 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-matching.js +8 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/radius-mcp.d.ts +13 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/radius-mcp.js +29 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/remote-catalog-provider.js +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/runtime-credentials.d.ts +8 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/runtime-credentials.js +15 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-defaults.d.ts +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-defaults.js +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +35 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.d.ts +23 -14
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.js +182 -41
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +8 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +82 -36
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +5 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +87 -75
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +2 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/powershell.js +15 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +8 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +141 -25
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.d.ts +4 -14
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.js +23 -29
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/execute.js +4 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/tool.js +34 -12
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/llama/client.d.ts +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/llama/client.js +23 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/llama/ui.js +15 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.d.ts +2 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.js +49 -14
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/config.js +4 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/index.js +4 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/oauth.d.ts +11 -49
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/oauth.js +56 -319
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/resources.d.ts +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/resources.js +4 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.d.ts +4 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.js +7 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/tools.d.ts +2 -23
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/tools.js +6 -58
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/extensions/tool-search/tool.js +18 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/index.d.ts +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/main.js +46 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +5 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +12 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +5 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +12 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +5 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js +10 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/diff.js +11 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +9 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +1 -18
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/mermaid.d.ts +2 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/mermaid.js +25 -20
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +14 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +10 -3
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +32 -5
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/provider-brand.d.ts +14 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/provider-brand.js +66 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/radius-login-selector.d.ts +1 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/radius-login-selector.js +6 -37
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +5 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +12 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +1 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +19 -10
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +11 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +110 -63
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +4 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js +19 -10
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +53 -23
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +39 -8
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.d.ts +2 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.js +12 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js +3 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/terminal-question.d.ts +8 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/terminal-question.js +24 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/web-url.d.ts +12 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/utils/web-url.js +20 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/cli.md +14 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md +27 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/keybindings.md +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/llama-cpp.md +4 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/models-configuration.md +6 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/models.md +2 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/prompt-templates.md +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/providers.md +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/rpc.md +4 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/settings.md +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/docs/tui.md +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/gondolin/package-lock.json +2 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/gondolin/package.json +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +23 -13
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/utils.ts +42 -16
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/README.md +14 -11
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +392 -171
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +2 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +1 -1
- package/out/node_modules/@earendil-works/pi-coding-agent/examples/tsconfig.json +63 -35
- package/out/node_modules/@earendil-works/pi-coding-agent/package.json +7 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/schemas/models.schema.json +29 -0
- package/out/node_modules/@earendil-works/pi-coding-agent/schemas/settings.schema.json +1 -1
- package/out/phone/assets/{abnfDiagram-VCTEODGH-CLgfII9z.js → abnfDiagram-VCTEODGH-k76opPl1.js} +1 -1
- package/out/phone/assets/architecture-7GRP2DOG-DFA8x3QF.js +1 -0
- package/out/phone/assets/{architectureDiagram-5GKGNRK7-I2RDn32D.js → architectureDiagram-5GKGNRK7-yxQH9IuZ.js} +1 -1
- package/out/phone/assets/{blockDiagram-I7D4REHJ-D5xNQZkS.js → blockDiagram-I7D4REHJ-DoHteZpO.js} +1 -1
- package/out/phone/assets/{c4Diagram-7LVT6UL2-CRKpzdlA.js → c4Diagram-7LVT6UL2-DQVO6L4q.js} +1 -1
- package/out/phone/assets/channel-BBjWfdZr.js +1 -0
- package/out/phone/assets/{chunk-4HAMMTFA-CcezrqKz.js → chunk-4HAMMTFA-N9Rw4SGW.js} +1 -1
- package/out/phone/assets/{chunk-75Z2AOVW-DDCXp4y1.js → chunk-75Z2AOVW-DKJ8pOxp.js} +1 -1
- package/out/phone/assets/{chunk-DU6HZSFF-CjWveEkB.js → chunk-DU6HZSFF-BqGW8Nbd.js} +1 -1
- package/out/phone/assets/{chunk-F27PBJKO-Bgl_xI02.js → chunk-F27PBJKO-PkFmkghF.js} +1 -1
- package/out/phone/assets/{chunk-GMAD6QVW-EmL8nOme.js → chunk-GMAD6QVW-C9VeD3Jk.js} +1 -1
- package/out/phone/assets/{chunk-GVQU2GXP-Dox_nphF.js → chunk-GVQU2GXP-COhntOeE.js} +1 -1
- package/out/phone/assets/{chunk-IMKFNOWR-BapGpI4S.js → chunk-IMKFNOWR-B87ghLVD.js} +1 -1
- package/out/phone/assets/{chunk-L3NEJ4N5-Cq_UZI8A.js → chunk-L3NEJ4N5-C3N2izjg.js} +1 -1
- package/out/phone/assets/{chunk-OSK3NFVY-2VVlErAd.js → chunk-OSK3NFVY-DaAlvVhz.js} +1 -1
- package/out/phone/assets/{chunk-P2QGCYS3-Cci-G-p1.js → chunk-P2QGCYS3-BQpKr8IZ.js} +1 -1
- package/out/phone/assets/{chunk-POPQ4Y6H-CJ47EOfE.js → chunk-POPQ4Y6H-B2TZMY6U.js} +1 -1
- package/out/phone/assets/{chunk-PWAF6VOD-D9dLdFqC.js → chunk-PWAF6VOD-CgRhpUJy.js} +1 -1
- package/out/phone/assets/{chunk-SHT3W25Y-BlGSiWZn.js → chunk-SHT3W25Y-BySMFA99.js} +1 -1
- package/out/phone/assets/{chunk-SVP7TREG-C0zdsa_A.js → chunk-SVP7TREG-EDGanDUX.js} +1 -1
- package/out/phone/assets/{chunk-TICWLB2K-DAQW8nQU.js → chunk-TICWLB2K-BtCZ8R2k.js} +1 -1
- package/out/phone/assets/classDiagram-ZZMXUADV-CXXjdIIU.js +1 -0
- package/out/phone/assets/classDiagram-v2-VYDZK3BY-CXXjdIIU.js +1 -0
- package/out/phone/assets/{cynefin-OW5HDTMX-_zsx5mdV.js → cynefin-OW5HDTMX-CdZmp44V.js} +1 -1
- package/out/phone/assets/{cynefinDiagram-5FMLGOSQ-Cww-w0ex.js → cynefinDiagram-5FMLGOSQ-BCz9KwUb.js} +1 -1
- package/out/phone/assets/{dagre-GXQ25YYZ-C0i7DPqX.js → dagre-GXQ25YYZ-CgFeNgh6.js} +1 -1
- package/out/phone/assets/desk-C_b7mE6l.js +2 -0
- package/out/phone/assets/{diagram-S7CK7UJ4-Bx-G5hYz.js → diagram-S7CK7UJ4-CwvaZIBf.js} +1 -1
- package/out/phone/assets/{diagram-UQ7AKVKN-DaTblkjV.js → diagram-UQ7AKVKN-DqnD4XoZ.js} +1 -1
- package/out/phone/assets/{diagram-VSXAHHWV-gmN2e1b4.js → diagram-VSXAHHWV-Kqc9GudQ.js} +1 -1
- package/out/phone/assets/{diagram-VX7I27RA-WYtRtOo8.js → diagram-VX7I27RA-B_0DLDQ0.js} +1 -1
- package/out/phone/assets/{diagram-Z3DM3KII-Cr6uUB5B.js → diagram-Z3DM3KII-CppKBEPW.js} +1 -1
- package/out/phone/assets/{ebnfDiagram-PWID7BFC-BCicfvpA.js → ebnfDiagram-PWID7BFC-DeYPNCu9.js} +1 -1
- package/out/phone/assets/{erDiagram-RLTQ6QDP-B3QlJvfQ.js → erDiagram-RLTQ6QDP-MsfxDUmk.js} +1 -1
- package/out/phone/assets/eventmodeling-NTZA5JFV-D4a6gbOs.js +1 -0
- package/out/phone/assets/flowDiagram-HODETNUW-BBTtB5oX.js +1 -0
- package/out/phone/assets/{ganttDiagram-EL5Y4UJY-LYy2mfCh.js → ganttDiagram-EL5Y4UJY-DaScS1os.js} +1 -1
- package/out/phone/assets/{gitGraph-4MIJSDKK-dT22Z2jG.js → gitGraph-4MIJSDKK-C-FzqpZm.js} +1 -1
- package/out/phone/assets/{gitGraphDiagram-WWUBYQGX-DHNdY57l.js → gitGraphDiagram-WWUBYQGX-4Yv-hAwf.js} +1 -1
- package/out/phone/assets/{info-A6RAGUB7-nIu8NSOs.js → info-A6RAGUB7-CGLEP4t7.js} +1 -1
- package/out/phone/assets/{infoDiagram-27XIBGKW-DGkWZIMT.js → infoDiagram-27XIBGKW-DapEgYQa.js} +1 -1
- package/out/phone/assets/{ishikawaDiagram-5VMMS53U-C8EPXru-.js → ishikawaDiagram-5VMMS53U-D1B2lZSG.js} +1 -1
- package/out/phone/assets/{journeyDiagram-3NMN7TZE-Dyd9L3l3.js → journeyDiagram-3NMN7TZE-BSAtMVJw.js} +1 -1
- package/out/phone/assets/{kanban-definition-UXKFOSKX-DehTYcsL.js → kanban-definition-UXKFOSKX-CfZ4oI7A.js} +1 -1
- package/out/phone/assets/{line-Db4SulF4.js → line-DAXmUM4p.js} +1 -1
- package/out/phone/assets/main-B0yD1pMI.js +1643 -0
- package/out/phone/assets/main-DNRbLxEx.css +1 -0
- package/out/phone/assets/{mermaid-parser.core-D7h_8WV8.js → mermaid-parser.core-IObm7oM0.js} +3 -3
- package/out/phone/assets/{mermaid.core-Dw_E5kj4.js → mermaid.core-C1wA-mhD.js} +4 -4
- package/out/phone/assets/{mindmap-definition-YA3MSWOX-_5Mxqxsy.js → mindmap-definition-YA3MSWOX-3ph0EaB9.js} +1 -1
- package/out/phone/assets/{packet-AYTQ26CC-_cgeMDdN.js → packet-AYTQ26CC-BbDAe9Au.js} +1 -1
- package/out/phone/assets/{pegDiagram-XKGWAZYB-BhBwaNEr.js → pegDiagram-XKGWAZYB-EsuDcX_3.js} +1 -1
- package/out/phone/assets/{pie-WAS4IAKB-BepY80_0.js → pie-WAS4IAKB-BQfIj1fu.js} +1 -1
- package/out/phone/assets/{pieDiagram-E7YTZNPT-CQQgqmI8.js → pieDiagram-E7YTZNPT-Cw19z5Ip.js} +1 -1
- package/out/phone/assets/{quadrantDiagram-AXDQQJYC-DEEatC1J.js → quadrantDiagram-AXDQQJYC-Bqwz_sa8.js} +1 -1
- package/out/phone/assets/{radar-RG4KPBEZ-BqsiI_qQ.js → radar-RG4KPBEZ-Dmp-89iD.js} +1 -1
- package/out/phone/assets/{railroad-74A4TZTK-C_2pEUjD.js → railroad-74A4TZTK-dq2H8w8Y.js} +1 -1
- package/out/phone/assets/railroad-abnf-HS5TGJTU-DddVaVQM.js +1 -0
- package/out/phone/assets/railroad-ebnf-LZEXJU2U-BjvyqMjh.js +1 -0
- package/out/phone/assets/railroad-peg-WCYAUIDC-lBl4CV1_.js +1 -0
- package/out/phone/assets/{railroadDiagram-O6MQD6OU-B7786u7W.js → railroadDiagram-O6MQD6OU-D2Sbc7Wn.js} +1 -1
- package/out/phone/assets/{requirementDiagram-BXWQKSXE-Ci3b5uwm.js → requirementDiagram-BXWQKSXE-CLNUqxbl.js} +1 -1
- package/out/phone/assets/{sankeyDiagram-P5KCCOFB-PwT2gJjH.js → sankeyDiagram-P5KCCOFB-Dme5iwcw.js} +1 -1
- package/out/phone/assets/{sequenceDiagram-WJ2MYXX4-H6sgB5RI.js → sequenceDiagram-WJ2MYXX4-C5dYSwPE.js} +1 -1
- package/out/phone/assets/{stateDiagram-D77RDMKH-BxyRe7OB.js → stateDiagram-D77RDMKH-BuxkPvJ6.js} +1 -1
- package/out/phone/assets/stateDiagram-v2-MP3YSRHH-Exd8xDBD.js +1 -0
- package/out/phone/assets/storage-p-WxHA1h.js +1 -0
- package/out/phone/assets/{swimlanes-42K2YHIH-DWT3f1Hk.js → swimlanes-42K2YHIH-DHyXnytv.js} +1 -1
- package/out/phone/assets/swimlanesDiagram-VR7AAH4N-B62_42fO.js +8 -0
- package/out/phone/assets/{timeline-definition-24CTP7MA-D67esSVY.js → timeline-definition-24CTP7MA-Bm8Z0u2Z.js} +1 -1
- package/out/phone/assets/{treeView-Q6P3EWNA-BTIfu3Qr.js → treeView-Q6P3EWNA-DFUxvDDO.js} +1 -1
- package/out/phone/assets/{treemap-WGGIJYW6-DkPf6LQc.js → treemap-WGGIJYW6-CMC-hwzt.js} +1 -1
- package/out/phone/assets/{vennDiagram-4TSXK5OY-DRMRxJ4f.js → vennDiagram-4TSXK5OY-CNL4gZsd.js} +1 -1
- package/out/phone/assets/{wardley-WFR3VGLG-hOvC_8-W.js → wardley-WFR3VGLG-CHQoq9KJ.js} +1 -1
- package/out/phone/assets/{wardleyDiagram-VM6X3IG4-a5aYRgrw.js → wardleyDiagram-VM6X3IG4-DAuBfK1O.js} +1 -1
- package/out/phone/assets/{xychartDiagram-S5SC5T6Z-DXjoRFDL.js → xychartDiagram-S5SC5T6Z-B2T9ECKd.js} +1 -1
- package/out/phone/desk.html +2 -2
- package/out/phone/index.html +3 -3
- package/out/renderer/assets/{abnfDiagram-VCTEODGH-DhskujJf.js → abnfDiagram-VCTEODGH-gdhrQbX6.js} +1 -1
- package/out/renderer/assets/{arc-BcW67t47.js → arc-D6-Q4l2d.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-5GKGNRK7-D-x057Ia.js → architectureDiagram-5GKGNRK7-C4y0SbLT.js} +1 -1
- package/out/renderer/assets/{blockDiagram-I7D4REHJ-DR3sZkhW.js → blockDiagram-I7D4REHJ-DrsoSFRK.js} +1 -1
- package/out/renderer/assets/{c4Diagram-7LVT6UL2-CQ4lScWs.js → c4Diagram-7LVT6UL2-1DD8BlM8.js} +1 -1
- package/out/renderer/assets/channel-Sck-tAAK.js +1 -0
- package/out/renderer/assets/{chunk-2Q5K7J3B-CtT0yqF3.js → chunk-2Q5K7J3B-DRyc0B7g.js} +1 -1
- package/out/renderer/assets/{chunk-5VM5RSS4-DlCfddrY.js → chunk-5VM5RSS4-BJe8SghE.js} +1 -1
- package/out/renderer/assets/{chunk-F27PBJKO-BAJ5dGzo.js → chunk-F27PBJKO-BIipq4SK.js} +1 -1
- package/out/renderer/assets/{chunk-IMKFNOWR-Dlah_YbP.js → chunk-IMKFNOWR-D5Ak3Xd9.js} +1 -1
- package/out/renderer/assets/{chunk-JWPE2WC7-BiXd3nUZ.js → chunk-JWPE2WC7-BcaWCpW-.js} +1 -1
- package/out/renderer/assets/{chunk-POPQ4Y6H-Ch86i4EJ.js → chunk-POPQ4Y6H-C1TwLrrN.js} +1 -1
- package/out/renderer/assets/{chunk-SVP7TREG-z3inDV-H.js → chunk-SVP7TREG-DDOXG_t3.js} +1 -1
- package/out/renderer/assets/{chunk-TICWLB2K-B34A2AKD.js → chunk-TICWLB2K-BqT15hZi.js} +1 -1
- package/out/renderer/assets/{chunk-XXDRQBXY-Do_L0wRR.js → chunk-XXDRQBXY-D01ts6SC.js} +1 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-DnB4QNNe.js +1 -0
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-DnB4QNNe.js +1 -0
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-BQraKmgl.js → cose-bilkent-JH36ORCC-C7NVrT2_.js} +1 -1
- package/out/renderer/assets/{cynefin-OW5HDTMX-BwixoR4r.js → cynefin-OW5HDTMX-2LxdFmSk.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-5FMLGOSQ-BLTBma3J.js → cynefinDiagram-5FMLGOSQ-_AN_Mulc.js} +1 -1
- package/out/renderer/assets/{cytoscape-fcose-BRpJ5tyq.js → cytoscape-fcose-COZkZZmX.js} +1 -1
- package/out/renderer/assets/{dagre-GXQ25YYZ-aWsjA_wn.js → dagre-GXQ25YYZ-BUTwlM6j.js} +1 -1
- package/out/renderer/assets/{diagram-S7CK7UJ4-Cur2zK4q.js → diagram-S7CK7UJ4-CseZZ-y2.js} +1 -1
- package/out/renderer/assets/{diagram-UQ7AKVKN-DlrY8YcD.js → diagram-UQ7AKVKN-Cb7llS-8.js} +1 -1
- package/out/renderer/assets/{diagram-VSXAHHWV-BBdjreqR.js → diagram-VSXAHHWV-CtuGqQvp.js} +1 -1
- package/out/renderer/assets/{diagram-VX7I27RA-XiWMdc8S.js → diagram-VX7I27RA-BA8eov-1.js} +1 -1
- package/out/renderer/assets/{diagram-Z3DM3KII-CBB5leat.js → diagram-Z3DM3KII-VZOjj6Hg.js} +1 -1
- package/out/renderer/assets/{ebnfDiagram-PWID7BFC-nl8RPo8j.js → ebnfDiagram-PWID7BFC-YBIrle6d.js} +1 -1
- package/out/renderer/assets/{erDiagram-RLTQ6QDP-C_oaG80x.js → erDiagram-RLTQ6QDP-BiKyPEqW.js} +1 -1
- package/out/renderer/assets/{flowDiagram-HODETNUW-nDoVZFS7.js → flowDiagram-HODETNUW-7wmZyLHw.js} +1 -1
- package/out/renderer/assets/{ganttDiagram-EL5Y4UJY-DOrcuM3Q.js → ganttDiagram-EL5Y4UJY-D4j4GJaT.js} +1 -1
- package/out/renderer/assets/{gitGraphDiagram-WWUBYQGX-D_DB3jro.js → gitGraphDiagram-WWUBYQGX-BqveM1NI.js} +1 -1
- package/out/renderer/assets/globals-C9M_MZZV.js +2539 -0
- package/out/renderer/assets/globals-l3kDGoYH.css +1 -0
- package/out/renderer/assets/index-BzSTiwH2.js +117 -0
- package/out/renderer/assets/{infoDiagram-27XIBGKW-BbBrANxo.js → infoDiagram-27XIBGKW-DLPLnIFP.js} +1 -1
- package/out/renderer/assets/{ishikawaDiagram-5VMMS53U-7UlfWlWV.js → ishikawaDiagram-5VMMS53U-48drIAMR.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-3NMN7TZE-CJP9bosH.js → journeyDiagram-3NMN7TZE-vjigqUq_.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UXKFOSKX-D772kW7T.js → kanban-definition-UXKFOSKX-CpsYVONZ.js} +1 -1
- package/out/renderer/assets/{layout-BzVfJEvx.js → layout-DqfoORoO.js} +1 -1
- package/out/renderer/assets/{linear-DBjhr05m.js → linear-CJzBBHcp.js} +1 -1
- package/out/renderer/assets/{mermaid.core-CJpNSowm.js → mermaid.core-DdrGP-Hn.js} +5 -5
- package/out/renderer/assets/{mindmap-definition-YA3MSWOX-C2oqlH5E.js → mindmap-definition-YA3MSWOX-D68tLNxp.js} +1 -1
- package/out/renderer/assets/{pegDiagram-XKGWAZYB-CcZ8Hae-.js → pegDiagram-XKGWAZYB-DkgLTcrv.js} +1 -1
- package/out/renderer/assets/{pieDiagram-E7YTZNPT-DTw-_k2D.js → pieDiagram-E7YTZNPT-bz5NuX1w.js} +1 -1
- package/out/renderer/assets/{quadrantDiagram-AXDQQJYC-D5eX0DO7.js → quadrantDiagram-AXDQQJYC-o_VKLyJA.js} +1 -1
- package/out/renderer/assets/{railroadDiagram-O6MQD6OU-DzpBB_Re.js → railroadDiagram-O6MQD6OU-Dkf03e07.js} +1 -1
- package/out/renderer/assets/{requirementDiagram-BXWQKSXE-UbOUXLgl.js → requirementDiagram-BXWQKSXE-CBUz_3YU.js} +1 -1
- package/out/renderer/assets/{sankeyDiagram-P5KCCOFB-jRbXLLsa.js → sankeyDiagram-P5KCCOFB-B0pjUr9g.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-WJ2MYXX4-s0WBQQPf.js → sequenceDiagram-WJ2MYXX4-ClugIL0e.js} +1 -1
- package/out/renderer/assets/settings-DvhrDn2q.js +34 -0
- package/out/renderer/assets/{sizeCapture-INFHLROL-DvUs5rDx.js → sizeCapture-INFHLROL-D6y0rctc.js} +1 -1
- package/out/renderer/assets/{stateDiagram-D77RDMKH-C1_V497y.js → stateDiagram-D77RDMKH-DiftQepS.js} +1 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-DxB2-9tl.js +1 -0
- package/out/renderer/assets/{swimlanes-42K2YHIH-BulPeZ6y.js → swimlanes-42K2YHIH-DhuTjCNj.js} +1 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-CYDUqExO.js +8 -0
- package/out/renderer/assets/{timeline-definition-24CTP7MA-gQ5OygZn.js → timeline-definition-24CTP7MA-CrXqgptd.js} +1 -1
- package/out/renderer/assets/{vennDiagram-4TSXK5OY-A8QyA5Ix.js → vennDiagram-4TSXK5OY-CDm8SO8U.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-VM6X3IG4-CfP6E41T.js → wardleyDiagram-VM6X3IG4-CxyunHwQ.js} +1 -1
- package/out/renderer/assets/{xychartDiagram-S5SC5T6Z-DTG5UHh7.js → xychartDiagram-S5SC5T6Z-CvC5YMSy.js} +1 -1
- package/out/renderer/index.html +3 -3
- package/out/renderer/plugin-view.html +39 -0
- package/out/renderer/settings.html +4 -4
- package/out/renderer/web-preload.js +1 -1
- package/out/server/agent.js +2022 -860
- package/out/server/chunks/{agent-BhQn6jGA.js → agent-_G_O-Cpa.js} +359 -227
- package/out/server/chunks/{gpuBackendInstall-CdExgjGi.js → gpuBackendInstall-Cb6TFh_8.js} +11 -9
- package/out/server/chunks/{loadProvider-BnkyjMSW.js → loadProvider-Be9Lu1Oi.js} +7 -20
- package/out/server/chunks/{manifest-2odvnxjZ.js → manifest-CB63GQ-i.js} +129 -6
- package/out/server/chunks/{workflowPresets-DqSsjOj6.js → workflowPresets-Djlp5LPV.js} +4004 -2054
- package/out/server/index.js +8251 -6660
- package/out/server/plugin-host.js +36 -26
- package/package.json +10 -10
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/anthropic-messages-BWGCKOF4.js +0 -6
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-44DLKSKE.js +0 -1234
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-62VOPMLK.js +0 -65
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-7O7QKK6A.js +0 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-CHWNPHIS.js +0 -82
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-NL4X6LBY.js +0 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-NZY7EIPA.js +0 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-R2EGYMOO.js +0 -7
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-UKVNB6C4.js +0 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-USJZMAIR.js +0 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-VOLAXWGI.js +0 -2
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/openai-codex-responses-QAWLOQSN.js +0 -10
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/openai-responses-MD3562FB.js +0 -4
- package/out/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/virtual-modules-O76XM3OB.js +0 -2
- package/out/phone/assets/architecture-7GRP2DOG-CQOPTv6S.js +0 -1
- package/out/phone/assets/channel-DdXebl9x.js +0 -1
- package/out/phone/assets/classDiagram-ZZMXUADV-BCctWEp1.js +0 -1
- package/out/phone/assets/classDiagram-v2-VYDZK3BY-BCctWEp1.js +0 -1
- package/out/phone/assets/desk-mfuEW2n4.js +0 -2
- package/out/phone/assets/eventmodeling-NTZA5JFV-BtfapP6M.js +0 -1
- package/out/phone/assets/flowDiagram-HODETNUW-BsyiyBtD.js +0 -1
- package/out/phone/assets/main-Dv9ve8mT.css +0 -1
- package/out/phone/assets/main-uMMbioCA.js +0 -1638
- package/out/phone/assets/railroad-abnf-HS5TGJTU-TmODpceI.js +0 -1
- package/out/phone/assets/railroad-ebnf-LZEXJU2U-BTCjNR9u.js +0 -1
- package/out/phone/assets/railroad-peg-WCYAUIDC-DjhKNo8j.js +0 -1
- package/out/phone/assets/stateDiagram-v2-MP3YSRHH-Cncmf_cL.js +0 -1
- package/out/phone/assets/storage-D9RW_4__.js +0 -1
- package/out/phone/assets/swimlanesDiagram-VR7AAH4N-DAahG4fH.js +0 -8
- package/out/renderer/assets/channel-CudRig7z.js +0 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-DL20WkD0.js +0 -1
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-DL20WkD0.js +0 -1
- package/out/renderer/assets/globals-Bkw7iiQG.css +0 -1
- package/out/renderer/assets/globals-D1ocHHQV.js +0 -2533
- package/out/renderer/assets/index-Cm5iq85v.js +0 -117
- package/out/renderer/assets/settings-DxYo7s4h.js +0 -34
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-C9dfLXR8.js +0 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-LXwy6qGO.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ApiKeyAuth, AuthCheck, OAuthAuth } from "@earendil-works/pi-ai";
|
|
2
|
-
import { Container, type Focusable } from "@earendil-works/pi-tui";
|
|
2
|
+
import { Container, type Focusable, type TUI } from "@earendil-works/pi-tui";
|
|
3
3
|
export type AuthSelectorProvider = {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -16,7 +16,8 @@ export declare function formatAuthSelectorProviderType(authType: AuthSelectorPro
|
|
|
16
16
|
/** Themed suffix describing whether and how a login option is configured, for example " ✓ configured". */
|
|
17
17
|
export declare function formatAuthSelectorProviderStatus(provider: AuthSelectorProvider): string;
|
|
18
18
|
/**
|
|
19
|
-
* Component that renders an auth provider selector
|
|
19
|
+
* Component that renders an auth provider selector. With `tui`, the selected row of a preferred partner provider
|
|
20
|
+
* shows its animated brand style.
|
|
20
21
|
*/
|
|
21
22
|
export declare class OAuthSelectorComponent extends Container implements Focusable {
|
|
22
23
|
readonly capturesViewportInput: boolean;
|
|
@@ -32,7 +33,13 @@ export declare class OAuthSelectorComponent extends Container implements Focusab
|
|
|
32
33
|
private onSelectCallback;
|
|
33
34
|
private onCancelCallback;
|
|
34
35
|
private showAuthTypeLabels;
|
|
35
|
-
|
|
36
|
+
private readonly animationStart;
|
|
37
|
+
private stopAnimation;
|
|
38
|
+
constructor(mode: "login" | "logout", providers: AuthSelectorProvider[], onSelect: (providerId: string, authType: AuthSelectorProvider["authType"]) => void, onCancel: () => void, initialSearchInput?: string, tui?: TUI);
|
|
39
|
+
render(width: number): string[];
|
|
40
|
+
/** Stops the brand animation. */
|
|
41
|
+
dispose(): void;
|
|
42
|
+
private getSelectedBrandStyle;
|
|
36
43
|
private filterProviders;
|
|
37
44
|
private updateList;
|
|
38
45
|
handleInput(keyData: string): void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Container, fuzzyFilter, getKeybindings, getSelectPageIndex, Input, Spacer, TruncatedText, } from "@earendil-works/pi-tui";
|
|
2
|
+
import { isPreferredProvider } from "../../../core/preferred-providers.js";
|
|
2
3
|
import { theme } from "../theme/theme.js";
|
|
3
4
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
5
|
+
import { getProviderBrandStyle, startBrandAnimation } from "./provider-brand.js";
|
|
4
6
|
export function formatAuthSelectorProviderType(authType, subscription) {
|
|
5
7
|
if (authType === "api_key")
|
|
6
8
|
return "API key";
|
|
@@ -26,7 +28,8 @@ export function formatAuthSelectorProviderStatus(provider) {
|
|
|
26
28
|
}
|
|
27
29
|
const MAX_VISIBLE = 8;
|
|
28
30
|
/**
|
|
29
|
-
* Component that renders an auth provider selector
|
|
31
|
+
* Component that renders an auth provider selector. With `tui`, the selected row of a preferred partner provider
|
|
32
|
+
* shows its animated brand style.
|
|
30
33
|
*/
|
|
31
34
|
export class OAuthSelectorComponent extends Container {
|
|
32
35
|
capturesViewportInput = true;
|
|
@@ -48,7 +51,9 @@ export class OAuthSelectorComponent extends Container {
|
|
|
48
51
|
onSelectCallback;
|
|
49
52
|
onCancelCallback;
|
|
50
53
|
showAuthTypeLabels;
|
|
51
|
-
|
|
54
|
+
animationStart = performance.now();
|
|
55
|
+
stopAnimation;
|
|
56
|
+
constructor(mode, providers, onSelect, onCancel, initialSearchInput, tui) {
|
|
52
57
|
super();
|
|
53
58
|
this.mode = mode;
|
|
54
59
|
this.allProviders = providers;
|
|
@@ -83,6 +88,23 @@ export class OAuthSelectorComponent extends Container {
|
|
|
83
88
|
this.addChild(new DynamicBorder());
|
|
84
89
|
// Initial render
|
|
85
90
|
this.filterProviders(initialSearchInput ?? "");
|
|
91
|
+
if (tui)
|
|
92
|
+
this.stopAnimation = startBrandAnimation(tui, () => this.getSelectedBrandStyle() !== undefined);
|
|
93
|
+
}
|
|
94
|
+
render(width) {
|
|
95
|
+
// The list is built from styled text, so an animated row needs a rebuild for each frame.
|
|
96
|
+
if (this.stopAnimation && this.getSelectedBrandStyle())
|
|
97
|
+
this.updateList();
|
|
98
|
+
return super.render(width);
|
|
99
|
+
}
|
|
100
|
+
/** Stops the brand animation. */
|
|
101
|
+
dispose() {
|
|
102
|
+
this.stopAnimation?.();
|
|
103
|
+
this.stopAnimation = undefined;
|
|
104
|
+
}
|
|
105
|
+
getSelectedBrandStyle() {
|
|
106
|
+
const selectedProvider = this.filteredProviders[this.selectedIndex];
|
|
107
|
+
return selectedProvider && getProviderBrandStyle(selectedProvider.id);
|
|
86
108
|
}
|
|
87
109
|
filterProviders(query) {
|
|
88
110
|
this.filteredProviders = query
|
|
@@ -101,18 +123,23 @@ export class OAuthSelectorComponent extends Container {
|
|
|
101
123
|
continue;
|
|
102
124
|
const isSelected = i === this.selectedIndex;
|
|
103
125
|
const statusIndicator = formatAuthSelectorProviderStatus(provider);
|
|
126
|
+
// U+2726 is single-width in every terminal, unlike star emoji or ambiguous-width symbols such as U+2605.
|
|
127
|
+
const partnerMarker = isPreferredProvider(provider.id) ? theme.fg("muted", " ✦") : "";
|
|
104
128
|
const authTypeLabel = this.showAuthTypeLabels
|
|
105
129
|
? theme.fg("muted", ` [${formatAuthSelectorProviderType(provider.authType, provider.subscription)}]`)
|
|
106
130
|
: "";
|
|
107
131
|
let line = "";
|
|
108
132
|
if (isSelected) {
|
|
109
133
|
const prefix = theme.fg("accent", "→ ");
|
|
110
|
-
const
|
|
111
|
-
|
|
134
|
+
const brandStyle = this.stopAnimation && getProviderBrandStyle(provider.id);
|
|
135
|
+
const text = brandStyle
|
|
136
|
+
? brandStyle(provider.name, performance.now() - this.animationStart)
|
|
137
|
+
: theme.fg("accent", provider.name);
|
|
138
|
+
line = prefix + text + partnerMarker + authTypeLabel + statusIndicator;
|
|
112
139
|
}
|
|
113
140
|
else {
|
|
114
141
|
const text = ` ${theme.fg("text", provider.name)}`;
|
|
115
|
-
line = text + authTypeLabel + statusIndicator;
|
|
142
|
+
line = text + partnerMarker + authTypeLabel + statusIndicator;
|
|
116
143
|
}
|
|
117
144
|
this.listContainer.addChild(new TruncatedText(line, 1, 0));
|
|
118
145
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animated brand styles for the names of preferred partner providers in selectors: Radius shimmers in its logo
|
|
3
|
+
* colors and OpenRouter glows in its brand color. Selectors apply them to the selected row only.
|
|
4
|
+
*/
|
|
5
|
+
import { type TUI } from "@earendil-works/pi-tui";
|
|
6
|
+
/** Colors `text` for animation time `elapsedMs`. */
|
|
7
|
+
export type ProviderBrandStyle = (text: string, elapsedMs: number) => string;
|
|
8
|
+
/** The animated style of a provider's name, or `undefined` when the provider has none. */
|
|
9
|
+
export declare function getProviderBrandStyle(providerId: string): ProviderBrandStyle | undefined;
|
|
10
|
+
/** Colors `text` with the Radius logo colors flowing left to right. */
|
|
11
|
+
export declare function radiusShimmer(text: string, elapsedMs: number): string;
|
|
12
|
+
/** Re-renders `tui` every animation frame while `isAnimating()` holds; returns the function that stops it. */
|
|
13
|
+
export declare function startBrandAnimation(tui: TUI, isAnimating: () => boolean): () => void;
|
|
14
|
+
//# sourceMappingURL=provider-brand.d.ts.map
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animated brand styles for the names of preferred partner providers in selectors: Radius shimmers in its logo
|
|
3
|
+
* colors and OpenRouter glows in its brand color. Selectors apply them to the selected row only.
|
|
4
|
+
*/
|
|
5
|
+
import { foregroundAnsi, mixColors, parseColor } from "@earendil-works/pi-tui";
|
|
6
|
+
import { RADIUS_PROVIDER_ID } from "../../../core/radius.js";
|
|
7
|
+
import { theme } from "../theme/theme.js";
|
|
8
|
+
/** The animated style of a provider's name, or `undefined` when the provider has none. */
|
|
9
|
+
export function getProviderBrandStyle(providerId) {
|
|
10
|
+
if (providerId === RADIUS_PROVIDER_ID)
|
|
11
|
+
return radiusShimmer;
|
|
12
|
+
if (providerId === "openrouter")
|
|
13
|
+
return openRouterGlow;
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
/** The four colors of the Radius logo, in the order they stream across the text. */
|
|
17
|
+
const RADIUS_COLORS = ["#4d9abf", "#83ccd2", "#f1be57", "#f09082"].map((hex) => parseColor(hex));
|
|
18
|
+
/** Width of each color band, in characters. */
|
|
19
|
+
const CHARS_PER_COLOR = 4;
|
|
20
|
+
const CHARS_PER_SECOND = 10;
|
|
21
|
+
/** Colors `text` with the Radius logo colors flowing left to right. */
|
|
22
|
+
export function radiusShimmer(text, elapsedMs) {
|
|
23
|
+
const mode = theme.getColorMode();
|
|
24
|
+
const cycle = RADIUS_COLORS.length * CHARS_PER_COLOR;
|
|
25
|
+
const offset = (elapsedMs / 1000) * CHARS_PER_SECOND;
|
|
26
|
+
let result = "";
|
|
27
|
+
let index = 0;
|
|
28
|
+
for (const char of text) {
|
|
29
|
+
const position = (((index - offset) % cycle) + cycle) % cycle;
|
|
30
|
+
const band = Math.floor(position / CHARS_PER_COLOR);
|
|
31
|
+
const t = position / CHARS_PER_COLOR - band;
|
|
32
|
+
// Smoothstep keeps each band recognizable while still blending into the next one.
|
|
33
|
+
const amount = t * t * (3 - 2 * t);
|
|
34
|
+
const from = RADIUS_COLORS[band];
|
|
35
|
+
const to = RADIUS_COLORS[(band + 1) % RADIUS_COLORS.length];
|
|
36
|
+
result += foregroundAnsi(mixColors(from, to, amount, "srgb"), mode) + char;
|
|
37
|
+
index++;
|
|
38
|
+
}
|
|
39
|
+
return `${result}\x1b[39m`;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* OpenRouter's brand colors per theme appearance: lime on dark backgrounds, violet on light ones, where lime would
|
|
43
|
+
* be unreadable. The glow breathes between `base` and the brighter `peak`.
|
|
44
|
+
*/
|
|
45
|
+
const OPENROUTER_GLOW = {
|
|
46
|
+
dark: { base: parseColor("#c6f243"), peak: parseColor("#efffb0") },
|
|
47
|
+
light: { base: parseColor("#5d32e1"), peak: parseColor("#8f6bff") },
|
|
48
|
+
};
|
|
49
|
+
const GLOW_PERIOD_MS = 2400;
|
|
50
|
+
/** Colors `text` in OpenRouter's brand color, slowly brightening and dimming. */
|
|
51
|
+
function openRouterGlow(text, elapsedMs) {
|
|
52
|
+
const { base, peak } = OPENROUTER_GLOW[theme.appearance];
|
|
53
|
+
const amount = (1 - Math.cos((2 * Math.PI * elapsedMs) / GLOW_PERIOD_MS)) / 2;
|
|
54
|
+
return `${foregroundAnsi(mixColors(base, peak, amount, "oklch"), theme.getColorMode())}${text}\x1b[39m`;
|
|
55
|
+
}
|
|
56
|
+
const ANIMATION_FRAME_MS = 50;
|
|
57
|
+
/** Re-renders `tui` every animation frame while `isAnimating()` holds; returns the function that stops it. */
|
|
58
|
+
export function startBrandAnimation(tui, isAnimating) {
|
|
59
|
+
const timer = setInterval(() => {
|
|
60
|
+
if (isAnimating())
|
|
61
|
+
tui.requestRender();
|
|
62
|
+
}, ANIMATION_FRAME_MS);
|
|
63
|
+
timer.unref?.();
|
|
64
|
+
return () => clearInterval(timer);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=provider-brand.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The `/login` menu with the animated "Sign in with Radius" option. Internal to the interactive mode
|
|
3
|
-
* is Radius-only and is not exposed to other selectors.
|
|
2
|
+
* The `/login` menu with the animated "Sign in with Radius" option. Internal to the interactive mode.
|
|
4
3
|
*/
|
|
5
4
|
import { type TUI } from "@earendil-works/pi-tui";
|
|
6
5
|
import { ExtensionSelectorComponent } from "./extension-selector.ts";
|
|
@@ -1,36 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The `/login` menu with the animated "Sign in with Radius" option. Internal to the interactive mode
|
|
3
|
-
* is Radius-only and is not exposed to other selectors.
|
|
2
|
+
* The `/login` menu with the animated "Sign in with Radius" option. Internal to the interactive mode.
|
|
4
3
|
*/
|
|
5
|
-
import {
|
|
4
|
+
import { Text } from "@earendil-works/pi-tui";
|
|
6
5
|
import { theme } from "../theme/theme.js";
|
|
7
6
|
import { ExtensionSelectorComponent } from "./extension-selector.js";
|
|
8
|
-
|
|
9
|
-
const RADIUS_COLORS = ["#4d9abf", "#83ccd2", "#f1be57", "#f09082"].map((hex) => parseColor(hex));
|
|
10
|
-
/** Width of each color band, in characters. */
|
|
11
|
-
const CHARS_PER_COLOR = 4;
|
|
12
|
-
const CHARS_PER_SECOND = 10;
|
|
13
|
-
const ANIMATION_FRAME_MS = 50;
|
|
14
|
-
/** Color `text` with the Radius logo colors flowing left to right; `elapsedMs` is the animation time. */
|
|
15
|
-
function radiusShimmer(text, elapsedMs) {
|
|
16
|
-
const mode = theme.getColorMode();
|
|
17
|
-
const cycle = RADIUS_COLORS.length * CHARS_PER_COLOR;
|
|
18
|
-
const offset = (elapsedMs / 1000) * CHARS_PER_SECOND;
|
|
19
|
-
let result = "";
|
|
20
|
-
let index = 0;
|
|
21
|
-
for (const char of text) {
|
|
22
|
-
const position = (((index - offset) % cycle) + cycle) % cycle;
|
|
23
|
-
const band = Math.floor(position / CHARS_PER_COLOR);
|
|
24
|
-
const t = position / CHARS_PER_COLOR - band;
|
|
25
|
-
// Smoothstep keeps each band recognizable while still blending into the next one.
|
|
26
|
-
const amount = t * t * (3 - 2 * t);
|
|
27
|
-
const from = RADIUS_COLORS[band];
|
|
28
|
-
const to = RADIUS_COLORS[(band + 1) % RADIUS_COLORS.length];
|
|
29
|
-
result += foregroundAnsi(mixColors(from, to, amount, "srgb"), mode) + char;
|
|
30
|
-
index++;
|
|
31
|
-
}
|
|
32
|
-
return `${result}\x1b[39m`;
|
|
33
|
-
}
|
|
7
|
+
import { radiusShimmer, startBrandAnimation } from "./provider-brand.js";
|
|
34
8
|
/**
|
|
35
9
|
* Swaps the line `ExtensionSelectorComponent` draws for the selected Radius option with the animated one. When the
|
|
36
10
|
* selector's row style changes or the label wraps, the line no longer matches and the option renders normally.
|
|
@@ -38,7 +12,7 @@ function radiusShimmer(text, elapsedMs) {
|
|
|
38
12
|
class RadiusLoginMenuComponent extends ExtensionSelectorComponent {
|
|
39
13
|
radiusOption;
|
|
40
14
|
animationStart = performance.now();
|
|
41
|
-
|
|
15
|
+
stopAnimationTimer;
|
|
42
16
|
animating = false;
|
|
43
17
|
constructor(tui, title, options, radiusOption, onSelect, onCancel) {
|
|
44
18
|
super(title, options, (option) => {
|
|
@@ -49,11 +23,7 @@ class RadiusLoginMenuComponent extends ExtensionSelectorComponent {
|
|
|
49
23
|
onCancel();
|
|
50
24
|
});
|
|
51
25
|
this.radiusOption = radiusOption;
|
|
52
|
-
this.
|
|
53
|
-
if (this.animating)
|
|
54
|
-
tui.requestRender();
|
|
55
|
-
}, ANIMATION_FRAME_MS);
|
|
56
|
-
this.animationTimer.unref?.();
|
|
26
|
+
this.stopAnimationTimer = startBrandAnimation(tui, () => this.animating);
|
|
57
27
|
}
|
|
58
28
|
render(width) {
|
|
59
29
|
const lines = super.render(width);
|
|
@@ -69,8 +39,7 @@ class RadiusLoginMenuComponent extends ExtensionSelectorComponent {
|
|
|
69
39
|
return lines;
|
|
70
40
|
}
|
|
71
41
|
stopAnimation() {
|
|
72
|
-
|
|
73
|
-
this.animationTimer = undefined;
|
|
42
|
+
this.stopAnimationTimer();
|
|
74
43
|
this.animating = false;
|
|
75
44
|
}
|
|
76
45
|
dispose() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Box, type MarkdownTheme } from "@earendil-works/pi-tui";
|
|
2
2
|
import type { ParsedSkillBlock } from "../../../core/agent-session.ts";
|
|
3
|
+
import type { MarkdownTransformer } from "../../../core/extensions/types.ts";
|
|
3
4
|
/**
|
|
4
5
|
* Component that renders a skill invocation message with collapsed/expanded state.
|
|
5
6
|
* Uses same background color as custom messages for visual consistency.
|
|
@@ -9,7 +10,10 @@ export declare class SkillInvocationMessageComponent extends Box {
|
|
|
9
10
|
private expanded;
|
|
10
11
|
private skillBlock;
|
|
11
12
|
private markdownTheme;
|
|
12
|
-
|
|
13
|
+
private markdownTransformers;
|
|
14
|
+
private messageId?;
|
|
15
|
+
private timestamp?;
|
|
16
|
+
constructor(skillBlock: ParsedSkillBlock, markdownTheme?: MarkdownTheme, outputPad?: number, markdownTransformers?: readonly MarkdownTransformer[], messageId?: string, timestamp?: string);
|
|
13
17
|
setExpanded(expanded: boolean): void;
|
|
14
18
|
setOutputPad(outputPad: number): void;
|
|
15
19
|
invalidate(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Box, Container, Markdown, MouseRegion, Text } from "@earendil-works/pi-tui";
|
|
2
2
|
import { getMarkdownTheme, theme } from "../theme/theme.js";
|
|
3
3
|
import { keyText } from "./keybinding-hints.js";
|
|
4
|
+
import { createMarkdownTransform } from "./markdown-transform.js";
|
|
4
5
|
/**
|
|
5
6
|
* Component that renders a skill invocation message with collapsed/expanded state.
|
|
6
7
|
* Uses same background color as custom messages for visual consistency.
|
|
@@ -10,10 +11,16 @@ export class SkillInvocationMessageComponent extends Box {
|
|
|
10
11
|
expanded = false;
|
|
11
12
|
skillBlock;
|
|
12
13
|
markdownTheme;
|
|
13
|
-
|
|
14
|
+
markdownTransformers;
|
|
15
|
+
messageId;
|
|
16
|
+
timestamp;
|
|
17
|
+
constructor(skillBlock, markdownTheme = getMarkdownTheme(), outputPad = 1, markdownTransformers = [], messageId, timestamp) {
|
|
14
18
|
super(outputPad, 1, (t) => theme.bg("customMessageBg", t));
|
|
15
19
|
this.skillBlock = skillBlock;
|
|
16
20
|
this.markdownTheme = markdownTheme;
|
|
21
|
+
this.markdownTransformers = markdownTransformers;
|
|
22
|
+
this.messageId = messageId;
|
|
23
|
+
this.timestamp = timestamp;
|
|
17
24
|
this.updateDisplay();
|
|
18
25
|
}
|
|
19
26
|
setExpanded(expanded) {
|
|
@@ -35,9 +42,10 @@ export class SkillInvocationMessageComponent extends Box {
|
|
|
35
42
|
const label = theme.fg("customMessageLabel", `\x1b[1m[skill]\x1b[22m`);
|
|
36
43
|
content.addChild(new Text(label, 0, 0));
|
|
37
44
|
const header = `**${this.skillBlock.name}**\n\n`;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
const transform = createMarkdownTransform("custom", () => false, this.markdownTransformers, this.messageId, this.timestamp);
|
|
46
|
+
content.addChild(new Markdown(this.skillBlock.content, 0, 0, this.markdownTheme, { color: (text) => theme.fg("customMessageText", text) },
|
|
47
|
+
// Transformers see only the skill content, not Pi's header.
|
|
48
|
+
{ transform: (markdown, width) => header + transform(markdown, width) }));
|
|
41
49
|
}
|
|
42
50
|
else {
|
|
43
51
|
// Collapsed: single line - [skill] name (hint to expand)
|
|
@@ -76,6 +76,7 @@ declare class TreeList implements Component {
|
|
|
76
76
|
*/
|
|
77
77
|
export declare class TreeSelectorComponent extends Container implements Focusable {
|
|
78
78
|
private treeList;
|
|
79
|
+
private searchLine;
|
|
79
80
|
private labelInput;
|
|
80
81
|
private labelInputContainer;
|
|
81
82
|
private treeContainer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Container, getKeybindings, Input, Spacer, sliceByColumn, Text, truncateToWidth, visibleWidth, wrapTextWithAnsi, } from "@earendil-works/pi-tui";
|
|
1
|
+
import { Container, CURSOR_MARKER, getKeybindings, Input, Spacer, sliceByColumn, Text, truncateToWidth, visibleWidth, wrapTextWithAnsi, } from "@earendil-works/pi-tui";
|
|
2
2
|
import { formatReadLineRange } from "../../../core/tools/render-utils.js";
|
|
3
3
|
import { shortenHomePath } from "../../../utils/paths.js";
|
|
4
4
|
import { theme } from "../theme/theme.js";
|
|
@@ -1014,17 +1014,23 @@ class TreeList {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
/** Component that displays the current search query */
|
|
1016
1016
|
class SearchLine {
|
|
1017
|
+
focused = false;
|
|
1017
1018
|
treeList;
|
|
1018
1019
|
constructor(treeList) {
|
|
1019
1020
|
this.treeList = treeList;
|
|
1020
1021
|
}
|
|
1021
1022
|
invalidate() { }
|
|
1022
1023
|
render(width) {
|
|
1024
|
+
if (width <= 0)
|
|
1025
|
+
return [""];
|
|
1023
1026
|
const query = this.treeList.getSearchQuery();
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1027
|
+
const line = query
|
|
1028
|
+
? ` ${theme.fg("muted", "Type to search:")} ${theme.fg("accent", query)}`
|
|
1029
|
+
: ` ${theme.fg("muted", "Type to search:")} `;
|
|
1030
|
+
if (!this.focused)
|
|
1031
|
+
return [truncateToWidth(line, width)];
|
|
1032
|
+
const content = truncateToWidth(line, Math.max(0, width - 1));
|
|
1033
|
+
return [`${content}${CURSOR_MARKER}\x1b[7m \x1b[27m`];
|
|
1028
1034
|
}
|
|
1029
1035
|
handleInput(_keyData) { }
|
|
1030
1036
|
}
|
|
@@ -1164,19 +1170,20 @@ class LabelInput {
|
|
|
1164
1170
|
*/
|
|
1165
1171
|
export class TreeSelectorComponent extends Container {
|
|
1166
1172
|
treeList;
|
|
1173
|
+
searchLine;
|
|
1167
1174
|
labelInput = null;
|
|
1168
1175
|
labelInputContainer;
|
|
1169
1176
|
treeContainer;
|
|
1170
1177
|
onLabelChangeCallback;
|
|
1171
1178
|
onCopy;
|
|
1172
|
-
// Focusable implementation - propagate to
|
|
1179
|
+
// Focusable implementation - propagate to the active input for IME cursor positioning
|
|
1173
1180
|
_focused = false;
|
|
1174
1181
|
get focused() {
|
|
1175
1182
|
return this._focused;
|
|
1176
1183
|
}
|
|
1177
1184
|
set focused(value) {
|
|
1178
1185
|
this._focused = value;
|
|
1179
|
-
|
|
1186
|
+
this.searchLine.focused = value && this.labelInput === null;
|
|
1180
1187
|
if (this.labelInput) {
|
|
1181
1188
|
this.labelInput.focused = value;
|
|
1182
1189
|
}
|
|
@@ -1190,6 +1197,7 @@ export class TreeSelectorComponent extends Container {
|
|
|
1190
1197
|
this.treeList.onCancel = onCancel;
|
|
1191
1198
|
this.treeList.onCopy = (text) => this.onCopy?.(text);
|
|
1192
1199
|
this.treeList.onLabelEdit = (entryId, currentLabel) => this.showLabelInput(entryId, currentLabel);
|
|
1200
|
+
this.searchLine = new SearchLine(this.treeList);
|
|
1193
1201
|
this.treeContainer = new Container();
|
|
1194
1202
|
this.treeContainer.addChild(this.treeList);
|
|
1195
1203
|
this.labelInputContainer = new Container();
|
|
@@ -1197,7 +1205,7 @@ export class TreeSelectorComponent extends Container {
|
|
|
1197
1205
|
this.addChild(new DynamicBorder());
|
|
1198
1206
|
this.addChild(new Text(theme.bold(" Session Tree"), 1, 0));
|
|
1199
1207
|
this.addChild(new TreeHelp());
|
|
1200
|
-
this.addChild(
|
|
1208
|
+
this.addChild(this.searchLine);
|
|
1201
1209
|
this.addChild(new DynamicBorder());
|
|
1202
1210
|
this.addChild(new Spacer(1));
|
|
1203
1211
|
this.addChild(this.treeContainer);
|
|
@@ -1216,14 +1224,15 @@ export class TreeSelectorComponent extends Container {
|
|
|
1216
1224
|
this.hideLabelInput();
|
|
1217
1225
|
};
|
|
1218
1226
|
this.labelInput.onCancel = () => this.hideLabelInput();
|
|
1219
|
-
// Propagate current focused state
|
|
1220
|
-
this.
|
|
1227
|
+
// Propagate current focused state
|
|
1228
|
+
this.focused = this._focused;
|
|
1221
1229
|
this.treeContainer.clear();
|
|
1222
1230
|
this.labelInputContainer.clear();
|
|
1223
1231
|
this.labelInputContainer.addChild(this.labelInput);
|
|
1224
1232
|
}
|
|
1225
1233
|
hideLabelInput() {
|
|
1226
1234
|
this.labelInput = null;
|
|
1235
|
+
this.focused = this._focused;
|
|
1227
1236
|
this.labelInputContainer.clear();
|
|
1228
1237
|
this.treeContainer.clear();
|
|
1229
1238
|
this.treeContainer.addChild(this.treeList);
|
|
@@ -82,6 +82,8 @@ export declare class InteractiveMode {
|
|
|
82
82
|
private changelogMarkdown;
|
|
83
83
|
private extensionChangelogUpdates;
|
|
84
84
|
private startupNoticesShown;
|
|
85
|
+
/** Last cache-warming notice, extended in place while it is the last chat line. */
|
|
86
|
+
private cacheWarmingNotice;
|
|
85
87
|
private anthropicSubscriptionWarningShown;
|
|
86
88
|
private lastStatusSpacer;
|
|
87
89
|
private lastStatusText;
|
|
@@ -111,6 +113,13 @@ export declare class InteractiveMode {
|
|
|
111
113
|
private bugReportHintShown;
|
|
112
114
|
private installChangeWarningShown;
|
|
113
115
|
private extensionDialogs;
|
|
116
|
+
/** Numbers the program status sources of blocking overlays, so closing one keeps the others. */
|
|
117
|
+
private nextBlockingOverlayId;
|
|
118
|
+
/**
|
|
119
|
+
* Open extension overlays (custom with overlay: true) and the function that removes each, in opening
|
|
120
|
+
* order. Reset removes only these, not pi's own overlays.
|
|
121
|
+
*/
|
|
122
|
+
private readonly extensionOverlays;
|
|
114
123
|
private extensionTerminalInputSubscriptions;
|
|
115
124
|
private extensionWidgetsAbove;
|
|
116
125
|
private extensionWidgetsBelow;
|
|
@@ -220,6 +229,8 @@ export declare class InteractiveMode {
|
|
|
220
229
|
*/
|
|
221
230
|
private getRegisteredToolDefinition;
|
|
222
231
|
private getMarkdownTransformers;
|
|
232
|
+
/** Markdown of a changelog or release note that runs the Markdown transformers of the `changelog` type. */
|
|
233
|
+
private createChangelogMarkdown;
|
|
223
234
|
/**
|
|
224
235
|
* Set up keyboard shortcuts registered by extensions.
|
|
225
236
|
*/
|
|
@@ -440,7 +451,6 @@ export declare class InteractiveMode {
|
|
|
440
451
|
private handleResumeSession;
|
|
441
452
|
private getLoginProviderOptions;
|
|
442
453
|
private getLogoutProviderOptions;
|
|
443
|
-
private findLoginProviderOptions;
|
|
444
454
|
private handleLoginCommand;
|
|
445
455
|
/** `onBack` reopens the selector the login was started from when the user cancels it. */
|
|
446
456
|
private startProviderLogin;
|