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
|
@@ -10,18 +10,16 @@ function asAsyncIterableStream(stream) {
|
|
|
10
10
|
const reader = this.getReader();
|
|
11
11
|
let finished = false;
|
|
12
12
|
async function cleanup(cancelStream) {
|
|
13
|
-
|
|
14
|
-
if (finished)
|
|
15
|
-
return;
|
|
13
|
+
if (finished) return;
|
|
16
14
|
finished = true;
|
|
17
15
|
try {
|
|
18
16
|
if (cancelStream) {
|
|
19
|
-
await
|
|
17
|
+
await reader.cancel?.();
|
|
20
18
|
}
|
|
21
19
|
} finally {
|
|
22
20
|
try {
|
|
23
21
|
reader.releaseLock();
|
|
24
|
-
} catch
|
|
22
|
+
} catch {
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
25
|
}
|
|
@@ -86,13 +84,13 @@ import {
|
|
|
86
84
|
DownloadError,
|
|
87
85
|
readResponseWithSizeLimit,
|
|
88
86
|
DEFAULT_MAX_DOWNLOAD_SIZE,
|
|
89
|
-
|
|
87
|
+
fetchUntrustedUrl,
|
|
90
88
|
withUserAgentSuffix,
|
|
91
89
|
getRuntimeEnvironmentUserAgent
|
|
92
90
|
} from "@ai-sdk/provider-utils";
|
|
93
91
|
|
|
94
92
|
// src/version.ts
|
|
95
|
-
var VERSION = true ? "7.0.
|
|
93
|
+
var VERSION = true ? "7.0.122" : "0.0.0-test";
|
|
96
94
|
|
|
97
95
|
// src/util/download/download.ts
|
|
98
96
|
var download = async ({
|
|
@@ -100,7 +98,6 @@ var download = async ({
|
|
|
100
98
|
maxBytes,
|
|
101
99
|
abortSignal
|
|
102
100
|
}) => {
|
|
103
|
-
var _a12;
|
|
104
101
|
const urlText = url.toString();
|
|
105
102
|
try {
|
|
106
103
|
const headers = withUserAgentSuffix(
|
|
@@ -108,7 +105,7 @@ var download = async ({
|
|
|
108
105
|
`ai-sdk/${VERSION}`,
|
|
109
106
|
getRuntimeEnvironmentUserAgent()
|
|
110
107
|
);
|
|
111
|
-
const response = await
|
|
108
|
+
const response = await fetchUntrustedUrl({
|
|
112
109
|
url: urlText,
|
|
113
110
|
headers,
|
|
114
111
|
abortSignal
|
|
@@ -124,11 +121,11 @@ var download = async ({
|
|
|
124
121
|
const data = await readResponseWithSizeLimit({
|
|
125
122
|
response,
|
|
126
123
|
url: urlText,
|
|
127
|
-
maxBytes: maxBytes
|
|
124
|
+
maxBytes: maxBytes ?? DEFAULT_MAX_DOWNLOAD_SIZE
|
|
128
125
|
});
|
|
129
126
|
return {
|
|
130
127
|
data,
|
|
131
|
-
mediaType:
|
|
128
|
+
mediaType: response.headers.get("content-type") ?? void 0
|
|
132
129
|
};
|
|
133
130
|
} catch (error) {
|
|
134
131
|
if (DownloadError.isInstance(error)) {
|
|
@@ -139,9 +136,9 @@ var download = async ({
|
|
|
139
136
|
};
|
|
140
137
|
|
|
141
138
|
// src/util/download/download-function.ts
|
|
142
|
-
var createDefaultDownloadFunction = (download2 = download) => (requestedDownloads) => Promise.all(
|
|
139
|
+
var createDefaultDownloadFunction = (download2 = download, abortSignal) => (requestedDownloads) => Promise.all(
|
|
143
140
|
requestedDownloads.map(
|
|
144
|
-
async (requestedDownload) => requestedDownload.isUrlSupportedByModel ? null : await download2(requestedDownload)
|
|
141
|
+
async (requestedDownload) => requestedDownload.isUrlSupportedByModel ? null : await download2({ ...requestedDownload, abortSignal })
|
|
145
142
|
)
|
|
146
143
|
);
|
|
147
144
|
|
|
@@ -163,8 +160,7 @@ function mergeObjects(base, overrides) {
|
|
|
163
160
|
}
|
|
164
161
|
if (Object.prototype.hasOwnProperty.call(overrides, key)) {
|
|
165
162
|
const overridesValue = overrides[key];
|
|
166
|
-
if (overridesValue === void 0)
|
|
167
|
-
continue;
|
|
163
|
+
if (overridesValue === void 0) continue;
|
|
168
164
|
const baseValue = key in base ? base[key] : void 0;
|
|
169
165
|
const isSourceObject = overridesValue !== null && typeof overridesValue === "object" && !Array.isArray(overridesValue) && !(overridesValue instanceof Date) && !(overridesValue instanceof RegExp);
|
|
170
166
|
const isTargetObject = baseValue !== null && baseValue !== void 0 && typeof baseValue === "object" && !Array.isArray(baseValue) && !(baseValue instanceof Date) && !(baseValue instanceof RegExp);
|
|
@@ -192,8 +188,8 @@ import { AISDKError } from "@ai-sdk/provider";
|
|
|
192
188
|
var name = "AI_InvalidDataContentError";
|
|
193
189
|
var marker = `vercel.ai.error.${name}`;
|
|
194
190
|
var symbol = Symbol.for(marker);
|
|
195
|
-
var _a;
|
|
196
|
-
var InvalidDataContentError = class extends AISDKError {
|
|
191
|
+
var _a, _b;
|
|
192
|
+
var InvalidDataContentError = class extends (_b = AISDKError, _a = symbol, _b) {
|
|
197
193
|
constructor({
|
|
198
194
|
content,
|
|
199
195
|
cause,
|
|
@@ -207,7 +203,6 @@ var InvalidDataContentError = class extends AISDKError {
|
|
|
207
203
|
return AISDKError.hasMarker(error, marker);
|
|
208
204
|
}
|
|
209
205
|
};
|
|
210
|
-
_a = symbol;
|
|
211
206
|
|
|
212
207
|
// src/prompt/split-data-url.ts
|
|
213
208
|
function splitDataUrl(dataUrl) {
|
|
@@ -217,7 +212,7 @@ function splitDataUrl(dataUrl) {
|
|
|
217
212
|
mediaType: header.split(";")[0].split(":")[1],
|
|
218
213
|
base64Content
|
|
219
214
|
};
|
|
220
|
-
} catch
|
|
215
|
+
} catch {
|
|
221
216
|
return {
|
|
222
217
|
mediaType: void 0,
|
|
223
218
|
base64Content: void 0
|
|
@@ -227,12 +222,11 @@ function splitDataUrl(dataUrl) {
|
|
|
227
222
|
|
|
228
223
|
// src/prompt/file-part-data.ts
|
|
229
224
|
function isTaggedFileData(value) {
|
|
230
|
-
if (typeof value !== "object" || value === null)
|
|
231
|
-
return false;
|
|
225
|
+
if (typeof value !== "object" || value === null) return false;
|
|
232
226
|
const type = value.type;
|
|
233
227
|
return type === "data" || type === "url" || type === "reference" || type === "text";
|
|
234
228
|
}
|
|
235
|
-
function convertUrlToFilePartData(url) {
|
|
229
|
+
function convertUrlToFilePartData(url, originalUrl) {
|
|
236
230
|
if (url.protocol === "data:") {
|
|
237
231
|
const { mediaType, base64Content } = splitDataUrl(url.toString());
|
|
238
232
|
if (mediaType == null || base64Content == null) {
|
|
@@ -243,7 +237,17 @@ function convertUrlToFilePartData(url) {
|
|
|
243
237
|
}
|
|
244
238
|
return { data: { type: "data", data: base64Content }, mediaType };
|
|
245
239
|
}
|
|
246
|
-
return {
|
|
240
|
+
return {
|
|
241
|
+
data: { type: "url", url, ...originalUrl != null ? { originalUrl } : {} },
|
|
242
|
+
mediaType: void 0
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function convertUrlStringToFilePartData(content) {
|
|
246
|
+
const result = convertUrlToFilePartData(new URL(content));
|
|
247
|
+
if (result.data.type === "url" && result.data.url.toString() !== content) {
|
|
248
|
+
result.data.originalUrl = content;
|
|
249
|
+
}
|
|
250
|
+
return result;
|
|
247
251
|
}
|
|
248
252
|
function convertInlineDataToFilePartData(content) {
|
|
249
253
|
if (content instanceof Uint8Array) {
|
|
@@ -278,7 +282,7 @@ function convertToLanguageModelV4FilePart(content) {
|
|
|
278
282
|
}
|
|
279
283
|
return convertInlineDataToFilePartData(content.data);
|
|
280
284
|
case "url":
|
|
281
|
-
return convertUrlToFilePartData(content.url);
|
|
285
|
+
return convertUrlToFilePartData(content.url, content.originalUrl);
|
|
282
286
|
case "reference":
|
|
283
287
|
return {
|
|
284
288
|
data: { type: "reference", reference: content.reference },
|
|
@@ -296,8 +300,8 @@ function convertToLanguageModelV4FilePart(content) {
|
|
|
296
300
|
}
|
|
297
301
|
if (typeof content === "string") {
|
|
298
302
|
try {
|
|
299
|
-
return
|
|
300
|
-
} catch
|
|
303
|
+
return convertUrlStringToFilePartData(content);
|
|
304
|
+
} catch {
|
|
301
305
|
return convertInlineDataToFilePartData(content);
|
|
302
306
|
}
|
|
303
307
|
}
|
|
@@ -393,8 +397,8 @@ import { AISDKError as AISDKError2 } from "@ai-sdk/provider";
|
|
|
393
397
|
var name2 = "AI_InvalidMessageRoleError";
|
|
394
398
|
var marker2 = `vercel.ai.error.${name2}`;
|
|
395
399
|
var symbol2 = Symbol.for(marker2);
|
|
396
|
-
var _a2;
|
|
397
|
-
var InvalidMessageRoleError = class extends AISDKError2 {
|
|
400
|
+
var _a2, _b2;
|
|
401
|
+
var InvalidMessageRoleError = class extends (_b2 = AISDKError2, _a2 = symbol2, _b2) {
|
|
398
402
|
constructor({
|
|
399
403
|
role,
|
|
400
404
|
message = `Invalid message role: '${role}'. Must be one of: "system", "user", "assistant", "tool".`
|
|
@@ -407,15 +411,14 @@ var InvalidMessageRoleError = class extends AISDKError2 {
|
|
|
407
411
|
return AISDKError2.hasMarker(error, marker2);
|
|
408
412
|
}
|
|
409
413
|
};
|
|
410
|
-
_a2 = symbol2;
|
|
411
414
|
|
|
412
415
|
// src/error/missing-tool-result-error.ts
|
|
413
416
|
import { AISDKError as AISDKError3 } from "@ai-sdk/provider";
|
|
414
417
|
var name3 = "AI_MissingToolResultsError";
|
|
415
418
|
var marker3 = `vercel.ai.error.${name3}`;
|
|
416
419
|
var symbol3 = Symbol.for(marker3);
|
|
417
|
-
var _a3;
|
|
418
|
-
var MissingToolResultsError = class extends AISDKError3 {
|
|
420
|
+
var _a3, _b3;
|
|
421
|
+
var MissingToolResultsError = class extends (_b3 = AISDKError3, _a3 = symbol3, _b3) {
|
|
419
422
|
constructor({ toolCallIds }) {
|
|
420
423
|
super({
|
|
421
424
|
name: name3,
|
|
@@ -430,20 +433,20 @@ var MissingToolResultsError = class extends AISDKError3 {
|
|
|
430
433
|
return AISDKError3.hasMarker(error, marker3);
|
|
431
434
|
}
|
|
432
435
|
};
|
|
433
|
-
_a3 = symbol3;
|
|
434
436
|
|
|
435
437
|
// src/prompt/convert-to-language-model-prompt.ts
|
|
436
438
|
async function convertToLanguageModelPrompt({
|
|
437
439
|
prompt,
|
|
438
440
|
supportedUrls,
|
|
439
|
-
download: download2
|
|
441
|
+
download: download2,
|
|
442
|
+
abortSignal,
|
|
440
443
|
// `provider` is only needed here to convert legacy tool output types via `mapToolResultOutput`.
|
|
441
444
|
// TODO: remove in v8 when "file-id" and "image-file-id" types are removed
|
|
442
445
|
provider
|
|
443
446
|
}) {
|
|
444
447
|
const downloadedAssets = await downloadAssets(
|
|
445
448
|
prompt.messages,
|
|
446
|
-
download2,
|
|
449
|
+
download2 ?? createDefaultDownloadFunction(void 0, abortSignal),
|
|
447
450
|
supportedUrls
|
|
448
451
|
);
|
|
449
452
|
const approvalIdToToolCallId = /* @__PURE__ */ new Map();
|
|
@@ -489,7 +492,7 @@ async function convertToLanguageModelPrompt({
|
|
|
489
492
|
continue;
|
|
490
493
|
}
|
|
491
494
|
const lastCombinedMessage = combinedMessages.at(-1);
|
|
492
|
-
if (
|
|
495
|
+
if (lastCombinedMessage?.role === "tool") {
|
|
493
496
|
const lastContentPart = lastCombinedMessage.content.at(-1);
|
|
494
497
|
if (lastContentPart != null && lastCombinedMessage.providerOptions != null) {
|
|
495
498
|
lastContentPart.providerOptions = mergeObjects(
|
|
@@ -626,7 +629,7 @@ function convertToLanguageModelMessage({
|
|
|
626
629
|
type: "file",
|
|
627
630
|
data,
|
|
628
631
|
filename: part.filename,
|
|
629
|
-
mediaType: mediaType
|
|
632
|
+
mediaType: mediaType ?? part.mediaType,
|
|
630
633
|
providerOptions
|
|
631
634
|
};
|
|
632
635
|
}
|
|
@@ -649,7 +652,7 @@ function convertToLanguageModelMessage({
|
|
|
649
652
|
return {
|
|
650
653
|
type: "reasoning-file",
|
|
651
654
|
data,
|
|
652
|
-
mediaType: mediaType
|
|
655
|
+
mediaType: mediaType ?? part.mediaType,
|
|
653
656
|
providerOptions
|
|
654
657
|
};
|
|
655
658
|
}
|
|
@@ -739,14 +742,13 @@ function convertToLanguageModelMessage({
|
|
|
739
742
|
}
|
|
740
743
|
}
|
|
741
744
|
function convertImagePartToFilePart(part) {
|
|
742
|
-
var _a12;
|
|
743
745
|
if (part.type !== "image") {
|
|
744
746
|
return part;
|
|
745
747
|
}
|
|
746
748
|
return {
|
|
747
749
|
type: "file",
|
|
748
750
|
data: part.image,
|
|
749
|
-
mediaType:
|
|
751
|
+
mediaType: part.mediaType ?? "image",
|
|
750
752
|
providerOptions: part.providerOptions
|
|
751
753
|
};
|
|
752
754
|
}
|
|
@@ -823,7 +825,7 @@ function convertPartToLanguageModelPart(part, downloadedAssets) {
|
|
|
823
825
|
};
|
|
824
826
|
}
|
|
825
827
|
const { data: normalizedData, mediaType: dataUrlMediaType } = convertToLanguageModelV4FilePart(part.data);
|
|
826
|
-
let mediaType = dataUrlMediaType
|
|
828
|
+
let mediaType = dataUrlMediaType ?? part.mediaType;
|
|
827
829
|
let data = normalizedData;
|
|
828
830
|
if (data.type === "url") {
|
|
829
831
|
const downloadedFile = downloadedAssets[data.url.toString()];
|
|
@@ -868,7 +870,6 @@ function mapToolResultOutput({
|
|
|
868
870
|
return {
|
|
869
871
|
type: "content",
|
|
870
872
|
value: output.value.map((item) => {
|
|
871
|
-
var _a12;
|
|
872
873
|
switch (item.type) {
|
|
873
874
|
case "file": {
|
|
874
875
|
const convertedPart = convertPartToLanguageModelPart(
|
|
@@ -897,7 +898,8 @@ function mapToolResultOutput({
|
|
|
897
898
|
};
|
|
898
899
|
}
|
|
899
900
|
case "file-url": {
|
|
900
|
-
const mediaType =
|
|
901
|
+
const mediaType = item.mediaType ?? getMediaTypeFromUrl(item.url);
|
|
902
|
+
const url = new URL(item.url);
|
|
901
903
|
let message = `The "file-url" type for tool result content is deprecated. Use the "file" type with mediaType and { type: 'url', url } instead.`;
|
|
902
904
|
if (!item.mediaType) {
|
|
903
905
|
const inferenceSuffix = mediaType === "application/octet-stream" ? `Unable to infer media type from URL. Defaulting to 'application/octet-stream'.` : `Inferred media type '${mediaType}' from URL.`;
|
|
@@ -910,7 +912,11 @@ function mapToolResultOutput({
|
|
|
910
912
|
});
|
|
911
913
|
return {
|
|
912
914
|
type: "file",
|
|
913
|
-
data: {
|
|
915
|
+
data: {
|
|
916
|
+
type: "url",
|
|
917
|
+
url,
|
|
918
|
+
...url.toString() !== item.url ? { originalUrl: item.url } : {}
|
|
919
|
+
},
|
|
914
920
|
mediaType,
|
|
915
921
|
providerOptions: item.providerOptions
|
|
916
922
|
};
|
|
@@ -950,6 +956,8 @@ function mapToolResultOutput({
|
|
|
950
956
|
providerOptions: item.providerOptions
|
|
951
957
|
};
|
|
952
958
|
}
|
|
959
|
+
// The "image-*" types are legacy and deprecated.
|
|
960
|
+
// TODO: remove migration in v8 in combination with the removal of these types from the provider utils.
|
|
953
961
|
case "image-data": {
|
|
954
962
|
warnings.push({
|
|
955
963
|
type: "deprecated",
|
|
@@ -964,6 +972,7 @@ function mapToolResultOutput({
|
|
|
964
972
|
};
|
|
965
973
|
}
|
|
966
974
|
case "image-url": {
|
|
975
|
+
const url = new URL(item.url);
|
|
967
976
|
warnings.push({
|
|
968
977
|
type: "deprecated",
|
|
969
978
|
setting: '"tool-result" content of type "image-url"',
|
|
@@ -971,7 +980,11 @@ function mapToolResultOutput({
|
|
|
971
980
|
});
|
|
972
981
|
return {
|
|
973
982
|
type: "file",
|
|
974
|
-
data: {
|
|
983
|
+
data: {
|
|
984
|
+
type: "url",
|
|
985
|
+
url,
|
|
986
|
+
...url.toString() !== item.url ? { originalUrl: item.url } : {}
|
|
987
|
+
},
|
|
975
988
|
mediaType: "image",
|
|
976
989
|
providerOptions: item.providerOptions
|
|
977
990
|
};
|
|
@@ -1051,14 +1064,13 @@ var URL_EXTENSION_TO_MEDIA_TYPE = {
|
|
|
1051
1064
|
ogg: "audio/ogg"
|
|
1052
1065
|
};
|
|
1053
1066
|
function getMediaTypeFromUrl(url, fallbackMediaType = "application/octet-stream") {
|
|
1054
|
-
var _a12;
|
|
1055
1067
|
try {
|
|
1056
1068
|
const pathname = new URL(url).pathname;
|
|
1057
|
-
const fileExtension =
|
|
1069
|
+
const fileExtension = pathname.split(".").pop()?.toLowerCase();
|
|
1058
1070
|
if (fileExtension && Object.hasOwn(URL_EXTENSION_TO_MEDIA_TYPE, fileExtension)) {
|
|
1059
1071
|
return URL_EXTENSION_TO_MEDIA_TYPE[fileExtension];
|
|
1060
1072
|
}
|
|
1061
|
-
} catch
|
|
1073
|
+
} catch {
|
|
1062
1074
|
}
|
|
1063
1075
|
return fallbackMediaType;
|
|
1064
1076
|
}
|
|
@@ -1069,7 +1081,7 @@ async function createToolModelOutput({
|
|
|
1069
1081
|
toolCallId,
|
|
1070
1082
|
input,
|
|
1071
1083
|
output,
|
|
1072
|
-
tool,
|
|
1084
|
+
tool: tool2,
|
|
1073
1085
|
errorMode
|
|
1074
1086
|
}) {
|
|
1075
1087
|
if (errorMode === "text") {
|
|
@@ -1077,13 +1089,17 @@ async function createToolModelOutput({
|
|
|
1077
1089
|
} else if (errorMode === "json") {
|
|
1078
1090
|
return { type: "error-json", value: toJSONValue(output) };
|
|
1079
1091
|
}
|
|
1080
|
-
if (
|
|
1081
|
-
return await
|
|
1092
|
+
if (tool2?.toModelOutput) {
|
|
1093
|
+
return await tool2.toModelOutput({ toolCallId, input, output });
|
|
1082
1094
|
}
|
|
1083
1095
|
return typeof output === "string" ? { type: "text", value: output } : { type: "json", value: toJSONValue(output) };
|
|
1084
1096
|
}
|
|
1085
1097
|
function toJSONValue(value) {
|
|
1086
|
-
|
|
1098
|
+
if (value === void 0) {
|
|
1099
|
+
return null;
|
|
1100
|
+
}
|
|
1101
|
+
const serialized = JSON.stringify(value);
|
|
1102
|
+
return serialized === void 0 ? null : JSON.parse(serialized);
|
|
1087
1103
|
}
|
|
1088
1104
|
|
|
1089
1105
|
// src/prompt/prepare-tool-choice.ts
|
|
@@ -1114,25 +1130,25 @@ async function prepareTools({
|
|
|
1114
1130
|
return void 0;
|
|
1115
1131
|
}
|
|
1116
1132
|
const languageModelTools = [];
|
|
1117
|
-
for (const [name12,
|
|
1118
|
-
const toolType =
|
|
1133
|
+
for (const [name12, tool2] of orderToolEntries({ tools, toolOrder })) {
|
|
1134
|
+
const toolType = tool2.type;
|
|
1119
1135
|
switch (toolType) {
|
|
1120
1136
|
case void 0:
|
|
1121
1137
|
case "dynamic":
|
|
1122
1138
|
case "function": {
|
|
1123
1139
|
const description = resolveToolDescription({
|
|
1124
|
-
tool,
|
|
1140
|
+
tool: tool2,
|
|
1125
1141
|
toolName: name12,
|
|
1126
1142
|
toolsContext,
|
|
1127
1143
|
experimental_sandbox: sandbox
|
|
1128
1144
|
});
|
|
1129
|
-
const providerOptions =
|
|
1130
|
-
const inputExamples =
|
|
1131
|
-
const strict =
|
|
1145
|
+
const providerOptions = tool2.providerOptions;
|
|
1146
|
+
const inputExamples = tool2.inputExamples;
|
|
1147
|
+
const strict = tool2.strict;
|
|
1132
1148
|
languageModelTools.push({
|
|
1133
1149
|
type: "function",
|
|
1134
1150
|
name: name12,
|
|
1135
|
-
inputSchema: await asSchema(
|
|
1151
|
+
inputSchema: await asSchema(tool2.inputSchema).jsonSchema,
|
|
1136
1152
|
...description != null ? { description } : {},
|
|
1137
1153
|
...inputExamples != null ? { inputExamples } : {},
|
|
1138
1154
|
...providerOptions != null ? { providerOptions } : {},
|
|
@@ -1144,8 +1160,8 @@ async function prepareTools({
|
|
|
1144
1160
|
languageModelTools.push({
|
|
1145
1161
|
type: "provider",
|
|
1146
1162
|
name: name12,
|
|
1147
|
-
id:
|
|
1148
|
-
args:
|
|
1163
|
+
id: tool2.id,
|
|
1164
|
+
args: tool2.args
|
|
1149
1165
|
});
|
|
1150
1166
|
break;
|
|
1151
1167
|
}
|
|
@@ -1172,12 +1188,12 @@ function orderToolEntries({
|
|
|
1172
1188
|
return [...orderedTools, ...unorderedTools];
|
|
1173
1189
|
}
|
|
1174
1190
|
function resolveToolDescription({
|
|
1175
|
-
tool,
|
|
1191
|
+
tool: tool2,
|
|
1176
1192
|
toolName,
|
|
1177
1193
|
toolsContext,
|
|
1178
1194
|
experimental_sandbox: sandbox
|
|
1179
1195
|
}) {
|
|
1180
|
-
return
|
|
1196
|
+
return tool2.description === void 0 ? void 0 : typeof tool2.description === "string" ? tool2.description : tool2.description({
|
|
1181
1197
|
context: toolsContext[toolName],
|
|
1182
1198
|
experimental_sandbox: sandbox
|
|
1183
1199
|
});
|
|
@@ -1443,7 +1459,11 @@ var toolApprovalRequestSchema = z.object(
|
|
|
1443
1459
|
{
|
|
1444
1460
|
type: z.literal("tool-approval-request"),
|
|
1445
1461
|
approvalId: z.string(),
|
|
1446
|
-
toolCallId: z.string()
|
|
1462
|
+
toolCallId: z.string(),
|
|
1463
|
+
reason: z.string().optional(),
|
|
1464
|
+
isAutomatic: z.boolean().optional(),
|
|
1465
|
+
signature: z.string().optional(),
|
|
1466
|
+
inputSchemaInput: z.unknown().optional()
|
|
1447
1467
|
}
|
|
1448
1468
|
);
|
|
1449
1469
|
var toolApprovalResponseSchema = z.object({
|
|
@@ -1565,8 +1585,8 @@ import { AISDKError as AISDKError4 } from "@ai-sdk/provider";
|
|
|
1565
1585
|
var name4 = "AI_InvalidArgumentError";
|
|
1566
1586
|
var marker4 = `vercel.ai.error.${name4}`;
|
|
1567
1587
|
var symbol4 = Symbol.for(marker4);
|
|
1568
|
-
var _a4;
|
|
1569
|
-
var InvalidArgumentError = class extends AISDKError4 {
|
|
1588
|
+
var _a4, _b4;
|
|
1589
|
+
var InvalidArgumentError = class extends (_b4 = AISDKError4, _a4 = symbol4, _b4) {
|
|
1570
1590
|
constructor({
|
|
1571
1591
|
parameter,
|
|
1572
1592
|
value,
|
|
@@ -1584,7 +1604,6 @@ var InvalidArgumentError = class extends AISDKError4 {
|
|
|
1584
1604
|
return AISDKError4.hasMarker(error, marker4);
|
|
1585
1605
|
}
|
|
1586
1606
|
};
|
|
1587
|
-
_a4 = symbol4;
|
|
1588
1607
|
|
|
1589
1608
|
// src/prompt/prepare-language-model-call-options.ts
|
|
1590
1609
|
function prepareLanguageModelCallOptions({
|
|
@@ -1693,8 +1712,8 @@ import { AISDKError as AISDKError5 } from "@ai-sdk/provider";
|
|
|
1693
1712
|
var name5 = "AI_RetryError";
|
|
1694
1713
|
var marker5 = `vercel.ai.error.${name5}`;
|
|
1695
1714
|
var symbol5 = Symbol.for(marker5);
|
|
1696
|
-
var _a5;
|
|
1697
|
-
var RetryError = class extends AISDKError5 {
|
|
1715
|
+
var _a5, _b5;
|
|
1716
|
+
var RetryError = class extends (_b5 = AISDKError5, _a5 = symbol5, _b5) {
|
|
1698
1717
|
constructor({
|
|
1699
1718
|
message,
|
|
1700
1719
|
reason,
|
|
@@ -1710,7 +1729,6 @@ var RetryError = class extends AISDKError5 {
|
|
|
1710
1729
|
return AISDKError5.hasMarker(error, marker5);
|
|
1711
1730
|
}
|
|
1712
1731
|
};
|
|
1713
|
-
_a5 = symbol5;
|
|
1714
1732
|
|
|
1715
1733
|
// src/util/retry-with-exponential-backoff.ts
|
|
1716
1734
|
function getRetryDelayInMs({
|
|
@@ -1718,8 +1736,7 @@ function getRetryDelayInMs({
|
|
|
1718
1736
|
exponentialBackoffDelay
|
|
1719
1737
|
}) {
|
|
1720
1738
|
const headers = APICallError.isInstance(error) ? error.responseHeaders : APICallError.isInstance(error.cause) ? error.cause.responseHeaders : void 0;
|
|
1721
|
-
if (!headers)
|
|
1722
|
-
return exponentialBackoffDelay;
|
|
1739
|
+
if (!headers) return exponentialBackoffDelay;
|
|
1723
1740
|
let ms;
|
|
1724
1741
|
const retryAfterMs = headers["retry-after-ms"];
|
|
1725
1742
|
if (retryAfterMs) {
|
|
@@ -1746,13 +1763,14 @@ var retryWithExponentialBackoffRespectingRetryHeaders = ({
|
|
|
1746
1763
|
maxRetries = 2,
|
|
1747
1764
|
initialDelayInMs = 2e3,
|
|
1748
1765
|
backoffFactor = 2,
|
|
1749
|
-
abortSignal
|
|
1766
|
+
abortSignal,
|
|
1767
|
+
additionalRetryableError
|
|
1750
1768
|
} = {}) => retryWithExponentialBackoff({
|
|
1751
1769
|
maxRetries,
|
|
1752
1770
|
initialDelayInMs,
|
|
1753
1771
|
backoffFactor,
|
|
1754
1772
|
abortSignal,
|
|
1755
|
-
shouldRetry: (error) => error instanceof Error && (APICallError.isInstance(error) && error.isRetryable === true || GatewayError.isInstance(error) && error.isRetryable === true),
|
|
1773
|
+
shouldRetry: async (error) => error instanceof Error && (APICallError.isInstance(error) && error.isRetryable === true || GatewayError.isInstance(error) && error.isRetryable === true) || additionalRetryableError != null && await additionalRetryableError(error),
|
|
1756
1774
|
getDelayInMs: ({ error, exponentialBackoffDelay }) => getRetryDelayInMs({
|
|
1757
1775
|
error,
|
|
1758
1776
|
exponentialBackoffDelay
|
|
@@ -1763,30 +1781,34 @@ var retryWithExponentialBackoffRespectingRetryHeaders = ({
|
|
|
1763
1781
|
// src/util/prepare-retries.ts
|
|
1764
1782
|
function prepareRetries({
|
|
1765
1783
|
maxRetries,
|
|
1766
|
-
abortSignal
|
|
1784
|
+
abortSignal,
|
|
1785
|
+
additionalRetryableError,
|
|
1786
|
+
parameter = "maxRetries",
|
|
1787
|
+
defaultMaxRetries = 2
|
|
1767
1788
|
}) {
|
|
1768
1789
|
if (maxRetries != null) {
|
|
1769
1790
|
if (!Number.isInteger(maxRetries)) {
|
|
1770
1791
|
throw new InvalidArgumentError({
|
|
1771
|
-
parameter
|
|
1792
|
+
parameter,
|
|
1772
1793
|
value: maxRetries,
|
|
1773
|
-
message:
|
|
1794
|
+
message: `${parameter} must be an integer`
|
|
1774
1795
|
});
|
|
1775
1796
|
}
|
|
1776
1797
|
if (maxRetries < 0) {
|
|
1777
1798
|
throw new InvalidArgumentError({
|
|
1778
|
-
parameter
|
|
1799
|
+
parameter,
|
|
1779
1800
|
value: maxRetries,
|
|
1780
|
-
message:
|
|
1801
|
+
message: `${parameter} must be >= 0`
|
|
1781
1802
|
});
|
|
1782
1803
|
}
|
|
1783
1804
|
}
|
|
1784
|
-
const maxRetriesResult = maxRetries
|
|
1805
|
+
const maxRetriesResult = maxRetries ?? defaultMaxRetries;
|
|
1785
1806
|
return {
|
|
1786
1807
|
maxRetries: maxRetriesResult,
|
|
1787
1808
|
retry: retryWithExponentialBackoffRespectingRetryHeaders({
|
|
1788
1809
|
maxRetries: maxRetriesResult,
|
|
1789
|
-
abortSignal
|
|
1810
|
+
abortSignal,
|
|
1811
|
+
additionalRetryableError
|
|
1790
1812
|
})
|
|
1791
1813
|
};
|
|
1792
1814
|
}
|
|
@@ -1830,49 +1852,52 @@ function createNullLanguageModelUsage() {
|
|
|
1830
1852
|
};
|
|
1831
1853
|
}
|
|
1832
1854
|
function addLanguageModelUsage(usage1, usage2) {
|
|
1833
|
-
var _a12, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
1834
1855
|
return {
|
|
1835
1856
|
inputTokens: addTokenCounts(usage1.inputTokens, usage2.inputTokens),
|
|
1836
1857
|
inputTokenDetails: {
|
|
1837
1858
|
noCacheTokens: addTokenCounts(
|
|
1838
|
-
|
|
1839
|
-
|
|
1859
|
+
usage1.inputTokenDetails?.noCacheTokens,
|
|
1860
|
+
usage2.inputTokenDetails?.noCacheTokens
|
|
1840
1861
|
),
|
|
1841
1862
|
cacheReadTokens: addTokenCounts(
|
|
1842
|
-
|
|
1843
|
-
|
|
1863
|
+
usage1.inputTokenDetails?.cacheReadTokens,
|
|
1864
|
+
usage2.inputTokenDetails?.cacheReadTokens
|
|
1844
1865
|
),
|
|
1845
1866
|
cacheWriteTokens: addTokenCounts(
|
|
1846
|
-
|
|
1847
|
-
|
|
1867
|
+
usage1.inputTokenDetails?.cacheWriteTokens,
|
|
1868
|
+
usage2.inputTokenDetails?.cacheWriteTokens
|
|
1848
1869
|
)
|
|
1849
1870
|
},
|
|
1850
1871
|
outputTokens: addTokenCounts(usage1.outputTokens, usage2.outputTokens),
|
|
1851
1872
|
outputTokenDetails: {
|
|
1852
1873
|
textTokens: addTokenCounts(
|
|
1853
|
-
|
|
1854
|
-
|
|
1874
|
+
usage1.outputTokenDetails?.textTokens,
|
|
1875
|
+
usage2.outputTokenDetails?.textTokens
|
|
1855
1876
|
),
|
|
1856
1877
|
reasoningTokens: addTokenCounts(
|
|
1857
|
-
|
|
1858
|
-
|
|
1878
|
+
usage1.outputTokenDetails?.reasoningTokens,
|
|
1879
|
+
usage2.outputTokenDetails?.reasoningTokens
|
|
1859
1880
|
)
|
|
1860
1881
|
},
|
|
1861
1882
|
totalTokens: addTokenCounts(usage1.totalTokens, usage2.totalTokens)
|
|
1862
1883
|
};
|
|
1863
1884
|
}
|
|
1864
1885
|
function addTokenCounts(tokenCount1, tokenCount2) {
|
|
1865
|
-
return tokenCount1 == null && tokenCount2 == null ? void 0 : (tokenCount1
|
|
1886
|
+
return tokenCount1 == null && tokenCount2 == null ? void 0 : (tokenCount1 ?? 0) + (tokenCount2 ?? 0);
|
|
1866
1887
|
}
|
|
1867
1888
|
|
|
1868
1889
|
// src/model/resolve-model.ts
|
|
1869
1890
|
import { gateway } from "@ai-sdk/gateway";
|
|
1891
|
+
import {
|
|
1892
|
+
NoSuchModelError as NoSuchModelError2
|
|
1893
|
+
} from "@ai-sdk/provider";
|
|
1870
1894
|
|
|
1871
1895
|
// src/error/index.ts
|
|
1872
1896
|
import {
|
|
1873
1897
|
AISDKError as AISDKError13,
|
|
1874
1898
|
APICallError as APICallError2,
|
|
1875
1899
|
EmptyResponseBodyError,
|
|
1900
|
+
Experimental_EvaluationUnsupportedQuestionTypeError,
|
|
1876
1901
|
InvalidPromptError as InvalidPromptError2,
|
|
1877
1902
|
InvalidResponseDataError,
|
|
1878
1903
|
JSONParseError,
|
|
@@ -1891,8 +1916,8 @@ import { AISDKError as AISDKError6 } from "@ai-sdk/provider";
|
|
|
1891
1916
|
var name6 = "AI_InvalidToolApprovalError";
|
|
1892
1917
|
var marker6 = `vercel.ai.error.${name6}`;
|
|
1893
1918
|
var symbol6 = Symbol.for(marker6);
|
|
1894
|
-
var _a6;
|
|
1895
|
-
var InvalidToolApprovalError = class extends AISDKError6 {
|
|
1919
|
+
var _a6, _b6;
|
|
1920
|
+
var InvalidToolApprovalError = class extends (_b6 = AISDKError6, _a6 = symbol6, _b6) {
|
|
1896
1921
|
constructor({ approvalId }) {
|
|
1897
1922
|
super({
|
|
1898
1923
|
name: name6,
|
|
@@ -1905,15 +1930,14 @@ var InvalidToolApprovalError = class extends AISDKError6 {
|
|
|
1905
1930
|
return AISDKError6.hasMarker(error, marker6);
|
|
1906
1931
|
}
|
|
1907
1932
|
};
|
|
1908
|
-
_a6 = symbol6;
|
|
1909
1933
|
|
|
1910
1934
|
// src/error/invalid-tool-approval-signature-error.ts
|
|
1911
1935
|
import { AISDKError as AISDKError7 } from "@ai-sdk/provider";
|
|
1912
1936
|
var name7 = "AI_InvalidToolApprovalSignatureError";
|
|
1913
1937
|
var marker7 = `vercel.ai.error.${name7}`;
|
|
1914
1938
|
var symbol7 = Symbol.for(marker7);
|
|
1915
|
-
var _a7;
|
|
1916
|
-
var InvalidToolApprovalSignatureError = class extends AISDKError7 {
|
|
1939
|
+
var _a7, _b7;
|
|
1940
|
+
var InvalidToolApprovalSignatureError = class extends (_b7 = AISDKError7, _a7 = symbol7, _b7) {
|
|
1917
1941
|
constructor({
|
|
1918
1942
|
approvalId,
|
|
1919
1943
|
toolCallId,
|
|
@@ -1931,15 +1955,14 @@ var InvalidToolApprovalSignatureError = class extends AISDKError7 {
|
|
|
1931
1955
|
return AISDKError7.hasMarker(error, marker7);
|
|
1932
1956
|
}
|
|
1933
1957
|
};
|
|
1934
|
-
_a7 = symbol7;
|
|
1935
1958
|
|
|
1936
1959
|
// src/error/invalid-tool-input-error.ts
|
|
1937
1960
|
import { AISDKError as AISDKError8, getErrorMessage as getErrorMessage2 } from "@ai-sdk/provider";
|
|
1938
1961
|
var name8 = "AI_InvalidToolInputError";
|
|
1939
1962
|
var marker8 = `vercel.ai.error.${name8}`;
|
|
1940
1963
|
var symbol8 = Symbol.for(marker8);
|
|
1941
|
-
var _a8;
|
|
1942
|
-
var InvalidToolInputError = class extends AISDKError8 {
|
|
1964
|
+
var _a8, _b8;
|
|
1965
|
+
var InvalidToolInputError = class extends (_b8 = AISDKError8, _a8 = symbol8, _b8) {
|
|
1943
1966
|
constructor({
|
|
1944
1967
|
toolInput,
|
|
1945
1968
|
toolName,
|
|
@@ -1955,15 +1978,14 @@ var InvalidToolInputError = class extends AISDKError8 {
|
|
|
1955
1978
|
return AISDKError8.hasMarker(error, marker8);
|
|
1956
1979
|
}
|
|
1957
1980
|
};
|
|
1958
|
-
_a8 = symbol8;
|
|
1959
1981
|
|
|
1960
1982
|
// src/error/tool-call-not-found-for-approval-error.ts
|
|
1961
1983
|
import { AISDKError as AISDKError9 } from "@ai-sdk/provider";
|
|
1962
1984
|
var name9 = "AI_ToolCallNotFoundForApprovalError";
|
|
1963
1985
|
var marker9 = `vercel.ai.error.${name9}`;
|
|
1964
1986
|
var symbol9 = Symbol.for(marker9);
|
|
1965
|
-
var _a9;
|
|
1966
|
-
var ToolCallNotFoundForApprovalError = class extends AISDKError9 {
|
|
1987
|
+
var _a9, _b9;
|
|
1988
|
+
var ToolCallNotFoundForApprovalError = class extends (_b9 = AISDKError9, _a9 = symbol9, _b9) {
|
|
1967
1989
|
constructor({
|
|
1968
1990
|
toolCallId,
|
|
1969
1991
|
approvalId
|
|
@@ -1980,15 +2002,14 @@ var ToolCallNotFoundForApprovalError = class extends AISDKError9 {
|
|
|
1980
2002
|
return AISDKError9.hasMarker(error, marker9);
|
|
1981
2003
|
}
|
|
1982
2004
|
};
|
|
1983
|
-
_a9 = symbol9;
|
|
1984
2005
|
|
|
1985
2006
|
// src/error/no-such-tool-error.ts
|
|
1986
2007
|
import { AISDKError as AISDKError10 } from "@ai-sdk/provider";
|
|
1987
2008
|
var name10 = "AI_NoSuchToolError";
|
|
1988
2009
|
var marker10 = `vercel.ai.error.${name10}`;
|
|
1989
2010
|
var symbol10 = Symbol.for(marker10);
|
|
1990
|
-
var _a10;
|
|
1991
|
-
var NoSuchToolError = class extends AISDKError10 {
|
|
2011
|
+
var _a10, _b10;
|
|
2012
|
+
var NoSuchToolError = class extends (_b10 = AISDKError10, _a10 = symbol10, _b10) {
|
|
1992
2013
|
constructor({
|
|
1993
2014
|
toolName,
|
|
1994
2015
|
availableTools = void 0,
|
|
@@ -2003,15 +2024,14 @@ var NoSuchToolError = class extends AISDKError10 {
|
|
|
2003
2024
|
return AISDKError10.hasMarker(error, marker10);
|
|
2004
2025
|
}
|
|
2005
2026
|
};
|
|
2006
|
-
_a10 = symbol10;
|
|
2007
2027
|
|
|
2008
2028
|
// src/error/tool-call-repair-error.ts
|
|
2009
2029
|
import { AISDKError as AISDKError11, getErrorMessage as getErrorMessage3 } from "@ai-sdk/provider";
|
|
2010
2030
|
var name11 = "AI_ToolCallRepairError";
|
|
2011
2031
|
var marker11 = `vercel.ai.error.${name11}`;
|
|
2012
2032
|
var symbol11 = Symbol.for(marker11);
|
|
2013
|
-
var _a11;
|
|
2014
|
-
var ToolCallRepairError = class extends AISDKError11 {
|
|
2033
|
+
var _a11, _b11;
|
|
2034
|
+
var ToolCallRepairError = class extends (_b11 = AISDKError11, _a11 = symbol11, _b11) {
|
|
2015
2035
|
constructor({
|
|
2016
2036
|
cause,
|
|
2017
2037
|
originalError,
|
|
@@ -2025,7 +2045,6 @@ var ToolCallRepairError = class extends AISDKError11 {
|
|
|
2025
2045
|
return AISDKError11.hasMarker(error, marker11);
|
|
2026
2046
|
}
|
|
2027
2047
|
};
|
|
2028
|
-
_a11 = symbol11;
|
|
2029
2048
|
|
|
2030
2049
|
// src/error/unsupported-model-version-error.ts
|
|
2031
2050
|
import { AISDKError as AISDKError12 } from "@ai-sdk/provider";
|
|
@@ -2073,8 +2092,7 @@ function asEmbeddingModelV3(model) {
|
|
|
2073
2092
|
});
|
|
2074
2093
|
return new Proxy(model, {
|
|
2075
2094
|
get(target, prop) {
|
|
2076
|
-
if (prop === "specificationVersion")
|
|
2077
|
-
return "v3";
|
|
2095
|
+
if (prop === "specificationVersion") return "v3";
|
|
2078
2096
|
return target[prop];
|
|
2079
2097
|
}
|
|
2080
2098
|
});
|
|
@@ -2088,8 +2106,7 @@ function asEmbeddingModelV4(model) {
|
|
|
2088
2106
|
const v3Model = model.specificationVersion === "v2" ? asEmbeddingModelV3(model) : model;
|
|
2089
2107
|
return new Proxy(v3Model, {
|
|
2090
2108
|
get(target, prop) {
|
|
2091
|
-
if (prop === "specificationVersion")
|
|
2092
|
-
return "v4";
|
|
2109
|
+
if (prop === "specificationVersion") return "v4";
|
|
2093
2110
|
return target[prop];
|
|
2094
2111
|
}
|
|
2095
2112
|
});
|
|
@@ -2106,8 +2123,7 @@ function asImageModelV3(model) {
|
|
|
2106
2123
|
});
|
|
2107
2124
|
return new Proxy(model, {
|
|
2108
2125
|
get(target, prop) {
|
|
2109
|
-
if (prop === "specificationVersion")
|
|
2110
|
-
return "v3";
|
|
2126
|
+
if (prop === "specificationVersion") return "v3";
|
|
2111
2127
|
return target[prop];
|
|
2112
2128
|
}
|
|
2113
2129
|
});
|
|
@@ -2121,13 +2137,15 @@ function asImageModelV4(model) {
|
|
|
2121
2137
|
const v3Model = model.specificationVersion === "v2" ? asImageModelV3(model) : model;
|
|
2122
2138
|
return new Proxy(v3Model, {
|
|
2123
2139
|
get(target, prop) {
|
|
2124
|
-
if (prop === "specificationVersion")
|
|
2125
|
-
return "v4";
|
|
2140
|
+
if (prop === "specificationVersion") return "v4";
|
|
2126
2141
|
return target[prop];
|
|
2127
2142
|
}
|
|
2128
2143
|
});
|
|
2129
2144
|
}
|
|
2130
2145
|
|
|
2146
|
+
// src/model/as-language-model-v4.ts
|
|
2147
|
+
import { convertUint8ArrayToBase64 } from "@ai-sdk/provider-utils";
|
|
2148
|
+
|
|
2131
2149
|
// src/model/as-language-model-v3.ts
|
|
2132
2150
|
function asLanguageModelV3(model) {
|
|
2133
2151
|
if (model.specificationVersion === "v3") {
|
|
@@ -2215,12 +2233,131 @@ function asLanguageModelV4(model) {
|
|
|
2215
2233
|
const v3Model = model.specificationVersion === "v2" ? asLanguageModelV3(model) : model;
|
|
2216
2234
|
return new Proxy(v3Model, {
|
|
2217
2235
|
get(target, prop) {
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2236
|
+
switch (prop) {
|
|
2237
|
+
case "specificationVersion":
|
|
2238
|
+
return "v4";
|
|
2239
|
+
case "doGenerate":
|
|
2240
|
+
return async (options) => {
|
|
2241
|
+
const result = await target.doGenerate({
|
|
2242
|
+
...options,
|
|
2243
|
+
prompt: convertV4PromptToV3(options.prompt)
|
|
2244
|
+
});
|
|
2245
|
+
return {
|
|
2246
|
+
...result,
|
|
2247
|
+
content: result.content.map(convertV3ContentToV4)
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
case "doStream":
|
|
2251
|
+
return async (options) => {
|
|
2252
|
+
const result = await target.doStream({
|
|
2253
|
+
...options,
|
|
2254
|
+
prompt: convertV4PromptToV3(options.prompt)
|
|
2255
|
+
});
|
|
2256
|
+
return {
|
|
2257
|
+
...result,
|
|
2258
|
+
stream: convertV3StreamToV4(result.stream)
|
|
2259
|
+
};
|
|
2260
|
+
};
|
|
2261
|
+
default:
|
|
2262
|
+
return target[prop];
|
|
2263
|
+
}
|
|
2221
2264
|
}
|
|
2222
2265
|
});
|
|
2223
2266
|
}
|
|
2267
|
+
function convertV4PromptToV3(prompt) {
|
|
2268
|
+
return prompt.map((message) => {
|
|
2269
|
+
if (message.role === "system") {
|
|
2270
|
+
return message;
|
|
2271
|
+
}
|
|
2272
|
+
return {
|
|
2273
|
+
...message,
|
|
2274
|
+
content: message.content.map((part) => {
|
|
2275
|
+
switch (part.type) {
|
|
2276
|
+
case "file":
|
|
2277
|
+
return {
|
|
2278
|
+
...part,
|
|
2279
|
+
data: convertV4FileDataToV3(part.data)
|
|
2280
|
+
};
|
|
2281
|
+
case "tool-result":
|
|
2282
|
+
return {
|
|
2283
|
+
...part,
|
|
2284
|
+
output: convertV4ToolResultOutputToV3(part.output)
|
|
2285
|
+
};
|
|
2286
|
+
default:
|
|
2287
|
+
return part;
|
|
2288
|
+
}
|
|
2289
|
+
})
|
|
2290
|
+
};
|
|
2291
|
+
});
|
|
2292
|
+
}
|
|
2293
|
+
function convertV4FileDataToV3(data) {
|
|
2294
|
+
switch (data.type) {
|
|
2295
|
+
case "data":
|
|
2296
|
+
return data.data;
|
|
2297
|
+
case "url":
|
|
2298
|
+
return data.url;
|
|
2299
|
+
case "reference":
|
|
2300
|
+
case "text":
|
|
2301
|
+
return data;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
function convertV4ToolResultOutputToV3(output) {
|
|
2305
|
+
if (output.type !== "content") {
|
|
2306
|
+
return output;
|
|
2307
|
+
}
|
|
2308
|
+
return {
|
|
2309
|
+
...output,
|
|
2310
|
+
value: output.value.map((part) => {
|
|
2311
|
+
if (part.type !== "file") {
|
|
2312
|
+
return part;
|
|
2313
|
+
}
|
|
2314
|
+
switch (part.data.type) {
|
|
2315
|
+
case "data":
|
|
2316
|
+
return {
|
|
2317
|
+
type: "file-data",
|
|
2318
|
+
data: typeof part.data.data === "string" ? part.data.data : convertUint8ArrayToBase64(part.data.data),
|
|
2319
|
+
mediaType: part.mediaType,
|
|
2320
|
+
filename: part.filename,
|
|
2321
|
+
providerOptions: part.providerOptions
|
|
2322
|
+
};
|
|
2323
|
+
case "url":
|
|
2324
|
+
return {
|
|
2325
|
+
type: "file-url",
|
|
2326
|
+
url: part.data.url.toString(),
|
|
2327
|
+
providerOptions: part.providerOptions
|
|
2328
|
+
};
|
|
2329
|
+
case "reference":
|
|
2330
|
+
return {
|
|
2331
|
+
type: "file-id",
|
|
2332
|
+
fileId: part.data.reference,
|
|
2333
|
+
providerOptions: part.providerOptions
|
|
2334
|
+
};
|
|
2335
|
+
case "text":
|
|
2336
|
+
return part;
|
|
2337
|
+
}
|
|
2338
|
+
})
|
|
2339
|
+
};
|
|
2340
|
+
}
|
|
2341
|
+
function convertV3ContentToV4(content) {
|
|
2342
|
+
return content.type === "file" ? {
|
|
2343
|
+
...content,
|
|
2344
|
+
data: { type: "data", data: content.data }
|
|
2345
|
+
} : content;
|
|
2346
|
+
}
|
|
2347
|
+
function convertV3StreamToV4(stream) {
|
|
2348
|
+
return stream.pipeThrough(
|
|
2349
|
+
new TransformStream({
|
|
2350
|
+
transform(chunk, controller) {
|
|
2351
|
+
controller.enqueue(
|
|
2352
|
+
chunk.type === "file" ? {
|
|
2353
|
+
...chunk,
|
|
2354
|
+
data: { type: "data", data: chunk.data }
|
|
2355
|
+
} : chunk
|
|
2356
|
+
);
|
|
2357
|
+
}
|
|
2358
|
+
})
|
|
2359
|
+
);
|
|
2360
|
+
}
|
|
2224
2361
|
|
|
2225
2362
|
// src/model/as-reranking-model-v4.ts
|
|
2226
2363
|
function asRerankingModelV4(model) {
|
|
@@ -2229,8 +2366,7 @@ function asRerankingModelV4(model) {
|
|
|
2229
2366
|
}
|
|
2230
2367
|
return new Proxy(model, {
|
|
2231
2368
|
get(target, prop) {
|
|
2232
|
-
if (prop === "specificationVersion")
|
|
2233
|
-
return "v4";
|
|
2369
|
+
if (prop === "specificationVersion") return "v4";
|
|
2234
2370
|
return target[prop];
|
|
2235
2371
|
}
|
|
2236
2372
|
});
|
|
@@ -2247,8 +2383,7 @@ function asSpeechModelV3(model) {
|
|
|
2247
2383
|
});
|
|
2248
2384
|
return new Proxy(model, {
|
|
2249
2385
|
get(target, prop) {
|
|
2250
|
-
if (prop === "specificationVersion")
|
|
2251
|
-
return "v3";
|
|
2386
|
+
if (prop === "specificationVersion") return "v3";
|
|
2252
2387
|
return target[prop];
|
|
2253
2388
|
}
|
|
2254
2389
|
});
|
|
@@ -2262,8 +2397,7 @@ function asSpeechModelV4(model) {
|
|
|
2262
2397
|
const v3Model = model.specificationVersion === "v2" ? asSpeechModelV3(model) : model;
|
|
2263
2398
|
return new Proxy(v3Model, {
|
|
2264
2399
|
get(target, prop) {
|
|
2265
|
-
if (prop === "specificationVersion")
|
|
2266
|
-
return "v4";
|
|
2400
|
+
if (prop === "specificationVersion") return "v4";
|
|
2267
2401
|
return target[prop];
|
|
2268
2402
|
}
|
|
2269
2403
|
});
|
|
@@ -2280,8 +2414,7 @@ function asTranscriptionModelV3(model) {
|
|
|
2280
2414
|
});
|
|
2281
2415
|
return new Proxy(model, {
|
|
2282
2416
|
get(target, prop) {
|
|
2283
|
-
if (prop === "specificationVersion")
|
|
2284
|
-
return "v3";
|
|
2417
|
+
if (prop === "specificationVersion") return "v3";
|
|
2285
2418
|
return target[prop];
|
|
2286
2419
|
}
|
|
2287
2420
|
});
|
|
@@ -2295,8 +2428,7 @@ function asTranscriptionModelV4(model) {
|
|
|
2295
2428
|
const v3Model = model.specificationVersion === "v2" ? asTranscriptionModelV3(model) : model;
|
|
2296
2429
|
return new Proxy(v3Model, {
|
|
2297
2430
|
get(target, prop) {
|
|
2298
|
-
if (prop === "specificationVersion")
|
|
2299
|
-
return "v4";
|
|
2431
|
+
if (prop === "specificationVersion") return "v4";
|
|
2300
2432
|
return target[prop];
|
|
2301
2433
|
}
|
|
2302
2434
|
});
|
|
@@ -2353,8 +2485,7 @@ function resolveLanguageModel(model) {
|
|
|
2353
2485
|
return asLanguageModelV4(model);
|
|
2354
2486
|
}
|
|
2355
2487
|
function getGlobalProvider() {
|
|
2356
|
-
|
|
2357
|
-
const provider = (_a12 = globalThis.AI_SDK_DEFAULT_PROVIDER) != null ? _a12 : gateway;
|
|
2488
|
+
const provider = globalThis.AI_SDK_DEFAULT_PROVIDER ?? gateway;
|
|
2358
2489
|
return asProviderV4(provider);
|
|
2359
2490
|
}
|
|
2360
2491
|
|
|
@@ -2362,7 +2493,7 @@ function getGlobalProvider() {
|
|
|
2362
2493
|
import { filterNullable } from "@ai-sdk/provider-utils";
|
|
2363
2494
|
function mergeAbortSignals(...signals) {
|
|
2364
2495
|
const validSignals = filterNullable(...signals).map(
|
|
2365
|
-
(signal) => signal
|
|
2496
|
+
(signal) => typeof signal === "number" ? AbortSignal.timeout(signal) : signal
|
|
2366
2497
|
);
|
|
2367
2498
|
return validSignals.length === 0 ? void 0 : validSignals.length === 1 ? validSignals[0] : AbortSignal.any(validSignals);
|
|
2368
2499
|
}
|
|
@@ -2372,7 +2503,7 @@ function mergeCallbacks(...callbacks) {
|
|
|
2372
2503
|
return async (event) => {
|
|
2373
2504
|
await Promise.allSettled(
|
|
2374
2505
|
callbacks.map(async (callback) => {
|
|
2375
|
-
await
|
|
2506
|
+
await callback?.(event);
|
|
2376
2507
|
})
|
|
2377
2508
|
);
|
|
2378
2509
|
};
|
|
@@ -2381,13 +2512,56 @@ function mergeCallbacks(...callbacks) {
|
|
|
2381
2512
|
// src/telemetry/create-telemetry-dispatcher.ts
|
|
2382
2513
|
import { asArray as asArray3 } from "@ai-sdk/provider-utils";
|
|
2383
2514
|
|
|
2515
|
+
// src/telemetry/filter-included-context.ts
|
|
2516
|
+
function filterIncludedContext({
|
|
2517
|
+
context,
|
|
2518
|
+
includeContext
|
|
2519
|
+
}) {
|
|
2520
|
+
if (context == null) {
|
|
2521
|
+
return {};
|
|
2522
|
+
}
|
|
2523
|
+
return Object.fromEntries(
|
|
2524
|
+
Object.entries(context).filter(
|
|
2525
|
+
([key]) => includeContext?.[key] === true
|
|
2526
|
+
)
|
|
2527
|
+
);
|
|
2528
|
+
}
|
|
2529
|
+
function filterToolsContext({
|
|
2530
|
+
toolsContext,
|
|
2531
|
+
includeToolsContext
|
|
2532
|
+
}) {
|
|
2533
|
+
if (includeToolsContext == null) {
|
|
2534
|
+
return {};
|
|
2535
|
+
}
|
|
2536
|
+
return Object.fromEntries(
|
|
2537
|
+
Object.entries(toolsContext).map(([toolName, toolContext]) => [
|
|
2538
|
+
toolName,
|
|
2539
|
+
filterToolContext({
|
|
2540
|
+
toolName,
|
|
2541
|
+
toolContext,
|
|
2542
|
+
includeToolsContext
|
|
2543
|
+
})
|
|
2544
|
+
])
|
|
2545
|
+
);
|
|
2546
|
+
}
|
|
2547
|
+
function filterToolContext({
|
|
2548
|
+
toolName,
|
|
2549
|
+
toolContext,
|
|
2550
|
+
includeToolsContext
|
|
2551
|
+
}) {
|
|
2552
|
+
const includeToolContext = includeToolsContext?.[toolName];
|
|
2553
|
+
return filterIncludedContext({
|
|
2554
|
+
context: toolContext,
|
|
2555
|
+
includeContext: includeToolContext
|
|
2556
|
+
});
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2384
2559
|
// src/telemetry/tracing-channel.ts
|
|
2385
2560
|
var AI_SDK_TELEMETRY_TRACING_CHANNEL = "ai:telemetry";
|
|
2386
2561
|
|
|
2387
2562
|
// src/util/is-node-runtime.ts
|
|
2388
2563
|
function isNodeRuntime() {
|
|
2389
|
-
|
|
2390
|
-
return typeof process !== "undefined" && ((_a12 = process.release) == null ? void 0 : _a12.name) === "node";
|
|
2564
|
+
return typeof process !== "undefined" && process.release?.name === "node";
|
|
2391
2565
|
}
|
|
2392
2566
|
|
|
2393
2567
|
// src/telemetry/tracing-channel-publisher.ts
|
|
@@ -2404,19 +2578,16 @@ async function loadDiagnosticsChannel() {
|
|
|
2404
2578
|
return diagnosticsChannelPromise;
|
|
2405
2579
|
}
|
|
2406
2580
|
function loadBuiltinModule(id) {
|
|
2407
|
-
var _a12;
|
|
2408
2581
|
const processWithBuiltins = globalThis.process;
|
|
2409
2582
|
try {
|
|
2410
|
-
return
|
|
2411
|
-
} catch
|
|
2583
|
+
return processWithBuiltins?.getBuiltinModule?.(id);
|
|
2584
|
+
} catch {
|
|
2412
2585
|
return void 0;
|
|
2413
2586
|
}
|
|
2414
2587
|
}
|
|
2415
2588
|
async function runWithTracingChannelSpan(message, execute) {
|
|
2416
|
-
var _a12;
|
|
2417
2589
|
const diagnosticsChannel = await loadDiagnosticsChannel();
|
|
2418
|
-
const tracingChannel =
|
|
2419
|
-
diagnosticsChannel,
|
|
2590
|
+
const tracingChannel = diagnosticsChannel?.tracingChannel?.(
|
|
2420
2591
|
AI_SDK_TELEMETRY_TRACING_CHANNEL
|
|
2421
2592
|
);
|
|
2422
2593
|
if (tracingChannel == null || tracingChannel.hasSubscribers === false) {
|
|
@@ -2449,7 +2620,7 @@ async function runWithTracingChannelSpan(message, execute) {
|
|
|
2449
2620
|
};
|
|
2450
2621
|
try {
|
|
2451
2622
|
return await tracingChannel.tracePromise(tracedExecute, message);
|
|
2452
|
-
} catch
|
|
2623
|
+
} catch {
|
|
2453
2624
|
if (hasExecutionError) {
|
|
2454
2625
|
throw executionError;
|
|
2455
2626
|
}
|
|
@@ -2466,16 +2637,16 @@ function openTelemetryChannelSpanContext({
|
|
|
2466
2637
|
message,
|
|
2467
2638
|
completion
|
|
2468
2639
|
}) {
|
|
2469
|
-
var _a12;
|
|
2470
2640
|
if (!isNodeRuntime()) {
|
|
2641
|
+
Promise.resolve(completion).catch(() => {
|
|
2642
|
+
});
|
|
2471
2643
|
return void 0;
|
|
2472
2644
|
}
|
|
2473
2645
|
const diagnosticsChannel = loadBuiltinModule(
|
|
2474
2646
|
"node:diagnostics_channel"
|
|
2475
2647
|
);
|
|
2476
2648
|
const asyncHooks = loadBuiltinModule("node:async_hooks");
|
|
2477
|
-
const tracingChannel =
|
|
2478
|
-
diagnosticsChannel,
|
|
2649
|
+
const tracingChannel = diagnosticsChannel?.tracingChannel?.(
|
|
2479
2650
|
AI_SDK_TELEMETRY_TRACING_CHANNEL
|
|
2480
2651
|
);
|
|
2481
2652
|
if (tracingChannel == null || tracingChannel.hasSubscribers === false || asyncHooks == null) {
|
|
@@ -2489,7 +2660,7 @@ function openTelemetryChannelSpanContext({
|
|
|
2489
2660
|
const safePublish = (publish) => {
|
|
2490
2661
|
try {
|
|
2491
2662
|
publish();
|
|
2492
|
-
} catch
|
|
2663
|
+
} catch {
|
|
2493
2664
|
}
|
|
2494
2665
|
};
|
|
2495
2666
|
const publishAsyncEnd = ({
|
|
@@ -2526,63 +2697,80 @@ function openTelemetryChannelSpanContext({
|
|
|
2526
2697
|
|
|
2527
2698
|
// src/telemetry/telemetry-registry.ts
|
|
2528
2699
|
function getGlobalTelemetryIntegrations() {
|
|
2529
|
-
|
|
2530
|
-
return (_a12 = globalThis.AI_SDK_TELEMETRY_INTEGRATIONS) != null ? _a12 : [];
|
|
2700
|
+
return globalThis.AI_SDK_TELEMETRY_INTEGRATIONS ?? [];
|
|
2531
2701
|
}
|
|
2532
2702
|
|
|
2533
2703
|
// src/telemetry/create-telemetry-dispatcher.ts
|
|
2534
|
-
function augmentEvent(event, telemetry) {
|
|
2535
|
-
|
|
2704
|
+
function augmentEvent(event, telemetry, filterContext = false) {
|
|
2705
|
+
const augmentedEvent = Object.assign(
|
|
2536
2706
|
Object.create(Object.getPrototypeOf(event)),
|
|
2537
2707
|
event,
|
|
2538
|
-
|
|
2708
|
+
{
|
|
2709
|
+
recordInputs: telemetry.recordInputs,
|
|
2710
|
+
recordOutputs: telemetry.recordOutputs,
|
|
2711
|
+
functionId: telemetry.functionId
|
|
2712
|
+
}
|
|
2539
2713
|
);
|
|
2714
|
+
if (filterContext && event != null && typeof event === "object" && "runtimeContext" in event) {
|
|
2715
|
+
augmentedEvent.runtimeContext = filterIncludedContext({
|
|
2716
|
+
context: event.runtimeContext,
|
|
2717
|
+
includeContext: telemetry.includeRuntimeContext
|
|
2718
|
+
});
|
|
2719
|
+
}
|
|
2720
|
+
if (filterContext && event != null && typeof event === "object") {
|
|
2721
|
+
if ("toolsContext" in event) {
|
|
2722
|
+
augmentedEvent.toolsContext = filterToolsContext({
|
|
2723
|
+
toolsContext: event.toolsContext,
|
|
2724
|
+
includeToolsContext: telemetry.includeToolsContext
|
|
2725
|
+
});
|
|
2726
|
+
} else if ("toolContext" in event && event.toolContext != null && "toolCall" in event && event.toolCall != null && typeof event.toolCall === "object" && "toolName" in event.toolCall) {
|
|
2727
|
+
augmentedEvent.toolContext = filterToolContext({
|
|
2728
|
+
toolName: event.toolCall.toolName,
|
|
2729
|
+
toolContext: event.toolContext,
|
|
2730
|
+
includeToolsContext: telemetry.includeToolsContext
|
|
2731
|
+
});
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
return augmentedEvent;
|
|
2540
2735
|
}
|
|
2541
2736
|
function createTelemetryDispatcher({
|
|
2542
2737
|
telemetry
|
|
2543
2738
|
}) {
|
|
2544
|
-
if (
|
|
2739
|
+
if (telemetry?.isEnabled === false) {
|
|
2545
2740
|
return {};
|
|
2546
2741
|
}
|
|
2547
|
-
const localIntegrations = telemetry
|
|
2742
|
+
const localIntegrations = telemetry?.integrations;
|
|
2548
2743
|
const integrations = localIntegrations != null ? asArray3(localIntegrations) : getGlobalTelemetryIntegrations();
|
|
2549
2744
|
const telemetryMetadata = {
|
|
2550
|
-
recordInputs: telemetry
|
|
2551
|
-
recordOutputs: telemetry
|
|
2552
|
-
functionId: telemetry
|
|
2745
|
+
recordInputs: telemetry?.recordInputs,
|
|
2746
|
+
recordOutputs: telemetry?.recordOutputs,
|
|
2747
|
+
functionId: telemetry?.functionId,
|
|
2748
|
+
includeRuntimeContext: telemetry?.includeRuntimeContext,
|
|
2749
|
+
includeToolsContext: telemetry?.includeToolsContext
|
|
2553
2750
|
};
|
|
2554
2751
|
const mergeTelemetryCallback = (key) => {
|
|
2555
|
-
const integrationCallbacks = integrations.map((integration) =>
|
|
2556
|
-
|
|
2557
|
-
return (_a12 = integration[key]) == null ? void 0 : _a12.bind(integration);
|
|
2558
|
-
}).filter(Boolean).map(
|
|
2559
|
-
(callback) => (event) => callback(augmentEvent(event, telemetryMetadata))
|
|
2752
|
+
const integrationCallbacks = integrations.map((integration) => integration[key]?.bind(integration)).filter(Boolean).map(
|
|
2753
|
+
(callback) => ((event) => callback(augmentEvent(event, telemetryMetadata)))
|
|
2560
2754
|
);
|
|
2561
2755
|
const mergedIntegrationCallback = mergeCallbacks(...integrationCallbacks);
|
|
2562
2756
|
return async (event) => {
|
|
2563
2757
|
await mergedIntegrationCallback(event);
|
|
2564
2758
|
};
|
|
2565
2759
|
};
|
|
2566
|
-
const executeLanguageModelCallWrappers = integrations.map((integration) =>
|
|
2567
|
-
|
|
2568
|
-
return (_a12 = integration.executeLanguageModelCall) == null ? void 0 : _a12.bind(integration);
|
|
2569
|
-
}).filter(Boolean);
|
|
2570
|
-
const executeToolWrappers = integrations.map((integration) => {
|
|
2571
|
-
var _a12;
|
|
2572
|
-
return (_a12 = integration.executeTool) == null ? void 0 : _a12.bind(integration);
|
|
2573
|
-
}).filter(Boolean);
|
|
2760
|
+
const executeLanguageModelCallWrappers = integrations.map((integration) => integration.executeLanguageModelCall?.bind(integration)).filter(Boolean);
|
|
2761
|
+
const executeToolWrappers = integrations.map((integration) => integration.executeTool?.bind(integration)).filter(Boolean);
|
|
2574
2762
|
return {
|
|
2575
2763
|
runInTracingChannelSpan: async ({ type, event, execute }) => await runWithTracingChannelSpan(
|
|
2576
2764
|
{
|
|
2577
2765
|
type,
|
|
2578
|
-
event: augmentEvent(event, telemetryMetadata)
|
|
2766
|
+
event: augmentEvent(event, telemetryMetadata, true)
|
|
2579
2767
|
},
|
|
2580
2768
|
execute
|
|
2581
2769
|
),
|
|
2582
2770
|
startTracingChannelContext: ({ type, event, completion }) => openTelemetryChannelSpanContext({
|
|
2583
2771
|
message: {
|
|
2584
2772
|
type,
|
|
2585
|
-
event: augmentEvent(event, telemetryMetadata)
|
|
2773
|
+
event: augmentEvent(event, telemetryMetadata, true)
|
|
2586
2774
|
},
|
|
2587
2775
|
completion
|
|
2588
2776
|
}),
|
|
@@ -2608,6 +2796,18 @@ function createTelemetryDispatcher({
|
|
|
2608
2796
|
onEmbedEnd: mergeTelemetryCallback("onEmbedEnd"),
|
|
2609
2797
|
onRerankStart: mergeTelemetryCallback("onRerankStart"),
|
|
2610
2798
|
onRerankEnd: mergeTelemetryCallback("onRerankEnd"),
|
|
2799
|
+
experimental_onEvaluateStart: mergeTelemetryCallback(
|
|
2800
|
+
"experimental_onEvaluateStart"
|
|
2801
|
+
),
|
|
2802
|
+
experimental_onEvaluationModelCallStart: mergeTelemetryCallback(
|
|
2803
|
+
"experimental_onEvaluationModelCallStart"
|
|
2804
|
+
),
|
|
2805
|
+
experimental_onEvaluationModelCallEnd: mergeTelemetryCallback(
|
|
2806
|
+
"experimental_onEvaluationModelCallEnd"
|
|
2807
|
+
),
|
|
2808
|
+
experimental_onEvaluateEnd: mergeTelemetryCallback(
|
|
2809
|
+
"experimental_onEvaluateEnd"
|
|
2810
|
+
),
|
|
2611
2811
|
onEnd: mergeTelemetryCallback("onEnd"),
|
|
2612
2812
|
onAbort: mergeTelemetryCallback("onAbort"),
|
|
2613
2813
|
onError: mergeTelemetryCallback("onError"),
|
|
@@ -2752,19 +2952,6 @@ var DefaultStepResult = class {
|
|
|
2752
2952
|
};
|
|
2753
2953
|
|
|
2754
2954
|
// src/generate-text/restricted-telemetry-dispatcher.ts
|
|
2755
|
-
function filterIncludedContext({
|
|
2756
|
-
context,
|
|
2757
|
-
includeContext
|
|
2758
|
-
}) {
|
|
2759
|
-
if (context == null) {
|
|
2760
|
-
return {};
|
|
2761
|
-
}
|
|
2762
|
-
return Object.fromEntries(
|
|
2763
|
-
Object.entries(context).filter(
|
|
2764
|
-
([key]) => (includeContext == null ? void 0 : includeContext[key]) === true
|
|
2765
|
-
)
|
|
2766
|
-
);
|
|
2767
|
-
}
|
|
2768
2955
|
function restrictStepResult({
|
|
2769
2956
|
step,
|
|
2770
2957
|
includeRuntimeContext,
|
|
@@ -2794,35 +2981,6 @@ function restrictStepResult({
|
|
|
2794
2981
|
providerMetadata: step.providerMetadata
|
|
2795
2982
|
});
|
|
2796
2983
|
}
|
|
2797
|
-
function filterToolsContext({
|
|
2798
|
-
toolsContext,
|
|
2799
|
-
includeToolsContext
|
|
2800
|
-
}) {
|
|
2801
|
-
if (includeToolsContext == null) {
|
|
2802
|
-
return {};
|
|
2803
|
-
}
|
|
2804
|
-
return Object.fromEntries(
|
|
2805
|
-
Object.entries(toolsContext).map(([toolName, toolContext]) => [
|
|
2806
|
-
toolName,
|
|
2807
|
-
filterToolContext({
|
|
2808
|
-
toolName,
|
|
2809
|
-
toolContext,
|
|
2810
|
-
includeToolsContext
|
|
2811
|
-
})
|
|
2812
|
-
])
|
|
2813
|
-
);
|
|
2814
|
-
}
|
|
2815
|
-
function filterToolContext({
|
|
2816
|
-
toolName,
|
|
2817
|
-
toolContext,
|
|
2818
|
-
includeToolsContext
|
|
2819
|
-
}) {
|
|
2820
|
-
const includeToolContext = includeToolsContext == null ? void 0 : includeToolsContext[toolName];
|
|
2821
|
-
return filterIncludedContext({
|
|
2822
|
-
context: toolContext,
|
|
2823
|
-
includeContext: includeToolContext
|
|
2824
|
-
});
|
|
2825
|
-
}
|
|
2826
2984
|
function createRestrictedTelemetryDispatcher({
|
|
2827
2985
|
telemetry,
|
|
2828
2986
|
includeRuntimeContext,
|
|
@@ -2831,127 +2989,100 @@ function createRestrictedTelemetryDispatcher({
|
|
|
2831
2989
|
const telemetryDispatcher = createTelemetryDispatcher({ telemetry });
|
|
2832
2990
|
return {
|
|
2833
2991
|
...telemetryDispatcher,
|
|
2834
|
-
onStart: (event) => {
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2992
|
+
onStart: (event) => telemetryDispatcher.onStart?.({
|
|
2993
|
+
...event,
|
|
2994
|
+
runtimeContext: filterIncludedContext({
|
|
2995
|
+
context: event.runtimeContext,
|
|
2996
|
+
includeContext: includeRuntimeContext
|
|
2997
|
+
}),
|
|
2998
|
+
toolsContext: filterToolsContext({
|
|
2999
|
+
toolsContext: event.toolsContext,
|
|
3000
|
+
includeToolsContext
|
|
3001
|
+
})
|
|
3002
|
+
}),
|
|
3003
|
+
onStepStart: (event) => telemetryDispatcher.onStepStart?.({
|
|
3004
|
+
...event,
|
|
3005
|
+
runtimeContext: filterIncludedContext({
|
|
3006
|
+
context: event.runtimeContext,
|
|
3007
|
+
includeContext: includeRuntimeContext
|
|
3008
|
+
}),
|
|
3009
|
+
steps: event.steps.map(
|
|
3010
|
+
(step) => restrictStepResult({
|
|
3011
|
+
step,
|
|
3012
|
+
includeRuntimeContext,
|
|
2844
3013
|
includeToolsContext
|
|
2845
3014
|
})
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
3015
|
+
),
|
|
3016
|
+
toolsContext: filterToolsContext({
|
|
3017
|
+
toolsContext: event.toolsContext,
|
|
3018
|
+
includeToolsContext
|
|
3019
|
+
})
|
|
3020
|
+
}),
|
|
3021
|
+
onStepEnd: (event) => telemetryDispatcher.onStepEnd?.(
|
|
3022
|
+
restrictStepResult({
|
|
3023
|
+
step: event,
|
|
3024
|
+
includeRuntimeContext,
|
|
3025
|
+
includeToolsContext
|
|
3026
|
+
})
|
|
3027
|
+
),
|
|
3028
|
+
onStepFinish: (event) => telemetryDispatcher.onStepEnd?.(
|
|
3029
|
+
restrictStepResult({
|
|
3030
|
+
step: event,
|
|
3031
|
+
includeRuntimeContext,
|
|
3032
|
+
includeToolsContext
|
|
3033
|
+
})
|
|
3034
|
+
),
|
|
3035
|
+
onEnd: (event) => telemetryDispatcher.onEnd?.(
|
|
3036
|
+
((restrictedSteps) => {
|
|
3037
|
+
return {
|
|
3038
|
+
...event,
|
|
3039
|
+
runtimeContext: filterIncludedContext({
|
|
3040
|
+
context: event.runtimeContext,
|
|
3041
|
+
includeContext: includeRuntimeContext
|
|
3042
|
+
}),
|
|
3043
|
+
steps: restrictedSteps,
|
|
3044
|
+
finalStep: restrictedSteps.at(-1),
|
|
3045
|
+
toolsContext: filterToolsContext({
|
|
3046
|
+
toolsContext: event.toolsContext,
|
|
2860
3047
|
includeToolsContext
|
|
2861
3048
|
})
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
includeToolsContext
|
|
2866
|
-
})
|
|
2867
|
-
});
|
|
2868
|
-
},
|
|
2869
|
-
onStepEnd: (event) => {
|
|
2870
|
-
var _a12;
|
|
2871
|
-
return (_a12 = telemetryDispatcher.onStepEnd) == null ? void 0 : _a12.call(
|
|
2872
|
-
telemetryDispatcher,
|
|
2873
|
-
restrictStepResult({
|
|
2874
|
-
step: event,
|
|
2875
|
-
includeRuntimeContext,
|
|
2876
|
-
includeToolsContext
|
|
2877
|
-
})
|
|
2878
|
-
);
|
|
2879
|
-
},
|
|
2880
|
-
onStepFinish: (event) => {
|
|
2881
|
-
var _a12;
|
|
2882
|
-
return (_a12 = telemetryDispatcher.onStepEnd) == null ? void 0 : _a12.call(
|
|
2883
|
-
telemetryDispatcher,
|
|
2884
|
-
restrictStepResult({
|
|
2885
|
-
step: event,
|
|
2886
|
-
includeRuntimeContext,
|
|
2887
|
-
includeToolsContext
|
|
2888
|
-
})
|
|
2889
|
-
);
|
|
2890
|
-
},
|
|
2891
|
-
onEnd: (event) => {
|
|
2892
|
-
var _a12;
|
|
2893
|
-
return (_a12 = telemetryDispatcher.onEnd) == null ? void 0 : _a12.call(
|
|
2894
|
-
telemetryDispatcher,
|
|
2895
|
-
((restrictedSteps) => {
|
|
2896
|
-
return {
|
|
2897
|
-
...event,
|
|
2898
|
-
runtimeContext: filterIncludedContext({
|
|
2899
|
-
context: event.runtimeContext,
|
|
2900
|
-
includeContext: includeRuntimeContext
|
|
2901
|
-
}),
|
|
2902
|
-
steps: restrictedSteps,
|
|
2903
|
-
finalStep: restrictedSteps.at(-1),
|
|
2904
|
-
toolsContext: filterToolsContext({
|
|
2905
|
-
toolsContext: event.toolsContext,
|
|
2906
|
-
includeToolsContext
|
|
2907
|
-
})
|
|
2908
|
-
};
|
|
2909
|
-
})(
|
|
2910
|
-
event.steps.map(
|
|
2911
|
-
(step) => restrictStepResult({
|
|
2912
|
-
step,
|
|
2913
|
-
includeRuntimeContext,
|
|
2914
|
-
includeToolsContext
|
|
2915
|
-
})
|
|
2916
|
-
)
|
|
2917
|
-
)
|
|
2918
|
-
);
|
|
2919
|
-
},
|
|
2920
|
-
onAbort: (event) => {
|
|
2921
|
-
var _a12;
|
|
2922
|
-
return (_a12 = telemetryDispatcher.onAbort) == null ? void 0 : _a12.call(telemetryDispatcher, {
|
|
2923
|
-
...event,
|
|
2924
|
-
steps: event.steps.map(
|
|
3049
|
+
};
|
|
3050
|
+
})(
|
|
3051
|
+
event.steps.map(
|
|
2925
3052
|
(step) => restrictStepResult({
|
|
2926
3053
|
step,
|
|
2927
3054
|
includeRuntimeContext,
|
|
2928
3055
|
includeToolsContext
|
|
2929
3056
|
})
|
|
2930
3057
|
)
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
toolContext: event.toolContext,
|
|
2940
|
-
includeToolsContext
|
|
2941
|
-
})
|
|
2942
|
-
});
|
|
2943
|
-
},
|
|
2944
|
-
onToolExecutionEnd: (event) => {
|
|
2945
|
-
var _a12;
|
|
2946
|
-
return (_a12 = telemetryDispatcher.onToolExecutionEnd) == null ? void 0 : _a12.call(telemetryDispatcher, {
|
|
2947
|
-
...event,
|
|
2948
|
-
toolContext: filterToolContext({
|
|
2949
|
-
toolName: event.toolCall.toolName,
|
|
2950
|
-
toolContext: event.toolContext,
|
|
3058
|
+
)
|
|
3059
|
+
),
|
|
3060
|
+
onAbort: (event) => telemetryDispatcher.onAbort?.({
|
|
3061
|
+
...event,
|
|
3062
|
+
steps: event.steps.map(
|
|
3063
|
+
(step) => restrictStepResult({
|
|
3064
|
+
step,
|
|
3065
|
+
includeRuntimeContext,
|
|
2951
3066
|
includeToolsContext
|
|
2952
3067
|
})
|
|
2953
|
-
|
|
2954
|
-
}
|
|
3068
|
+
)
|
|
3069
|
+
}),
|
|
3070
|
+
onToolExecutionStart: (event) => telemetryDispatcher.onToolExecutionStart?.({
|
|
3071
|
+
...event,
|
|
3072
|
+
toolContext: filterToolContext({
|
|
3073
|
+
toolName: event.toolCall.toolName,
|
|
3074
|
+
toolContext: event.toolContext,
|
|
3075
|
+
includeToolsContext
|
|
3076
|
+
})
|
|
3077
|
+
}),
|
|
3078
|
+
onToolExecutionEnd: (event) => telemetryDispatcher.onToolExecutionEnd?.({
|
|
3079
|
+
...event,
|
|
3080
|
+
toolContext: filterToolContext({
|
|
3081
|
+
toolName: event.toolCall.toolName,
|
|
3082
|
+
toolContext: event.toolContext,
|
|
3083
|
+
includeToolsContext
|
|
3084
|
+
})
|
|
3085
|
+
})
|
|
2955
3086
|
};
|
|
2956
3087
|
}
|
|
2957
3088
|
|
|
@@ -2967,6 +3098,20 @@ function getOwn(obj, key) {
|
|
|
2967
3098
|
return obj != null && Object.hasOwn(obj, key) ? obj[key] : void 0;
|
|
2968
3099
|
}
|
|
2969
3100
|
|
|
3101
|
+
// src/generate-text/tool-call.ts
|
|
3102
|
+
var inputSchemaInputSymbol = /* @__PURE__ */ Symbol("ai-sdk-tool-call-input-schema-input");
|
|
3103
|
+
function setToolCallInputSchemaInput(toolCall, inputSchemaInput) {
|
|
3104
|
+
Object.defineProperty(toolCall, inputSchemaInputSymbol, {
|
|
3105
|
+
value: inputSchemaInput
|
|
3106
|
+
});
|
|
3107
|
+
return toolCall;
|
|
3108
|
+
}
|
|
3109
|
+
function getToolCallInputSchemaInput(toolCall) {
|
|
3110
|
+
return inputSchemaInputSymbol in toolCall ? {
|
|
3111
|
+
value: toolCall[inputSchemaInputSymbol]
|
|
3112
|
+
} : void 0;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
2970
3115
|
// src/generate-text/parse-tool-call.ts
|
|
2971
3116
|
async function parseToolCall({
|
|
2972
3117
|
toolCall,
|
|
@@ -2974,7 +3119,8 @@ async function parseToolCall({
|
|
|
2974
3119
|
repairToolCall,
|
|
2975
3120
|
refineToolInput,
|
|
2976
3121
|
messages,
|
|
2977
|
-
instructions
|
|
3122
|
+
instructions,
|
|
3123
|
+
abortSignal
|
|
2978
3124
|
}) {
|
|
2979
3125
|
try {
|
|
2980
3126
|
if (tools == null) {
|
|
@@ -2997,20 +3143,25 @@ async function parseToolCall({
|
|
|
2997
3143
|
}
|
|
2998
3144
|
let repairedToolCall = null;
|
|
2999
3145
|
try {
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3146
|
+
abortSignal?.throwIfAborted();
|
|
3147
|
+
repairedToolCall = await waitForPromiseWithAbortSignal({
|
|
3148
|
+
promise: repairToolCall({
|
|
3149
|
+
toolCall,
|
|
3150
|
+
tools,
|
|
3151
|
+
inputSchema: async ({ toolName }) => {
|
|
3152
|
+
const inputSchema = getOwn(tools, toolName)?.inputSchema;
|
|
3153
|
+
return await asSchema2(inputSchema).jsonSchema;
|
|
3154
|
+
},
|
|
3155
|
+
instructions,
|
|
3156
|
+
system: instructions,
|
|
3157
|
+
messages,
|
|
3158
|
+
error,
|
|
3159
|
+
abortSignal
|
|
3160
|
+
}),
|
|
3161
|
+
abortSignal
|
|
3012
3162
|
});
|
|
3013
3163
|
} catch (repairError) {
|
|
3164
|
+
abortSignal?.throwIfAborted();
|
|
3014
3165
|
throw new ToolCallRepairError({
|
|
3015
3166
|
cause: repairError,
|
|
3016
3167
|
originalError: error
|
|
@@ -3019,15 +3170,18 @@ async function parseToolCall({
|
|
|
3019
3170
|
if (repairedToolCall == null) {
|
|
3020
3171
|
throw error;
|
|
3021
3172
|
}
|
|
3022
|
-
|
|
3173
|
+
const parsedRepairedToolCall = await refineParsedToolCallInput({
|
|
3023
3174
|
toolCall: await doParseToolCall({ toolCall: repairedToolCall, tools }),
|
|
3024
3175
|
refineToolInput
|
|
3025
3176
|
});
|
|
3177
|
+
abortSignal?.throwIfAborted();
|
|
3178
|
+
return parsedRepairedToolCall;
|
|
3026
3179
|
}
|
|
3027
3180
|
} catch (error) {
|
|
3181
|
+
abortSignal?.throwIfAborted();
|
|
3028
3182
|
const parsedInput = await safeParseJSON({ text: toolCall.input });
|
|
3029
3183
|
const input = parsedInput.success ? parsedInput.value : toolCall.input;
|
|
3030
|
-
const
|
|
3184
|
+
const tool2 = getOwn(tools, toolCall.toolName);
|
|
3031
3185
|
return {
|
|
3032
3186
|
type: "tool-call",
|
|
3033
3187
|
toolCallId: toolCall.toolCallId,
|
|
@@ -3036,13 +3190,41 @@ async function parseToolCall({
|
|
|
3036
3190
|
dynamic: true,
|
|
3037
3191
|
invalid: true,
|
|
3038
3192
|
error,
|
|
3039
|
-
title:
|
|
3193
|
+
title: tool2?.title,
|
|
3040
3194
|
providerExecuted: toolCall.providerExecuted,
|
|
3041
3195
|
providerMetadata: toolCall.providerMetadata,
|
|
3042
|
-
...
|
|
3196
|
+
...tool2?.metadata != null ? { toolMetadata: tool2.metadata } : {}
|
|
3043
3197
|
};
|
|
3044
3198
|
}
|
|
3045
3199
|
}
|
|
3200
|
+
async function waitForPromiseWithAbortSignal({
|
|
3201
|
+
promise,
|
|
3202
|
+
abortSignal
|
|
3203
|
+
}) {
|
|
3204
|
+
if (abortSignal == null) {
|
|
3205
|
+
return await promise;
|
|
3206
|
+
}
|
|
3207
|
+
return await new Promise((resolve, reject) => {
|
|
3208
|
+
const cleanup = () => {
|
|
3209
|
+
abortSignal.removeEventListener("abort", onAbort);
|
|
3210
|
+
};
|
|
3211
|
+
const onAbort = () => {
|
|
3212
|
+
cleanup();
|
|
3213
|
+
reject(abortSignal.reason);
|
|
3214
|
+
};
|
|
3215
|
+
Promise.resolve(promise).then((value) => {
|
|
3216
|
+
cleanup();
|
|
3217
|
+
resolve(value);
|
|
3218
|
+
}).catch((error) => {
|
|
3219
|
+
cleanup();
|
|
3220
|
+
reject(error);
|
|
3221
|
+
});
|
|
3222
|
+
abortSignal.addEventListener("abort", onAbort, { once: true });
|
|
3223
|
+
if (abortSignal.aborted) {
|
|
3224
|
+
onAbort();
|
|
3225
|
+
}
|
|
3226
|
+
});
|
|
3227
|
+
}
|
|
3046
3228
|
async function refineParsedToolCallInput({
|
|
3047
3229
|
toolCall,
|
|
3048
3230
|
refineToolInput
|
|
@@ -3051,10 +3233,12 @@ async function refineParsedToolCallInput({
|
|
|
3051
3233
|
if (refine == null) {
|
|
3052
3234
|
return toolCall;
|
|
3053
3235
|
}
|
|
3054
|
-
|
|
3236
|
+
const refinedToolCall = {
|
|
3055
3237
|
...toolCall,
|
|
3056
3238
|
input: await refine(toolCall.input)
|
|
3057
3239
|
};
|
|
3240
|
+
const inputSchemaInput = getToolCallInputSchemaInput(toolCall);
|
|
3241
|
+
return inputSchemaInput == null ? refinedToolCall : setToolCallInputSchemaInput(refinedToolCall, inputSchemaInput.value);
|
|
3058
3242
|
}
|
|
3059
3243
|
async function parseProviderExecutedDynamicToolCall(toolCall) {
|
|
3060
3244
|
const parseResult = toolCall.input.trim() === "" ? { success: true, value: {} } : await safeParseJSON({ text: toolCall.input });
|
|
@@ -3080,8 +3264,8 @@ async function doParseToolCall({
|
|
|
3080
3264
|
tools
|
|
3081
3265
|
}) {
|
|
3082
3266
|
const toolName = toolCall.toolName;
|
|
3083
|
-
const
|
|
3084
|
-
if (
|
|
3267
|
+
const tool2 = getOwn(tools, toolName);
|
|
3268
|
+
if (tool2 == null) {
|
|
3085
3269
|
if (toolCall.providerExecuted && toolCall.dynamic) {
|
|
3086
3270
|
return await parseProviderExecutedDynamicToolCall(toolCall);
|
|
3087
3271
|
}
|
|
@@ -3090,7 +3274,7 @@ async function doParseToolCall({
|
|
|
3090
3274
|
availableTools: Object.keys(tools)
|
|
3091
3275
|
});
|
|
3092
3276
|
}
|
|
3093
|
-
const schema = asSchema2(
|
|
3277
|
+
const schema = asSchema2(tool2.inputSchema);
|
|
3094
3278
|
const parseResult = toolCall.input.trim() === "" ? await safeValidateTypes2({ value: {}, schema }) : await safeParseJSON({ text: toolCall.input, schema });
|
|
3095
3279
|
if (parseResult.success === false) {
|
|
3096
3280
|
throw new InvalidToolInputError({
|
|
@@ -3099,34 +3283,161 @@ async function doParseToolCall({
|
|
|
3099
3283
|
cause: parseResult.error
|
|
3100
3284
|
});
|
|
3101
3285
|
}
|
|
3102
|
-
return
|
|
3103
|
-
type
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3286
|
+
return setToolCallInputSchemaInput(
|
|
3287
|
+
tool2.type === "dynamic" ? {
|
|
3288
|
+
type: "tool-call",
|
|
3289
|
+
toolCallId: toolCall.toolCallId,
|
|
3290
|
+
toolName: toolCall.toolName,
|
|
3291
|
+
input: parseResult.value,
|
|
3292
|
+
providerExecuted: toolCall.providerExecuted,
|
|
3293
|
+
providerMetadata: toolCall.providerMetadata,
|
|
3294
|
+
...tool2.metadata != null ? { toolMetadata: tool2.metadata } : {},
|
|
3295
|
+
dynamic: true,
|
|
3296
|
+
title: tool2.title
|
|
3297
|
+
} : {
|
|
3298
|
+
type: "tool-call",
|
|
3299
|
+
toolCallId: toolCall.toolCallId,
|
|
3300
|
+
toolName,
|
|
3301
|
+
input: parseResult.value,
|
|
3302
|
+
providerExecuted: toolCall.providerExecuted,
|
|
3303
|
+
providerMetadata: toolCall.providerMetadata,
|
|
3304
|
+
...tool2.metadata != null ? { toolMetadata: tool2.metadata } : {},
|
|
3305
|
+
title: tool2.title
|
|
3306
|
+
},
|
|
3307
|
+
parseResult.rawValue
|
|
3308
|
+
);
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
// src/generate-text/validate-tool-context.ts
|
|
3312
|
+
import { validateTypes } from "@ai-sdk/provider-utils";
|
|
3313
|
+
async function validateToolContext({
|
|
3314
|
+
toolName,
|
|
3315
|
+
context,
|
|
3316
|
+
contextSchema
|
|
3317
|
+
}) {
|
|
3318
|
+
if (contextSchema == null) {
|
|
3319
|
+
return context;
|
|
3320
|
+
}
|
|
3321
|
+
return await validateTypes({
|
|
3322
|
+
value: context,
|
|
3323
|
+
schema: contextSchema,
|
|
3324
|
+
context: {
|
|
3325
|
+
field: "tool context",
|
|
3326
|
+
entityName: toolName
|
|
3327
|
+
}
|
|
3328
|
+
});
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
// src/tool-search/prepare-tool-search.ts
|
|
3332
|
+
import {
|
|
3333
|
+
experimental_getToolCaller as experimental_getToolCaller2
|
|
3334
|
+
} from "@ai-sdk/provider-utils";
|
|
3335
|
+
|
|
3336
|
+
// src/generate-text/tool-caller-configuration.ts
|
|
3337
|
+
import {
|
|
3338
|
+
experimental_getToolCaller
|
|
3339
|
+
} from "@ai-sdk/provider-utils";
|
|
3340
|
+
var DIRECT_TOOL_CALL = "AI_SDK_DIRECT_TOOL_CALL";
|
|
3341
|
+
|
|
3342
|
+
// src/tool-search/tool-search.ts
|
|
3343
|
+
import { jsonSchema, tool } from "@ai-sdk/provider-utils";
|
|
3344
|
+
var toolSearchSymbol = /* @__PURE__ */ Symbol.for("vercel.ai.toolSearch");
|
|
3345
|
+
function isToolSearch(tool2) {
|
|
3346
|
+
return tool2[toolSearchSymbol] === true;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
// src/tool-search/prepare-tool-search.ts
|
|
3350
|
+
function createToolSearchState({
|
|
3351
|
+
tools,
|
|
3352
|
+
toolCallers
|
|
3353
|
+
}) {
|
|
3354
|
+
const searchTools = Object.entries(tools ?? {}).filter(
|
|
3355
|
+
([, tool2]) => tool2.deferLoading || isToolSearch(tool2)
|
|
3356
|
+
);
|
|
3357
|
+
if (searchTools.length === 0) {
|
|
3358
|
+
return (activeTools) => activeTools;
|
|
3359
|
+
}
|
|
3360
|
+
const discovered = /* @__PURE__ */ new Set();
|
|
3361
|
+
const getCallers = (name12) => getOwn(toolCallers, name12) ?? [DIRECT_TOOL_CALL];
|
|
3362
|
+
for (const [name12, tool2] of searchTools) {
|
|
3363
|
+
const callers = getCallers(name12);
|
|
3364
|
+
if (callers.some((name13) => {
|
|
3365
|
+
if (name13 === DIRECT_TOOL_CALL) {
|
|
3366
|
+
return false;
|
|
3367
|
+
}
|
|
3368
|
+
const caller = experimental_getToolCaller2(tools?.[name13]);
|
|
3369
|
+
return caller?.type !== "local" || caller.prepareModelMessage == null;
|
|
3370
|
+
}) || isToolSearch(tool2) && tool2.deferLoading) {
|
|
3371
|
+
throw new InvalidArgumentError({
|
|
3372
|
+
parameter: "tools",
|
|
3373
|
+
value: name12,
|
|
3374
|
+
message: `tool "${name12}" must be callable directly or through code mode with toolDiscovery: 'conversation'. The search tool itself must not defer loading.`
|
|
3375
|
+
});
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
return (activeTools, { toolsContext = {}, experimental_sandbox } = {}) => {
|
|
3379
|
+
if (activeTools == null) {
|
|
3380
|
+
return void 0;
|
|
3381
|
+
}
|
|
3382
|
+
const entries = Object.entries(activeTools);
|
|
3383
|
+
return Object.fromEntries(
|
|
3384
|
+
entries.filter(([name12, tool2]) => !tool2.deferLoading || discovered.has(name12)).map(([searchName, tool2]) => {
|
|
3385
|
+
if (!isToolSearch(tool2)) {
|
|
3386
|
+
return [searchName, tool2];
|
|
3387
|
+
}
|
|
3388
|
+
const callers = getCallers(searchName).filter(
|
|
3389
|
+
(name12) => name12 === DIRECT_TOOL_CALL || Object.hasOwn(activeTools, name12)
|
|
3390
|
+
);
|
|
3391
|
+
const candidates = entries.filter(
|
|
3392
|
+
([name12, candidate]) => candidate.deferLoading && !isToolSearch(candidate) && callers.some((caller) => getCallers(name12).includes(caller))
|
|
3393
|
+
);
|
|
3394
|
+
return [
|
|
3395
|
+
searchName,
|
|
3396
|
+
{
|
|
3397
|
+
...tool2,
|
|
3398
|
+
execute: ({ query }) => {
|
|
3399
|
+
const terms = [...new Set(tokenize(query))];
|
|
3400
|
+
const matches = candidates.map(([name12, candidate]) => {
|
|
3401
|
+
const description = resolveToolDescription({
|
|
3402
|
+
tool: candidate,
|
|
3403
|
+
toolName: name12,
|
|
3404
|
+
toolsContext,
|
|
3405
|
+
experimental_sandbox
|
|
3406
|
+
});
|
|
3407
|
+
const nameTerms = tokenize(name12);
|
|
3408
|
+
const descriptionTerms = tokenize(description ?? "");
|
|
3409
|
+
const score = terms.reduce(
|
|
3410
|
+
(score2, term) => score2 + (nameTerms.includes(term) ? 2 : 0) + (descriptionTerms.includes(term) ? 1 : 0),
|
|
3411
|
+
0
|
|
3412
|
+
);
|
|
3413
|
+
return { name: name12, description, score };
|
|
3414
|
+
}).filter((match) => match.score > 0).sort((a, b) => b.score - a.score).slice(0, 5);
|
|
3415
|
+
for (const { name: name12 } of matches) {
|
|
3416
|
+
discovered.add(name12);
|
|
3417
|
+
}
|
|
3418
|
+
return {
|
|
3419
|
+
tools: matches.map(({ name: name12, description }) => ({
|
|
3420
|
+
name: name12,
|
|
3421
|
+
...description == null ? {} : { description }
|
|
3422
|
+
}))
|
|
3423
|
+
};
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
];
|
|
3427
|
+
})
|
|
3428
|
+
);
|
|
3121
3429
|
};
|
|
3122
3430
|
}
|
|
3431
|
+
function tokenize(text) {
|
|
3432
|
+
return text.replace(/([a-z\d])([A-Z])/g, "$1 $2").toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [];
|
|
3433
|
+
}
|
|
3123
3434
|
|
|
3124
3435
|
// src/generate-text/collect-tool-approvals.ts
|
|
3125
3436
|
function collectToolApprovals({
|
|
3126
3437
|
messages
|
|
3127
3438
|
}) {
|
|
3128
3439
|
const lastMessage = messages.at(-1);
|
|
3129
|
-
if (
|
|
3440
|
+
if (lastMessage?.role != "tool") {
|
|
3130
3441
|
return {
|
|
3131
3442
|
approvedToolApprovals: [],
|
|
3132
3443
|
deniedToolApprovals: []
|
|
@@ -3198,93 +3509,11 @@ function collectToolApprovals({
|
|
|
3198
3509
|
return { approvedToolApprovals, deniedToolApprovals };
|
|
3199
3510
|
}
|
|
3200
3511
|
|
|
3201
|
-
// src/generate-text/validate-tool-approvals.ts
|
|
3202
|
-
import {
|
|
3203
|
-
asSchema as asSchema3,
|
|
3204
|
-
isExecutableTool,
|
|
3205
|
-
safeValidateTypes as safeValidateTypes3
|
|
3206
|
-
} from "@ai-sdk/provider-utils";
|
|
3207
|
-
|
|
3208
|
-
// src/generate-text/validate-tool-context.ts
|
|
3209
|
-
import { validateTypes } from "@ai-sdk/provider-utils";
|
|
3210
|
-
async function validateToolContext({
|
|
3211
|
-
toolName,
|
|
3212
|
-
context,
|
|
3213
|
-
contextSchema
|
|
3214
|
-
}) {
|
|
3215
|
-
if (contextSchema == null) {
|
|
3216
|
-
return context;
|
|
3217
|
-
}
|
|
3218
|
-
return await validateTypes({
|
|
3219
|
-
value: context,
|
|
3220
|
-
schema: contextSchema,
|
|
3221
|
-
context: {
|
|
3222
|
-
field: "tool context",
|
|
3223
|
-
entityName: toolName
|
|
3224
|
-
}
|
|
3225
|
-
});
|
|
3226
|
-
}
|
|
3227
|
-
|
|
3228
|
-
// src/generate-text/resolve-tool-approval.ts
|
|
3229
|
-
async function resolveToolApproval({
|
|
3230
|
-
tools,
|
|
3231
|
-
toolCall,
|
|
3232
|
-
toolApproval,
|
|
3233
|
-
messages,
|
|
3234
|
-
toolsContext,
|
|
3235
|
-
runtimeContext
|
|
3236
|
-
}) {
|
|
3237
|
-
if (toolApproval != null && typeof toolApproval === "function") {
|
|
3238
|
-
return normalizeToolApprovalStatus(
|
|
3239
|
-
await toolApproval({
|
|
3240
|
-
toolCall,
|
|
3241
|
-
tools,
|
|
3242
|
-
toolsContext,
|
|
3243
|
-
messages,
|
|
3244
|
-
runtimeContext
|
|
3245
|
-
})
|
|
3246
|
-
);
|
|
3247
|
-
}
|
|
3248
|
-
const toolName = toolCall.toolName;
|
|
3249
|
-
const tool = getOwn(tools, toolName);
|
|
3250
|
-
const input = toolCall.input;
|
|
3251
|
-
const userDefinedToolApprovalStatus = getOwn(toolApproval, toolName);
|
|
3252
|
-
if (userDefinedToolApprovalStatus != null) {
|
|
3253
|
-
const approvalStatus = typeof userDefinedToolApprovalStatus === "function" ? await userDefinedToolApprovalStatus(input, {
|
|
3254
|
-
toolCallId: toolCall.toolCallId,
|
|
3255
|
-
messages,
|
|
3256
|
-
toolContext: await validateToolContext({
|
|
3257
|
-
toolName,
|
|
3258
|
-
context: getOwn(toolsContext, toolName),
|
|
3259
|
-
contextSchema: tool == null ? void 0 : tool.contextSchema
|
|
3260
|
-
}),
|
|
3261
|
-
runtimeContext
|
|
3262
|
-
}) : userDefinedToolApprovalStatus;
|
|
3263
|
-
return normalizeToolApprovalStatus(approvalStatus);
|
|
3264
|
-
}
|
|
3265
|
-
if ((tool == null ? void 0 : tool.needsApproval) == null) {
|
|
3266
|
-
return { type: "not-applicable" };
|
|
3267
|
-
}
|
|
3268
|
-
const needsApproval = typeof tool.needsApproval === "function" ? await tool.needsApproval(input, {
|
|
3269
|
-
toolCallId: toolCall.toolCallId,
|
|
3270
|
-
messages,
|
|
3271
|
-
context: await validateToolContext({
|
|
3272
|
-
toolName,
|
|
3273
|
-
context: getOwn(toolsContext, toolName),
|
|
3274
|
-
contextSchema: tool == null ? void 0 : tool.contextSchema
|
|
3275
|
-
})
|
|
3276
|
-
}) : tool.needsApproval;
|
|
3277
|
-
return needsApproval ? { type: "user-approval" } : { type: "not-applicable" };
|
|
3278
|
-
}
|
|
3279
|
-
function normalizeToolApprovalStatus(status) {
|
|
3280
|
-
return status === void 0 ? { type: "not-applicable" } : typeof status === "string" ? { type: status } : status;
|
|
3281
|
-
}
|
|
3282
|
-
|
|
3283
3512
|
// src/generate-text/tool-approval-signature.ts
|
|
3284
3513
|
import { convertBase64ToUint8Array } from "@ai-sdk/provider-utils";
|
|
3285
3514
|
|
|
3286
3515
|
// src/util/canonical-hash.ts
|
|
3287
|
-
import { convertUint8ArrayToBase64 } from "@ai-sdk/provider-utils";
|
|
3516
|
+
import { convertUint8ArrayToBase64 as convertUint8ArrayToBase642 } from "@ai-sdk/provider-utils";
|
|
3288
3517
|
var encoder = new TextEncoder();
|
|
3289
3518
|
function canonicalJSON(value) {
|
|
3290
3519
|
if (value === null || value === void 0) {
|
|
@@ -3294,7 +3523,7 @@ function canonicalJSON(value) {
|
|
|
3294
3523
|
return JSON.stringify(value);
|
|
3295
3524
|
}
|
|
3296
3525
|
if (Array.isArray(value)) {
|
|
3297
|
-
return `[${value.map(canonicalJSON).join(",")}]`;
|
|
3526
|
+
return `[${value.map((element) => element === void 0 ? "null" : canonicalJSON(element)).join(",")}]`;
|
|
3298
3527
|
}
|
|
3299
3528
|
const keys = Object.keys(value).sort();
|
|
3300
3529
|
const entries = keys.map(
|
|
@@ -3303,7 +3532,7 @@ function canonicalJSON(value) {
|
|
|
3303
3532
|
return `{${entries.join(",")}}`;
|
|
3304
3533
|
}
|
|
3305
3534
|
function toBase64url(bytes) {
|
|
3306
|
-
return
|
|
3535
|
+
return convertUint8ArrayToBase642(bytes).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
3307
3536
|
}
|
|
3308
3537
|
async function hashCanonical(value) {
|
|
3309
3538
|
const digest = await crypto.subtle.digest(
|
|
@@ -3347,6 +3576,19 @@ ${toolName}
|
|
|
3347
3576
|
${inputDigest}`
|
|
3348
3577
|
);
|
|
3349
3578
|
}
|
|
3579
|
+
async function signToolApproval({
|
|
3580
|
+
secret,
|
|
3581
|
+
approvalId,
|
|
3582
|
+
toolCallId,
|
|
3583
|
+
toolName,
|
|
3584
|
+
input
|
|
3585
|
+
}) {
|
|
3586
|
+
const key = await importKey(secret);
|
|
3587
|
+
const inputDigest = await hashCanonical(input);
|
|
3588
|
+
const payload = buildPayload(approvalId, toolCallId, toolName, inputDigest);
|
|
3589
|
+
const sig = await crypto.subtle.sign("HMAC", key, payload);
|
|
3590
|
+
return toBase64url(new Uint8Array(sig));
|
|
3591
|
+
}
|
|
3350
3592
|
async function verifyToolApprovalSignature({
|
|
3351
3593
|
secret,
|
|
3352
3594
|
signature,
|
|
@@ -3374,6 +3616,95 @@ async function verifyToolApprovalSignature({
|
|
|
3374
3616
|
return false;
|
|
3375
3617
|
}
|
|
3376
3618
|
|
|
3619
|
+
// src/generate-text/validate-tool-approvals.ts
|
|
3620
|
+
import {
|
|
3621
|
+
asSchema as asSchema3,
|
|
3622
|
+
isExecutableTool,
|
|
3623
|
+
safeValidateTypes as safeValidateTypes3
|
|
3624
|
+
} from "@ai-sdk/provider-utils";
|
|
3625
|
+
|
|
3626
|
+
// src/util/is-deep-equal-data.ts
|
|
3627
|
+
function isDeepEqualData(obj1, obj2) {
|
|
3628
|
+
if (obj1 === obj2) return true;
|
|
3629
|
+
if (obj1 == null || obj2 == null) return false;
|
|
3630
|
+
if (typeof obj1 !== "object" && typeof obj2 !== "object")
|
|
3631
|
+
return obj1 === obj2;
|
|
3632
|
+
if (obj1.constructor !== obj2.constructor) return false;
|
|
3633
|
+
if (obj1 instanceof Date && obj2 instanceof Date) {
|
|
3634
|
+
return obj1.getTime() === obj2.getTime();
|
|
3635
|
+
}
|
|
3636
|
+
if (Array.isArray(obj1)) {
|
|
3637
|
+
if (obj1.length !== obj2.length) return false;
|
|
3638
|
+
for (let i = 0; i < obj1.length; i++) {
|
|
3639
|
+
if (!isDeepEqualData(obj1[i], obj2[i])) return false;
|
|
3640
|
+
}
|
|
3641
|
+
return true;
|
|
3642
|
+
}
|
|
3643
|
+
const keys1 = Object.keys(obj1);
|
|
3644
|
+
const keys2 = Object.keys(obj2);
|
|
3645
|
+
if (keys1.length !== keys2.length) return false;
|
|
3646
|
+
for (const key of keys1) {
|
|
3647
|
+
if (!keys2.includes(key)) return false;
|
|
3648
|
+
if (!isDeepEqualData(obj1[key], obj2[key])) return false;
|
|
3649
|
+
}
|
|
3650
|
+
return true;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
// src/generate-text/resolve-tool-approval.ts
|
|
3654
|
+
async function resolveToolApproval({
|
|
3655
|
+
tools,
|
|
3656
|
+
toolCall,
|
|
3657
|
+
toolApproval,
|
|
3658
|
+
messages,
|
|
3659
|
+
toolsContext,
|
|
3660
|
+
runtimeContext
|
|
3661
|
+
}) {
|
|
3662
|
+
if (toolApproval != null && typeof toolApproval === "function") {
|
|
3663
|
+
return normalizeToolApprovalStatus(
|
|
3664
|
+
await toolApproval({
|
|
3665
|
+
toolCall,
|
|
3666
|
+
tools,
|
|
3667
|
+
toolsContext,
|
|
3668
|
+
messages,
|
|
3669
|
+
runtimeContext
|
|
3670
|
+
})
|
|
3671
|
+
);
|
|
3672
|
+
}
|
|
3673
|
+
const toolName = toolCall.toolName;
|
|
3674
|
+
const tool2 = getOwn(tools, toolName);
|
|
3675
|
+
const input = toolCall.input;
|
|
3676
|
+
const userDefinedToolApprovalStatus = getOwn(toolApproval, toolName);
|
|
3677
|
+
if (userDefinedToolApprovalStatus != null) {
|
|
3678
|
+
const approvalStatus = typeof userDefinedToolApprovalStatus === "function" ? await userDefinedToolApprovalStatus(input, {
|
|
3679
|
+
toolCallId: toolCall.toolCallId,
|
|
3680
|
+
messages,
|
|
3681
|
+
toolContext: await validateToolContext({
|
|
3682
|
+
toolName,
|
|
3683
|
+
context: getOwn(toolsContext, toolName),
|
|
3684
|
+
contextSchema: tool2?.contextSchema
|
|
3685
|
+
}),
|
|
3686
|
+
runtimeContext
|
|
3687
|
+
}) : userDefinedToolApprovalStatus;
|
|
3688
|
+
return normalizeToolApprovalStatus(approvalStatus);
|
|
3689
|
+
}
|
|
3690
|
+
if (tool2?.needsApproval == null) {
|
|
3691
|
+
return { type: "not-applicable" };
|
|
3692
|
+
}
|
|
3693
|
+
const needsApproval = typeof tool2.needsApproval === "function" ? await tool2.needsApproval(input, {
|
|
3694
|
+
toolCallId: toolCall.toolCallId,
|
|
3695
|
+
messages,
|
|
3696
|
+
context: await validateToolContext({
|
|
3697
|
+
toolName,
|
|
3698
|
+
context: getOwn(toolsContext, toolName),
|
|
3699
|
+
contextSchema: tool2?.contextSchema
|
|
3700
|
+
})
|
|
3701
|
+
}) : tool2.needsApproval;
|
|
3702
|
+
return needsApproval ? { type: "user-approval" } : { type: "not-applicable" };
|
|
3703
|
+
}
|
|
3704
|
+
function normalizeToolApprovalStatus(status) {
|
|
3705
|
+
return status === void 0 ? { type: "not-applicable" } : typeof status === "string" ? { type: status } : status;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3377
3708
|
// src/generate-text/validate-tool-approvals.ts
|
|
3378
3709
|
async function validateApprovedToolApprovals({
|
|
3379
3710
|
approvedToolApprovals,
|
|
@@ -3382,14 +3713,15 @@ async function validateApprovedToolApprovals({
|
|
|
3382
3713
|
messages,
|
|
3383
3714
|
toolsContext,
|
|
3384
3715
|
runtimeContext,
|
|
3385
|
-
toolApprovalSecret
|
|
3716
|
+
toolApprovalSecret,
|
|
3717
|
+
refineToolInput
|
|
3386
3718
|
}) {
|
|
3387
|
-
var _a12;
|
|
3388
3719
|
const approved = [];
|
|
3389
3720
|
const denied = [];
|
|
3721
|
+
const invalid = [];
|
|
3390
3722
|
for (const approval of approvedToolApprovals) {
|
|
3391
|
-
const {
|
|
3392
|
-
const
|
|
3723
|
+
const { approvalRequest, toolCall } = approval;
|
|
3724
|
+
const tool2 = getOwn(tools, toolCall.toolName);
|
|
3393
3725
|
if (toolApprovalSecret != null) {
|
|
3394
3726
|
if (approvalRequest.signature == null) {
|
|
3395
3727
|
throw new InvalidToolApprovalSignatureError({
|
|
@@ -3414,17 +3746,46 @@ async function validateApprovedToolApprovals({
|
|
|
3414
3746
|
});
|
|
3415
3747
|
}
|
|
3416
3748
|
}
|
|
3417
|
-
if (isExecutableTool(
|
|
3749
|
+
if (isExecutableTool(tool2) && tool2.inputSchema != null) {
|
|
3750
|
+
const hasInputSchemaInput = Object.prototype.hasOwnProperty.call(
|
|
3751
|
+
approvalRequest,
|
|
3752
|
+
"inputSchemaInput"
|
|
3753
|
+
);
|
|
3418
3754
|
const validation = await safeValidateTypes3({
|
|
3419
|
-
value: toolCall.input,
|
|
3420
|
-
schema: asSchema3(
|
|
3755
|
+
value: hasInputSchemaInput ? approvalRequest.inputSchemaInput : toolCall.input,
|
|
3756
|
+
schema: asSchema3(tool2.inputSchema)
|
|
3421
3757
|
});
|
|
3758
|
+
let validationError;
|
|
3422
3759
|
if (!validation.success) {
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3760
|
+
validationError = validation.error;
|
|
3761
|
+
} else {
|
|
3762
|
+
try {
|
|
3763
|
+
const revalidatedToolCall = await refineParsedToolCallInput({
|
|
3764
|
+
toolCall: {
|
|
3765
|
+
...toolCall,
|
|
3766
|
+
input: validation.value
|
|
3767
|
+
},
|
|
3768
|
+
refineToolInput
|
|
3769
|
+
});
|
|
3770
|
+
if (!isDeepEqualData(revalidatedToolCall.input, toolCall.input)) {
|
|
3771
|
+
validationError = new Error(
|
|
3772
|
+
"Approved tool input does not match the validated schema output."
|
|
3773
|
+
);
|
|
3774
|
+
}
|
|
3775
|
+
} catch (error) {
|
|
3776
|
+
validationError = error;
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
if (validationError != null) {
|
|
3780
|
+
invalid.push({
|
|
3781
|
+
...approval,
|
|
3782
|
+
error: new InvalidToolInputError({
|
|
3783
|
+
toolName: toolCall.toolName,
|
|
3784
|
+
toolInput: JSON.stringify(toolCall.input),
|
|
3785
|
+
cause: validationError
|
|
3786
|
+
})
|
|
3427
3787
|
});
|
|
3788
|
+
continue;
|
|
3428
3789
|
}
|
|
3429
3790
|
}
|
|
3430
3791
|
const approvalStatus = await resolveToolApproval({
|
|
@@ -3441,14 +3802,18 @@ async function validateApprovedToolApprovals({
|
|
|
3441
3802
|
approvalResponse: {
|
|
3442
3803
|
...approval.approvalResponse,
|
|
3443
3804
|
approved: false,
|
|
3444
|
-
reason:
|
|
3805
|
+
reason: approvalStatus.reason ?? approval.approvalResponse.reason
|
|
3445
3806
|
}
|
|
3446
3807
|
});
|
|
3447
3808
|
} else {
|
|
3448
3809
|
approved.push(approval);
|
|
3449
3810
|
}
|
|
3450
3811
|
}
|
|
3451
|
-
return {
|
|
3812
|
+
return {
|
|
3813
|
+
approvedToolApprovals: approved,
|
|
3814
|
+
deniedToolApprovals: denied,
|
|
3815
|
+
invalidToolApprovals: invalid
|
|
3816
|
+
};
|
|
3452
3817
|
}
|
|
3453
3818
|
|
|
3454
3819
|
// src/generate-text/to-response-messages.ts
|
|
@@ -3555,12 +3920,15 @@ async function toResponseMessages({
|
|
|
3555
3920
|
break;
|
|
3556
3921
|
}
|
|
3557
3922
|
case "tool-approval-request":
|
|
3923
|
+
const inputSchemaInput = getToolCallInputSchemaInput(part.toolCall);
|
|
3558
3924
|
content.push({
|
|
3559
3925
|
type: "tool-approval-request",
|
|
3560
3926
|
approvalId: part.approvalId,
|
|
3561
3927
|
toolCallId: part.toolCall.toolCallId,
|
|
3928
|
+
...part.reason != null ? { reason: part.reason } : {},
|
|
3562
3929
|
isAutomatic: part.isAutomatic,
|
|
3563
|
-
...part.signature != null ? { signature: part.signature } : {}
|
|
3930
|
+
...part.signature != null ? { signature: part.signature } : {},
|
|
3931
|
+
...inputSchemaInput != null && !isDeepEqualData(inputSchemaInput.value, part.toolCall.input) ? { inputSchemaInput: inputSchemaInput.value } : {}
|
|
3564
3932
|
});
|
|
3565
3933
|
break;
|
|
3566
3934
|
}
|
|
@@ -3662,6 +4030,7 @@ export {
|
|
|
3662
4030
|
createRestrictedTelemetryDispatcher,
|
|
3663
4031
|
createTelemetryDispatcher,
|
|
3664
4032
|
createToolModelOutput,
|
|
4033
|
+
createToolSearchState,
|
|
3665
4034
|
downloadAssets,
|
|
3666
4035
|
mapToolResultOutput,
|
|
3667
4036
|
mergeAbortSignals,
|
|
@@ -3673,8 +4042,11 @@ export {
|
|
|
3673
4042
|
prepareToolChoice,
|
|
3674
4043
|
prepareTools,
|
|
3675
4044
|
resolveLanguageModel,
|
|
4045
|
+
signToolApproval,
|
|
3676
4046
|
standardizePrompt,
|
|
3677
4047
|
toResponseMessages,
|
|
3678
|
-
validateApprovedToolApprovals
|
|
4048
|
+
validateApprovedToolApprovals,
|
|
4049
|
+
validateToolContext,
|
|
4050
|
+
verifyToolApprovalSignature
|
|
3679
4051
|
};
|
|
3680
4052
|
//# sourceMappingURL=index.js.map
|