@ensocode/server 0.3.3 → 0.3.4
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-6JYofuK8.js} +1 -1
- package/out/phone/assets/architecture-7GRP2DOG-D7mwyuxS.js +1 -0
- package/out/phone/assets/{architectureDiagram-5GKGNRK7-I2RDn32D.js → architectureDiagram-5GKGNRK7-BeLeAQB1.js} +1 -1
- package/out/phone/assets/{blockDiagram-I7D4REHJ-D5xNQZkS.js → blockDiagram-I7D4REHJ-uXn3vhT2.js} +1 -1
- package/out/phone/assets/{c4Diagram-7LVT6UL2-CRKpzdlA.js → c4Diagram-7LVT6UL2-CjzMFRll.js} +1 -1
- package/out/phone/assets/channel-BsGN1oT0.js +1 -0
- package/out/phone/assets/{chunk-4HAMMTFA-CcezrqKz.js → chunk-4HAMMTFA-BA8HaYy2.js} +1 -1
- package/out/phone/assets/{chunk-75Z2AOVW-DDCXp4y1.js → chunk-75Z2AOVW-BhIfO9es.js} +1 -1
- package/out/phone/assets/{chunk-DU6HZSFF-CjWveEkB.js → chunk-DU6HZSFF-BTLBHwj-.js} +1 -1
- package/out/phone/assets/{chunk-F27PBJKO-Bgl_xI02.js → chunk-F27PBJKO-CUw8NZk8.js} +1 -1
- package/out/phone/assets/{chunk-GMAD6QVW-EmL8nOme.js → chunk-GMAD6QVW-bZOKnRyM.js} +1 -1
- package/out/phone/assets/{chunk-GVQU2GXP-Dox_nphF.js → chunk-GVQU2GXP-B0WIm1dS.js} +1 -1
- package/out/phone/assets/{chunk-IMKFNOWR-BapGpI4S.js → chunk-IMKFNOWR-DWND4rEr.js} +1 -1
- package/out/phone/assets/{chunk-L3NEJ4N5-Cq_UZI8A.js → chunk-L3NEJ4N5-DgMknY3k.js} +1 -1
- package/out/phone/assets/{chunk-OSK3NFVY-2VVlErAd.js → chunk-OSK3NFVY-C5aEouov.js} +1 -1
- package/out/phone/assets/{chunk-P2QGCYS3-Cci-G-p1.js → chunk-P2QGCYS3-D2ID3RxV.js} +1 -1
- package/out/phone/assets/{chunk-POPQ4Y6H-CJ47EOfE.js → chunk-POPQ4Y6H-C1lOuNpV.js} +1 -1
- package/out/phone/assets/{chunk-PWAF6VOD-D9dLdFqC.js → chunk-PWAF6VOD-CfqWQZRE.js} +1 -1
- package/out/phone/assets/{chunk-SHT3W25Y-BlGSiWZn.js → chunk-SHT3W25Y-p37Dlvn4.js} +1 -1
- package/out/phone/assets/{chunk-SVP7TREG-C0zdsa_A.js → chunk-SVP7TREG-CSSqW-zb.js} +1 -1
- package/out/phone/assets/{chunk-TICWLB2K-DAQW8nQU.js → chunk-TICWLB2K-Bse5ne4b.js} +1 -1
- package/out/phone/assets/classDiagram-ZZMXUADV-a1PUvjC2.js +1 -0
- package/out/phone/assets/classDiagram-v2-VYDZK3BY-a1PUvjC2.js +1 -0
- package/out/phone/assets/{cynefin-OW5HDTMX-_zsx5mdV.js → cynefin-OW5HDTMX-BGQqPhYk.js} +1 -1
- package/out/phone/assets/{cynefinDiagram-5FMLGOSQ-Cww-w0ex.js → cynefinDiagram-5FMLGOSQ-Cz3XWaxY.js} +1 -1
- package/out/phone/assets/{dagre-GXQ25YYZ-C0i7DPqX.js → dagre-GXQ25YYZ-CjAF6lSz.js} +1 -1
- package/out/phone/assets/desk-1McWacjU.js +2 -0
- package/out/phone/assets/{diagram-S7CK7UJ4-Bx-G5hYz.js → diagram-S7CK7UJ4-B135cp5a.js} +1 -1
- package/out/phone/assets/{diagram-UQ7AKVKN-DaTblkjV.js → diagram-UQ7AKVKN-C4pCe0fQ.js} +1 -1
- package/out/phone/assets/{diagram-VSXAHHWV-gmN2e1b4.js → diagram-VSXAHHWV-CYkCrin2.js} +1 -1
- package/out/phone/assets/{diagram-VX7I27RA-WYtRtOo8.js → diagram-VX7I27RA-CT_vufh_.js} +1 -1
- package/out/phone/assets/{diagram-Z3DM3KII-Cr6uUB5B.js → diagram-Z3DM3KII-XEkkXu3P.js} +1 -1
- package/out/phone/assets/{ebnfDiagram-PWID7BFC-BCicfvpA.js → ebnfDiagram-PWID7BFC-DfLyeXjw.js} +1 -1
- package/out/phone/assets/{erDiagram-RLTQ6QDP-B3QlJvfQ.js → erDiagram-RLTQ6QDP-pKNbKkAP.js} +1 -1
- package/out/phone/assets/eventmodeling-NTZA5JFV-DcUsfQiW.js +1 -0
- package/out/phone/assets/flowDiagram-HODETNUW-sUobw8zi.js +1 -0
- package/out/phone/assets/{ganttDiagram-EL5Y4UJY-LYy2mfCh.js → ganttDiagram-EL5Y4UJY-Df4E50Mj.js} +1 -1
- package/out/phone/assets/{gitGraph-4MIJSDKK-dT22Z2jG.js → gitGraph-4MIJSDKK-CkjzZeFD.js} +1 -1
- package/out/phone/assets/{gitGraphDiagram-WWUBYQGX-DHNdY57l.js → gitGraphDiagram-WWUBYQGX-CBxfRAfy.js} +1 -1
- package/out/phone/assets/{info-A6RAGUB7-nIu8NSOs.js → info-A6RAGUB7-CHFXa2pw.js} +1 -1
- package/out/phone/assets/{infoDiagram-27XIBGKW-DGkWZIMT.js → infoDiagram-27XIBGKW-K0DnZhi4.js} +1 -1
- package/out/phone/assets/{ishikawaDiagram-5VMMS53U-C8EPXru-.js → ishikawaDiagram-5VMMS53U-DTQF2ZuR.js} +1 -1
- package/out/phone/assets/{journeyDiagram-3NMN7TZE-Dyd9L3l3.js → journeyDiagram-3NMN7TZE-wBltkU2i.js} +1 -1
- package/out/phone/assets/{kanban-definition-UXKFOSKX-DehTYcsL.js → kanban-definition-UXKFOSKX-BZpcOajP.js} +1 -1
- package/out/phone/assets/{line-Db4SulF4.js → line-BflnZFgp.js} +1 -1
- package/out/phone/assets/main-CnA1zWP8.css +1 -0
- package/out/phone/assets/main-Crtf_g8h.js +1643 -0
- package/out/phone/assets/{mermaid-parser.core-D7h_8WV8.js → mermaid-parser.core-BiCTmcqa.js} +3 -3
- package/out/phone/assets/{mermaid.core-Dw_E5kj4.js → mermaid.core-D3TwYaLF.js} +4 -4
- package/out/phone/assets/{mindmap-definition-YA3MSWOX-_5Mxqxsy.js → mindmap-definition-YA3MSWOX-Cz0aS_6Y.js} +1 -1
- package/out/phone/assets/{packet-AYTQ26CC-_cgeMDdN.js → packet-AYTQ26CC-DW-djbhd.js} +1 -1
- package/out/phone/assets/{pegDiagram-XKGWAZYB-BhBwaNEr.js → pegDiagram-XKGWAZYB-CE0sZZAE.js} +1 -1
- package/out/phone/assets/{pie-WAS4IAKB-BepY80_0.js → pie-WAS4IAKB-CKGFlXok.js} +1 -1
- package/out/phone/assets/{pieDiagram-E7YTZNPT-CQQgqmI8.js → pieDiagram-E7YTZNPT-BrnQ32_6.js} +1 -1
- package/out/phone/assets/{quadrantDiagram-AXDQQJYC-DEEatC1J.js → quadrantDiagram-AXDQQJYC-BrxDAygB.js} +1 -1
- package/out/phone/assets/{radar-RG4KPBEZ-BqsiI_qQ.js → radar-RG4KPBEZ-Bo2f5QyA.js} +1 -1
- package/out/phone/assets/{railroad-74A4TZTK-C_2pEUjD.js → railroad-74A4TZTK-BZEmm0Ha.js} +1 -1
- package/out/phone/assets/railroad-abnf-HS5TGJTU-CGiIT1ZV.js +1 -0
- package/out/phone/assets/railroad-ebnf-LZEXJU2U-C85Q3c0J.js +1 -0
- package/out/phone/assets/railroad-peg-WCYAUIDC-8qPPCLgU.js +1 -0
- package/out/phone/assets/{railroadDiagram-O6MQD6OU-B7786u7W.js → railroadDiagram-O6MQD6OU-BvOyUNMC.js} +1 -1
- package/out/phone/assets/{requirementDiagram-BXWQKSXE-Ci3b5uwm.js → requirementDiagram-BXWQKSXE-T42N3TW5.js} +1 -1
- package/out/phone/assets/{sankeyDiagram-P5KCCOFB-PwT2gJjH.js → sankeyDiagram-P5KCCOFB-0us9ErVV.js} +1 -1
- package/out/phone/assets/{sequenceDiagram-WJ2MYXX4-H6sgB5RI.js → sequenceDiagram-WJ2MYXX4-BMcYh2ll.js} +1 -1
- package/out/phone/assets/{stateDiagram-D77RDMKH-BxyRe7OB.js → stateDiagram-D77RDMKH-CgP9dUc3.js} +1 -1
- package/out/phone/assets/stateDiagram-v2-MP3YSRHH-WM4CNSf-.js +1 -0
- package/out/phone/assets/storage-CahQ0cyN.js +1 -0
- package/out/phone/assets/{swimlanes-42K2YHIH-DWT3f1Hk.js → swimlanes-42K2YHIH-VnE4ceCW.js} +1 -1
- package/out/phone/assets/swimlanesDiagram-VR7AAH4N-65AiMWVp.js +8 -0
- package/out/phone/assets/{timeline-definition-24CTP7MA-D67esSVY.js → timeline-definition-24CTP7MA-tH3izgae.js} +1 -1
- package/out/phone/assets/{treeView-Q6P3EWNA-BTIfu3Qr.js → treeView-Q6P3EWNA-CVFDOC7i.js} +1 -1
- package/out/phone/assets/{treemap-WGGIJYW6-DkPf6LQc.js → treemap-WGGIJYW6-vmikHzt3.js} +1 -1
- package/out/phone/assets/{vennDiagram-4TSXK5OY-DRMRxJ4f.js → vennDiagram-4TSXK5OY-b8ttDCR-.js} +1 -1
- package/out/phone/assets/{wardley-WFR3VGLG-hOvC_8-W.js → wardley-WFR3VGLG-D32vKoC1.js} +1 -1
- package/out/phone/assets/{wardleyDiagram-VM6X3IG4-a5aYRgrw.js → wardleyDiagram-VM6X3IG4-CMkaIPVH.js} +1 -1
- package/out/phone/assets/{xychartDiagram-S5SC5T6Z-DXjoRFDL.js → xychartDiagram-S5SC5T6Z-pLYDcql3.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-N6OiVFQx.js} +1 -1
- package/out/renderer/assets/{arc-BcW67t47.js → arc-CXVc3U0J.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-5GKGNRK7-D-x057Ia.js → architectureDiagram-5GKGNRK7-BT5CXpcQ.js} +1 -1
- package/out/renderer/assets/{blockDiagram-I7D4REHJ-DR3sZkhW.js → blockDiagram-I7D4REHJ-C32Vqzip.js} +1 -1
- package/out/renderer/assets/{c4Diagram-7LVT6UL2-CQ4lScWs.js → c4Diagram-7LVT6UL2-qjwL2BP8.js} +1 -1
- package/out/renderer/assets/channel-B1Cv56hA.js +1 -0
- package/out/renderer/assets/{chunk-2Q5K7J3B-CtT0yqF3.js → chunk-2Q5K7J3B-YC6CQiyD.js} +1 -1
- package/out/renderer/assets/{chunk-5VM5RSS4-DlCfddrY.js → chunk-5VM5RSS4-E-kluPz3.js} +1 -1
- package/out/renderer/assets/{chunk-F27PBJKO-BAJ5dGzo.js → chunk-F27PBJKO-Bhx1_P75.js} +1 -1
- package/out/renderer/assets/{chunk-IMKFNOWR-Dlah_YbP.js → chunk-IMKFNOWR-Dgb_730B.js} +1 -1
- package/out/renderer/assets/{chunk-JWPE2WC7-BiXd3nUZ.js → chunk-JWPE2WC7-COQNHw4u.js} +1 -1
- package/out/renderer/assets/{chunk-POPQ4Y6H-Ch86i4EJ.js → chunk-POPQ4Y6H-CQz4hRgP.js} +1 -1
- package/out/renderer/assets/{chunk-SVP7TREG-z3inDV-H.js → chunk-SVP7TREG-DGp9XQFd.js} +1 -1
- package/out/renderer/assets/{chunk-TICWLB2K-B34A2AKD.js → chunk-TICWLB2K-CovR1uHr.js} +1 -1
- package/out/renderer/assets/{chunk-XXDRQBXY-Do_L0wRR.js → chunk-XXDRQBXY-gVmqSU5b.js} +1 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-CDWgELaf.js +1 -0
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-CDWgELaf.js +1 -0
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-BQraKmgl.js → cose-bilkent-JH36ORCC-DD4PEqt_.js} +1 -1
- package/out/renderer/assets/{cynefin-OW5HDTMX-BwixoR4r.js → cynefin-OW5HDTMX-DNsYCrBx.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-5FMLGOSQ-BLTBma3J.js → cynefinDiagram-5FMLGOSQ-CoSzqs25.js} +1 -1
- package/out/renderer/assets/{cytoscape-fcose-BRpJ5tyq.js → cytoscape-fcose-CV0MpCmk.js} +1 -1
- package/out/renderer/assets/{dagre-GXQ25YYZ-aWsjA_wn.js → dagre-GXQ25YYZ-BxpTPeHN.js} +1 -1
- package/out/renderer/assets/{diagram-S7CK7UJ4-Cur2zK4q.js → diagram-S7CK7UJ4-Df_OM1vW.js} +1 -1
- package/out/renderer/assets/{diagram-UQ7AKVKN-DlrY8YcD.js → diagram-UQ7AKVKN-iovjmny_.js} +1 -1
- package/out/renderer/assets/{diagram-VSXAHHWV-BBdjreqR.js → diagram-VSXAHHWV-BMrwlcQx.js} +1 -1
- package/out/renderer/assets/{diagram-VX7I27RA-XiWMdc8S.js → diagram-VX7I27RA-DqLh449X.js} +1 -1
- package/out/renderer/assets/{diagram-Z3DM3KII-CBB5leat.js → diagram-Z3DM3KII-CH_W77UO.js} +1 -1
- package/out/renderer/assets/{ebnfDiagram-PWID7BFC-nl8RPo8j.js → ebnfDiagram-PWID7BFC-yjzodXoL.js} +1 -1
- package/out/renderer/assets/{erDiagram-RLTQ6QDP-C_oaG80x.js → erDiagram-RLTQ6QDP-DXxhvHYS.js} +1 -1
- package/out/renderer/assets/{flowDiagram-HODETNUW-nDoVZFS7.js → flowDiagram-HODETNUW-b2AWCAaB.js} +1 -1
- package/out/renderer/assets/{ganttDiagram-EL5Y4UJY-DOrcuM3Q.js → ganttDiagram-EL5Y4UJY-COkyXL3K.js} +1 -1
- package/out/renderer/assets/{gitGraphDiagram-WWUBYQGX-D_DB3jro.js → gitGraphDiagram-WWUBYQGX-BYPqy5fh.js} +1 -1
- package/out/renderer/assets/globals-DX-8GWfJ.css +1 -0
- package/out/renderer/assets/{globals-D1ocHHQV.js → globals-y5_C1IiJ.js} +182 -176
- package/out/renderer/assets/index-CHJ6mVl2.js +117 -0
- package/out/renderer/assets/{infoDiagram-27XIBGKW-BbBrANxo.js → infoDiagram-27XIBGKW-DNg-VxlH.js} +1 -1
- package/out/renderer/assets/{ishikawaDiagram-5VMMS53U-7UlfWlWV.js → ishikawaDiagram-5VMMS53U-DProTI6a.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-3NMN7TZE-CJP9bosH.js → journeyDiagram-3NMN7TZE-BWhC4n3f.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UXKFOSKX-D772kW7T.js → kanban-definition-UXKFOSKX-CHJRR0qi.js} +1 -1
- package/out/renderer/assets/{layout-BzVfJEvx.js → layout-D8t6q8k0.js} +1 -1
- package/out/renderer/assets/{linear-DBjhr05m.js → linear-Cxb1p4iF.js} +1 -1
- package/out/renderer/assets/{mermaid.core-CJpNSowm.js → mermaid.core-CFNOEUmc.js} +5 -5
- package/out/renderer/assets/{mindmap-definition-YA3MSWOX-C2oqlH5E.js → mindmap-definition-YA3MSWOX-Ba78cyY4.js} +1 -1
- package/out/renderer/assets/{pegDiagram-XKGWAZYB-CcZ8Hae-.js → pegDiagram-XKGWAZYB-C7zqoWMk.js} +1 -1
- package/out/renderer/assets/{pieDiagram-E7YTZNPT-DTw-_k2D.js → pieDiagram-E7YTZNPT-g304yFeX.js} +1 -1
- package/out/renderer/assets/{quadrantDiagram-AXDQQJYC-D5eX0DO7.js → quadrantDiagram-AXDQQJYC-Bwn3gGTO.js} +1 -1
- package/out/renderer/assets/{railroadDiagram-O6MQD6OU-DzpBB_Re.js → railroadDiagram-O6MQD6OU-DRetS8pv.js} +1 -1
- package/out/renderer/assets/{requirementDiagram-BXWQKSXE-UbOUXLgl.js → requirementDiagram-BXWQKSXE-CHz0FVZ7.js} +1 -1
- package/out/renderer/assets/{sankeyDiagram-P5KCCOFB-jRbXLLsa.js → sankeyDiagram-P5KCCOFB-BYGRDIG9.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-WJ2MYXX4-s0WBQQPf.js → sequenceDiagram-WJ2MYXX4-B60RuFFk.js} +1 -1
- package/out/renderer/assets/settings-Cd128yRb.js +34 -0
- package/out/renderer/assets/{sizeCapture-INFHLROL-DvUs5rDx.js → sizeCapture-INFHLROL-CB-i3Fmz.js} +1 -1
- package/out/renderer/assets/{stateDiagram-D77RDMKH-C1_V497y.js → stateDiagram-D77RDMKH-CJOcikAJ.js} +1 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-BosPi5SR.js +1 -0
- package/out/renderer/assets/{swimlanes-42K2YHIH-BulPeZ6y.js → swimlanes-42K2YHIH-Buap2upT.js} +1 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-B7TQEEbL.js +8 -0
- package/out/renderer/assets/{timeline-definition-24CTP7MA-gQ5OygZn.js → timeline-definition-24CTP7MA-BdQta3QT.js} +1 -1
- package/out/renderer/assets/{vennDiagram-4TSXK5OY-A8QyA5Ix.js → vennDiagram-4TSXK5OY-BynM2l28.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-VM6X3IG4-CfP6E41T.js → wardleyDiagram-VM6X3IG4-FZjDO9FY.js} +1 -1
- package/out/renderer/assets/{xychartDiagram-S5SC5T6Z-DTG5UHh7.js → xychartDiagram-S5SC5T6Z-pJPSISxM.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 +1502 -370
- package/out/server/chunks/{agent-BhQn6jGA.js → agent--Q7N17bY.js} +356 -165
- package/out/server/chunks/{gpuBackendInstall-CdExgjGi.js → gpuBackendInstall-P7COXJlD.js} +6 -5
- package/out/server/chunks/{loadProvider-BnkyjMSW.js → loadProvider-DvvFIF6F.js} +2 -2
- package/out/server/chunks/{manifest-2odvnxjZ.js → manifest-BvEa5QR3.js} +125 -5
- package/out/server/chunks/{workflowPresets-DqSsjOj6.js → workflowPresets-CuLnfQqa.js} +3444 -448
- package/out/server/index.js +2719 -308
- package/out/server/plugin-host.js +7 -3
- package/package.json +7 -7
- 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/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
|
@@ -732,13 +732,13 @@ const CAPABILITY_OUTCOMES = [
|
|
|
732
732
|
"unavailable",
|
|
733
733
|
"cancelled"
|
|
734
734
|
];
|
|
735
|
-
const isRecord$
|
|
735
|
+
const isRecord$7 = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
736
736
|
const isNonEmptyString$2 = (value) => typeof value === "string" && value.length > 0;
|
|
737
737
|
const hasOnlyKeys$1 = (value, allowed) => Object.keys(value).every((key) => allowed.includes(key));
|
|
738
738
|
const hasExactKeys$3 = (value, keys) => Object.keys(value).length === keys.length && hasOnlyKeys$1(value, keys);
|
|
739
739
|
const isProductSurfaceId$1 = (value) => typeof value === "string" && Object.hasOwn(PRODUCT_SURFACE_INVENTORY, value);
|
|
740
740
|
function parseCapabilityResult(value) {
|
|
741
|
-
if (!isRecord$
|
|
741
|
+
if (!isRecord$7(value) || typeof value.ok !== "boolean") return null;
|
|
742
742
|
if (value.ok) {
|
|
743
743
|
return hasExactKeys$3(value, ["ok", "data"]) ? { ok: true, data: value.data } : null;
|
|
744
744
|
}
|
|
@@ -748,21 +748,21 @@ function parseCapabilityResult(value) {
|
|
|
748
748
|
return value;
|
|
749
749
|
}
|
|
750
750
|
function parseCapabilityAskResponse(value) {
|
|
751
|
-
if (!isRecord$
|
|
751
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["child", "turnId", "requestId", "decision"]) || !parseChildSessionIdentity(value.child) || !isNonEmptyString$2(value.turnId) || !isNonEmptyString$2(value.requestId) || value.decision !== "allow" && value.decision !== "deny") {
|
|
752
752
|
return null;
|
|
753
753
|
}
|
|
754
754
|
return value;
|
|
755
755
|
}
|
|
756
756
|
function parseCapabilitySubject(value) {
|
|
757
|
-
if (!isRecord$
|
|
757
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["kind", "id", "label"])) return null;
|
|
758
758
|
return CAPABILITY_SUBJECT_KINDS.includes(value.kind) && isNonEmptyString$2(value.id) && isNonEmptyString$2(value.label) ? value : null;
|
|
759
759
|
}
|
|
760
760
|
function parseCapabilityChange(value) {
|
|
761
|
-
if (!isRecord$
|
|
761
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["field", "previous", "value"])) return null;
|
|
762
762
|
return isNonEmptyString$2(value.field) ? value : null;
|
|
763
763
|
}
|
|
764
764
|
function parseCapabilityReceipt(value) {
|
|
765
|
-
if (!isRecord$
|
|
765
|
+
if (!isRecord$7(value)) return null;
|
|
766
766
|
if (!hasOnlyKeys$1(value, [
|
|
767
767
|
"receiptId",
|
|
768
768
|
"operationId",
|
|
@@ -784,13 +784,13 @@ function parseCapabilityReceipt(value) {
|
|
|
784
784
|
return value;
|
|
785
785
|
}
|
|
786
786
|
function parseCapabilityExecutionEnvelope(value) {
|
|
787
|
-
if (!isRecord$
|
|
787
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["modelResult", "receipt"])) return null;
|
|
788
788
|
const modelResult = parseCapabilityResult(value.modelResult);
|
|
789
789
|
const receipt = parseCapabilityReceipt(value.receipt);
|
|
790
790
|
return modelResult && receipt ? { modelResult, receipt } : null;
|
|
791
791
|
}
|
|
792
792
|
function parseOauthFlowLocator(value) {
|
|
793
|
-
if (!isRecord$
|
|
793
|
+
if (!isRecord$7(value) || !isUuid(value.flowId)) return null;
|
|
794
794
|
if (!Number.isInteger(value.ownerWebContentsId) || value.ownerWebContentsId < 0) {
|
|
795
795
|
return null;
|
|
796
796
|
}
|
|
@@ -808,17 +808,17 @@ function parseOauthFlowLocator(value) {
|
|
|
808
808
|
]) && parseChildSessionIdentity(value.child) && isNonEmptyString$2(value.turnId) && isNonEmptyString$2(value.requestId) ? value : null;
|
|
809
809
|
}
|
|
810
810
|
function parseStartOauthWizardRequest(value) {
|
|
811
|
-
if (!isRecord$
|
|
811
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["providerId"])) return null;
|
|
812
812
|
return isNonEmptyString$2(value.providerId) ? { providerId: value.providerId } : null;
|
|
813
813
|
}
|
|
814
814
|
function parseOauthFlowPromptResponse(value) {
|
|
815
|
-
if (!isRecord$
|
|
815
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["locator", "requestId", "value"])) {
|
|
816
816
|
return null;
|
|
817
817
|
}
|
|
818
818
|
return parseOauthFlowLocator(value.locator) && isNonEmptyString$2(value.requestId) && isNonEmptyString$2(value.value) ? value : null;
|
|
819
819
|
}
|
|
820
820
|
function parseOauthFlowControlRequest(value) {
|
|
821
|
-
if (!isRecord$
|
|
821
|
+
if (!isRecord$7(value) || !hasExactKeys$3(value, ["locator"])) return null;
|
|
822
822
|
return parseOauthFlowLocator(value.locator) ? value : null;
|
|
823
823
|
}
|
|
824
824
|
const COMPACT_STRATEGIES = [
|
|
@@ -878,7 +878,9 @@ const PLUGIN_EVENTS = [
|
|
|
878
878
|
"tool_result",
|
|
879
879
|
"input",
|
|
880
880
|
"context_usage",
|
|
881
|
-
"session_status"
|
|
881
|
+
"session_status",
|
|
882
|
+
"model_select",
|
|
883
|
+
"before_agent_start"
|
|
882
884
|
];
|
|
883
885
|
const HOST_PLUGIN_EVENTS = ["session_status"];
|
|
884
886
|
const isHostPluginEvent = (event) => HOST_PLUGIN_EVENTS.includes(event);
|
|
@@ -902,7 +904,15 @@ const CONTEXT_PART_KINDS = [
|
|
|
902
904
|
"chat"
|
|
903
905
|
];
|
|
904
906
|
const CONTEXT_PART_ITEMS = 24;
|
|
905
|
-
const PLUGIN_INTERCEPT_EVENTS = [
|
|
907
|
+
const PLUGIN_INTERCEPT_EVENTS = [
|
|
908
|
+
"tool_call",
|
|
909
|
+
"tool_result",
|
|
910
|
+
"input",
|
|
911
|
+
"before_agent_start"
|
|
912
|
+
];
|
|
913
|
+
const APPEND_ONLY_INTERCEPT_EVENTS = ["before_agent_start"];
|
|
914
|
+
const BEFORE_AGENT_START_APPEND_MAX = 16 * 1024;
|
|
915
|
+
const BEFORE_AGENT_START_PROMPT_MAX = 64 * 1024;
|
|
906
916
|
const BEFORE_COMPACT_TIMEOUT_MS = 1e4;
|
|
907
917
|
const INTERCEPT_TIMEOUT_MS = 5e3;
|
|
908
918
|
const INTERCEPT_TOTAL_TIMEOUT_MS = 25e3;
|
|
@@ -914,13 +924,13 @@ const CHILD_INTERCEPT_TOTAL_TIMEOUT_MS = 5e3;
|
|
|
914
924
|
const OBSERVE_TIMEOUT_MS = 3e4;
|
|
915
925
|
const isInterceptEvent = (event) => PLUGIN_INTERCEPT_EVENTS.includes(event);
|
|
916
926
|
const isChildInterceptEvent = (event) => CHILD_INTERCEPT_EVENTS.includes(event);
|
|
917
|
-
const isRecord$
|
|
927
|
+
const isRecord$6 = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
918
928
|
function initialInterceptState(event, payload) {
|
|
919
929
|
const result = event === "input" ? { action: "continue" } : {};
|
|
920
930
|
return { event, payload, result, done: false };
|
|
921
931
|
}
|
|
922
932
|
function applyInterceptResult(state, raw) {
|
|
923
|
-
if (state.done || !isRecord$
|
|
933
|
+
if (state.done || !isRecord$6(raw)) return state;
|
|
924
934
|
if (state.event === "tool_call") {
|
|
925
935
|
const payload = state.payload;
|
|
926
936
|
const result = { ...state.result };
|
|
@@ -935,7 +945,7 @@ function applyInterceptResult(state, raw) {
|
|
|
935
945
|
}
|
|
936
946
|
};
|
|
937
947
|
}
|
|
938
|
-
if (!isRecord$
|
|
948
|
+
if (!isRecord$6(raw.input)) return state;
|
|
939
949
|
return {
|
|
940
950
|
...state,
|
|
941
951
|
payload: { ...payload, input: raw.input },
|
|
@@ -960,6 +970,17 @@ function applyInterceptResult(state, raw) {
|
|
|
960
970
|
result
|
|
961
971
|
};
|
|
962
972
|
}
|
|
973
|
+
if (state.event === "before_agent_start") {
|
|
974
|
+
if (typeof raw.append !== "string" || raw.append.length === 0) return state;
|
|
975
|
+
const previous = state.result.append;
|
|
976
|
+
const append = (previous ? `${previous}
|
|
977
|
+
|
|
978
|
+
${raw.append}` : raw.append).slice(
|
|
979
|
+
0,
|
|
980
|
+
BEFORE_AGENT_START_APPEND_MAX
|
|
981
|
+
);
|
|
982
|
+
return { ...state, result: { append } };
|
|
983
|
+
}
|
|
963
984
|
if (raw.action === "handled")
|
|
964
985
|
return { ...state, done: true, result: { action: "handled" } };
|
|
965
986
|
if (raw.action === "transform" && typeof raw.text === "string") {
|
|
@@ -975,6 +996,7 @@ function failClosedResult(event, pluginName) {
|
|
|
975
996
|
const reason = `插件 ${pluginName} 未能完成检查,已按其策略拒绝`;
|
|
976
997
|
if (event === "tool_call") return { block: true, reason };
|
|
977
998
|
if (event === "tool_result") return { content: reason, isError: true };
|
|
999
|
+
if (event === "before_agent_start") return {};
|
|
978
1000
|
return { action: "handled" };
|
|
979
1001
|
}
|
|
980
1002
|
const PLUGIN_INJECT_MAX_CHARS = 32 * 1024;
|
|
@@ -1027,6 +1049,10 @@ const PLUGIN_HOST_APIS = [
|
|
|
1027
1049
|
"ui.notify",
|
|
1028
1050
|
/** 推一条事件到本插件已打开的侧栏页面;args { name, data } */
|
|
1029
1051
|
"ui.viewEvent",
|
|
1052
|
+
/** 打开右侧栏并创建或定位到本插件的侧栏页面;args { viewId? } */
|
|
1053
|
+
"ui.viewOpen",
|
|
1054
|
+
/** 改清单声明过的输入框底栏状态项;args { id, text?, tooltip?, tone?, visible? } */
|
|
1055
|
+
"ui.statusUpdate",
|
|
1030
1056
|
"composer.readDraft",
|
|
1031
1057
|
"composer.insertText",
|
|
1032
1058
|
"composer.replaceDraft",
|
|
@@ -1306,19 +1332,19 @@ function planPhase(state) {
|
|
|
1306
1332
|
if (state.active) return "planning";
|
|
1307
1333
|
return state.executing ? "executing" : "off";
|
|
1308
1334
|
}
|
|
1309
|
-
const isRecord$
|
|
1335
|
+
const isRecord$5 = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
1310
1336
|
const hasExactKeys$2 = (value, keys) => Object.keys(value).length === keys.length && keys.every((key) => key in value);
|
|
1311
1337
|
const nonEmpty = (value, max) => typeof value === "string" && value.trim().length > 0 && value.length <= max;
|
|
1312
1338
|
const isResolution = (value) => PLAN_RESOLUTIONS.includes(value);
|
|
1313
1339
|
function parsePlanDoc(value) {
|
|
1314
|
-
if (!isRecord$
|
|
1340
|
+
if (!isRecord$5(value) || !hasExactKeys$2(value, ["planId", "title", "text"])) return null;
|
|
1315
1341
|
const { planId, title, text } = value;
|
|
1316
1342
|
if (!nonEmpty(planId, 64) || !nonEmpty(title, PLAN_TITLE_MAX) || !nonEmpty(text, PLAN_TEXT_MAX))
|
|
1317
1343
|
return null;
|
|
1318
1344
|
return { planId, title, text };
|
|
1319
1345
|
}
|
|
1320
1346
|
function parsePlanEntry(value) {
|
|
1321
|
-
if (!isRecord$
|
|
1347
|
+
if (!isRecord$5(value) || value.v !== 1 || typeof value.at !== "number") return null;
|
|
1322
1348
|
const { at } = value;
|
|
1323
1349
|
switch (value.kind) {
|
|
1324
1350
|
case "mode":
|
|
@@ -1342,7 +1368,7 @@ function foldPlanState(entries) {
|
|
|
1342
1368
|
state.resolutions = { ...state.resolutions, [planId]: action2 };
|
|
1343
1369
|
};
|
|
1344
1370
|
for (const raw of entries) {
|
|
1345
|
-
if (!isRecord$
|
|
1371
|
+
if (!isRecord$5(raw) || raw.type !== "custom" || raw.customType !== PLAN_ENTRY_TYPE) continue;
|
|
1346
1372
|
const entry = parsePlanEntry(raw.data);
|
|
1347
1373
|
if (!entry) continue;
|
|
1348
1374
|
if (entry.kind === "mode") {
|
|
@@ -1368,7 +1394,7 @@ function foldPlanState(entries) {
|
|
|
1368
1394
|
return state;
|
|
1369
1395
|
}
|
|
1370
1396
|
function parsePlanState(value) {
|
|
1371
|
-
if (!isRecord$
|
|
1397
|
+
if (!isRecord$5(value) || typeof value.active !== "boolean" || !isRecord$5(value.resolutions))
|
|
1372
1398
|
return null;
|
|
1373
1399
|
const allowed = ["active", "resolutions", "pending", "executing"];
|
|
1374
1400
|
if (Object.keys(value).some((key) => !allowed.includes(key))) return null;
|
|
@@ -1556,8 +1582,23 @@ function parsePrivacyMaskSettings(value) {
|
|
|
1556
1582
|
allow: strings(v.allow)
|
|
1557
1583
|
};
|
|
1558
1584
|
}
|
|
1585
|
+
const HEADER_NAME_RE = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
1586
|
+
function parseProviderHeaders(value) {
|
|
1587
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return void 0;
|
|
1588
|
+
const headers = {};
|
|
1589
|
+
for (const [name, headerValue] of Object.entries(value)) {
|
|
1590
|
+
if (!HEADER_NAME_RE.test(name)) continue;
|
|
1591
|
+
if (typeof headerValue !== "string" || /[\r\n]/.test(headerValue)) continue;
|
|
1592
|
+
headers[name] = headerValue;
|
|
1593
|
+
}
|
|
1594
|
+
return Object.keys(headers).length > 0 ? headers : void 0;
|
|
1595
|
+
}
|
|
1596
|
+
function escapePiConfigValue(value) {
|
|
1597
|
+
const doubled = value.replaceAll("$", () => "$$");
|
|
1598
|
+
return doubled.startsWith("!") ? `$${doubled}` : doubled;
|
|
1599
|
+
}
|
|
1559
1600
|
function parseRequestBodyUsage(value) {
|
|
1560
|
-
if (!isRecord$
|
|
1601
|
+
if (!isRecord$4(value)) return null;
|
|
1561
1602
|
const keys = ["bytes", "limitBytes", "stage", "blocked", "at"];
|
|
1562
1603
|
if (Object.keys(value).length !== keys.length || Object.keys(value).some((key) => !keys.includes(key)))
|
|
1563
1604
|
return null;
|
|
@@ -1571,7 +1612,7 @@ function parseRequestBodyUsage(value) {
|
|
|
1571
1612
|
at: value.at
|
|
1572
1613
|
};
|
|
1573
1614
|
}
|
|
1574
|
-
function isRecord$
|
|
1615
|
+
function isRecord$4(value) {
|
|
1575
1616
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
1576
1617
|
}
|
|
1577
1618
|
const cap = (text, limit) => text.length > limit ? `${text.slice(0, limit)}…` : text;
|
|
@@ -1643,6 +1684,98 @@ function parseSshTimeoutSeconds(value) {
|
|
|
1643
1684
|
if (value < MIN_SSH_TIMEOUT_SECONDS || value > MAX_SSH_TIMEOUT_SECONDS) return null;
|
|
1644
1685
|
return value;
|
|
1645
1686
|
}
|
|
1687
|
+
const TOOL_BATCH_LABEL_SYSTEM_PROMPT = `Write a short summary label describing what these tool calls accomplished. It appears as a single-line row in a mobile app and truncates around 30 characters, so think git-commit-subject, not sentence.
|
|
1688
|
+
|
|
1689
|
+
Keep the verb in past tense and the most distinctive noun. Drop articles, connectors, and long location context first. Reply in the same language as the intent text when there is one.
|
|
1690
|
+
|
|
1691
|
+
Examples:
|
|
1692
|
+
- Searched in auth/
|
|
1693
|
+
- Fixed NPE in UserService
|
|
1694
|
+
- Created signup endpoint
|
|
1695
|
+
- Read config.json
|
|
1696
|
+
- Ran failing tests`;
|
|
1697
|
+
const FIELD_CHARS = 300;
|
|
1698
|
+
const INTENT_CHARS = 200;
|
|
1699
|
+
const MAX_TOOLS = 8;
|
|
1700
|
+
const LABEL_CHARS = 60;
|
|
1701
|
+
const BOOKKEEPING_TOOLS = /* @__PURE__ */ new Set([
|
|
1702
|
+
"todo",
|
|
1703
|
+
"explore_mark",
|
|
1704
|
+
"explore_fold",
|
|
1705
|
+
"turn_discard",
|
|
1706
|
+
"ask_user"
|
|
1707
|
+
]);
|
|
1708
|
+
const clip = (text, max) => text.length > max ? `${text.slice(0, max - 1)}…` : text;
|
|
1709
|
+
const isRecord$3 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1710
|
+
function contentText(content) {
|
|
1711
|
+
if (typeof content === "string") return content;
|
|
1712
|
+
if (!Array.isArray(content)) return "";
|
|
1713
|
+
return content.filter((part) => isRecord$3(part) && part.type === "text" && typeof part.text === "string").map((part) => part.text).join("\n");
|
|
1714
|
+
}
|
|
1715
|
+
function toolBatchDigest(message, toolResults) {
|
|
1716
|
+
if (!isRecord$3(message) || message.role !== "assistant" || !Array.isArray(message.content))
|
|
1717
|
+
return void 0;
|
|
1718
|
+
const calls = message.content.filter(
|
|
1719
|
+
(part) => isRecord$3(part) && part.type === "toolCall" && typeof part.id === "string" && part.id.length > 0 && typeof part.name === "string"
|
|
1720
|
+
);
|
|
1721
|
+
if (calls.length === 0 || calls.every((c) => BOOKKEEPING_TOOLS.has(c.name))) return void 0;
|
|
1722
|
+
const results = /* @__PURE__ */ new Map();
|
|
1723
|
+
for (const r of toolResults)
|
|
1724
|
+
if (isRecord$3(r) && typeof r.toolCallId === "string") results.set(r.toolCallId, r);
|
|
1725
|
+
const intent = contentText(message.content.filter((p) => isRecord$3(p) && p.type === "text")).trim().replace(/\s+/g, " ");
|
|
1726
|
+
return {
|
|
1727
|
+
callId: calls[0].id,
|
|
1728
|
+
...intent ? { intent: clip(intent, INTENT_CHARS) } : {},
|
|
1729
|
+
tools: calls.slice(0, MAX_TOOLS).map((c) => {
|
|
1730
|
+
const r = results.get(c.id);
|
|
1731
|
+
let input;
|
|
1732
|
+
try {
|
|
1733
|
+
input = JSON.stringify(c.arguments ?? {});
|
|
1734
|
+
} catch {
|
|
1735
|
+
input = "";
|
|
1736
|
+
}
|
|
1737
|
+
const output = contentText(r?.content).trim();
|
|
1738
|
+
return {
|
|
1739
|
+
name: c.name,
|
|
1740
|
+
input: clip(input, FIELD_CHARS),
|
|
1741
|
+
output: clip(r?.isError === true ? `error: ${output}` : output, FIELD_CHARS)
|
|
1742
|
+
};
|
|
1743
|
+
})
|
|
1744
|
+
};
|
|
1745
|
+
}
|
|
1746
|
+
function toolBatchLabelPrompt(digest) {
|
|
1747
|
+
const tools = digest.tools.map((t) => `Tool: ${t.name}
|
|
1748
|
+
Input: ${t.input}
|
|
1749
|
+
Output: ${t.output}`).join("\n\n");
|
|
1750
|
+
const intent = digest.intent ? `User's intent (from assistant's last message): ${digest.intent}
|
|
1751
|
+
|
|
1752
|
+
` : "";
|
|
1753
|
+
return `${intent}Tools completed:
|
|
1754
|
+
|
|
1755
|
+
${tools}
|
|
1756
|
+
|
|
1757
|
+
Label:`;
|
|
1758
|
+
}
|
|
1759
|
+
function parseToolBatchDigest(value) {
|
|
1760
|
+
if (!isRecord$3(value) || typeof value.callId !== "string" || !value.callId) return null;
|
|
1761
|
+
if (value.intent !== void 0 && (typeof value.intent !== "string" || value.intent.length > INTENT_CHARS))
|
|
1762
|
+
return null;
|
|
1763
|
+
if (!Array.isArray(value.tools) || value.tools.length === 0 || value.tools.length > MAX_TOOLS)
|
|
1764
|
+
return null;
|
|
1765
|
+
const fieldOk = (v) => typeof v === "string" && v.length <= FIELD_CHARS;
|
|
1766
|
+
if (!value.tools.every(
|
|
1767
|
+
(t) => isRecord$3(t) && typeof t.name === "string" && t.name.length > 0 && t.name.length <= FIELD_CHARS && fieldOk(t.input) && fieldOk(t.output)
|
|
1768
|
+
))
|
|
1769
|
+
return null;
|
|
1770
|
+
return value;
|
|
1771
|
+
}
|
|
1772
|
+
function cleanToolBatchLabel(text) {
|
|
1773
|
+
const line = text.split("\n").map((l) => l.trim()).find(Boolean);
|
|
1774
|
+
if (!line) return void 0;
|
|
1775
|
+
const label = line.replace(/^label:\s*/i, "").replace(/^[-*•]\s+/, "").replace(/^["'`“”]+|["'`“”]+$/g, "").trim();
|
|
1776
|
+
if (!label || /^(error\b|i cannot\b|i can't\b|sorry\b)/i.test(label)) return void 0;
|
|
1777
|
+
return clip(label, LABEL_CHARS);
|
|
1778
|
+
}
|
|
1646
1779
|
const WEB_SEARCH_CHAIN_MAX = 8;
|
|
1647
1780
|
function isXaiResponsesHost(baseUrl) {
|
|
1648
1781
|
try {
|
|
@@ -2091,7 +2224,8 @@ function isPluginEventPlan(value) {
|
|
|
2091
2224
|
))
|
|
2092
2225
|
return false;
|
|
2093
2226
|
if (new Set(value.observe).size !== value.observe.length) return false;
|
|
2094
|
-
if (!Array.isArray(value.intercept) || value.intercept.length >
|
|
2227
|
+
if (!Array.isArray(value.intercept) || value.intercept.length > PLUGIN_INTERCEPT_EVENTS.length)
|
|
2228
|
+
return false;
|
|
2095
2229
|
const events = /* @__PURE__ */ new Set();
|
|
2096
2230
|
for (const item of value.intercept) {
|
|
2097
2231
|
if (!isRecord(item) || !hasOnlyKeys(item, ["event", "tools"]) || typeof item.event !== "string")
|
|
@@ -2118,9 +2252,18 @@ const isPluginObserveData = (event, data) => {
|
|
|
2118
2252
|
if (event === "agent_end")
|
|
2119
2253
|
return hasOnlyKeys(data, ["text"]) && (data.text === void 0 || typeof data.text === "string" && data.text.length <= AGENT_END_TEXT_MAX);
|
|
2120
2254
|
if (event === "context_usage") return isContextUsagePayload(data);
|
|
2255
|
+
if (event === "model_select") return isModelSelectPayload(data);
|
|
2121
2256
|
return (event === "session_start" || event === "session_end" || event === "after_compact") && hasExactKeys(data, ["reason"]) && isNonEmptyString(data.reason) && data.reason.length <= 64;
|
|
2122
2257
|
};
|
|
2123
2258
|
const isTokenCount = (value) => typeof value === "number" && Number.isFinite(value) && value >= 0;
|
|
2259
|
+
const isModelRefPart = (value) => typeof value === "string" && value.length > 0 && value.length <= 256;
|
|
2260
|
+
const isModelSelectPayload = (data) => {
|
|
2261
|
+
if (!hasOnlyKeys(data, ["provider", "modelId", "previous", "source"])) return false;
|
|
2262
|
+
if (!isModelRefPart(data.provider) || !isModelRefPart(data.modelId)) return false;
|
|
2263
|
+
if (data.source !== "set" && data.source !== "cycle" && data.source !== "restore") return false;
|
|
2264
|
+
if (data.previous === void 0) return true;
|
|
2265
|
+
return isRecord(data.previous) && hasExactKeys(data.previous, ["provider", "modelId"]) && isModelRefPart(data.previous.provider) && isModelRefPart(data.previous.modelId);
|
|
2266
|
+
};
|
|
2124
2267
|
const isTokenRecord = (value, keys) => isRecord(value) && hasExactKeys(value, keys) && keys.every((key) => isTokenCount(value[key]));
|
|
2125
2268
|
const isContextUsagePayload = (data) => hasOnlyKeys(data, [
|
|
2126
2269
|
"used",
|
|
@@ -2136,6 +2279,9 @@ const isContextPartItem = (value) => isRecord(value) && hasOnlyKeys(value, ["nam
|
|
|
2136
2279
|
const isContextPart = (value) => isRecord(value) && hasExactKeys(value, ["kind", "tokens", "items"]) && CONTEXT_PART_KINDS.includes(value.kind) && isTokenCount(value.tokens) && Array.isArray(value.items) && value.items.length <= CONTEXT_PART_ITEMS && value.items.every(isContextPartItem);
|
|
2137
2280
|
const isPluginInterceptPayload = (event, payload) => {
|
|
2138
2281
|
if (!isRecord(payload)) return false;
|
|
2282
|
+
if (event === "before_agent_start") {
|
|
2283
|
+
return hasExactKeys(payload, ["prompt", "kind"]) && isBoundedText(payload.prompt, BEFORE_AGENT_START_PROMPT_MAX) && (payload.kind === "user" || payload.kind === "custom");
|
|
2284
|
+
}
|
|
2139
2285
|
if (event === "before_compact") {
|
|
2140
2286
|
return hasExactKeys(payload, ["reason"]) && isNonEmptyString(payload.reason) && payload.reason.length <= 64;
|
|
2141
2287
|
}
|
|
@@ -2256,9 +2402,27 @@ function parseContextOccupancy(value) {
|
|
|
2256
2402
|
const tokens = value.buckets[id];
|
|
2257
2403
|
if (!isSequence(tokens)) return null;
|
|
2258
2404
|
}
|
|
2259
|
-
|
|
2405
|
+
const parts = value.parts === void 0 ? void 0 : parseContextParts(value.parts);
|
|
2406
|
+
if (value.parts !== void 0 && !parts) return null;
|
|
2407
|
+
if (!isSequence(value.used) || !isSequence(value.compactedMessageCount) || typeof value.compactionModelMismatch !== "boolean" || value.contextWindow !== void 0 && !(typeof value.contextWindow === "number" && value.contextWindow > 0) || value.percent !== void 0 && !isSequence(value.percent) || value.compactionEntryId !== void 0 && !isNonEmptyString(value.compactionEntryId) || value.compactionTokensAfter !== void 0 && !isSequence(value.compactionTokensAfter)) {
|
|
2260
2408
|
return null;
|
|
2261
2409
|
}
|
|
2410
|
+
return { ...value, ...parts ? { parts } : {} };
|
|
2411
|
+
}
|
|
2412
|
+
function parseContextParts(value) {
|
|
2413
|
+
if (!Array.isArray(value) || value.length > CONTEXT_PART_KINDS.length) return null;
|
|
2414
|
+
const seen = /* @__PURE__ */ new Set();
|
|
2415
|
+
for (const part of value) {
|
|
2416
|
+
if (!isRecord(part) || !CONTEXT_PART_KINDS.includes(part.kind) || seen.has(part.kind) || !isSequence(part.tokens) || !Array.isArray(part.items) || part.items.length > CONTEXT_PART_ITEMS) {
|
|
2417
|
+
return null;
|
|
2418
|
+
}
|
|
2419
|
+
seen.add(part.kind);
|
|
2420
|
+
for (const item of part.items) {
|
|
2421
|
+
if (!isRecord(item) || !isNonEmptyString(item.name) || typeof item.tag !== "string" || item.tag.length > 32 || !isSequence(item.tokens) || item.n !== void 0 && (!isSequence(item.n) || item.n < 1)) {
|
|
2422
|
+
return null;
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2262
2426
|
return value;
|
|
2263
2427
|
}
|
|
2264
2428
|
const isNonNegativeNumber = (value) => typeof value === "number" && Number.isFinite(value) && value >= 0;
|
|
@@ -2328,14 +2492,20 @@ function parsePhysicalSpawnModelConfig(value) {
|
|
|
2328
2492
|
"reasoning",
|
|
2329
2493
|
"thinkingLevel",
|
|
2330
2494
|
"contextWindow",
|
|
2331
|
-
"maxTokens"
|
|
2495
|
+
"maxTokens",
|
|
2496
|
+
"headers"
|
|
2332
2497
|
]) || !MODEL_API_KINDS.includes(value.api) || typeof value.baseUrl !== "string" || typeof value.apiKey !== "string" || !isNonEmptyString(value.modelId) || !isNonEmptyString(value.settingsProviderId) || value.oauthAccountKey !== void 0 && !isNonEmptyString(value.oauthAccountKey) || value.oauthAccountPool !== void 0 && (!parseOauthAccountPool(value.oauthAccountPool) || !isCodexAccountKey(value.oauthAccountKey) || value.apiKey !== "")) {
|
|
2333
2498
|
return null;
|
|
2334
2499
|
}
|
|
2500
|
+
if (value.headers !== void 0) {
|
|
2501
|
+
const headers = parseProviderHeaders(value.headers);
|
|
2502
|
+
if (headers) value.headers = headers;
|
|
2503
|
+
else delete value.headers;
|
|
2504
|
+
}
|
|
2335
2505
|
return value;
|
|
2336
2506
|
}
|
|
2337
2507
|
function parseSubagentModelOption(value) {
|
|
2338
|
-
if (!isRecord(value) || !hasOnlyKeys(value, ["name", "config", "description"]) || !isNonEmptyString(value.name) || !
|
|
2508
|
+
if (!isRecord(value) || !hasOnlyKeys(value, ["name", "config", "description"]) || !isNonEmptyString(value.name) || !parseSessionModelConfig(value.config) || value.description !== void 0 && typeof value.description !== "string") {
|
|
2339
2509
|
return null;
|
|
2340
2510
|
}
|
|
2341
2511
|
return value;
|
|
@@ -2469,6 +2639,9 @@ function parseAgentSessionCustomEntry(value) {
|
|
|
2469
2639
|
const receipt = parseCapabilityReceipt(value.receipt);
|
|
2470
2640
|
return receipt ? { kind: "capability-receipt", receipt } : null;
|
|
2471
2641
|
}
|
|
2642
|
+
if (value.kind === "tool-batch-label") {
|
|
2643
|
+
return hasExactKeys(value, ["kind", "callId", "label", "at"]) && isNonEmptyString(value.callId) && isNonEmptyString(value.label) && value.label.length <= 200 && typeof value.at === "number" && Number.isFinite(value.at) ? value : null;
|
|
2644
|
+
}
|
|
2472
2645
|
const child = parseSafeChildRef(value.child);
|
|
2473
2646
|
if (!child || typeof value.at !== "number" || !Number.isFinite(value.at)) return null;
|
|
2474
2647
|
if (value.kind === "agent-dispatch" && hasExactKeys(value, ["kind", "child", "at"])) {
|
|
@@ -2627,6 +2800,7 @@ function parseAgentCommand(value) {
|
|
|
2627
2800
|
"mcpServers",
|
|
2628
2801
|
"pluginCommands",
|
|
2629
2802
|
"pluginTools",
|
|
2803
|
+
"workflowPresetFiles",
|
|
2630
2804
|
"pluginEvents",
|
|
2631
2805
|
"pluginHooks",
|
|
2632
2806
|
"instruction",
|
|
@@ -2659,7 +2833,9 @@ function parseAgentCommand(value) {
|
|
|
2659
2833
|
"instanceId"
|
|
2660
2834
|
]) || !parseSessionIdentity(value.identity) || typeof value.cwd !== "string" || !parseSessionModelConfig(value.model) || value.resumeFile !== void 0 && !isNonEmptyString(value.resumeFile) || value.loadHarnessAssets !== void 0 && typeof value.loadHarnessAssets !== "boolean" || value.trustedProjectCode !== void 0 && !(Array.isArray(value.trustedProjectCode) && value.trustedProjectCode.length <= 500 && value.trustedProjectCode.every(
|
|
2661
2835
|
(entry) => typeof entry === "string" && entry.length > 0 && entry.length <= 1024
|
|
2662
|
-
)) || value.pluginCommands !== void 0 && parsePluginCommands(value.pluginCommands) === null || value.pluginTools !== void 0 && !isPluginToolList(value.pluginTools) || value.
|
|
2836
|
+
)) || value.pluginCommands !== void 0 && parsePluginCommands(value.pluginCommands) === null || value.pluginTools !== void 0 && !isPluginToolList(value.pluginTools) || value.workflowPresetFiles !== void 0 && !(Array.isArray(value.workflowPresetFiles) && value.workflowPresetFiles.length <= 500 && value.workflowPresetFiles.every(
|
|
2837
|
+
(entry) => typeof entry === "string" && entry.length > 0 && entry.length <= 1024
|
|
2838
|
+
)) || value.pluginEvents !== void 0 && !isPluginEventPlan(value.pluginEvents) || value.pluginHooks !== void 0 && parsePluginHooks(value.pluginHooks) === null || value.rtkEnabled !== void 0 && typeof value.rtkEnabled !== "boolean" || value.dcgPath !== void 0 && !isNonEmptyString(value.dcgPath) || value.planMode !== void 0 && typeof value.planMode !== "boolean" || value.windowsLocalShell !== void 0 && !WINDOWS_LOCAL_SHELLS.includes(
|
|
2663
2839
|
value.windowsLocalShell
|
|
2664
2840
|
) || value.exploreFoldEnabled !== void 0 && typeof value.exploreFoldEnabled !== "boolean" || value.editMode !== void 0 && !isEditMode(value.editMode) || value.hashlineEditEnabled !== void 0 && typeof value.hashlineEditEnabled !== "boolean" || value.compactStrategy !== void 0 && parseCompactStrategy(value.compactStrategy) === null || value.smartCompactEnabled !== void 0 && typeof value.smartCompactEnabled !== "boolean" || value.smartCompactSummaryModel !== void 0 && parseSpawnModelConfig(value.smartCompactSummaryModel) === null || value.smartCompactMode !== void 0 && parseSmartCompactMode(value.smartCompactMode) === null || value.memoryLanguage !== void 0 && typeof value.memoryLanguage !== "string" || value.remote !== void 0 && parseAgentRemoteConfig(value.remote) === null || value.subagentModels !== void 0 && (!Array.isArray(value.subagentModels) || value.subagentModels.some((entry) => parseSubagentModelOption(entry) === null)) || value.approvalReviewer !== void 0 && parseSpawnModelConfig(value.approvalReviewer) === null || value.approvalReviewerAllowThreshold !== void 0 && (!isApprovalAllowThreshold(value.approvalReviewerAllowThreshold) || value.approvalReviewerClassifier === void 0) || value.approvalReviewerManaged !== void 0 && (value.approvalReviewerManaged !== true || value.approvalReviewerClassifier === void 0) || value.approvalReviewerClassifier !== void 0 && (value.approvalReviewer !== void 0 || !parseClassifierCredentials(value.approvalReviewerClassifier)) || value.rolePrompt !== void 0 && !isNonEmptyString(value.rolePrompt) || value.systemPrompt !== void 0 && !isNonEmptyString(value.systemPrompt) || value.systemPromptAppend !== void 0 && !isNonEmptyString(value.systemPromptAppend) || value.systemPromptBoost !== void 0 && !isNonEmptyString(value.systemPromptBoost) || value.refusalRetryPrompt !== void 0 && !isNonEmptyString(value.refusalRetryPrompt) || value.botMode !== void 0 && typeof value.botMode !== "boolean" || value.botGroupTasks !== void 0 && typeof value.botGroupTasks !== "boolean" || value.botDiscussMode !== void 0 && typeof value.botDiscussMode !== "boolean" || value.botDiscussMode === true && (value.botMode !== true || value.botGroupTasks !== true) || value.botRoutines !== void 0 && typeof value.botRoutines !== "boolean" || value.botDelegationTask !== void 0 && typeof value.botDelegationTask !== "boolean" || value.botWriteLock !== void 0 && (!isRecord(value.botWriteLock) || !isNonEmptyString(value.botWriteLock.label) || !Array.isArray(value.botWriteLock.ancestors) || !value.botWriteLock.ancestors.every(isNonEmptyString)) || value.protectedActions !== void 0 && typeof value.protectedActions !== "boolean" || value.instanceId !== void 0 && !isUuid(value.instanceId)) {
|
|
2665
2841
|
return null;
|
|
@@ -2837,6 +3013,8 @@ function parseAgentCommand(value) {
|
|
|
2837
3013
|
case "abort-retry":
|
|
2838
3014
|
case "release-parent":
|
|
2839
3015
|
return hasExactKeys(value, ["type", "identity"]) && parseAnySessionIdentity(value.identity) ? value : null;
|
|
3016
|
+
case "withdraw-steer":
|
|
3017
|
+
return hasExactKeys(value, ["type", "identity", "deliveryId"]) && parseAnySessionIdentity(value.identity) && isDeliveryId(value.deliveryId) ? value : null;
|
|
2840
3018
|
case "retry":
|
|
2841
3019
|
return hasOnlyKeys(value, ["type", "identity", "instanceId", "unfinishedOnly"]) && parseAnySessionIdentity(value.identity) && (value.unfinishedOnly === void 0 || value.unfinishedOnly === true) && (value.instanceId === void 0 || isUuid(value.instanceId) && parseSessionIdentity(value.identity) !== null) ? value : null;
|
|
2842
3020
|
case "append-session-custom-entry":
|
|
@@ -2956,6 +3134,9 @@ function parseAgentWorkerEvent(value) {
|
|
|
2956
3134
|
if (value.type === "title-failed") {
|
|
2957
3135
|
return hasExactKeys(value, ["type", "conversationId", "error"]) && isNonEmptyString(value.conversationId) && isNonEmptyString(value.error) ? value : null;
|
|
2958
3136
|
}
|
|
3137
|
+
if (value.type === "tool-batch-completed") {
|
|
3138
|
+
return hasExactKeys(value, ["type", "identity", "digest"]) && parseSessionIdentity(value.identity) && parseToolBatchDigest(value.digest) ? value : null;
|
|
3139
|
+
}
|
|
2959
3140
|
if (value.type === "text-delta") {
|
|
2960
3141
|
return hasOnlyKeys(value, ["type", "requestId", "text", "thinking"]) && isNonEmptyString(value.requestId) && typeof value.text === "string" && (value.thinking === void 0 || typeof value.thinking === "string") ? value : null;
|
|
2961
3142
|
}
|
|
@@ -3026,7 +3207,7 @@ function parseAgentWorkerEvent(value) {
|
|
|
3026
3207
|
case "message-upsert":
|
|
3027
3208
|
return isSequence(value.index) && isRecord(value.message) && hasValidProjectedMetadata(value.message) ? value : null;
|
|
3028
3209
|
case "turn-completed":
|
|
3029
|
-
return isNonEmptyString(value.turnId) && (value.digest === void 0 || parseTurnDigest(value.digest)) && (value.requestBudgetStop === void 0 || value.requestBudgetStop === true) && (value.requestBudgetError === void 0 || value.requestBudgetStop === true && isNonEmptyString(value.requestBudgetError)) ? value : null;
|
|
3210
|
+
return isNonEmptyString(value.turnId) && (value.digest === void 0 || parseTurnDigest(value.digest)) && (value.aborted === void 0 || value.aborted === true) && (value.requestBudgetStop === void 0 || value.requestBudgetStop === true) && (value.requestBudgetError === void 0 || value.requestBudgetStop === true && isNonEmptyString(value.requestBudgetError)) ? value : null;
|
|
3030
3211
|
case "turn-failed":
|
|
3031
3212
|
return isNonEmptyString(value.turnId) && isNonEmptyString(value.error) && (value.undelivered === void 0 || value.undelivered === true) && (value.retryExhausted === void 0 || value.retryExhausted === true) ? value : null;
|
|
3032
3213
|
case "turn-retry":
|
|
@@ -3062,7 +3243,7 @@ function parseAgentWorkerEvent(value) {
|
|
|
3062
3243
|
case "ask-resolved":
|
|
3063
3244
|
return isNonEmptyString(value.requestId) ? value : null;
|
|
3064
3245
|
case "ask-request":
|
|
3065
|
-
return isRecord(value.ask) && isNonEmptyString(value.ask.requestId) && isNonEmptyString(value.ask.question) && isOptionalTimestamp(value.ask.expiresAt) ? value : null;
|
|
3246
|
+
return isRecord(value.ask) && isNonEmptyString(value.ask.requestId) && isNonEmptyString(value.ask.question) && isOptionalTimestamp(value.ask.expiresAt) && (value.ask.recommended === void 0 || Array.isArray(value.ask.options) && value.ask.options.includes(value.ask.recommended)) ? value : null;
|
|
3066
3247
|
case "subagent-update":
|
|
3067
3248
|
return isRecord(value.agent) ? value : null;
|
|
3068
3249
|
case "coworker-update":
|
|
@@ -3093,148 +3274,158 @@ function parseAgentWorkerEvent(value) {
|
|
|
3093
3274
|
}
|
|
3094
3275
|
}
|
|
3095
3276
|
export {
|
|
3096
|
-
|
|
3277
|
+
CLAUDE_HOOK_EVENTS as $,
|
|
3097
3278
|
AGENT_END_TEXT_MAX as A,
|
|
3098
|
-
|
|
3279
|
+
BEFORE_AGENT_START_PROMPT_MAX as B,
|
|
3099
3280
|
CONTEXT_OCCUPANCY_BUCKETS as C,
|
|
3100
3281
|
DEFAULT_MAX_ACTIVE_COWORKERS as D,
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3282
|
+
parseAgentSessionCustomEntry as E,
|
|
3283
|
+
ENSO_LOCKED_PROFILE as F,
|
|
3284
|
+
toolBatchDigest as G,
|
|
3285
|
+
splitPlanPrefix as H,
|
|
3286
|
+
parsePlanMessage as I,
|
|
3287
|
+
isClassifierOnlyProvider as J,
|
|
3288
|
+
isOauthAccountPool as K,
|
|
3289
|
+
resolveEditMode as L,
|
|
3109
3290
|
MODEL_API_KINDS as M,
|
|
3110
|
-
|
|
3111
|
-
|
|
3291
|
+
EMPTY_PLAN_STATE as N,
|
|
3292
|
+
mergeMaskReports as O,
|
|
3112
3293
|
PLUGIN_MESSAGE_TYPE as P,
|
|
3113
|
-
|
|
3114
|
-
|
|
3294
|
+
PRIVACY_MASK_ENTRY as Q,
|
|
3295
|
+
parseAgentCommand as R,
|
|
3115
3296
|
STALE_SESSION_ERROR as S,
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3297
|
+
pluginToolName as T,
|
|
3298
|
+
APPROVAL_MODES as U,
|
|
3299
|
+
THINKING_LEVELS as V,
|
|
3300
|
+
ENSO_LOCKED_PROFILE_ID as W,
|
|
3301
|
+
parseChildConversationMetadata as X,
|
|
3302
|
+
eligibleOauthPoolAccountKeys as Y,
|
|
3303
|
+
isEditMode as Z,
|
|
3304
|
+
normalizeSshTimeoutSeconds as _,
|
|
3305
|
+
parseSessionIdentity as a,
|
|
3306
|
+
parseCreateProjectAuthorityRequest as a$,
|
|
3307
|
+
isReservedAgentTypeName as a0,
|
|
3308
|
+
BUILTIN_AGENT_TYPES as a1,
|
|
3309
|
+
isPluginEntry as a2,
|
|
3310
|
+
PLUGIN_HOST_APIS as a3,
|
|
3311
|
+
PLUGIN_INJECT_MAX_CHARS as a4,
|
|
3312
|
+
parsePluginInjectImages as a5,
|
|
3313
|
+
isHostPluginEvent as a6,
|
|
3314
|
+
parsePluginToolName as a7,
|
|
3315
|
+
initialInterceptState as a8,
|
|
3316
|
+
CHILD_INTERCEPT_TOTAL_TIMEOUT_MS as a9,
|
|
3317
|
+
AGENT_WAIT_DEFAULT_MS as aA,
|
|
3318
|
+
AGENT_WAIT_MAX_MS as aB,
|
|
3319
|
+
isDeliveryId as aC,
|
|
3320
|
+
LOCAL_IMAGE_SCHEME as aD,
|
|
3321
|
+
REMOTE_FETCH_HOST as aE,
|
|
3322
|
+
BOT_AVATAR_HOST as aF,
|
|
3323
|
+
PLUGIN_ASSET_HOST as aG,
|
|
3324
|
+
mediaExtension as aH,
|
|
3325
|
+
localImageUrlToPath as aI,
|
|
3326
|
+
isMediaPath as aJ,
|
|
3327
|
+
isVideoPath as aK,
|
|
3328
|
+
IMAGE_EXTENSIONS as aL,
|
|
3329
|
+
withVersionSegment as aM,
|
|
3330
|
+
DEFAULT_BASE_URLS as aN,
|
|
3331
|
+
parseCapabilityAskResponse as aO,
|
|
3332
|
+
parseCreateConversationAuthorityRequest as aP,
|
|
3333
|
+
parseConversationAuthorityRequest as aQ,
|
|
3334
|
+
parseUpdateConversationSelectionRequest as aR,
|
|
3335
|
+
parseTitleSummaryInput as aS,
|
|
3336
|
+
parseParentSourceBindingRequest as aT,
|
|
3337
|
+
parseParentModelSelectionRequest as aU,
|
|
3338
|
+
parseAgentDispatchRequest as aV,
|
|
3339
|
+
isApprovalDecision as aW,
|
|
3340
|
+
cleanToolBatchLabel as aX,
|
|
3341
|
+
toolBatchLabelPrompt as aY,
|
|
3342
|
+
TOOL_BATCH_LABEL_SYSTEM_PROMPT as aZ,
|
|
3343
|
+
TITLE_SUMMARY_MAX_CANDIDATES as a_,
|
|
3344
|
+
INTERCEPT_TOTAL_TIMEOUT_MS as aa,
|
|
3345
|
+
CHILD_INTERCEPT_TIMEOUT_MS as ab,
|
|
3346
|
+
INTERCEPT_TIMEOUT_MS as ac,
|
|
3347
|
+
applyInterceptResult as ad,
|
|
3348
|
+
failClosedResult as ae,
|
|
3349
|
+
OBSERVE_TIMEOUT_MS as af,
|
|
3350
|
+
BEFORE_COMPACT_TIMEOUT_MS as ag,
|
|
3351
|
+
PLUGIN_PROGRESS_MAX_CHARS as ah,
|
|
3352
|
+
MCP_TRANSPORTS as ai,
|
|
3353
|
+
parsePrivacyMaskRecord as aj,
|
|
3354
|
+
hasProviderCredentials as ak,
|
|
3355
|
+
buildAgentTypeRegistrySnapshot as al,
|
|
3356
|
+
visibleMemberAgentTypes as am,
|
|
3357
|
+
ENSO_AGENT_TYPE_KEY as an,
|
|
3358
|
+
DEFAULT_APPROVAL_ALLOW_THRESHOLD as ao,
|
|
3359
|
+
resolveShellLimits as ap,
|
|
3360
|
+
parseWebSearchChain as aq,
|
|
3361
|
+
parseWindowsLocalShell as ar,
|
|
3362
|
+
parseSmartCompactMode as as,
|
|
3363
|
+
parseAgentWorkerEvent as at,
|
|
3364
|
+
DEFAULT_PRESET_ID as au,
|
|
3365
|
+
normalizeMaxActiveCoworkers as av,
|
|
3366
|
+
normalizeAutoRetryLimit as aw,
|
|
3367
|
+
parsePrivacyMaskSettings as ax,
|
|
3368
|
+
parseDisabledWorkflowPresets as ay,
|
|
3369
|
+
resolveImageGenerationConfig as az,
|
|
3370
|
+
parseApprovalAllowThreshold as b,
|
|
3371
|
+
parseSelectProjectAuthorityRequest as b0,
|
|
3372
|
+
parseRemoveProjectAuthorityRequest as b1,
|
|
3373
|
+
parseStartOauthWizardRequest as b2,
|
|
3374
|
+
parseOauthFlowPromptResponse as b3,
|
|
3375
|
+
parseOauthFlowControlRequest as b4,
|
|
3376
|
+
SHELL_LIMITS as b5,
|
|
3377
|
+
imageGenerationPreviewPaths as b6,
|
|
3378
|
+
parseGeneratedImagePaths as b7,
|
|
3379
|
+
parseMaskReport as b8,
|
|
3380
|
+
parsePluginMessageSource as b9,
|
|
3381
|
+
parseRtkToolStats as ba,
|
|
3382
|
+
isBackgroundTaskId as bb,
|
|
3383
|
+
parseShellFailure as bc,
|
|
3384
|
+
pluginArtifactsFromToolDetails as bd,
|
|
3385
|
+
parseApprovalReviewRecord as be,
|
|
3386
|
+
PROJECTED_FILE_TEXT_LIMIT as bf,
|
|
3387
|
+
PROJECTED_FILE_CHANGE_LIMIT as bg,
|
|
3388
|
+
PROJECTED_APPLY_PATCH_PATH_TEXT_LIMIT as bh,
|
|
3389
|
+
PROJECTED_APPLY_PATCH_PATH_COUNT_LIMIT as bi,
|
|
3390
|
+
foldPlanState as bj,
|
|
3391
|
+
PLAN_MODE_ON_NOTE as bk,
|
|
3392
|
+
PLAN_MODE_OFF_NOTE as bl,
|
|
3393
|
+
planFeedbackText as bm,
|
|
3394
|
+
planKickoffText as bn,
|
|
3395
|
+
activePlanNote as bo,
|
|
3396
|
+
PLAN_TITLE_MAX as bp,
|
|
3397
|
+
PLAN_TEXT_MAX as bq,
|
|
3398
|
+
planPhase as br,
|
|
3399
|
+
parsePlanEntry as bs,
|
|
3400
|
+
parseAgentControlToolRequest as bt,
|
|
3401
|
+
nativeSearchKindFor as bu,
|
|
3402
|
+
isWorkflowPresetId as bv,
|
|
3403
|
+
PLUGIN_EVENTS as bw,
|
|
3404
|
+
isInterceptEvent as bx,
|
|
3405
|
+
APPEND_ONLY_INTERCEPT_EVENTS as by,
|
|
3406
|
+
isProbability as c,
|
|
3407
|
+
CONTEXT_PART_ITEMS as d,
|
|
3408
|
+
parseProviderHeaders as e,
|
|
3409
|
+
escapePiConfigValue as f,
|
|
3410
|
+
MODEL_REASONING_OVERRIDES as g,
|
|
3411
|
+
MODEL_THINKING_LEVEL_OVERRIDES as h,
|
|
3221
3412
|
isApprovalReviewReason as i,
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3413
|
+
isCodexAccountKey as j,
|
|
3414
|
+
classifyCodexPoolFailure as k,
|
|
3415
|
+
isUuid as l,
|
|
3416
|
+
isChildInterceptEvent as m,
|
|
3417
|
+
CONTEXT_USAGE_BUCKETS as n,
|
|
3418
|
+
BEFORE_AGENT_START_APPEND_MAX as o,
|
|
3419
|
+
parseChildSessionIdentity as p,
|
|
3420
|
+
MaskReportBuilder as q,
|
|
3230
3421
|
resolvePiProviderBaseUrl as r,
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3422
|
+
PRODUCT_SURFACE_INVENTORY as s,
|
|
3423
|
+
DEFAULT_AUTO_RETRY_LIMIT as t,
|
|
3424
|
+
isSameChildSessionIdentity as u,
|
|
3425
|
+
resolveCompactStrategy as v,
|
|
3235
3426
|
workspaceBranchChangedNote as w,
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3427
|
+
DEFAULT_SSH_TIMEOUT_SECONDS as x,
|
|
3428
|
+
PLAN_ENTRY_TYPE as y,
|
|
3429
|
+
autoRetryOverrides as z
|
|
3239
3430
|
};
|
|
3240
|
-
//# sourceMappingURL=agent
|
|
3431
|
+
//# sourceMappingURL=agent--Q7N17bY.js.map
|