dal-code 1.0.50 → 1.0.52
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/CHANGELOG.md +1050 -5
- package/NOTICE +17 -1
- package/dist/bundle/chunks/anthropic-messages-NK5NGKAI.js +5 -0
- package/dist/bundle/chunks/anthropic.js +74 -0
- package/dist/bundle/chunks/azure-openai-responses-VEASENYL.js +1 -0
- package/dist/bundle/chunks/bedrock-converse-stream.js +88 -0
- package/dist/bundle/chunks/chunk-3YGHTGYM.js +7 -0
- package/dist/bundle/chunks/chunk-4LDEEFCY.js +1 -0
- package/dist/bundle/chunks/chunk-4UTLMBZZ.js +13 -0
- package/dist/bundle/chunks/chunk-4VJJ6NXH.js +8 -0
- package/dist/bundle/chunks/chunk-567OJLS7.js +1 -0
- package/dist/bundle/chunks/chunk-5AGIVGSV.js +5 -0
- package/dist/bundle/chunks/chunk-6EEJ4MZH.js +1 -0
- package/dist/bundle/chunks/chunk-6QGV3IWD.js +5 -0
- package/dist/bundle/chunks/chunk-723ZGEZ2.js +1 -0
- package/dist/bundle/chunks/chunk-7DDKXS2Q.js +1 -0
- package/dist/bundle/chunks/chunk-7ZC4UXSL.js +1 -0
- package/dist/bundle/chunks/chunk-A5CI3CVQ.js +1 -0
- package/dist/bundle/chunks/chunk-AAQZXQA7.js +1 -0
- package/dist/bundle/chunks/chunk-ANL2BCIQ.js +15 -0
- package/dist/bundle/chunks/chunk-CF5GWZHW.js +30 -0
- package/dist/bundle/chunks/chunk-CS4T4O5O.js +1 -0
- package/dist/bundle/chunks/chunk-D2WTLI2T.js +19 -0
- package/dist/bundle/chunks/chunk-DLKRCASW.js +17 -0
- package/dist/bundle/chunks/chunk-EH7SFF47.js +129 -0
- package/dist/bundle/chunks/chunk-FFMDRXC4.js +9 -0
- package/dist/bundle/chunks/chunk-HEFI7NO7.js +1 -0
- package/dist/bundle/chunks/chunk-IEBK4HQA.js +1 -0
- package/dist/bundle/chunks/chunk-JXWJOIH4.js +1 -0
- package/dist/bundle/chunks/chunk-K7VBBYTT.js +1 -0
- package/dist/bundle/chunks/chunk-KJW3E2CB.js +9 -0
- package/dist/bundle/chunks/chunk-L2ZPNLYD.js +1 -0
- package/dist/bundle/chunks/chunk-LVVZS2NO.js +11 -0
- package/dist/bundle/chunks/chunk-ML5DIOWR.js +1 -0
- package/dist/bundle/chunks/chunk-ON7ZX67F.js +30 -0
- package/dist/bundle/chunks/chunk-OQWPBJCS.js +81 -0
- package/dist/bundle/chunks/chunk-P7FPUEYA.js +1 -0
- package/dist/bundle/chunks/chunk-PGXDEOVV.js +1 -0
- package/dist/bundle/chunks/chunk-PJACZCIR.js +1 -0
- package/dist/bundle/chunks/chunk-PRRNXB7S.js +1 -0
- package/dist/bundle/chunks/chunk-R47JBGS3.js +1 -0
- package/dist/bundle/chunks/chunk-RDZVAGPR.js +1 -0
- package/dist/bundle/chunks/chunk-SE42OS3U.js +21 -0
- package/dist/bundle/chunks/chunk-TK2WJTRC.js +3 -0
- package/dist/bundle/chunks/chunk-TMTOQ7H7.js +1 -0
- package/dist/bundle/chunks/chunk-UTB4DTYQ.js +1 -0
- package/dist/bundle/chunks/chunk-UVKMBM5X.js +56 -0
- package/dist/bundle/chunks/chunk-WIZGOHKY.js +9 -0
- package/dist/bundle/chunks/chunk-XAS5HHBW.js +1180 -0
- package/dist/bundle/chunks/chunk-XDBGA662.js +43 -0
- package/dist/bundle/chunks/chunk-XJFQKN3N.js +2 -0
- package/dist/bundle/chunks/chunk-YWNDPXVM.js +25 -0
- package/dist/bundle/chunks/chunk-ZG74NES2.js +1 -0
- package/dist/bundle/chunks/cli-GXB5WYKG.js +52 -0
- package/dist/bundle/chunks/cli-YPE3BB5X.js +30 -0
- package/dist/bundle/chunks/cloudflare-workers-ai-system-one-B7WOBGWO.js +1 -0
- package/dist/bundle/chunks/codemode-worker.js +480 -0
- package/dist/bundle/chunks/dist-D3WIBXB5.js +10 -0
- package/dist/bundle/chunks/easter-egg-3d-5TFBCTIS.js +1 -0
- package/dist/bundle/chunks/execute-27QCJECT.js +506 -0
- package/dist/bundle/chunks/github-copilot.js +1 -0
- package/dist/bundle/chunks/google-generative-ai-MBMRBHSZ.js +1 -0
- package/dist/bundle/chunks/google-vertex-S2ZFBDPP.js +1 -0
- package/dist/bundle/chunks/http-proxy-KF35JLJN.js +1 -0
- package/dist/bundle/chunks/https-proxy-agent-LVOO5TPL.js +12 -0
- package/dist/bundle/chunks/image-resize-worker.js +1 -0
- package/dist/bundle/chunks/jiti-loader-GL4HJFAD.js +20 -0
- package/dist/bundle/chunks/jiti-static-loader-2RCDI6B4.js +1 -0
- package/dist/bundle/chunks/kimi-coding.js +1 -0
- package/dist/bundle/chunks/lib-4AVRLBHM.js +8 -0
- package/dist/bundle/chunks/llama-cpp-classify-S4LVGNNY.js +21 -0
- package/dist/bundle/chunks/mcp-6LJKGKJQ.js +10 -0
- package/dist/bundle/chunks/meta.js +1 -0
- package/dist/bundle/chunks/mistral-conversations-C7LUXIEY.js +4 -0
- package/dist/bundle/chunks/multipart-parser-FMGQ7342.js +2 -0
- package/dist/bundle/chunks/node-AUOGOBCN.js +1 -0
- package/dist/bundle/chunks/node-ZTHARAQV.js +15 -0
- package/dist/bundle/chunks/office-5OWKTZOA.js +419 -0
- package/dist/bundle/chunks/openai-chatgpt.js +74 -0
- package/dist/bundle/chunks/openai-codex-responses-YQQXJ24E.js +9 -0
- package/dist/bundle/chunks/openai-codex.js +74 -0
- package/dist/bundle/chunks/openai-completions-7CMH2FKD.js +6 -0
- package/dist/bundle/chunks/openai-decisions-AOGZTREY.js +4 -0
- package/dist/bundle/chunks/openai-responses-ZSOGZ3MK.js +3 -0
- package/dist/bundle/chunks/openrouter-images-AHXST2TH.js +1 -0
- package/dist/bundle/chunks/openrouter.js +74 -0
- package/dist/bundle/chunks/pi-messages-QERJLMZ6.js +7 -0
- package/dist/bundle/chunks/radius.js +74 -0
- package/dist/bundle/chunks/review-5G56KIWY.js +80 -0
- package/dist/bundle/chunks/rewind-2OYLDDHH.js +8 -0
- package/dist/bundle/chunks/router-776Z7G7G.js +3 -0
- package/dist/bundle/chunks/runtime-NKPT25KD.js +1 -0
- package/dist/bundle/chunks/sdk-TVC4GDUX.js +1 -0
- package/dist/bundle/chunks/src-QKGKDFSU.js +3 -0
- package/dist/bundle/chunks/sync-JBDC3YBK.js +7 -0
- package/dist/bundle/chunks/typesafe-system-one-MMNGGQ46.js +1 -0
- package/dist/bundle/chunks/usage-BDCIALHO.js +1 -0
- package/dist/bundle/chunks/virtual-modules-25RQ6XTV.js +1 -0
- package/dist/bundle/chunks/xai.js +1 -0
- package/dist/bundle/cli-runtime.js +2 -0
- package/dist/bundle/cli.js +2 -0
- package/dist/bundle/index.js +1 -0
- package/dist/bundle/rpc-entry.js +2 -0
- package/dist/cli/args.js +1 -1
- package/dist/cli/auth-command.js +9 -6
- package/dist/cli/auth-login.js +2 -0
- package/dist/cli/auth-logout.js +1 -0
- package/dist/cli/auth-terminal.js +5 -0
- package/dist/cli/config-selector.js +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.js +1 -1
- package/dist/core/agent-session-runtime.js +1 -1
- package/dist/core/agent-session-services.js +1 -1
- package/dist/core/agent-session.d.ts +8 -1
- package/dist/core/agent-session.js +12 -9
- package/dist/core/auth-storage.js +1 -1
- package/dist/core/bash-executor.js +1 -1
- package/dist/core/bug-report.js +3 -3
- package/dist/core/cache-warmer.d.ts +3 -15
- package/dist/core/cache-warmer.js +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +3 -2
- package/dist/core/compaction/branch-summarization.js +5 -5
- package/dist/core/compaction/compaction.d.ts +1 -0
- package/dist/core/compaction/compaction.js +14 -14
- package/dist/core/compaction/tool-output-pruning.js +1 -1
- package/dist/core/compaction/utils.d.ts +0 -1
- package/dist/core/compaction/utils.js +8 -8
- package/dist/core/exec.d.ts +2 -0
- package/dist/core/exec.js +1 -1
- package/dist/core/export-html/template.css +9 -0
- package/dist/core/export-html/template.js +46 -39
- package/dist/core/export-html/tool-renderer.js +1 -1
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/loader.js +1 -1
- package/dist/core/extensions/pi-ai-extension-view.js +1 -0
- package/dist/core/extensions/runner.js +1 -1
- package/dist/core/extensions/types.d.ts +25 -7
- package/dist/core/extensions/virtual-modules.js +1 -1
- package/dist/core/keybindings.d.ts +1 -1
- package/dist/core/keybindings.js +1 -1
- package/dist/core/mcp-servers.d.ts +6 -17
- package/dist/core/mcp-servers.js +1 -1
- package/dist/core/model-config.d.ts +1912 -2211
- package/dist/core/model-config.js +4 -4
- package/dist/core/model-resolver.js +1 -1
- package/dist/core/model-runtime.d.ts +1 -0
- package/dist/core/model-runtime.js +1 -1
- package/dist/core/package-manager.d.ts +10 -1
- package/dist/core/package-manager.js +2 -2
- package/dist/core/pi-ai-schemas.js +1 -0
- package/dist/core/pi-manifest.js +1 -1
- package/dist/core/preferred-providers.js +1 -0
- package/dist/core/project-trust.js +2 -2
- package/dist/core/prompt-templates.js +2 -2
- package/dist/core/provider-composer.js +1 -1
- package/dist/core/provider-matching.js +1 -0
- package/dist/core/radius-mcp.js +1 -0
- package/dist/core/remote-catalog-provider.js +1 -1
- package/dist/core/resource-loader.d.ts +3 -1
- package/dist/core/resource-loader.js +1 -1
- package/dist/core/runtime-credentials.js +1 -1
- package/dist/core/sdk.js +1 -1
- package/dist/core/session-cwd.js +3 -7
- package/dist/core/session-manager.d.ts +1 -0
- package/dist/core/session-manager.js +12 -12
- package/dist/core/settings-defaults.js +1 -1
- package/dist/core/settings-manager.d.ts +4 -0
- package/dist/core/settings-manager.js +1 -1
- package/dist/core/settings-schema.d.ts +4 -2
- package/dist/core/settings-schema.js +1 -1
- package/dist/core/skills.js +3 -3
- package/dist/core/slash-commands.js +1 -1
- package/dist/core/source-info.d.ts +8 -0
- package/dist/core/source-info.js +1 -1
- package/dist/core/system-prompt.js +3 -3
- package/dist/core/tools/bash.d.ts +2 -2
- package/dist/core/tools/bash.js +15 -15
- package/dist/core/tools/edit-diff.d.ts +9 -4
- package/dist/core/tools/edit-diff.js +22 -15
- package/dist/core/tools/edit.d.ts +3 -3
- package/dist/core/tools/edit.js +3 -3
- package/dist/core/tools/find.d.ts +2 -2
- package/dist/core/tools/find.js +10 -11
- package/dist/core/tools/grep.d.ts +3 -3
- package/dist/core/tools/grep.js +8 -12
- package/dist/core/tools/ls.d.ts +2 -2
- package/dist/core/tools/ls.js +4 -4
- package/dist/core/tools/powershell.js +6 -2
- package/dist/core/tools/read.d.ts +5 -2
- package/dist/core/tools/read.js +20 -19
- package/dist/core/tools/render-utils.js +5 -5
- package/dist/core/tools/renderers/write.js +10 -10
- package/dist/core/tools/tool-definition-wrapper.d.ts +11 -0
- package/dist/core/tools/truncate.d.ts +2 -8
- package/dist/core/tools/truncate.js +10 -10
- package/dist/core/tools/write.d.ts +2 -2
- package/dist/core/trust-manager.js +2 -2
- package/dist/core/usage-totals.js +1 -1
- package/dist/dal/builtins.js +2 -2
- package/dist/dal/manifest.d.ts +1 -0
- package/dist/dal/manifest.js +1 -1
- package/dist/dal/safety-net.js +11 -3
- package/dist/extensions/codemode/execute.js +12 -12
- package/dist/extensions/codemode/renderer.js +6 -6
- package/dist/extensions/codemode/tool.d.ts +2 -1
- package/dist/extensions/codemode/tool.js +11 -10
- package/dist/extensions/llama/client.js +5 -5
- package/dist/extensions/llama/ui.js +2 -2
- package/dist/extensions/mcp/cli.js +21 -19
- package/dist/extensions/mcp/config.js +2 -2
- package/dist/extensions/mcp/index.js +7 -7
- package/dist/extensions/mcp/oauth.d.ts +3 -22
- package/dist/extensions/mcp/oauth.js +2 -2
- package/dist/extensions/mcp/resources.d.ts +1 -1
- package/dist/extensions/mcp/resources.js +1 -1
- package/dist/extensions/mcp/runtime.d.ts +2 -2
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/extensions/mcp/tools.d.ts +1 -8
- package/dist/extensions/mcp/tools.js +4 -9
- package/dist/extensions/mcp/ui.js +1 -1
- package/dist/extensions/tool-search/tool.js +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/main.js +4 -4
- package/dist/modes/interactive/components/assistant-message.d.ts +4 -1
- package/dist/modes/interactive/components/assistant-message.js +2 -2
- package/dist/modes/interactive/components/branch-summary-message.d.ts +5 -1
- package/dist/modes/interactive/components/branch-summary-message.js +2 -2
- package/dist/modes/interactive/components/compaction-summary-message.d.ts +5 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +2 -2
- package/dist/modes/interactive/components/config-selector.js +1 -1
- package/dist/modes/interactive/components/custom-editor.js +1 -1
- package/dist/modes/interactive/components/custom-entry.js +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts +5 -2
- package/dist/modes/interactive/components/custom-message.js +3 -3
- package/dist/modes/interactive/components/diff.js +3 -3
- package/dist/modes/interactive/components/extension-editor.d.ts +1 -0
- package/dist/modes/interactive/components/extension-editor.js +1 -1
- package/dist/modes/interactive/components/extension-selector.js +2 -2
- package/dist/modes/interactive/components/login-dialog.d.ts +5 -0
- package/dist/modes/interactive/components/login-dialog.js +1 -1
- package/dist/modes/interactive/components/markdown-transform.js +1 -1
- package/dist/modes/interactive/components/mermaid.js +4 -4
- package/dist/modes/interactive/components/model-selector.d.ts +1 -0
- package/dist/modes/interactive/components/model-selector.js +2 -2
- package/dist/modes/interactive/components/oauth-selector.d.ts +2 -1
- package/dist/modes/interactive/components/oauth-selector.js +1 -1
- package/dist/modes/interactive/components/provider-brand.js +1 -0
- package/dist/modes/interactive/components/radius-login-selector.js +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts +1 -0
- package/dist/modes/interactive/components/scoped-models-selector.js +1 -1
- package/dist/modes/interactive/components/session-selector-search.js +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts +2 -1
- package/dist/modes/interactive/components/session-selector.js +2 -2
- package/dist/modes/interactive/components/settings-submenu.js +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +5 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +2 -2
- package/dist/modes/interactive/components/tool-execution.d.ts +1 -0
- package/dist/modes/interactive/components/tool-execution.js +3 -3
- package/dist/modes/interactive/components/tree-selector.d.ts +2 -0
- package/dist/modes/interactive/components/tree-selector.js +1 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts +1 -0
- package/dist/modes/interactive/components/user-message-selector.js +1 -1
- package/dist/modes/interactive/components/user-message.d.ts +2 -1
- package/dist/modes/interactive/components/user-message.js +1 -1
- package/dist/modes/interactive/external-editor.js +3 -3
- package/dist/modes/interactive/interactive-mode.d.ts +10 -1
- package/dist/modes/interactive/interactive-mode.js +45 -40
- package/dist/modes/interactive/model-search.js +1 -1
- package/dist/modes/interactive/theme/theme.d.ts +4 -0
- package/dist/modes/interactive/theme/theme.js +3 -6
- package/dist/modes/print-mode.js +7 -7
- package/dist/modes/rpc/rpc-mode.js +1 -1
- package/dist/node_modules/@dalcode/dal-advisor/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-awake/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-capabilities/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-codeindex/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-compat/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-dap/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-goal/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-learn/package.json +5 -2
- package/dist/node_modules/@dalcode/dal-learn/src/engine.js +4 -4
- package/dist/node_modules/@dalcode/dal-learn/src/extract.js +31 -5
- package/dist/node_modules/@dalcode/dal-learn/src/index.js +16 -16
- package/dist/node_modules/@dalcode/dal-learn/src/learn-mode.js +1 -0
- package/dist/node_modules/@dalcode/dal-learn/src/lesson-events.js +1 -0
- package/dist/node_modules/@dalcode/dal-learn/src/lessons.js +4 -3
- package/dist/node_modules/@dalcode/dal-learn/src/project-map.js +2 -2
- package/dist/node_modules/@dalcode/dal-learn/src/safety.js +2 -2
- package/dist/node_modules/@dalcode/dal-learn/src/signals.js +6 -5
- package/dist/node_modules/@dalcode/dal-learn/src/store.js +3 -2
- package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-mcp/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +4 -3
- package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +4 -3
- package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-recall/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-remote/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-router/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-rtk/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-statusline/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-structured/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-sync/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-sync/src/core.js +2 -2
- package/dist/node_modules/@dalcode/dal-telemetry/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-usage/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-workflow/src/todo-snapshot.js +2 -2
- package/dist/node_modules/@dalcode/dal-workflow/src/todo.js +3 -3
- package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-agent-core/README.md +8 -6
- package/dist/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +2 -2
- package/dist/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +8 -5
- package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/README.md +58 -39
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +5 -5
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.lazy.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.lazy.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/constrained-sampling.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +2 -2
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/lazy.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/lazy.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +4 -4
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts +2 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +5 -5
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +9 -9
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.d.ts +2 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/api/strict-tool-limits.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/oauth/trusted-url.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/auth/types.d.ts +2 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/cache-warming.d.ts +21 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/cache-warming.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/cli.js +5 -5
- package/dist/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.d.ts +2 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/index.d.ts +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/lazy-bedrock-provider.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/lazy-oauth.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/models.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +4 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/models.generated.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/models.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/all.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.d.ts +485 -498
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual-cn.json +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +5 -5
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.d.ts +65 -65
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual-cn.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual-cn.models.d.ts +5 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual-cn.models.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/schema-builders.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/telemetry.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/types.d.ts +4 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/openrouter-cost.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.d.ts +26 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js +4 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/{typebox-helpers.d.ts → string-enum.d.ts} +2 -2
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/string-enum.js +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/text.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/text.js +2 -2
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +4 -4
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/package.json +12 -5
- package/dist/node_modules/@earendil-works/pi-codemode/README.md +2 -2
- package/dist/node_modules/@earendil-works/pi-codemode/dist/declarations.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-codemode/dist/declarations.js +4 -4
- package/dist/node_modules/@earendil-works/pi-codemode/dist/index.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-codemode/dist/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js +2 -0
- package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/CHANGELOG.md +32 -0
- package/dist/node_modules/@earendil-works/pi-mcp/README.md +60 -5
- package/dist/node_modules/@earendil-works/pi-mcp/dist/config.d.ts +45 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/config.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/index.d.ts +5 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/input-schema.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/input-schema.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/naming.d.ts +2 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/naming.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/auth-provider.d.ts +18 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/auth-provider.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/callback.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/client-settings.d.ts +42 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/client-settings.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/errors.d.ts +3 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/errors.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/flow.d.ts +2 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/flow.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/index.d.ts +5 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/loopback.d.ts +22 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/loopback.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/sign-in.d.ts +28 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/sign-in.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/types.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/oauth/types.js +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/dist/output-limit.d.ts +8 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/output-limit.js +11 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/lines.js +1 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/pipe.d.ts +34 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/pipe.js +2 -0
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/stdio.d.ts +1 -4
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/stdio.js +2 -2
- package/dist/node_modules/@earendil-works/pi-mcp/dist/transports/streamable-http.js +6 -4
- package/dist/node_modules/@earendil-works/pi-mcp/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-schema/CHANGELOG.md +37 -0
- package/dist/node_modules/@earendil-works/pi-schema/LICENSE +21 -0
- package/dist/node_modules/@earendil-works/pi-schema/README.md +319 -0
- package/dist/node_modules/@earendil-works/pi-schema/THIRD_PARTY_NOTICES/typebox-LICENSE +23 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/annotations.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/builders.d.ts +89 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/builders.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/checks.d.ts +51 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/checks.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/coerce.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/compiler.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/explain.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/index.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date_time.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/duration.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/email.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/hostname.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_email.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_hostname.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/bidi.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/puny.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/hostname.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/idn-hostname.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/index.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/ascii.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/puny.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/unicode.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/pattern/pattern.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv4.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv6.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri_reference.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer_uri_fragment.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/regex.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/relative_json_pointer.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/time.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_reference.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_template.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/url.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uuid.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/index.d.ts +4 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/index.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/resolver.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/shared.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/typebox-static.d.ts +54 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/typebox-static.js +0 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/types.d.ts +25 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/types.js +0 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/validator.d.ts +20 -0
- package/dist/node_modules/@earendil-works/pi-schema/dist/validator.js +1 -0
- package/dist/node_modules/@earendil-works/pi-schema/package.json +43 -0
- package/dist/node_modules/@earendil-works/pi-telemetry/dist/index.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-telemetry/dist/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-telemetry/dist/memory.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-telemetry/dist/memory.js +1 -1
- package/dist/node_modules/@earendil-works/pi-telemetry/dist/render.js +2 -2
- package/dist/node_modules/@earendil-works/pi-telemetry/package.json +3 -1
- package/dist/node_modules/@earendil-works/pi-tui/README.md +2 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/editor.js +3 -3
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +4 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +11 -10
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/components/text.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/index.d.ts +2 -2
- package/dist/node_modules/@earendil-works/pi-tui/dist/index.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/keybindings.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/keybindings.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/keys.js +5 -5
- package/dist/node_modules/@earendil-works/pi-tui/dist/layout.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/program-status.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/terminal.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +4 -4
- package/dist/node_modules/@earendil-works/pi-tui/dist/tui-main-screen.js +13 -13
- package/dist/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/tui.js +2 -2
- package/dist/node_modules/@earendil-works/pi-tui/dist/utils.d.ts +1 -0
- package/dist/node_modules/@earendil-works/pi-tui/dist/utils.js +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/dist/package-manager-cli.js +17 -16
- package/dist/utils/ansi.js +1 -1
- package/dist/utils/changelog.js +3 -3
- package/dist/utils/clipboard-command.js +1 -1
- package/dist/utils/image-resize-core.js +1 -1
- package/dist/utils/image-resize.js +1 -1
- package/dist/utils/open-browser.js +1 -1
- package/dist/utils/paths.js +1 -1
- package/dist/utils/shell.js +3 -3
- package/dist/utils/syntax-highlight.js +4 -4
- package/dist/utils/terminal-question.js +1 -0
- package/dist/utils/tools-manager.js +1 -1
- package/dist/utils/web-url.js +1 -0
- package/examples/extensions/README.md +2 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +14 -14
- package/examples/extensions/debug-provider.ts +2 -2
- package/examples/extensions/gondolin/package-lock.json +19 -29
- package/examples/extensions/gondolin/package.json +2 -2
- package/examples/extensions/plan-mode/index.ts +20 -9
- package/examples/extensions/plan-mode/utils.ts +42 -16
- package/examples/extensions/preset.ts +2 -0
- package/examples/extensions/reload-runtime.ts +17 -5
- package/examples/extensions/subagent/README.md +14 -11
- package/examples/extensions/subagent/index.ts +392 -171
- package/examples/extensions/todo.ts +7 -0
- package/examples/extensions/tools.ts +2 -0
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +20 -20
- package/examples/tsconfig.json +208 -0
- package/npm-shrinkwrap.json +407 -383
- package/package.json +6 -7
- package/examples/extensions/sandbox/index.ts +0 -327
- package/examples/extensions/sandbox/package-lock.json +0 -92
- package/examples/extensions/sandbox/package.json +0 -19
- /package/dist/node_modules/@earendil-works/pi-mcp/{LICENSES → THIRD_PARTY_NOTICES}/modelcontextprotocol-typescript-sdk.txt +0 -0
|
@@ -1,521 +1,509 @@
|
|
|
1
|
-
import { type Static
|
|
2
|
-
export declare const SessionAffinityFormatSchema:
|
|
3
|
-
export declare const ThinkingTokenBudgetFieldSchema:
|
|
4
|
-
export declare const ChatTemplateKwargValueSchema:
|
|
5
|
-
$var:
|
|
6
|
-
omitWhenOff
|
|
7
|
-
}
|
|
8
|
-
export declare const OpenRouterRoutingSchema:
|
|
9
|
-
allow_fallbacks
|
|
10
|
-
require_parameters
|
|
11
|
-
data_collection
|
|
12
|
-
zdr
|
|
13
|
-
enforce_distillable_text
|
|
14
|
-
order
|
|
15
|
-
only
|
|
16
|
-
ignore
|
|
17
|
-
quantizations
|
|
18
|
-
sort
|
|
19
|
-
by
|
|
20
|
-
partition
|
|
21
|
-
}
|
|
22
|
-
max_price
|
|
23
|
-
prompt
|
|
24
|
-
completion
|
|
25
|
-
image
|
|
26
|
-
audio
|
|
27
|
-
request
|
|
28
|
-
}
|
|
29
|
-
preferred_min_throughput
|
|
30
|
-
p50
|
|
31
|
-
p75
|
|
32
|
-
p90
|
|
33
|
-
p99
|
|
34
|
-
}
|
|
35
|
-
preferred_max_latency
|
|
36
|
-
p50
|
|
37
|
-
p75
|
|
38
|
-
p90
|
|
39
|
-
p99
|
|
40
|
-
}
|
|
1
|
+
import { type Static } from "@earendil-works/pi-schema";
|
|
2
|
+
export declare const SessionAffinityFormatSchema: import("@earendil-works/pi-schema").Schema<"openai" | "openai-nosession" | "openrouter">;
|
|
3
|
+
export declare const ThinkingTokenBudgetFieldSchema: import("@earendil-works/pi-schema").Schema<"thinking_budget" | "thinking_budget_tokens" | "thinking_token_budget">;
|
|
4
|
+
export declare const ChatTemplateKwargValueSchema: import("@earendil-works/pi-schema").Schema<string | number | boolean | {
|
|
5
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
6
|
+
omitWhenOff?: boolean | undefined;
|
|
7
|
+
} | null>;
|
|
8
|
+
export declare const OpenRouterRoutingSchema: import("@earendil-works/pi-schema").Schema<{
|
|
9
|
+
allow_fallbacks?: boolean | undefined;
|
|
10
|
+
require_parameters?: boolean | undefined;
|
|
11
|
+
data_collection?: "allow" | "deny" | undefined;
|
|
12
|
+
zdr?: boolean | undefined;
|
|
13
|
+
enforce_distillable_text?: boolean | undefined;
|
|
14
|
+
order?: string[] | undefined;
|
|
15
|
+
only?: string[] | undefined;
|
|
16
|
+
ignore?: string[] | undefined;
|
|
17
|
+
quantizations?: string[] | undefined;
|
|
18
|
+
sort?: string | {
|
|
19
|
+
by?: string | undefined;
|
|
20
|
+
partition?: string | null | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
max_price?: {
|
|
23
|
+
prompt?: string | number | undefined;
|
|
24
|
+
completion?: string | number | undefined;
|
|
25
|
+
image?: string | number | undefined;
|
|
26
|
+
audio?: string | number | undefined;
|
|
27
|
+
request?: string | number | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
preferred_min_throughput?: number | {
|
|
30
|
+
p50?: number | undefined;
|
|
31
|
+
p75?: number | undefined;
|
|
32
|
+
p90?: number | undefined;
|
|
33
|
+
p99?: number | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
preferred_max_latency?: number | {
|
|
36
|
+
p50?: number | undefined;
|
|
37
|
+
p75?: number | undefined;
|
|
38
|
+
p90?: number | undefined;
|
|
39
|
+
p99?: number | undefined;
|
|
40
|
+
} | undefined;
|
|
41
41
|
}>;
|
|
42
|
-
export declare const VercelGatewayRoutingSchema:
|
|
43
|
-
only
|
|
44
|
-
order
|
|
42
|
+
export declare const VercelGatewayRoutingSchema: import("@earendil-works/pi-schema").Schema<{
|
|
43
|
+
only?: string[] | undefined;
|
|
44
|
+
order?: string[] | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const AnthropicAllowedFallbackModelSchema:
|
|
47
|
-
provider:
|
|
48
|
-
model:
|
|
49
|
-
cost:
|
|
50
|
-
input:
|
|
51
|
-
output:
|
|
52
|
-
cacheRead:
|
|
53
|
-
cacheWrite:
|
|
54
|
-
tiers
|
|
55
|
-
input:
|
|
56
|
-
output:
|
|
57
|
-
cacheRead:
|
|
58
|
-
cacheWrite:
|
|
59
|
-
inputTokensAbove:
|
|
60
|
-
}
|
|
61
|
-
}
|
|
46
|
+
export declare const AnthropicAllowedFallbackModelSchema: import("@earendil-works/pi-schema").Schema<{
|
|
47
|
+
provider: string;
|
|
48
|
+
model: string;
|
|
49
|
+
cost: {
|
|
50
|
+
input: number;
|
|
51
|
+
output: number;
|
|
52
|
+
cacheRead: number;
|
|
53
|
+
cacheWrite: number;
|
|
54
|
+
tiers?: {
|
|
55
|
+
input: number;
|
|
56
|
+
output: number;
|
|
57
|
+
cacheRead: number;
|
|
58
|
+
cacheWrite: number;
|
|
59
|
+
inputTokensAbove: number;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
};
|
|
62
62
|
}>;
|
|
63
|
-
export declare const OpenAICompletionsCompatSchema:
|
|
64
|
-
supportsStore
|
|
65
|
-
supportsDeveloperRole
|
|
66
|
-
supportsReasoningEffort
|
|
67
|
-
supportsUsageInStreaming
|
|
68
|
-
supportsFinishReason
|
|
69
|
-
maxTokensField
|
|
70
|
-
requiresToolResultName
|
|
71
|
-
requiresAssistantAfterToolResult
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
63
|
+
export declare const OpenAICompletionsCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
64
|
+
supportsStore?: boolean | undefined;
|
|
65
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
66
|
+
supportsReasoningEffort?: boolean | undefined;
|
|
67
|
+
supportsUsageInStreaming?: boolean | undefined;
|
|
68
|
+
supportsFinishReason?: boolean | undefined;
|
|
69
|
+
maxTokensField?: "max_completion_tokens" | "max_tokens" | undefined;
|
|
70
|
+
requiresToolResultName?: boolean | undefined;
|
|
71
|
+
requiresAssistantAfterToolResult?: boolean | undefined;
|
|
72
|
+
requiresNonNullAssistantContent?: boolean | undefined;
|
|
73
|
+
requiresToolsWithToolHistory?: boolean | undefined;
|
|
74
|
+
requiresThinkingAsText?: boolean | undefined;
|
|
75
|
+
requiresReasoningContentOnAssistantMessages?: boolean | undefined;
|
|
76
|
+
thinkingFormat?: "ant-ling" | "baseten" | "chat-template" | "deepseek" | "openai" | "openrouter" | "qwen" | "qwen-chat-template" | "string-thinking" | "together" | "zai" | undefined;
|
|
77
|
+
chatTemplateKwargs?: Record<string, string | number | boolean | {
|
|
78
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
79
|
+
omitWhenOff?: boolean | undefined;
|
|
80
|
+
} | null> | undefined;
|
|
81
|
+
chatTemplateArgs?: Record<string, string | number | boolean | {
|
|
82
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
83
|
+
omitWhenOff?: boolean | undefined;
|
|
84
|
+
} | null> | undefined;
|
|
85
|
+
openRouterRouting?: {
|
|
86
|
+
allow_fallbacks?: boolean | undefined;
|
|
87
|
+
require_parameters?: boolean | undefined;
|
|
88
|
+
data_collection?: "allow" | "deny" | undefined;
|
|
89
|
+
zdr?: boolean | undefined;
|
|
90
|
+
enforce_distillable_text?: boolean | undefined;
|
|
91
|
+
order?: string[] | undefined;
|
|
92
|
+
only?: string[] | undefined;
|
|
93
|
+
ignore?: string[] | undefined;
|
|
94
|
+
quantizations?: string[] | undefined;
|
|
95
|
+
sort?: string | {
|
|
96
|
+
by?: string | undefined;
|
|
97
|
+
partition?: string | null | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
max_price?: {
|
|
100
|
+
prompt?: string | number | undefined;
|
|
101
|
+
completion?: string | number | undefined;
|
|
102
|
+
image?: string | number | undefined;
|
|
103
|
+
audio?: string | number | undefined;
|
|
104
|
+
request?: string | number | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
preferred_min_throughput?: number | {
|
|
107
|
+
p50?: number | undefined;
|
|
108
|
+
p75?: number | undefined;
|
|
109
|
+
p90?: number | undefined;
|
|
110
|
+
p99?: number | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
preferred_max_latency?: number | {
|
|
113
|
+
p50?: number | undefined;
|
|
114
|
+
p75?: number | undefined;
|
|
115
|
+
p90?: number | undefined;
|
|
116
|
+
p99?: number | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
vercelGatewayRouting?: {
|
|
120
|
+
only?: string[] | undefined;
|
|
121
|
+
order?: string[] | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
zaiToolStream?: boolean | undefined;
|
|
124
|
+
thinkingTokenBudgetField?: "thinking_budget" | "thinking_budget_tokens" | "thinking_token_budget" | undefined;
|
|
125
|
+
supportsThinkingTokenBudget?: boolean | undefined;
|
|
126
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
127
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
128
|
+
supportsMidConvoToolAdditions?: boolean | undefined;
|
|
129
|
+
supportsStrictMode?: boolean | undefined;
|
|
130
|
+
cacheControlFormat?: "anthropic" | undefined;
|
|
131
|
+
sendSessionAffinityHeaders?: boolean | undefined;
|
|
132
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
133
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
134
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
135
|
+
vllmPriority?: number | undefined;
|
|
136
|
+
dsmlToolCallsInContent?: boolean | undefined;
|
|
137
|
+
responseModelCosts?: Record<string, {
|
|
138
|
+
input: number;
|
|
139
|
+
output: number;
|
|
140
|
+
cacheRead: number;
|
|
141
|
+
cacheWrite: number;
|
|
142
|
+
tiers?: {
|
|
143
|
+
input: number;
|
|
144
|
+
output: number;
|
|
145
|
+
cacheRead: number;
|
|
146
|
+
cacheWrite: number;
|
|
147
|
+
inputTokensAbove: number;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
}> | undefined;
|
|
147
150
|
}>;
|
|
148
|
-
export declare const OpenAIResponsesCompatSchema:
|
|
149
|
-
supportsDeveloperRole
|
|
150
|
-
supportsMidConvoSystemMessages
|
|
151
|
-
sessionAffinityFormat
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
151
|
+
export declare const OpenAIResponsesCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
152
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
153
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
154
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
155
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
156
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
157
|
+
supportsStrictMode?: boolean | undefined;
|
|
158
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
159
|
+
supportsAdditionalTools?: boolean | undefined;
|
|
160
|
+
supportsToolSearch?: boolean | undefined;
|
|
161
|
+
supportsExplicitPromptCacheMode?: boolean | undefined;
|
|
162
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
163
|
+
supportsMaxOutputTokens?: boolean | undefined;
|
|
160
164
|
}>;
|
|
161
|
-
export declare const AnthropicMessagesCompatSchema:
|
|
162
|
-
supportsEagerToolInputStreaming
|
|
163
|
-
supportsLongCacheRetention
|
|
164
|
-
sendSessionAffinityHeaders
|
|
165
|
-
sessionAffinityFormat
|
|
166
|
-
supportsCacheControlOnTools
|
|
167
|
-
supportsTemperature
|
|
168
|
-
forceAdaptiveThinking
|
|
169
|
-
allowEmptySignature
|
|
170
|
-
supportsStrictTools
|
|
171
|
-
supportsMidConvoEffort
|
|
172
|
-
supportsMidConvoSystemMessages
|
|
173
|
-
supportsMidConvoToolChanges
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
165
|
+
export declare const AnthropicMessagesCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
166
|
+
supportsEagerToolInputStreaming?: boolean | undefined;
|
|
167
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
168
|
+
sendSessionAffinityHeaders?: boolean | undefined;
|
|
169
|
+
sessionAffinityFormat?: "openrouter" | undefined;
|
|
170
|
+
supportsCacheControlOnTools?: boolean | undefined;
|
|
171
|
+
supportsTemperature?: boolean | undefined;
|
|
172
|
+
forceAdaptiveThinking?: boolean | undefined;
|
|
173
|
+
allowEmptySignature?: boolean | undefined;
|
|
174
|
+
supportsStrictTools?: boolean | undefined;
|
|
175
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
176
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
177
|
+
supportsMidConvoToolChanges?: boolean | undefined;
|
|
178
|
+
supportsMessageThreads?: boolean | undefined;
|
|
179
|
+
allowedFallbackModels?: {
|
|
180
|
+
provider: string;
|
|
181
|
+
model: string;
|
|
182
|
+
cost: {
|
|
183
|
+
input: number;
|
|
184
|
+
output: number;
|
|
185
|
+
cacheRead: number;
|
|
186
|
+
cacheWrite: number;
|
|
187
|
+
tiers?: {
|
|
188
|
+
input: number;
|
|
189
|
+
output: number;
|
|
190
|
+
cacheRead: number;
|
|
191
|
+
cacheWrite: number;
|
|
192
|
+
inputTokensAbove: number;
|
|
193
|
+
}[] | undefined;
|
|
194
|
+
};
|
|
195
|
+
}[] | undefined;
|
|
191
196
|
}>;
|
|
192
|
-
export declare const BedrockCompatSchema:
|
|
193
|
-
supportsStrictMode
|
|
197
|
+
export declare const BedrockCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
198
|
+
supportsStrictMode?: boolean | undefined;
|
|
194
199
|
}>;
|
|
195
|
-
export declare const MistralConversationsCompatSchema:
|
|
196
|
-
supportsMidConvoSystemMessages
|
|
200
|
+
export declare const MistralConversationsCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
201
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
197
202
|
}>;
|
|
198
|
-
export declare const SystemOneCompatSchema:
|
|
199
|
-
imageInput
|
|
200
|
-
sendImageOptInHeader
|
|
203
|
+
export declare const SystemOneCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
204
|
+
imageInput?: "assets" | "images" | "state-image-urls" | undefined;
|
|
205
|
+
sendImageOptInHeader?: boolean | undefined;
|
|
201
206
|
}>;
|
|
202
|
-
type UnionToIntersection<Union> = (Union extends unknown ? (value: Union) => void : never) extends (value: infer Intersection) => void ? Intersection : never;
|
|
203
|
-
type MergedCompatProperties<PropertyGroups extends readonly TProperties[], Overrides extends TProperties> = Omit<UnionToIntersection<PropertyGroups[number]>, keyof Overrides> & Overrides;
|
|
204
207
|
export declare const CompatSchemasByApi: {
|
|
205
|
-
readonly "openai-completions":
|
|
206
|
-
supportsStore
|
|
207
|
-
supportsDeveloperRole
|
|
208
|
-
supportsReasoningEffort
|
|
209
|
-
supportsUsageInStreaming
|
|
210
|
-
supportsFinishReason
|
|
211
|
-
maxTokensField
|
|
212
|
-
requiresToolResultName
|
|
213
|
-
requiresAssistantAfterToolResult
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
208
|
+
readonly "openai-completions": import("@earendil-works/pi-schema").Schema<{
|
|
209
|
+
supportsStore?: boolean | undefined;
|
|
210
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
211
|
+
supportsReasoningEffort?: boolean | undefined;
|
|
212
|
+
supportsUsageInStreaming?: boolean | undefined;
|
|
213
|
+
supportsFinishReason?: boolean | undefined;
|
|
214
|
+
maxTokensField?: "max_completion_tokens" | "max_tokens" | undefined;
|
|
215
|
+
requiresToolResultName?: boolean | undefined;
|
|
216
|
+
requiresAssistantAfterToolResult?: boolean | undefined;
|
|
217
|
+
requiresNonNullAssistantContent?: boolean | undefined;
|
|
218
|
+
requiresToolsWithToolHistory?: boolean | undefined;
|
|
219
|
+
requiresThinkingAsText?: boolean | undefined;
|
|
220
|
+
requiresReasoningContentOnAssistantMessages?: boolean | undefined;
|
|
221
|
+
thinkingFormat?: "ant-ling" | "baseten" | "chat-template" | "deepseek" | "openai" | "openrouter" | "qwen" | "qwen-chat-template" | "string-thinking" | "together" | "zai" | undefined;
|
|
222
|
+
chatTemplateKwargs?: Record<string, string | number | boolean | {
|
|
223
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
224
|
+
omitWhenOff?: boolean | undefined;
|
|
225
|
+
} | null> | undefined;
|
|
226
|
+
chatTemplateArgs?: Record<string, string | number | boolean | {
|
|
227
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
228
|
+
omitWhenOff?: boolean | undefined;
|
|
229
|
+
} | null> | undefined;
|
|
230
|
+
openRouterRouting?: {
|
|
231
|
+
allow_fallbacks?: boolean | undefined;
|
|
232
|
+
require_parameters?: boolean | undefined;
|
|
233
|
+
data_collection?: "allow" | "deny" | undefined;
|
|
234
|
+
zdr?: boolean | undefined;
|
|
235
|
+
enforce_distillable_text?: boolean | undefined;
|
|
236
|
+
order?: string[] | undefined;
|
|
237
|
+
only?: string[] | undefined;
|
|
238
|
+
ignore?: string[] | undefined;
|
|
239
|
+
quantizations?: string[] | undefined;
|
|
240
|
+
sort?: string | {
|
|
241
|
+
by?: string | undefined;
|
|
242
|
+
partition?: string | null | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
max_price?: {
|
|
245
|
+
prompt?: string | number | undefined;
|
|
246
|
+
completion?: string | number | undefined;
|
|
247
|
+
image?: string | number | undefined;
|
|
248
|
+
audio?: string | number | undefined;
|
|
249
|
+
request?: string | number | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
preferred_min_throughput?: number | {
|
|
252
|
+
p50?: number | undefined;
|
|
253
|
+
p75?: number | undefined;
|
|
254
|
+
p90?: number | undefined;
|
|
255
|
+
p99?: number | undefined;
|
|
256
|
+
} | undefined;
|
|
257
|
+
preferred_max_latency?: number | {
|
|
258
|
+
p50?: number | undefined;
|
|
259
|
+
p75?: number | undefined;
|
|
260
|
+
p90?: number | undefined;
|
|
261
|
+
p99?: number | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
vercelGatewayRouting?: {
|
|
265
|
+
only?: string[] | undefined;
|
|
266
|
+
order?: string[] | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
zaiToolStream?: boolean | undefined;
|
|
269
|
+
thinkingTokenBudgetField?: "thinking_budget" | "thinking_budget_tokens" | "thinking_token_budget" | undefined;
|
|
270
|
+
supportsThinkingTokenBudget?: boolean | undefined;
|
|
271
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
272
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
273
|
+
supportsMidConvoToolAdditions?: boolean | undefined;
|
|
274
|
+
supportsStrictMode?: boolean | undefined;
|
|
275
|
+
cacheControlFormat?: "anthropic" | undefined;
|
|
276
|
+
sendSessionAffinityHeaders?: boolean | undefined;
|
|
277
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
278
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
279
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
280
|
+
vllmPriority?: number | undefined;
|
|
281
|
+
dsmlToolCallsInContent?: boolean | undefined;
|
|
282
|
+
responseModelCosts?: Record<string, {
|
|
283
|
+
input: number;
|
|
284
|
+
output: number;
|
|
285
|
+
cacheRead: number;
|
|
286
|
+
cacheWrite: number;
|
|
287
|
+
tiers?: {
|
|
288
|
+
input: number;
|
|
289
|
+
output: number;
|
|
290
|
+
cacheRead: number;
|
|
291
|
+
cacheWrite: number;
|
|
292
|
+
inputTokensAbove: number;
|
|
293
|
+
}[] | undefined;
|
|
294
|
+
}> | undefined;
|
|
289
295
|
}>;
|
|
290
|
-
readonly "openai-responses":
|
|
291
|
-
supportsDeveloperRole
|
|
292
|
-
supportsMidConvoSystemMessages
|
|
293
|
-
sessionAffinityFormat
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
296
|
+
readonly "openai-responses": import("@earendil-works/pi-schema").Schema<{
|
|
297
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
298
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
299
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
300
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
301
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
302
|
+
supportsStrictMode?: boolean | undefined;
|
|
303
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
304
|
+
supportsAdditionalTools?: boolean | undefined;
|
|
305
|
+
supportsToolSearch?: boolean | undefined;
|
|
306
|
+
supportsExplicitPromptCacheMode?: boolean | undefined;
|
|
307
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
308
|
+
supportsMaxOutputTokens?: boolean | undefined;
|
|
302
309
|
}>;
|
|
303
|
-
readonly "azure-openai-responses":
|
|
304
|
-
supportsDeveloperRole
|
|
305
|
-
supportsMidConvoSystemMessages
|
|
306
|
-
sessionAffinityFormat
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
310
|
+
readonly "azure-openai-responses": import("@earendil-works/pi-schema").Schema<{
|
|
311
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
312
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
313
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
314
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
315
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
316
|
+
supportsStrictMode?: boolean | undefined;
|
|
317
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
318
|
+
supportsAdditionalTools?: boolean | undefined;
|
|
319
|
+
supportsToolSearch?: boolean | undefined;
|
|
320
|
+
supportsExplicitPromptCacheMode?: boolean | undefined;
|
|
321
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
322
|
+
supportsMaxOutputTokens?: boolean | undefined;
|
|
315
323
|
}>;
|
|
316
|
-
readonly "openai-codex-responses":
|
|
317
|
-
supportsDeveloperRole
|
|
318
|
-
supportsMidConvoSystemMessages
|
|
319
|
-
sessionAffinityFormat
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
readonly "openai-codex-responses": import("@earendil-works/pi-schema").Schema<{
|
|
325
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
326
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
327
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
328
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
329
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
330
|
+
supportsStrictMode?: boolean | undefined;
|
|
331
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
332
|
+
supportsAdditionalTools?: boolean | undefined;
|
|
333
|
+
supportsToolSearch?: boolean | undefined;
|
|
334
|
+
supportsExplicitPromptCacheMode?: boolean | undefined;
|
|
335
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
336
|
+
supportsMaxOutputTokens?: boolean | undefined;
|
|
328
337
|
}>;
|
|
329
|
-
readonly "anthropic-messages":
|
|
330
|
-
supportsEagerToolInputStreaming
|
|
331
|
-
supportsLongCacheRetention
|
|
332
|
-
sendSessionAffinityHeaders
|
|
333
|
-
sessionAffinityFormat
|
|
334
|
-
supportsCacheControlOnTools
|
|
335
|
-
supportsTemperature
|
|
336
|
-
forceAdaptiveThinking
|
|
337
|
-
allowEmptySignature
|
|
338
|
-
supportsStrictTools
|
|
339
|
-
supportsMidConvoEffort
|
|
340
|
-
supportsMidConvoSystemMessages
|
|
341
|
-
supportsMidConvoToolChanges
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
338
|
+
readonly "anthropic-messages": import("@earendil-works/pi-schema").Schema<{
|
|
339
|
+
supportsEagerToolInputStreaming?: boolean | undefined;
|
|
340
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
341
|
+
sendSessionAffinityHeaders?: boolean | undefined;
|
|
342
|
+
sessionAffinityFormat?: "openrouter" | undefined;
|
|
343
|
+
supportsCacheControlOnTools?: boolean | undefined;
|
|
344
|
+
supportsTemperature?: boolean | undefined;
|
|
345
|
+
forceAdaptiveThinking?: boolean | undefined;
|
|
346
|
+
allowEmptySignature?: boolean | undefined;
|
|
347
|
+
supportsStrictTools?: boolean | undefined;
|
|
348
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
349
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
350
|
+
supportsMidConvoToolChanges?: boolean | undefined;
|
|
351
|
+
supportsMessageThreads?: boolean | undefined;
|
|
352
|
+
allowedFallbackModels?: {
|
|
353
|
+
provider: string;
|
|
354
|
+
model: string;
|
|
355
|
+
cost: {
|
|
356
|
+
input: number;
|
|
357
|
+
output: number;
|
|
358
|
+
cacheRead: number;
|
|
359
|
+
cacheWrite: number;
|
|
360
|
+
tiers?: {
|
|
361
|
+
input: number;
|
|
362
|
+
output: number;
|
|
363
|
+
cacheRead: number;
|
|
364
|
+
cacheWrite: number;
|
|
365
|
+
inputTokensAbove: number;
|
|
366
|
+
}[] | undefined;
|
|
367
|
+
};
|
|
368
|
+
}[] | undefined;
|
|
359
369
|
}>;
|
|
360
|
-
readonly "bedrock-converse-stream":
|
|
361
|
-
supportsStrictMode
|
|
370
|
+
readonly "bedrock-converse-stream": import("@earendil-works/pi-schema").Schema<{
|
|
371
|
+
supportsStrictMode?: boolean | undefined;
|
|
362
372
|
}>;
|
|
363
|
-
readonly "mistral-conversations":
|
|
364
|
-
supportsMidConvoSystemMessages
|
|
373
|
+
readonly "mistral-conversations": import("@earendil-works/pi-schema").Schema<{
|
|
374
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
365
375
|
}>;
|
|
366
|
-
readonly "typesafe-system-one":
|
|
367
|
-
imageInput
|
|
368
|
-
sendImageOptInHeader
|
|
376
|
+
readonly "typesafe-system-one": import("@earendil-works/pi-schema").Schema<{
|
|
377
|
+
imageInput?: "assets" | "images" | "state-image-urls" | undefined;
|
|
378
|
+
sendImageOptInHeader?: boolean | undefined;
|
|
369
379
|
}>;
|
|
370
|
-
readonly "cloudflare-workers-ai-system-one":
|
|
371
|
-
imageInput
|
|
372
|
-
sendImageOptInHeader
|
|
380
|
+
readonly "cloudflare-workers-ai-system-one": import("@earendil-works/pi-schema").Schema<{
|
|
381
|
+
imageInput?: "assets" | "images" | "state-image-urls" | undefined;
|
|
382
|
+
sendImageOptInHeader?: boolean | undefined;
|
|
373
383
|
}>;
|
|
374
384
|
};
|
|
375
|
-
export declare const ProviderCompatSchema:
|
|
376
|
-
supportsStore
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
cacheRead: Type.TNumber;
|
|
496
|
-
cacheWrite: Type.TNumber;
|
|
497
|
-
inputTokensAbove: Type.TNumber;
|
|
498
|
-
}>>>;
|
|
499
|
-
}>;
|
|
500
|
-
}>>>;
|
|
501
|
-
} | {
|
|
502
|
-
supportsStrictMode: Type.TOptional<Type.TBoolean>;
|
|
503
|
-
} | {
|
|
504
|
-
supportsMidConvoSystemMessages: Type.TOptional<Type.TBoolean>;
|
|
505
|
-
} | {
|
|
506
|
-
imageInput: Type.TOptional<Type.TUnion<[Type.TLiteral<"assets">, Type.TLiteral<"images">, Type.TLiteral<"state-image-urls">]>>;
|
|
507
|
-
sendImageOptInHeader: Type.TOptional<Type.TBoolean>;
|
|
508
|
-
})[], {
|
|
509
|
-
supportsDeveloperRole: Type.TOptional<Type.TBoolean>;
|
|
510
|
-
supportsMidConvoSystemMessages: Type.TOptional<Type.TBoolean>;
|
|
511
|
-
sessionAffinityFormat: Type.TOptional<Type.TUnion<[Type.TLiteral<"openai">, Type.TLiteral<"openai-nosession">, Type.TLiteral<"openrouter">]>>;
|
|
512
|
-
supportsMidConvoEffort: Type.TOptional<Type.TBoolean>;
|
|
513
|
-
supportsLongCacheRetention: Type.TOptional<Type.TBoolean>;
|
|
514
|
-
supportsStrictMode: Type.TOptional<Type.TBoolean>;
|
|
515
|
-
supportsOpenAIGrammarTools: Type.TOptional<Type.TBoolean>;
|
|
516
|
-
sendSessionAffinityHeaders: Type.TOptional<Type.TBoolean>;
|
|
517
|
-
}>>;
|
|
385
|
+
export declare const ProviderCompatSchema: import("@earendil-works/pi-schema").Schema<{
|
|
386
|
+
supportsStore?: boolean | undefined;
|
|
387
|
+
supportsReasoningEffort?: boolean | undefined;
|
|
388
|
+
supportsUsageInStreaming?: boolean | undefined;
|
|
389
|
+
supportsFinishReason?: boolean | undefined;
|
|
390
|
+
maxTokensField?: "max_completion_tokens" | "max_tokens" | undefined;
|
|
391
|
+
requiresToolResultName?: boolean | undefined;
|
|
392
|
+
requiresAssistantAfterToolResult?: boolean | undefined;
|
|
393
|
+
requiresNonNullAssistantContent?: boolean | undefined;
|
|
394
|
+
requiresToolsWithToolHistory?: boolean | undefined;
|
|
395
|
+
requiresThinkingAsText?: boolean | undefined;
|
|
396
|
+
requiresReasoningContentOnAssistantMessages?: boolean | undefined;
|
|
397
|
+
thinkingFormat?: "ant-ling" | "baseten" | "chat-template" | "deepseek" | "openai" | "openrouter" | "qwen" | "qwen-chat-template" | "string-thinking" | "together" | "zai" | undefined;
|
|
398
|
+
chatTemplateKwargs?: Record<string, string | number | boolean | {
|
|
399
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
400
|
+
omitWhenOff?: boolean | undefined;
|
|
401
|
+
} | null> | undefined;
|
|
402
|
+
chatTemplateArgs?: Record<string, string | number | boolean | {
|
|
403
|
+
$var: "thinking.budget" | "thinking.effort" | "thinking.enabled";
|
|
404
|
+
omitWhenOff?: boolean | undefined;
|
|
405
|
+
} | null> | undefined;
|
|
406
|
+
openRouterRouting?: {
|
|
407
|
+
allow_fallbacks?: boolean | undefined;
|
|
408
|
+
require_parameters?: boolean | undefined;
|
|
409
|
+
data_collection?: "allow" | "deny" | undefined;
|
|
410
|
+
zdr?: boolean | undefined;
|
|
411
|
+
enforce_distillable_text?: boolean | undefined;
|
|
412
|
+
order?: string[] | undefined;
|
|
413
|
+
only?: string[] | undefined;
|
|
414
|
+
ignore?: string[] | undefined;
|
|
415
|
+
quantizations?: string[] | undefined;
|
|
416
|
+
sort?: string | {
|
|
417
|
+
by?: string | undefined;
|
|
418
|
+
partition?: string | null | undefined;
|
|
419
|
+
} | undefined;
|
|
420
|
+
max_price?: {
|
|
421
|
+
prompt?: string | number | undefined;
|
|
422
|
+
completion?: string | number | undefined;
|
|
423
|
+
image?: string | number | undefined;
|
|
424
|
+
audio?: string | number | undefined;
|
|
425
|
+
request?: string | number | undefined;
|
|
426
|
+
} | undefined;
|
|
427
|
+
preferred_min_throughput?: number | {
|
|
428
|
+
p50?: number | undefined;
|
|
429
|
+
p75?: number | undefined;
|
|
430
|
+
p90?: number | undefined;
|
|
431
|
+
p99?: number | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
preferred_max_latency?: number | {
|
|
434
|
+
p50?: number | undefined;
|
|
435
|
+
p75?: number | undefined;
|
|
436
|
+
p90?: number | undefined;
|
|
437
|
+
p99?: number | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
vercelGatewayRouting?: {
|
|
441
|
+
only?: string[] | undefined;
|
|
442
|
+
order?: string[] | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
zaiToolStream?: boolean | undefined;
|
|
445
|
+
thinkingTokenBudgetField?: "thinking_budget" | "thinking_budget_tokens" | "thinking_token_budget" | undefined;
|
|
446
|
+
supportsThinkingTokenBudget?: boolean | undefined;
|
|
447
|
+
supportsMidConvoToolAdditions?: boolean | undefined;
|
|
448
|
+
cacheControlFormat?: "anthropic" | undefined;
|
|
449
|
+
vllmPriority?: number | undefined;
|
|
450
|
+
dsmlToolCallsInContent?: boolean | undefined;
|
|
451
|
+
responseModelCosts?: Record<string, {
|
|
452
|
+
input: number;
|
|
453
|
+
output: number;
|
|
454
|
+
cacheRead: number;
|
|
455
|
+
cacheWrite: number;
|
|
456
|
+
tiers?: {
|
|
457
|
+
input: number;
|
|
458
|
+
output: number;
|
|
459
|
+
cacheRead: number;
|
|
460
|
+
cacheWrite: number;
|
|
461
|
+
inputTokensAbove: number;
|
|
462
|
+
}[] | undefined;
|
|
463
|
+
}> | undefined;
|
|
464
|
+
supportsAdditionalTools?: boolean | undefined;
|
|
465
|
+
supportsToolSearch?: boolean | undefined;
|
|
466
|
+
supportsExplicitPromptCacheMode?: boolean | undefined;
|
|
467
|
+
supportsMaxOutputTokens?: boolean | undefined;
|
|
468
|
+
supportsEagerToolInputStreaming?: boolean | undefined;
|
|
469
|
+
supportsCacheControlOnTools?: boolean | undefined;
|
|
470
|
+
supportsTemperature?: boolean | undefined;
|
|
471
|
+
forceAdaptiveThinking?: boolean | undefined;
|
|
472
|
+
allowEmptySignature?: boolean | undefined;
|
|
473
|
+
supportsStrictTools?: boolean | undefined;
|
|
474
|
+
supportsMidConvoToolChanges?: boolean | undefined;
|
|
475
|
+
supportsMessageThreads?: boolean | undefined;
|
|
476
|
+
allowedFallbackModels?: {
|
|
477
|
+
provider: string;
|
|
478
|
+
model: string;
|
|
479
|
+
cost: {
|
|
480
|
+
input: number;
|
|
481
|
+
output: number;
|
|
482
|
+
cacheRead: number;
|
|
483
|
+
cacheWrite: number;
|
|
484
|
+
tiers?: {
|
|
485
|
+
input: number;
|
|
486
|
+
output: number;
|
|
487
|
+
cacheRead: number;
|
|
488
|
+
cacheWrite: number;
|
|
489
|
+
inputTokensAbove: number;
|
|
490
|
+
}[] | undefined;
|
|
491
|
+
};
|
|
492
|
+
}[] | undefined;
|
|
493
|
+
imageInput?: "assets" | "images" | "state-image-urls" | undefined;
|
|
494
|
+
sendImageOptInHeader?: boolean | undefined;
|
|
495
|
+
supportsDeveloperRole?: boolean | undefined;
|
|
496
|
+
supportsMidConvoSystemMessages?: boolean | undefined;
|
|
497
|
+
sessionAffinityFormat?: "openai" | "openai-nosession" | "openrouter" | undefined;
|
|
498
|
+
promptCacheKeyMode?: "auto" | "disabled" | "enabled" | undefined;
|
|
499
|
+
supportsMidConvoEffort?: boolean | undefined;
|
|
500
|
+
supportsLongCacheRetention?: boolean | undefined;
|
|
501
|
+
supportsStrictMode?: boolean | undefined;
|
|
502
|
+
supportsOpenAIGrammarTools?: boolean | undefined;
|
|
503
|
+
sendSessionAffinityHeaders?: boolean | undefined;
|
|
504
|
+
}>;
|
|
518
505
|
export type ChatTemplateKwargValue = Static<typeof ChatTemplateKwargValueSchema>;
|
|
506
|
+
export type ProviderCompat = Static<typeof ProviderCompatSchema>;
|
|
519
507
|
export type ThinkingTokenBudgetField = Static<typeof ThinkingTokenBudgetFieldSchema>;
|
|
520
508
|
export type SessionAffinityFormat = Static<typeof SessionAffinityFormatSchema>;
|
|
521
509
|
export interface OpenRouterRouting extends Static<typeof OpenRouterRoutingSchema> {
|
|
@@ -536,4 +524,3 @@ export interface MistralConversationsCompat extends Static<typeof MistralConvers
|
|
|
536
524
|
}
|
|
537
525
|
export interface SystemOneCompat extends Static<typeof SystemOneCompatSchema> {
|
|
538
526
|
}
|
|
539
|
-
export {};
|