maka-agent 0.2.0-dev.6.20260830 → 0.2.0-dev.64.20260929
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/DISCLAIMER-WIP +6 -1
- package/LICENSE +291 -9
- package/README.md +50 -20
- package/README.zh-CN.md +39 -19
- package/RUNTIME_HOST_PEER_DEPENDENCIES.rust.tsv +70 -0
- package/RUNTIME_HOST_PEER_THIRD_PARTY_NOTICES.txt +1839 -140
- package/THIRD_PARTY_NOTICES.txt +490 -271
- package/dist/acp/active-promise.js +38 -0
- package/dist/acp/goal-plan-operations.js +142 -0
- package/dist/acp/goal-plan-routes.js +33 -0
- package/dist/acp/maka-acp-agent.js +128 -7
- package/dist/acp/prompt-content.js +225 -0
- package/dist/acp/session-configuration.js +143 -0
- package/dist/acp/session-domain-observation.js +185 -0
- package/dist/acp/session-event-mapper.js +205 -0
- package/dist/acp/session-interactions.js +550 -0
- package/dist/acp/session-mcp.js +361 -0
- package/dist/acp/session-registry.js +2378 -0
- package/dist/acp/stdio-server.js +32 -1
- package/dist/acp/tool-event-mapper.js +457 -0
- package/dist/acp/turn-observation.js +260 -0
- package/dist/activation-command.js +12 -5
- package/dist/bounded-chunk-buffer.js +16 -3
- package/dist/cli-core.js +98 -102
- package/dist/cli-ui-locale.js +7 -2
- package/dist/mcp-capability-provider.js +21 -12
- package/dist/mcp-capability-publication.js +155 -0
- package/dist/onboarding-catalog.js +23 -8
- package/dist/pi-transcript-tools.js +17 -5
- package/dist/pi-transcript.js +77 -31
- package/dist/pi-tui-form-interaction.js +497 -0
- package/dist/pi-tui-layout.js +101 -24
- package/dist/pi-tui-mcp-status.js +194 -128
- package/dist/pi-tui-pickers.js +588 -103
- package/dist/pi-tui-runner.js +1097 -251
- package/dist/pi-tui-todo.js +221 -0
- package/dist/pi-tui-transcript-viewer.js +134 -7
- package/dist/run-command-core.js +6 -14
- package/dist/runtime-host-access-command.js +37 -4
- package/dist/runtime-host-capability-provider-command.js +41 -8
- package/dist/runtime-host-cli-context.js +300 -80
- package/dist/runtime-host-cli-installation.js +8 -2
- package/dist/runtime-host-cli.js +360 -64
- package/dist/runtime-host-handoff-surface.js +108 -0
- package/dist/runtime-host-help.js +244 -0
- package/dist/runtime-host-installed-update-activator.js +70 -33
- package/dist/runtime-host-installed-update-bootstrap.js +16 -1
- package/dist/runtime-host-installed-update-coordinator.js +44 -96
- package/dist/runtime-host-lifecycle-transaction.js +101 -28
- package/dist/runtime-host-local-handoff.js +215 -41
- package/dist/runtime-host-local-managed-activation.js +84 -0
- package/dist/runtime-host-local-source-retirement.js +119 -0
- package/dist/runtime-host-local-target-activation.js +141 -0
- package/dist/runtime-host-managed-deployment.js +158 -51
- package/dist/runtime-host-managed-lifecycle-manager.js +5 -6
- package/dist/runtime-host-onboarding.js +363 -23
- package/dist/runtime-host-openrc-service.js +469 -0
- package/dist/runtime-host-operator-retirement.js +50 -0
- package/dist/runtime-host-package-deployment.js +36 -2
- package/dist/runtime-host-peer-artifact.js +3 -3
- package/dist/runtime-host-peer-management-command.js +30 -12
- package/dist/runtime-host-peer-mesh-management-command.js +1 -1
- package/dist/runtime-host-plugin-command.js +101 -0
- package/dist/runtime-host-profile-command.js +1 -1
- package/dist/runtime-host-run-command.js +89 -67
- package/dist/runtime-host-run-mcp.js +161 -0
- package/dist/runtime-host-service-command.js +3 -3
- package/dist/runtime-host-service-management-command.js +67 -17
- package/dist/runtime-host-service-manager.js +30 -11
- package/dist/runtime-host-session-channel.js +282 -28
- package/dist/runtime-host-session-driver.js +115 -55
- package/dist/runtime-host-session-update.js +62 -0
- package/dist/runtime-host-setup-command.js +72 -52
- package/dist/runtime-host-task-readiness.js +2 -3
- package/dist/runtime-host-tui-command.js +63 -82
- package/dist/runtime-host-tui-context.js +74 -11
- package/dist/runtime-host-tui-owner.js +226 -0
- package/dist/runtime-host-update-command.js +165 -70
- package/dist/runtime-host-update-discovery.js +1 -0
- package/dist/runtime-host-update-reconciliation.js +7 -7
- package/dist/runtime-host-windows-service.js +166 -0
- package/dist/runtime-host-windows-task-launcher-artifact.js +75 -0
- package/dist/session-export-command.js +72 -0
- package/dist/session-import-command.js +69 -0
- package/dist/tui-autocomplete-layout.js +3 -1
- package/dist/tui-clipboard.js +86 -0
- package/dist/tui-context-refresh.js +92 -0
- package/dist/tui-copy-catalog.js +1060 -14
- package/dist/tui-copy-command.js +103 -0
- package/dist/tui-editor-render.js +36 -0
- package/dist/tui-host-owner-copy.js +24 -0
- package/dist/tui-mcp-control.js +162 -122
- package/dist/tui-mcp-remote-publication.js +395 -0
- package/dist/workspace-root.js +2 -2
- package/native/runtime-host-peer/prebuilds/darwin-arm64/maka_runtime_host_peer.node +0 -0
- package/native/runtime-host-peer/prebuilds/linux-arm64/maka_runtime_host_peer.node +0 -0
- package/native/runtime-host-peer/prebuilds/linux-x64/maka_runtime_host_peer.node +0 -0
- package/native/runtime-host-peer/prebuilds/win32-x64/maka_runtime_host_peer.node +0 -0
- package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +12 -12
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +52 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +5 -4
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +7 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +51 -8
- package/node_modules/@agentclientprotocol/sdk/package.json +2 -2
- package/node_modules/@agentclientprotocol/sdk/schema/schema.json +90 -2
- package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +103 -12
- package/node_modules/@ai-sdk/anthropic/CHANGELOG.md +257 -0
- package/node_modules/@ai-sdk/anthropic/README.md +1 -1
- package/node_modules/@ai-sdk/anthropic/dist/index.js +2478 -1198
- package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +1822 -894
- package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +590 -80
- package/node_modules/@ai-sdk/anthropic/package.json +6 -6
- package/node_modules/@ai-sdk/code-mode/dist/approval-continuation.js +0 -1
- package/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +26 -7
- package/node_modules/@ai-sdk/code-mode/dist/errors.js +0 -8
- package/node_modules/@ai-sdk/code-mode/dist/interrupt-continuation.js +0 -2
- package/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +8 -19
- package/node_modules/@ai-sdk/code-mode/dist/tool-prompt.js +43 -15
- package/node_modules/@ai-sdk/code-mode/package.json +5 -5
- package/node_modules/@ai-sdk/cohere/CHANGELOG.md +204 -0
- package/node_modules/@ai-sdk/cohere/README.md +1 -1
- package/node_modules/@ai-sdk/cohere/dist/index.js +54 -70
- package/node_modules/@ai-sdk/cohere/docs/25-cohere.mdx +11 -9
- package/node_modules/@ai-sdk/cohere/package.json +6 -6
- package/node_modules/@ai-sdk/gateway/CHANGELOG.md +385 -0
- package/node_modules/@ai-sdk/gateway/README.md +1 -1
- package/node_modules/@ai-sdk/gateway/dist/index.js +1326 -357
- package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +547 -29
- package/node_modules/@ai-sdk/gateway/package.json +8 -8
- package/node_modules/@ai-sdk/google/CHANGELOG.md +356 -0
- package/node_modules/@ai-sdk/google/README.md +1 -1
- package/node_modules/@ai-sdk/google/dist/index.js +6356 -4699
- package/node_modules/@ai-sdk/google/dist/internal/index.js +1207 -824
- package/node_modules/@ai-sdk/google/docs/15-google.mdx +444 -133
- package/node_modules/@ai-sdk/google/package.json +6 -6
- package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +190 -0
- package/node_modules/@ai-sdk/open-responses/dist/index.js +908 -124
- package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +240 -4
- package/node_modules/@ai-sdk/open-responses/package.json +4 -4
- package/node_modules/@ai-sdk/openai/CHANGELOG.md +331 -0
- package/node_modules/@ai-sdk/openai/README.md +27 -2
- package/node_modules/@ai-sdk/openai/dist/index.js +3791 -1897
- package/node_modules/@ai-sdk/openai/dist/internal/index.js +3008 -1980
- package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +485 -120
- package/node_modules/@ai-sdk/openai/package.json +6 -6
- package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +236 -0
- package/node_modules/@ai-sdk/openai-compatible/dist/index.js +218 -143
- package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +31 -14
- package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +80 -0
- package/node_modules/@ai-sdk/openai-compatible/package.json +6 -6
- package/node_modules/@ai-sdk/provider/CHANGELOG.md +91 -0
- package/node_modules/@ai-sdk/provider/dist/index.js +127 -102
- package/node_modules/@ai-sdk/provider/package.json +3 -3
- package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +191 -0
- package/node_modules/@ai-sdk/provider-utils/dist/experimental-evaluation/index.js +1618 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js +1105 -407
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client.js +6 -2
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/cache-handler.js +21 -5
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/retry-handler.js +109 -23
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/cache.js +20 -1
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/decompress.js +338 -46
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/connection.js +19 -9
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/@ai-sdk/provider-utils/node_modules/undici/package.json +1 -1
- package/node_modules/@ai-sdk/provider-utils/package.json +10 -5
- package/node_modules/@earendil-works/pi-tui/README.md +61 -6
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +202 -42
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +54 -14
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js +29 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +114 -28
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js +44 -5
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +10 -3
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +9 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js +21 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js +8 -2
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +49 -2
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +79 -9
- package/node_modules/@earendil-works/pi-tui/dist/components/text.js +5 -4
- package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +23 -22
- package/node_modules/@earendil-works/pi-tui/dist/index.js +4 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +2 -2
- package/node_modules/@earendil-works/pi-tui/dist/latex.js +123 -16
- package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -50
- package/node_modules/@earendil-works/pi-tui/dist/native-module-path.js +19 -0
- package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +38 -6
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +19 -30
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +427 -60
- package/node_modules/@earendil-works/pi-tui/dist/tui-main-screen.js +111 -50
- package/node_modules/@earendil-works/pi-tui/dist/tui.js +123 -9
- package/node_modules/@earendil-works/pi-tui/dist/utils.js +13 -0
- package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
- package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/darwin-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
- package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/README.md +16 -7
- package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
- package/node_modules/@earendil-works/pi-tui/package.json +11 -4
- package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
- package/node_modules/@larksuiteoapi/node-sdk/es/index.js +232 -36
- package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +232 -36
- package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
- package/node_modules/@maka/acp-executor-plugin/dist/acp-errors.js +26 -0
- package/node_modules/@maka/acp-executor-plugin/dist/acp-filesystem.js +103 -0
- package/node_modules/@maka/acp-executor-plugin/dist/acp-process.js +119 -0
- package/node_modules/@maka/acp-executor-plugin/dist/acp-projection.js +146 -0
- package/node_modules/@maka/acp-executor-plugin/dist/index.js +958 -0
- package/node_modules/@maka/acp-executor-plugin/dist/plugin.mjs +24719 -0
- package/node_modules/@maka/acp-executor-plugin/package.json +15 -0
- package/node_modules/@maka/antigravity-acp-plugin/dist/index.js +88 -0
- package/node_modules/@maka/antigravity-acp-plugin/dist/model-presentation.js +53 -0
- package/node_modules/@maka/antigravity-acp-plugin/dist/plugin.mjs +115 -0
- package/node_modules/@maka/antigravity-acp-plugin/package.json +15 -0
- package/node_modules/@maka/core/dist/agent-graph-schedule.js +15 -4
- package/node_modules/@maka/core/dist/agent-run.js +25 -336
- package/node_modules/@maka/core/dist/artifacts.js +33 -23
- package/node_modules/@maka/core/dist/attachments.js +107 -1
- package/node_modules/@maka/core/dist/bot-events.js +18 -63
- package/node_modules/@maka/core/dist/bounded-response.js +71 -0
- package/node_modules/@maka/core/dist/canonical-json.js +27 -0
- package/node_modules/@maka/core/dist/canonical-runtime-event.js +3 -1
- package/node_modules/@maka/core/dist/capabilities.js +35 -0
- package/node_modules/@maka/core/dist/chat-model-choice.js +14 -31
- package/node_modules/@maka/core/dist/client-capability-grant.js +149 -0
- package/node_modules/@maka/core/dist/collaboration.js +12 -0
- package/node_modules/@maka/core/dist/computer-use.js +27 -93
- package/node_modules/@maka/core/dist/connection-error-copy.js +17 -34
- package/node_modules/@maka/core/dist/connection-readiness.js +3 -31
- package/node_modules/@maka/core/dist/diagnostic-log.js +18 -7
- package/node_modules/@maka/core/dist/display-redaction.js +18 -0
- package/node_modules/@maka/core/dist/durable-tool-result-projection.js +126 -0
- package/node_modules/@maka/core/dist/events.js +125 -21
- package/node_modules/@maka/core/dist/execution-inspect.js +12 -21
- package/node_modules/@maka/core/dist/executor-catalog.js +115 -0
- package/node_modules/@maka/core/dist/executor-id.js +22 -0
- package/node_modules/@maka/core/dist/external-session.js +65 -3
- package/node_modules/@maka/core/dist/goal.js +44 -2
- package/node_modules/@maka/core/dist/health.js +50 -45
- package/node_modules/@maka/core/dist/interaction.js +657 -2
- package/node_modules/@maka/core/dist/llm-connections.js +108 -97
- package/node_modules/@maka/core/dist/local-memory.js +2 -2
- package/node_modules/@maka/core/dist/maka-wordmark.js +23 -0
- package/node_modules/@maka/core/dist/mcp.js +4 -1
- package/node_modules/@maka/core/dist/message-queue-order.js +47 -0
- package/node_modules/@maka/core/dist/model-call-attempt.js +134 -82
- package/node_modules/@maka/core/dist/model-call-usage-projection.js +0 -196
- package/node_modules/@maka/core/dist/model-catalog.js +194 -337
- package/node_modules/@maka/core/dist/model-facts.js +204 -0
- package/node_modules/@maka/core/dist/model-failure.js +40 -0
- package/node_modules/@maka/core/dist/model-metadata.generated.js +2069 -1878
- package/node_modules/@maka/core/dist/model-metadata.js +371 -215
- package/node_modules/@maka/core/dist/model-projection-transition.js +145 -0
- package/node_modules/@maka/core/dist/model-thinking.js +133 -34
- package/node_modules/@maka/core/dist/model-web-search.js +13 -15
- package/node_modules/@maka/core/dist/models-dev-projection.js +320 -0
- package/node_modules/@maka/core/dist/models-dev-refresh.js +55 -0
- package/node_modules/@maka/core/dist/onboarding.js +3 -5
- package/node_modules/@maka/core/dist/openai-urls.js +51 -0
- package/node_modules/@maka/core/dist/permission-profile.js +17 -0
- package/node_modules/@maka/core/dist/permission.js +0 -1
- package/node_modules/@maka/core/dist/provider-auth.js +49 -291
- package/node_modules/@maka/core/dist/provider-registry.js +251 -494
- package/node_modules/@maka/core/dist/recall.js +1143 -0
- package/node_modules/@maka/core/dist/record-schema.js +22 -2
- package/node_modules/@maka/core/dist/redaction.js +128 -43
- package/node_modules/@maka/core/dist/refresh-read-coordinator.js +62 -0
- package/node_modules/@maka/core/dist/relative-time-policy.js +71 -0
- package/node_modules/@maka/core/dist/relative-time.js +26 -77
- package/node_modules/@maka/core/dist/run-composition.js +77 -2
- package/node_modules/@maka/core/dist/runtime-boundary.js +182 -66
- package/node_modules/@maka/core/dist/runtime-event-store.js +31 -0
- package/node_modules/@maka/core/dist/runtime-event.js +270 -12
- package/node_modules/@maka/core/dist/runtime-handoff.js +106 -0
- package/node_modules/@maka/core/dist/runtime-invocation.js +228 -0
- package/node_modules/@maka/core/dist/runtime-logical-execution.js +137 -0
- package/node_modules/@maka/core/dist/runtime-policy/connection-catalog-codec.js +247 -74
- package/node_modules/@maka/core/dist/runtime-policy/credential-vault-codec.js +15 -1
- package/node_modules/@maka/core/dist/runtime-policy/model-catalog-entry-codec.js +106 -0
- package/node_modules/@maka/core/dist/runtime-policy/policy-codec.js +139 -4
- package/node_modules/@maka/core/dist/runtime-policy.js +7 -3
- package/node_modules/@maka/core/dist/scheduled-task.js +12 -2
- package/node_modules/@maka/core/dist/session-name.js +2 -3
- package/node_modules/@maka/core/dist/session-reference.js +149 -0
- package/node_modules/@maka/core/dist/session-send-projection.js +8 -4
- package/node_modules/@maka/core/dist/session-start-mode.js +39 -0
- package/node_modules/@maka/core/dist/session-todo.js +101 -0
- package/node_modules/@maka/core/dist/session-trace.js +5 -1
- package/node_modules/@maka/core/dist/session.js +356 -57
- package/node_modules/@maka/core/dist/settings.js +50 -12
- package/node_modules/@maka/core/dist/shell-run-result.js +1 -0
- package/node_modules/@maka/core/dist/shell-run.js +15 -0
- package/node_modules/@maka/core/dist/skill-locations.js +29 -0
- package/node_modules/@maka/core/dist/slash-command-catalog.js +4 -0
- package/node_modules/@maka/core/dist/task-submission-readiness.js +2 -1
- package/node_modules/@maka/core/dist/text-sanitize.js +29 -4
- package/node_modules/@maka/core/dist/tool-activity-args.js +4 -0
- package/node_modules/@maka/core/dist/tool-ledger-scanner.js +365 -104
- package/node_modules/@maka/core/dist/tool-quiet-preview.js +53 -26
- package/node_modules/@maka/core/dist/tool-result-archive-evidence.js +22 -0
- package/node_modules/@maka/core/dist/tool-result-record-schema.js +12 -2
- package/node_modules/@maka/core/dist/transcript-search.js +46 -0
- package/node_modules/@maka/core/dist/turn-origin.js +20 -0
- package/node_modules/@maka/core/dist/ui-locale.js +23 -10
- package/node_modules/@maka/core/dist/unified-diff.js +33 -26
- package/node_modules/@maka/core/dist/usage-ledger-merge.js +10 -9
- package/node_modules/@maka/core/dist/usage-record-schema.js +38 -31
- package/node_modules/@maka/core/dist/usage-stats/types.js +3 -0
- package/node_modules/@maka/core/dist/work-board.js +94 -1
- package/node_modules/@maka/core/dist/workhub-action-result.js +68 -0
- package/node_modules/@maka/core/dist/workhub-routing.js +126 -0
- package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/index.js +2178 -0
- package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +209 -0
- package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +162 -0
- package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/package.json +21 -0
- package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/printer.js +224 -0
- package/node_modules/@maka/core/node_modules/intl-messageformat/intl-messageformat.iife.js +2810 -0
- package/node_modules/@maka/core/node_modules/intl-messageformat/package.json +40 -0
- package/node_modules/@maka/core/package.json +34 -8
- package/node_modules/@maka/eval/dist/egress-audit.js +127 -0
- package/node_modules/@maka/eval/dist/experiment-directory.js +4 -13
- package/node_modules/@maka/eval/dist/fleet-simulation.js +270 -0
- package/node_modules/@maka/eval/dist/fleet-store.js +243 -0
- package/node_modules/@maka/eval/dist/fleet-worker.js +125 -0
- package/node_modules/@maka/eval/dist/fleet.js +329 -0
- package/node_modules/@maka/eval/dist/harbor-external-subject.js +2 -1
- package/node_modules/@maka/eval/dist/harbor-maka-subject.js +16 -3
- package/node_modules/@maka/eval/dist/harness-executor.js +19 -98
- package/node_modules/@maka/eval/dist/index.js +3 -0
- package/node_modules/@maka/eval/dist/install-preflight.js +39 -10
- package/node_modules/@maka/eval/dist/maka-artifacts.js +28 -14
- package/node_modules/@maka/eval/dist/maka-subject.js +35 -3
- package/node_modules/@maka/eval/dist/metering-checkpoint.js +4 -4
- package/node_modules/@maka/eval/dist/process-termination.js +83 -0
- package/node_modules/@maka/eval/dist/toolchain-verification.js +1 -1
- package/node_modules/@maka/eval/harbor/egress-proxy/entrypoint.sh +6 -5
- package/node_modules/@maka/eval/harbor/egress_filter.py +202 -136
- package/node_modules/@maka/eval/harbor/eval_framework.py +39 -16
- package/node_modules/@maka/eval/harbor/relay_agent.py +47 -10
- package/node_modules/@maka/eval/harbor/run_trial.py +13 -6
- package/node_modules/@maka/eval/node_modules/undici/README.md +10 -1
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Errors.md +25 -0
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/index.md +10 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/@maka/eval/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/@maka/eval/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/@maka/eval/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/core/util.js +0 -39
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +9 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool.js +90 -7
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +26 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +215 -38
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +69 -13
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +319 -50
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-utils.js +11 -10
- package/node_modules/@maka/eval/node_modules/undici/lib/util/cache.js +45 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/util.js +3 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/body.js +22 -15
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/headers.js +34 -31
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +52 -25
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +76 -82
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +13 -8
- package/node_modules/@maka/eval/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +5 -17
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +34 -13
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/receiver.js +2 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/@maka/eval/node_modules/undici/package.json +3 -3
- package/node_modules/@maka/eval/package.json +1 -1
- package/node_modules/@maka/mcp/dist/credential-coordinator.js +6 -1
- package/node_modules/@maka/mcp/dist/form-elicitation.js +213 -0
- package/node_modules/@maka/mcp/dist/index.js +517 -72
- package/node_modules/@maka/mcp/dist/oauth.js +58 -8
- package/node_modules/@maka/mcp/dist/sep-2243.js +3 -3
- package/node_modules/@maka/mcp/dist/tool-progress.js +45 -0
- package/node_modules/@maka/mcp/package.json +1 -1
- package/node_modules/@maka/runtime/dist/agent-graph-supervisor-wake.js +33 -6
- package/node_modules/@maka/runtime/dist/agent-graph-timeline.js +12 -11
- package/node_modules/@maka/runtime/dist/agent-run-inspect.js +38 -86
- package/node_modules/@maka/runtime/dist/agent-run-recovery.js +36 -46
- package/node_modules/@maka/runtime/dist/agent-run.js +603 -470
- package/node_modules/@maka/runtime/dist/agent-swarm-status-tool.js +0 -1
- package/node_modules/@maka/runtime/dist/ai-sdk-backend.js +116 -3753
- package/node_modules/@maka/runtime/dist/ai-sdk-compaction-contract.js +6 -1
- package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +511 -549
- package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +623 -0
- package/node_modules/@maka/runtime/dist/ai-sdk-tool-repair.js +115 -0
- package/node_modules/@maka/runtime/dist/ai-sdk-turn.js +2616 -0
- package/node_modules/@maka/runtime/dist/apply-patch-profile.js +64 -14
- package/node_modules/@maka/runtime/dist/ask-user-question-tool.js +0 -1
- package/node_modules/@maka/runtime/dist/background-task-health-tool.js +104 -0
- package/node_modules/@maka/runtime/dist/bash-model-output.js +7 -1
- package/node_modules/@maka/runtime/dist/bash-tail-buffer.js +13 -52
- package/node_modules/@maka/runtime/dist/bots/base-adapter.js +17 -0
- package/node_modules/@maka/runtime/dist/bots/bot-test.js +40 -23
- package/node_modules/@maka/runtime/dist/bots/dingtalk-bridge.js +93 -24
- package/node_modules/@maka/runtime/dist/bots/discord-bridge.js +4 -4
- package/node_modules/@maka/runtime/dist/bots/feishu-bridge.js +28 -25
- package/node_modules/@maka/runtime/dist/bots/proxied-fetch.js +5 -4
- package/node_modules/@maka/runtime/dist/bots/qq-bridge.js +6 -4
- package/node_modules/@maka/runtime/dist/bots/slack-bridge.js +8 -7
- package/node_modules/@maka/runtime/dist/bots/telegram-bridge.js +7 -31
- package/node_modules/@maka/runtime/dist/bots/wechat-bridge.js +104 -48
- package/node_modules/@maka/runtime/dist/bots/wecom-bridge.js +45 -42
- package/node_modules/@maka/runtime/dist/bots/ws-bridge-base.js +2 -3
- package/node_modules/@maka/runtime/dist/builtin-tools.js +134 -133
- package/node_modules/@maka/runtime/dist/bundled-skill-catalog.generated.js +1 -1
- package/node_modules/@maka/runtime/dist/child-fd-input.js +3 -2
- package/node_modules/@maka/runtime/dist/code-mode.js +7 -4
- package/node_modules/@maka/runtime/dist/codex-v4a-patch.js +18 -0
- package/node_modules/@maka/runtime/dist/computer-use-codec.js +1 -141
- package/node_modules/@maka/runtime/dist/computer-use-tools.js +162 -205
- package/node_modules/@maka/runtime/dist/context-budget-helpers.js +7 -56
- package/node_modules/@maka/runtime/dist/context-budget-policy.js +26 -65
- package/node_modules/@maka/runtime/dist/context-budget.js +44 -103
- package/node_modules/@maka/runtime/dist/context-diagnostics.js +72 -33
- package/node_modules/@maka/runtime/dist/continuation-replay.js +25 -12
- package/node_modules/@maka/runtime/dist/conversation-copy.js +731 -356
- package/node_modules/@maka/runtime/dist/cua-frame-state.js +1 -69
- package/node_modules/@maka/runtime/dist/deepseek-web-search-codec.js +71 -0
- package/node_modules/@maka/runtime/dist/durable-tool-result-projection.js +436 -0
- package/node_modules/@maka/runtime/dist/edit-replace.js +9 -9
- package/node_modules/@maka/runtime/dist/execution-inspect.js +56 -41
- package/node_modules/@maka/runtime/dist/filesystem-executor.js +17 -28
- package/node_modules/@maka/runtime/dist/filesystem-worker/client.js +77 -19
- package/node_modules/@maka/runtime/dist/filesystem-worker/launch-spec.js +66 -55
- package/node_modules/@maka/runtime/dist/filesystem-worker/operations.js +50 -125
- package/node_modules/@maka/runtime/dist/filesystem-worker/protocol.js +29 -11
- package/node_modules/@maka/runtime/dist/filesystem-worker/worker-entry.js +2 -0
- package/node_modules/@maka/runtime/dist/format-json.js +39 -0
- package/node_modules/@maka/runtime/dist/github-copilot-oauth-enrollment.js +267 -0
- package/node_modules/@maka/runtime/dist/glob-search.js +87 -0
- package/node_modules/@maka/runtime/dist/goal-continuation.js +119 -13
- package/node_modules/@maka/runtime/dist/goal-evaluator.js +10 -4
- package/node_modules/@maka/runtime/dist/goal-state.js +7 -0
- package/node_modules/@maka/runtime/dist/grep-search.js +155 -0
- package/node_modules/@maka/runtime/dist/history-compact-checkpoint-coordinator.js +16 -6
- package/node_modules/@maka/runtime/dist/history-compact-checkpoint.js +79 -34
- package/node_modules/@maka/runtime/dist/history-compact-error.js +10 -2
- package/node_modules/@maka/runtime/dist/history-compact-input-fit.js +7 -1
- package/node_modules/@maka/runtime/dist/history-compact-ledger.js +18 -18
- package/node_modules/@maka/runtime/dist/history-compact-summarizer.js +132 -110
- package/node_modules/@maka/runtime/dist/history-compact-summary-validation.js +14 -30
- package/node_modules/@maka/runtime/dist/history-compaction.js +114 -93
- package/node_modules/@maka/runtime/dist/image-file.js +26 -33
- package/node_modules/@maka/runtime/dist/interaction-authority.js +85 -0
- package/node_modules/@maka/runtime/dist/latest-context-snapshot.js +112 -23
- package/node_modules/@maka/runtime/dist/ledger-tool-result-archive-reader.js +164 -0
- package/node_modules/@maka/runtime/dist/local-web-fetch.js +26 -55
- package/node_modules/@maka/runtime/dist/mcp-tools.js +102 -37
- package/node_modules/@maka/runtime/dist/memory-extraction-evidence.js +7 -1
- package/node_modules/@maka/runtime/dist/memory-extraction.js +30 -19
- package/node_modules/@maka/runtime/dist/message-authority.js +9 -0
- package/node_modules/@maka/runtime/dist/model-adapter.js +291 -193
- package/node_modules/@maka/runtime/dist/model-factory.js +131 -135
- package/node_modules/@maka/runtime/dist/model-fetcher.js +102 -90
- package/node_modules/@maka/runtime/dist/model-history.js +533 -169
- package/node_modules/@maka/runtime/dist/model-projection-transition-ledger.js +207 -0
- package/node_modules/@maka/runtime/dist/model-runtime.js +91 -113
- package/node_modules/@maka/runtime/dist/native-web-search-tool.js +2 -1
- package/node_modules/@maka/runtime/dist/network/abortable-connector.js +55 -0
- package/node_modules/@maka/runtime/dist/network/proxy-dispatcher.js +72 -37
- package/node_modules/@maka/runtime/dist/network/proxy-test.js +1 -1
- package/node_modules/@maka/runtime/dist/network/scoped-fetch-transport.js +7 -2
- package/node_modules/@maka/runtime/dist/oauth-provider-contracts.js +28 -1
- package/node_modules/@maka/runtime/dist/openai-apply-patch.js +5 -0
- package/node_modules/@maka/runtime/dist/openai-codex-history-compactor.js +29 -77
- package/node_modules/@maka/runtime/dist/openai-responses-websocket.js +2 -5
- package/node_modules/@maka/runtime/dist/opencode-session-header.js +30 -0
- package/node_modules/@maka/runtime/dist/pipe-tail-collector.js +6 -9
- package/node_modules/@maka/runtime/dist/plan-mode.js +0 -65
- package/node_modules/@maka/runtime/dist/plan-tools.js +0 -3
- package/node_modules/@maka/runtime/dist/plugin-agent-service.js +123 -0
- package/node_modules/@maka/runtime/dist/plugin-approval-service.js +33 -0
- package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +45 -0
- package/node_modules/@maka/runtime/dist/plugin-client-bridge-service.js +308 -0
- package/node_modules/@maka/runtime/dist/plugin-command-service.js +100 -0
- package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +209 -56
- package/node_modules/@maka/runtime/dist/plugin-data-services.js +315 -0
- package/node_modules/@maka/runtime/dist/plugin-executor-backend.js +451 -0
- package/node_modules/@maka/runtime/dist/plugin-executor-service.js +576 -0
- package/node_modules/@maka/runtime/dist/plugin-fs-service.js +54 -0
- package/node_modules/@maka/runtime/dist/plugin-goal-service.js +53 -0
- package/node_modules/@maka/runtime/dist/plugin-internals.js +78 -0
- package/node_modules/@maka/runtime/dist/plugin-invocation-signal.js +24 -0
- package/node_modules/@maka/runtime/dist/plugin-llm-service.js +77 -0
- package/node_modules/@maka/runtime/dist/plugin-lsp-service.js +94 -0
- package/node_modules/@maka/runtime/dist/plugin-runtime.js +211 -10
- package/node_modules/@maka/runtime/dist/plugin-scope-registry.js +91 -0
- package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +63 -0
- package/node_modules/@maka/runtime/dist/plugin-shell-env-service.js +87 -0
- package/node_modules/@maka/runtime/dist/plugin-shell-service.js +66 -0
- package/node_modules/@maka/runtime/dist/plugin-skill-service.js +93 -0
- package/node_modules/@maka/runtime/dist/plugin-system-prompt-service.js +346 -0
- package/node_modules/@maka/runtime/dist/plugin-tool-service.js +171 -0
- package/node_modules/@maka/runtime/dist/plugin-user-question-service.js +43 -0
- package/node_modules/@maka/runtime/dist/plugin-web-service.js +61 -0
- package/node_modules/@maka/runtime/dist/prior-run-context.js +24 -94
- package/node_modules/@maka/runtime/dist/process-tree-terminator.js +2 -2
- package/node_modules/@maka/runtime/dist/prompt-composition.js +36 -31
- package/node_modules/@maka/runtime/dist/provider-error-classification.js +127 -205
- package/node_modules/@maka/runtime/dist/provider-error-signals.js +31 -0
- package/node_modules/@maka/runtime/dist/provider-image-overflow-recovery.js +12 -31
- package/node_modules/@maka/runtime/dist/provider-request-telemetry.js +207 -204
- package/node_modules/@maka/runtime/dist/provider-retry-policy.js +79 -0
- package/node_modules/@maka/runtime/dist/provider-urls.js +1 -18
- package/node_modules/@maka/runtime/dist/pty-screen-collector.js +32 -6
- package/node_modules/@maka/runtime/dist/quiescent-session-snapshot.js +78 -0
- package/node_modules/@maka/runtime/dist/read-page.js +234 -0
- package/node_modules/@maka/runtime/dist/recall-candidates.js +53 -0
- package/node_modules/@maka/runtime/dist/recall-tools.js +282 -0
- package/node_modules/@maka/runtime/dist/recovery-resolver.js +0 -59
- package/node_modules/@maka/runtime/dist/request-customization-fetch.js +14 -7
- package/node_modules/@maka/runtime/dist/request-projection.js +2 -15
- package/node_modules/@maka/runtime/dist/request-shape.js +187 -365
- package/node_modules/@maka/runtime/dist/responses-reasoning-state.js +19 -7
- package/node_modules/@maka/runtime/dist/ripgrep-executable.js +62 -0
- package/node_modules/@maka/runtime/dist/ripgrep-guidance.js +81 -0
- package/node_modules/@maka/runtime/dist/run-handoff-gate.js +97 -0
- package/node_modules/@maka/runtime/dist/run-trace.js +2 -34
- package/node_modules/@maka/runtime/dist/runtime-continuation-admission.js +1 -1
- package/node_modules/@maka/runtime/dist/runtime-event-backfill.js +114 -66
- package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +420 -234
- package/node_modules/@maka/runtime/dist/runtime-invocation-route.js +49 -0
- package/node_modules/@maka/runtime/dist/runtime-kernel.js +619 -357
- package/node_modules/@maka/runtime/dist/runtime-ledger-repair.js +235 -450
- package/node_modules/@maka/runtime/dist/runtime-read-model.js +94 -200
- package/node_modules/@maka/runtime/dist/runtime-resume.js +162 -126
- package/node_modules/@maka/runtime/dist/sandbox/index.js +0 -1
- package/node_modules/@maka/runtime/dist/sandbox/linux-profile-path.js +7 -1
- package/node_modules/@maka/runtime/dist/sandbox/linux-sandbox.js +20 -17
- package/node_modules/@maka/runtime/dist/sandbox/macos-seatbelt.js +0 -12
- package/node_modules/@maka/runtime/dist/sandbox/sandbox-manager.js +0 -35
- package/node_modules/@maka/runtime/dist/sandbox/windows-sandbox.js +0 -12
- package/node_modules/@maka/runtime/dist/scheduled-task-tools.js +68 -9
- package/node_modules/@maka/runtime/dist/session-event-runtime-mapper.js +67 -20
- package/node_modules/@maka/runtime/dist/session-export.js +178 -0
- package/node_modules/@maka/runtime/dist/session-import.js +100 -0
- package/node_modules/@maka/runtime/dist/session-manager.js +985 -1067
- package/node_modules/@maka/runtime/dist/session-projection-helpers.js +18 -28
- package/node_modules/@maka/runtime/dist/session-recap.js +90 -17
- package/node_modules/@maka/runtime/dist/session-todo-tools.js +67 -0
- package/node_modules/@maka/runtime/dist/session-trace-projection.js +25 -30
- package/node_modules/@maka/runtime/dist/shell-detect.js +3 -7
- package/node_modules/@maka/runtime/dist/shell-exec.js +7 -25
- package/node_modules/@maka/runtime/dist/shell-run-contract.js +0 -1
- package/node_modules/@maka/runtime/dist/shell-run-manager.js +83 -78
- package/node_modules/@maka/runtime/dist/shell-run-tool-result.js +19 -9
- package/node_modules/@maka/runtime/dist/shell-tools.js +84 -14
- package/node_modules/@maka/runtime/dist/skills-discovery.js +17 -23
- package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +96 -20
- package/node_modules/@maka/runtime/dist/stream-graph-handoff.js +6 -1
- package/node_modules/@maka/runtime/dist/stream-graph-projection.js +18 -15
- package/node_modules/@maka/runtime/dist/stream-graph-read-model.js +5 -0
- package/node_modules/@maka/runtime/dist/stream-graph-schedule-reconcile.js +1 -0
- package/node_modules/@maka/runtime/dist/stream-graph-supervisor-tools.js +26 -12
- package/node_modules/@maka/runtime/dist/stream-usage-fallback-fetch.js +74 -0
- package/node_modules/@maka/runtime/dist/subagent-tools.js +77 -90
- package/node_modules/@maka/runtime/dist/subscription-credentials.js +51 -4
- package/node_modules/@maka/runtime/dist/subscription-model-fetch.js +135 -13
- package/node_modules/@maka/runtime/dist/system-prompt/main-session-prompt.js +21 -2
- package/node_modules/@maka/runtime/dist/system-prompt/workspace-instructions.js +11 -6
- package/node_modules/@maka/runtime/dist/tavily-search.js +8 -2
- package/node_modules/@maka/runtime/dist/telemetry/model-pricing.generated.js +299 -215
- package/node_modules/@maka/runtime/dist/terminal-run-commit.js +42 -171
- package/node_modules/@maka/runtime/dist/test-connection.js +35 -85
- package/node_modules/@maka/runtime/dist/text-line-window.js +49 -0
- package/node_modules/@maka/runtime/dist/tool-activation-identity.js +41 -0
- package/node_modules/@maka/runtime/dist/tool-availability.js +89 -8
- package/node_modules/@maka/runtime/dist/tool-output.js +36 -13
- package/node_modules/@maka/runtime/dist/tool-result-archive-capability.js +24 -36
- package/node_modules/@maka/runtime/dist/tool-result-archive-encoding.js +38 -0
- package/node_modules/@maka/runtime/dist/tool-result-archive-resource.js +93 -245
- package/node_modules/@maka/runtime/dist/tool-result-archive-transition.js +186 -0
- package/node_modules/@maka/runtime/dist/tool-result-archive.js +50 -173
- package/node_modules/@maka/runtime/dist/tool-runtime.js +415 -613
- package/node_modules/@maka/runtime/dist/unified-diff.js +40 -10
- package/node_modules/@maka/runtime/dist/web-fetch-tool.js +4 -2
- package/node_modules/@maka/runtime/dist/workers/filesystem-worker.js +13681 -5108
- package/node_modules/@maka/runtime/dist/workspace-executor.js +26 -35
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/README.md +44 -8
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/package.json +4 -4
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +39 -3
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +4 -0
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client.js +6 -2
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/cache-handler.js +21 -5
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/retry-handler.js +109 -23
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/cache.js +20 -1
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/decompress.js +338 -46
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/connection.js +19 -9
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/package.json +1 -1
- package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/package.json +5 -5
- package/node_modules/@maka/runtime/node_modules/undici/README.md +10 -1
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Errors.md +25 -0
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/index.md +10 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/@maka/runtime/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/@maka/runtime/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/@maka/runtime/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/core/util.js +0 -39
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +9 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool.js +90 -7
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +26 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +215 -38
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +69 -13
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +319 -50
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-utils.js +11 -10
- package/node_modules/@maka/runtime/node_modules/undici/lib/util/cache.js +45 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/util.js +3 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/body.js +22 -15
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/headers.js +34 -31
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +52 -25
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +76 -82
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +13 -8
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +5 -17
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +34 -13
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/receiver.js +2 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/@maka/runtime/node_modules/undici/package.json +3 -3
- package/node_modules/@maka/runtime/package.json +53 -22
- package/node_modules/@maka/runtime-host/dist/adapter/provider-retry-projector.js +63 -0
- package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +137 -156
- package/node_modules/@maka/runtime-host/dist/candidate-cli.js +7 -7
- package/node_modules/@maka/runtime-host/dist/candidate-entry.js +18 -7
- package/node_modules/@maka/runtime-host/dist/candidate-launch-owner-guard.js +13 -0
- package/node_modules/@maka/runtime-host/dist/client/capability-provider-service.js +2 -0
- package/node_modules/@maka/runtime-host/dist/client/catalog-reader.js +64 -25
- package/node_modules/@maka/runtime-host/dist/client/client-capability-channel.js +190 -30
- package/node_modules/@maka/runtime-host/dist/client/connect-or-spawn.js +60 -20
- package/node_modules/@maka/runtime-host/dist/client/connection.js +170 -63
- package/node_modules/@maka/runtime-host/dist/client/host-handoff-copy.js +248 -0
- package/node_modules/@maka/runtime-host/dist/client/host-handoff.js +311 -0
- package/node_modules/@maka/runtime-host/dist/client/host-profile.js +483 -94
- package/node_modules/@maka/runtime-host/dist/client/host-retirement.js +28 -5
- package/node_modules/@maka/runtime-host/dist/client/hosted-execution-target.js +33 -6
- package/node_modules/@maka/runtime-host/dist/client/hosted-execution.js +10 -28
- package/node_modules/@maka/runtime-host/dist/client/index.js +15 -11
- package/node_modules/@maka/runtime-host/dist/client/launcher.js +12 -3
- package/node_modules/@maka/runtime-host/dist/client/oauth-presentation.js +1 -1
- package/node_modules/@maka/runtime-host/dist/client/owner-connection-code.js +38 -4
- package/node_modules/@maka/runtime-host/dist/client/peer-client.js +389 -25
- package/node_modules/@maka/runtime-host/dist/client/process-identity.js +73 -0
- package/node_modules/@maka/runtime-host/dist/client/reconnect-lifecycle.js +80 -8
- package/node_modules/@maka/runtime-host/dist/client/reconnecting-connection.js +15 -4
- package/node_modules/@maka/runtime-host/dist/client/registered-host-termination.js +107 -0
- package/node_modules/@maka/runtime-host/dist/client/remote-compatibility-error.js +2 -0
- package/node_modules/@maka/runtime-host/dist/client/session-catalog-summary.js +15 -1
- package/node_modules/@maka/runtime-host/dist/client/session-subscription.js +105 -125
- package/node_modules/@maka/runtime-host/dist/client/ssh-operator-activation.js +48 -11
- package/node_modules/@maka/runtime-host/dist/client/startup-error.js +1 -1
- package/node_modules/@maka/runtime-host/dist/client/wait-for-ready.js +1 -1
- package/node_modules/@maka/runtime-host/dist/client/wsl-control.js +0 -8
- package/node_modules/@maka/runtime-host/dist/client/wsl-environment.js +12 -8
- package/node_modules/@maka/runtime-host/dist/client-capability-entity-id.js +27 -0
- package/node_modules/@maka/runtime-host/dist/composition-identity.js +19 -0
- package/node_modules/@maka/runtime-host/dist/control/endpoint.js +8 -9
- package/node_modules/@maka/runtime-host/dist/execution-candidate-main.js +8 -1
- package/node_modules/@maka/runtime-host/dist/node-error.js +22 -0
- package/node_modules/@maka/runtime-host/dist/operator/access-management-frame.js +10 -1
- package/node_modules/@maka/runtime-host/dist/operator/index.js +5 -2
- package/node_modules/@maka/runtime-host/dist/operator/managed-deployment.js +17 -8
- package/node_modules/@maka/runtime-host/dist/operator/operator-command.js +110 -0
- package/node_modules/@maka/runtime-host/dist/operator/peer-management-frame.js +2 -0
- package/node_modules/@maka/runtime-host/dist/operator/retirement-cancellation.js +20 -0
- package/node_modules/@maka/runtime-host/dist/operator/service-management-frame.js +5 -6
- package/node_modules/@maka/runtime-host/dist/operator/setup-frame.js +32 -6
- package/node_modules/@maka/runtime-host/dist/peer-mesh/index.js +3 -3
- package/node_modules/@maka/runtime-host/dist/peer-mesh/limits.js +1 -2
- package/node_modules/@maka/runtime-host/dist/peer-mesh/model.js +48 -60
- package/node_modules/@maka/runtime-host/dist/peer-mesh/node.js +1228 -472
- package/node_modules/@maka/runtime-host/dist/peer-mesh/owner.js +33 -70
- package/node_modules/@maka/runtime-host/dist/peer-mesh/store.js +141 -59
- package/node_modules/@maka/runtime-host/dist/peer-reachability/index.js +21 -0
- package/node_modules/@maka/runtime-host/dist/peer-reachability/model.js +202 -0
- package/node_modules/@maka/runtime-host/dist/peer-reachability/owner.js +118 -0
- package/node_modules/@maka/runtime-host/dist/peer-reachability/publisher.js +243 -0
- package/node_modules/@maka/runtime-host/dist/protocol/agent-graph.js +5 -12
- package/node_modules/@maka/runtime-host/dist/protocol/artifact.js +11 -20
- package/node_modules/@maka/runtime-host/dist/protocol/client-capability.js +273 -46
- package/node_modules/@maka/runtime-host/dist/protocol/codec.js +11 -0
- package/node_modules/@maka/runtime-host/dist/protocol/configuration.js +55 -9
- package/node_modules/@maka/runtime-host/dist/protocol/connection-catalog-change.js +26 -0
- package/node_modules/@maka/runtime-host/dist/protocol/connection-effects.js +42 -9
- package/node_modules/@maka/runtime-host/dist/protocol/external-agent-setup.js +149 -0
- package/node_modules/@maka/runtime-host/dist/protocol/external-session.js +41 -12
- package/node_modules/@maka/runtime-host/dist/protocol/host-resources.js +253 -0
- package/node_modules/@maka/runtime-host/dist/protocol/host-status.js +49 -11
- package/node_modules/@maka/runtime-host/dist/protocol/index.js +283 -5
- package/node_modules/@maka/runtime-host/dist/protocol/message-queue-limits.js +21 -0
- package/node_modules/@maka/runtime-host/dist/protocol/message.js +29 -112
- package/node_modules/@maka/runtime-host/dist/protocol/network-proxy.js +1 -7
- package/node_modules/@maka/runtime-host/dist/protocol/oauth.js +104 -8
- package/node_modules/@maka/runtime-host/dist/protocol/operations.js +34 -10
- package/node_modules/@maka/runtime-host/dist/protocol/peer-mesh.js +14 -31
- package/node_modules/@maka/runtime-host/dist/protocol/plan.js +1 -0
- package/node_modules/@maka/runtime-host/dist/protocol/plugin-platform.js +899 -0
- package/node_modules/@maka/runtime-host/dist/protocol/project-catalog.js +2 -2
- package/node_modules/@maka/runtime-host/dist/protocol/prompt-suggestions.js +61 -0
- package/node_modules/@maka/runtime-host/dist/protocol/queue-mutation.js +136 -0
- package/node_modules/@maka/runtime-host/dist/protocol/recall.js +270 -0
- package/node_modules/@maka/runtime-host/dist/protocol/runtime-policy.js +84 -26
- package/node_modules/@maka/runtime-host/dist/protocol/runtime-resource.js +4 -17
- package/node_modules/@maka/runtime-host/dist/protocol/scheduled-task.js +26 -6
- package/node_modules/@maka/runtime-host/dist/protocol/session-bundle.js +100 -0
- package/node_modules/@maka/runtime-host/dist/protocol/session-catalog-change.js +24 -6
- package/node_modules/@maka/runtime-host/dist/protocol/session-catalog.js +134 -14
- package/node_modules/@maka/runtime-host/dist/protocol/session-collaboration.js +68 -4
- package/node_modules/@maka/runtime-host/dist/protocol/session-continuity.js +71 -34
- package/node_modules/@maka/runtime-host/dist/protocol/session-retirement.js +30 -3
- package/node_modules/@maka/runtime-host/dist/protocol/session-revision.js +11 -2
- package/node_modules/@maka/runtime-host/dist/protocol/session-todo.js +53 -0
- package/node_modules/@maka/runtime-host/dist/protocol/session-transcript.js +34 -127
- package/node_modules/@maka/runtime-host/dist/protocol/session-turns.js +38 -59
- package/node_modules/@maka/runtime-host/dist/protocol/skill-catalog.js +2 -1
- package/node_modules/@maka/runtime-host/dist/protocol/turn-provider-retry.js +69 -0
- package/node_modules/@maka/runtime-host/dist/protocol/turn.js +54 -95
- package/node_modules/@maka/runtime-host/dist/protocol/usage-pricing.js +39 -3
- package/node_modules/@maka/runtime-host/dist/protocol/usage-screen.js +312 -0
- package/node_modules/@maka/runtime-host/dist/protocol/workhub-coordination.js +218 -75
- package/node_modules/@maka/runtime-host/dist/server/access-authority.js +78 -17
- package/node_modules/@maka/runtime-host/dist/server/access-credential-metadata.js +4 -2
- package/node_modules/@maka/runtime-host/dist/server/access-credential-store.js +137 -49
- package/node_modules/@maka/runtime-host/dist/server/acp/antigravity-install.js +242 -0
- package/node_modules/@maka/runtime-host/dist/server/acp/antigravity.js +154 -0
- package/node_modules/@maka/runtime-host/dist/server/acp/connection.js +116 -0
- package/node_modules/@maka/runtime-host/dist/server/agent-graph-coordinator.js +0 -3
- package/node_modules/@maka/runtime-host/dist/server/agent-graph-execution-coordinator.js +1 -2
- package/node_modules/@maka/runtime-host/dist/server/artifact-coordinator.js +19 -22
- package/node_modules/@maka/runtime-host/dist/server/bootstrap-runtime-policy.js +95 -97
- package/node_modules/@maka/runtime-host/dist/server/builtin-external-agent-plugins.js +188 -0
- package/node_modules/@maka/runtime-host/dist/server/candidate.js +15 -7
- package/node_modules/@maka/runtime-host/dist/server/canonical-session-projection.js +2 -1
- package/node_modules/@maka/runtime-host/dist/server/canonical-turn-snapshot.js +34 -24
- package/node_modules/@maka/runtime-host/dist/server/canonical-usage-reader.js +24 -11
- package/node_modules/@maka/runtime-host/dist/server/child-agent-composition.js +2 -1
- package/node_modules/@maka/runtime-host/dist/server/client-capability-coordinator.js +633 -101
- package/node_modules/@maka/runtime-host/dist/server/client-capability-invocation-broker.js +266 -53
- package/node_modules/@maka/runtime-host/dist/server/client-capability-provider-id.js +31 -0
- package/node_modules/@maka/runtime-host/dist/server/client-capability-recovery.js +45 -44
- package/node_modules/@maka/runtime-host/dist/server/configuration-coordinator.js +20 -1
- package/node_modules/@maka/runtime-host/dist/server/connection-effect-coordinator.js +46 -18
- package/node_modules/@maka/runtime-host/dist/server/connection-session.js +42 -19
- package/node_modules/@maka/runtime-host/dist/server/context-coordinator.js +2 -0
- package/node_modules/@maka/runtime-host/dist/server/daily-review-coordinator.js +164 -82
- package/node_modules/@maka/runtime-host/dist/server/execution-artifacts.js +59 -57
- package/node_modules/@maka/runtime-host/dist/server/execution-candidate.js +4 -1
- package/node_modules/@maka/runtime-host/dist/server/execution-composition-factory.js +10 -4
- package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +1511 -240
- package/node_modules/@maka/runtime-host/dist/server/execution-inspect-coordinator.js +35 -29
- package/node_modules/@maka/runtime-host/dist/server/execution-model-authority.js +160 -20
- package/node_modules/@maka/runtime-host/dist/server/execution-model-composition.js +102 -73
- package/node_modules/@maka/runtime-host/dist/server/execution-service.js +49 -25
- package/node_modules/@maka/runtime-host/dist/server/extension-bundle.js +253 -0
- package/node_modules/@maka/runtime-host/dist/server/extension-package-manifest.js +280 -0
- package/node_modules/@maka/runtime-host/dist/server/external-agent-setup-coordinator.js +190 -0
- package/node_modules/@maka/runtime-host/dist/server/external-session-coordinator.js +130 -55
- package/node_modules/@maka/runtime-host/dist/server/failure-diagnostic.js +24 -0
- package/node_modules/@maka/runtime-host/dist/server/generated-text.js +39 -0
- package/node_modules/@maka/runtime-host/dist/server/goal-coordinator.js +176 -40
- package/node_modules/@maka/runtime-host/dist/server/host-change-feed.js +26 -22
- package/node_modules/@maka/runtime-host/dist/server/host-composition-source.js +47 -0
- package/node_modules/@maka/runtime-host/dist/server/host-composition.js +1 -29
- package/node_modules/@maka/runtime-host/dist/server/host-kernel.js +164 -35
- package/node_modules/@maka/runtime-host/dist/server/host-residency-registry.js +41 -20
- package/node_modules/@maka/runtime-host/dist/server/host-resource-collector.js +223 -0
- package/node_modules/@maka/runtime-host/dist/server/host-resource-probe-main.js +44 -0
- package/node_modules/@maka/runtime-host/dist/server/host-resource-probe.js +83 -0
- package/node_modules/@maka/runtime-host/dist/server/host-session-availability.js +15 -4
- package/node_modules/@maka/runtime-host/dist/server/hosted-execution-admission-registry.js +3 -1
- package/node_modules/@maka/runtime-host/dist/server/hosted-execution-projection.js +12 -7
- package/node_modules/@maka/runtime-host/dist/server/hosted-execution-recovery.js +205 -75
- package/node_modules/@maka/runtime-host/dist/server/hosted-execution-tool-profile.js +82 -12
- package/node_modules/@maka/runtime-host/dist/server/index.js +5 -0
- package/node_modules/@maka/runtime-host/dist/server/interaction-coordinator.js +467 -40
- package/node_modules/@maka/runtime-host/dist/server/interaction-projection.js +36 -1
- package/node_modules/@maka/runtime-host/dist/server/interactive-run-composer.js +178 -126
- package/node_modules/@maka/runtime-host/dist/server/interactive-turn-coordinator.js +5 -17
- package/node_modules/@maka/runtime-host/dist/server/jev-routing-model.js +157 -0
- package/node_modules/@maka/runtime-host/dist/server/json-array-page-budget.js +48 -0
- package/node_modules/@maka/runtime-host/dist/server/listener-set.js +8 -6
- package/node_modules/@maka/runtime-host/dist/server/memory-projection.js +14 -15
- package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +565 -353
- package/node_modules/@maka/runtime-host/dist/server/message-queue-state.js +69 -0
- package/node_modules/@maka/runtime-host/dist/server/model-metadata-refresh.js +96 -0
- package/node_modules/@maka/runtime-host/dist/server/network-proxy-coordinator.js +0 -1
- package/node_modules/@maka/runtime-host/dist/server/oauth-coordinator.js +169 -45
- package/node_modules/@maka/runtime-host/dist/server/oauth-execution-authority.js +20 -3
- package/node_modules/@maka/runtime-host/dist/server/operation-dispatcher.js +66 -127
- package/node_modules/@maka/runtime-host/dist/server/peer-listener.js +131 -48
- package/node_modules/@maka/runtime-host/dist/server/peer-mesh-authority.js +1 -1
- package/node_modules/@maka/runtime-host/dist/server/plan-coordinator.js +52 -16
- package/node_modules/@maka/runtime-host/dist/server/plugin-composition-patch.js +58 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-composition-store.js +141 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-data-runtime.js +234 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-package-loader.js +204 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-package-store.js +545 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-platform-coordinator.js +400 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-platform.js +1273 -0
- package/node_modules/@maka/runtime-host/dist/server/process-lifecycle.js +1 -1
- package/node_modules/@maka/runtime-host/dist/server/process-termination-error.js +27 -0
- package/node_modules/@maka/runtime-host/dist/server/project-catalog-coordinator.js +10 -12
- package/node_modules/@maka/runtime-host/dist/server/project-directory-authority.js +4 -3
- package/node_modules/@maka/runtime-host/dist/server/prompt-suggestion.js +179 -0
- package/node_modules/@maka/runtime-host/dist/server/provider-retry-projection.js +71 -0
- package/node_modules/@maka/runtime-host/dist/server/queued-mutation-executor.js +94 -0
- package/node_modules/@maka/runtime-host/dist/server/recall-coordinator.js +117 -0
- package/node_modules/@maka/runtime-host/dist/server/recall-material-fetch.js +92 -0
- package/node_modules/@maka/runtime-host/dist/server/root-admission-owner.js +32 -7
- package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +803 -218
- package/node_modules/@maka/runtime-host/dist/server/runtime-policy-coordinator.js +74 -18
- package/node_modules/@maka/runtime-host/dist/server/runtime-resource-coordinator.js +24 -31
- package/node_modules/@maka/runtime-host/dist/server/runtime-resource-projection.js +15 -32
- package/node_modules/@maka/runtime-host/dist/server/safe-boundary-resume-policy.js +27 -0
- package/node_modules/@maka/runtime-host/dist/server/sandbox-boundary-graph-wake.js +3 -5
- package/node_modules/@maka/runtime-host/dist/server/scheduled-task-coordinator.js +150 -41
- package/node_modules/@maka/runtime-host/dist/server/serial-outbound-writer.js +46 -4
- package/node_modules/@maka/runtime-host/dist/server/session-admission-gate.js +21 -1
- package/node_modules/@maka/runtime-host/dist/server/session-bundle-coordinator.js +166 -0
- package/node_modules/@maka/runtime-host/dist/server/session-catalog-coordinator.js +461 -62
- package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +484 -586
- package/node_modules/@maka/runtime-host/dist/server/session-effect-coordinator.js +13 -7
- package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +68 -16
- package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +118 -189
- package/node_modules/@maka/runtime-host/dist/server/session-revision-graph-references.js +64 -85
- package/node_modules/@maka/runtime-host/dist/server/session-sidecar-purge.js +2 -1
- package/node_modules/@maka/runtime-host/dist/server/session-title.js +3 -16
- package/node_modules/@maka/runtime-host/dist/server/session-todo-coordinator.js +77 -0
- package/node_modules/@maka/runtime-host/dist/server/session-transcript-pager.js +23 -488
- package/node_modules/@maka/runtime-host/dist/server/session-transcript-reader.js +407 -115
- package/node_modules/@maka/runtime-host/dist/server/session-turn-access-request-coordinator.js +33 -26
- package/node_modules/@maka/runtime-host/dist/server/shared-session-transcript.js +4 -1
- package/node_modules/@maka/runtime-host/dist/server/skill-catalog-coordinator.js +18 -2
- package/node_modules/@maka/runtime-host/dist/server/skill-catalog-repository.js +16 -17
- package/node_modules/@maka/runtime-host/dist/server/storage-maintenance.js +109 -0
- package/node_modules/@maka/runtime-host/dist/server/usage-pricing-coordinator.js +120 -36
- package/node_modules/@maka/runtime-host/dist/server/web-fetch-tool.js +38 -2
- package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-action-gate.js +625 -39
- package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-coordinator.js +625 -132
- package/node_modules/@maka/runtime-host/dist/server/workhub-message-attachments.js +47 -0
- package/node_modules/@maka/runtime-host/dist/server/workhub-result-coordinator.js +203 -0
- package/node_modules/@maka/runtime-host/dist/server/workhub-result-runtime.js +293 -0
- package/node_modules/@maka/runtime-host/dist/server/workhub-target-execution-authority.js +161 -0
- package/node_modules/@maka/runtime-host/dist/transport/framed-byte-stream-transport.js +43 -6
- package/node_modules/@maka/runtime-host/dist/transport/local-ipc-framing.js +4 -2
- package/node_modules/@maka/runtime-host/dist/transport/peer-native.js +112 -24
- package/node_modules/@maka/runtime-host/dist/transport/resumable-peer-stream.js +469 -0
- package/node_modules/@maka/runtime-host/dist/webrtc-stun-policy.js +114 -0
- package/node_modules/@maka/runtime-host/package.json +9 -1
- package/node_modules/@maka/storage/dist/agent-run-store-contract.js +956 -0
- package/node_modules/@maka/storage/dist/agent-run-store.js +264 -1058
- package/node_modules/@maka/storage/dist/artifact-attachments.js +66 -18
- package/node_modules/@maka/storage/dist/artifact-metadata-codec.js +28 -31
- package/node_modules/@maka/storage/dist/artifact-store.js +265 -787
- package/node_modules/@maka/storage/dist/artifact-stores.js +5 -12
- package/node_modules/@maka/storage/dist/artifact-writer-lock.js +1 -1
- package/node_modules/@maka/storage/dist/atomic-file-write.js +75 -0
- package/node_modules/@maka/storage/dist/claude-code-session-adapter.js +802 -321
- package/node_modules/@maka/storage/dist/claude-code-transcript-lineage.js +106 -77
- package/node_modules/@maka/storage/dist/codex-session-adapter.js +845 -315
- package/node_modules/@maka/storage/dist/config-transfer.js +14 -8
- package/node_modules/@maka/storage/dist/context-offload-snapshot.js +397 -0
- package/node_modules/@maka/storage/dist/context-value-mutation-gate.js +59 -0
- package/node_modules/@maka/storage/dist/conversation-operational-state.js +10 -0
- package/node_modules/@maka/storage/dist/credential-store.js +15 -63
- package/node_modules/@maka/storage/dist/execution-persistence-provider.js +55 -0
- package/node_modules/@maka/storage/dist/execution-record-codec.js +1 -22
- package/node_modules/@maka/storage/dist/execution-stores.js +254 -81
- package/node_modules/@maka/storage/dist/external-session-importer.js +25 -3
- package/node_modules/@maka/storage/dist/file-lifetime-owner.js +30 -2
- package/node_modules/@maka/storage/dist/file-session-repository.js +1012 -0
- package/node_modules/@maka/storage/dist/git-exec.js +61 -0
- package/node_modules/@maka/storage/dist/git-worktree-child-executor.js +8 -35
- package/node_modules/@maka/storage/dist/goal-authority.js +41 -10
- package/node_modules/@maka/storage/dist/graph-control-values.js +126 -0
- package/node_modules/@maka/storage/dist/interaction-store-contract.js +231 -0
- package/node_modules/@maka/storage/dist/interaction-store-public.js +1 -1
- package/node_modules/@maka/storage/dist/interaction-store.js +196 -166
- package/node_modules/@maka/storage/dist/legacy-run-header.js +327 -0
- package/node_modules/@maka/storage/dist/local-execution-persistence.js +80 -0
- package/node_modules/@maka/storage/dist/mcp-config-store.js +123 -30
- package/node_modules/@maka/storage/dist/message-admission-store.js +8 -3
- package/node_modules/@maka/storage/dist/model-call-ledger.js +199 -32
- package/node_modules/@maka/storage/dist/model-call-usage-sql.js +136 -0
- package/node_modules/@maka/storage/dist/model-facts-store.js +56 -0
- package/node_modules/@maka/storage/dist/offset-external-session-catalog.js +69 -0
- package/node_modules/@maka/storage/dist/opencode-session-adapter.js +278 -77
- package/node_modules/@maka/storage/dist/operational-state-backup.js +15 -11
- package/node_modules/@maka/storage/dist/operational-state-store-public.js +1 -1
- package/node_modules/@maka/storage/dist/operational-state-store.js +60 -8
- package/node_modules/@maka/storage/dist/plan-authority.js +50 -0
- package/node_modules/@maka/storage/dist/plan-store.js +30 -0
- package/node_modules/@maka/storage/dist/process-lifetime-file-update-lock.js +0 -41
- package/node_modules/@maka/storage/dist/production-session-snapshot.js +761 -0
- package/node_modules/@maka/storage/dist/project-catalog.js +51 -74
- package/node_modules/@maka/storage/dist/quiescent-session-snapshot.js +1154 -0
- package/node_modules/@maka/storage/dist/recall-fold.js +65 -0
- package/node_modules/@maka/storage/dist/root-authority.js +4 -0
- package/node_modules/@maka/storage/dist/runtime-event-invariants.js +2 -2
- package/node_modules/@maka/storage/dist/runtime-event-persistence.js +9 -0
- package/node_modules/@maka/storage/dist/runtime-event-store-contract.js +19 -0
- package/node_modules/@maka/storage/dist/runtime-partial-values.js +118 -0
- package/node_modules/@maka/storage/dist/runtime-policy/connection-catalog-document.js +181 -112
- package/node_modules/@maka/storage/dist/runtime-policy/coordinator.js +552 -121
- package/node_modules/@maka/storage/dist/runtime-policy/credential-vault-document.js +4 -1
- package/node_modules/@maka/storage/dist/runtime-policy/document-io.js +22 -16
- package/node_modules/@maka/storage/dist/runtime-policy/legacy-custom-connection.js +65 -0
- package/node_modules/@maka/storage/dist/runtime-policy/oauth-login-receipt-document.js +207 -0
- package/node_modules/@maka/storage/dist/runtime-policy/onboarding-transaction.js +157 -9
- package/node_modules/@maka/storage/dist/runtime-policy/policy-document.js +12 -4
- package/node_modules/@maka/storage/dist/runtime-policy-stores.js +7 -4
- package/node_modules/@maka/storage/dist/runtime-transcript-query.js +333 -0
- package/node_modules/@maka/storage/dist/scheduled-task-store.js +256 -283
- package/node_modules/@maka/storage/dist/session-bundle-manifest.js +5 -17
- package/node_modules/@maka/storage/dist/session-bundle-policy.js +1042 -34
- package/node_modules/@maka/storage/dist/session-bundle-ustar.js +12 -0
- package/node_modules/@maka/storage/dist/session-copy-cleanup.js +12 -7
- package/node_modules/@maka/storage/dist/session-message-projection.js +24 -5
- package/node_modules/@maka/storage/dist/session-repository.js +767 -0
- package/node_modules/@maka/storage/dist/session-store-contract.js +61 -0
- package/node_modules/@maka/storage/dist/session-store-values.js +354 -0
- package/node_modules/@maka/storage/dist/session-store.js +129 -433
- package/node_modules/@maka/storage/dist/session-todo-authority.js +106 -0
- package/node_modules/@maka/storage/dist/session-todo-store.js +169 -0
- package/node_modules/@maka/storage/dist/settings-store.js +297 -34
- package/node_modules/@maka/storage/dist/shell-run-authority.js +1 -0
- package/node_modules/@maka/storage/dist/shell-run-store.js +15 -0
- package/node_modules/@maka/storage/dist/sqlite-artifact-metadata.js +51 -17
- package/node_modules/@maka/storage/dist/sqlite-artifact-schema.js +55 -5
- package/node_modules/@maka/storage/dist/sqlite-context-offload-store.js +42 -12
- package/node_modules/@maka/storage/dist/sqlite-core-execution-schema.js +46 -2
- package/node_modules/@maka/storage/dist/sqlite-long-term-memory-store.js +86 -12
- package/node_modules/@maka/storage/dist/sqlite-runtime-schema.js +455 -1
- package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +1461 -359
- package/node_modules/@maka/storage/dist/sqlite-session-metadata-schema.js +114 -5
- package/node_modules/@maka/storage/dist/sqlite-session-metadata-store.js +705 -1049
- package/node_modules/@maka/storage/dist/sqlite-usage-schema.js +280 -20
- package/node_modules/@maka/storage/dist/sqlite-usage-store.js +29 -6
- package/node_modules/@maka/storage/dist/sqlite-workflow-schema.js +7 -8
- package/node_modules/@maka/storage/dist/stable-storage.js +16 -2
- package/node_modules/@maka/storage/dist/storage-id.js +28 -0
- package/node_modules/@maka/storage/dist/storage-writer-composition.js +5 -9
- package/node_modules/@maka/storage/dist/telemetry-file-schema.js +5 -3
- package/node_modules/@maka/storage/dist/tool-commit-validation.js +111 -0
- package/node_modules/@maka/storage/dist/tool-result-archive-evidence.js +138 -0
- package/node_modules/@maka/storage/dist/usage-screen.js +384 -0
- package/node_modules/@maka/storage/dist/usage-stores.js +30 -9
- package/node_modules/@maka/storage/dist/work-board-store.js +44 -5
- package/node_modules/@maka/storage/dist/workspace-identity.js +2 -15
- package/node_modules/@maka/storage/dist/workspace-version-authority-internal.js +1 -8
- package/node_modules/@maka/storage/package.json +9 -5
- package/node_modules/@modelcontextprotocol/client/dist/index-BCtJi0p5.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-CEk3qkZM.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs +375 -60
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs +369 -61
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/src-D0qEN74R.cjs +7521 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-DDAAhLnO.mjs +7153 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth--n_Yzytt.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-4-zilcqg.cjs +2900 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-CGP0BDVq.mjs +1679 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-YUQV3RRv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/client/package.json +4 -4
- package/node_modules/@openai/agents-core/dist/agent.js +8 -10
- package/node_modules/@openai/agents-core/dist/agent.mjs +9 -11
- package/node_modules/@openai/agents-core/dist/agentToolInput.js +2 -30
- package/node_modules/@openai/agents-core/dist/agentToolInput.mjs +1 -29
- package/node_modules/@openai/agents-core/dist/defaultModel.js +23 -3
- package/node_modules/@openai/agents-core/dist/defaultModel.mjs +21 -3
- package/node_modules/@openai/agents-core/dist/handoff.js +5 -5
- package/node_modules/@openai/agents-core/dist/handoff.mjs +5 -5
- package/node_modules/@openai/agents-core/dist/index.js +2 -1
- package/node_modules/@openai/agents-core/dist/index.mjs +1 -1
- package/node_modules/@openai/agents-core/dist/items.js +8 -1
- package/node_modules/@openai/agents-core/dist/items.mjs +8 -1
- package/node_modules/@openai/agents-core/dist/mcp.js +26 -16
- package/node_modules/@openai/agents-core/dist/mcp.mjs +27 -17
- package/node_modules/@openai/agents-core/dist/mcpServers.js +18 -15
- package/node_modules/@openai/agents-core/dist/mcpServers.mjs +18 -15
- package/node_modules/@openai/agents-core/dist/mcpShared.js +12 -0
- package/node_modules/@openai/agents-core/dist/mcpShared.mjs +12 -0
- package/node_modules/@openai/agents-core/dist/memory/session.js +8 -0
- package/node_modules/@openai/agents-core/dist/memory/session.mjs +7 -0
- package/node_modules/@openai/agents-core/dist/metadata.js +2 -2
- package/node_modules/@openai/agents-core/dist/metadata.mjs +2 -2
- package/node_modules/@openai/agents-core/dist/run.js +550 -248
- package/node_modules/@openai/agents-core/dist/run.mjs +555 -253
- package/node_modules/@openai/agents-core/dist/runState.js +747 -420
- package/node_modules/@openai/agents-core/dist/runState.mjs +742 -421
- package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.js +440 -0
- package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.mjs +404 -0
- package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.js +274 -78
- package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.mjs +268 -77
- package/node_modules/@openai/agents-core/dist/runner/conversation.js +22 -3
- package/node_modules/@openai/agents-core/dist/runner/conversation.mjs +23 -4
- package/node_modules/@openai/agents-core/dist/runner/guardrails.js +80 -15
- package/node_modules/@openai/agents-core/dist/runner/guardrails.mjs +78 -15
- package/node_modules/@openai/agents-core/dist/runner/items.js +35 -2
- package/node_modules/@openai/agents-core/dist/runner/items.mjs +35 -2
- package/node_modules/@openai/agents-core/dist/runner/modelOutputs.js +47 -18
- package/node_modules/@openai/agents-core/dist/runner/modelOutputs.mjs +50 -21
- package/node_modules/@openai/agents-core/dist/runner/modelPreparation.js +28 -0
- package/node_modules/@openai/agents-core/dist/runner/modelPreparation.mjs +28 -1
- package/node_modules/@openai/agents-core/dist/runner/modelRetry.js +322 -217
- package/node_modules/@openai/agents-core/dist/runner/modelRetry.mjs +322 -217
- package/node_modules/@openai/agents-core/dist/runner/modelSettings.js +15 -22
- package/node_modules/@openai/agents-core/dist/runner/modelSettings.mjs +15 -22
- package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.js +32 -0
- package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.mjs +28 -0
- package/node_modules/@openai/agents-core/dist/runner/runLoop.js +53 -8
- package/node_modules/@openai/agents-core/dist/runner/runLoop.mjs +53 -8
- package/node_modules/@openai/agents-core/dist/runner/sessionItems.js +119 -0
- package/node_modules/@openai/agents-core/dist/runner/sessionItems.mjs +114 -0
- package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.js +408 -157
- package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.mjs +388 -142
- package/node_modules/@openai/agents-core/dist/runner/toolExecution.js +42 -3
- package/node_modules/@openai/agents-core/dist/runner/toolExecution.mjs +42 -3
- package/node_modules/@openai/agents-core/dist/runner/toolSearch.js +1 -0
- package/node_modules/@openai/agents-core/dist/runner/toolSearch.mjs +1 -1
- package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.js +19 -0
- package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.mjs +15 -0
- package/node_modules/@openai/agents-core/dist/runner/turnResolution.js +65 -13
- package/node_modules/@openai/agents-core/dist/runner/turnResolution.mjs +65 -13
- package/node_modules/@openai/agents-core/dist/runner/usageTracking.js +69 -0
- package/node_modules/@openai/agents-core/dist/runner/usageTracking.mjs +65 -0
- package/node_modules/@openai/agents-core/dist/sandbox/manifest.js +4 -0
- package/node_modules/@openai/agents-core/dist/sandbox/manifest.mjs +4 -0
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.js +317 -127
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.mjs +319 -129
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.js +1 -1
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.mjs +1 -1
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.js +27 -13
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.mjs +27 -13
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.js +196 -0
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.mjs +193 -0
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.js +215 -0
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.mjs +211 -0
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.js +193 -83
- package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.mjs +196 -86
- package/node_modules/@openai/agents-core/dist/sandbox/session.js +2 -1
- package/node_modules/@openai/agents-core/dist/sandbox/session.mjs +2 -1
- package/node_modules/@openai/agents-core/dist/tracing/processor.js +21 -7
- package/node_modules/@openai/agents-core/dist/tracing/processor.mjs +21 -7
- package/node_modules/@openai/agents-core/dist/tracing/spans.js +40 -6
- package/node_modules/@openai/agents-core/dist/tracing/spans.mjs +7 -3
- package/node_modules/@openai/agents-core/dist/types/protocol.js +6 -0
- package/node_modules/@openai/agents-core/dist/types/protocol.mjs +6 -0
- package/node_modules/@openai/agents-core/dist/usage.js +13 -4
- package/node_modules/@openai/agents-core/dist/usage.mjs +13 -4
- package/node_modules/@openai/agents-core/dist/utils/applyDiff.js +24 -7
- package/node_modules/@openai/agents-core/dist/utils/applyDiff.mjs +24 -7
- package/node_modules/@openai/agents-core/dist/utils/internal.js +3 -1
- package/node_modules/@openai/agents-core/dist/utils/internal.mjs +1 -1
- package/node_modules/@openai/agents-core/dist/utils/zodCompat.js +29 -0
- package/node_modules/@openai/agents-core/dist/utils/zodCompat.mjs +28 -0
- package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.js +3 -31
- package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.mjs +1 -29
- package/node_modules/@openai/agents-core/package.json +1 -1
- package/node_modules/@slack/types/dist/events/agent.js +3 -0
- package/node_modules/@slack/types/dist/events/index.js +44 -0
- package/node_modules/@slack/types/package.json +47 -0
- package/node_modules/@slack/web-api/README.md +382 -0
- package/node_modules/@slack/web-api/dist/methods.js +1636 -0
- package/node_modules/@slack/web-api/dist/types/request/agents.js +3 -0
- package/node_modules/@slack/web-api/dist/types/request/blocks.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/AdminUsersGetExpirationResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsRenameResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsSetStatusResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/BlocksValidateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +48 -0
- package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +67 -0
- package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +72 -0
- package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +48 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +11 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/LICENSE +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/README.md +15 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/package.json +30 -0
- package/node_modules/@slack/web-api/package.json +71 -0
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/package.json +3 -18
- package/node_modules/ai/CHANGELOG.md +611 -0
- package/node_modules/ai/README.md +6 -6
- package/node_modules/ai/dist/index.js +7872 -3383
- package/node_modules/ai/dist/internal/index.js +837 -465
- package/node_modules/ai/docs/00-introduction/index.mdx +1 -1
- package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +15 -4
- package/node_modules/ai/docs/02-foundations/03-prompts.mdx +1 -1
- package/node_modules/ai/docs/02-foundations/04-tools.mdx +2 -2
- package/node_modules/ai/docs/02-foundations/06-provider-options.mdx +11 -11
- package/node_modules/ai/docs/02-getting-started/00-choosing-a-provider.mdx +4 -4
- package/node_modules/ai/docs/02-getting-started/02-nextjs-app-router.mdx +3 -3
- package/node_modules/ai/docs/02-getting-started/03-nextjs-pages-router.mdx +4 -4
- package/node_modules/ai/docs/02-getting-started/04-svelte.mdx +7 -7
- package/node_modules/ai/docs/02-getting-started/05-nuxt.mdx +8 -8
- package/node_modules/ai/docs/02-getting-started/06-nodejs.mdx +3 -3
- package/node_modules/ai/docs/02-getting-started/07-expo.mdx +10 -3
- package/node_modules/ai/docs/02-getting-started/08-tanstack-start.mdx +3 -3
- package/node_modules/ai/docs/02-getting-started/09-coding-agents.mdx +1 -1
- package/node_modules/ai/docs/03-agents/02-building-agents.mdx +2 -2
- package/node_modules/ai/docs/03-agents/03-workflows.mdx +2 -2
- package/node_modules/ai/docs/03-agents/04-loop-control.mdx +6 -4
- package/node_modules/ai/docs/03-agents/05-configuring-call-options.mdx +4 -2
- package/node_modules/ai/docs/03-agents/06-memory.mdx +2 -2
- package/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +5 -4
- package/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +35 -7
- package/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +125 -28
- package/node_modules/ai/docs/03-agents/08-terminal-ui.mdx +14 -10
- package/node_modules/ai/docs/03-ai-sdk-core/05-generating-text.mdx +2 -2
- package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +15 -3
- package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +14 -6
- package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +95 -1
- package/node_modules/ai/docs/03-ai-sdk-core/17-mcp-apps.mdx +2 -2
- package/node_modules/ai/docs/03-ai-sdk-core/18-code-mode.mdx +50 -0
- package/node_modules/ai/docs/03-ai-sdk-core/19-tool-search.mdx +82 -0
- package/node_modules/ai/docs/03-ai-sdk-core/20-prompt-engineering.mdx +1 -1
- package/node_modules/ai/docs/03-ai-sdk-core/26-reasoning.mdx +15 -14
- package/node_modules/ai/docs/03-ai-sdk-core/31-reranking.mdx +12 -10
- package/node_modules/ai/docs/03-ai-sdk-core/32-evaluation.mdx +287 -0
- package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +79 -14
- package/node_modules/ai/docs/03-ai-sdk-core/36-realtime.mdx +41 -18
- package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +37 -35
- package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +8 -23
- package/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +26 -1
- package/node_modules/ai/docs/03-ai-sdk-core/40-middleware.mdx +92 -7
- package/node_modules/ai/docs/03-ai-sdk-core/41-skill-uploads.mdx +1 -1
- package/node_modules/ai/docs/03-ai-sdk-core/42-batch.mdx +371 -0
- package/node_modules/ai/docs/03-ai-sdk-core/45-provider-management.mdx +31 -21
- package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +94 -2
- package/node_modules/ai/docs/03-ai-sdk-core/55-testing.mdx +75 -0
- package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +89 -11
- package/node_modules/ai/docs/03-ai-sdk-core/65-devtools.mdx +3 -3
- package/node_modules/ai/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +132 -7
- package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +11 -0
- package/node_modules/ai/docs/03-ai-sdk-harnesses/01-overview.mdx +3 -2
- package/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +324 -97
- package/node_modules/ai/docs/03-ai-sdk-harnesses/03-tools.mdx +47 -22
- package/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +6 -6
- package/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +15 -13
- package/node_modules/ai/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +43 -9
- package/node_modules/ai/docs/03-ai-sdk-harnesses/07-ui.mdx +33 -30
- package/node_modules/ai/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +8 -6
- package/node_modules/ai/docs/04-ai-sdk-ui/01-overview.mdx +1 -1
- package/node_modules/ai/docs/04-ai-sdk-ui/02-chatbot.mdx +47 -21
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +46 -3
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +11 -4
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +39 -2
- package/node_modules/ai/docs/04-ai-sdk-ui/05-completion.mdx +1 -1
- package/node_modules/ai/docs/04-ai-sdk-ui/08-object-generation.mdx +4 -1
- package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +11 -6
- package/node_modules/ai/docs/04-ai-sdk-ui/21-error-handling.mdx +28 -2
- package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +7 -3
- package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +6 -2
- package/node_modules/ai/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +5 -5
- package/node_modules/ai/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +2 -2
- package/node_modules/ai/docs/05-ai-sdk-rsc/06-loading-state.mdx +1 -1
- package/node_modules/ai/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +3 -3
- package/node_modules/ai/docs/06-advanced/02-stopping-streams.mdx +8 -0
- package/node_modules/ai/docs/06-advanced/04-caching.mdx +9 -1
- package/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +54 -3
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +28 -5
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +66 -15
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +31 -5
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +38 -8
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +24 -10
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +2 -1
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +1 -1
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +3 -3
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-evaluate.mdx +74 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +37 -4
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +5 -3
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +154 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-tool.mdx +7 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +133 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +7 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +109 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +96 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-tool-search.mdx +76 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +121 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +27 -1
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +63 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +30 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +12 -0
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +19 -1
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +22 -4
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +1 -1
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +17 -2
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +5 -3
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +31 -0
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +2 -2
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +4 -1
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +364 -48
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +14 -2
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +45 -6
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +6 -1
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +3 -3
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +2 -1
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +1 -1
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +1 -1
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +124 -43
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +29 -15
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +157 -0
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +6 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +4 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-evaluation-unsupported-question-type-error.mdx +31 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +6 -1
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +7 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +4 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +4 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +52 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +38 -0
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +6 -2
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +131 -34
- package/node_modules/ai/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +13 -9
- package/node_modules/ai/docs/08-migration-guides/29-migration-guide-4-0.mdx +5 -5
- package/node_modules/ai/docs/08-migration-guides/37-migration-guide-3-3.mdx +1 -1
- package/node_modules/ai/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +3 -3
- package/node_modules/ai/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +2 -2
- package/node_modules/ai/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +1 -1
- package/node_modules/ai/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +2 -2
- package/node_modules/ai/package.json +19 -9
- package/node_modules/balanced-match/LICENSE.md +23 -0
- package/node_modules/balanced-match/README.md +57 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/brace-expansion/LICENSE +23 -0
- package/node_modules/brace-expansion/README.md +105 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +289 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.js +285 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +64 -0
- package/node_modules/fast-uri/index.js +215 -47
- package/node_modules/fast-uri/lib/schemes.js +9 -4
- package/node_modules/fast-uri/lib/utils.js +396 -92
- package/node_modules/fast-uri/package.json +1 -1
- package/node_modules/fs-native-extensions/package.json +1 -1
- package/node_modules/fs-native-extensions/prebuilds/android-arm/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/android-arm64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/android-ia32/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/android-x64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.node +0 -0
- package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.node +0 -0
- package/node_modules/fs-native-extensions/prebuilds/ios-arm64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/ios-arm64-simulator/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/ios-x64-simulator/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/linux-arm64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/linux-x64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.node +0 -0
- package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.bare +0 -0
- package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.node +0 -0
- package/node_modules/fs-native-extensions/src/win32.c +50 -11
- package/node_modules/glob/LICENSE.md +63 -0
- package/node_modules/glob/README.md +1203 -0
- package/node_modules/glob/dist/commonjs/glob.js +248 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.min.js +4 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.js +223 -0
- package/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/glob/dist/esm/glob.js +244 -0
- package/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.min.js +4 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.js +219 -0
- package/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/glob/package.json +98 -0
- package/node_modules/image-dimensions/cli.js +18 -3
- package/node_modules/image-dimensions/index.js +7 -5
- package/node_modules/image-dimensions/package.json +4 -1
- package/node_modules/image-dimensions/readme.md +2 -1
- package/node_modules/image-dimensions/types/avif.js +2 -24
- package/node_modules/image-dimensions/types/heic.js +2 -24
- package/node_modules/image-dimensions/types/jpeg.js +28 -7
- package/node_modules/image-dimensions/types/png.js +13 -2
- package/node_modules/image-dimensions/types/webp.js +20 -36
- package/node_modules/image-dimensions/utilities.js +184 -60
- package/node_modules/ip-address/README.md +145 -135
- package/node_modules/ip-address/dist/common.js +48 -0
- package/node_modules/ip-address/dist/ipv4.js +117 -11
- package/node_modules/ip-address/dist/ipv6.js +162 -48
- package/node_modules/ip-address/dist/v4/constants.js +40 -1
- package/node_modules/ip-address/dist/v6/constants.js +47 -1
- package/node_modules/ip-address/package.json +1 -1
- package/node_modules/marked/README.md +1 -0
- package/node_modules/marked/lib/marked.esm.js +30 -29
- package/node_modules/marked/lib/marked.umd.js +30 -29
- package/node_modules/marked/man/marked.1 +1 -1
- package/node_modules/marked/package.json +11 -11
- package/node_modules/minimatch/LICENSE.md +55 -0
- package/node_modules/minimatch/README.md +528 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/package.json +73 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/path-scurry/LICENSE.md +55 -0
- package/node_modules/path-scurry/README.md +636 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/path-scurry/node_modules/lru-cache/README.md +469 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +1722 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/package.json +154 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
- package/node_modules/qs/CHANGELOG.md +15 -0
- package/node_modules/qs/README.md +19 -1
- package/node_modules/qs/dist/qs.js +21 -21
- package/node_modules/qs/eslint.config.mjs +1 -1
- package/node_modules/qs/lib/parse.js +3 -4
- package/node_modules/qs/lib/stringify.js +23 -8
- package/node_modules/qs/lib/utils.js +10 -3
- package/node_modules/qs/package.json +4 -4
- package/node_modules/run/README.md +109 -18
- package/node_modules/run/THIRD_PARTY_NOTICES.md +11 -11
- package/node_modules/run/dist/continuation-validation.js +116 -1
- package/node_modules/run/dist/errors.js +12 -2
- package/node_modules/run/dist/host-function-invocation.js +2 -1
- package/node_modules/run/dist/run.js +30 -4
- package/node_modules/run/dist/runtime/guest-serde-source.js +1 -1
- package/node_modules/run/dist/runtime/guest-sources.js +214 -56
- package/node_modules/run/dist/runtime/manager.js +575 -116
- package/node_modules/run/dist/runtime/max-workers.js +8 -4
- package/node_modules/run/dist/runtime/protocol-validation.js +20 -7
- package/node_modules/run/dist/runtime/sync-bridge-protocol.js +135 -0
- package/node_modules/run/dist/runtime/worker-source.js +1 -1
- package/node_modules/run/dist/utils/options.js +7 -0
- package/node_modules/run/dist/utils/promise-with-resolvers.js +13 -1
- package/node_modules/run/dist/utils/serde.js +1 -7
- package/node_modules/run/dist/utils/source-cache.js +83 -13
- package/node_modules/run/package.json +6 -4
- package/node_modules/socks/build/common/helpers.js +5 -6
- package/node_modules/socks/build/common/util.js +2 -2
- package/node_modules/socks/package.json +7 -7
- package/node_modules/systeminformation/LICENSE +20 -0
- package/node_modules/systeminformation/README.md +1251 -0
- package/node_modules/systeminformation/lib/audio.js +335 -0
- package/node_modules/systeminformation/lib/battery.js +355 -0
- package/node_modules/systeminformation/lib/bluetooth.js +315 -0
- package/node_modules/systeminformation/lib/bluetoothVendors.js +1138 -0
- package/node_modules/systeminformation/lib/cli.js +100 -0
- package/node_modules/systeminformation/lib/cpu.js +2285 -0
- package/node_modules/systeminformation/lib/docker.js +791 -0
- package/node_modules/systeminformation/lib/dockerSocket.js +117 -0
- package/node_modules/systeminformation/lib/filesystem.js +1933 -0
- package/node_modules/systeminformation/lib/graphics.js +1317 -0
- package/node_modules/systeminformation/lib/index.js +520 -0
- package/node_modules/systeminformation/lib/internet.js +265 -0
- package/node_modules/systeminformation/lib/memory.js +620 -0
- package/node_modules/systeminformation/lib/network.js +2014 -0
- package/node_modules/systeminformation/lib/osinfo.js +1304 -0
- package/node_modules/systeminformation/lib/printer.js +209 -0
- package/node_modules/systeminformation/lib/processes.js +1496 -0
- package/node_modules/systeminformation/lib/system.js +855 -0
- package/node_modules/systeminformation/lib/usb.js +309 -0
- package/node_modules/systeminformation/lib/users.js +412 -0
- package/node_modules/systeminformation/lib/util.js +2840 -0
- package/node_modules/systeminformation/lib/virtualbox.js +116 -0
- package/node_modules/systeminformation/lib/wifi.js +839 -0
- package/node_modules/systeminformation/package.json +102 -0
- package/node_modules/undici/README.md +10 -1
- package/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/undici/docs/docs/api/Errors.md +25 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
- package/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/undici/docs/docs/index.md +10 -1
- package/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/undici/lib/core/util.js +0 -39
- package/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
- package/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
- package/node_modules/undici/lib/dispatcher/client.js +9 -3
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
- package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
- package/node_modules/undici/lib/dispatcher/pool.js +90 -7
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
- package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
- package/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
- package/node_modules/undici/lib/handler/redirect-handler.js +26 -4
- package/node_modules/undici/lib/handler/retry-handler.js +215 -38
- package/node_modules/undici/lib/interceptor/cache.js +69 -13
- package/node_modules/undici/lib/interceptor/decompress.js +319 -50
- package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/undici/lib/mock/mock-utils.js +11 -10
- package/node_modules/undici/lib/util/cache.js +45 -3
- package/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/undici/lib/web/cookies/util.js +3 -1
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
- package/node_modules/undici/lib/web/fetch/body.js +22 -15
- package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/undici/lib/web/fetch/headers.js +34 -31
- package/node_modules/undici/lib/web/fetch/index.js +52 -25
- package/node_modules/undici/lib/web/fetch/request.js +76 -82
- package/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/undici/lib/web/fetch/util.js +13 -8
- package/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/undici/lib/web/webidl/index.js +5 -17
- package/node_modules/undici/lib/web/websocket/connection.js +34 -13
- package/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
- package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/undici/package.json +3 -3
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
- package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
- package/node_modules/yaml/dist/nodes/Alias.js +25 -23
- package/node_modules/yaml/package.json +1 -1
- package/node_modules/zod/README.md +29 -2
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +21 -2
- package/node_modules/zod/index.js +5 -2
- package/node_modules/zod/locales/index.cjs +19 -0
- package/node_modules/zod/mini/index.cjs +19 -0
- package/node_modules/zod/package.json +20 -8
- package/node_modules/zod/v3/ZodError.cjs +41 -12
- package/node_modules/zod/v3/ZodError.js +22 -12
- package/node_modules/zod/v3/errors.cjs +19 -0
- package/node_modules/zod/v3/external.cjs +19 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
- package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
- package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
- package/node_modules/zod/v3/helpers/util.cjs +19 -0
- package/node_modules/zod/v3/index.cjs +19 -0
- package/node_modules/zod/v3/standard-schema.cjs +19 -0
- package/node_modules/zod/v3/types.cjs +26 -5
- package/node_modules/zod/v3/types.js +7 -5
- package/node_modules/zod/v4/classic/checks.cjs +21 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/coerce.cjs +19 -0
- package/node_modules/zod/v4/classic/compat.cjs +19 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +62 -34
- package/node_modules/zod/v4/classic/errors.js +43 -34
- package/node_modules/zod/v4/classic/external.cjs +51 -27
- package/node_modules/zod/v4/classic/external.js +5 -8
- package/node_modules/zod/v4/classic/from-json-schema.cjs +376 -75
- package/node_modules/zod/v4/classic/from-json-schema.js +357 -75
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +21 -2
- package/node_modules/zod/v4/classic/index.js +2 -2
- package/node_modules/zod/v4/classic/iso.cjs +30 -22
- package/node_modules/zod/v4/classic/iso.js +2 -17
- package/node_modules/zod/v4/classic/parse.cjs +23 -1
- package/node_modules/zod/v4/classic/parse.js +1 -0
- package/node_modules/zod/v4/classic/schemas.cjs +591 -426
- package/node_modules/zod/v4/classic/schemas.js +564 -424
- package/node_modules/zod/v4/core/api.cjs +66 -24
- package/node_modules/zod/v4/core/api.js +44 -24
- package/node_modules/zod/v4/core/checks.cjs +88 -128
- package/node_modules/zod/v4/core/checks.js +68 -127
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +101 -19
- package/node_modules/zod/v4/core/core.js +83 -20
- package/node_modules/zod/v4/core/doc.cjs +31 -9
- package/node_modules/zod/v4/core/doc.js +12 -9
- package/node_modules/zod/v4/core/errors.cjs +126 -25
- package/node_modules/zod/v4/core/errors.js +107 -25
- package/node_modules/zod/v4/core/index.cjs +24 -1
- package/node_modules/zod/v4/core/index.js +3 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +24 -1
- package/node_modules/zod/v4/core/json-schema-generator.js +6 -2
- package/node_modules/zod/v4/core/json-schema-processors.cjs +441 -156
- package/node_modules/zod/v4/core/json-schema-processors.js +400 -158
- package/node_modules/zod/v4/core/json-schema.cjs +19 -0
- package/node_modules/zod/v4/core/memoizer.cjs +356 -0
- package/node_modules/zod/v4/core/memoizer.js +307 -0
- package/node_modules/zod/v4/core/parse.cjs +148 -46
- package/node_modules/zod/v4/core/parse.js +127 -45
- package/node_modules/zod/v4/core/regexes.cjs +54 -17
- package/node_modules/zod/v4/core/regexes.js +32 -15
- package/node_modules/zod/v4/core/registries.cjs +19 -0
- package/node_modules/zod/v4/core/registries.js +2 -2
- package/node_modules/zod/v4/core/schemas.cjs +785 -386
- package/node_modules/zod/v4/core/schemas.js +753 -386
- package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +269 -45
- package/node_modules/zod/v4/core/to-json-schema.js +247 -44
- package/node_modules/zod/v4/core/util.cjs +372 -157
- package/node_modules/zod/v4/core/util.js +341 -156
- package/node_modules/zod/v4/core/versions.cjs +21 -2
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +34 -5
- package/node_modules/zod/v4/index.js +3 -2
- package/node_modules/zod/v4/locales/ar.cjs +5 -0
- package/node_modules/zod/v4/locales/ar.js +5 -0
- package/node_modules/zod/v4/locales/az.cjs +5 -0
- package/node_modules/zod/v4/locales/az.js +5 -0
- package/node_modules/zod/v4/locales/be.cjs +12 -0
- package/node_modules/zod/v4/locales/be.js +12 -0
- package/node_modules/zod/v4/locales/bg.cjs +5 -0
- package/node_modules/zod/v4/locales/bg.js +5 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +5 -0
- package/node_modules/zod/v4/locales/ca.js +5 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +5 -0
- package/node_modules/zod/v4/locales/cs.js +5 -0
- package/node_modules/zod/v4/locales/da.cjs +7 -2
- package/node_modules/zod/v4/locales/da.js +7 -2
- package/node_modules/zod/v4/locales/de.cjs +5 -0
- package/node_modules/zod/v4/locales/de.js +5 -0
- package/node_modules/zod/v4/locales/el.cjs +3 -0
- package/node_modules/zod/v4/locales/el.js +3 -0
- package/node_modules/zod/v4/locales/en.cjs +16 -4
- package/node_modules/zod/v4/locales/en.js +16 -4
- package/node_modules/zod/v4/locales/eo.cjs +5 -0
- package/node_modules/zod/v4/locales/eo.js +5 -0
- package/node_modules/zod/v4/locales/es.cjs +4 -0
- package/node_modules/zod/v4/locales/es.js +4 -0
- package/node_modules/zod/v4/locales/fa.cjs +5 -0
- package/node_modules/zod/v4/locales/fa.js +5 -0
- package/node_modules/zod/v4/locales/fi.cjs +5 -0
- package/node_modules/zod/v4/locales/fi.js +5 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +5 -0
- package/node_modules/zod/v4/locales/fr-CA.js +5 -0
- package/node_modules/zod/v4/locales/fr.cjs +18 -14
- package/node_modules/zod/v4/locales/fr.js +18 -14
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +7 -0
- package/node_modules/zod/v4/locales/he.js +7 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +4 -0
- package/node_modules/zod/v4/locales/hr.js +4 -0
- package/node_modules/zod/v4/locales/hu.cjs +5 -0
- package/node_modules/zod/v4/locales/hu.js +5 -0
- package/node_modules/zod/v4/locales/hy.cjs +11 -0
- package/node_modules/zod/v4/locales/hy.js +11 -0
- package/node_modules/zod/v4/locales/id.cjs +5 -0
- package/node_modules/zod/v4/locales/id.js +5 -0
- package/node_modules/zod/v4/locales/index.cjs +43 -2
- package/node_modules/zod/v4/locales/index.js +11 -0
- package/node_modules/zod/v4/locales/is.cjs +5 -0
- package/node_modules/zod/v4/locales/is.js +5 -0
- package/node_modules/zod/v4/locales/it.cjs +5 -0
- package/node_modules/zod/v4/locales/it.js +5 -0
- package/node_modules/zod/v4/locales/ja.cjs +5 -0
- package/node_modules/zod/v4/locales/ja.js +5 -0
- package/node_modules/zod/v4/locales/ka.cjs +5 -0
- package/node_modules/zod/v4/locales/ka.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +5 -0
- package/node_modules/zod/v4/locales/km.js +5 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +5 -0
- package/node_modules/zod/v4/locales/ko.js +5 -0
- package/node_modules/zod/v4/locales/lt.cjs +4 -0
- package/node_modules/zod/v4/locales/lt.js +4 -0
- package/node_modules/zod/v4/locales/mk.cjs +5 -0
- package/node_modules/zod/v4/locales/mk.js +5 -0
- package/node_modules/zod/v4/locales/ms.cjs +5 -0
- package/node_modules/zod/v4/locales/ms.js +5 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +5 -0
- package/node_modules/zod/v4/locales/nl.js +5 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +7 -2
- package/node_modules/zod/v4/locales/no.js +7 -2
- package/node_modules/zod/v4/locales/ota.cjs +5 -0
- package/node_modules/zod/v4/locales/ota.js +5 -0
- package/node_modules/zod/v4/locales/pl.cjs +5 -0
- package/node_modules/zod/v4/locales/pl.js +5 -0
- package/node_modules/zod/v4/locales/ps.cjs +5 -0
- package/node_modules/zod/v4/locales/ps.js +5 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +89 -55
- package/node_modules/zod/v4/locales/pt.js +89 -55
- package/node_modules/zod/v4/locales/ro.cjs +3 -0
- package/node_modules/zod/v4/locales/ro.js +3 -0
- package/node_modules/zod/v4/locales/ru.cjs +12 -0
- package/node_modules/zod/v4/locales/ru.js +12 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +5 -0
- package/node_modules/zod/v4/locales/sl.js +5 -0
- package/node_modules/zod/v4/locales/sv.cjs +7 -2
- package/node_modules/zod/v4/locales/sv.js +7 -2
- package/node_modules/zod/v4/locales/ta.cjs +5 -0
- package/node_modules/zod/v4/locales/ta.js +5 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +5 -0
- package/node_modules/zod/v4/locales/th.js +5 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +5 -0
- package/node_modules/zod/v4/locales/tr.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +5 -0
- package/node_modules/zod/v4/locales/uk.js +5 -0
- package/node_modules/zod/v4/locales/ur.cjs +5 -0
- package/node_modules/zod/v4/locales/ur.js +5 -0
- package/node_modules/zod/v4/locales/uz.cjs +3 -0
- package/node_modules/zod/v4/locales/uz.js +3 -0
- package/node_modules/zod/v4/locales/vi.cjs +5 -0
- package/node_modules/zod/v4/locales/vi.js +5 -0
- package/node_modules/zod/v4/locales/yo.cjs +5 -0
- package/node_modules/zod/v4/locales/yo.js +5 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +5 -0
- package/node_modules/zod/v4/locales/zh-CN.js +5 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +5 -0
- package/node_modules/zod/v4/locales/zh-TW.js +5 -0
- package/node_modules/zod/v4/mini/checks.cjs +21 -1
- package/node_modules/zod/v4/mini/checks.js +1 -1
- package/node_modules/zod/v4/mini/coerce.cjs +19 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +33 -1
- package/node_modules/zod/v4/mini/external.js +3 -1
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +19 -0
- package/node_modules/zod/v4/mini/iso.cjs +19 -0
- package/node_modules/zod/v4/mini/parse.cjs +22 -1
- package/node_modules/zod/v4/mini/parse.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +117 -53
- package/node_modules/zod/v4/mini/schemas.js +92 -51
- package/node_modules/zod/v4-mini/index.cjs +19 -0
- package/package.json +4 -4
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1224
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/LICENSE +0 -13
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/README.md +0 -1
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/dist/index.js +0 -426
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +0 -63
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -2444
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/README.md +0 -1
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/dist/index.js +0 -4295
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/package.json +0 -82
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/README.md +0 -24
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/LICENSE +0 -21
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/README.md +0 -741
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Agent.md +0 -84
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Client.md +0 -288
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Connector.md +0 -115
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ContentType.md +0 -57
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Cookies.md +0 -128
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Debug.md +0 -62
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Errors.md +0 -49
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EventSource.md +0 -45
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Fetch.md +0 -60
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockClient.md +0 -81
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockPool.md +0 -555
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Pool.md +0 -84
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -275
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Util.md +0 -25
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/index-fetch.js +0 -65
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/index.js +0 -234
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/abort-signal.js +0 -59
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-connect.js +0 -110
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-pipeline.js +0 -252
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-request.js +0 -214
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-stream.js +0 -209
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-upgrade.js +0 -111
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/index.js +0 -7
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/readable.js +0 -580
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/connect.js +0 -153
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/constants.js +0 -143
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/diagnostics.js +0 -227
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/errors.js +0 -477
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/request.js +0 -464
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-client.js +0 -422
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-utils.js +0 -212
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/symbols.js +0 -75
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/tree.js +0 -160
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/util.js +0 -992
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/agent.js +0 -158
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client.js +0 -664
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool.js +0 -118
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/encoding/index.js +0 -33
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/global.js +0 -59
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-handler.js +0 -760
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/decorator-handler.js +0 -67
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/redirect-handler.js +0 -238
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/retry-handler.js +0 -418
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/wrap-handler.js +0 -105
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/cache.js +0 -602
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/decompress.js +0 -259
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dns.js +0 -571
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dump.js +0 -112
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/redirect.js +0 -21
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/response-error.js +0 -95
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/retry.js +0 -19
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/constants.js +0 -531
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/utils.js +0 -12
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-agent.js +0 -232
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-call-history.js +0 -248
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-client.js +0 -68
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-errors.js +0 -29
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-pool.js +0 -68
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-symbols.js +0 -32
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-utils.js +0 -486
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/cache.js +0 -676
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/date.js +0 -670
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/promise.js +0 -28
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/runtime-features.js +0 -124
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/stats.js +0 -32
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/timers.js +0 -425
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cache.js +0 -864
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/util.js +0 -45
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/constants.js +0 -12
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/index.js +0 -199
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/parse.js +0 -314
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/util.js +0 -352
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/util.js +0 -29
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/LICENSE +0 -21
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/body.js +0 -509
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/constants.js +0 -131
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/data-url.js +0 -596
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata.js +0 -259
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/global.js +0 -40
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/headers.js +0 -719
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/index.js +0 -2413
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/request.js +0 -1115
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/response.js +0 -641
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/util.js +0 -1522
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/infra/index.js +0 -229
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/webidl/index.js +0 -1006
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/connection.js +0 -329
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/constants.js +0 -126
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/events.js +0 -331
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/frame.js +0 -133
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/receiver.js +0 -507
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/sender.js +0 -109
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/util.js +0 -347
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/websocket.js +0 -758
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/package.json +0 -152
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/scripts/strip-comments.js +0 -10
- package/node_modules/@ai-sdk/open-responses/node_modules/undici/types/README.md +0 -6
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/darwin-modifiers.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
- package/node_modules/@formatjs/icu-messageformat-parser/index.js +0 -2173
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +0 -207
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +0 -160
- package/node_modules/@formatjs/icu-messageformat-parser/package.json +0 -21
- package/node_modules/@formatjs/icu-messageformat-parser/printer.js +0 -224
- package/node_modules/@maka/core/dist/deep-research-client-progress.js +0 -132
- package/node_modules/@maka/core/dist/deep-research-run.js +0 -625
- package/node_modules/@maka/core/dist/deep-research.js +0 -227
- package/node_modules/@maka/core/dist/foreign-session.js +0 -596
- package/node_modules/@maka/core/dist/task-ledger.js +0 -797
- package/node_modules/@maka/core/dist/thread-search.js +0 -498
- package/node_modules/@maka/eval/dist/maka-runtime-policy.js +0 -42
- package/node_modules/@maka/runtime/dist/active-tool-result-prune.js +0 -334
- package/node_modules/@maka/runtime/dist/active-tool-result-working-set.js +0 -218
- package/node_modules/@maka/runtime/dist/archive-read-tool.js +0 -92
- package/node_modules/@maka/runtime/dist/deep-research-tools.js +0 -741
- package/node_modules/@maka/runtime/dist/history-tools.js +0 -429
- package/node_modules/@maka/runtime/dist/provider-runtime-policy.js +0 -43
- package/node_modules/@maka/runtime/dist/sandbox/diagnostics.js +0 -285
- package/node_modules/@maka/runtime/dist/system-prompt/sandbox-context-prompt.js +0 -77
- package/node_modules/@maka/runtime/dist/system-prompt/session-environment-prompt.js +0 -47
- package/node_modules/@maka/runtime/dist/task-ledger-tools.js +0 -244
- package/node_modules/@maka/runtime/dist/test-helpers.js +0 -61
- package/node_modules/@maka/runtime/node_modules/@slack/types/dist/events/index.js +0 -43
- package/node_modules/@maka/runtime/node_modules/@slack/types/package.json +0 -47
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/README.md +0 -390
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/methods.js +0 -1610
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +0 -37
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +0 -82
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +0 -63
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +0 -3
- package/node_modules/@maka/runtime/node_modules/@slack/web-api/package.json +0 -71
- package/node_modules/@maka/runtime-host/dist/protocol/deep-research.js +0 -233
- package/node_modules/@maka/runtime-host/dist/protocol/task-ledger.js +0 -321
- package/node_modules/@maka/runtime-host/dist/server/deep-research-coordinator.js +0 -116
- package/node_modules/@maka/runtime-host/dist/server/task-ledger-coordinator.js +0 -154
- package/node_modules/@maka/storage/dist/artifact-storage-layout.js +0 -26
- package/node_modules/@maka/storage/dist/deep-research-authority.js +0 -129
- package/node_modules/@maka/storage/dist/deep-research-store.js +0 -343
- package/node_modules/@maka/storage/dist/foreign-session-store.js +0 -641
- package/node_modules/@maka/storage/dist/provider-request-capture-artifact.js +0 -31
- package/node_modules/@maka/storage/dist/task-ledger-authority.js +0 -121
- package/node_modules/@maka/storage/dist/task-ledger-store-internal.js +0 -32
- package/node_modules/@maka/storage/dist/task-ledger-store.js +0 -663
- package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +0 -1
- package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +0 -1
- package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +0 -7063
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +0 -7431
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +0 -1
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +0 -1678
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +0 -2899
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +0 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +0 -175
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +0 -3
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +0 -201
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +0 -3
- package/node_modules/@modelcontextprotocol/core/package.json +0 -85
- package/node_modules/intl-messageformat/intl-messageformat.iife.js +0 -2807
- package/node_modules/intl-messageformat/package.json +0 -40
- package/node_modules/socks/.eslintrc.cjs +0 -11
- /package/node_modules/@maka/{storage/dist/artifact-metadata-repository.js → core/dist/client-plugin-bridge.js} +0 -0
- /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/LICENSE.md +0 -0
- /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/README.md +0 -0
- /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/LICENSE.md +0 -0
- /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/README.md +0 -0
- /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/index.js +0 -0
- /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/LICENSE +0 -0
- /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/README.md +0 -0
- /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.cts.map +0 -0
- /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.mts.map +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/LICENSE +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/README.md +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/dist/index.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/package.json +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/LICENSE +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/README.md +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/block-elements.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/blocks.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/composition-objects.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/extensions.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/calls.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/chunk.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/bot-profile.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/status-emoji-display-info.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/dialog.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/app.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/assistant.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/call.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/channel.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/dnd.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/email.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/emoji.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/entity-details-requested.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/file.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/function.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/grid-migration.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/group.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/im.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/invite.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/link-shared.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/member.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message-metadata.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/pin.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/reaction.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/shared-channel.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/star.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/steps-from-apps.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/subteam.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/team.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/token.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/user.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/index.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-attachments.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-metadata.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/views.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/LICENSE +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/WebClient.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/chat-stream.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/errors.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/file-upload.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/helpers.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/index.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/instrument.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/logger.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/retry-policies.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/helpers.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/analytics.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/apps.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/auth.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/barriers.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/conversations.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/emoji.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/functions.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/inviteRequests.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/roles.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/teams.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/usergroups.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/users.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/workflows.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/api.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/apps.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/assistant.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/auth.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bookmarks.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bots.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/calls.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/canvas.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/chat.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/common.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/conversations.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dialog.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dnd.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/emoji.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/entity.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/files.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/functions.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/index.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/manifest.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/migration.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/oauth.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/openid.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/pins.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reactions.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reminders.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/rtm.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/search.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/slackLists.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/stars.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/team.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/tooling.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/usergroups.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/users.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/views.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/workflows.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAnalyticsGetFileResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsActivitiesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApproveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApprovedListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsClearResolutionResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigSetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsCancelResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictedListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsUninstallResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsArchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkMoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetTeamsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRenameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSearchResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetTeamsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsUnarchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddAliasResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRenameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApproveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDenyResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesListAssignmentsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsAdminsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsOwnersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersAssignResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetAdminResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetExpirationResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetOwnerResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetRegularResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsSearchResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ApiTestResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsConnectionsOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsEventAuthorizationsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestExportResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestValidateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsRequestResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsResourcesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsScopesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUninstallResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetStatusResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetTitleResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthRevokeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTeamsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTestResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksEditResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BotsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsEndResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessSetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesEditResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesSectionsLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsArchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsHistoryResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsJoinResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsKickResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsLeaveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsMarkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRenameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRepliesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetPurposeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetTopicResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsUnarchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatGetPermalinkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatMeMessageResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostEphemeralResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostMessageResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduleMessageResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduledMessagesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUnfurlResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsArchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCanvasesCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCloseResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsHistoryResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteSharedResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsJoinResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsKickResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsLeaveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListConnectInvitesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMarkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMembersResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRenameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRepliesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetPurposeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetTopicResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsUnarchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DialogOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndDndResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndSnoozeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndSetSnoozeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndTeamInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EmojiListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EntityPresentDetailsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsEditResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCompleteUploadExternalResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesGetUploadURLExternalResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteShareResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRevokePublicURLResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesSharedPublicURLResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesUploadResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteErrorResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteSuccessResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsArchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCloseResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateChildResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsHistoryResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInviteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsKickResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsLeaveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsMarkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRenameResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRepliesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetPurposeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetTopicResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsUnarchiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImCloseResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImHistoryResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImMarkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImRepliesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MigrationExchangeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimCloseResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimHistoryResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimMarkResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimRepliesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthAccessResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthTokenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2AccessResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2ExchangeResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectTokenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectUserInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsGetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersCompleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersDeleteResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmConnectResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmStartResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/SearchMessagesResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsAddResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsRemoveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamAccessLogsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillableInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillingInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamIntegrationLogsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamPreferencesListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamProfileGetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ToolingTokensRotateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsCreateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsDisableResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsEnableResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersConversationsResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDeletePhotoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersGetPresenceResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersIdentityResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersInfoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersListResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersLookupByEmailResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileGetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileSetResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetActiveResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPhotoResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPresenceResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsOpenResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPublishResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPushResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsUpdateResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepCompletedResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepFailedResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsUpdateStepResponse.js +0 -0
- /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/index.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/License +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/README.md +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/dns.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/stop.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/index.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry_operation.js +0 -0
- /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/package.json +0 -0
|
@@ -13,9 +13,9 @@ function getGatewayTranscriptionProtocols(token, options) {
|
|
|
13
13
|
options
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
|
-
function buildGatewayProtocols(
|
|
17
|
-
const protocols = [
|
|
18
|
-
if (options
|
|
16
|
+
function buildGatewayProtocols(marker12, token, options) {
|
|
17
|
+
const protocols = [marker12, `${GATEWAY_AUTH_SUBPROTOCOL_PREFIX}${token}`];
|
|
18
|
+
if (options?.teamIdOrSlug) {
|
|
19
19
|
protocols.push(
|
|
20
20
|
`${GATEWAY_TEAM_SUBPROTOCOL_PREFIX}${encodeSubprotocolValue(options.teamIdOrSlug)}`
|
|
21
21
|
);
|
|
@@ -23,26 +23,24 @@ function buildGatewayProtocols(marker11, token, options) {
|
|
|
23
23
|
return protocols;
|
|
24
24
|
}
|
|
25
25
|
function getGatewayRealtimeAuthToken(secWebSocketProtocol) {
|
|
26
|
-
|
|
27
|
-
return ((_a11 = findProtocol(secWebSocketProtocol, GATEWAY_AUTH_SUBPROTOCOL_PREFIX)) == null ? void 0 : _a11.slice(
|
|
26
|
+
return findProtocol(secWebSocketProtocol, GATEWAY_AUTH_SUBPROTOCOL_PREFIX)?.slice(
|
|
28
27
|
GATEWAY_AUTH_SUBPROTOCOL_PREFIX.length
|
|
29
|
-
)
|
|
28
|
+
) || void 0;
|
|
30
29
|
}
|
|
31
30
|
function getGatewayRealtimeTeamIdOrSlug(secWebSocketProtocol) {
|
|
32
|
-
|
|
33
|
-
const encoded = (_a11 = findProtocol(
|
|
31
|
+
const encoded = findProtocol(
|
|
34
32
|
secWebSocketProtocol,
|
|
35
33
|
GATEWAY_TEAM_SUBPROTOCOL_PREFIX
|
|
36
|
-
)
|
|
34
|
+
)?.slice(GATEWAY_TEAM_SUBPROTOCOL_PREFIX.length);
|
|
37
35
|
if (!encoded) return void 0;
|
|
38
36
|
try {
|
|
39
37
|
return decodeSubprotocolValue(encoded) || void 0;
|
|
40
|
-
} catch
|
|
38
|
+
} catch {
|
|
41
39
|
return void 0;
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
function findProtocol(secWebSocketProtocol, prefix) {
|
|
45
|
-
return secWebSocketProtocol
|
|
43
|
+
return secWebSocketProtocol?.split(",").map((protocol) => protocol.trim()).find((protocol) => protocol.startsWith(prefix));
|
|
46
44
|
}
|
|
47
45
|
function encodeSubprotocolValue(value) {
|
|
48
46
|
const bytes = new TextEncoder().encode(value);
|
|
@@ -62,11 +60,11 @@ function decodeSubprotocolValue(value) {
|
|
|
62
60
|
|
|
63
61
|
// src/gateway-provider.ts
|
|
64
62
|
import {
|
|
65
|
-
createJsonErrorResponseHandler as
|
|
66
|
-
createJsonResponseHandler as
|
|
67
|
-
getErrorMessage as
|
|
63
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler13,
|
|
64
|
+
createJsonResponseHandler as createJsonResponseHandler13,
|
|
65
|
+
getErrorMessage as getErrorMessage13,
|
|
68
66
|
loadOptionalSetting,
|
|
69
|
-
postJsonToApi as
|
|
67
|
+
postJsonToApi as postJsonToApi10,
|
|
70
68
|
withoutTrailingSlash,
|
|
71
69
|
withUserAgentSuffix
|
|
72
70
|
} from "@ai-sdk/provider-utils";
|
|
@@ -286,15 +284,15 @@ var GatewayModelNotFoundError = class extends (_b5 = GatewayError, _a5 = symbol5
|
|
|
286
284
|
}
|
|
287
285
|
};
|
|
288
286
|
|
|
289
|
-
// src/errors/gateway-
|
|
290
|
-
var name5 = "
|
|
287
|
+
// src/errors/gateway-not-found-error.ts
|
|
288
|
+
var name5 = "GatewayNotFoundError";
|
|
291
289
|
var marker6 = `vercel.ai.gateway.error.${name5}`;
|
|
292
290
|
var symbol6 = Symbol.for(marker6);
|
|
293
291
|
var _a6, _b6;
|
|
294
|
-
var
|
|
292
|
+
var GatewayNotFoundError = class extends (_b6 = GatewayError, _a6 = symbol6, _b6) {
|
|
295
293
|
constructor({
|
|
296
|
-
message = "
|
|
297
|
-
statusCode =
|
|
294
|
+
message = "Resource not found",
|
|
295
|
+
statusCode = 404,
|
|
298
296
|
cause,
|
|
299
297
|
generationId
|
|
300
298
|
} = {}) {
|
|
@@ -302,22 +300,22 @@ var GatewayInternalServerError = class extends (_b6 = GatewayError, _a6 = symbol
|
|
|
302
300
|
this[_a6] = true;
|
|
303
301
|
// used in isInstance
|
|
304
302
|
this.name = name5;
|
|
305
|
-
this.type = "
|
|
303
|
+
this.type = "not_found";
|
|
306
304
|
}
|
|
307
305
|
static isInstance(error) {
|
|
308
306
|
return GatewayError.hasMarker(error) && symbol6 in error;
|
|
309
307
|
}
|
|
310
308
|
};
|
|
311
309
|
|
|
312
|
-
// src/errors/gateway-
|
|
313
|
-
var name6 = "
|
|
310
|
+
// src/errors/gateway-internal-server-error.ts
|
|
311
|
+
var name6 = "GatewayInternalServerError";
|
|
314
312
|
var marker7 = `vercel.ai.gateway.error.${name6}`;
|
|
315
313
|
var symbol7 = Symbol.for(marker7);
|
|
316
314
|
var _a7, _b7;
|
|
317
|
-
var
|
|
315
|
+
var GatewayInternalServerError = class extends (_b7 = GatewayError, _a7 = symbol7, _b7) {
|
|
318
316
|
constructor({
|
|
319
|
-
message = "
|
|
320
|
-
statusCode =
|
|
317
|
+
message = "Internal server error",
|
|
318
|
+
statusCode = 500,
|
|
321
319
|
cause,
|
|
322
320
|
generationId
|
|
323
321
|
} = {}) {
|
|
@@ -325,18 +323,41 @@ var GatewayFailedDependencyError = class extends (_b7 = GatewayError, _a7 = symb
|
|
|
325
323
|
this[_a7] = true;
|
|
326
324
|
// used in isInstance
|
|
327
325
|
this.name = name6;
|
|
328
|
-
this.type = "
|
|
326
|
+
this.type = "internal_server_error";
|
|
329
327
|
}
|
|
330
328
|
static isInstance(error) {
|
|
331
329
|
return GatewayError.hasMarker(error) && symbol7 in error;
|
|
332
330
|
}
|
|
333
331
|
};
|
|
334
332
|
|
|
335
|
-
// src/errors/gateway-
|
|
336
|
-
|
|
337
|
-
var name7 = "GatewayForbiddenError";
|
|
333
|
+
// src/errors/gateway-failed-dependency-error.ts
|
|
334
|
+
var name7 = "GatewayFailedDependencyError";
|
|
338
335
|
var marker8 = `vercel.ai.gateway.error.${name7}`;
|
|
339
336
|
var symbol8 = Symbol.for(marker8);
|
|
337
|
+
var _a8, _b8;
|
|
338
|
+
var GatewayFailedDependencyError = class extends (_b8 = GatewayError, _a8 = symbol8, _b8) {
|
|
339
|
+
constructor({
|
|
340
|
+
message = "Failed dependency",
|
|
341
|
+
statusCode = 424,
|
|
342
|
+
cause,
|
|
343
|
+
generationId
|
|
344
|
+
} = {}) {
|
|
345
|
+
super({ message, statusCode, cause, generationId });
|
|
346
|
+
this[_a8] = true;
|
|
347
|
+
// used in isInstance
|
|
348
|
+
this.name = name7;
|
|
349
|
+
this.type = "failed_dependency";
|
|
350
|
+
}
|
|
351
|
+
static isInstance(error) {
|
|
352
|
+
return GatewayError.hasMarker(error) && symbol8 in error;
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
// src/errors/gateway-forbidden-error.ts
|
|
357
|
+
import { lazySchema as lazySchema2, zodSchema as zodSchema2 } from "@ai-sdk/provider-utils";
|
|
358
|
+
var name8 = "GatewayForbiddenError";
|
|
359
|
+
var marker9 = `vercel.ai.gateway.error.${name8}`;
|
|
360
|
+
var symbol9 = Symbol.for(marker9);
|
|
340
361
|
var forbiddenParamSchema = lazySchema2(
|
|
341
362
|
() => zodSchema2(
|
|
342
363
|
z.object({
|
|
@@ -344,8 +365,8 @@ var forbiddenParamSchema = lazySchema2(
|
|
|
344
365
|
})
|
|
345
366
|
)
|
|
346
367
|
);
|
|
347
|
-
var
|
|
348
|
-
var GatewayForbiddenError = class extends (
|
|
368
|
+
var _a9, _b9;
|
|
369
|
+
var GatewayForbiddenError = class extends (_b9 = GatewayError, _a9 = symbol9, _b9) {
|
|
349
370
|
constructor({
|
|
350
371
|
message = "Forbidden",
|
|
351
372
|
statusCode = 403,
|
|
@@ -354,41 +375,42 @@ var GatewayForbiddenError = class extends (_b8 = GatewayError, _a8 = symbol8, _b
|
|
|
354
375
|
ruleId
|
|
355
376
|
} = {}) {
|
|
356
377
|
super({ message, statusCode, cause, generationId });
|
|
357
|
-
this[
|
|
378
|
+
this[_a9] = true;
|
|
358
379
|
// used in isInstance
|
|
359
|
-
this.name =
|
|
380
|
+
this.name = name8;
|
|
360
381
|
this.type = "forbidden";
|
|
361
382
|
this.ruleId = ruleId;
|
|
362
383
|
}
|
|
363
384
|
static isInstance(error) {
|
|
364
|
-
return GatewayError.hasMarker(error) &&
|
|
385
|
+
return GatewayError.hasMarker(error) && symbol9 in error;
|
|
365
386
|
}
|
|
366
387
|
};
|
|
367
388
|
|
|
368
389
|
// src/errors/gateway-response-error.ts
|
|
369
|
-
var
|
|
370
|
-
var
|
|
371
|
-
var
|
|
372
|
-
var
|
|
373
|
-
var GatewayResponseError = class extends (
|
|
390
|
+
var name9 = "GatewayResponseError";
|
|
391
|
+
var marker10 = `vercel.ai.gateway.error.${name9}`;
|
|
392
|
+
var symbol10 = Symbol.for(marker10);
|
|
393
|
+
var _a10, _b10;
|
|
394
|
+
var GatewayResponseError = class extends (_b10 = GatewayError, _a10 = symbol10, _b10) {
|
|
374
395
|
constructor({
|
|
375
396
|
message = "Invalid response from Gateway",
|
|
376
397
|
statusCode = 502,
|
|
377
398
|
response,
|
|
378
399
|
validationError,
|
|
379
400
|
cause,
|
|
380
|
-
generationId
|
|
401
|
+
generationId,
|
|
402
|
+
isRetryable
|
|
381
403
|
} = {}) {
|
|
382
|
-
super({ message, statusCode, cause, generationId });
|
|
383
|
-
this[
|
|
404
|
+
super({ message, statusCode, cause, generationId, isRetryable });
|
|
405
|
+
this[_a10] = true;
|
|
384
406
|
// used in isInstance
|
|
385
|
-
this.name =
|
|
407
|
+
this.name = name9;
|
|
386
408
|
this.type = "response_error";
|
|
387
409
|
this.response = response;
|
|
388
410
|
this.validationError = validationError;
|
|
389
411
|
}
|
|
390
412
|
static isInstance(error) {
|
|
391
|
-
return GatewayError.hasMarker(error) &&
|
|
413
|
+
return GatewayError.hasMarker(error) && symbol10 in error;
|
|
392
414
|
}
|
|
393
415
|
};
|
|
394
416
|
|
|
@@ -403,9 +425,9 @@ async function createGatewayErrorFromResponse({
|
|
|
403
425
|
statusCode,
|
|
404
426
|
defaultMessage = "Gateway request failed",
|
|
405
427
|
cause,
|
|
406
|
-
authMethod
|
|
428
|
+
authMethod,
|
|
429
|
+
isRetryable
|
|
407
430
|
}) {
|
|
408
|
-
var _a11;
|
|
409
431
|
const parseResult = await safeValidateTypes({
|
|
410
432
|
value: response,
|
|
411
433
|
schema: gatewayErrorResponseSchema
|
|
@@ -418,13 +440,14 @@ async function createGatewayErrorFromResponse({
|
|
|
418
440
|
response,
|
|
419
441
|
validationError: parseResult.error,
|
|
420
442
|
cause,
|
|
421
|
-
generationId: rawGenerationId
|
|
443
|
+
generationId: rawGenerationId,
|
|
444
|
+
isRetryable
|
|
422
445
|
});
|
|
423
446
|
}
|
|
424
447
|
const validatedResponse = parseResult.value;
|
|
425
448
|
const errorType = validatedResponse.error.type;
|
|
426
449
|
const message = validatedResponse.error.message;
|
|
427
|
-
const generationId =
|
|
450
|
+
const generationId = validatedResponse.generationId ?? void 0;
|
|
428
451
|
switch (errorType) {
|
|
429
452
|
case "authentication_error":
|
|
430
453
|
return GatewayAuthenticationError.createContextualError({
|
|
@@ -461,6 +484,13 @@ async function createGatewayErrorFromResponse({
|
|
|
461
484
|
generationId
|
|
462
485
|
});
|
|
463
486
|
}
|
|
487
|
+
case "not_found":
|
|
488
|
+
return new GatewayNotFoundError({
|
|
489
|
+
message,
|
|
490
|
+
statusCode,
|
|
491
|
+
cause,
|
|
492
|
+
generationId
|
|
493
|
+
});
|
|
464
494
|
case "internal_server_error":
|
|
465
495
|
return new GatewayInternalServerError({
|
|
466
496
|
message,
|
|
@@ -520,7 +550,7 @@ function extractApiCallResponse(error) {
|
|
|
520
550
|
if (error.responseBody != null) {
|
|
521
551
|
try {
|
|
522
552
|
return secureJsonParse(error.responseBody);
|
|
523
|
-
} catch
|
|
553
|
+
} catch {
|
|
524
554
|
return error.responseBody;
|
|
525
555
|
}
|
|
526
556
|
}
|
|
@@ -528,11 +558,11 @@ function extractApiCallResponse(error) {
|
|
|
528
558
|
}
|
|
529
559
|
|
|
530
560
|
// src/errors/gateway-timeout-error.ts
|
|
531
|
-
var
|
|
532
|
-
var
|
|
533
|
-
var
|
|
534
|
-
var
|
|
535
|
-
var GatewayTimeoutError = class _GatewayTimeoutError extends (
|
|
561
|
+
var name10 = "GatewayTimeoutError";
|
|
562
|
+
var marker11 = `vercel.ai.gateway.error.${name10}`;
|
|
563
|
+
var symbol11 = Symbol.for(marker11);
|
|
564
|
+
var _a11, _b11;
|
|
565
|
+
var GatewayTimeoutError = class _GatewayTimeoutError extends (_b11 = GatewayError, _a11 = symbol11, _b11) {
|
|
536
566
|
constructor({
|
|
537
567
|
message = "Request timed out",
|
|
538
568
|
statusCode = 408,
|
|
@@ -540,13 +570,13 @@ var GatewayTimeoutError = class _GatewayTimeoutError extends (_b10 = GatewayErro
|
|
|
540
570
|
generationId
|
|
541
571
|
} = {}) {
|
|
542
572
|
super({ message, statusCode, cause, generationId });
|
|
543
|
-
this[
|
|
573
|
+
this[_a11] = true;
|
|
544
574
|
// used in isInstance
|
|
545
|
-
this.name =
|
|
575
|
+
this.name = name10;
|
|
546
576
|
this.type = "timeout_error";
|
|
547
577
|
}
|
|
548
578
|
static isInstance(error) {
|
|
549
|
-
return GatewayError.hasMarker(error) &&
|
|
579
|
+
return GatewayError.hasMarker(error) && symbol11 in error;
|
|
550
580
|
}
|
|
551
581
|
/**
|
|
552
582
|
* Creates a helpful timeout error message with troubleshooting guidance
|
|
@@ -586,7 +616,6 @@ function isTimeoutError(error) {
|
|
|
586
616
|
return false;
|
|
587
617
|
}
|
|
588
618
|
async function asGatewayError(error, authMethod) {
|
|
589
|
-
var _a11;
|
|
590
619
|
if (GatewayError.isInstance(error)) {
|
|
591
620
|
return error;
|
|
592
621
|
}
|
|
@@ -605,10 +634,11 @@ async function asGatewayError(error, authMethod) {
|
|
|
605
634
|
}
|
|
606
635
|
return await createGatewayErrorFromResponse({
|
|
607
636
|
response: extractApiCallResponse(error),
|
|
608
|
-
statusCode:
|
|
637
|
+
statusCode: error.statusCode ?? 500,
|
|
609
638
|
defaultMessage: "Gateway request failed",
|
|
610
639
|
cause: error,
|
|
611
|
-
authMethod
|
|
640
|
+
authMethod,
|
|
641
|
+
isRetryable: error.isRetryable && (error.statusCode == null || error.statusCode < 400) ? true : void 0
|
|
612
642
|
});
|
|
613
643
|
}
|
|
614
644
|
return await createGatewayErrorFromResponse({
|
|
@@ -655,6 +685,7 @@ import {
|
|
|
655
685
|
// src/gateway-model-entry.ts
|
|
656
686
|
var KNOWN_MODEL_TYPES = [
|
|
657
687
|
"embedding",
|
|
688
|
+
"evaluation",
|
|
658
689
|
"image",
|
|
659
690
|
"language",
|
|
660
691
|
"realtime",
|
|
@@ -680,10 +711,7 @@ var GatewayFetchMetadata = class {
|
|
|
680
711
|
),
|
|
681
712
|
failedResponseHandler: createJsonErrorResponseHandler({
|
|
682
713
|
errorSchema: z.any(),
|
|
683
|
-
errorToMessage: (data) =>
|
|
684
|
-
var _a11;
|
|
685
|
-
return (_a11 = getErrorMessage(data)) != null ? _a11 : "unknown error";
|
|
686
|
-
}
|
|
714
|
+
errorToMessage: (data) => getErrorMessage(data) ?? "unknown error"
|
|
687
715
|
}),
|
|
688
716
|
fetch: this.config.fetch
|
|
689
717
|
});
|
|
@@ -704,10 +732,7 @@ var GatewayFetchMetadata = class {
|
|
|
704
732
|
),
|
|
705
733
|
failedResponseHandler: createJsonErrorResponseHandler({
|
|
706
734
|
errorSchema: z.any(),
|
|
707
|
-
errorToMessage: (data) =>
|
|
708
|
-
var _a11;
|
|
709
|
-
return (_a11 = getErrorMessage(data)) != null ? _a11 : "unknown error";
|
|
710
|
-
}
|
|
735
|
+
errorToMessage: (data) => getErrorMessage(data) ?? "unknown error"
|
|
711
736
|
}),
|
|
712
737
|
fetch: this.config.fetch
|
|
713
738
|
});
|
|
@@ -815,10 +840,7 @@ var GatewaySpendReport = class {
|
|
|
815
840
|
),
|
|
816
841
|
failedResponseHandler: createJsonErrorResponseHandler2({
|
|
817
842
|
errorSchema: z.any(),
|
|
818
|
-
errorToMessage: (data) =>
|
|
819
|
-
var _a11;
|
|
820
|
-
return (_a11 = getErrorMessage2(data)) != null ? _a11 : "unknown error";
|
|
821
|
-
}
|
|
843
|
+
errorToMessage: (data) => getErrorMessage2(data) ?? "unknown error"
|
|
822
844
|
}),
|
|
823
845
|
fetch: this.config.fetch
|
|
824
846
|
});
|
|
@@ -904,10 +926,7 @@ var GatewayGenerationInfoFetcher = class {
|
|
|
904
926
|
),
|
|
905
927
|
failedResponseHandler: createJsonErrorResponseHandler3({
|
|
906
928
|
errorSchema: z.any(),
|
|
907
|
-
errorToMessage: (data) =>
|
|
908
|
-
var _a11;
|
|
909
|
-
return (_a11 = getErrorMessage3(data)) != null ? _a11 : "unknown error";
|
|
910
|
-
}
|
|
929
|
+
errorToMessage: (data) => getErrorMessage3(data) ?? "unknown error"
|
|
911
930
|
}),
|
|
912
931
|
fetch: this.config.fetch
|
|
913
932
|
});
|
|
@@ -976,15 +995,403 @@ var gatewayGenerationInfoResponseSchema = lazySchema7(
|
|
|
976
995
|
)
|
|
977
996
|
);
|
|
978
997
|
|
|
979
|
-
// src/gateway-
|
|
998
|
+
// src/gateway-batch.ts
|
|
999
|
+
import {
|
|
1000
|
+
InvalidArgumentError,
|
|
1001
|
+
UnsupportedFunctionalityError
|
|
1002
|
+
} from "@ai-sdk/provider";
|
|
980
1003
|
import {
|
|
981
1004
|
combineHeaders,
|
|
982
|
-
|
|
1005
|
+
convertAsyncIteratorToReadableStream,
|
|
983
1006
|
createJsonErrorResponseHandler as createJsonErrorResponseHandler4,
|
|
1007
|
+
createJsonLinesResponseHandler,
|
|
984
1008
|
createJsonResponseHandler as createJsonResponseHandler4,
|
|
985
1009
|
getErrorMessage as getErrorMessage4,
|
|
1010
|
+
normalizeBatchRequestCounts,
|
|
986
1011
|
postJsonToApi,
|
|
987
|
-
resolve as resolve4
|
|
1012
|
+
resolve as resolve4
|
|
1013
|
+
} from "@ai-sdk/provider-utils";
|
|
1014
|
+
var GatewayBatch = class {
|
|
1015
|
+
constructor(config) {
|
|
1016
|
+
this.config = config;
|
|
1017
|
+
this.specificationVersion = "v4";
|
|
1018
|
+
this.supportedUrls = { "*/*": [/.*/] };
|
|
1019
|
+
this.provider = `${config.provider}.batch`;
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* Starts a durable batch of text-generation requests through the Gateway's
|
|
1023
|
+
* async batch surface (`POST {baseURL}/batch/start`). The returned
|
|
1024
|
+
* `batchId` is the Gateway job id — provider-native batch ids stay
|
|
1025
|
+
* server-side, so status and results always route back through the
|
|
1026
|
+
* Gateway job.
|
|
1027
|
+
*/
|
|
1028
|
+
async doStartBatch({
|
|
1029
|
+
requests,
|
|
1030
|
+
providerOptions,
|
|
1031
|
+
headers,
|
|
1032
|
+
abortSignal,
|
|
1033
|
+
webhookUrl
|
|
1034
|
+
}) {
|
|
1035
|
+
assertTextBatchRequests(requests);
|
|
1036
|
+
const modelId = validateSingleModel(requests);
|
|
1037
|
+
const resolvedHeaders = this.config.headers ? await resolve4(this.config.headers) : void 0;
|
|
1038
|
+
const idempotencyKey = getGatewayBatchIdempotencyKey(providerOptions);
|
|
1039
|
+
const forwardedProviderOptions = omitGatewayIdempotencyKey(providerOptions);
|
|
1040
|
+
try {
|
|
1041
|
+
const { value: responseBody } = await postJsonToApi({
|
|
1042
|
+
url: this.getBatchUrl("start"),
|
|
1043
|
+
headers: combineHeaders(
|
|
1044
|
+
resolvedHeaders,
|
|
1045
|
+
headers,
|
|
1046
|
+
{ "ai-model-id": modelId },
|
|
1047
|
+
await resolve4(this.config.o11yHeaders),
|
|
1048
|
+
idempotencyKey != null ? { "idempotency-key": idempotencyKey } : void 0
|
|
1049
|
+
),
|
|
1050
|
+
body: {
|
|
1051
|
+
...webhookUrl != null && { callbackUrl: webhookUrl },
|
|
1052
|
+
requests: requests.map((request) => ({
|
|
1053
|
+
id: request.id,
|
|
1054
|
+
type: request.type,
|
|
1055
|
+
modelId: request.modelId,
|
|
1056
|
+
options: maybeEncodeBatchFileParts(request.options)
|
|
1057
|
+
})),
|
|
1058
|
+
...forwardedProviderOptions != null && {
|
|
1059
|
+
providerOptions: forwardedProviderOptions
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
successfulResponseHandler: createJsonResponseHandler4(
|
|
1063
|
+
gatewayBatchStartResponseSchema
|
|
1064
|
+
),
|
|
1065
|
+
failedResponseHandler: createJsonErrorResponseHandler4({
|
|
1066
|
+
errorSchema: z.any(),
|
|
1067
|
+
errorToMessage: (data) => getErrorMessage4(data) ?? "unknown error"
|
|
1068
|
+
}),
|
|
1069
|
+
...abortSignal && { abortSignal },
|
|
1070
|
+
fetch: this.config.fetch
|
|
1071
|
+
});
|
|
1072
|
+
return {
|
|
1073
|
+
batchId: responseBody.batchId,
|
|
1074
|
+
...convertGatewayBatchStatus(responseBody),
|
|
1075
|
+
warnings: responseBody.warnings ?? []
|
|
1076
|
+
};
|
|
1077
|
+
} catch (error) {
|
|
1078
|
+
if (isAbortOrTimeoutError(error)) {
|
|
1079
|
+
throw error;
|
|
1080
|
+
}
|
|
1081
|
+
throw await asGatewayError(
|
|
1082
|
+
error,
|
|
1083
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Retrieves the lifecycle status of a Gateway batch job
|
|
1089
|
+
* (`POST {baseURL}/batch/status`).
|
|
1090
|
+
*/
|
|
1091
|
+
async doGetBatchStatus({
|
|
1092
|
+
batchId,
|
|
1093
|
+
headers,
|
|
1094
|
+
abortSignal
|
|
1095
|
+
}) {
|
|
1096
|
+
const resolvedHeaders = this.config.headers ? await resolve4(this.config.headers) : void 0;
|
|
1097
|
+
try {
|
|
1098
|
+
const { value: responseBody } = await postJsonToApi({
|
|
1099
|
+
url: this.getBatchUrl("status"),
|
|
1100
|
+
headers: combineHeaders(
|
|
1101
|
+
resolvedHeaders,
|
|
1102
|
+
headers,
|
|
1103
|
+
await resolve4(this.config.o11yHeaders)
|
|
1104
|
+
),
|
|
1105
|
+
body: { batchId },
|
|
1106
|
+
successfulResponseHandler: createJsonResponseHandler4(
|
|
1107
|
+
gatewayBatchStatusResponseSchema
|
|
1108
|
+
),
|
|
1109
|
+
failedResponseHandler: createJsonErrorResponseHandler4({
|
|
1110
|
+
errorSchema: z.any(),
|
|
1111
|
+
errorToMessage: (data) => getErrorMessage4(data) ?? "unknown error"
|
|
1112
|
+
}),
|
|
1113
|
+
...abortSignal && { abortSignal },
|
|
1114
|
+
fetch: this.config.fetch
|
|
1115
|
+
});
|
|
1116
|
+
return convertGatewayBatchStatus(responseBody);
|
|
1117
|
+
} catch (error) {
|
|
1118
|
+
if (isAbortOrTimeoutError(error)) {
|
|
1119
|
+
throw error;
|
|
1120
|
+
}
|
|
1121
|
+
throw await asGatewayError(
|
|
1122
|
+
error,
|
|
1123
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1124
|
+
);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Streams the per-request results of a terminal Gateway batch job
|
|
1129
|
+
* (`POST {baseURL}/batch/results`, `application/x-ndjson`: one
|
|
1130
|
+
* `BatchV4ItemResult` JSON object per line). Items are validated minimally
|
|
1131
|
+
* (id + status) and passed through — the Gateway sanitizes them
|
|
1132
|
+
* server-side. The route responds 400 while the batch is non-terminal.
|
|
1133
|
+
*/
|
|
1134
|
+
async doGetBatchResults({
|
|
1135
|
+
batchId,
|
|
1136
|
+
headers,
|
|
1137
|
+
abortSignal
|
|
1138
|
+
}) {
|
|
1139
|
+
const resolvedHeaders = this.config.headers ? await resolve4(this.config.headers) : void 0;
|
|
1140
|
+
try {
|
|
1141
|
+
const { value: lines } = await postJsonToApi({
|
|
1142
|
+
url: this.getBatchUrl("results"),
|
|
1143
|
+
headers: combineHeaders(
|
|
1144
|
+
resolvedHeaders,
|
|
1145
|
+
headers,
|
|
1146
|
+
await resolve4(this.config.o11yHeaders)
|
|
1147
|
+
),
|
|
1148
|
+
body: { batchId },
|
|
1149
|
+
successfulResponseHandler: createJsonLinesResponseHandler(
|
|
1150
|
+
gatewayBatchItemResultLineSchema
|
|
1151
|
+
),
|
|
1152
|
+
failedResponseHandler: createJsonErrorResponseHandler4({
|
|
1153
|
+
errorSchema: z.any(),
|
|
1154
|
+
errorToMessage: (data) => getErrorMessage4(data) ?? "unknown error"
|
|
1155
|
+
}),
|
|
1156
|
+
...abortSignal && { abortSignal },
|
|
1157
|
+
fetch: this.config.fetch
|
|
1158
|
+
});
|
|
1159
|
+
return convertAsyncIteratorToReadableStream(
|
|
1160
|
+
convertGatewayBatchResultLines(lines)
|
|
1161
|
+
);
|
|
1162
|
+
} catch (error) {
|
|
1163
|
+
if (isAbortOrTimeoutError(error)) {
|
|
1164
|
+
throw error;
|
|
1165
|
+
}
|
|
1166
|
+
throw await asGatewayError(
|
|
1167
|
+
error,
|
|
1168
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1169
|
+
);
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
/** Requests cancellation; status and partial results remain separate reads. */
|
|
1173
|
+
async doCancelBatch({
|
|
1174
|
+
batchId,
|
|
1175
|
+
headers,
|
|
1176
|
+
abortSignal
|
|
1177
|
+
}) {
|
|
1178
|
+
const resolvedHeaders = this.config.headers ? await resolve4(this.config.headers) : void 0;
|
|
1179
|
+
try {
|
|
1180
|
+
const { value: responseBody } = await postJsonToApi({
|
|
1181
|
+
url: this.getBatchUrl("cancel"),
|
|
1182
|
+
headers: combineHeaders(
|
|
1183
|
+
resolvedHeaders,
|
|
1184
|
+
headers,
|
|
1185
|
+
await resolve4(this.config.o11yHeaders)
|
|
1186
|
+
),
|
|
1187
|
+
body: { batchId },
|
|
1188
|
+
successfulResponseHandler: createJsonResponseHandler4(
|
|
1189
|
+
gatewayBatchStatusResponseSchema
|
|
1190
|
+
),
|
|
1191
|
+
failedResponseHandler: createJsonErrorResponseHandler4({
|
|
1192
|
+
errorSchema: z.any(),
|
|
1193
|
+
errorToMessage: (data) => getErrorMessage4(data) ?? "unknown error"
|
|
1194
|
+
}),
|
|
1195
|
+
...abortSignal && { abortSignal },
|
|
1196
|
+
fetch: this.config.fetch
|
|
1197
|
+
});
|
|
1198
|
+
return {
|
|
1199
|
+
...responseBody.providerMetadata != null && {
|
|
1200
|
+
providerMetadata: responseBody.providerMetadata
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
1203
|
+
} catch (error) {
|
|
1204
|
+
if (isAbortOrTimeoutError(error)) {
|
|
1205
|
+
throw error;
|
|
1206
|
+
}
|
|
1207
|
+
throw await asGatewayError(
|
|
1208
|
+
error,
|
|
1209
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1210
|
+
);
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
getBatchUrl(path) {
|
|
1214
|
+
return `${this.config.baseURL}/batch/${path}`;
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
function maybeEncodeBatchFileParts(options) {
|
|
1218
|
+
for (const message of options.prompt) {
|
|
1219
|
+
if (!Array.isArray(message.content)) {
|
|
1220
|
+
continue;
|
|
1221
|
+
}
|
|
1222
|
+
for (const part of message.content) {
|
|
1223
|
+
if (part.type === "file" || part.type === "reasoning-file") {
|
|
1224
|
+
part.data = maybeBase64EncodeFileData(part.data);
|
|
1225
|
+
} else if (part.type === "tool-result" && part.output.type === "content") {
|
|
1226
|
+
for (const contentPart of part.output.value) {
|
|
1227
|
+
if (contentPart.type === "file") {
|
|
1228
|
+
contentPart.data = maybeBase64EncodeFileData(contentPart.data);
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
return options;
|
|
1235
|
+
}
|
|
1236
|
+
function maybeBase64EncodeFileData(data) {
|
|
1237
|
+
if (data.type === "data") {
|
|
1238
|
+
const bytes = data.data;
|
|
1239
|
+
if (bytes instanceof Uint8Array) {
|
|
1240
|
+
return { ...data, data: Buffer.from(bytes).toString("base64") };
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
return data;
|
|
1244
|
+
}
|
|
1245
|
+
function validateSingleModel(requests) {
|
|
1246
|
+
const modelId = requests[0]?.modelId;
|
|
1247
|
+
if (modelId == null) {
|
|
1248
|
+
throw new InvalidArgumentError({
|
|
1249
|
+
argument: "requests",
|
|
1250
|
+
message: "The AI Gateway Batch API requires at least one request."
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
for (const request of requests) {
|
|
1254
|
+
if (request.modelId !== modelId) {
|
|
1255
|
+
throw new InvalidArgumentError({
|
|
1256
|
+
argument: "requests",
|
|
1257
|
+
message: `The AI Gateway Batch API requires all requests in a batch to use the same model. Found "${modelId}" and "${request.modelId}".`
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
return modelId;
|
|
1262
|
+
}
|
|
1263
|
+
function assertTextBatchRequests(requests) {
|
|
1264
|
+
for (const request of requests) {
|
|
1265
|
+
const requestType = request.type;
|
|
1266
|
+
if (requestType !== "text") {
|
|
1267
|
+
throw new UnsupportedFunctionalityError({
|
|
1268
|
+
functionality: `batch request type: ${requestType}`,
|
|
1269
|
+
message: `The AI Gateway Batch API does not support batch requests with type "${requestType}".`
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
function getGatewayBatchIdempotencyKey(providerOptions) {
|
|
1275
|
+
const gatewayOptions = providerOptions?.gateway;
|
|
1276
|
+
if (gatewayOptions == null || typeof gatewayOptions !== "object" || Array.isArray(gatewayOptions)) {
|
|
1277
|
+
return void 0;
|
|
1278
|
+
}
|
|
1279
|
+
const key = gatewayOptions.idempotencyKey;
|
|
1280
|
+
return typeof key === "string" && key.length > 0 ? key : void 0;
|
|
1281
|
+
}
|
|
1282
|
+
function omitGatewayIdempotencyKey(providerOptions) {
|
|
1283
|
+
const gatewayOptions = providerOptions?.gateway;
|
|
1284
|
+
if (gatewayOptions == null || typeof gatewayOptions !== "object" || Array.isArray(gatewayOptions) || !("idempotencyKey" in gatewayOptions)) {
|
|
1285
|
+
return providerOptions;
|
|
1286
|
+
}
|
|
1287
|
+
const { idempotencyKey: _idempotencyKey, ...restGatewayOptions } = gatewayOptions;
|
|
1288
|
+
const restProviderOptions = { ...providerOptions };
|
|
1289
|
+
if (Object.keys(restGatewayOptions).length === 0) {
|
|
1290
|
+
delete restProviderOptions.gateway;
|
|
1291
|
+
} else {
|
|
1292
|
+
restProviderOptions.gateway = restGatewayOptions;
|
|
1293
|
+
}
|
|
1294
|
+
if (Object.keys(restProviderOptions).length === 0) {
|
|
1295
|
+
return void 0;
|
|
1296
|
+
}
|
|
1297
|
+
return restProviderOptions;
|
|
1298
|
+
}
|
|
1299
|
+
function isAbortOrTimeoutError(error) {
|
|
1300
|
+
if (!(error instanceof Error || error instanceof DOMException)) {
|
|
1301
|
+
return false;
|
|
1302
|
+
}
|
|
1303
|
+
return error.name === "AbortError" || error.name === "TimeoutError";
|
|
1304
|
+
}
|
|
1305
|
+
function convertGatewayBatchStatus(body) {
|
|
1306
|
+
const requestCounts = normalizeBatchRequestCounts({
|
|
1307
|
+
total: body.requestCounts?.total,
|
|
1308
|
+
pending: body.requestCounts?.pending,
|
|
1309
|
+
completed: body.requestCounts?.completed,
|
|
1310
|
+
failed: body.requestCounts?.failed
|
|
1311
|
+
});
|
|
1312
|
+
return {
|
|
1313
|
+
status: body.status,
|
|
1314
|
+
...body.rawStatus != null && { rawStatus: body.rawStatus },
|
|
1315
|
+
...requestCounts != null && { requestCounts },
|
|
1316
|
+
...body.error != null && {
|
|
1317
|
+
error: {
|
|
1318
|
+
message: body.error.message,
|
|
1319
|
+
...body.error.type != null && { type: body.error.type },
|
|
1320
|
+
...body.error.code != null && { code: body.error.code },
|
|
1321
|
+
...body.error.statusCode != null && {
|
|
1322
|
+
statusCode: body.error.statusCode
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
...body.createdAt != null && { createdAt: body.createdAt },
|
|
1327
|
+
...body.expiresAt != null && { expiresAt: body.expiresAt },
|
|
1328
|
+
...body.providerMetadata != null && {
|
|
1329
|
+
providerMetadata: body.providerMetadata
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
async function* convertGatewayBatchResultLines(lines) {
|
|
1334
|
+
for await (const line of lines) {
|
|
1335
|
+
const item = line;
|
|
1336
|
+
if (item.status === "succeeded") {
|
|
1337
|
+
const response = item.result?.response;
|
|
1338
|
+
if (response !== void 0 && typeof response.timestamp === "string") {
|
|
1339
|
+
response.timestamp = new Date(response.timestamp);
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
yield item;
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
var gatewayBatchItemResultLineSchema = z.object({
|
|
1346
|
+
type: z.literal("text"),
|
|
1347
|
+
id: z.string(),
|
|
1348
|
+
status: z.enum(["cancelled", "expired", "failed", "succeeded"])
|
|
1349
|
+
}).catchall(z.unknown());
|
|
1350
|
+
var gatewayBatchErrorSchema = z.object({
|
|
1351
|
+
message: z.string(),
|
|
1352
|
+
type: z.string().nullish(),
|
|
1353
|
+
code: z.string().nullish(),
|
|
1354
|
+
statusCode: z.number().nullish()
|
|
1355
|
+
});
|
|
1356
|
+
var gatewayBatchRequestCountsSchema = z.object({
|
|
1357
|
+
total: z.number().nullish(),
|
|
1358
|
+
pending: z.number().nullish(),
|
|
1359
|
+
completed: z.number().nullish(),
|
|
1360
|
+
failed: z.number().nullish()
|
|
1361
|
+
});
|
|
1362
|
+
var gatewayBatchProviderMetadataSchema = z.record(
|
|
1363
|
+
z.string(),
|
|
1364
|
+
z.record(z.string(), z.unknown())
|
|
1365
|
+
);
|
|
1366
|
+
var gatewayBatchStatusFieldsSchema = z.object({
|
|
1367
|
+
status: z.enum(["completed", "failed", "pending"]),
|
|
1368
|
+
rawStatus: z.string().nullish(),
|
|
1369
|
+
requestCounts: gatewayBatchRequestCountsSchema.nullish(),
|
|
1370
|
+
error: gatewayBatchErrorSchema.nullish(),
|
|
1371
|
+
createdAt: z.string().nullish(),
|
|
1372
|
+
expiresAt: z.string().nullish(),
|
|
1373
|
+
providerMetadata: gatewayBatchProviderMetadataSchema.nullish()
|
|
1374
|
+
});
|
|
1375
|
+
var gatewayBatchStartResponseSchema = gatewayBatchStatusFieldsSchema.extend({
|
|
1376
|
+
batchId: z.string(),
|
|
1377
|
+
warnings: z.array(
|
|
1378
|
+
z.object({
|
|
1379
|
+
requestId: z.string().nullish(),
|
|
1380
|
+
warning: z.unknown()
|
|
1381
|
+
}).catchall(z.unknown())
|
|
1382
|
+
).nullish()
|
|
1383
|
+
});
|
|
1384
|
+
var gatewayBatchStatusResponseSchema = gatewayBatchStatusFieldsSchema;
|
|
1385
|
+
|
|
1386
|
+
// src/gateway-language-model.ts
|
|
1387
|
+
import {
|
|
1388
|
+
combineHeaders as combineHeaders2,
|
|
1389
|
+
createEventSourceResponseHandler,
|
|
1390
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler5,
|
|
1391
|
+
createJsonResponseHandler as createJsonResponseHandler5,
|
|
1392
|
+
getErrorMessage as getErrorMessage5,
|
|
1393
|
+
postJsonToApi as postJsonToApi2,
|
|
1394
|
+
resolve as resolve5,
|
|
988
1395
|
serializeModelOptions,
|
|
989
1396
|
WORKFLOW_SERIALIZE,
|
|
990
1397
|
WORKFLOW_DESERIALIZE
|
|
@@ -1018,28 +1425,25 @@ var GatewayLanguageModel = class _GatewayLanguageModel {
|
|
|
1018
1425
|
async doGenerate(options) {
|
|
1019
1426
|
const { args, warnings } = await this.getArgs(options);
|
|
1020
1427
|
const { abortSignal } = options;
|
|
1021
|
-
const resolvedHeaders = this.config.headers ? await
|
|
1428
|
+
const resolvedHeaders = this.config.headers ? await resolve5(this.config.headers) : void 0;
|
|
1022
1429
|
try {
|
|
1023
1430
|
const {
|
|
1024
1431
|
responseHeaders,
|
|
1025
1432
|
value: responseBody,
|
|
1026
1433
|
rawValue: rawResponse
|
|
1027
|
-
} = await
|
|
1434
|
+
} = await postJsonToApi2({
|
|
1028
1435
|
url: this.getUrl(),
|
|
1029
|
-
headers:
|
|
1436
|
+
headers: combineHeaders2(
|
|
1030
1437
|
resolvedHeaders,
|
|
1031
1438
|
options.headers,
|
|
1032
1439
|
this.getModelConfigHeaders(this.modelId, false),
|
|
1033
|
-
await
|
|
1440
|
+
await resolve5(this.config.o11yHeaders)
|
|
1034
1441
|
),
|
|
1035
1442
|
body: args,
|
|
1036
|
-
successfulResponseHandler:
|
|
1037
|
-
failedResponseHandler:
|
|
1443
|
+
successfulResponseHandler: createJsonResponseHandler5(z.any()),
|
|
1444
|
+
failedResponseHandler: createJsonErrorResponseHandler5({
|
|
1038
1445
|
errorSchema: z.any(),
|
|
1039
|
-
errorToMessage: (data) =>
|
|
1040
|
-
var _a11;
|
|
1041
|
-
return (_a11 = getErrorMessage4(data)) != null ? _a11 : "unknown error";
|
|
1042
|
-
}
|
|
1446
|
+
errorToMessage: (data) => getErrorMessage5(data) ?? "unknown error"
|
|
1043
1447
|
}),
|
|
1044
1448
|
...abortSignal && { abortSignal },
|
|
1045
1449
|
fetch: this.config.fetch
|
|
@@ -1048,36 +1452,33 @@ var GatewayLanguageModel = class _GatewayLanguageModel {
|
|
|
1048
1452
|
...responseBody,
|
|
1049
1453
|
request: { body: args },
|
|
1050
1454
|
response: { headers: responseHeaders, body: rawResponse },
|
|
1051
|
-
warnings
|
|
1455
|
+
warnings: [...responseBody.warnings ?? [], ...warnings]
|
|
1052
1456
|
};
|
|
1053
1457
|
} catch (error) {
|
|
1054
1458
|
throw await asGatewayError(
|
|
1055
1459
|
error,
|
|
1056
|
-
await parseAuthMethod(resolvedHeaders
|
|
1460
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1057
1461
|
);
|
|
1058
1462
|
}
|
|
1059
1463
|
}
|
|
1060
1464
|
async doStream(options) {
|
|
1061
1465
|
const { args, warnings } = await this.getArgs(options);
|
|
1062
1466
|
const { abortSignal } = options;
|
|
1063
|
-
const resolvedHeaders = this.config.headers ? await
|
|
1467
|
+
const resolvedHeaders = this.config.headers ? await resolve5(this.config.headers) : void 0;
|
|
1064
1468
|
try {
|
|
1065
|
-
const { value: response, responseHeaders } = await
|
|
1469
|
+
const { value: response, responseHeaders } = await postJsonToApi2({
|
|
1066
1470
|
url: this.getUrl(),
|
|
1067
|
-
headers:
|
|
1471
|
+
headers: combineHeaders2(
|
|
1068
1472
|
resolvedHeaders,
|
|
1069
1473
|
options.headers,
|
|
1070
1474
|
this.getModelConfigHeaders(this.modelId, true),
|
|
1071
|
-
await
|
|
1475
|
+
await resolve5(this.config.o11yHeaders)
|
|
1072
1476
|
),
|
|
1073
1477
|
body: args,
|
|
1074
1478
|
successfulResponseHandler: createEventSourceResponseHandler(z.any()),
|
|
1075
|
-
failedResponseHandler:
|
|
1479
|
+
failedResponseHandler: createJsonErrorResponseHandler5({
|
|
1076
1480
|
errorSchema: z.any(),
|
|
1077
|
-
errorToMessage: (data) =>
|
|
1078
|
-
var _a11;
|
|
1079
|
-
return (_a11 = getErrorMessage4(data)) != null ? _a11 : "unknown error";
|
|
1080
|
-
}
|
|
1481
|
+
errorToMessage: (data) => getErrorMessage5(data) ?? "unknown error"
|
|
1081
1482
|
}),
|
|
1082
1483
|
...abortSignal && { abortSignal },
|
|
1083
1484
|
fetch: this.config.fetch
|
|
@@ -1114,7 +1515,7 @@ var GatewayLanguageModel = class _GatewayLanguageModel {
|
|
|
1114
1515
|
} catch (error) {
|
|
1115
1516
|
throw await asGatewayError(
|
|
1116
1517
|
error,
|
|
1117
|
-
await parseAuthMethod(resolvedHeaders
|
|
1518
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1118
1519
|
);
|
|
1119
1520
|
}
|
|
1120
1521
|
}
|
|
@@ -1130,11 +1531,11 @@ var GatewayLanguageModel = class _GatewayLanguageModel {
|
|
|
1130
1531
|
}
|
|
1131
1532
|
for (const part of message.content) {
|
|
1132
1533
|
if (part.type === "file" || part.type === "reasoning-file") {
|
|
1133
|
-
part.data =
|
|
1534
|
+
part.data = maybeBase64EncodeFileData2(part.data);
|
|
1134
1535
|
} else if (part.type === "tool-result" && part.output.type === "content") {
|
|
1135
1536
|
for (const contentPart of part.output.value) {
|
|
1136
1537
|
if (contentPart.type === "file") {
|
|
1137
|
-
contentPart.data =
|
|
1538
|
+
contentPart.data = maybeBase64EncodeFileData2(contentPart.data);
|
|
1138
1539
|
}
|
|
1139
1540
|
}
|
|
1140
1541
|
}
|
|
@@ -1153,7 +1554,7 @@ var GatewayLanguageModel = class _GatewayLanguageModel {
|
|
|
1153
1554
|
};
|
|
1154
1555
|
}
|
|
1155
1556
|
};
|
|
1156
|
-
function
|
|
1557
|
+
function maybeBase64EncodeFileData2(data) {
|
|
1157
1558
|
if (data.type === "data") {
|
|
1158
1559
|
const bytes = data.data;
|
|
1159
1560
|
if (bytes instanceof Uint8Array) {
|
|
@@ -1165,13 +1566,13 @@ function maybeBase64EncodeFileData(data) {
|
|
|
1165
1566
|
|
|
1166
1567
|
// src/gateway-embedding-model.ts
|
|
1167
1568
|
import {
|
|
1168
|
-
combineHeaders as
|
|
1169
|
-
createJsonErrorResponseHandler as
|
|
1170
|
-
createJsonResponseHandler as
|
|
1171
|
-
getErrorMessage as
|
|
1569
|
+
combineHeaders as combineHeaders3,
|
|
1570
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler6,
|
|
1571
|
+
createJsonResponseHandler as createJsonResponseHandler6,
|
|
1572
|
+
getErrorMessage as getErrorMessage6,
|
|
1172
1573
|
lazySchema as lazySchema8,
|
|
1173
|
-
postJsonToApi as
|
|
1174
|
-
resolve as
|
|
1574
|
+
postJsonToApi as postJsonToApi3,
|
|
1575
|
+
resolve as resolve6,
|
|
1175
1576
|
serializeModelOptions as serializeModelOptions2,
|
|
1176
1577
|
WORKFLOW_SERIALIZE as WORKFLOW_SERIALIZE2,
|
|
1177
1578
|
WORKFLOW_DESERIALIZE as WORKFLOW_DESERIALIZE2,
|
|
@@ -1203,49 +1604,45 @@ var GatewayEmbeddingModel = class _GatewayEmbeddingModel {
|
|
|
1203
1604
|
abortSignal,
|
|
1204
1605
|
providerOptions
|
|
1205
1606
|
}) {
|
|
1206
|
-
|
|
1207
|
-
const resolvedHeaders = this.config.headers ? await resolve5(this.config.headers) : void 0;
|
|
1607
|
+
const resolvedHeaders = this.config.headers ? await resolve6(this.config.headers) : void 0;
|
|
1208
1608
|
try {
|
|
1209
1609
|
const {
|
|
1210
1610
|
responseHeaders,
|
|
1211
1611
|
value: responseBody,
|
|
1212
1612
|
rawValue
|
|
1213
|
-
} = await
|
|
1613
|
+
} = await postJsonToApi3({
|
|
1214
1614
|
url: this.getUrl(),
|
|
1215
|
-
headers:
|
|
1615
|
+
headers: combineHeaders3(
|
|
1216
1616
|
resolvedHeaders,
|
|
1217
|
-
headers
|
|
1617
|
+
headers ?? {},
|
|
1218
1618
|
this.getModelConfigHeaders(),
|
|
1219
|
-
await
|
|
1619
|
+
await resolve6(this.config.o11yHeaders)
|
|
1220
1620
|
),
|
|
1221
1621
|
body: {
|
|
1222
1622
|
values,
|
|
1223
1623
|
...providerOptions ? { providerOptions } : {}
|
|
1224
1624
|
},
|
|
1225
|
-
successfulResponseHandler:
|
|
1625
|
+
successfulResponseHandler: createJsonResponseHandler6(
|
|
1226
1626
|
gatewayEmbeddingResponseSchema
|
|
1227
1627
|
),
|
|
1228
|
-
failedResponseHandler:
|
|
1628
|
+
failedResponseHandler: createJsonErrorResponseHandler6({
|
|
1229
1629
|
errorSchema: z.any(),
|
|
1230
|
-
errorToMessage: (data) =>
|
|
1231
|
-
var _a12;
|
|
1232
|
-
return (_a12 = getErrorMessage5(data)) != null ? _a12 : "unknown error";
|
|
1233
|
-
}
|
|
1630
|
+
errorToMessage: (data) => getErrorMessage6(data) ?? "unknown error"
|
|
1234
1631
|
}),
|
|
1235
1632
|
...abortSignal && { abortSignal },
|
|
1236
1633
|
fetch: this.config.fetch
|
|
1237
1634
|
});
|
|
1238
1635
|
return {
|
|
1239
1636
|
embeddings: responseBody.embeddings,
|
|
1240
|
-
usage:
|
|
1637
|
+
usage: responseBody.usage ?? void 0,
|
|
1241
1638
|
providerMetadata: responseBody.providerMetadata,
|
|
1242
1639
|
response: { headers: responseHeaders, body: rawValue },
|
|
1243
|
-
warnings:
|
|
1640
|
+
warnings: responseBody.warnings ?? []
|
|
1244
1641
|
};
|
|
1245
1642
|
} catch (error) {
|
|
1246
1643
|
throw await asGatewayError(
|
|
1247
1644
|
error,
|
|
1248
|
-
await parseAuthMethod(resolvedHeaders
|
|
1645
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1249
1646
|
);
|
|
1250
1647
|
}
|
|
1251
1648
|
}
|
|
@@ -1293,13 +1690,13 @@ var gatewayEmbeddingResponseSchema = lazySchema8(
|
|
|
1293
1690
|
|
|
1294
1691
|
// src/gateway-image-model.ts
|
|
1295
1692
|
import {
|
|
1296
|
-
combineHeaders as
|
|
1693
|
+
combineHeaders as combineHeaders4,
|
|
1297
1694
|
convertUint8ArrayToBase64,
|
|
1298
|
-
createJsonErrorResponseHandler as
|
|
1299
|
-
createJsonResponseHandler as
|
|
1300
|
-
getErrorMessage as
|
|
1301
|
-
postJsonToApi as
|
|
1302
|
-
resolve as
|
|
1695
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler7,
|
|
1696
|
+
createJsonResponseHandler as createJsonResponseHandler7,
|
|
1697
|
+
getErrorMessage as getErrorMessage7,
|
|
1698
|
+
postJsonToApi as postJsonToApi4,
|
|
1699
|
+
resolve as resolve7,
|
|
1303
1700
|
serializeModelOptions as serializeModelOptions3,
|
|
1304
1701
|
WORKFLOW_SERIALIZE as WORKFLOW_SERIALIZE3,
|
|
1305
1702
|
WORKFLOW_DESERIALIZE as WORKFLOW_DESERIALIZE3
|
|
@@ -1336,16 +1733,15 @@ var GatewayImageModel = class _GatewayImageModel {
|
|
|
1336
1733
|
headers,
|
|
1337
1734
|
abortSignal
|
|
1338
1735
|
}) {
|
|
1339
|
-
|
|
1340
|
-
const resolvedHeaders = this.config.headers ? await resolve6(this.config.headers) : void 0;
|
|
1736
|
+
const resolvedHeaders = this.config.headers ? await resolve7(this.config.headers) : void 0;
|
|
1341
1737
|
try {
|
|
1342
|
-
const { responseHeaders, value: responseBody } = await
|
|
1738
|
+
const { responseHeaders, value: responseBody } = await postJsonToApi4({
|
|
1343
1739
|
url: this.getUrl(),
|
|
1344
|
-
headers:
|
|
1740
|
+
headers: combineHeaders4(
|
|
1345
1741
|
resolvedHeaders,
|
|
1346
|
-
headers
|
|
1742
|
+
headers ?? {},
|
|
1347
1743
|
this.getModelConfigHeaders(),
|
|
1348
|
-
await
|
|
1744
|
+
await resolve7(this.config.o11yHeaders)
|
|
1349
1745
|
),
|
|
1350
1746
|
body: {
|
|
1351
1747
|
prompt,
|
|
@@ -1359,15 +1755,12 @@ var GatewayImageModel = class _GatewayImageModel {
|
|
|
1359
1755
|
},
|
|
1360
1756
|
...mask && { mask: maybeEncodeImageFile(mask) }
|
|
1361
1757
|
},
|
|
1362
|
-
successfulResponseHandler:
|
|
1758
|
+
successfulResponseHandler: createJsonResponseHandler7(
|
|
1363
1759
|
gatewayImageResponseSchema
|
|
1364
1760
|
),
|
|
1365
|
-
failedResponseHandler:
|
|
1761
|
+
failedResponseHandler: createJsonErrorResponseHandler7({
|
|
1366
1762
|
errorSchema: z.any(),
|
|
1367
|
-
errorToMessage: (data) =>
|
|
1368
|
-
var _a12;
|
|
1369
|
-
return (_a12 = getErrorMessage6(data)) != null ? _a12 : "unknown error";
|
|
1370
|
-
}
|
|
1763
|
+
errorToMessage: (data) => getErrorMessage7(data) ?? "unknown error"
|
|
1371
1764
|
}),
|
|
1372
1765
|
...abortSignal && { abortSignal },
|
|
1373
1766
|
fetch: this.config.fetch
|
|
@@ -1375,7 +1768,10 @@ var GatewayImageModel = class _GatewayImageModel {
|
|
|
1375
1768
|
return {
|
|
1376
1769
|
images: responseBody.images,
|
|
1377
1770
|
// Always base64 strings from server
|
|
1378
|
-
|
|
1771
|
+
...responseBody.isRetryable != null && {
|
|
1772
|
+
isRetryable: responseBody.isRetryable
|
|
1773
|
+
},
|
|
1774
|
+
warnings: responseBody.warnings ?? [],
|
|
1379
1775
|
providerMetadata: responseBody.providerMetadata,
|
|
1380
1776
|
response: {
|
|
1381
1777
|
timestamp: /* @__PURE__ */ new Date(),
|
|
@@ -1384,16 +1780,16 @@ var GatewayImageModel = class _GatewayImageModel {
|
|
|
1384
1780
|
},
|
|
1385
1781
|
...responseBody.usage != null && {
|
|
1386
1782
|
usage: {
|
|
1387
|
-
inputTokens:
|
|
1388
|
-
outputTokens:
|
|
1389
|
-
totalTokens:
|
|
1783
|
+
inputTokens: responseBody.usage.inputTokens ?? void 0,
|
|
1784
|
+
outputTokens: responseBody.usage.outputTokens ?? void 0,
|
|
1785
|
+
totalTokens: responseBody.usage.totalTokens ?? void 0
|
|
1390
1786
|
}
|
|
1391
1787
|
}
|
|
1392
1788
|
};
|
|
1393
1789
|
} catch (error) {
|
|
1394
1790
|
throw await asGatewayError(
|
|
1395
1791
|
error,
|
|
1396
|
-
await parseAuthMethod(resolvedHeaders
|
|
1792
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1397
1793
|
);
|
|
1398
1794
|
}
|
|
1399
1795
|
}
|
|
@@ -1448,6 +1844,7 @@ var gatewayImageUsageSchema = z.object({
|
|
|
1448
1844
|
var gatewayImageResponseSchema = z.object({
|
|
1449
1845
|
images: z.array(z.string()),
|
|
1450
1846
|
// Always base64 strings over the wire
|
|
1847
|
+
isRetryable: z.boolean().optional(),
|
|
1451
1848
|
warnings: z.array(gatewayImageWarningSchema).optional(),
|
|
1452
1849
|
providerMetadata: z.record(z.string(), providerMetadataEntrySchema).optional(),
|
|
1453
1850
|
usage: gatewayImageUsageSchema.optional()
|
|
@@ -1456,16 +1853,16 @@ var gatewayImageResponseSchema = z.object({
|
|
|
1456
1853
|
// src/gateway-video-model.ts
|
|
1457
1854
|
import {
|
|
1458
1855
|
APICallError as APICallError2,
|
|
1459
|
-
getErrorMessage as
|
|
1856
|
+
getErrorMessage as getErrorMessage8
|
|
1460
1857
|
} from "@ai-sdk/provider";
|
|
1461
1858
|
import {
|
|
1462
|
-
combineHeaders as
|
|
1859
|
+
combineHeaders as combineHeaders5,
|
|
1463
1860
|
convertUint8ArrayToBase64 as convertUint8ArrayToBase642,
|
|
1464
|
-
createJsonErrorResponseHandler as
|
|
1465
|
-
createJsonResponseHandler as
|
|
1861
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler8,
|
|
1862
|
+
createJsonResponseHandler as createJsonResponseHandler8,
|
|
1466
1863
|
parseJsonEventStream,
|
|
1467
|
-
postJsonToApi as
|
|
1468
|
-
resolve as
|
|
1864
|
+
postJsonToApi as postJsonToApi5,
|
|
1865
|
+
resolve as resolve8
|
|
1469
1866
|
} from "@ai-sdk/provider-utils";
|
|
1470
1867
|
var GatewayVideoModel = class {
|
|
1471
1868
|
constructor(modelId, config) {
|
|
@@ -1479,17 +1876,16 @@ var GatewayVideoModel = class {
|
|
|
1479
1876
|
return this.config.provider;
|
|
1480
1877
|
}
|
|
1481
1878
|
async doGenerate(options) {
|
|
1482
|
-
var _a11, _b11;
|
|
1483
1879
|
const { headers, abortSignal } = options;
|
|
1484
|
-
const resolvedHeaders = this.config.headers ? await
|
|
1880
|
+
const resolvedHeaders = this.config.headers ? await resolve8(this.config.headers) : void 0;
|
|
1485
1881
|
try {
|
|
1486
|
-
const { responseHeaders, value: responseBody } = await
|
|
1882
|
+
const { responseHeaders, value: responseBody } = await postJsonToApi5({
|
|
1487
1883
|
url: this.getUrl(),
|
|
1488
|
-
headers:
|
|
1884
|
+
headers: combineHeaders5(
|
|
1489
1885
|
resolvedHeaders,
|
|
1490
|
-
headers
|
|
1886
|
+
headers ?? {},
|
|
1491
1887
|
this.getModelConfigHeaders(),
|
|
1492
|
-
await
|
|
1888
|
+
await resolve8(this.config.o11yHeaders),
|
|
1493
1889
|
{ accept: "text/event-stream" }
|
|
1494
1890
|
),
|
|
1495
1891
|
body: this.buildRequestBody(options),
|
|
@@ -1557,20 +1953,17 @@ var GatewayVideoModel = class {
|
|
|
1557
1953
|
responseHeaders: Object.fromEntries([...response.headers])
|
|
1558
1954
|
};
|
|
1559
1955
|
},
|
|
1560
|
-
failedResponseHandler:
|
|
1956
|
+
failedResponseHandler: createJsonErrorResponseHandler8({
|
|
1561
1957
|
errorSchema: z.any(),
|
|
1562
|
-
errorToMessage: (data) =>
|
|
1563
|
-
var _a12;
|
|
1564
|
-
return (_a12 = getErrorMessage7(data)) != null ? _a12 : "unknown error";
|
|
1565
|
-
}
|
|
1958
|
+
errorToMessage: (data) => getErrorMessage8(data) ?? "unknown error"
|
|
1566
1959
|
}),
|
|
1567
1960
|
...abortSignal && { abortSignal },
|
|
1568
1961
|
fetch: this.config.fetch
|
|
1569
1962
|
});
|
|
1570
1963
|
return {
|
|
1571
1964
|
videos: responseBody.videos,
|
|
1572
|
-
warnings:
|
|
1573
|
-
providerMetadata:
|
|
1965
|
+
warnings: responseBody.warnings ?? [],
|
|
1966
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1574
1967
|
response: {
|
|
1575
1968
|
timestamp: /* @__PURE__ */ new Date(),
|
|
1576
1969
|
modelId: this.modelId,
|
|
@@ -1580,31 +1973,29 @@ var GatewayVideoModel = class {
|
|
|
1580
1973
|
} catch (error) {
|
|
1581
1974
|
throw await asGatewayError(
|
|
1582
1975
|
error,
|
|
1583
|
-
await parseAuthMethod(resolvedHeaders
|
|
1976
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1584
1977
|
);
|
|
1585
1978
|
}
|
|
1586
1979
|
}
|
|
1587
|
-
//
|
|
1588
|
-
//
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
// delivery format; the wire field is already the right one.
|
|
1980
|
+
// The Gateway notifies the caller's URL on completion (`doStart` maps it to
|
|
1981
|
+
// `callbackUrl`), so the factory's URL and `received` pass straight through.
|
|
1982
|
+
async handleWebhookOption({
|
|
1983
|
+
webhook
|
|
1984
|
+
}) {
|
|
1985
|
+
const { url, received } = await webhook();
|
|
1986
|
+
return { webhookUrl: url, received };
|
|
1987
|
+
}
|
|
1596
1988
|
async doStart(options) {
|
|
1597
|
-
var _a11, _b11;
|
|
1598
1989
|
const { headers, abortSignal, webhookUrl } = options;
|
|
1599
|
-
const resolvedHeaders = this.config.headers ? await
|
|
1990
|
+
const resolvedHeaders = this.config.headers ? await resolve8(this.config.headers) : void 0;
|
|
1600
1991
|
try {
|
|
1601
|
-
const { responseHeaders, value: responseBody } = await
|
|
1992
|
+
const { responseHeaders, value: responseBody } = await postJsonToApi5({
|
|
1602
1993
|
url: this.getStartUrl(),
|
|
1603
|
-
headers:
|
|
1994
|
+
headers: combineHeaders5(
|
|
1604
1995
|
resolvedHeaders,
|
|
1605
|
-
headers
|
|
1996
|
+
headers ?? {},
|
|
1606
1997
|
this.getModelConfigHeaders(),
|
|
1607
|
-
await
|
|
1998
|
+
await resolve8(this.config.o11yHeaders)
|
|
1608
1999
|
),
|
|
1609
2000
|
body: {
|
|
1610
2001
|
...this.buildRequestBody(options),
|
|
@@ -1612,23 +2003,20 @@ var GatewayVideoModel = class {
|
|
|
1612
2003
|
// completion webhook is `callbackUrl`.
|
|
1613
2004
|
...webhookUrl && { callbackUrl: webhookUrl }
|
|
1614
2005
|
},
|
|
1615
|
-
successfulResponseHandler:
|
|
2006
|
+
successfulResponseHandler: createJsonResponseHandler8(
|
|
1616
2007
|
gatewayVideoStartResponseSchema
|
|
1617
2008
|
),
|
|
1618
|
-
failedResponseHandler:
|
|
2009
|
+
failedResponseHandler: createJsonErrorResponseHandler8({
|
|
1619
2010
|
errorSchema: z.any(),
|
|
1620
|
-
errorToMessage: (data) =>
|
|
1621
|
-
var _a12;
|
|
1622
|
-
return (_a12 = getErrorMessage7(data)) != null ? _a12 : "unknown error";
|
|
1623
|
-
}
|
|
2011
|
+
errorToMessage: (data) => getErrorMessage8(data) ?? "unknown error"
|
|
1624
2012
|
}),
|
|
1625
2013
|
...abortSignal && { abortSignal },
|
|
1626
2014
|
fetch: this.config.fetch
|
|
1627
2015
|
});
|
|
1628
2016
|
return {
|
|
1629
2017
|
operation: responseBody.operation,
|
|
1630
|
-
warnings:
|
|
1631
|
-
providerMetadata:
|
|
2018
|
+
warnings: responseBody.warnings ?? [],
|
|
2019
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1632
2020
|
response: {
|
|
1633
2021
|
timestamp: /* @__PURE__ */ new Date(),
|
|
1634
2022
|
modelId: this.modelId,
|
|
@@ -1638,7 +2026,7 @@ var GatewayVideoModel = class {
|
|
|
1638
2026
|
} catch (error) {
|
|
1639
2027
|
throw await asGatewayError(
|
|
1640
2028
|
error,
|
|
1641
|
-
await parseAuthMethod(resolvedHeaders
|
|
2029
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1642
2030
|
);
|
|
1643
2031
|
}
|
|
1644
2032
|
}
|
|
@@ -1647,27 +2035,23 @@ var GatewayVideoModel = class {
|
|
|
1647
2035
|
abortSignal,
|
|
1648
2036
|
headers
|
|
1649
2037
|
}) {
|
|
1650
|
-
|
|
1651
|
-
const resolvedHeaders = this.config.headers ? await resolve7(this.config.headers) : void 0;
|
|
2038
|
+
const resolvedHeaders = this.config.headers ? await resolve8(this.config.headers) : void 0;
|
|
1652
2039
|
try {
|
|
1653
|
-
const { responseHeaders, value: responseBody } = await
|
|
2040
|
+
const { responseHeaders, value: responseBody } = await postJsonToApi5({
|
|
1654
2041
|
url: this.getStatusUrl(),
|
|
1655
|
-
headers:
|
|
2042
|
+
headers: combineHeaders5(
|
|
1656
2043
|
resolvedHeaders,
|
|
1657
|
-
headers
|
|
2044
|
+
headers ?? {},
|
|
1658
2045
|
this.getModelConfigHeaders(),
|
|
1659
|
-
await
|
|
2046
|
+
await resolve8(this.config.o11yHeaders)
|
|
1660
2047
|
),
|
|
1661
2048
|
body: { operation },
|
|
1662
|
-
successfulResponseHandler:
|
|
2049
|
+
successfulResponseHandler: createJsonResponseHandler8(
|
|
1663
2050
|
gatewayVideoStatusResponseSchema
|
|
1664
2051
|
),
|
|
1665
|
-
failedResponseHandler:
|
|
2052
|
+
failedResponseHandler: createJsonErrorResponseHandler8({
|
|
1666
2053
|
errorSchema: z.any(),
|
|
1667
|
-
errorToMessage: (data) =>
|
|
1668
|
-
var _a12;
|
|
1669
|
-
return (_a12 = getErrorMessage7(data)) != null ? _a12 : "unknown error";
|
|
1670
|
-
}
|
|
2054
|
+
errorToMessage: (data) => getErrorMessage8(data) ?? "unknown error"
|
|
1671
2055
|
}),
|
|
1672
2056
|
...abortSignal && { abortSignal },
|
|
1673
2057
|
fetch: this.config.fetch
|
|
@@ -1681,8 +2065,8 @@ var GatewayVideoModel = class {
|
|
|
1681
2065
|
return {
|
|
1682
2066
|
status: "completed",
|
|
1683
2067
|
videos: responseBody.videos,
|
|
1684
|
-
warnings:
|
|
1685
|
-
providerMetadata:
|
|
2068
|
+
warnings: responseBody.warnings ?? [],
|
|
2069
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1686
2070
|
response
|
|
1687
2071
|
};
|
|
1688
2072
|
}
|
|
@@ -1690,7 +2074,7 @@ var GatewayVideoModel = class {
|
|
|
1690
2074
|
return {
|
|
1691
2075
|
status: "error",
|
|
1692
2076
|
error: responseBody.error,
|
|
1693
|
-
providerMetadata:
|
|
2077
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1694
2078
|
response
|
|
1695
2079
|
};
|
|
1696
2080
|
}
|
|
@@ -1698,20 +2082,20 @@ var GatewayVideoModel = class {
|
|
|
1698
2082
|
return {
|
|
1699
2083
|
status: "error",
|
|
1700
2084
|
error: "Video generation was cancelled.",
|
|
1701
|
-
providerMetadata:
|
|
2085
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1702
2086
|
response
|
|
1703
2087
|
};
|
|
1704
2088
|
}
|
|
1705
2089
|
return {
|
|
1706
2090
|
status: "pending",
|
|
1707
|
-
warnings:
|
|
1708
|
-
providerMetadata:
|
|
2091
|
+
warnings: responseBody.warnings ?? [],
|
|
2092
|
+
providerMetadata: responseBody.providerMetadata ?? void 0,
|
|
1709
2093
|
response
|
|
1710
2094
|
};
|
|
1711
2095
|
} catch (error) {
|
|
1712
2096
|
throw await asGatewayError(
|
|
1713
2097
|
error,
|
|
1714
|
-
await parseAuthMethod(resolvedHeaders
|
|
2098
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1715
2099
|
);
|
|
1716
2100
|
}
|
|
1717
2101
|
}
|
|
@@ -1816,57 +2200,291 @@ var gatewayVideoWarningSchema = z.discriminatedUnion("type", [
|
|
|
1816
2200
|
]);
|
|
1817
2201
|
var gatewayVideoEventSchema = z.discriminatedUnion("type", [
|
|
1818
2202
|
z.object({
|
|
1819
|
-
type: z.literal("result"),
|
|
1820
|
-
videos: z.array(gatewayVideoDataSchema),
|
|
1821
|
-
warnings: z.array(gatewayVideoWarningSchema).optional(),
|
|
1822
|
-
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).optional()
|
|
2203
|
+
type: z.literal("result"),
|
|
2204
|
+
videos: z.array(gatewayVideoDataSchema),
|
|
2205
|
+
warnings: z.array(gatewayVideoWarningSchema).optional(),
|
|
2206
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).optional()
|
|
2207
|
+
}),
|
|
2208
|
+
z.object({
|
|
2209
|
+
type: z.literal("error"),
|
|
2210
|
+
message: z.string(),
|
|
2211
|
+
errorType: z.string(),
|
|
2212
|
+
statusCode: z.number(),
|
|
2213
|
+
param: z.unknown().nullable()
|
|
2214
|
+
})
|
|
2215
|
+
]);
|
|
2216
|
+
var gatewayVideoStartResponseSchema = z.object({
|
|
2217
|
+
operation: z.unknown(),
|
|
2218
|
+
warnings: z.array(gatewayVideoWarningSchema).nullish(),
|
|
2219
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2220
|
+
});
|
|
2221
|
+
var gatewayVideoStatusResponseSchema = z.discriminatedUnion("status", [
|
|
2222
|
+
z.object({
|
|
2223
|
+
status: z.literal("pending"),
|
|
2224
|
+
warnings: z.array(gatewayVideoWarningSchema).nullish(),
|
|
2225
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2226
|
+
}),
|
|
2227
|
+
z.object({
|
|
2228
|
+
status: z.literal("completed"),
|
|
2229
|
+
videos: z.array(gatewayVideoDataSchema),
|
|
2230
|
+
warnings: z.array(gatewayVideoWarningSchema).nullish(),
|
|
2231
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2232
|
+
}),
|
|
2233
|
+
z.object({
|
|
2234
|
+
status: z.literal("error"),
|
|
2235
|
+
error: z.string(),
|
|
2236
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2237
|
+
}),
|
|
2238
|
+
z.object({
|
|
2239
|
+
status: z.literal("cancelled"),
|
|
2240
|
+
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2241
|
+
})
|
|
2242
|
+
]);
|
|
2243
|
+
|
|
2244
|
+
// src/gateway-evaluation-model.ts
|
|
2245
|
+
import {
|
|
2246
|
+
combineHeaders as combineHeaders6,
|
|
2247
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler9,
|
|
2248
|
+
createJsonResponseHandler as createJsonResponseHandler9,
|
|
2249
|
+
getErrorMessage as getErrorMessage9,
|
|
2250
|
+
lazySchema as lazySchema10,
|
|
2251
|
+
parseProviderOptions,
|
|
2252
|
+
postJsonToApi as postJsonToApi6,
|
|
2253
|
+
resolve as resolve9,
|
|
2254
|
+
zodSchema as zodSchema10
|
|
2255
|
+
} from "@ai-sdk/provider-utils";
|
|
2256
|
+
|
|
2257
|
+
// src/gateway-provider-options.ts
|
|
2258
|
+
import { lazySchema as lazySchema9, zodSchema as zodSchema9 } from "@ai-sdk/provider-utils";
|
|
2259
|
+
var EVALUATION_FALLBACK_MAX_CONDITION_DEPTH = 5;
|
|
2260
|
+
var EVALUATION_FALLBACK_MAX_CONDITIONS_PER_LIST = 20;
|
|
2261
|
+
var EVALUATION_FALLBACK_MAX_QUESTION_LENGTH = 256;
|
|
2262
|
+
var gatewayEvaluationProviderOptionsSchema = lazySchema9(
|
|
2263
|
+
() => zodSchema9(
|
|
2264
|
+
z.object({
|
|
2265
|
+
models: gatewayModelFallbacksSchema.optional()
|
|
2266
|
+
}).catchall(z.unknown())
|
|
2267
|
+
)
|
|
2268
|
+
);
|
|
2269
|
+
var probabilitySchema = z.number().finite().min(0).max(1);
|
|
2270
|
+
var questionSchema = z.string().min(1).max(EVALUATION_FALLBACK_MAX_QUESTION_LENGTH);
|
|
2271
|
+
var directConditionSchema = z.union([
|
|
2272
|
+
z.object({
|
|
2273
|
+
question: questionSchema.optional(),
|
|
2274
|
+
confidenceBelow: probabilitySchema
|
|
2275
|
+
}).strict(),
|
|
2276
|
+
z.object({
|
|
2277
|
+
question: questionSchema.optional(),
|
|
2278
|
+
probabilityBetween: z.array(probabilitySchema).length(2).refine(([minimum, maximum]) => minimum <= maximum, {
|
|
2279
|
+
message: "probabilityBetween minimum must be less than or equal to maximum"
|
|
2280
|
+
})
|
|
2281
|
+
}).strict()
|
|
2282
|
+
]);
|
|
2283
|
+
var groupBeyondMaxDepthSchema = z.union([
|
|
2284
|
+
z.object({ any: z.unknown() }),
|
|
2285
|
+
z.object({ all: z.unknown() }),
|
|
2286
|
+
z.object({ atLeast: z.unknown() })
|
|
2287
|
+
]).superRefine((_, context) => {
|
|
2288
|
+
context.addIssue({
|
|
2289
|
+
code: "custom",
|
|
2290
|
+
message: `conditions can be nested at most ${EVALUATION_FALLBACK_MAX_CONDITION_DEPTH} levels deep`
|
|
2291
|
+
});
|
|
2292
|
+
});
|
|
2293
|
+
var conditionalModelFallbackSchema = z.object({
|
|
2294
|
+
model: z.string().min(1),
|
|
2295
|
+
when: conditionSchema(1)
|
|
2296
|
+
}).strict();
|
|
2297
|
+
var gatewayModelFallbacksSchema = z.array(z.union([z.string(), conditionalModelFallbackSchema])).superRefine((entries, context) => {
|
|
2298
|
+
const conditionalIndexes = entries.flatMap(
|
|
2299
|
+
(entry, index) => typeof entry === "string" ? [] : [index]
|
|
2300
|
+
);
|
|
2301
|
+
if (conditionalIndexes.length > 1) {
|
|
2302
|
+
context.addIssue({
|
|
2303
|
+
code: "custom",
|
|
2304
|
+
message: "models supports at most one conditional evaluation fallback"
|
|
2305
|
+
});
|
|
2306
|
+
}
|
|
2307
|
+
if (conditionalIndexes[0] !== void 0 && conditionalIndexes[0] !== 0) {
|
|
2308
|
+
context.addIssue({
|
|
2309
|
+
code: "custom",
|
|
2310
|
+
message: "a conditional evaluation fallback must be the first models entry",
|
|
2311
|
+
path: [conditionalIndexes[0]]
|
|
2312
|
+
});
|
|
2313
|
+
}
|
|
2314
|
+
});
|
|
2315
|
+
function conditionSchema(depth) {
|
|
2316
|
+
if (depth === EVALUATION_FALLBACK_MAX_CONDITION_DEPTH) {
|
|
2317
|
+
return z.union([
|
|
2318
|
+
directConditionSchema,
|
|
2319
|
+
groupBeyondMaxDepthSchema
|
|
2320
|
+
]);
|
|
2321
|
+
}
|
|
2322
|
+
const childConditionSchema = conditionSchema(depth + 1);
|
|
2323
|
+
const conditionListSchema = z.array(childConditionSchema).min(1).max(EVALUATION_FALLBACK_MAX_CONDITIONS_PER_LIST);
|
|
2324
|
+
return z.union([
|
|
2325
|
+
directConditionSchema,
|
|
2326
|
+
z.object({ any: conditionListSchema }).strict(),
|
|
2327
|
+
z.object({ all: conditionListSchema }).strict(),
|
|
2328
|
+
z.object({
|
|
2329
|
+
atLeast: z.object({
|
|
2330
|
+
count: z.number().int().min(1),
|
|
2331
|
+
conditions: conditionListSchema
|
|
2332
|
+
}).strict().refine(({ count, conditions }) => count <= conditions.length, {
|
|
2333
|
+
message: "atLeast count cannot exceed the number of conditions",
|
|
2334
|
+
path: ["count"]
|
|
2335
|
+
})
|
|
2336
|
+
}).strict()
|
|
2337
|
+
]);
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
// src/gateway-evaluation-model.ts
|
|
2341
|
+
var GatewayEvaluationModel = class {
|
|
2342
|
+
constructor(modelId, config) {
|
|
2343
|
+
this.modelId = modelId;
|
|
2344
|
+
this.config = config;
|
|
2345
|
+
this.specificationVersion = "v4";
|
|
2346
|
+
this.supportedQuestionTypes = ["choice", "score", "boolean"];
|
|
2347
|
+
}
|
|
2348
|
+
get provider() {
|
|
2349
|
+
return this.config.provider;
|
|
2350
|
+
}
|
|
2351
|
+
async doEvaluate({
|
|
2352
|
+
state,
|
|
2353
|
+
questions,
|
|
2354
|
+
headers,
|
|
2355
|
+
abortSignal,
|
|
2356
|
+
providerOptions
|
|
2357
|
+
}) {
|
|
2358
|
+
const gatewayOptions = await parseProviderOptions({
|
|
2359
|
+
provider: "gateway",
|
|
2360
|
+
providerOptions,
|
|
2361
|
+
schema: gatewayEvaluationProviderOptionsSchema
|
|
2362
|
+
});
|
|
2363
|
+
const validatedProviderOptions = gatewayOptions == null ? providerOptions : { ...providerOptions, gateway: gatewayOptions };
|
|
2364
|
+
const resolvedHeaders = this.config.headers ? await resolve9(this.config.headers) : void 0;
|
|
2365
|
+
try {
|
|
2366
|
+
const {
|
|
2367
|
+
responseHeaders,
|
|
2368
|
+
value: responseBody,
|
|
2369
|
+
rawValue
|
|
2370
|
+
} = await postJsonToApi6({
|
|
2371
|
+
url: this.getUrl(),
|
|
2372
|
+
headers: combineHeaders6(
|
|
2373
|
+
resolvedHeaders,
|
|
2374
|
+
headers ?? {},
|
|
2375
|
+
this.getModelConfigHeaders(),
|
|
2376
|
+
await resolve9(this.config.o11yHeaders)
|
|
2377
|
+
),
|
|
2378
|
+
body: {
|
|
2379
|
+
state,
|
|
2380
|
+
questions,
|
|
2381
|
+
...validatedProviderOptions ? { providerOptions: validatedProviderOptions } : {}
|
|
2382
|
+
},
|
|
2383
|
+
successfulResponseHandler: createJsonResponseHandler9(
|
|
2384
|
+
gatewayEvaluationResponseSchema
|
|
2385
|
+
),
|
|
2386
|
+
failedResponseHandler: createJsonErrorResponseHandler9({
|
|
2387
|
+
errorSchema: z.any(),
|
|
2388
|
+
errorToMessage: (data) => getErrorMessage9(data) ?? "unknown error"
|
|
2389
|
+
}),
|
|
2390
|
+
...abortSignal && { abortSignal },
|
|
2391
|
+
fetch: this.config.fetch
|
|
2392
|
+
});
|
|
2393
|
+
return {
|
|
2394
|
+
answers: responseBody.answers,
|
|
2395
|
+
...responseBody.rounding ? { rounding: responseBody.rounding } : {},
|
|
2396
|
+
...responseBody.usage ? { usage: responseBody.usage } : {},
|
|
2397
|
+
warnings: responseBody.warnings ?? [],
|
|
2398
|
+
providerMetadata: responseBody.providerMetadata,
|
|
2399
|
+
response: {
|
|
2400
|
+
modelId: responseBody.model ?? this.modelId,
|
|
2401
|
+
headers: responseHeaders,
|
|
2402
|
+
body: rawValue
|
|
2403
|
+
}
|
|
2404
|
+
};
|
|
2405
|
+
} catch (error) {
|
|
2406
|
+
throw await asGatewayError(
|
|
2407
|
+
error,
|
|
2408
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
2409
|
+
);
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
getUrl() {
|
|
2413
|
+
return `${this.config.baseURL}/evaluation-model`;
|
|
2414
|
+
}
|
|
2415
|
+
getModelConfigHeaders() {
|
|
2416
|
+
return {
|
|
2417
|
+
"ai-evaluation-model-specification-version": "4",
|
|
2418
|
+
"ai-model-id": this.modelId
|
|
2419
|
+
};
|
|
2420
|
+
}
|
|
2421
|
+
};
|
|
2422
|
+
var gatewayEvaluationAnswerSchema = z.discriminatedUnion("type", [
|
|
2423
|
+
z.object({
|
|
2424
|
+
type: z.literal("choice"),
|
|
2425
|
+
choice: z.string(),
|
|
2426
|
+
probabilities: z.record(z.string(), z.number()).optional()
|
|
2427
|
+
}),
|
|
2428
|
+
z.object({
|
|
2429
|
+
type: z.literal("score"),
|
|
2430
|
+
score: z.number(),
|
|
2431
|
+
probabilities: z.record(z.string(), z.number()).optional()
|
|
1823
2432
|
}),
|
|
1824
2433
|
z.object({
|
|
1825
|
-
type: z.literal("
|
|
1826
|
-
|
|
1827
|
-
errorType: z.string(),
|
|
1828
|
-
statusCode: z.number(),
|
|
1829
|
-
param: z.unknown().nullable()
|
|
2434
|
+
type: z.literal("boolean"),
|
|
2435
|
+
probability: z.number()
|
|
1830
2436
|
})
|
|
1831
2437
|
]);
|
|
1832
|
-
var
|
|
1833
|
-
operation: z.unknown(),
|
|
1834
|
-
warnings: z.array(gatewayVideoWarningSchema).nullish(),
|
|
1835
|
-
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
1836
|
-
});
|
|
1837
|
-
var gatewayVideoStatusResponseSchema = z.discriminatedUnion("status", [
|
|
2438
|
+
var gatewayEvaluationWarningSchema = z.discriminatedUnion("type", [
|
|
1838
2439
|
z.object({
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
2440
|
+
type: z.literal("unsupported"),
|
|
2441
|
+
feature: z.string(),
|
|
2442
|
+
details: z.string().optional()
|
|
1842
2443
|
}),
|
|
1843
2444
|
z.object({
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
providerMetadata: z.record(z.string(), providerMetadataEntrySchema2).nullish()
|
|
2445
|
+
type: z.literal("compatibility"),
|
|
2446
|
+
feature: z.string(),
|
|
2447
|
+
details: z.string().optional()
|
|
1848
2448
|
}),
|
|
1849
2449
|
z.object({
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
2450
|
+
type: z.literal("deprecated"),
|
|
2451
|
+
setting: z.string(),
|
|
2452
|
+
message: z.string()
|
|
1853
2453
|
}),
|
|
1854
2454
|
z.object({
|
|
1855
|
-
|
|
1856
|
-
|
|
2455
|
+
type: z.literal("other"),
|
|
2456
|
+
message: z.string()
|
|
1857
2457
|
})
|
|
1858
2458
|
]);
|
|
2459
|
+
var gatewayEvaluationResponseSchema = lazySchema10(
|
|
2460
|
+
() => zodSchema10(
|
|
2461
|
+
z.object({
|
|
2462
|
+
answers: z.record(z.string(), gatewayEvaluationAnswerSchema),
|
|
2463
|
+
model: z.string().optional(),
|
|
2464
|
+
rounding: z.object({
|
|
2465
|
+
probabilityDecimals: z.number().optional(),
|
|
2466
|
+
scoreDecimals: z.number().optional()
|
|
2467
|
+
}).optional(),
|
|
2468
|
+
usage: z.object({
|
|
2469
|
+
inputTokens: z.number().optional(),
|
|
2470
|
+
outputTokens: z.number().optional()
|
|
2471
|
+
}).optional(),
|
|
2472
|
+
warnings: z.array(gatewayEvaluationWarningSchema).optional(),
|
|
2473
|
+
providerMetadata: z.record(z.string(), z.record(z.string(), z.unknown())).optional()
|
|
2474
|
+
})
|
|
2475
|
+
)
|
|
2476
|
+
);
|
|
1859
2477
|
|
|
1860
2478
|
// src/gateway-reranking-model.ts
|
|
1861
2479
|
import {
|
|
1862
|
-
combineHeaders as
|
|
1863
|
-
createJsonErrorResponseHandler as
|
|
1864
|
-
createJsonResponseHandler as
|
|
1865
|
-
getErrorMessage as
|
|
1866
|
-
lazySchema as
|
|
1867
|
-
postJsonToApi as
|
|
1868
|
-
resolve as
|
|
1869
|
-
zodSchema as
|
|
2480
|
+
combineHeaders as combineHeaders7,
|
|
2481
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler10,
|
|
2482
|
+
createJsonResponseHandler as createJsonResponseHandler10,
|
|
2483
|
+
getErrorMessage as getErrorMessage10,
|
|
2484
|
+
lazySchema as lazySchema11,
|
|
2485
|
+
postJsonToApi as postJsonToApi7,
|
|
2486
|
+
resolve as resolve10,
|
|
2487
|
+
zodSchema as zodSchema11
|
|
1870
2488
|
} from "@ai-sdk/provider-utils";
|
|
1871
2489
|
var GatewayRerankingModel = class {
|
|
1872
2490
|
constructor(modelId, config) {
|
|
@@ -1885,20 +2503,19 @@ var GatewayRerankingModel = class {
|
|
|
1885
2503
|
abortSignal,
|
|
1886
2504
|
providerOptions
|
|
1887
2505
|
}) {
|
|
1888
|
-
|
|
1889
|
-
const resolvedHeaders = this.config.headers ? await resolve8(this.config.headers) : void 0;
|
|
2506
|
+
const resolvedHeaders = this.config.headers ? await resolve10(this.config.headers) : void 0;
|
|
1890
2507
|
try {
|
|
1891
2508
|
const {
|
|
1892
2509
|
responseHeaders,
|
|
1893
2510
|
value: responseBody,
|
|
1894
2511
|
rawValue
|
|
1895
|
-
} = await
|
|
2512
|
+
} = await postJsonToApi7({
|
|
1896
2513
|
url: this.getUrl(),
|
|
1897
|
-
headers:
|
|
2514
|
+
headers: combineHeaders7(
|
|
1898
2515
|
resolvedHeaders,
|
|
1899
|
-
headers
|
|
2516
|
+
headers ?? {},
|
|
1900
2517
|
this.getModelConfigHeaders(),
|
|
1901
|
-
await
|
|
2518
|
+
await resolve10(this.config.o11yHeaders)
|
|
1902
2519
|
),
|
|
1903
2520
|
body: {
|
|
1904
2521
|
documents,
|
|
@@ -1906,15 +2523,12 @@ var GatewayRerankingModel = class {
|
|
|
1906
2523
|
...topN != null ? { topN } : {},
|
|
1907
2524
|
...providerOptions ? { providerOptions } : {}
|
|
1908
2525
|
},
|
|
1909
|
-
successfulResponseHandler:
|
|
2526
|
+
successfulResponseHandler: createJsonResponseHandler10(
|
|
1910
2527
|
gatewayRerankingResponseSchema
|
|
1911
2528
|
),
|
|
1912
|
-
failedResponseHandler:
|
|
2529
|
+
failedResponseHandler: createJsonErrorResponseHandler10({
|
|
1913
2530
|
errorSchema: z.any(),
|
|
1914
|
-
errorToMessage: (data) =>
|
|
1915
|
-
var _a12;
|
|
1916
|
-
return (_a12 = getErrorMessage8(data)) != null ? _a12 : "unknown error";
|
|
1917
|
-
}
|
|
2531
|
+
errorToMessage: (data) => getErrorMessage10(data) ?? "unknown error"
|
|
1918
2532
|
}),
|
|
1919
2533
|
...abortSignal && { abortSignal },
|
|
1920
2534
|
fetch: this.config.fetch
|
|
@@ -1923,12 +2537,12 @@ var GatewayRerankingModel = class {
|
|
|
1923
2537
|
ranking: responseBody.ranking,
|
|
1924
2538
|
providerMetadata: responseBody.providerMetadata,
|
|
1925
2539
|
response: { headers: responseHeaders, body: rawValue },
|
|
1926
|
-
warnings:
|
|
2540
|
+
warnings: responseBody.warnings ?? []
|
|
1927
2541
|
};
|
|
1928
2542
|
} catch (error) {
|
|
1929
2543
|
throw await asGatewayError(
|
|
1930
2544
|
error,
|
|
1931
|
-
await parseAuthMethod(resolvedHeaders
|
|
2545
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
1932
2546
|
);
|
|
1933
2547
|
}
|
|
1934
2548
|
}
|
|
@@ -1963,8 +2577,8 @@ var gatewayRerankingWarningSchema = z.discriminatedUnion("type", [
|
|
|
1963
2577
|
message: z.string()
|
|
1964
2578
|
})
|
|
1965
2579
|
]);
|
|
1966
|
-
var gatewayRerankingResponseSchema =
|
|
1967
|
-
() =>
|
|
2580
|
+
var gatewayRerankingResponseSchema = lazySchema11(
|
|
2581
|
+
() => zodSchema11(
|
|
1968
2582
|
z.object({
|
|
1969
2583
|
ranking: z.array(
|
|
1970
2584
|
z.object({
|
|
@@ -1980,12 +2594,12 @@ var gatewayRerankingResponseSchema = lazySchema9(
|
|
|
1980
2594
|
|
|
1981
2595
|
// src/gateway-speech-model.ts
|
|
1982
2596
|
import {
|
|
1983
|
-
combineHeaders as
|
|
1984
|
-
createJsonErrorResponseHandler as
|
|
1985
|
-
createJsonResponseHandler as
|
|
1986
|
-
getErrorMessage as
|
|
1987
|
-
postJsonToApi as
|
|
1988
|
-
resolve as
|
|
2597
|
+
combineHeaders as combineHeaders8,
|
|
2598
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler11,
|
|
2599
|
+
createJsonResponseHandler as createJsonResponseHandler11,
|
|
2600
|
+
getErrorMessage as getErrorMessage11,
|
|
2601
|
+
postJsonToApi as postJsonToApi8,
|
|
2602
|
+
resolve as resolve11
|
|
1989
2603
|
} from "@ai-sdk/provider-utils";
|
|
1990
2604
|
var GatewaySpeechModel = class {
|
|
1991
2605
|
constructor(modelId, config) {
|
|
@@ -2007,20 +2621,19 @@ var GatewaySpeechModel = class {
|
|
|
2007
2621
|
headers,
|
|
2008
2622
|
abortSignal
|
|
2009
2623
|
}) {
|
|
2010
|
-
|
|
2011
|
-
const resolvedHeaders = this.config.headers ? await resolve9(this.config.headers) : void 0;
|
|
2624
|
+
const resolvedHeaders = this.config.headers ? await resolve11(this.config.headers) : void 0;
|
|
2012
2625
|
try {
|
|
2013
2626
|
const {
|
|
2014
2627
|
responseHeaders,
|
|
2015
2628
|
value: responseBody,
|
|
2016
2629
|
rawValue
|
|
2017
|
-
} = await
|
|
2630
|
+
} = await postJsonToApi8({
|
|
2018
2631
|
url: this.getUrl(),
|
|
2019
|
-
headers:
|
|
2632
|
+
headers: combineHeaders8(
|
|
2020
2633
|
resolvedHeaders,
|
|
2021
|
-
headers
|
|
2634
|
+
headers ?? {},
|
|
2022
2635
|
this.getModelConfigHeaders(),
|
|
2023
|
-
await
|
|
2636
|
+
await resolve11(this.config.o11yHeaders)
|
|
2024
2637
|
),
|
|
2025
2638
|
body: {
|
|
2026
2639
|
text,
|
|
@@ -2031,22 +2644,19 @@ var GatewaySpeechModel = class {
|
|
|
2031
2644
|
...language && { language },
|
|
2032
2645
|
...providerOptions && { providerOptions }
|
|
2033
2646
|
},
|
|
2034
|
-
successfulResponseHandler:
|
|
2647
|
+
successfulResponseHandler: createJsonResponseHandler11(
|
|
2035
2648
|
gatewaySpeechResponseSchema
|
|
2036
2649
|
),
|
|
2037
|
-
failedResponseHandler:
|
|
2650
|
+
failedResponseHandler: createJsonErrorResponseHandler11({
|
|
2038
2651
|
errorSchema: z.any(),
|
|
2039
|
-
errorToMessage: (data) =>
|
|
2040
|
-
var _a12;
|
|
2041
|
-
return (_a12 = getErrorMessage9(data)) != null ? _a12 : "unknown error";
|
|
2042
|
-
}
|
|
2652
|
+
errorToMessage: (data) => getErrorMessage11(data) ?? "unknown error"
|
|
2043
2653
|
}),
|
|
2044
2654
|
...abortSignal && { abortSignal },
|
|
2045
2655
|
fetch: this.config.fetch
|
|
2046
2656
|
});
|
|
2047
2657
|
return {
|
|
2048
2658
|
audio: responseBody.audio,
|
|
2049
|
-
warnings:
|
|
2659
|
+
warnings: responseBody.warnings ?? [],
|
|
2050
2660
|
providerMetadata: responseBody.providerMetadata,
|
|
2051
2661
|
response: {
|
|
2052
2662
|
timestamp: /* @__PURE__ */ new Date(),
|
|
@@ -2058,7 +2668,7 @@ var GatewaySpeechModel = class {
|
|
|
2058
2668
|
} catch (error) {
|
|
2059
2669
|
throw await asGatewayError(
|
|
2060
2670
|
error,
|
|
2061
|
-
await parseAuthMethod(resolvedHeaders
|
|
2671
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
2062
2672
|
);
|
|
2063
2673
|
}
|
|
2064
2674
|
}
|
|
@@ -2102,19 +2712,19 @@ var gatewaySpeechResponseSchema = z.object({
|
|
|
2102
2712
|
|
|
2103
2713
|
// src/gateway-transcription-model.ts
|
|
2104
2714
|
import {
|
|
2105
|
-
getErrorMessage as
|
|
2715
|
+
getErrorMessage as getErrorMessage12
|
|
2106
2716
|
} from "@ai-sdk/provider";
|
|
2107
2717
|
import {
|
|
2108
|
-
combineHeaders as
|
|
2718
|
+
combineHeaders as combineHeaders9,
|
|
2109
2719
|
convertBase64ToUint8Array,
|
|
2110
2720
|
convertUint8ArrayToBase64 as convertUint8ArrayToBase643,
|
|
2111
|
-
createJsonErrorResponseHandler as
|
|
2112
|
-
createJsonResponseHandler as
|
|
2721
|
+
createJsonErrorResponseHandler as createJsonErrorResponseHandler12,
|
|
2722
|
+
createJsonResponseHandler as createJsonResponseHandler12,
|
|
2113
2723
|
connectToWebSocket,
|
|
2114
2724
|
normalizeHeaders,
|
|
2115
2725
|
experimental_parseTranscriptionStreamPart as parseTranscriptionStreamPart,
|
|
2116
|
-
postJsonToApi as
|
|
2117
|
-
resolve as
|
|
2726
|
+
postJsonToApi as postJsonToApi9,
|
|
2727
|
+
resolve as resolve12,
|
|
2118
2728
|
EXPERIMENTAL_TRANSCRIPTION_STREAM_AUDIO_DONE_FRAME_TYPE as TRANSCRIPTION_STREAM_AUDIO_DONE_FRAME_TYPE,
|
|
2119
2729
|
waitForWebSocketBufferDrain,
|
|
2120
2730
|
EXPERIMENTAL_TRANSCRIPTION_STREAM_START_FRAME_TYPE as TRANSCRIPTION_STREAM_START_FRAME_TYPE
|
|
@@ -2135,45 +2745,41 @@ var GatewayTranscriptionModel = class {
|
|
|
2135
2745
|
headers,
|
|
2136
2746
|
abortSignal
|
|
2137
2747
|
}) {
|
|
2138
|
-
|
|
2139
|
-
const resolvedHeaders = this.config.headers ? await resolve10(this.config.headers) : void 0;
|
|
2748
|
+
const resolvedHeaders = this.config.headers ? await resolve12(this.config.headers) : void 0;
|
|
2140
2749
|
try {
|
|
2141
2750
|
const {
|
|
2142
2751
|
responseHeaders,
|
|
2143
2752
|
value: responseBody,
|
|
2144
2753
|
rawValue
|
|
2145
|
-
} = await
|
|
2754
|
+
} = await postJsonToApi9({
|
|
2146
2755
|
url: this.getUrl(),
|
|
2147
|
-
headers:
|
|
2756
|
+
headers: combineHeaders9(
|
|
2148
2757
|
resolvedHeaders,
|
|
2149
|
-
headers
|
|
2758
|
+
headers ?? {},
|
|
2150
2759
|
this.getModelConfigHeaders(),
|
|
2151
|
-
await
|
|
2760
|
+
await resolve12(this.config.o11yHeaders)
|
|
2152
2761
|
),
|
|
2153
2762
|
body: {
|
|
2154
2763
|
audio: audio instanceof Uint8Array ? convertUint8ArrayToBase643(audio) : audio,
|
|
2155
2764
|
mediaType,
|
|
2156
2765
|
...providerOptions && { providerOptions }
|
|
2157
2766
|
},
|
|
2158
|
-
successfulResponseHandler:
|
|
2767
|
+
successfulResponseHandler: createJsonResponseHandler12(
|
|
2159
2768
|
gatewayTranscriptionResponseSchema
|
|
2160
2769
|
),
|
|
2161
|
-
failedResponseHandler:
|
|
2770
|
+
failedResponseHandler: createJsonErrorResponseHandler12({
|
|
2162
2771
|
errorSchema: z.any(),
|
|
2163
|
-
errorToMessage: (data) =>
|
|
2164
|
-
var _a12;
|
|
2165
|
-
return (_a12 = getErrorMessage10(data)) != null ? _a12 : "unknown error";
|
|
2166
|
-
}
|
|
2772
|
+
errorToMessage: (data) => getErrorMessage12(data) ?? "unknown error"
|
|
2167
2773
|
}),
|
|
2168
2774
|
...abortSignal && { abortSignal },
|
|
2169
2775
|
fetch: this.config.fetch
|
|
2170
2776
|
});
|
|
2171
2777
|
return {
|
|
2172
2778
|
text: responseBody.text,
|
|
2173
|
-
segments:
|
|
2174
|
-
language:
|
|
2175
|
-
durationInSeconds:
|
|
2176
|
-
warnings:
|
|
2779
|
+
segments: responseBody.segments ?? [],
|
|
2780
|
+
language: responseBody.language ?? void 0,
|
|
2781
|
+
durationInSeconds: responseBody.durationInSeconds ?? void 0,
|
|
2782
|
+
warnings: responseBody.warnings ?? [],
|
|
2177
2783
|
providerMetadata: responseBody.providerMetadata,
|
|
2178
2784
|
response: {
|
|
2179
2785
|
timestamp: /* @__PURE__ */ new Date(),
|
|
@@ -2185,18 +2791,17 @@ var GatewayTranscriptionModel = class {
|
|
|
2185
2791
|
} catch (error) {
|
|
2186
2792
|
throw await asGatewayError(
|
|
2187
2793
|
error,
|
|
2188
|
-
await parseAuthMethod(resolvedHeaders
|
|
2794
|
+
await parseAuthMethod(resolvedHeaders ?? {})
|
|
2189
2795
|
);
|
|
2190
2796
|
}
|
|
2191
2797
|
}
|
|
2192
2798
|
async doStream(options) {
|
|
2193
|
-
|
|
2194
|
-
const
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
(_e = options.headers) != null ? _e : {},
|
|
2799
|
+
const currentDate = this.config._internal?.currentDate?.() ?? /* @__PURE__ */ new Date();
|
|
2800
|
+
const headers = combineHeaders9(
|
|
2801
|
+
await resolve12(this.config.headers ?? {}),
|
|
2802
|
+
options.headers ?? {},
|
|
2198
2803
|
this.getModelConfigHeaders(),
|
|
2199
|
-
await
|
|
2804
|
+
await resolve12(this.config.o11yHeaders)
|
|
2200
2805
|
);
|
|
2201
2806
|
const authMethod = await parseAuthMethod(headers);
|
|
2202
2807
|
const startFrame = {
|
|
@@ -2242,7 +2847,7 @@ function toGatewayTranscriptionUrl(baseURL, modelId) {
|
|
|
2242
2847
|
function getProtocolsFromHeaders(headers) {
|
|
2243
2848
|
const normalizedHeaders = normalizeHeaders(headers);
|
|
2244
2849
|
const authorization = normalizedHeaders.authorization;
|
|
2245
|
-
const token =
|
|
2850
|
+
const token = authorization?.startsWith("Bearer ") ? authorization.slice("Bearer ".length) : void 0;
|
|
2246
2851
|
return token == null ? [GATEWAY_TRANSCRIPTION_SUBPROTOCOL] : getGatewayTranscriptionProtocols(token, {
|
|
2247
2852
|
teamIdOrSlug: normalizedHeaders[VERCEL_AI_GATEWAY_TEAM_HEADER]
|
|
2248
2853
|
});
|
|
@@ -2276,7 +2881,7 @@ function createGatewayTranscriptionStream({
|
|
|
2276
2881
|
void audio.cancel().catch(() => {
|
|
2277
2882
|
});
|
|
2278
2883
|
}
|
|
2279
|
-
connection
|
|
2884
|
+
connection?.close(closeCode);
|
|
2280
2885
|
};
|
|
2281
2886
|
const stopAudio = () => {
|
|
2282
2887
|
audioStopped = true;
|
|
@@ -2434,7 +3039,7 @@ function getServerErrorMessage(error) {
|
|
|
2434
3039
|
if (error != null && typeof error === "object" && "message" in error && typeof error.message === "string") {
|
|
2435
3040
|
return error.message;
|
|
2436
3041
|
}
|
|
2437
|
-
return
|
|
3042
|
+
return getErrorMessage12(error);
|
|
2438
3043
|
}
|
|
2439
3044
|
var SERVER_ERROR_STATUS_CODES = {
|
|
2440
3045
|
authentication_error: 401,
|
|
@@ -2479,7 +3084,7 @@ var GatewayRealtimeModel = class {
|
|
|
2479
3084
|
async doCreateClientSecret(options) {
|
|
2480
3085
|
const secret = await this.config.createClientSecret({
|
|
2481
3086
|
modelId: this.modelId,
|
|
2482
|
-
...
|
|
3087
|
+
...options?.expiresAfterSeconds != null && {
|
|
2483
3088
|
expiresAfterSeconds: options.expiresAfterSeconds
|
|
2484
3089
|
}
|
|
2485
3090
|
});
|
|
@@ -2513,14 +3118,130 @@ function toGatewayRealtimeUrl(baseURL, modelId) {
|
|
|
2513
3118
|
return url.toString();
|
|
2514
3119
|
}
|
|
2515
3120
|
|
|
2516
|
-
// src/tool/
|
|
3121
|
+
// src/tool/browserbase-fetch.ts
|
|
2517
3122
|
import {
|
|
2518
3123
|
createProviderExecutedToolFactory,
|
|
2519
|
-
lazySchema as
|
|
2520
|
-
zodSchema as
|
|
3124
|
+
lazySchema as lazySchema12,
|
|
3125
|
+
zodSchema as zodSchema12
|
|
2521
3126
|
} from "@ai-sdk/provider-utils";
|
|
2522
|
-
var
|
|
2523
|
-
|
|
3127
|
+
var jsonObjectSchema = z.record(z.string(), z.unknown());
|
|
3128
|
+
var browserbaseFetchInputSchema = lazySchema12(
|
|
3129
|
+
() => zodSchema12(
|
|
3130
|
+
z.object({
|
|
3131
|
+
url: z.string().url().describe("URL of the page to fetch."),
|
|
3132
|
+
allow_redirects: z.boolean().optional().describe("Whether to follow HTTP redirects (default: false)."),
|
|
3133
|
+
allow_insecure_ssl: z.boolean().optional().describe(
|
|
3134
|
+
"Whether to bypass TLS certificate verification (default: false). Only use for trusted hosts."
|
|
3135
|
+
),
|
|
3136
|
+
proxies: z.boolean().optional().describe(
|
|
3137
|
+
"Whether to route the request through Browserbase proxies (default: false)."
|
|
3138
|
+
),
|
|
3139
|
+
format: z.enum(["raw", "json", "markdown"]).optional().describe(
|
|
3140
|
+
"Output format. raw returns the response body unchanged, markdown returns page content as Markdown, and json returns structured content using schema."
|
|
3141
|
+
),
|
|
3142
|
+
schema: jsonObjectSchema.optional().describe(
|
|
3143
|
+
"JSON Schema for structured extraction. Only use with format set to json."
|
|
3144
|
+
)
|
|
3145
|
+
})
|
|
3146
|
+
)
|
|
3147
|
+
);
|
|
3148
|
+
var browserbaseFetchOutputSchema = lazySchema12(
|
|
3149
|
+
() => zodSchema12(
|
|
3150
|
+
z.union([
|
|
3151
|
+
z.object({
|
|
3152
|
+
id: z.string(),
|
|
3153
|
+
content: z.union([z.string(), jsonObjectSchema]),
|
|
3154
|
+
contentType: z.string(),
|
|
3155
|
+
encoding: z.string(),
|
|
3156
|
+
headers: z.record(z.string(), z.string()),
|
|
3157
|
+
statusCode: z.number()
|
|
3158
|
+
}),
|
|
3159
|
+
z.object({
|
|
3160
|
+
error: z.enum([
|
|
3161
|
+
"api_error",
|
|
3162
|
+
"configuration_error",
|
|
3163
|
+
"execution_error",
|
|
3164
|
+
"invalid_input",
|
|
3165
|
+
"rate_limit",
|
|
3166
|
+
"timeout",
|
|
3167
|
+
"unknown"
|
|
3168
|
+
]),
|
|
3169
|
+
statusCode: z.number().optional(),
|
|
3170
|
+
message: z.string()
|
|
3171
|
+
})
|
|
3172
|
+
])
|
|
3173
|
+
)
|
|
3174
|
+
);
|
|
3175
|
+
var browserbaseFetchToolFactory = createProviderExecutedToolFactory({
|
|
3176
|
+
id: "gateway.browserbase_fetch",
|
|
3177
|
+
inputSchema: browserbaseFetchInputSchema,
|
|
3178
|
+
outputSchema: browserbaseFetchOutputSchema
|
|
3179
|
+
});
|
|
3180
|
+
var browserbaseFetch = (config = {}) => browserbaseFetchToolFactory(config);
|
|
3181
|
+
|
|
3182
|
+
// src/tool/browserbase-search.ts
|
|
3183
|
+
import {
|
|
3184
|
+
createProviderExecutedToolFactory as createProviderExecutedToolFactory2,
|
|
3185
|
+
lazySchema as lazySchema13,
|
|
3186
|
+
zodSchema as zodSchema13
|
|
3187
|
+
} from "@ai-sdk/provider-utils";
|
|
3188
|
+
var browserbaseSearchInputSchema = lazySchema13(
|
|
3189
|
+
() => zodSchema13(
|
|
3190
|
+
z.object({
|
|
3191
|
+
query: z.string().min(1).max(200).describe("Web search query. Must be between 1 and 200 characters."),
|
|
3192
|
+
num_results: z.number().int().min(1).max(25).optional().describe("Maximum number of results to return (1-25, default: 10).")
|
|
3193
|
+
})
|
|
3194
|
+
)
|
|
3195
|
+
);
|
|
3196
|
+
var browserbaseSearchOutputSchema = lazySchema13(
|
|
3197
|
+
() => zodSchema13(
|
|
3198
|
+
z.union([
|
|
3199
|
+
z.object({
|
|
3200
|
+
query: z.string(),
|
|
3201
|
+
requestId: z.string(),
|
|
3202
|
+
results: z.array(
|
|
3203
|
+
z.object({
|
|
3204
|
+
id: z.string(),
|
|
3205
|
+
title: z.string(),
|
|
3206
|
+
url: z.string(),
|
|
3207
|
+
author: z.string().optional(),
|
|
3208
|
+
favicon: z.string().optional(),
|
|
3209
|
+
image: z.string().optional(),
|
|
3210
|
+
publishedDate: z.string().optional()
|
|
3211
|
+
})
|
|
3212
|
+
)
|
|
3213
|
+
}),
|
|
3214
|
+
z.object({
|
|
3215
|
+
error: z.enum([
|
|
3216
|
+
"api_error",
|
|
3217
|
+
"configuration_error",
|
|
3218
|
+
"execution_error",
|
|
3219
|
+
"invalid_input",
|
|
3220
|
+
"rate_limit",
|
|
3221
|
+
"timeout",
|
|
3222
|
+
"unknown"
|
|
3223
|
+
]),
|
|
3224
|
+
statusCode: z.number().optional(),
|
|
3225
|
+
message: z.string()
|
|
3226
|
+
})
|
|
3227
|
+
])
|
|
3228
|
+
)
|
|
3229
|
+
);
|
|
3230
|
+
var browserbaseSearchToolFactory = createProviderExecutedToolFactory2({
|
|
3231
|
+
id: "gateway.browserbase_search",
|
|
3232
|
+
inputSchema: browserbaseSearchInputSchema,
|
|
3233
|
+
outputSchema: browserbaseSearchOutputSchema
|
|
3234
|
+
});
|
|
3235
|
+
var browserbaseSearch = (config = {}) => browserbaseSearchToolFactory(config);
|
|
3236
|
+
|
|
3237
|
+
// src/tool/exa-search.ts
|
|
3238
|
+
import {
|
|
3239
|
+
createProviderExecutedToolFactory as createProviderExecutedToolFactory3,
|
|
3240
|
+
lazySchema as lazySchema14,
|
|
3241
|
+
zodSchema as zodSchema14
|
|
3242
|
+
} from "@ai-sdk/provider-utils";
|
|
3243
|
+
var exaSearchInputSchema = lazySchema14(
|
|
3244
|
+
() => zodSchema14(
|
|
2524
3245
|
z.object({
|
|
2525
3246
|
query: z.string().describe("Natural-language web search query. This is required."),
|
|
2526
3247
|
type: z.enum(["auto", "fast", "instant"]).optional().describe(
|
|
@@ -2590,8 +3311,8 @@ var exaSearchInputSchema = lazySchema10(
|
|
|
2590
3311
|
})
|
|
2591
3312
|
)
|
|
2592
3313
|
);
|
|
2593
|
-
var exaSearchOutputSchema =
|
|
2594
|
-
() =>
|
|
3314
|
+
var exaSearchOutputSchema = lazySchema14(
|
|
3315
|
+
() => zodSchema14(
|
|
2595
3316
|
z.union([
|
|
2596
3317
|
z.object({
|
|
2597
3318
|
requestId: z.string(),
|
|
@@ -2638,7 +3359,7 @@ var exaSearchOutputSchema = lazySchema10(
|
|
|
2638
3359
|
])
|
|
2639
3360
|
)
|
|
2640
3361
|
);
|
|
2641
|
-
var exaSearchToolFactory =
|
|
3362
|
+
var exaSearchToolFactory = createProviderExecutedToolFactory3({
|
|
2642
3363
|
id: "gateway.exa_search",
|
|
2643
3364
|
inputSchema: exaSearchInputSchema,
|
|
2644
3365
|
outputSchema: exaSearchOutputSchema
|
|
@@ -2647,12 +3368,12 @@ var exaSearch = (config = {}) => exaSearchToolFactory(config);
|
|
|
2647
3368
|
|
|
2648
3369
|
// src/tool/parallel-search.ts
|
|
2649
3370
|
import {
|
|
2650
|
-
createProviderExecutedToolFactory as
|
|
2651
|
-
lazySchema as
|
|
2652
|
-
zodSchema as
|
|
3371
|
+
createProviderExecutedToolFactory as createProviderExecutedToolFactory4,
|
|
3372
|
+
lazySchema as lazySchema15,
|
|
3373
|
+
zodSchema as zodSchema15
|
|
2653
3374
|
} from "@ai-sdk/provider-utils";
|
|
2654
|
-
var parallelSearchInputSchema =
|
|
2655
|
-
() =>
|
|
3375
|
+
var parallelSearchInputSchema = lazySchema15(
|
|
3376
|
+
() => zodSchema15(
|
|
2656
3377
|
z.object({
|
|
2657
3378
|
objective: z.string().describe(
|
|
2658
3379
|
"Natural-language description of the web research goal, including source or freshness guidance and broader context from the task. Maximum 5000 characters."
|
|
@@ -2691,8 +3412,8 @@ var parallelSearchInputSchema = lazySchema11(
|
|
|
2691
3412
|
})
|
|
2692
3413
|
)
|
|
2693
3414
|
);
|
|
2694
|
-
var parallelSearchOutputSchema =
|
|
2695
|
-
() =>
|
|
3415
|
+
var parallelSearchOutputSchema = lazySchema15(
|
|
3416
|
+
() => zodSchema15(
|
|
2696
3417
|
z.union([
|
|
2697
3418
|
// Success response
|
|
2698
3419
|
z.object({
|
|
@@ -2723,7 +3444,7 @@ var parallelSearchOutputSchema = lazySchema11(
|
|
|
2723
3444
|
])
|
|
2724
3445
|
)
|
|
2725
3446
|
);
|
|
2726
|
-
var parallelSearchToolFactory =
|
|
3447
|
+
var parallelSearchToolFactory = createProviderExecutedToolFactory4({
|
|
2727
3448
|
id: "gateway.parallel_search",
|
|
2728
3449
|
inputSchema: parallelSearchInputSchema,
|
|
2729
3450
|
outputSchema: parallelSearchOutputSchema
|
|
@@ -2732,12 +3453,12 @@ var parallelSearch = (config = {}) => parallelSearchToolFactory(config);
|
|
|
2732
3453
|
|
|
2733
3454
|
// src/tool/perplexity-search.ts
|
|
2734
3455
|
import {
|
|
2735
|
-
createProviderExecutedToolFactory as
|
|
2736
|
-
lazySchema as
|
|
2737
|
-
zodSchema as
|
|
3456
|
+
createProviderExecutedToolFactory as createProviderExecutedToolFactory5,
|
|
3457
|
+
lazySchema as lazySchema16,
|
|
3458
|
+
zodSchema as zodSchema16
|
|
2738
3459
|
} from "@ai-sdk/provider-utils";
|
|
2739
|
-
var perplexitySearchInputSchema =
|
|
2740
|
-
() =>
|
|
3460
|
+
var perplexitySearchInputSchema = lazySchema16(
|
|
3461
|
+
() => zodSchema16(
|
|
2741
3462
|
z.object({
|
|
2742
3463
|
query: z.union([z.string(), z.array(z.string())]).describe(
|
|
2743
3464
|
"Search query (string) or multiple queries (array of up to 5 strings). Multi-query searches return combined results from all queries."
|
|
@@ -2778,8 +3499,8 @@ var perplexitySearchInputSchema = lazySchema12(
|
|
|
2778
3499
|
})
|
|
2779
3500
|
)
|
|
2780
3501
|
);
|
|
2781
|
-
var perplexitySearchOutputSchema =
|
|
2782
|
-
() =>
|
|
3502
|
+
var perplexitySearchOutputSchema = lazySchema16(
|
|
3503
|
+
() => zodSchema16(
|
|
2783
3504
|
z.union([
|
|
2784
3505
|
// Success response
|
|
2785
3506
|
z.object({
|
|
@@ -2809,15 +3530,240 @@ var perplexitySearchOutputSchema = lazySchema12(
|
|
|
2809
3530
|
])
|
|
2810
3531
|
)
|
|
2811
3532
|
);
|
|
2812
|
-
var perplexitySearchToolFactory =
|
|
3533
|
+
var perplexitySearchToolFactory = createProviderExecutedToolFactory5({
|
|
2813
3534
|
id: "gateway.perplexity_search",
|
|
2814
3535
|
inputSchema: perplexitySearchInputSchema,
|
|
2815
3536
|
outputSchema: perplexitySearchOutputSchema
|
|
2816
3537
|
});
|
|
2817
3538
|
var perplexitySearch = (config = {}) => perplexitySearchToolFactory(config);
|
|
2818
3539
|
|
|
3540
|
+
// src/tool/tako-search.ts
|
|
3541
|
+
import {
|
|
3542
|
+
createProviderExecutedToolFactory as createProviderExecutedToolFactory6,
|
|
3543
|
+
lazySchema as lazySchema17,
|
|
3544
|
+
zodSchema as zodSchema17
|
|
3545
|
+
} from "@ai-sdk/provider-utils";
|
|
3546
|
+
var takoDataSourceInputSchema = z.object({
|
|
3547
|
+
count: z.number().optional().describe(
|
|
3548
|
+
"Maximum number of data results to return (1-20). When include_contents is true, each additional result adds its own data surcharge."
|
|
3549
|
+
),
|
|
3550
|
+
include_contents: z.boolean().optional().describe(
|
|
3551
|
+
"Inline rows for each data result. This adds a data surcharge based on row count and dataset source. To estimate cost, search with include_contents disabled and inspect cards.content.export_pricing. This applies to every returned card; limit sources.data.count and sources.data.max_rows to control cost."
|
|
3552
|
+
),
|
|
3553
|
+
mode: z.enum(["inline", "url"]).optional().describe(
|
|
3554
|
+
"Requested data delivery mode. Search card data is always inline."
|
|
3555
|
+
),
|
|
3556
|
+
content_format: z.enum(["card_json", "csv", "json_compact", "json_records"]).optional().describe("Serialization for inlined card data."),
|
|
3557
|
+
max_rows: z.number().optional().describe(
|
|
3558
|
+
"Maximum rows to inline per result. Omit to use the allowance in cards.content.export_pricing. A data surcharge applies per 1,000 exported rows; lower values reduce cost."
|
|
3559
|
+
),
|
|
3560
|
+
node_ids: z.array(z.string()).optional().describe("Data Graph node IDs to prioritize. Maximum 20."),
|
|
3561
|
+
strict: z.boolean().optional().describe(
|
|
3562
|
+
"Only return cards matching node_ids. Requires a non-empty node_ids."
|
|
3563
|
+
)
|
|
3564
|
+
});
|
|
3565
|
+
var takoWebSourceInputSchema = z.object({
|
|
3566
|
+
count: z.number().optional().describe("Maximum number of web results to return (1-20)."),
|
|
3567
|
+
include_contents: z.boolean().optional().describe("Inline extracted web page text. This can add a data charge."),
|
|
3568
|
+
category: z.enum(["finance", "news", "sports"]).optional().describe("Optional web-result category filter."),
|
|
3569
|
+
include_domains: z.array(z.string()).optional().describe("Only return results from these bare domains."),
|
|
3570
|
+
exclude_domains: z.array(z.string()).optional().describe("Exclude results from these bare domains."),
|
|
3571
|
+
snippet_max_chars: z.number().optional().describe("Maximum characters in each web-result snippet."),
|
|
3572
|
+
highlights: z.boolean().optional().describe(
|
|
3573
|
+
"Include highlighted passages in web results. Defaults to true in AI Gateway."
|
|
3574
|
+
),
|
|
3575
|
+
article_content_max_chars: z.number().optional().describe(
|
|
3576
|
+
"Maximum extracted characters per web page when including contents."
|
|
3577
|
+
),
|
|
3578
|
+
published_after: z.string().optional().describe("Keep results published on or after this ISO date (YYYY-MM-DD)."),
|
|
3579
|
+
published_before: z.string().optional().describe(
|
|
3580
|
+
"Keep results published on or before this ISO date (YYYY-MM-DD)."
|
|
3581
|
+
)
|
|
3582
|
+
});
|
|
3583
|
+
var takoSearchInputSchema = lazySchema17(
|
|
3584
|
+
() => zodSchema17(
|
|
3585
|
+
z.object({
|
|
3586
|
+
query: z.string().describe(
|
|
3587
|
+
'Natural-language search query. Include the entity, metric, and time period. Quote a phrase to force it to one entity, for example "Tesla":PRODUCT price.'
|
|
3588
|
+
),
|
|
3589
|
+
effort: z.enum(["deep", "fast", "instant"]).optional().describe(
|
|
3590
|
+
"Search effort. fast is the balanced default, instant favors cached results and low latency, and deep broadens retrieval with reranking at higher cost and latency."
|
|
3591
|
+
),
|
|
3592
|
+
sources: z.object({
|
|
3593
|
+
data: takoDataSourceInputSchema.optional(),
|
|
3594
|
+
web: takoWebSourceInputSchema.optional()
|
|
3595
|
+
}).optional().describe(
|
|
3596
|
+
"Sources to search. Omit to search both curated data and the web. When provided, only keys present are searched."
|
|
3597
|
+
),
|
|
3598
|
+
location: z.object({
|
|
3599
|
+
latitude: z.number().describe("Latitude between -90 and 90."),
|
|
3600
|
+
longitude: z.number().describe("Longitude between -180 and 180.")
|
|
3601
|
+
}).optional().describe("End-user coordinates for localized results."),
|
|
3602
|
+
country_code: z.string().optional().describe("Two-letter ISO 3166-1 country code, such as 'US'."),
|
|
3603
|
+
locale: z.string().optional().describe("BCP-47 locale, such as 'en-US'."),
|
|
3604
|
+
timezone: z.string().optional().describe("IANA timezone, such as 'America/New_York'."),
|
|
3605
|
+
output_settings: z.object({
|
|
3606
|
+
image_dark_mode: z.boolean().optional().describe("Render card preview images in dark mode."),
|
|
3607
|
+
force_refresh: z.boolean().optional().describe(
|
|
3608
|
+
"Instant-effort only. Request a refreshed instant result."
|
|
3609
|
+
)
|
|
3610
|
+
}).optional().describe("Controls card rendering in the search response."),
|
|
3611
|
+
include_related: z.number().optional().describe("Maximum related search suggestions to include (1-20).")
|
|
3612
|
+
})
|
|
3613
|
+
)
|
|
3614
|
+
);
|
|
3615
|
+
var takoDatasetCellSchema = z.union([z.boolean(), z.number(), z.string()]).nullable();
|
|
3616
|
+
var takoResultContentSchema = z.object({
|
|
3617
|
+
content_format: z.enum(["card_json", "csv", "json_compact", "json_records"]).nullish(),
|
|
3618
|
+
cost: z.number().optional(),
|
|
3619
|
+
data: z.string().nullish(),
|
|
3620
|
+
records: z.array(z.record(z.string(), takoDatasetCellSchema)).nullish(),
|
|
3621
|
+
dataset: z.object({
|
|
3622
|
+
columns: z.array(
|
|
3623
|
+
z.object({
|
|
3624
|
+
name: z.string(),
|
|
3625
|
+
type: z.enum(["boolean", "date", "datetime", "number", "string"]),
|
|
3626
|
+
unit: z.string().nullish()
|
|
3627
|
+
})
|
|
3628
|
+
),
|
|
3629
|
+
rows: z.array(z.array(takoDatasetCellSchema)),
|
|
3630
|
+
total_rows: z.number(),
|
|
3631
|
+
truncated: z.boolean(),
|
|
3632
|
+
ref: z.string(),
|
|
3633
|
+
sources: z.array(
|
|
3634
|
+
z.object({
|
|
3635
|
+
name: z.string(),
|
|
3636
|
+
index: z.enum(["data", "web"]).optional()
|
|
3637
|
+
})
|
|
3638
|
+
),
|
|
3639
|
+
provenance: z.enum(["query", "web_extraction"]).optional()
|
|
3640
|
+
}).nullish(),
|
|
3641
|
+
card_data: z.object({}).passthrough().nullish(),
|
|
3642
|
+
card_data_schema: z.object({}).passthrough().nullish(),
|
|
3643
|
+
url: z.string().nullish(),
|
|
3644
|
+
expires_at: z.string().nullish(),
|
|
3645
|
+
total_rows: z.number().nullish(),
|
|
3646
|
+
truncated: z.boolean().optional(),
|
|
3647
|
+
export_pricing: z.object({
|
|
3648
|
+
baseline_usd: z.number(),
|
|
3649
|
+
free_rows: z.number(),
|
|
3650
|
+
max_rows_ceiling: z.number(),
|
|
3651
|
+
row_cpm_usd: z.number()
|
|
3652
|
+
}).nullish(),
|
|
3653
|
+
manifest: z.array(
|
|
3654
|
+
z.object({
|
|
3655
|
+
dtype: z.enum(["boolean", "date", "datetime", "number", "string"]).nullish(),
|
|
3656
|
+
entity: z.string().nullish(),
|
|
3657
|
+
metric: z.string().nullish(),
|
|
3658
|
+
name: z.string().nullish(),
|
|
3659
|
+
unit: z.string().nullish()
|
|
3660
|
+
})
|
|
3661
|
+
).nullish()
|
|
3662
|
+
}).passthrough();
|
|
3663
|
+
var takoCardSchema = z.object({
|
|
3664
|
+
card_id: z.string().nullish(),
|
|
3665
|
+
title: z.string().nullish(),
|
|
3666
|
+
description: z.string().nullish(),
|
|
3667
|
+
semantic_description: z.string().nullish(),
|
|
3668
|
+
webpage_url: z.string().nullish(),
|
|
3669
|
+
image_url: z.string().nullish(),
|
|
3670
|
+
embed_url: z.string().nullish(),
|
|
3671
|
+
sources: z.array(
|
|
3672
|
+
z.object({
|
|
3673
|
+
source_name: z.string().nullish(),
|
|
3674
|
+
source_description: z.string().nullish(),
|
|
3675
|
+
source_index: z.enum(["data", "web"]),
|
|
3676
|
+
source_text: z.string().nullish(),
|
|
3677
|
+
url: z.string().nullish()
|
|
3678
|
+
})
|
|
3679
|
+
).nullish(),
|
|
3680
|
+
methodologies: z.array(
|
|
3681
|
+
z.object({
|
|
3682
|
+
methodology_name: z.string().nullable(),
|
|
3683
|
+
methodology_description: z.string().nullable()
|
|
3684
|
+
})
|
|
3685
|
+
).nullish(),
|
|
3686
|
+
source_indexes: z.array(z.enum(["data", "web"])).nullish(),
|
|
3687
|
+
card_type: z.string().nullish(),
|
|
3688
|
+
relevance: z.enum(["High", "Low", "Medium"]).nullish(),
|
|
3689
|
+
content: takoResultContentSchema.nullish(),
|
|
3690
|
+
exportable: z.boolean().optional(),
|
|
3691
|
+
nodes: z.array(
|
|
3692
|
+
z.object({
|
|
3693
|
+
id: z.string(),
|
|
3694
|
+
type: z.enum(["entity", "metric"]),
|
|
3695
|
+
name: z.string(),
|
|
3696
|
+
description: z.string().nullish()
|
|
3697
|
+
})
|
|
3698
|
+
).nullish(),
|
|
3699
|
+
metric_definitions: z.array(z.object({ name: z.string(), definition: z.string() })).nullish(),
|
|
3700
|
+
data_freshness: z.object({
|
|
3701
|
+
coverage_end: z.string().nullish(),
|
|
3702
|
+
data_as_of: z.string().nullish(),
|
|
3703
|
+
last_updated: z.string().nullish()
|
|
3704
|
+
}).nullish()
|
|
3705
|
+
}).passthrough();
|
|
3706
|
+
var takoWebResultSchema = z.object({
|
|
3707
|
+
title: z.string(),
|
|
3708
|
+
url: z.string(),
|
|
3709
|
+
snippet: z.string().nullish(),
|
|
3710
|
+
source_name: z.string().nullish(),
|
|
3711
|
+
publish_date: z.string().nullish(),
|
|
3712
|
+
content: takoResultContentSchema.nullish()
|
|
3713
|
+
}).passthrough();
|
|
3714
|
+
var takoSearchOutputSchema = lazySchema17(
|
|
3715
|
+
() => zodSchema17(
|
|
3716
|
+
z.union([
|
|
3717
|
+
z.object({
|
|
3718
|
+
request_id: z.string(),
|
|
3719
|
+
cards: z.array(takoCardSchema).optional(),
|
|
3720
|
+
web_results: z.array(takoWebResultSchema).optional(),
|
|
3721
|
+
usage: z.object({
|
|
3722
|
+
total_cost_usd: z.number(),
|
|
3723
|
+
compute: z.object({ cost_usd: z.number() }).nullish(),
|
|
3724
|
+
data: z.object({ cost_usd: z.number(), datasets: z.number() }).nullish()
|
|
3725
|
+
}).nullish(),
|
|
3726
|
+
related: z.array(z.object({}).passthrough()).nullish()
|
|
3727
|
+
}).passthrough(),
|
|
3728
|
+
z.object({
|
|
3729
|
+
error: z.enum([
|
|
3730
|
+
"api_error",
|
|
3731
|
+
"configuration_error",
|
|
3732
|
+
"execution_error",
|
|
3733
|
+
"invalid_input",
|
|
3734
|
+
"rate_limit",
|
|
3735
|
+
"timeout",
|
|
3736
|
+
"unknown_tool"
|
|
3737
|
+
]),
|
|
3738
|
+
statusCode: z.number().optional(),
|
|
3739
|
+
message: z.string()
|
|
3740
|
+
})
|
|
3741
|
+
])
|
|
3742
|
+
)
|
|
3743
|
+
);
|
|
3744
|
+
var takoSearchToolFactory = createProviderExecutedToolFactory6({
|
|
3745
|
+
id: "gateway.tako_search",
|
|
3746
|
+
inputSchema: takoSearchInputSchema,
|
|
3747
|
+
outputSchema: takoSearchOutputSchema
|
|
3748
|
+
});
|
|
3749
|
+
var takoSearch = (config = {}) => takoSearchToolFactory(config);
|
|
3750
|
+
|
|
2819
3751
|
// src/gateway-tools.ts
|
|
2820
3752
|
var gatewayTools = {
|
|
3753
|
+
/**
|
|
3754
|
+
* Fetch page content using Browserbase's lightweight Fetch API.
|
|
3755
|
+
*
|
|
3756
|
+
* Supports raw, Markdown, and schema-driven JSON output as well as redirects,
|
|
3757
|
+
* proxy routing, and TLS controls.
|
|
3758
|
+
*/
|
|
3759
|
+
browserbaseFetch,
|
|
3760
|
+
/**
|
|
3761
|
+
* Search the web using Browserbase's Search API for fast, structured results.
|
|
3762
|
+
*
|
|
3763
|
+
* Returns titles, URLs, and available publication metadata without requiring
|
|
3764
|
+
* a browser session.
|
|
3765
|
+
*/
|
|
3766
|
+
browserbaseSearch,
|
|
2821
3767
|
/**
|
|
2822
3768
|
* Search the web using Exa for current information and token-efficient
|
|
2823
3769
|
* excerpts optimized for agent workflows.
|
|
@@ -2842,19 +3788,27 @@ var gatewayTools = {
|
|
|
2842
3788
|
* Provides ranked search results with advanced filtering options including
|
|
2843
3789
|
* domain, language, date range, and recency filters.
|
|
2844
3790
|
*/
|
|
2845
|
-
perplexitySearch
|
|
3791
|
+
perplexitySearch,
|
|
3792
|
+
/**
|
|
3793
|
+
* Search the web and Tako's curated knowledge graph in one call for
|
|
3794
|
+
* token-efficient web excerpts and structured data results grounded in
|
|
3795
|
+
* premium sources, each with an embed-ready visualization.
|
|
3796
|
+
*
|
|
3797
|
+
* Supports effort, per-source web and data controls, localization, and inline
|
|
3798
|
+
* contents for agents that need to reason over underlying data.
|
|
3799
|
+
*/
|
|
3800
|
+
takoSearch
|
|
2846
3801
|
};
|
|
2847
3802
|
|
|
2848
3803
|
// src/vercel-environment.ts
|
|
2849
3804
|
import { getContext } from "@vercel/oidc";
|
|
2850
3805
|
import { getVercelOidcToken } from "@vercel/oidc";
|
|
2851
3806
|
async function getVercelRequestId() {
|
|
2852
|
-
|
|
2853
|
-
return (_a11 = getContext().headers) == null ? void 0 : _a11["x-vercel-id"];
|
|
3807
|
+
return getContext().headers?.["x-vercel-id"];
|
|
2854
3808
|
}
|
|
2855
3809
|
|
|
2856
3810
|
// src/version.ts
|
|
2857
|
-
var VERSION = true ? "4.0.
|
|
3811
|
+
var VERSION = true ? "4.0.100" : "0.0.0-test";
|
|
2858
3812
|
|
|
2859
3813
|
// src/gateway-provider.ts
|
|
2860
3814
|
var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
|
|
@@ -2863,12 +3817,11 @@ var gatewayClientSecretResponseSchema = z.object({
|
|
|
2863
3817
|
expiresAt: z.number().nullish()
|
|
2864
3818
|
});
|
|
2865
3819
|
function createGateway(options = {}) {
|
|
2866
|
-
var _a11, _b11;
|
|
2867
3820
|
let pendingMetadata = null;
|
|
2868
3821
|
let metadataCache = null;
|
|
2869
|
-
const cacheRefreshMillis =
|
|
3822
|
+
const cacheRefreshMillis = options.metadataCacheRefreshMillis ?? 1e3 * 60 * 5;
|
|
2870
3823
|
let lastFetchTime = 0;
|
|
2871
|
-
const baseURL =
|
|
3824
|
+
const baseURL = withoutTrailingSlash(options.baseURL) ?? "https://ai-gateway.vercel.sh/v4/ai";
|
|
2872
3825
|
const createAuthHeaders = (auth) => withUserAgentSuffix(
|
|
2873
3826
|
{
|
|
2874
3827
|
Authorization: `Bearer ${auth.token}`,
|
|
@@ -2877,7 +3830,7 @@ function createGateway(options = {}) {
|
|
|
2877
3830
|
...options.teamIdOrSlug != null ? { [VERCEL_AI_GATEWAY_TEAM_HEADER]: options.teamIdOrSlug } : {},
|
|
2878
3831
|
...options.headers
|
|
2879
3832
|
},
|
|
2880
|
-
`ai-sdk
|
|
3833
|
+
`ai-sdk-gateway/${VERSION}`
|
|
2881
3834
|
);
|
|
2882
3835
|
const getHeaders = async () => {
|
|
2883
3836
|
try {
|
|
@@ -2909,7 +3862,7 @@ function createGateway(options = {}) {
|
|
|
2909
3862
|
const headers = createAuthHeaders(auth);
|
|
2910
3863
|
const url = new URL("/v1/realtime/client-secrets", baseURL).toString();
|
|
2911
3864
|
try {
|
|
2912
|
-
const { value } = await
|
|
3865
|
+
const { value } = await postJsonToApi10({
|
|
2913
3866
|
url,
|
|
2914
3867
|
headers,
|
|
2915
3868
|
body: {
|
|
@@ -2919,15 +3872,12 @@ function createGateway(options = {}) {
|
|
|
2919
3872
|
expiresIn: params.expiresAfterSeconds
|
|
2920
3873
|
}
|
|
2921
3874
|
},
|
|
2922
|
-
successfulResponseHandler:
|
|
3875
|
+
successfulResponseHandler: createJsonResponseHandler13(
|
|
2923
3876
|
gatewayClientSecretResponseSchema
|
|
2924
3877
|
),
|
|
2925
|
-
failedResponseHandler:
|
|
3878
|
+
failedResponseHandler: createJsonErrorResponseHandler13({
|
|
2926
3879
|
errorSchema: z.any(),
|
|
2927
|
-
errorToMessage: (data) =>
|
|
2928
|
-
var _a12;
|
|
2929
|
-
return (_a12 = getErrorMessage11(data)) != null ? _a12 : "unknown error";
|
|
2930
|
-
}
|
|
3880
|
+
errorToMessage: (data) => getErrorMessage13(data) ?? "unknown error"
|
|
2931
3881
|
}),
|
|
2932
3882
|
fetch: options.fetch
|
|
2933
3883
|
});
|
|
@@ -2976,9 +3926,15 @@ function createGateway(options = {}) {
|
|
|
2976
3926
|
o11yHeaders: createO11yHeaders()
|
|
2977
3927
|
});
|
|
2978
3928
|
};
|
|
3929
|
+
const createBatch = () => new GatewayBatch({
|
|
3930
|
+
provider: "gateway",
|
|
3931
|
+
baseURL,
|
|
3932
|
+
headers: getHeaders,
|
|
3933
|
+
fetch: options.fetch,
|
|
3934
|
+
o11yHeaders: createO11yHeaders()
|
|
3935
|
+
});
|
|
2979
3936
|
const getAvailableModels = async () => {
|
|
2980
|
-
|
|
2981
|
-
const now = (_c = (_b12 = (_a12 = options._internal) == null ? void 0 : _a12.currentDate) == null ? void 0 : _b12.call(_a12).getTime()) != null ? _c : Date.now();
|
|
3937
|
+
const now = options._internal?.currentDate?.().getTime() ?? Date.now();
|
|
2982
3938
|
if (!pendingMetadata || now - lastFetchTime > cacheRefreshMillis) {
|
|
2983
3939
|
lastFetchTime = now;
|
|
2984
3940
|
pendingMetadata = new GatewayFetchMetadata({
|
|
@@ -3056,6 +4012,7 @@ function createGateway(options = {}) {
|
|
|
3056
4012
|
});
|
|
3057
4013
|
};
|
|
3058
4014
|
provider.languageModel = createLanguageModel;
|
|
4015
|
+
provider.experimental_batch = createBatch;
|
|
3059
4016
|
const createEmbeddingModel = (modelId) => {
|
|
3060
4017
|
return new GatewayEmbeddingModel(modelId, {
|
|
3061
4018
|
provider: "gateway",
|
|
@@ -3087,6 +4044,17 @@ function createGateway(options = {}) {
|
|
|
3087
4044
|
};
|
|
3088
4045
|
provider.rerankingModel = createRerankingModel;
|
|
3089
4046
|
provider.reranking = createRerankingModel;
|
|
4047
|
+
const createEvaluationModel = (modelId) => {
|
|
4048
|
+
return new GatewayEvaluationModel(modelId, {
|
|
4049
|
+
provider: "gateway",
|
|
4050
|
+
baseURL,
|
|
4051
|
+
headers: getHeaders,
|
|
4052
|
+
fetch: options.fetch,
|
|
4053
|
+
o11yHeaders: createO11yHeaders()
|
|
4054
|
+
});
|
|
4055
|
+
};
|
|
4056
|
+
provider.evaluationModel = createEvaluationModel;
|
|
4057
|
+
provider.evaluation = createEvaluationModel;
|
|
3090
4058
|
const createSpeechModel = (modelId) => {
|
|
3091
4059
|
return new GatewaySpeechModel(modelId, {
|
|
3092
4060
|
provider: "gateway",
|
|
@@ -3194,6 +4162,7 @@ export {
|
|
|
3194
4162
|
GatewayInternalServerError,
|
|
3195
4163
|
GatewayInvalidRequestError,
|
|
3196
4164
|
GatewayModelNotFoundError,
|
|
4165
|
+
GatewayNotFoundError,
|
|
3197
4166
|
GatewayRateLimitError,
|
|
3198
4167
|
GatewayResponseError,
|
|
3199
4168
|
VERSION,
|