maka-agent 0.2.0-dev.6.20260830 → 0.2.0-dev.62.20260928
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 +482 -263
- 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/@ai-sdk/anthropic/CHANGELOG.md +117 -0
- package/node_modules/@ai-sdk/anthropic/dist/index.js +937 -411
- package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +335 -160
- package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +132 -43
- package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/anthropic/package.json +6 -6
- package/node_modules/@ai-sdk/cohere/CHANGELOG.md +105 -0
- package/node_modules/@ai-sdk/cohere/dist/index.js +20 -22
- package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/cohere/package.json +6 -6
- package/node_modules/@ai-sdk/google/CHANGELOG.md +176 -0
- package/node_modules/@ai-sdk/google/dist/index.js +4441 -2801
- package/node_modules/@ai-sdk/google/dist/internal/index.js +640 -177
- package/node_modules/@ai-sdk/google/docs/15-google.mdx +225 -97
- package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/google/package.json +6 -6
- package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +81 -0
- package/node_modules/@ai-sdk/open-responses/dist/index.js +570 -22
- package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +123 -2
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +38 -0
- package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +1 -1
- package/node_modules/@ai-sdk/open-responses/package.json +3 -3
- package/node_modules/@ai-sdk/openai/CHANGELOG.md +184 -0
- package/node_modules/@ai-sdk/openai/dist/index.js +2013 -736
- package/node_modules/@ai-sdk/openai/dist/internal/index.js +1377 -478
- package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +208 -52
- package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/LICENSE +13 -0
- package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/openai/package.json +6 -6
- package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +126 -0
- package/node_modules/@ai-sdk/openai-compatible/dist/index.js +105 -20
- package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +9 -0
- package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +78 -0
- package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/openai-compatible/package.json +6 -6
- package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +92 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js +664 -168
- package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/LICENSE +13 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/provider-utils/package.json +5 -5
- package/node_modules/@earendil-works/pi-tui/README.md +53 -4
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +202 -42
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +36 -3
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js +29 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +107 -22
- 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/index.js +2 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +2 -2
- package/node_modules/@earendil-works/pi-tui/dist/latex.js +14 -0
- package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +2 -8
- package/node_modules/@earendil-works/pi-tui/dist/native-module-path.js +19 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +38 -6
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +21 -14
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +405 -57
- 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 +9 -0
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/node_modules/@larksuiteoapi/node-sdk/es/index.js +199 -35
- package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +199 -35
- 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 +24702 -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 +11 -12
- 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 +7 -57
- 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 +153 -104
- package/node_modules/@maka/eval/harbor/eval_framework.py +37 -14
- package/node_modules/@maka/eval/harbor/relay_agent.py +47 -10
- package/node_modules/@maka/eval/harbor/run_trial.py +11 -4
- 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/EnvHttpProxyAgent.md +3 -2
- 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/Interceptors.md +7 -3
- package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- 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/symbols.js +2 -0
- 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 +12 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +3 -2
- 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 +10 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- 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 +12 -6
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +148 -30
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +65 -12
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +115 -13
- 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/cookies/parse.js +150 -147
- 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 +13 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +1 -1
- 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/stream/websocketstream.js +8 -10
- 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/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 +500 -550
- package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +593 -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/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 +103 -89
- 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 +282 -188
- package/node_modules/@maka/runtime/dist/model-factory.js +127 -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 +131 -0
- package/node_modules/@maka/runtime/dist/plugin-approval-service.js +33 -0
- package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +53 -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 +188 -25
- package/node_modules/@maka/runtime/dist/plugin-data-services.js +332 -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 +62 -0
- package/node_modules/@maka/runtime/dist/plugin-goal-service.js +61 -0
- package/node_modules/@maka/runtime/dist/plugin-invocation-signal.js +24 -0
- package/node_modules/@maka/runtime/dist/plugin-llm-service.js +85 -0
- package/node_modules/@maka/runtime/dist/plugin-lsp-service.js +94 -0
- package/node_modules/@maka/runtime/dist/plugin-runtime.js +239 -10
- package/node_modules/@maka/runtime/dist/plugin-scope-registry.js +91 -0
- package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +71 -0
- package/node_modules/@maka/runtime/dist/plugin-shell-env-service.js +87 -0
- package/node_modules/@maka/runtime/dist/plugin-shell-service.js +74 -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 +69 -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 +93 -17
- 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 +18839 -10323
- package/node_modules/@maka/runtime/dist/workspace-executor.js +26 -35
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/LICENSE +13 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +538 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/package.json +78 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/CHANGELOG.md +3269 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/LICENSE +13 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/dist/index.js +3835 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +1610 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/package.json +80 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/LICENSE +13 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/README.md +1 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/dist/index.js +426 -0
- package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/package.json +63 -0
- 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/package.json +4 -4
- package/node_modules/@maka/runtime/node_modules/ai/CHANGELOG.md +10271 -0
- package/node_modules/@maka/runtime/node_modules/ai/LICENSE +13 -0
- package/node_modules/@maka/runtime/node_modules/ai/dist/index.js +20146 -0
- package/node_modules/@maka/runtime/node_modules/ai/dist/internal/index.js +3690 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +185 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/04-loop-control.mdx +517 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +413 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +338 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +815 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +525 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +1512 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +680 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +371 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +333 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +163 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +180 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/42-batch.mdx +372 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +241 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +855 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/index.mdx +137 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +683 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +69 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +47 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +826 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +406 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +216 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +582 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/06-advanced/04-caching.mdx +182 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +117 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +3267 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +4303 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +330 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +332 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +331 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +253 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +125 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +1102 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +154 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +133 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +109 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +96 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +121 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +368 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +331 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +147 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +250 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +493 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +256 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +199 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +125 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +1035 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +361 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +157 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +32 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +31 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +43 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +52 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +38 -0
- package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +43 -0
- package/node_modules/@maka/runtime/node_modules/ai/package.json +127 -0
- 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/EnvHttpProxyAgent.md +3 -2
- 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/Interceptors.md +7 -3
- package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- 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/symbols.js +2 -0
- 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 +12 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +3 -2
- 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 +10 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- 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 +12 -6
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +148 -30
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +65 -12
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +115 -13
- 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/cookies/parse.js +150 -147
- 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 +13 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +1 -1
- 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/stream/websocketstream.js +8 -10
- package/node_modules/@maka/runtime/node_modules/undici/package.json +3 -3
- package/node_modules/@maka/runtime/package.json +52 -21
- 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 +138 -153
- 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 +37 -90
- 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 +472 -304
- 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 +802 -215
- 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 +437 -574
- 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 +45 -61
- 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/src-D_zzAWoS.mjs +22 -5
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +22 -5
- 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 +1 -1
- package/node_modules/@types/node/package.json +3 -3
- 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/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 +334 -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 +1927 -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 +622 -0
- package/node_modules/systeminformation/lib/network.js +2008 -0
- package/node_modules/systeminformation/lib/osinfo.js +1290 -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 +2833 -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/docs/docs/api/Client.md +4 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/undici/lib/core/symbols.js +2 -0
- 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 +12 -4
- package/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
- package/node_modules/undici/lib/dispatcher/client.js +3 -2
- 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 +10 -3
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- 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 +12 -6
- package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/undici/lib/handler/retry-handler.js +148 -30
- package/node_modules/undici/lib/interceptor/cache.js +65 -12
- package/node_modules/undici/lib/interceptor/decompress.js +115 -13
- 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/cookies/parse.js +150 -147
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
- package/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- 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 +3 -3
- package/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +0 -549
- package/node_modules/@ai-sdk/code-mode/package.json +0 -78
- package/node_modules/@ai-sdk/gateway/CHANGELOG.md +0 -3067
- package/node_modules/@ai-sdk/gateway/dist/index.js +0 -3208
- package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +0 -1297
- package/node_modules/@ai-sdk/gateway/package.json +0 -80
- 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/@ai-sdk/provider/CHANGELOG.md +0 -1218
- package/node_modules/@ai-sdk/provider/package.json +0 -63
- 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/ai/CHANGELOG.md +0 -9971
- package/node_modules/ai/dist/index.js +0 -18513
- package/node_modules/ai/dist/internal/index.js +0 -3680
- package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +0 -179
- package/node_modules/ai/docs/03-agents/04-loop-control.mdx +0 -515
- package/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +0 -412
- package/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +0 -326
- package/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +0 -718
- package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -513
- package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +0 -1509
- package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +0 -617
- package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +0 -344
- package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +0 -332
- package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +0 -180
- package/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +0 -155
- package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +0 -149
- package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +0 -830
- package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +0 -132
- package/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +0 -495
- package/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +0 -65
- package/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +0 -45
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +0 -798
- package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -401
- package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +0 -212
- package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -578
- package/node_modules/ai/docs/06-advanced/04-caching.mdx +0 -175
- package/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +0 -111
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +0 -3253
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +0 -4261
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -304
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -302
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +0 -317
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -252
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +0 -92
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +0 -1102
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -342
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -268
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -145
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +0 -225
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +0 -493
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +0 -256
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +0 -166
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -120
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +0 -954
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +0 -347
- package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -36
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -41
- package/node_modules/ai/package.json +0 -117
- 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/@ai-sdk/{code-mode → anthropic/node_modules/@ai-sdk/provider}/LICENSE +0 -0
- /package/node_modules/@ai-sdk/{provider → anthropic/node_modules/@ai-sdk/provider}/README.md +0 -0
- /package/node_modules/@ai-sdk/{provider → anthropic/node_modules/@ai-sdk/provider}/dist/index.js +0 -0
- /package/node_modules/@ai-sdk/{gateway → cohere/node_modules/@ai-sdk/provider}/LICENSE +0 -0
- /package/node_modules/@ai-sdk/{provider → google/node_modules/@ai-sdk/provider}/LICENSE +0 -0
- /package/node_modules/{ai → @ai-sdk/openai-compatible/node_modules/@ai-sdk/provider}/LICENSE +0 -0
- /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/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/README.md +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/approval-continuation.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/approval.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/code-mode-tool.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/continuation-capability.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/direct-tool-call.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/errors.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/host-interrupt.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/index.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/interrupt-continuation.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/tool-invocation.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/tool-prompt.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/types.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/utils/serialization.js +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/src/tsconfig.json +0 -0
- /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/gateway/README.md +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/README.md +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/00-introduction/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/03-prompts.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/04-tools.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/05-streaming.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/06-provider-options.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/00-choosing-a-provider.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/01-navigating-the-library.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/02-nextjs-app-router.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/03-nextjs-pages-router.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/04-svelte.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/05-nuxt.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/06-nodejs.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/07-expo.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/08-tanstack-start.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/09-coding-agents.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/02-building-agents.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/03-workflows.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/05-configuring-call-options.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/06-memory.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/06-subagents.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/08-terminal-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/05-generating-text.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/17-mcp-apps.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/17-runtime-and-tool-context.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/18-code-mode.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/20-prompt-engineering.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/25-settings.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/26-reasoning.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/30-embeddings.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/31-reranking.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/36-realtime.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/36-translation.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/38-video-generation.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/40-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/41-skill-uploads.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/45-provider-management.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/55-testing.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/65-devtools.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/03-tools.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/07-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/02-chatbot.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/05-completion.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/08-object-generation.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/21-error-handling.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/01-overview.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/06-loading-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/01-prompt-engineering.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/02-stopping-streams.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/03-backpressure.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/05-multiple-streamables.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/06-rate-limiting.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/08-model-as-router.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/09-multistep-interfaces.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/09-sequential-generations.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-stream-transcribe.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-stream-translate.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/14-upload-skill.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/20-tool.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/23-get-realtime-tool-definitions.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/24-mcp-apps.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/29-filter-active-tools.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/34-sandbox.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/68-default-instructions-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/70-is-step-count.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/48-mcp-app-renderer.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-signature-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-reference-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-translation-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/06-ai-sdk-tui/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/00-versioning.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/23-migration-guide-7-0.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/29-migration-guide-4-0.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/37-migration-guide-3-3.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/index.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/09-client-stream-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +0 -0
- /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/index.mdx +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
package/dist/pi-tui-runner.js
CHANGED
|
@@ -17,35 +17,75 @@
|
|
|
17
17
|
* under the License.
|
|
18
18
|
*/
|
|
19
19
|
import { randomUUID } from 'node:crypto';
|
|
20
|
-
import { basename } from 'node:path';
|
|
21
20
|
import { Key, ProcessTerminal, SelectList, TuiMainScreen, isKeyRelease, isKeyRepeat, matchesKey, } from '@earendil-works/pi-tui';
|
|
22
|
-
import {
|
|
21
|
+
import { normalizeExternalSessionQueryText, } from '@maka/core/external-session';
|
|
22
|
+
import { CurrentTodoStore, TodoOverlay, renderTodoIndicator } from './pi-tui-todo.js';
|
|
23
|
+
import { isThinkingLevel } from '@maka/core/model-thinking';
|
|
24
|
+
import { deriveConnectionSlug } from '@maka/core/llm-connections';
|
|
23
25
|
import { projectRevisionLinkedSessionTree } from '@maka/core/session-revisions';
|
|
24
26
|
import { slashCommandsForSurface, } from '@maka/core/slash-command-catalog';
|
|
25
27
|
import { latestAssistantModelId, } from '@maka/core/session';
|
|
26
|
-
import {
|
|
27
|
-
import { listApiKeyOnboardableProviders } from './onboarding-catalog.js';
|
|
28
|
+
import { defineUiMessageCatalog, formatUiMessage, resolveUiMessageCatalog, } from '@maka/core/ui-locale';
|
|
29
|
+
import { listApiKeyOnboardableProviders, onboardingCreateTarget } from './onboarding-catalog.js';
|
|
28
30
|
import { AUTO_RECAP_DISPLAY_LIMIT_BYTES, shouldAutoRecap } from './session-recap.js';
|
|
29
31
|
import { MakaSkillHighlightEditor } from './skill-highlight-editor.js';
|
|
30
32
|
import { parseGraphCommand } from '@maka/core/graph-command';
|
|
31
33
|
import { parseSwarmCommand } from '@maka/core/swarm-command';
|
|
32
34
|
import { inspectSessionResumeAvailability, } from './session-driver.js';
|
|
33
35
|
import { SafeBoundaryResumeParkedError } from './runtime-host-session-driver.js';
|
|
34
|
-
import { appendExpansionCollapseConfirmation, appendTurnFailureToTranscript, appendUserCommandToTranscript, appendUserPrompt, applyMakaSessionEventToTranscript, applyShellRunUpdateToTranscript, createMakaPiTranscriptState, hasRunningUserCommand, activeSandboxBoundaryRequest, activeUserQuestionRequest, applyExpansionDefaultToAll, completePendingInteraction, applyShellRunViewUpdateToTranscript, EXPANSION_COLLAPSE_CONFIRM_WINDOW_MS, hasExpandedEntriesAboveViewport, permissionModeLabel, retireCancelledTransientMessages, replaceTranscriptWithStoredMessages, hydrateToolsWithStoredMessages, submitCompactToTranscript, toggleAllThinkingExpansion, toggleAllToolExpansion, } from './pi-transcript.js';
|
|
36
|
+
import { appendExpansionCollapseConfirmation, appendTurnFailureToTranscript, appendUserCommandToTranscript, appendUserPrompt, applyMakaSessionEventToTranscript, applyShellRunUpdateToTranscript, createMakaPiTranscriptState, hasRunningUserCommand, activeSandboxBoundaryRequest, activeFormRequest, activeUserQuestionRequest, applyExpansionDefaultToAll, completePendingInteraction, applyShellRunViewUpdateToTranscript, EXPANSION_COLLAPSE_CONFIRM_WINDOW_MS, hasExpandedEntriesAboveViewport, permissionModeLabel, retireCancelledTransientMessages, replaceTranscriptWithStoredMessages, hydrateToolsWithStoredMessages, submitCompactToTranscript, toggleAllThinkingExpansion, toggleAllToolExpansion, } from './pi-transcript.js';
|
|
37
|
+
import { FormInteractionOverlay } from './pi-tui-form-interaction.js';
|
|
35
38
|
import { runMakaPiTuiTurn } from './pi-tui-turn.js';
|
|
36
39
|
import { editorTheme, selectListTheme } from './tui-ansi.js';
|
|
37
40
|
import { MakaAutocompleteAboveEditorComponent } from './tui-autocomplete-layout.js';
|
|
38
41
|
import { TranscriptViewerOverlay } from './pi-tui-transcript-viewer.js';
|
|
42
|
+
import { copyToClipboard } from './tui-clipboard.js';
|
|
43
|
+
import { getTuiCopyCopy, lastAssistantText, serializeTranscriptText } from './tui-copy-command.js';
|
|
44
|
+
import { getTuiHostOwnerCopy } from './tui-host-owner-copy.js';
|
|
39
45
|
import { McpManagementOverlay } from './pi-tui-mcp-status.js';
|
|
40
46
|
import { createShellRunElapsedTicker } from './shell-run-elapsed-ticker.js';
|
|
41
47
|
import { createShellRunHydrationController } from './shell-run-hydration.js';
|
|
48
|
+
import { CTX_REFRESH_DEBOUNCE_MS, createCtxRefresher, scheduleCtxRefreshTimeout, } from './tui-context-refresh.js';
|
|
42
49
|
import { sessionStatusBadge } from './tui-session-status.js';
|
|
43
50
|
import { AttentionController, DISABLE_FOCUS_REPORTING, ENABLE_FOCUS_REPORTING, FOCUS_IN_SEQUENCE, FOCUS_OUT_SEQUENCE, } from './tui-attention.js';
|
|
44
51
|
import { MakaActivityStripComponent, MakaPendingQueueComponent, MakaPiLayoutComponent, MakaStatusLineComponent, MakaTranscriptComponent, } from './pi-tui-layout.js';
|
|
45
|
-
import { MakaAutocompleteProvider, DirectoryPickerOverlay, ModelSearchOverlay, OnboardingWizard, PickerOverlay, UserQuestionOverlay, modelChoiceConnectionLabels, getTuiPickerCopy, modelPickerItems, onboardingFailureMessage, permissionModePickerItems, skillPickerItems, thinkingLevelPickerItems, } from './pi-tui-pickers.js';
|
|
52
|
+
import { MakaAutocompleteProvider, DirectoryPickerOverlay, ModelSearchOverlay, SessionSearchOverlay, OnboardingWizard, PickerOverlay, UserQuestionOverlay, modelChoiceConnectionLabels, getTuiPickerCopy, modelPickerItems, onboardingFailureMessage, onboardingOAuthFailureMessage, permissionModePickerItems, skillPickerItems, thinkingLevelPickerItems, } from './pi-tui-pickers.js';
|
|
46
53
|
import { formatMakaResumeCommand } from './cli-invocation.js';
|
|
47
54
|
import { goalAttachedNoticeText, goalPausedNoticeText, goalStatusLabel, goalSummaryLines, isLiveGoalStatus, } from './pi-goal.js';
|
|
48
55
|
import { getTuiPrimaryGuidance } from './tui-primary-guidance.js';
|
|
56
|
+
import { TUI_COPY_RESOURCES } from './tui-copy-catalog.js';
|
|
57
|
+
const EXTERNAL_SESSION_SEARCH_DEBOUNCE_MS = 120;
|
|
58
|
+
function externalSourceLabel(adapterId) {
|
|
59
|
+
switch (adapterId) {
|
|
60
|
+
case 'claude-code':
|
|
61
|
+
return 'Claude Code';
|
|
62
|
+
case 'codex':
|
|
63
|
+
return 'Codex';
|
|
64
|
+
case 'opencode':
|
|
65
|
+
return 'OpenCode';
|
|
66
|
+
default:
|
|
67
|
+
return adapterId;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function externalImportErrorCode(error) {
|
|
71
|
+
if (typeof error !== 'object' || error === null)
|
|
72
|
+
return 'commit_outcome_unknown';
|
|
73
|
+
const value = error;
|
|
74
|
+
if (value.operation !== undefined && value.operation !== 'external-session.import') {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
if (value.mode === 'command' && value.dispatch === 'not_dispatched')
|
|
78
|
+
return undefined;
|
|
79
|
+
if (value.mode === 'command' && value.dispatch === 'dispatched') {
|
|
80
|
+
return 'commit_outcome_unknown';
|
|
81
|
+
}
|
|
82
|
+
if (value.code === 'commit_outcome_unknown' ||
|
|
83
|
+
value.code === 'model_unavailable' ||
|
|
84
|
+
value.code === 'source_unreadable') {
|
|
85
|
+
return value.code;
|
|
86
|
+
}
|
|
87
|
+
return value.code === undefined ? 'commit_outcome_unknown' : undefined;
|
|
88
|
+
}
|
|
49
89
|
export function resolveTaskbarProgress(setting, environment = {
|
|
50
90
|
platform: process.platform,
|
|
51
91
|
override: process.env.MAKA_TASKBAR_PROGRESS,
|
|
@@ -71,7 +111,7 @@ export function safeBoundaryResumeParkedCopy(reason) {
|
|
|
71
111
|
case 'resume_feature_disabled':
|
|
72
112
|
return {
|
|
73
113
|
level: 'info',
|
|
74
|
-
text: 'Safe-boundary resume is
|
|
114
|
+
text: 'Safe-boundary resume is disabled by this runtime policy.',
|
|
75
115
|
};
|
|
76
116
|
case 'resume_candidate_missing':
|
|
77
117
|
return {
|
|
@@ -84,38 +124,55 @@ export function safeBoundaryResumeParkedCopy(reason) {
|
|
|
84
124
|
return { level: 'error', text: `Safe-boundary resume parked: ${reason}` };
|
|
85
125
|
}
|
|
86
126
|
}
|
|
127
|
+
const TUI_REWIND_COPY = resolveUiMessageCatalog(defineUiMessageCatalog()(TUI_COPY_RESOURCES.rewind));
|
|
128
|
+
const TUI_SKILLS_COPY = resolveUiMessageCatalog(defineUiMessageCatalog()(TUI_COPY_RESOURCES.skills));
|
|
129
|
+
const TUI_CONNECTION_IDENTITY_COPY = resolveUiMessageCatalog(defineUiMessageCatalog()(TUI_COPY_RESOURCES['connection-identity']));
|
|
130
|
+
const TUI_SESSION_ACTIONS_COPY = resolveUiMessageCatalog(defineUiMessageCatalog()(TUI_COPY_RESOURCES['session-actions']));
|
|
131
|
+
/**
|
|
132
|
+
* What the exhausted bound is called, in the user's language.
|
|
133
|
+
*
|
|
134
|
+
* The limit kinds are protocol tokens; a reader told the session exceeds the
|
|
135
|
+
* `record_bytes` limit has been handed an implementation detail instead of an
|
|
136
|
+
* explanation.
|
|
137
|
+
*/
|
|
138
|
+
function externalImportLimitLabel(copy, kind) {
|
|
139
|
+
switch (kind) {
|
|
140
|
+
case 'transcript_bytes':
|
|
141
|
+
return copy.externalImportLimitTranscriptBytes;
|
|
142
|
+
case 'record_bytes':
|
|
143
|
+
return copy.externalImportLimitRecordBytes;
|
|
144
|
+
case 'records':
|
|
145
|
+
return copy.externalImportLimitRecords;
|
|
146
|
+
case 'converted_bytes':
|
|
147
|
+
return copy.externalImportLimitConvertedBytes;
|
|
148
|
+
case 'messages':
|
|
149
|
+
return copy.externalImportLimitMessages;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
87
152
|
function sessionConnectionIdentityNotice(session, identities, locale) {
|
|
88
153
|
if (!identities)
|
|
89
154
|
return undefined;
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
: 'If /model has no choices, add or enable a connection first (run /setup for API-key connections).';
|
|
155
|
+
const copy = TUI_CONNECTION_IDENTITY_COPY[locale];
|
|
156
|
+
const withRecovery = (notice) => formatUiMessage(copy.withRecovery, { notice, recovery: copy.emptyChoiceRecovery }, locale);
|
|
93
157
|
if (!session.llmConnectionId) {
|
|
94
|
-
return
|
|
95
|
-
? `此任务来自旧版本,需要确认一次账号。运行 /model 选择现有账号和模型。${emptyChoiceRecovery}`
|
|
96
|
-
: `This task comes from an older version and needs a one-time account confirmation. Run /model and choose an existing account and model. ${emptyChoiceRecovery}`;
|
|
158
|
+
return withRecovery(copy.confirmAccount);
|
|
97
159
|
}
|
|
98
160
|
const identified = identities.find((entry) => entry.connectionId === session.llmConnectionId);
|
|
99
161
|
if (!identified) {
|
|
100
|
-
return
|
|
101
|
-
? `原账号已删除;运行 /model 选择新账号和模型后继续。${emptyChoiceRecovery}`
|
|
102
|
-
: `The original account was deleted. Run /model and choose a new account and model to continue. ${emptyChoiceRecovery}`;
|
|
162
|
+
return withRecovery(copy.accountDeleted);
|
|
103
163
|
}
|
|
104
164
|
if (identified.connectionSlug !== session.llmConnectionSlug) {
|
|
105
|
-
return
|
|
106
|
-
? `任务保存的账号身份与当前连接不一致;运行 /model 重新选择账号和模型。${emptyChoiceRecovery}`
|
|
107
|
-
: `The saved account identity no longer matches its connection. Run /model and choose an account and model again. ${emptyChoiceRecovery}`;
|
|
165
|
+
return withRecovery(copy.identityMismatch);
|
|
108
166
|
}
|
|
109
167
|
if (!identified.enabled) {
|
|
110
|
-
return
|
|
111
|
-
? `原账号已停用;请启用该账号,或运行 /model 选择新账号和模型。${emptyChoiceRecovery}`
|
|
112
|
-
: `The original account is disabled. Enable it, or run /model and choose a new account and model. ${emptyChoiceRecovery}`;
|
|
168
|
+
return withRecovery(copy.accountDisabled);
|
|
113
169
|
}
|
|
114
170
|
return undefined;
|
|
115
171
|
}
|
|
116
172
|
export async function runMakaPiTui(input) {
|
|
117
173
|
const locale = input.locale ?? 'en';
|
|
118
174
|
const pickerCopy = getTuiPickerCopy(locale);
|
|
175
|
+
const copyCopy = getTuiCopyCopy(locale);
|
|
119
176
|
const primaryGuidance = getTuiPrimaryGuidance(locale);
|
|
120
177
|
const terminal = input.terminal ?? new ProcessTerminal();
|
|
121
178
|
const taskbarProgress = resolveTaskbarProgress(input.taskbarProgress);
|
|
@@ -141,22 +198,14 @@ export async function runMakaPiTui(input) {
|
|
|
141
198
|
let model = input.model;
|
|
142
199
|
let connectionId = input.connectionId;
|
|
143
200
|
let connectionSlug = input.connectionSlug;
|
|
144
|
-
// Mutable: a cross-connection /model switch rebinds the provider, which changes
|
|
145
|
-
// both the connection and the thinking variants the new model supports.
|
|
146
|
-
let providerType = input.providerType;
|
|
147
|
-
let modelContextWindow = input.modelContextWindow;
|
|
148
201
|
let permissionMode = input.permissionMode;
|
|
149
202
|
let orchestrationMode = input.driver.getOrchestrationMode?.() ?? 'default';
|
|
150
203
|
let thinkingLevel = undefined;
|
|
151
|
-
// The boot connection's declared capabilities win (an openai-compatible
|
|
152
|
-
// relay can declare relayModelProfiles[model].thinkingLevels). The
|
|
153
|
-
// providerType+model metadata variant is the fallback for modelChoices-free
|
|
154
|
-
// embeddings of the runner.
|
|
155
|
-
let thinkingLevels = input.modelChoices?.find((choice) => choice.connectionSlug === connectionSlug && choice.model === model)?.thinkingLevels ?? (providerType ? thinkingVariantsForModel(providerType, model) : []);
|
|
156
204
|
let sessionListScope = input.sessionListScope ?? 'current';
|
|
157
205
|
let connectionIdentityNotice;
|
|
158
206
|
let busy = false;
|
|
159
207
|
let closed = false;
|
|
208
|
+
const cancelScheduledExternalSearches = new Set();
|
|
160
209
|
let currentActivityCompletion;
|
|
161
210
|
let permissionResponseInFlightRequestId = null;
|
|
162
211
|
// Session recap (issue #1055): an in-flight lock shared by manual and
|
|
@@ -191,8 +240,15 @@ export async function runMakaPiTui(input) {
|
|
|
191
240
|
};
|
|
192
241
|
};
|
|
193
242
|
let userQuestionInFlight = false;
|
|
194
|
-
let
|
|
243
|
+
let userQuestionPrompt;
|
|
195
244
|
let userQuestionProgress;
|
|
245
|
+
let formResponseInFlightRequestId;
|
|
246
|
+
let formOverlay;
|
|
247
|
+
let formOverlayComponent;
|
|
248
|
+
let formOverlayRequestId;
|
|
249
|
+
let formOverlaySessionId;
|
|
250
|
+
let formOverlaySchema;
|
|
251
|
+
let retainedFormDraft;
|
|
196
252
|
let turnRunning = false;
|
|
197
253
|
// Monotonic generation for visible agent turns. A mid-turn `/session`
|
|
198
254
|
// switch-away (#3380) bumps it to orphan the in-flight drain: every callback
|
|
@@ -210,6 +266,20 @@ export async function runMakaPiTui(input) {
|
|
|
210
266
|
// True while the /session picker is open mid-turn: Escape must close the
|
|
211
267
|
// overlay, not arm the double-Escape interrupt for the running Turn (#3380).
|
|
212
268
|
let sessionPickerOverlayOpen = false;
|
|
269
|
+
let transcriptOverlay;
|
|
270
|
+
let todoOverlay;
|
|
271
|
+
const closeTodoOverlay = () => {
|
|
272
|
+
todoOverlay?.hide();
|
|
273
|
+
todoOverlay = undefined;
|
|
274
|
+
};
|
|
275
|
+
let transcriptViewer;
|
|
276
|
+
let transcriptViewerSessionId;
|
|
277
|
+
const resetTranscriptViewer = () => {
|
|
278
|
+
transcriptOverlay?.hide();
|
|
279
|
+
transcriptOverlay = undefined;
|
|
280
|
+
transcriptViewer = undefined;
|
|
281
|
+
transcriptViewerSessionId = undefined;
|
|
282
|
+
};
|
|
213
283
|
let lastTurnEscapeAt = 0;
|
|
214
284
|
let lastIdleEscapeAt = 0;
|
|
215
285
|
let lastIdleCtrlCAt = 0;
|
|
@@ -292,11 +362,11 @@ export async function runMakaPiTui(input) {
|
|
|
292
362
|
permissionMode,
|
|
293
363
|
orchestrationMode,
|
|
294
364
|
thinkingLevel,
|
|
295
|
-
thinkingLevels,
|
|
365
|
+
thinkingLevels: currentThinkingLevels(),
|
|
296
366
|
sessionId: input.driver.getSessionId(),
|
|
297
367
|
busy,
|
|
298
368
|
usage: state.usage,
|
|
299
|
-
modelContextWindow,
|
|
369
|
+
modelContextWindow: currentModelContextWindow(),
|
|
300
370
|
turnElapsedMs: turnStartedAt !== undefined ? Date.now() - turnStartedAt : undefined,
|
|
301
371
|
providerRetry: state.providerRetry,
|
|
302
372
|
uiLocale: locale,
|
|
@@ -314,8 +384,36 @@ export async function runMakaPiTui(input) {
|
|
|
314
384
|
});
|
|
315
385
|
const transcript = new MakaTranscriptComponent(state, metadata);
|
|
316
386
|
const activityStrip = new MakaActivityStripComponent(metadata);
|
|
317
|
-
const pendingQueue = new MakaPendingQueueComponent(state);
|
|
387
|
+
const pendingQueue = new MakaPendingQueueComponent(state, locale);
|
|
318
388
|
const statusLine = new MakaStatusLineComponent(metadata);
|
|
389
|
+
const currentTodo = new CurrentTodoStore({
|
|
390
|
+
read: async (sessionId) => {
|
|
391
|
+
if (!input.driver.queryTodo)
|
|
392
|
+
throw new Error('Todo query unavailable');
|
|
393
|
+
return input.driver.queryTodo(sessionId);
|
|
394
|
+
},
|
|
395
|
+
}, () => {
|
|
396
|
+
if (!closed)
|
|
397
|
+
tui.requestRender();
|
|
398
|
+
});
|
|
399
|
+
const syncTodoSession = () => {
|
|
400
|
+
currentTodo.setSession(input.driver.getSessionId() ?? undefined);
|
|
401
|
+
};
|
|
402
|
+
const unsubscribeTodoChanges = input.driver.subscribeTodoChanges?.((sessionId) => {
|
|
403
|
+
if (sessionId !== input.driver.getSessionId())
|
|
404
|
+
return;
|
|
405
|
+
syncTodoSession();
|
|
406
|
+
void currentTodo.refresh();
|
|
407
|
+
});
|
|
408
|
+
const todoIndicator = {
|
|
409
|
+
invalidate() { },
|
|
410
|
+
render(width) {
|
|
411
|
+
if (!input.driver.queryTodo)
|
|
412
|
+
return [];
|
|
413
|
+
const line = renderTodoIndicator(currentTodo.getState(), { locale, width });
|
|
414
|
+
return line === undefined ? [] : [line];
|
|
415
|
+
},
|
|
416
|
+
};
|
|
319
417
|
// Use the vendor editor's full 20-item autocomplete capacity. Larger command
|
|
320
418
|
// catalogs remain scrollable and keep an exact position/total counter.
|
|
321
419
|
const editor = new MakaSkillHighlightEditor(tui, editorTheme(), {
|
|
@@ -324,7 +422,7 @@ export async function runMakaPiTui(input) {
|
|
|
324
422
|
});
|
|
325
423
|
let refreshEditorCwd;
|
|
326
424
|
const editorSurface = new MakaAutocompleteAboveEditorComponent(editor);
|
|
327
|
-
const layout = new MakaPiLayoutComponent(state, transcript, activityStrip, pendingQueue, editorSurface, statusLine, terminal);
|
|
425
|
+
const layout = new MakaPiLayoutComponent(state, transcript, activityStrip, pendingQueue, editorSurface, statusLine, terminal, todoIndicator);
|
|
328
426
|
const attention = new AttentionController(terminal, {
|
|
329
427
|
baseTitle: input.title,
|
|
330
428
|
...(input.attentionLongTurnThresholdMs !== undefined
|
|
@@ -378,7 +476,7 @@ export async function runMakaPiTui(input) {
|
|
|
378
476
|
return;
|
|
379
477
|
}
|
|
380
478
|
permissionResponseInFlightRequestId = null;
|
|
381
|
-
|
|
479
|
+
syncInteractionOverlays();
|
|
382
480
|
requestRender();
|
|
383
481
|
}) ?? (() => { });
|
|
384
482
|
const unsubscribeTranscriptReplacements = input.driver.subscribeTranscriptReplacements?.((sessionId, turnId, messages, reason) => {
|
|
@@ -386,6 +484,7 @@ export async function runMakaPiTui(input) {
|
|
|
386
484
|
return;
|
|
387
485
|
if (reason === 'reconnect') {
|
|
388
486
|
replaceTranscript(messages, { preserveClientLocalEntries: true });
|
|
487
|
+
syncInteractionOverlays();
|
|
389
488
|
shellRunElapsedTicker.sync();
|
|
390
489
|
requestRender();
|
|
391
490
|
const messageIds = state.entries.flatMap((entry) => entry.kind === 'user' && entry.transient === true ? [entry.messageId] : []);
|
|
@@ -414,6 +513,40 @@ export async function runMakaPiTui(input) {
|
|
|
414
513
|
now: input.shellRunTicker?.now,
|
|
415
514
|
schedule: input.shellRunTicker?.schedule,
|
|
416
515
|
});
|
|
516
|
+
// Live ctx refresh (#4545): the end-of-turn token_usage event moves the
|
|
517
|
+
// statusline once per turn, but the Host's latest-context snapshot moves at
|
|
518
|
+
// every settled provider request. Pull it on the desktop inspector's signal
|
|
519
|
+
// (tui-context-refresh.ts) so a long turn shows the context filling as it
|
|
520
|
+
// fills. The query is a plain read on the driver — deliberately not routed
|
|
521
|
+
// through runControl, whose serial lock exists for mutations.
|
|
522
|
+
const getContextDiagnostics = input.driver.getContextDiagnostics?.bind(input.driver);
|
|
523
|
+
const ctxRefresher = getContextDiagnostics
|
|
524
|
+
? createCtxRefresher({
|
|
525
|
+
query: async () => {
|
|
526
|
+
const sessionId = input.driver.getSessionId();
|
|
527
|
+
const diagnostics = await getContextDiagnostics();
|
|
528
|
+
return { sessionId, diagnostics };
|
|
529
|
+
},
|
|
530
|
+
apply: ({ sessionId, diagnostics }) => {
|
|
531
|
+
// The session moved under the query (switch, /new): its usage was
|
|
532
|
+
// rebuilt from stored messages, and a pre-switch snapshot must not
|
|
533
|
+
// overwrite it.
|
|
534
|
+
if (closed || input.driver.getSessionId() !== sessionId)
|
|
535
|
+
return;
|
|
536
|
+
if (diagnostics.status !== 'available')
|
|
537
|
+
return;
|
|
538
|
+
const { inputTokens, contextWindow } = diagnostics;
|
|
539
|
+
if (inputTokens === undefined || contextWindow === undefined || contextWindow <= 0)
|
|
540
|
+
return;
|
|
541
|
+
// Same formula the token_usage path uses (#1067), from the same
|
|
542
|
+
// settled request — the two cannot disagree.
|
|
543
|
+
state.usage.contextRemaining = Math.max(0, contextWindow - inputTokens);
|
|
544
|
+
requestRender();
|
|
545
|
+
},
|
|
546
|
+
delayMs: input.ctxRefreshTicker?.delayMs ?? CTX_REFRESH_DEBOUNCE_MS,
|
|
547
|
+
schedule: input.ctxRefreshTicker?.schedule ?? scheduleCtxRefreshTimeout,
|
|
548
|
+
})
|
|
549
|
+
: undefined;
|
|
417
550
|
// ── Explicit skill invocation (#1148) ────────────────────────────────────
|
|
418
551
|
// One cached list feeds autocomplete, the `/skill` picker, and the editor's
|
|
419
552
|
// sync highlight validator. The cache is keyed by cwd (project-level skill
|
|
@@ -454,30 +587,31 @@ export async function runMakaPiTui(input) {
|
|
|
454
587
|
// Warm the highlight validator so tokens light up before the first
|
|
455
588
|
// autocomplete or picker open.
|
|
456
589
|
void listSkillsCached(true);
|
|
457
|
-
const
|
|
458
|
-
not_found: '未找到',
|
|
459
|
-
disabled: '已禁用',
|
|
460
|
-
host_incompatible: '当前主机缺少其依赖的工具',
|
|
461
|
-
invalid_name: '名称无效',
|
|
462
|
-
too_many_requests: '调用请求过多',
|
|
463
|
-
};
|
|
590
|
+
const skillsCopy = TUI_SKILLS_COPY[locale];
|
|
464
591
|
const showSkillInvocation = (skillInvocation) => {
|
|
465
592
|
const failed = skillInvocation.failed;
|
|
466
593
|
const failedLabels = failed.map((entry) => entry.reason === 'too_many_requests'
|
|
467
|
-
?
|
|
468
|
-
:
|
|
594
|
+
? formatUiMessage(skillsCopy.tooManyRequestsItem, { limit: entry.requestLimit, reason: skillsCopy.failureReasons[entry.reason] }, locale)
|
|
595
|
+
: formatUiMessage(skillsCopy.failedItem, { request: entry.request, reason: skillsCopy.failureReasons[entry.reason] }, locale));
|
|
469
596
|
if (failed.length > 0) {
|
|
470
597
|
state.entries.push({
|
|
471
598
|
kind: 'notice',
|
|
472
599
|
level: 'info',
|
|
473
|
-
text:
|
|
600
|
+
text: formatUiMessage(skillsCopy.loadFailed, {
|
|
601
|
+
failures: failedLabels.join(skillsCopy.listSeparator),
|
|
602
|
+
outcome: skillInvocation.loaded.length === 0
|
|
603
|
+
? skillsCopy.outcomeNoRequest
|
|
604
|
+
: skillsCopy.outcomeMarkersNotSent,
|
|
605
|
+
}, locale),
|
|
474
606
|
});
|
|
475
607
|
}
|
|
476
608
|
if (skillInvocation.loaded.length > 0) {
|
|
477
609
|
state.entries.push({
|
|
478
610
|
kind: 'notice',
|
|
479
611
|
level: 'info',
|
|
480
|
-
text:
|
|
612
|
+
text: formatUiMessage(skillsCopy.loaded, {
|
|
613
|
+
names: skillInvocation.loaded.map((skill) => skill.name).join(skillsCopy.listSeparator),
|
|
614
|
+
}, locale),
|
|
481
615
|
});
|
|
482
616
|
}
|
|
483
617
|
requestRender();
|
|
@@ -564,16 +698,22 @@ export async function runMakaPiTui(input) {
|
|
|
564
698
|
process.off('uncaughtException', handleUncaughtException);
|
|
565
699
|
process.off('unhandledRejection', handleUnhandledRejection);
|
|
566
700
|
};
|
|
701
|
+
let unsubscribeModelCatalogChanges;
|
|
567
702
|
const restoreTerminal = () => {
|
|
568
703
|
removeProcessHandlers();
|
|
704
|
+
unsubscribeModelCatalogChanges?.();
|
|
569
705
|
unsubscribeSessionTitleChanges();
|
|
570
706
|
unsubscribeGoalChanges?.();
|
|
707
|
+
unsubscribeTodoChanges?.();
|
|
708
|
+
currentTodo.dispose();
|
|
709
|
+
closeTodoOverlay();
|
|
571
710
|
void sideConversation?.stopParentObserver?.();
|
|
572
711
|
unsubscribeStartedTurns();
|
|
573
712
|
unsubscribeResolvedInteractions();
|
|
574
713
|
unsubscribeTranscriptReplacements();
|
|
575
714
|
shellRunHydration.dispose();
|
|
576
715
|
shellRunElapsedTicker.dispose();
|
|
716
|
+
ctxRefresher?.cancel();
|
|
577
717
|
stopTurnElapsedTicker();
|
|
578
718
|
setTaskbarProgress(false);
|
|
579
719
|
// Drop the busy / attention title marker so the tab is not handed back to
|
|
@@ -581,6 +721,9 @@ export async function runMakaPiTui(input) {
|
|
|
581
721
|
attention.reset();
|
|
582
722
|
// Stop asking the terminal for focus reports before handing it back.
|
|
583
723
|
terminal.write(DISABLE_FOCUS_REPORTING);
|
|
724
|
+
for (const cancel of cancelScheduledExternalSearches)
|
|
725
|
+
cancel();
|
|
726
|
+
cancelScheduledExternalSearches.clear();
|
|
584
727
|
tui.stop();
|
|
585
728
|
};
|
|
586
729
|
const beginClose = (error) => {
|
|
@@ -592,10 +735,8 @@ export async function runMakaPiTui(input) {
|
|
|
592
735
|
rejectClosed(error);
|
|
593
736
|
else
|
|
594
737
|
resolveClosed();
|
|
595
|
-
//
|
|
596
|
-
//
|
|
597
|
-
if (!interruptRequested)
|
|
598
|
-
void input.driver.stop().catch(() => { });
|
|
738
|
+
// Closing a viewport is not a Turn or Host stop. Explicit interrupt keys
|
|
739
|
+
// retain their own stop path; an attached Host continues independently.
|
|
599
740
|
};
|
|
600
741
|
const handleProcessExit = (exitCode, error) => {
|
|
601
742
|
process.exitCode = exitCode;
|
|
@@ -791,7 +932,7 @@ export async function runMakaPiTui(input) {
|
|
|
791
932
|
// was dropped, and the submit answer is the only place it appears: the
|
|
792
933
|
// Turn arrives through the started-Turn subscription, which carries
|
|
793
934
|
// Session state rather than this Message's admission.
|
|
794
|
-
if (result
|
|
935
|
+
if (result) {
|
|
795
936
|
const { loaded, failed } = result.skillInvocation;
|
|
796
937
|
if (loaded.length > 0 || failed.length > 0)
|
|
797
938
|
showSkillInvocation(result.skillInvocation);
|
|
@@ -850,9 +991,8 @@ export async function runMakaPiTui(input) {
|
|
|
850
991
|
requestRender();
|
|
851
992
|
})().catch(reportError);
|
|
852
993
|
};
|
|
853
|
-
// Onboarding wizard (#1098 UX redesign): one overlay spans provider search
|
|
854
|
-
//
|
|
855
|
-
// success notice beside the input field instead of the transcript entry flow.
|
|
994
|
+
// Onboarding wizard (#1098 UX redesign): one overlay spans provider search,
|
|
995
|
+
// authentication, model curation, and success without transcript notices.
|
|
856
996
|
let wizardOverlay;
|
|
857
997
|
let wizard;
|
|
858
998
|
// The user's supplied key from the key step ('' reuses the stored secret for an
|
|
@@ -865,12 +1005,39 @@ export async function runMakaPiTui(input) {
|
|
|
865
1005
|
// The existing connection the picked provider resolved to, so saving edits
|
|
866
1006
|
// it in place (a Desktop-created relay may live under a custom slug).
|
|
867
1007
|
let wizardTarget;
|
|
868
|
-
let
|
|
1008
|
+
let wizardOAuthAbort;
|
|
869
1009
|
// Authoritative ready model choices for `/model`. A startup snapshot refreshed
|
|
870
1010
|
// in place after `/setup` saves so newly configured models are immediately
|
|
871
1011
|
// available — the single source the picker and connection/model lookups read.
|
|
872
1012
|
let modelChoices = input.modelChoices;
|
|
873
1013
|
let connectionIdentities = input.connectionIdentities;
|
|
1014
|
+
// Derived, never mirrored: both the choices and the selected target move —
|
|
1015
|
+
// the Host republishes its catalog, the user switches model — and a stored
|
|
1016
|
+
// copy of what the two imply has to be resynchronized at every one of those
|
|
1017
|
+
// points or go stale at the one that was missed.
|
|
1018
|
+
// The slug and model identify the target; the id narrows it only once the
|
|
1019
|
+
// caller or a session summary has supplied one, because two connections can
|
|
1020
|
+
// share a slug across a rebind but a caller need not know either id.
|
|
1021
|
+
const currentModelChoice = () => modelChoices?.find((choice) => choice.connectionSlug === connectionSlug &&
|
|
1022
|
+
choice.model === model &&
|
|
1023
|
+
(connectionId === undefined || choice.connectionId === connectionId));
|
|
1024
|
+
const onInitialTarget = () => connectionId === input.connectionId &&
|
|
1025
|
+
connectionSlug === input.connectionSlug &&
|
|
1026
|
+
model === input.model;
|
|
1027
|
+
/** The caller's value stands only while no choice describes the target it came with. */
|
|
1028
|
+
const currentModelContextWindow = () => currentModelChoice()?.contextWindow ??
|
|
1029
|
+
(onInitialTarget() ? input.modelContextWindow : undefined);
|
|
1030
|
+
// The Host resolved these when it projected the choice — including a relay's
|
|
1031
|
+
// declared `modelOverrides[model].thinkingLevels`. A model no choice
|
|
1032
|
+
// describes offers none rather than a locally guessed list.
|
|
1033
|
+
const currentThinkingLevels = () => currentModelChoice()?.thinkingLevels ?? [];
|
|
1034
|
+
unsubscribeModelCatalogChanges = input.subscribeModelCatalogChanges?.((refresh) => {
|
|
1035
|
+
if (closed)
|
|
1036
|
+
return;
|
|
1037
|
+
modelChoices = refresh.modelChoices;
|
|
1038
|
+
connectionIdentities = refresh.connectionIdentities;
|
|
1039
|
+
requestRender();
|
|
1040
|
+
});
|
|
874
1041
|
// Monotonic attempt id: each setup submit captures one, and any transition
|
|
875
1042
|
// that abandons the in-flight attempt (back, re-pick, close) increments it so
|
|
876
1043
|
// a late verify/save settlement cannot clobber a newer attempt.
|
|
@@ -1022,6 +1189,7 @@ export async function runMakaPiTui(input) {
|
|
|
1022
1189
|
replaceTranscript(authoritativeAttachedTurn.messages, {
|
|
1023
1190
|
preserveClientLocalEntries: true,
|
|
1024
1191
|
});
|
|
1192
|
+
syncInteractionOverlays();
|
|
1025
1193
|
shellRunHydration.reset();
|
|
1026
1194
|
if (input.listShellRunUpdates) {
|
|
1027
1195
|
await shellRunHydration.hydrate(authoritativeAttachedTurn.sessionId);
|
|
@@ -1046,11 +1214,14 @@ export async function runMakaPiTui(input) {
|
|
|
1046
1214
|
// not reach the adopted Session's transcript or overlays.
|
|
1047
1215
|
if (superseded())
|
|
1048
1216
|
return;
|
|
1049
|
-
if ((event.type === 'sandbox_boundary_request' ||
|
|
1217
|
+
if ((event.type === 'sandbox_boundary_request' ||
|
|
1218
|
+
event.type === 'user_question_request' ||
|
|
1219
|
+
event.type === 'form_request') &&
|
|
1050
1220
|
resolvedInteractionIds.delete(event.requestId)) {
|
|
1051
1221
|
return;
|
|
1052
1222
|
}
|
|
1053
1223
|
applyMakaSessionEventToTranscript(state, event);
|
|
1224
|
+
ctxRefresher?.observe(event);
|
|
1054
1225
|
if (event.type === 'error')
|
|
1055
1226
|
attention.attentionNeeded();
|
|
1056
1227
|
if (permissionResponseInFlightRequestId !== null &&
|
|
@@ -1070,7 +1241,7 @@ export async function runMakaPiTui(input) {
|
|
|
1070
1241
|
permissionAlerted = false;
|
|
1071
1242
|
}
|
|
1072
1243
|
shellRunElapsedTicker.sync();
|
|
1073
|
-
|
|
1244
|
+
syncInteractionOverlays();
|
|
1074
1245
|
requestRender();
|
|
1075
1246
|
},
|
|
1076
1247
|
// A turn failing is worth pulling the user back, regardless of how long it
|
|
@@ -1085,7 +1256,7 @@ export async function runMakaPiTui(input) {
|
|
|
1085
1256
|
appendTurnFailureToTranscript(state, error);
|
|
1086
1257
|
attention.attentionNeeded();
|
|
1087
1258
|
shellRunElapsedTicker.sync();
|
|
1088
|
-
|
|
1259
|
+
syncInteractionOverlays();
|
|
1089
1260
|
requestRender();
|
|
1090
1261
|
},
|
|
1091
1262
|
}).then(async (outcome) => {
|
|
@@ -1135,11 +1306,9 @@ export async function runMakaPiTui(input) {
|
|
|
1135
1306
|
});
|
|
1136
1307
|
}
|
|
1137
1308
|
const adoptSessionMetadata = (summary, announceIdentity = true) => {
|
|
1309
|
+
syncTodoSession();
|
|
1138
1310
|
cwd = summary.cwd ?? cwd;
|
|
1139
1311
|
setSessionTitle(summary.name);
|
|
1140
|
-
const previousModel = model;
|
|
1141
|
-
const previousConnectionId = connectionId;
|
|
1142
|
-
const previousConnectionSlug = connectionSlug;
|
|
1143
1312
|
model = summary.model;
|
|
1144
1313
|
connectionId = summary.llmConnectionId;
|
|
1145
1314
|
connectionSlug = summary.llmConnectionSlug;
|
|
@@ -1148,34 +1317,9 @@ export async function runMakaPiTui(input) {
|
|
|
1148
1317
|
state.entries.push({ kind: 'notice', level: 'error', text: identityNotice });
|
|
1149
1318
|
}
|
|
1150
1319
|
connectionIdentityNotice = identityNotice;
|
|
1151
|
-
const matchingChoice = modelChoices?.find((choice) => choice.connectionId === summary.llmConnectionId &&
|
|
1152
|
-
choice.connectionSlug === summary.llmConnectionSlug);
|
|
1153
|
-
providerType =
|
|
1154
|
-
matchingChoice?.providerType ??
|
|
1155
|
-
(previousConnectionId === summary.llmConnectionId &&
|
|
1156
|
-
previousConnectionSlug === summary.llmConnectionSlug
|
|
1157
|
-
? providerType
|
|
1158
|
-
: undefined);
|
|
1159
|
-
const contextWindowMatch = modelChoices?.find((choice) => choice.connectionId === summary.llmConnectionId &&
|
|
1160
|
-
choice.connectionSlug === summary.llmConnectionSlug &&
|
|
1161
|
-
choice.model === summary.model);
|
|
1162
|
-
if (contextWindowMatch) {
|
|
1163
|
-
modelContextWindow = contextWindowMatch.contextWindow;
|
|
1164
|
-
}
|
|
1165
|
-
else if (previousConnectionId !== summary.llmConnectionId ||
|
|
1166
|
-
previousConnectionSlug !== summary.llmConnectionSlug ||
|
|
1167
|
-
previousModel !== summary.model) {
|
|
1168
|
-
modelContextWindow = undefined;
|
|
1169
|
-
}
|
|
1170
1320
|
permissionMode = input.driver.getPermissionMode?.() ?? summary.permissionMode;
|
|
1171
1321
|
orchestrationMode = summary.orchestrationMode ?? 'default';
|
|
1172
1322
|
thinkingLevel = summary.thinkingLevel;
|
|
1173
|
-
// Choice-first: a relay model's user-declared levels live on the ModelChoice;
|
|
1174
|
-
// the metadata fallback serves providers whose variants derive from the
|
|
1175
|
-
// model id alone.
|
|
1176
|
-
thinkingLevels =
|
|
1177
|
-
contextWindowMatch?.thinkingLevels ??
|
|
1178
|
-
(providerType ? thinkingVariantsForModel(providerType, summary.model) : []);
|
|
1179
1323
|
refreshEditorCwd?.(cwd);
|
|
1180
1324
|
};
|
|
1181
1325
|
startAttachedTurn = (attached) => {
|
|
@@ -1189,16 +1333,7 @@ export async function runMakaPiTui(input) {
|
|
|
1189
1333
|
const previousModel = transcriptLastUsedModel ?? model;
|
|
1190
1334
|
await input.driver.setModel(nextModel);
|
|
1191
1335
|
model = nextModel;
|
|
1192
|
-
// Same-connection switch: scope the choice lookup to the live connection
|
|
1193
|
-
// (another connection may expose the same model id with different
|
|
1194
|
-
// declared thinking levels).
|
|
1195
|
-
const match = modelChoices?.find((choice) => choice.connectionSlug === connectionSlug && choice.model === nextModel);
|
|
1196
|
-
if (match)
|
|
1197
|
-
modelContextWindow = match.contextWindow;
|
|
1198
1336
|
thinkingLevel = undefined;
|
|
1199
|
-
thinkingLevels =
|
|
1200
|
-
match?.thinkingLevels ??
|
|
1201
|
-
(providerType ? thinkingVariantsForModel(providerType, nextModel) : []);
|
|
1202
1337
|
state.entries.push({
|
|
1203
1338
|
kind: 'notice',
|
|
1204
1339
|
level: 'info',
|
|
@@ -1214,9 +1349,6 @@ export async function runMakaPiTui(input) {
|
|
|
1214
1349
|
choice.connectionId === connectionId) {
|
|
1215
1350
|
return;
|
|
1216
1351
|
}
|
|
1217
|
-
if (!choice.connectionId) {
|
|
1218
|
-
throw new Error('Model choice is missing its exact Connection identity');
|
|
1219
|
-
}
|
|
1220
1352
|
const previousModel = transcriptLastUsedModel ?? model;
|
|
1221
1353
|
const previousConnectionSlug = connectionSlug;
|
|
1222
1354
|
const connectionLabels = modelChoiceConnectionLabels(modelChoices ?? [choice]);
|
|
@@ -1224,11 +1356,7 @@ export async function runMakaPiTui(input) {
|
|
|
1224
1356
|
model = choice.model;
|
|
1225
1357
|
connectionId = choice.connectionId;
|
|
1226
1358
|
connectionSlug = choice.connectionSlug;
|
|
1227
|
-
providerType = choice.providerType;
|
|
1228
|
-
modelContextWindow = choice.contextWindow;
|
|
1229
1359
|
thinkingLevel = undefined;
|
|
1230
|
-
thinkingLevels =
|
|
1231
|
-
choice.thinkingLevels ?? thinkingVariantsForModel(choice.providerType, choice.model);
|
|
1232
1360
|
state.entries.push({
|
|
1233
1361
|
kind: 'notice',
|
|
1234
1362
|
level: 'info',
|
|
@@ -1267,8 +1395,11 @@ export async function runMakaPiTui(input) {
|
|
|
1267
1395
|
// `messages`. Shared by switchSession and rewindToTurn so both land the same
|
|
1268
1396
|
// runner state (model/connection/thinking/transcript/scroll).
|
|
1269
1397
|
const applySwitchResult = async ({ summary, messages, activeTurn, }) => {
|
|
1398
|
+
resetTranscriptViewer();
|
|
1399
|
+
closeTodoOverlay();
|
|
1270
1400
|
adoptSessionMetadata(summary, false);
|
|
1271
1401
|
replaceTranscript(messages);
|
|
1402
|
+
syncInteractionOverlays();
|
|
1272
1403
|
if (connectionIdentityNotice) {
|
|
1273
1404
|
state.entries.push({ kind: 'notice', level: 'error', text: connectionIdentityNotice });
|
|
1274
1405
|
}
|
|
@@ -1589,12 +1720,29 @@ export async function runMakaPiTui(input) {
|
|
|
1589
1720
|
const pendingNotice = {
|
|
1590
1721
|
kind: 'notice',
|
|
1591
1722
|
level: 'info',
|
|
1592
|
-
text:
|
|
1723
|
+
text: TUI_REWIND_COPY[locale].pending,
|
|
1593
1724
|
};
|
|
1594
1725
|
state.entries.push(pendingNotice);
|
|
1595
1726
|
requestRender();
|
|
1596
1727
|
try {
|
|
1597
|
-
const result = await input.driver.rewindToTurn(turnId)
|
|
1728
|
+
const result = await input.driver.rewindToTurn(turnId).catch((error) => {
|
|
1729
|
+
// The driver refuses rewind with a machine code when the selected
|
|
1730
|
+
// turn carries structured context the TUI cannot restore (#5109).
|
|
1731
|
+
// Render the localized catalog copy for that code instead of the
|
|
1732
|
+
// driver's English fallback.
|
|
1733
|
+
const code = error?.code;
|
|
1734
|
+
if (code === 'rewind_unsupported_quotes' ||
|
|
1735
|
+
code === 'rewind_unsupported_attachments' ||
|
|
1736
|
+
code === 'rewind_unsupported_directory_references') {
|
|
1737
|
+
const localized = code === 'rewind_unsupported_quotes'
|
|
1738
|
+
? TUI_REWIND_COPY[locale].unsupportedQuotes
|
|
1739
|
+
: code === 'rewind_unsupported_attachments'
|
|
1740
|
+
? TUI_REWIND_COPY[locale].unsupportedAttachments
|
|
1741
|
+
: TUI_REWIND_COPY[locale].unsupportedDirectoryReferences;
|
|
1742
|
+
throw new Error(localized);
|
|
1743
|
+
}
|
|
1744
|
+
throw error;
|
|
1745
|
+
});
|
|
1598
1746
|
await applySwitchResult(result);
|
|
1599
1747
|
await discardCurrentSidePair();
|
|
1600
1748
|
// Record the discarded turn's prompt in the editor history before
|
|
@@ -1615,9 +1763,7 @@ export async function runMakaPiTui(input) {
|
|
|
1615
1763
|
state.entries.push({
|
|
1616
1764
|
kind: 'notice',
|
|
1617
1765
|
level: 'info',
|
|
1618
|
-
text: refill
|
|
1619
|
-
? '已回退到该轮之前(分支为新任务,原任务保留),该轮 prompt 已回填输入框,可修改后重新发送。'
|
|
1620
|
-
: '已回退到该轮之前(分支为新任务,原任务保留)。输入框已有未发送内容,未覆盖;该轮 prompt 已存入输入历史,可按 ↑ 找回。',
|
|
1766
|
+
text: refill ? TUI_REWIND_COPY[locale].doneRefilled : TUI_REWIND_COPY[locale].doneKeptDraft,
|
|
1621
1767
|
});
|
|
1622
1768
|
requestRender();
|
|
1623
1769
|
}
|
|
@@ -1631,12 +1777,20 @@ export async function runMakaPiTui(input) {
|
|
|
1631
1777
|
const showBottomPicker = (picker) => tui.showOverlay(picker, {
|
|
1632
1778
|
anchor: 'bottom-left',
|
|
1633
1779
|
width: '100%',
|
|
1634
|
-
|
|
1780
|
+
// A numeric cap would freeze today's rows into the option; '100%' is
|
|
1781
|
+
// re-resolved against the live terminal height on every composite, so
|
|
1782
|
+
// after a resize the cap still lands at rows - margin (#4610 review).
|
|
1783
|
+
maxHeight: '100%',
|
|
1635
1784
|
margin: { bottom: BOTTOM_PICKER_MARGIN_ROWS },
|
|
1636
1785
|
});
|
|
1637
|
-
const
|
|
1638
|
-
|
|
1639
|
-
|
|
1786
|
+
const closeUserQuestionPrompt = () => {
|
|
1787
|
+
const prompt = userQuestionPrompt;
|
|
1788
|
+
if (!prompt)
|
|
1789
|
+
return;
|
|
1790
|
+
layout.setBlockingInteraction(undefined);
|
|
1791
|
+
userQuestionPrompt = undefined;
|
|
1792
|
+
if (tui.getFocusedComponent() === prompt)
|
|
1793
|
+
tui.setFocus(editorSurface);
|
|
1640
1794
|
};
|
|
1641
1795
|
const finishUserQuestion = (requestId, answers) => {
|
|
1642
1796
|
if (userQuestionInFlight)
|
|
@@ -1647,7 +1801,7 @@ export async function runMakaPiTui(input) {
|
|
|
1647
1801
|
return;
|
|
1648
1802
|
}
|
|
1649
1803
|
userQuestionInFlight = true;
|
|
1650
|
-
|
|
1804
|
+
closeUserQuestionPrompt();
|
|
1651
1805
|
void respond
|
|
1652
1806
|
.call(input.driver, { requestId, answers })
|
|
1653
1807
|
.then(() => {
|
|
@@ -1656,13 +1810,13 @@ export async function runMakaPiTui(input) {
|
|
|
1656
1810
|
completePendingInteraction(state, requestId);
|
|
1657
1811
|
}
|
|
1658
1812
|
userQuestionProgress = undefined;
|
|
1659
|
-
|
|
1813
|
+
syncInteractionOverlays();
|
|
1660
1814
|
requestRender();
|
|
1661
1815
|
})
|
|
1662
1816
|
.catch((error) => {
|
|
1663
1817
|
userQuestionInFlight = false;
|
|
1664
1818
|
reportError(error);
|
|
1665
|
-
|
|
1819
|
+
syncInteractionOverlays();
|
|
1666
1820
|
});
|
|
1667
1821
|
};
|
|
1668
1822
|
const showUserQuestion = () => {
|
|
@@ -1675,13 +1829,13 @@ export async function runMakaPiTui(input) {
|
|
|
1675
1829
|
finishUserQuestion(request.requestId, progress.answers);
|
|
1676
1830
|
return;
|
|
1677
1831
|
}
|
|
1678
|
-
|
|
1832
|
+
closeUserQuestionPrompt();
|
|
1679
1833
|
const advance = (answer) => {
|
|
1680
1834
|
progress.answers[progress.index] = answer;
|
|
1681
1835
|
progress.index += 1;
|
|
1682
1836
|
showUserQuestion();
|
|
1683
1837
|
};
|
|
1684
|
-
|
|
1838
|
+
userQuestionPrompt = new UserQuestionOverlay(tui, {
|
|
1685
1839
|
title: question.question,
|
|
1686
1840
|
rightLabel: `${progress.index + 1} / ${request.questions.length}`,
|
|
1687
1841
|
hint: '↑↓ move · type to answer · Enter select · Esc unanswered · Ctrl+C stop',
|
|
@@ -1690,18 +1844,20 @@ export async function runMakaPiTui(input) {
|
|
|
1690
1844
|
onSelectOption: (index) => advance(question.options[index]?.label ?? null),
|
|
1691
1845
|
onSubmitText: (value) => advance(value),
|
|
1692
1846
|
onSkip: () => advance(null),
|
|
1693
|
-
})
|
|
1847
|
+
});
|
|
1848
|
+
layout.setBlockingInteraction(userQuestionPrompt);
|
|
1849
|
+
tui.setFocus(userQuestionPrompt);
|
|
1694
1850
|
};
|
|
1695
|
-
const
|
|
1851
|
+
const syncUserQuestionPrompt = () => {
|
|
1696
1852
|
const request = activeUserQuestionRequest(state);
|
|
1697
1853
|
if (!request) {
|
|
1698
|
-
|
|
1854
|
+
closeUserQuestionPrompt();
|
|
1699
1855
|
userQuestionProgress = undefined;
|
|
1700
1856
|
return;
|
|
1701
1857
|
}
|
|
1702
1858
|
if (userQuestionInFlight)
|
|
1703
1859
|
return;
|
|
1704
|
-
if (userQuestionProgress?.requestId !== request.requestId) {
|
|
1860
|
+
if (userQuestionProgress?.requestId !== request.requestId || !userQuestionPrompt) {
|
|
1705
1861
|
userQuestionProgress = {
|
|
1706
1862
|
requestId: request.requestId,
|
|
1707
1863
|
index: 0,
|
|
@@ -1710,6 +1866,125 @@ export async function runMakaPiTui(input) {
|
|
|
1710
1866
|
showUserQuestion();
|
|
1711
1867
|
}
|
|
1712
1868
|
};
|
|
1869
|
+
const closeFormOverlay = (retainDraft = true) => {
|
|
1870
|
+
if (retainDraft &&
|
|
1871
|
+
formOverlayComponent &&
|
|
1872
|
+
formOverlaySessionId &&
|
|
1873
|
+
formOverlayRequestId &&
|
|
1874
|
+
formOverlaySchema) {
|
|
1875
|
+
retainedFormDraft = {
|
|
1876
|
+
sessionId: formOverlaySessionId,
|
|
1877
|
+
requestId: formOverlayRequestId,
|
|
1878
|
+
schema: formOverlaySchema,
|
|
1879
|
+
drafts: formOverlayComponent.snapshotDrafts(),
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
formOverlay?.hide();
|
|
1883
|
+
formOverlay = undefined;
|
|
1884
|
+
formOverlayComponent = undefined;
|
|
1885
|
+
formOverlayRequestId = undefined;
|
|
1886
|
+
formOverlaySessionId = undefined;
|
|
1887
|
+
formOverlaySchema = undefined;
|
|
1888
|
+
};
|
|
1889
|
+
const finishUserForm = (response) => {
|
|
1890
|
+
if (formResponseInFlightRequestId)
|
|
1891
|
+
return;
|
|
1892
|
+
const respond = input.driver.respondToUserForm;
|
|
1893
|
+
if (!respond) {
|
|
1894
|
+
formOverlayComponent?.setSubmissionFailed();
|
|
1895
|
+
reportError(new Error('User forms are unavailable on this driver.'));
|
|
1896
|
+
return;
|
|
1897
|
+
}
|
|
1898
|
+
const responseSessionId = formOverlaySessionId ?? input.driver.getSessionId();
|
|
1899
|
+
formResponseInFlightRequestId = response.requestId;
|
|
1900
|
+
void respond
|
|
1901
|
+
.call(input.driver, response)
|
|
1902
|
+
.then(() => {
|
|
1903
|
+
if (formResponseInFlightRequestId === response.requestId) {
|
|
1904
|
+
formResponseInFlightRequestId = undefined;
|
|
1905
|
+
}
|
|
1906
|
+
if (input.driver.getSessionId() === responseSessionId &&
|
|
1907
|
+
activeFormRequest(state)?.requestId === response.requestId) {
|
|
1908
|
+
completePendingInteraction(state, response.requestId);
|
|
1909
|
+
}
|
|
1910
|
+
if (retainedFormDraft?.sessionId === responseSessionId &&
|
|
1911
|
+
retainedFormDraft.requestId === response.requestId) {
|
|
1912
|
+
retainedFormDraft = undefined;
|
|
1913
|
+
}
|
|
1914
|
+
if (formOverlaySessionId === responseSessionId &&
|
|
1915
|
+
formOverlayRequestId === response.requestId) {
|
|
1916
|
+
closeFormOverlay(false);
|
|
1917
|
+
}
|
|
1918
|
+
syncInteractionOverlays();
|
|
1919
|
+
requestRender();
|
|
1920
|
+
})
|
|
1921
|
+
.catch((error) => {
|
|
1922
|
+
if (formResponseInFlightRequestId === response.requestId) {
|
|
1923
|
+
formResponseInFlightRequestId = undefined;
|
|
1924
|
+
}
|
|
1925
|
+
if (activeFormRequest(state)?.requestId === response.requestId &&
|
|
1926
|
+
formOverlaySessionId === responseSessionId &&
|
|
1927
|
+
formOverlayRequestId === response.requestId) {
|
|
1928
|
+
formOverlayComponent?.setSubmissionFailed();
|
|
1929
|
+
}
|
|
1930
|
+
else {
|
|
1931
|
+
closeFormOverlay();
|
|
1932
|
+
syncInteractionOverlays();
|
|
1933
|
+
}
|
|
1934
|
+
reportError(error);
|
|
1935
|
+
requestRender();
|
|
1936
|
+
});
|
|
1937
|
+
};
|
|
1938
|
+
const syncFormOverlay = () => {
|
|
1939
|
+
const request = activeFormRequest(state);
|
|
1940
|
+
if (!request) {
|
|
1941
|
+
closeFormOverlay();
|
|
1942
|
+
return;
|
|
1943
|
+
}
|
|
1944
|
+
const sessionId = input.driver.getSessionId();
|
|
1945
|
+
if (!sessionId) {
|
|
1946
|
+
closeFormOverlay();
|
|
1947
|
+
return;
|
|
1948
|
+
}
|
|
1949
|
+
if (retainedFormDraft?.sessionId === sessionId &&
|
|
1950
|
+
retainedFormDraft.requestId !== request.requestId) {
|
|
1951
|
+
retainedFormDraft = undefined;
|
|
1952
|
+
}
|
|
1953
|
+
if (formOverlaySessionId !== sessionId || formOverlayRequestId !== request.requestId)
|
|
1954
|
+
closeFormOverlay();
|
|
1955
|
+
if (formResponseInFlightRequestId || formOverlayComponent)
|
|
1956
|
+
return;
|
|
1957
|
+
const schema = JSON.stringify(request.fields);
|
|
1958
|
+
const restoredDrafts = retainedFormDraft?.sessionId === sessionId &&
|
|
1959
|
+
retainedFormDraft.requestId === request.requestId &&
|
|
1960
|
+
retainedFormDraft.schema === schema
|
|
1961
|
+
? retainedFormDraft.drafts
|
|
1962
|
+
: undefined;
|
|
1963
|
+
if (retainedFormDraft?.sessionId === sessionId &&
|
|
1964
|
+
retainedFormDraft.requestId === request.requestId &&
|
|
1965
|
+
retainedFormDraft.schema !== schema) {
|
|
1966
|
+
retainedFormDraft = undefined;
|
|
1967
|
+
}
|
|
1968
|
+
formOverlayComponent = new FormInteractionOverlay(tui, {
|
|
1969
|
+
locale,
|
|
1970
|
+
request,
|
|
1971
|
+
initialDrafts: restoredDrafts,
|
|
1972
|
+
onRespond: finishUserForm,
|
|
1973
|
+
});
|
|
1974
|
+
formOverlaySessionId = sessionId;
|
|
1975
|
+
formOverlaySchema = schema;
|
|
1976
|
+
formOverlayRequestId = request.requestId;
|
|
1977
|
+
formOverlay = showBottomPicker(formOverlayComponent);
|
|
1978
|
+
};
|
|
1979
|
+
const syncInteractionOverlays = () => {
|
|
1980
|
+
if (state.pendingInteraction) {
|
|
1981
|
+
closeTodoOverlay();
|
|
1982
|
+
transcriptOverlay?.hide();
|
|
1983
|
+
transcriptOverlay = undefined;
|
|
1984
|
+
}
|
|
1985
|
+
syncUserQuestionPrompt();
|
|
1986
|
+
syncFormOverlay();
|
|
1987
|
+
};
|
|
1713
1988
|
const showSelectPicker = (title, rightLabel, items, onSelect, options) => {
|
|
1714
1989
|
const list = new SelectList(items, 10, selectListTheme(), {
|
|
1715
1990
|
minPrimaryColumnWidth: options.minPrimaryColumnWidth,
|
|
@@ -1735,6 +2010,8 @@ export async function runMakaPiTui(input) {
|
|
|
1735
2010
|
overlay = showBottomPicker(picker);
|
|
1736
2011
|
};
|
|
1737
2012
|
const closeWizard = () => {
|
|
2013
|
+
wizardOAuthAbort?.abort();
|
|
2014
|
+
wizardOAuthAbort = undefined;
|
|
1738
2015
|
wizardAttempt += 1; // drop any in-flight verify/save before clearing the slots
|
|
1739
2016
|
wizardOverlay?.hide();
|
|
1740
2017
|
wizardOverlay = undefined;
|
|
@@ -1742,7 +2019,108 @@ export async function runMakaPiTui(input) {
|
|
|
1742
2019
|
wizardApiKey = '';
|
|
1743
2020
|
wizardBaseUrl = '';
|
|
1744
2021
|
wizardTarget = undefined;
|
|
1745
|
-
|
|
2022
|
+
};
|
|
2023
|
+
const discoverWizardOAuthModels = (targetWizard, attempt, target) => {
|
|
2024
|
+
if (!input.onboarding)
|
|
2025
|
+
return;
|
|
2026
|
+
void input.onboarding.verify({ target }).then((result) => {
|
|
2027
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2028
|
+
return;
|
|
2029
|
+
if (result.kind !== 'ok') {
|
|
2030
|
+
targetWizard.setOAuthModelError(onboardingFailureMessage(result, locale));
|
|
2031
|
+
requestRender();
|
|
2032
|
+
return;
|
|
2033
|
+
}
|
|
2034
|
+
targetWizard.setModels(result.models);
|
|
2035
|
+
requestRender();
|
|
2036
|
+
}, () => {
|
|
2037
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2038
|
+
return;
|
|
2039
|
+
targetWizard.setOAuthModelError(onboardingFailureMessage({ kind: 'unavailable' }, locale));
|
|
2040
|
+
requestRender();
|
|
2041
|
+
});
|
|
2042
|
+
};
|
|
2043
|
+
const startWizardOAuth = () => {
|
|
2044
|
+
const target = wizardTarget;
|
|
2045
|
+
const targetWizard = wizard;
|
|
2046
|
+
if (!target || !targetWizard)
|
|
2047
|
+
return;
|
|
2048
|
+
if (!input.onboarding?.loginOAuth) {
|
|
2049
|
+
targetWizard.setOAuthError(pickerCopy.onboardingUnavailable);
|
|
2050
|
+
requestRender();
|
|
2051
|
+
return;
|
|
2052
|
+
}
|
|
2053
|
+
wizardOAuthAbort?.abort();
|
|
2054
|
+
const abort = new AbortController();
|
|
2055
|
+
wizardOAuthAbort = abort;
|
|
2056
|
+
const attempt = ++wizardAttempt;
|
|
2057
|
+
requestRender();
|
|
2058
|
+
void input.onboarding
|
|
2059
|
+
.loginOAuth({
|
|
2060
|
+
target,
|
|
2061
|
+
signal: abort.signal,
|
|
2062
|
+
onPresentation: (presentation) => {
|
|
2063
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2064
|
+
return;
|
|
2065
|
+
targetWizard.setOAuthPresentation(presentation);
|
|
2066
|
+
requestRender();
|
|
2067
|
+
},
|
|
2068
|
+
})
|
|
2069
|
+
.then((result) => {
|
|
2070
|
+
if (wizardOAuthAbort === abort)
|
|
2071
|
+
wizardOAuthAbort = undefined;
|
|
2072
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2073
|
+
return;
|
|
2074
|
+
if (result.kind === 'unconfirmed') {
|
|
2075
|
+
targetWizard.setOAuthUnconfirmed();
|
|
2076
|
+
requestRender();
|
|
2077
|
+
return;
|
|
2078
|
+
}
|
|
2079
|
+
if (result.kind === 'cancelled') {
|
|
2080
|
+
targetWizard.setOAuthCancelled();
|
|
2081
|
+
wizardAttempt += 1;
|
|
2082
|
+
requestRender();
|
|
2083
|
+
return;
|
|
2084
|
+
}
|
|
2085
|
+
if (result.kind === 'failed') {
|
|
2086
|
+
const message = onboardingOAuthFailureMessage(result.reason, locale);
|
|
2087
|
+
if (result.reason === 'slug_taken' && target.kind === 'create') {
|
|
2088
|
+
targetWizard.setIdentityError(message);
|
|
2089
|
+
}
|
|
2090
|
+
else {
|
|
2091
|
+
targetWizard.setOAuthError(message);
|
|
2092
|
+
}
|
|
2093
|
+
requestRender();
|
|
2094
|
+
return;
|
|
2095
|
+
}
|
|
2096
|
+
const existingTarget = {
|
|
2097
|
+
kind: 'existing',
|
|
2098
|
+
connectionId: result.connection.connectionId,
|
|
2099
|
+
};
|
|
2100
|
+
// Authentication is the durable create/reauthorize commit point. All
|
|
2101
|
+
// later work addresses that exact Connection and never repeats OAuth.
|
|
2102
|
+
wizardTarget = existingTarget;
|
|
2103
|
+
targetWizard.setOAuthAuthenticated();
|
|
2104
|
+
requestRender();
|
|
2105
|
+
discoverWizardOAuthModels(targetWizard, attempt, existingTarget);
|
|
2106
|
+
}, () => {
|
|
2107
|
+
if (wizardOAuthAbort === abort)
|
|
2108
|
+
wizardOAuthAbort = undefined;
|
|
2109
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2110
|
+
return;
|
|
2111
|
+
targetWizard.setOAuthError(onboardingOAuthFailureMessage('unavailable', locale));
|
|
2112
|
+
requestRender();
|
|
2113
|
+
});
|
|
2114
|
+
};
|
|
2115
|
+
const continueWizardOAuth = () => {
|
|
2116
|
+
const target = wizardTarget;
|
|
2117
|
+
const targetWizard = wizard;
|
|
2118
|
+
if (!targetWizard || target?.kind !== 'existing')
|
|
2119
|
+
return;
|
|
2120
|
+
const attempt = ++wizardAttempt;
|
|
2121
|
+
targetWizard.setOAuthAuthenticated();
|
|
2122
|
+
requestRender();
|
|
2123
|
+
discoverWizardOAuthModels(targetWizard, attempt, target);
|
|
1746
2124
|
};
|
|
1747
2125
|
// Key submit from the wizard. Slash commands route as commands (so /exit
|
|
1748
2126
|
// still escapes the wizard) instead of being stored as an API key; every
|
|
@@ -1770,11 +2148,16 @@ export async function runMakaPiTui(input) {
|
|
|
1770
2148
|
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
1771
2149
|
return;
|
|
1772
2150
|
if (result.kind !== 'ok') {
|
|
1773
|
-
|
|
2151
|
+
// A rejected slug is the identity step's to fix, not the key's.
|
|
2152
|
+
if (result.kind === 'rejected' && result.reason === 'slug_taken') {
|
|
2153
|
+
wizard.setIdentityError(onboardingFailureMessage(result, locale));
|
|
2154
|
+
}
|
|
2155
|
+
else {
|
|
2156
|
+
wizard.setKeyError(onboardingFailureMessage(result, locale));
|
|
2157
|
+
}
|
|
1774
2158
|
requestRender();
|
|
1775
2159
|
return;
|
|
1776
2160
|
}
|
|
1777
|
-
wizardModels = result.models;
|
|
1778
2161
|
wizard.setModels(result.models); // advance to the models step
|
|
1779
2162
|
requestRender();
|
|
1780
2163
|
}, () => {
|
|
@@ -1807,13 +2190,17 @@ export async function runMakaPiTui(input) {
|
|
|
1807
2190
|
apiKey: wizardApiKey,
|
|
1808
2191
|
baseUrl: wizardBaseUrl,
|
|
1809
2192
|
enabledModelIds,
|
|
1810
|
-
models: wizardModels,
|
|
1811
2193
|
})
|
|
1812
2194
|
.then((result) => {
|
|
1813
2195
|
if (result.kind !== 'ok') {
|
|
1814
2196
|
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
1815
2197
|
return;
|
|
1816
|
-
|
|
2198
|
+
if (result.kind === 'rejected' && result.reason === 'slug_taken') {
|
|
2199
|
+
wizard.setIdentityError(onboardingFailureMessage(result, locale));
|
|
2200
|
+
}
|
|
2201
|
+
else {
|
|
2202
|
+
wizard.setModelError(onboardingFailureMessage(result, locale));
|
|
2203
|
+
}
|
|
1817
2204
|
requestRender();
|
|
1818
2205
|
return;
|
|
1819
2206
|
}
|
|
@@ -1869,8 +2256,9 @@ export async function runMakaPiTui(input) {
|
|
|
1869
2256
|
// wizard can report unavailability in-frame at submit instead of throwing.
|
|
1870
2257
|
providers = listApiKeyOnboardableProviders().map((provider) => ({
|
|
1871
2258
|
...provider,
|
|
1872
|
-
target:
|
|
2259
|
+
target: onboardingCreateTarget(provider),
|
|
1873
2260
|
label: provider.label,
|
|
2261
|
+
suggestedSlug: deriveConnectionSlug(provider.providerType),
|
|
1874
2262
|
enabledModelIds: [],
|
|
1875
2263
|
}));
|
|
1876
2264
|
}
|
|
@@ -1894,15 +2282,49 @@ export async function runMakaPiTui(input) {
|
|
|
1894
2282
|
wizardTarget = { ...provider.target };
|
|
1895
2283
|
wizardApiKey = '';
|
|
1896
2284
|
wizardBaseUrl = '';
|
|
1897
|
-
wizardModels = [];
|
|
1898
2285
|
wizardAttempt += 1; // a new pick supersedes any in-flight attempt
|
|
1899
2286
|
requestRender();
|
|
1900
2287
|
},
|
|
2288
|
+
onSubmitIdentity: (identity) => {
|
|
2289
|
+
if (wizardTarget?.kind === 'create') {
|
|
2290
|
+
wizardTarget = {
|
|
2291
|
+
...onboardingCreateTarget({
|
|
2292
|
+
providerType: wizardTarget.providerType,
|
|
2293
|
+
defaultApiProtocol: wizardTarget.defaultApiProtocol,
|
|
2294
|
+
}),
|
|
2295
|
+
...(identity.slug === null ? {} : { slug: identity.slug }),
|
|
2296
|
+
...(identity.name === null ? {} : { name: identity.name }),
|
|
2297
|
+
};
|
|
2298
|
+
}
|
|
2299
|
+
requestRender();
|
|
2300
|
+
},
|
|
1901
2301
|
onSubmitBaseUrl: (baseUrl) => {
|
|
1902
2302
|
wizardBaseUrl = baseUrl;
|
|
1903
2303
|
requestRender();
|
|
1904
2304
|
},
|
|
1905
2305
|
onSubmitKey: submitWizardKey,
|
|
2306
|
+
onStartOAuth: startWizardOAuth,
|
|
2307
|
+
onCancelOAuth: () => {
|
|
2308
|
+
wizard?.setOAuthCancelling();
|
|
2309
|
+
wizardOAuthAbort?.abort();
|
|
2310
|
+
requestRender();
|
|
2311
|
+
},
|
|
2312
|
+
onContinueOAuth: continueWizardOAuth,
|
|
2313
|
+
onReturnToProviders: () => {
|
|
2314
|
+
const targetWizard = wizard;
|
|
2315
|
+
const attempt = ++wizardAttempt;
|
|
2316
|
+
requestRender();
|
|
2317
|
+
if (!targetWizard || !input.onboarding)
|
|
2318
|
+
return;
|
|
2319
|
+
void input.onboarding.listProviders().then((providers) => {
|
|
2320
|
+
if (closed || wizard !== targetWizard || attempt !== wizardAttempt)
|
|
2321
|
+
return;
|
|
2322
|
+
targetWizard.setProviders(providers);
|
|
2323
|
+
requestRender();
|
|
2324
|
+
}, () => {
|
|
2325
|
+
// Keep the cached list usable if refreshing the saved account fails.
|
|
2326
|
+
});
|
|
2327
|
+
},
|
|
1906
2328
|
onSubmitModels: submitWizardModels,
|
|
1907
2329
|
onCancel: () => {
|
|
1908
2330
|
closeWizard();
|
|
@@ -2064,8 +2486,9 @@ export async function runMakaPiTui(input) {
|
|
|
2064
2486
|
try {
|
|
2065
2487
|
for await (const event of input.driver.resumeLatest()) {
|
|
2066
2488
|
applyMakaSessionEventToTranscript(state, event);
|
|
2489
|
+
ctxRefresher?.observe(event);
|
|
2067
2490
|
shellRunElapsedTicker.sync();
|
|
2068
|
-
|
|
2491
|
+
syncInteractionOverlays();
|
|
2069
2492
|
requestRender();
|
|
2070
2493
|
}
|
|
2071
2494
|
}
|
|
@@ -2085,14 +2508,303 @@ export async function runMakaPiTui(input) {
|
|
|
2085
2508
|
throw error;
|
|
2086
2509
|
}
|
|
2087
2510
|
};
|
|
2511
|
+
const openImportedExternalSession = async (sessionId, failureText) => {
|
|
2512
|
+
try {
|
|
2513
|
+
await switchSession(sessionId);
|
|
2514
|
+
}
|
|
2515
|
+
catch {
|
|
2516
|
+
state.entries.push({ kind: 'notice', level: 'error', text: failureText });
|
|
2517
|
+
requestRender();
|
|
2518
|
+
return;
|
|
2519
|
+
}
|
|
2520
|
+
try {
|
|
2521
|
+
await discardCurrentSidePair();
|
|
2522
|
+
}
|
|
2523
|
+
catch (error) {
|
|
2524
|
+
reportError(error);
|
|
2525
|
+
}
|
|
2526
|
+
};
|
|
2527
|
+
const importExternalSession = async (adapterId, source) => {
|
|
2528
|
+
if (!input.externalSessions)
|
|
2529
|
+
return;
|
|
2530
|
+
const copy = TUI_SESSION_ACTIONS_COPY[locale];
|
|
2531
|
+
if (source.importState.isImporting) {
|
|
2532
|
+
state.entries.push({
|
|
2533
|
+
kind: 'notice',
|
|
2534
|
+
level: 'error',
|
|
2535
|
+
text: copy.externalUnavailable,
|
|
2536
|
+
});
|
|
2537
|
+
requestRender();
|
|
2538
|
+
return;
|
|
2539
|
+
}
|
|
2540
|
+
let importedSessionId;
|
|
2541
|
+
try {
|
|
2542
|
+
const result = await input.externalSessions.importSession({
|
|
2543
|
+
adapterId,
|
|
2544
|
+
sourceSessionId: source.id,
|
|
2545
|
+
});
|
|
2546
|
+
if (result.kind === 'source_limit_exceeded') {
|
|
2547
|
+
state.entries.push({
|
|
2548
|
+
kind: 'notice',
|
|
2549
|
+
level: 'error',
|
|
2550
|
+
text: formatUiMessage(copy.externalImportLimit, {
|
|
2551
|
+
kind: externalImportLimitLabel(copy, result.limit.kind),
|
|
2552
|
+
max: result.limit.max,
|
|
2553
|
+
}, locale),
|
|
2554
|
+
});
|
|
2555
|
+
return;
|
|
2556
|
+
}
|
|
2557
|
+
importedSessionId = result.session.id;
|
|
2558
|
+
}
|
|
2559
|
+
catch (error) {
|
|
2560
|
+
const code = externalImportErrorCode(error);
|
|
2561
|
+
if (code === 'model_unavailable') {
|
|
2562
|
+
state.entries.push({
|
|
2563
|
+
kind: 'notice',
|
|
2564
|
+
level: 'error',
|
|
2565
|
+
text: copy.externalImportModelUnavailable,
|
|
2566
|
+
});
|
|
2567
|
+
return;
|
|
2568
|
+
}
|
|
2569
|
+
if (code === 'source_unreadable') {
|
|
2570
|
+
state.entries.push({
|
|
2571
|
+
kind: 'notice',
|
|
2572
|
+
level: 'error',
|
|
2573
|
+
text: copy.externalImportSourceUnreadable,
|
|
2574
|
+
});
|
|
2575
|
+
return;
|
|
2576
|
+
}
|
|
2577
|
+
if (code !== 'commit_outcome_unknown') {
|
|
2578
|
+
state.entries.push({ kind: 'notice', level: 'error', text: copy.externalImportFailed });
|
|
2579
|
+
return;
|
|
2580
|
+
}
|
|
2581
|
+
state.entries.push({ kind: 'notice', level: 'error', text: copy.externalImportUncertain });
|
|
2582
|
+
return;
|
|
2583
|
+
}
|
|
2584
|
+
await openImportedExternalSession(importedSessionId, formatUiMessage(copy.externalOpenFailed, { sessionId: importedSessionId }, locale));
|
|
2585
|
+
};
|
|
2586
|
+
const showExternalSessionPage = async (adapterId, initialScope) => {
|
|
2587
|
+
if (!input.externalSessions || closed)
|
|
2588
|
+
return;
|
|
2589
|
+
const copy = TUI_SESSION_ACTIONS_COPY[locale];
|
|
2590
|
+
let scope = initialScope;
|
|
2591
|
+
let query = '';
|
|
2592
|
+
let sessions = [];
|
|
2593
|
+
let nextCursor = null;
|
|
2594
|
+
let revision = 0;
|
|
2595
|
+
let normalizedQuery = normalizeExternalSessionQueryText(query);
|
|
2596
|
+
let cancelScheduledSearch;
|
|
2597
|
+
let pageClosed = false;
|
|
2598
|
+
let overlay;
|
|
2599
|
+
let search;
|
|
2600
|
+
let byValue = new Map();
|
|
2601
|
+
const dropScheduledSearch = () => {
|
|
2602
|
+
const hadScheduledSearch = cancelScheduledSearch !== undefined;
|
|
2603
|
+
if (cancelScheduledSearch)
|
|
2604
|
+
cancelScheduledExternalSearches.delete(cancelScheduledSearch);
|
|
2605
|
+
cancelScheduledSearch?.();
|
|
2606
|
+
cancelScheduledSearch = undefined;
|
|
2607
|
+
return hadScheduledSearch;
|
|
2608
|
+
};
|
|
2609
|
+
const resetCatalogPage = () => {
|
|
2610
|
+
sessions = [];
|
|
2611
|
+
nextCursor = null;
|
|
2612
|
+
byValue = new Map();
|
|
2613
|
+
render();
|
|
2614
|
+
};
|
|
2615
|
+
const closeOverlay = () => {
|
|
2616
|
+
pageClosed = true;
|
|
2617
|
+
dropScheduledSearch();
|
|
2618
|
+
revision += 1;
|
|
2619
|
+
overlay?.hide();
|
|
2620
|
+
};
|
|
2621
|
+
const toggleScope = () => {
|
|
2622
|
+
const alternate = input.externalSessions
|
|
2623
|
+
?.listScopes()
|
|
2624
|
+
.find((candidate) => candidate !== scope);
|
|
2625
|
+
if (!alternate)
|
|
2626
|
+
return;
|
|
2627
|
+
dropScheduledSearch();
|
|
2628
|
+
scope = alternate;
|
|
2629
|
+
resetCatalogPage();
|
|
2630
|
+
void load(false);
|
|
2631
|
+
};
|
|
2632
|
+
const render = () => {
|
|
2633
|
+
// SelectList has no disabled-row contract. A Host-owned in-flight import
|
|
2634
|
+
// disables another import, but it does not disable opening an already
|
|
2635
|
+
// published task.
|
|
2636
|
+
const selectable = sessions.filter((session) => !session.importState.isImporting || session.importState.importedSessionIds.length > 0);
|
|
2637
|
+
byValue = new Map(selectable.map((session) => [`external:${adapterId}:${session.id}`, session]));
|
|
2638
|
+
const choices = selectable.map((session) => ({
|
|
2639
|
+
item: {
|
|
2640
|
+
value: `external:${adapterId}:${session.id}`,
|
|
2641
|
+
label: session.name,
|
|
2642
|
+
description: [
|
|
2643
|
+
session.hostCwd,
|
|
2644
|
+
session.importState.importedCount > 0
|
|
2645
|
+
? formatUiMessage(copy.externalImportedCount, { count: session.importState.importedCount }, locale)
|
|
2646
|
+
: undefined,
|
|
2647
|
+
]
|
|
2648
|
+
.filter(Boolean)
|
|
2649
|
+
.join(' · '),
|
|
2650
|
+
},
|
|
2651
|
+
searchText: '',
|
|
2652
|
+
}));
|
|
2653
|
+
if (nextCursor) {
|
|
2654
|
+
choices.push({
|
|
2655
|
+
item: { value: 'external:load-more', label: copy.externalLoadMore },
|
|
2656
|
+
searchText: '',
|
|
2657
|
+
});
|
|
2658
|
+
}
|
|
2659
|
+
const alternateScope = input.externalSessions
|
|
2660
|
+
?.listScopes()
|
|
2661
|
+
.find((candidate) => candidate !== scope);
|
|
2662
|
+
if (alternateScope) {
|
|
2663
|
+
choices.push({
|
|
2664
|
+
item: {
|
|
2665
|
+
value: 'external:toggle-workspace',
|
|
2666
|
+
label: alternateScope === 'all' ? copy.externalAllWorkspaces : copy.externalCurrentWorkspace,
|
|
2667
|
+
},
|
|
2668
|
+
searchText: '',
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
const scopeLabel = scope === 'all' ? copy.externalAllWorkspaces : copy.externalCurrentWorkspace;
|
|
2672
|
+
const notice = sessions.length > 0 && selectable.length === 0 ? copy.externalUnavailable : undefined;
|
|
2673
|
+
if (search) {
|
|
2674
|
+
search.updateChoices(choices, scopeLabel, notice);
|
|
2675
|
+
search.invalidate();
|
|
2676
|
+
return;
|
|
2677
|
+
}
|
|
2678
|
+
search = new SessionSearchOverlay(tui, {
|
|
2679
|
+
locale,
|
|
2680
|
+
choices,
|
|
2681
|
+
scopeLabel,
|
|
2682
|
+
title: formatUiMessage(copy.externalSessionTitle, { source: externalSourceLabel(adapterId) }, locale),
|
|
2683
|
+
emptyText: sessions.length === 0 ? copy.externalEmpty : copy.externalUnavailable,
|
|
2684
|
+
notice,
|
|
2685
|
+
onQuery: (text) => {
|
|
2686
|
+
const nextNormalizedQuery = normalizeExternalSessionQueryText(text);
|
|
2687
|
+
query = text;
|
|
2688
|
+
if (nextNormalizedQuery === normalizedQuery)
|
|
2689
|
+
return;
|
|
2690
|
+
normalizedQuery = nextNormalizedQuery;
|
|
2691
|
+
dropScheduledSearch();
|
|
2692
|
+
resetCatalogPage();
|
|
2693
|
+
// Retire an older in-flight response immediately. Waiting until the
|
|
2694
|
+
// debounce fires would let it repaint results for the previous query.
|
|
2695
|
+
const requestRevision = ++revision;
|
|
2696
|
+
let cancel;
|
|
2697
|
+
const handle = setTimeout(() => {
|
|
2698
|
+
if (cancel)
|
|
2699
|
+
cancelScheduledExternalSearches.delete(cancel);
|
|
2700
|
+
cancelScheduledSearch = undefined;
|
|
2701
|
+
if (closed || pageClosed)
|
|
2702
|
+
return;
|
|
2703
|
+
void load(false, undefined, requestRevision);
|
|
2704
|
+
}, EXTERNAL_SESSION_SEARCH_DEBOUNCE_MS);
|
|
2705
|
+
handle.unref();
|
|
2706
|
+
cancel = () => clearTimeout(handle);
|
|
2707
|
+
cancelScheduledSearch = cancel;
|
|
2708
|
+
cancelScheduledExternalSearches.add(cancel);
|
|
2709
|
+
},
|
|
2710
|
+
onSelect: (item) => {
|
|
2711
|
+
if (item.value === 'external:load-more' && nextCursor) {
|
|
2712
|
+
void load(true, nextCursor);
|
|
2713
|
+
return;
|
|
2714
|
+
}
|
|
2715
|
+
if (item.value === 'external:toggle-workspace' && alternateScope) {
|
|
2716
|
+
toggleScope();
|
|
2717
|
+
return;
|
|
2718
|
+
}
|
|
2719
|
+
const source = byValue.get(item.value);
|
|
2720
|
+
if (!source)
|
|
2721
|
+
return;
|
|
2722
|
+
closeOverlay();
|
|
2723
|
+
if (busy || turnRunning) {
|
|
2724
|
+
state.entries.push({ kind: 'notice', level: 'error', text: copy.externalImportBusy });
|
|
2725
|
+
requestRender();
|
|
2726
|
+
return;
|
|
2727
|
+
}
|
|
2728
|
+
const latestImportedSessionId = source.importState.importedSessionIds[0];
|
|
2729
|
+
if (latestImportedSessionId === undefined) {
|
|
2730
|
+
void runControl(() => importExternalSession(adapterId, source));
|
|
2731
|
+
return;
|
|
2732
|
+
}
|
|
2733
|
+
const actionTitle = formatUiMessage(copy.externalImportedActionsTitle, { source: source.name }, locale);
|
|
2734
|
+
const actions = [
|
|
2735
|
+
{ value: 'open-latest', label: copy.externalOpenLatestImported },
|
|
2736
|
+
...(!source.importState.isImporting
|
|
2737
|
+
? [{ value: 'import-again', label: copy.externalImportAgain }]
|
|
2738
|
+
: []),
|
|
2739
|
+
];
|
|
2740
|
+
showSelectPicker(actionTitle, source.name, actions, (action) => {
|
|
2741
|
+
if (busy || turnRunning) {
|
|
2742
|
+
state.entries.push({
|
|
2743
|
+
kind: 'notice',
|
|
2744
|
+
level: 'error',
|
|
2745
|
+
text: copy.externalImportBusy,
|
|
2746
|
+
});
|
|
2747
|
+
requestRender();
|
|
2748
|
+
return;
|
|
2749
|
+
}
|
|
2750
|
+
if (action.value === 'import-again') {
|
|
2751
|
+
void runControl(() => importExternalSession(adapterId, source));
|
|
2752
|
+
return;
|
|
2753
|
+
}
|
|
2754
|
+
void runControl(() => openImportedExternalSession(latestImportedSessionId, formatUiMessage(copy.externalOpenLatestFailed, { sessionId: latestImportedSessionId }, locale)));
|
|
2755
|
+
}, { minPrimaryColumnWidth: 24, maxPrimaryColumnWidth: 48 });
|
|
2756
|
+
},
|
|
2757
|
+
onCancel: closeOverlay,
|
|
2758
|
+
onToggleScope: toggleScope,
|
|
2759
|
+
});
|
|
2760
|
+
overlay = showBottomPicker(search);
|
|
2761
|
+
};
|
|
2762
|
+
const load = async (append, cursor, scheduledRevision) => {
|
|
2763
|
+
const requestRevision = scheduledRevision ?? ++revision;
|
|
2764
|
+
try {
|
|
2765
|
+
const page = await input.externalSessions.listSessions({
|
|
2766
|
+
adapterId,
|
|
2767
|
+
scope,
|
|
2768
|
+
...(cursor ? { cursor } : {}),
|
|
2769
|
+
...(query ? { text: query } : {}),
|
|
2770
|
+
});
|
|
2771
|
+
if (requestRevision !== revision || pageClosed || closed || turnRunning)
|
|
2772
|
+
return;
|
|
2773
|
+
sessions = append ? [...sessions, ...page.sessions] : page.sessions;
|
|
2774
|
+
nextCursor = page.nextCursor;
|
|
2775
|
+
render();
|
|
2776
|
+
}
|
|
2777
|
+
catch {
|
|
2778
|
+
if (requestRevision !== revision || pageClosed || closed)
|
|
2779
|
+
return;
|
|
2780
|
+
state.entries.push({ kind: 'notice', level: 'error', text: copy.externalCatalogFailed });
|
|
2781
|
+
requestRender();
|
|
2782
|
+
}
|
|
2783
|
+
};
|
|
2784
|
+
await load(false);
|
|
2785
|
+
};
|
|
2786
|
+
const showExternalSourcePicker = (adapterIds) => {
|
|
2787
|
+
if (!input.externalSessions)
|
|
2788
|
+
return;
|
|
2789
|
+
const initialScope = input.externalSessions.listScopes()[0];
|
|
2790
|
+
if (adapterIds.length === 1) {
|
|
2791
|
+
void showExternalSessionPage(adapterIds[0], initialScope);
|
|
2792
|
+
return;
|
|
2793
|
+
}
|
|
2794
|
+
const copy = TUI_SESSION_ACTIONS_COPY[locale];
|
|
2795
|
+
showSelectPicker(copy.externalSourceTitle, copy.externalSourceTitle, adapterIds.map((adapterId) => ({
|
|
2796
|
+
value: adapterId,
|
|
2797
|
+
label: externalSourceLabel(adapterId),
|
|
2798
|
+
})), (item) => void showExternalSessionPage(item.value, initialScope), { minPrimaryColumnWidth: 20, maxPrimaryColumnWidth: 40 });
|
|
2799
|
+
};
|
|
2088
2800
|
const showSessionList = async () => {
|
|
2089
2801
|
const sessions = await input.driver.listSessions();
|
|
2090
2802
|
const sessionTree = projectRevisionLinkedSessionTree(sessions, input.driver.getSessionId() ?? undefined);
|
|
2091
2803
|
const projectedSessions = flattenLinkedSessionTree(sessionTree.roots, sessionTree.childrenByParentId);
|
|
2092
|
-
// Maka-session availability and
|
|
2804
|
+
// Maka-session availability and Host source discovery are independent I/O; run
|
|
2093
2805
|
// them concurrently so the picker's open latency is the slower of the two,
|
|
2094
2806
|
// not their sum.
|
|
2095
|
-
const [availabilityEntries,
|
|
2807
|
+
const [availabilityEntries, externalSourceQuery] = await Promise.all([
|
|
2096
2808
|
Promise.all(sessions.map(async (session) => {
|
|
2097
2809
|
return [
|
|
2098
2810
|
session.id,
|
|
@@ -2100,76 +2812,71 @@ export async function runMakaPiTui(input) {
|
|
|
2100
2812
|
(await inspectSessionResumeAvailability(session)),
|
|
2101
2813
|
];
|
|
2102
2814
|
})),
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
// selection would silently no-op on importForeignSession's busy guard.
|
|
2107
|
-
input.foreignSessions && !turnRunning
|
|
2108
|
-
? input.foreignSessions.listSessions({ cwd }).then((summaries) => ({ summaries }), (error) => ({ error }))
|
|
2109
|
-
: Promise.resolve({ summaries: [] }),
|
|
2815
|
+
input.externalSessions && !turnRunning
|
|
2816
|
+
? input.externalSessions.listSources().then((adapterIds) => ({ adapterIds }), () => ({ error: true }))
|
|
2817
|
+
: Promise.resolve({ adapterIds: [] }),
|
|
2110
2818
|
]);
|
|
2111
2819
|
const availability = new Map(availabilityEntries);
|
|
2112
|
-
|
|
2113
|
-
// prefixed select value so they never collide with Maka session ids. A scan
|
|
2114
|
-
// error is surfaced (not silently swallowed): degrade to no rows but tell
|
|
2115
|
-
// the user why, so a real store bug isn't mistaken for "no sessions".
|
|
2116
|
-
const foreignByValue = new Map();
|
|
2117
|
-
if ('error' in foreignScan) {
|
|
2118
|
-
const detail = foreignScan.error instanceof Error ? foreignScan.error.message : String(foreignScan.error);
|
|
2820
|
+
if ('error' in externalSourceQuery) {
|
|
2119
2821
|
state.entries.push({
|
|
2120
2822
|
kind: 'notice',
|
|
2121
2823
|
level: 'error',
|
|
2122
|
-
text:
|
|
2824
|
+
text: TUI_SESSION_ACTIONS_COPY[locale].externalCatalogFailed,
|
|
2123
2825
|
});
|
|
2124
2826
|
}
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
foreignByValue.set(`foreign:${summary.source}:${summary.id}`, summary);
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2827
|
+
let overlay;
|
|
2828
|
+
let sessionSearch;
|
|
2130
2829
|
const renderScope = () => {
|
|
2131
2830
|
const visibleSessions = sessionListScope === 'current'
|
|
2132
2831
|
? projectedSessions.filter(({ session }) => session.cwd === cwd)
|
|
2133
2832
|
: projectedSessions;
|
|
2134
|
-
const
|
|
2833
|
+
const choices = visibleSessions.map(({ session, depth }) => {
|
|
2135
2834
|
const state = availability.get(session.id);
|
|
2136
2835
|
const statusBadge = sessionStatusBadge(session, locale);
|
|
2137
2836
|
const statusDetail = statusBadge ? ` · ${statusBadge}` : '';
|
|
2138
|
-
const location = sessionListScope === 'all' && session.cwd ? ` ${
|
|
2837
|
+
const location = sessionListScope === 'all' && session.cwd ? ` ${session.cwd}` : '';
|
|
2139
2838
|
const childDetail = session.subagentRuntime
|
|
2140
2839
|
? ` subagent:${session.subagentRuntime.profile}`
|
|
2141
2840
|
: '';
|
|
2142
|
-
|
|
2841
|
+
const item = {
|
|
2143
2842
|
value: session.id,
|
|
2144
2843
|
label: `${depth > 0 ? `${' '.repeat(depth - 1)}↳ ` : ''}${session.name || session.id}`,
|
|
2145
2844
|
description: state?.available === false
|
|
2146
2845
|
? `${shortSessionId(session.id)}${statusDetail} ${state.reason}`
|
|
2147
2846
|
: `${shortSessionId(session.id)}${statusDetail}${location}${childDetail} ${session.llmConnectionSlug} ${session.model}`,
|
|
2148
2847
|
};
|
|
2848
|
+
return {
|
|
2849
|
+
item,
|
|
2850
|
+
searchText: [
|
|
2851
|
+
session.name,
|
|
2852
|
+
session.id,
|
|
2853
|
+
session.cwd,
|
|
2854
|
+
session.model,
|
|
2855
|
+
session.llmConnectionSlug,
|
|
2856
|
+
]
|
|
2857
|
+
.filter(Boolean)
|
|
2858
|
+
.join(' ')
|
|
2859
|
+
.toLocaleLowerCase(),
|
|
2860
|
+
};
|
|
2149
2861
|
});
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2862
|
+
if ('adapterIds' in externalSourceQuery && externalSourceQuery.adapterIds.length > 0) {
|
|
2863
|
+
choices.push({
|
|
2864
|
+
item: {
|
|
2865
|
+
value: 'external:import',
|
|
2866
|
+
label: TUI_SESSION_ACTIONS_COPY[locale].externalImport,
|
|
2867
|
+
description: TUI_SESSION_ACTIONS_COPY[locale].externalImportDescription,
|
|
2868
|
+
},
|
|
2869
|
+
searchText: TUI_SESSION_ACTIONS_COPY[locale].externalImport.toLocaleLowerCase(),
|
|
2157
2870
|
});
|
|
2158
2871
|
}
|
|
2159
|
-
const list = new SelectList(items, 10, selectListTheme(), {
|
|
2160
|
-
minPrimaryColumnWidth: 20,
|
|
2161
|
-
maxPrimaryColumnWidth: Math.max(20, terminal.columns - 30),
|
|
2162
|
-
});
|
|
2163
|
-
let overlay;
|
|
2164
2872
|
const closeOverlay = () => {
|
|
2165
2873
|
sessionPickerOverlayOpen = false;
|
|
2166
2874
|
overlay?.hide();
|
|
2167
2875
|
};
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
if (foreign) {
|
|
2876
|
+
const onSelect = (item) => {
|
|
2877
|
+
if (item.value === 'external:import' && 'adapterIds' in externalSourceQuery) {
|
|
2171
2878
|
closeOverlay();
|
|
2172
|
-
|
|
2879
|
+
showExternalSourcePicker(externalSourceQuery.adapterIds);
|
|
2173
2880
|
return;
|
|
2174
2881
|
}
|
|
2175
2882
|
if (availability.get(item.value)?.available === false)
|
|
@@ -2177,21 +2884,27 @@ export async function runMakaPiTui(input) {
|
|
|
2177
2884
|
closeOverlay();
|
|
2178
2885
|
void goToSession(item.value);
|
|
2179
2886
|
};
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2887
|
+
const scopeLabel = sessionListScope === 'current'
|
|
2888
|
+
? pickerCopy.sessionScopeCurrent
|
|
2889
|
+
: pickerCopy.sessionScopeAll;
|
|
2890
|
+
if (sessionSearch) {
|
|
2891
|
+
sessionSearch.updateChoices(choices, scopeLabel);
|
|
2892
|
+
sessionSearch.invalidate();
|
|
2893
|
+
return;
|
|
2894
|
+
}
|
|
2895
|
+
sessionSearch = new SessionSearchOverlay(tui, {
|
|
2896
|
+
locale,
|
|
2897
|
+
choices,
|
|
2898
|
+
scopeLabel,
|
|
2899
|
+
onSelect,
|
|
2900
|
+
onCancel: closeOverlay,
|
|
2901
|
+
onToggleScope: () => {
|
|
2189
2902
|
sessionListScope = sessionListScope === 'current' ? 'all' : 'current';
|
|
2190
|
-
overlay?.hide();
|
|
2191
2903
|
renderScope();
|
|
2192
|
-
return true;
|
|
2193
2904
|
},
|
|
2194
|
-
})
|
|
2905
|
+
});
|
|
2906
|
+
sessionPickerOverlayOpen = true;
|
|
2907
|
+
overlay = showBottomPicker(sessionSearch);
|
|
2195
2908
|
};
|
|
2196
2909
|
renderScope();
|
|
2197
2910
|
};
|
|
@@ -2201,7 +2914,7 @@ export async function runMakaPiTui(input) {
|
|
|
2201
2914
|
state.entries.push({
|
|
2202
2915
|
kind: 'notice',
|
|
2203
2916
|
level: 'info',
|
|
2204
|
-
text:
|
|
2917
|
+
text: TUI_REWIND_COPY[locale].noTargets,
|
|
2205
2918
|
});
|
|
2206
2919
|
requestRender();
|
|
2207
2920
|
return;
|
|
@@ -2210,7 +2923,8 @@ export async function runMakaPiTui(input) {
|
|
|
2210
2923
|
value: target.turnId,
|
|
2211
2924
|
label: target.label,
|
|
2212
2925
|
}));
|
|
2213
|
-
|
|
2926
|
+
const rewindCopy = TUI_REWIND_COPY[locale];
|
|
2927
|
+
showSelectPicker(rewindCopy.pickerTitle, rewindCopy.pickerTitle, items, (item) => {
|
|
2214
2928
|
// runControl drops the action silently when busy is already held (e.g.
|
|
2215
2929
|
// a Goal auto-continuation started while the picker was open). The
|
|
2216
2930
|
// overlay is already closed at this point, so say so instead of
|
|
@@ -2219,7 +2933,7 @@ export async function runMakaPiTui(input) {
|
|
|
2219
2933
|
state.entries.push({
|
|
2220
2934
|
kind: 'notice',
|
|
2221
2935
|
level: 'error',
|
|
2222
|
-
text:
|
|
2936
|
+
text: rewindCopy.busy,
|
|
2223
2937
|
});
|
|
2224
2938
|
requestRender();
|
|
2225
2939
|
return;
|
|
@@ -2228,27 +2942,29 @@ export async function runMakaPiTui(input) {
|
|
|
2228
2942
|
}, {
|
|
2229
2943
|
minPrimaryColumnWidth: 24,
|
|
2230
2944
|
maxPrimaryColumnWidth: 48,
|
|
2231
|
-
hint:
|
|
2945
|
+
hint: rewindCopy.pickerHint,
|
|
2232
2946
|
});
|
|
2233
2947
|
};
|
|
2234
2948
|
const newSession = async () => {
|
|
2235
2949
|
try {
|
|
2236
2950
|
await input.driver.startNewSession();
|
|
2237
2951
|
}
|
|
2238
|
-
catch
|
|
2952
|
+
catch {
|
|
2239
2953
|
// The identity swap was aborted driver-side: the previous Session, its
|
|
2240
2954
|
// transcript, and every user-command card stay exactly as they were.
|
|
2241
|
-
// Surface
|
|
2955
|
+
// Surface the failure instead of silently stranding the running
|
|
2956
|
+
// commands; the driver's raw error text is not product copy (#2672).
|
|
2242
2957
|
state.entries.push({
|
|
2243
2958
|
kind: 'notice',
|
|
2244
2959
|
level: 'error',
|
|
2245
|
-
text:
|
|
2246
|
-
? error.message
|
|
2247
|
-
: '无法开始新会话:停止本地命令失败,请稍后重试。',
|
|
2960
|
+
text: TUI_SESSION_ACTIONS_COPY[locale].newSessionFailed,
|
|
2248
2961
|
});
|
|
2249
2962
|
requestRender();
|
|
2250
2963
|
return false;
|
|
2251
2964
|
}
|
|
2965
|
+
resetTranscriptViewer();
|
|
2966
|
+
closeTodoOverlay();
|
|
2967
|
+
syncTodoSession();
|
|
2252
2968
|
// A fresh session is not bound by the previous one's boundary. Falling back
|
|
2253
2969
|
// to the *current* label would keep the previous Session's mode, including
|
|
2254
2970
|
// Auto while a changed Host default creates with full access; the launch
|
|
@@ -2263,51 +2979,12 @@ export async function runMakaPiTui(input) {
|
|
|
2263
2979
|
// session, send a prompt to begin" cue. A notice here would make entries
|
|
2264
2980
|
// non-empty and suppress it.
|
|
2265
2981
|
replaceTranscript([]);
|
|
2982
|
+
syncInteractionOverlays();
|
|
2266
2983
|
shellRunElapsedTicker.sync();
|
|
2267
2984
|
await discardCurrentSidePair();
|
|
2268
2985
|
requestRender();
|
|
2269
2986
|
return true;
|
|
2270
2987
|
};
|
|
2271
|
-
// Import a foreign (Claude Code / Codex) session: read its digest, open a
|
|
2272
|
-
// fresh Maka session, and seed the first turn with an untrusted handoff
|
|
2273
|
-
// envelope. Mirrors submitPreparedUserPrompt: claim `busy` + an activity lease
|
|
2274
|
-
// SYNCHRONOUSLY before the async read so no other turn (a Goal auto-
|
|
2275
|
-
// continuation, or a user Enter) can start during it and make the import a
|
|
2276
|
-
// silent no-op. runAgentTurn re-asserts busy for the turn; on any failure the
|
|
2277
|
-
// finally releases the lease. The handoff is the model-facing `sendText`; a
|
|
2278
|
-
// short line shows in the transcript.
|
|
2279
|
-
const importForeignSession = async (summary) => {
|
|
2280
|
-
if (busy || input.foreignSessions === undefined)
|
|
2281
|
-
return;
|
|
2282
|
-
busy = true;
|
|
2283
|
-
const activity = beginActivity();
|
|
2284
|
-
editor.disableSubmit = true;
|
|
2285
|
-
let handedOff = false;
|
|
2286
|
-
try {
|
|
2287
|
-
const digest = await input.foreignSessions.readDigest(summary);
|
|
2288
|
-
if (closed)
|
|
2289
|
-
return;
|
|
2290
|
-
if (!(await newSession()))
|
|
2291
|
-
return;
|
|
2292
|
-
submitMessage(foreignSessionHandoffDisplayText(digest), 'current_turn', {
|
|
2293
|
-
modelText: buildForeignSessionHandoffMessage(digest),
|
|
2294
|
-
});
|
|
2295
|
-
handedOff = true;
|
|
2296
|
-
}
|
|
2297
|
-
catch (error) {
|
|
2298
|
-
if (closed)
|
|
2299
|
-
return;
|
|
2300
|
-
reportError(error);
|
|
2301
|
-
}
|
|
2302
|
-
finally {
|
|
2303
|
-
if (!handedOff) {
|
|
2304
|
-
busy = false;
|
|
2305
|
-
editor.disableSubmit = false;
|
|
2306
|
-
requestRender();
|
|
2307
|
-
}
|
|
2308
|
-
activity.finish();
|
|
2309
|
-
}
|
|
2310
|
-
};
|
|
2311
2988
|
const showHelp = () => {
|
|
2312
2989
|
// Derive the command list from the registry so /help never drifts from the
|
|
2313
2990
|
// real commands. Keybindings are not commands, so they are listed by hand.
|
|
@@ -2329,20 +3006,42 @@ export async function runMakaPiTui(input) {
|
|
|
2329
3006
|
requestRender();
|
|
2330
3007
|
};
|
|
2331
3008
|
const showTranscriptViewer = () => {
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
const
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
3009
|
+
if (state.pendingInteraction)
|
|
3010
|
+
return;
|
|
3011
|
+
const sessionId = input.driver.getSessionId() ?? undefined;
|
|
3012
|
+
if (!transcriptViewer || transcriptViewerSessionId !== sessionId) {
|
|
3013
|
+
transcriptViewerSessionId = sessionId;
|
|
3014
|
+
transcriptViewer = new TranscriptViewerOverlay({
|
|
3015
|
+
renderTranscript: transcript.createDocumentRenderer(),
|
|
3016
|
+
locale,
|
|
3017
|
+
viewportRows: () => terminal.rows,
|
|
3018
|
+
onClose: () => {
|
|
3019
|
+
transcriptOverlay?.hide();
|
|
3020
|
+
transcriptOverlay = undefined;
|
|
3021
|
+
},
|
|
3022
|
+
onChange: () => tui.requestRender(),
|
|
3023
|
+
});
|
|
3024
|
+
}
|
|
3025
|
+
transcriptOverlay = tui.showOverlay(transcriptViewer, {
|
|
2341
3026
|
anchor: 'top-left',
|
|
2342
3027
|
width: '100%',
|
|
2343
3028
|
maxHeight: '100%',
|
|
2344
3029
|
});
|
|
2345
3030
|
};
|
|
3031
|
+
const showTodo = () => {
|
|
3032
|
+
if (state.pendingInteraction)
|
|
3033
|
+
return;
|
|
3034
|
+
syncTodoSession();
|
|
3035
|
+
void currentTodo.refresh();
|
|
3036
|
+
closeTodoOverlay();
|
|
3037
|
+
todoOverlay = tui.showOverlay(new TodoOverlay({
|
|
3038
|
+
locale,
|
|
3039
|
+
getState: () => input.driver.queryTodo ? currentTodo.getState() : { status: 'error', items: [] },
|
|
3040
|
+
viewportRows: () => terminal.rows,
|
|
3041
|
+
onClose: closeTodoOverlay,
|
|
3042
|
+
onChange: () => tui.requestRender(),
|
|
3043
|
+
}), { anchor: 'top-left', width: '100%', maxHeight: '100%' });
|
|
3044
|
+
};
|
|
2346
3045
|
const showMcpStatus = () => {
|
|
2347
3046
|
let overlay;
|
|
2348
3047
|
const viewer = new McpManagementOverlay({
|
|
@@ -2400,18 +3099,18 @@ export async function runMakaPiTui(input) {
|
|
|
2400
3099
|
state.entries.push({
|
|
2401
3100
|
kind: 'notice',
|
|
2402
3101
|
level: 'info',
|
|
2403
|
-
text:
|
|
3102
|
+
text: skillsCopy.noneAvailable,
|
|
2404
3103
|
});
|
|
2405
3104
|
requestRender();
|
|
2406
3105
|
return;
|
|
2407
3106
|
}
|
|
2408
|
-
showSelectPicker(
|
|
3107
|
+
showSelectPicker(skillsCopy.pickerTitle, String(entries.length), skillPickerItems(entries), (item) => {
|
|
2409
3108
|
editor.insertTextAtCursor(`/skill:${item.value} `);
|
|
2410
3109
|
requestRender();
|
|
2411
3110
|
}, { minPrimaryColumnWidth: 16, maxPrimaryColumnWidth: 40 });
|
|
2412
3111
|
};
|
|
2413
3112
|
const showThinkingLevelList = () => {
|
|
2414
|
-
const items = thinkingLevelPickerItems(
|
|
3113
|
+
const items = thinkingLevelPickerItems(currentThinkingLevels(), thinkingLevel, locale);
|
|
2415
3114
|
showSelectPicker(pickerCopy.thinkingPickerTitle, thinkingLevel ?? 'default', items, (item) => {
|
|
2416
3115
|
const level = item.value === 'default' ? undefined : item.value;
|
|
2417
3116
|
if (level !== undefined && !isThinkingLevel(level))
|
|
@@ -2763,7 +3462,78 @@ export async function runMakaPiTui(input) {
|
|
|
2763
3462
|
notice('Goal cleared.');
|
|
2764
3463
|
}
|
|
2765
3464
|
};
|
|
3465
|
+
const runHostCommand = async (parts) => {
|
|
3466
|
+
const copy = getTuiHostOwnerCopy(locale);
|
|
3467
|
+
if (!input.hostControl)
|
|
3468
|
+
throw new Error(copy.unavailable);
|
|
3469
|
+
const action = parts[1] ?? 'status';
|
|
3470
|
+
if (action === 'status' && parts.length <= 2) {
|
|
3471
|
+
const text = await input.hostControl.status();
|
|
3472
|
+
if (!closed) {
|
|
3473
|
+
state.entries.push({ kind: 'notice', level: 'info', text });
|
|
3474
|
+
requestRender();
|
|
3475
|
+
}
|
|
3476
|
+
return;
|
|
3477
|
+
}
|
|
3478
|
+
if (action !== 'stop' && action !== 'restart' && action !== 'update') {
|
|
3479
|
+
throw new Error(copy.usage);
|
|
3480
|
+
}
|
|
3481
|
+
const targets = parts.slice(2);
|
|
3482
|
+
if (targets.length > (action === 'update' ? 1 : 0)) {
|
|
3483
|
+
throw new Error(copy.usage);
|
|
3484
|
+
}
|
|
3485
|
+
const accepted = await input.hostControl.prepare({
|
|
3486
|
+
action,
|
|
3487
|
+
...(targets[0] ? { target: targets[0] } : {}),
|
|
3488
|
+
}, (detail) => new Promise((resolve) => {
|
|
3489
|
+
if (closed)
|
|
3490
|
+
return resolve('cancel');
|
|
3491
|
+
showSelectPicker(copy.pickerTitle, 'cancel', [
|
|
3492
|
+
{
|
|
3493
|
+
value: 'cancel',
|
|
3494
|
+
label: copy.cancel,
|
|
3495
|
+
description: copy.cancelDescription,
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
value: 'safe',
|
|
3499
|
+
label: copy.safe,
|
|
3500
|
+
description: copy.safeDescription,
|
|
3501
|
+
},
|
|
3502
|
+
...(action === 'update'
|
|
3503
|
+
? []
|
|
3504
|
+
: [
|
|
3505
|
+
{
|
|
3506
|
+
value: 'interrupt',
|
|
3507
|
+
label: copy.interrupt,
|
|
3508
|
+
description: copy.interruptDescription,
|
|
3509
|
+
},
|
|
3510
|
+
]),
|
|
3511
|
+
], (item) => resolve(item.value), {
|
|
3512
|
+
minPrimaryColumnWidth: 16,
|
|
3513
|
+
maxPrimaryColumnWidth: 26,
|
|
3514
|
+
selectedIndex: 0,
|
|
3515
|
+
notice: detail,
|
|
3516
|
+
onCancel: () => resolve('cancel'),
|
|
3517
|
+
});
|
|
3518
|
+
}));
|
|
3519
|
+
if (accepted)
|
|
3520
|
+
beginGracefulClose();
|
|
3521
|
+
};
|
|
2766
3522
|
const slashCommandHandlers = {
|
|
3523
|
+
host: {
|
|
3524
|
+
description: primaryGuidance.commands.host,
|
|
3525
|
+
midTurn: 'local',
|
|
3526
|
+
run: (parts) => {
|
|
3527
|
+
void runHostCommand(parts).catch(reportError);
|
|
3528
|
+
},
|
|
3529
|
+
},
|
|
3530
|
+
update: {
|
|
3531
|
+
description: primaryGuidance.commands.update,
|
|
3532
|
+
midTurn: 'local',
|
|
3533
|
+
run: (parts) => {
|
|
3534
|
+
void runHostCommand(['/host', 'update', ...parts.slice(1)]).catch(reportError);
|
|
3535
|
+
},
|
|
3536
|
+
},
|
|
2767
3537
|
context: {
|
|
2768
3538
|
description: primaryGuidance.commands.context,
|
|
2769
3539
|
// Read-only diagnostics, but runControl-gated: mid-turn it would
|
|
@@ -2808,6 +3578,59 @@ export async function runMakaPiTui(input) {
|
|
|
2808
3578
|
void runControl(compactSession);
|
|
2809
3579
|
},
|
|
2810
3580
|
},
|
|
3581
|
+
copy: {
|
|
3582
|
+
description: primaryGuidance.commands.copy,
|
|
3583
|
+
// Refused mid-turn: copy grabs the finished reply, and while a turn streams
|
|
3584
|
+
// the last assistant entry is the half-written one — copying that would
|
|
3585
|
+
// silently hand back a partial message. Wait for the turn (or Esc) first.
|
|
3586
|
+
midTurn: 'refuse',
|
|
3587
|
+
run: (parts) => {
|
|
3588
|
+
const scope = parts.length >= 2 ? parts[1] : undefined;
|
|
3589
|
+
if (parts.length > 2 || (scope !== undefined && scope !== 'all')) {
|
|
3590
|
+
state.entries.push({
|
|
3591
|
+
kind: 'notice',
|
|
3592
|
+
level: 'error',
|
|
3593
|
+
text: copyCopy.usage,
|
|
3594
|
+
});
|
|
3595
|
+
requestRender();
|
|
3596
|
+
return;
|
|
3597
|
+
}
|
|
3598
|
+
const copyAll = scope === 'all';
|
|
3599
|
+
const text = copyAll
|
|
3600
|
+
? serializeTranscriptText(state, {
|
|
3601
|
+
user: copyCopy.roleUser,
|
|
3602
|
+
assistant: copyCopy.roleAssistant,
|
|
3603
|
+
goalContinuation: copyCopy.roleGoalContinuation,
|
|
3604
|
+
legacyAutomation: copyCopy.roleLegacyAutomation,
|
|
3605
|
+
})
|
|
3606
|
+
: lastAssistantText(state);
|
|
3607
|
+
if (!text) {
|
|
3608
|
+
state.entries.push({
|
|
3609
|
+
kind: 'notice',
|
|
3610
|
+
level: 'info',
|
|
3611
|
+
text: copyCopy.nothingToCopy,
|
|
3612
|
+
});
|
|
3613
|
+
requestRender();
|
|
3614
|
+
return;
|
|
3615
|
+
}
|
|
3616
|
+
const result = copyToClipboard(terminal, text);
|
|
3617
|
+
if (!result.ok) {
|
|
3618
|
+
state.entries.push({
|
|
3619
|
+
kind: 'notice',
|
|
3620
|
+
level: 'error',
|
|
3621
|
+
text: formatUiMessage(copyCopy.tooLarge, { bytes: result.bytes, limit: result.limit }, locale),
|
|
3622
|
+
});
|
|
3623
|
+
requestRender();
|
|
3624
|
+
return;
|
|
3625
|
+
}
|
|
3626
|
+
state.entries.push({
|
|
3627
|
+
kind: 'notice',
|
|
3628
|
+
level: 'info',
|
|
3629
|
+
text: formatUiMessage(copyAll ? copyCopy.copiedAll : copyCopy.copiedLast, { count: text.length }, locale),
|
|
3630
|
+
});
|
|
3631
|
+
requestRender();
|
|
3632
|
+
},
|
|
3633
|
+
},
|
|
2811
3634
|
exit: {
|
|
2812
3635
|
description: primaryGuidance.commands.exit,
|
|
2813
3636
|
// isExitPrompt (which also matches bare "quit"/"exit" without a slash)
|
|
@@ -2896,7 +3719,7 @@ export async function runMakaPiTui(input) {
|
|
|
2896
3719
|
state.entries.push({
|
|
2897
3720
|
kind: 'notice',
|
|
2898
3721
|
level: 'error',
|
|
2899
|
-
text:
|
|
3722
|
+
text: skillsCopy.usage,
|
|
2900
3723
|
});
|
|
2901
3724
|
requestRender();
|
|
2902
3725
|
return;
|
|
@@ -2957,6 +3780,7 @@ export async function runMakaPiTui(input) {
|
|
|
2957
3780
|
description: primaryGuidance.commands.thinking,
|
|
2958
3781
|
midTurn: 'refuse',
|
|
2959
3782
|
run: (parts) => {
|
|
3783
|
+
const thinkingLevels = currentThinkingLevels();
|
|
2960
3784
|
if (parts.length === 1) {
|
|
2961
3785
|
if (thinkingLevels.length === 0) {
|
|
2962
3786
|
state.entries.push({
|
|
@@ -3007,6 +3831,22 @@ export async function runMakaPiTui(input) {
|
|
|
3007
3831
|
showTranscriptViewer();
|
|
3008
3832
|
},
|
|
3009
3833
|
},
|
|
3834
|
+
todo: {
|
|
3835
|
+
description: primaryGuidance.commands.todo,
|
|
3836
|
+
midTurn: 'local',
|
|
3837
|
+
run: (parts) => {
|
|
3838
|
+
if (parts.length !== 1) {
|
|
3839
|
+
state.entries.push({
|
|
3840
|
+
kind: 'notice',
|
|
3841
|
+
level: 'error',
|
|
3842
|
+
text: TUI_COPY_RESOURCES.todo[locale].usage,
|
|
3843
|
+
});
|
|
3844
|
+
requestRender();
|
|
3845
|
+
return;
|
|
3846
|
+
}
|
|
3847
|
+
showTodo();
|
|
3848
|
+
},
|
|
3849
|
+
},
|
|
3010
3850
|
permissions: {
|
|
3011
3851
|
description: primaryGuidance.commands.permissions,
|
|
3012
3852
|
midTurn: 'refuse',
|
|
@@ -3246,7 +4086,7 @@ export async function runMakaPiTui(input) {
|
|
|
3246
4086
|
void runControl(closeSideConversation);
|
|
3247
4087
|
return { consume: true };
|
|
3248
4088
|
}
|
|
3249
|
-
if (activeUserQuestionRequest(state) &&
|
|
4089
|
+
if ((activeUserQuestionRequest(state) || activeFormRequest(state)) &&
|
|
3250
4090
|
turnRunning &&
|
|
3251
4091
|
matchesKey(data, Key.ctrl('c')) &&
|
|
3252
4092
|
!isKeyRepeat(data)) {
|
|
@@ -3256,6 +4096,11 @@ export async function runMakaPiTui(input) {
|
|
|
3256
4096
|
requestTurnInterrupt();
|
|
3257
4097
|
return { consume: true };
|
|
3258
4098
|
}
|
|
4099
|
+
// AskUserQuestion is rendered inside the live layout so the transcript is
|
|
4100
|
+
// not covered by a modal overlay. Keep the same input-capture boundary as
|
|
4101
|
+
// the old overlay while the prompt owns focus.
|
|
4102
|
+
if (userQuestionPrompt)
|
|
4103
|
+
return undefined;
|
|
3259
4104
|
if (tui.hasOverlay())
|
|
3260
4105
|
return undefined;
|
|
3261
4106
|
if (sideConversation && matchesSideConversationToggle(data)) {
|
|
@@ -3301,9 +4146,8 @@ export async function runMakaPiTui(input) {
|
|
|
3301
4146
|
if (!matchesKey(data, Key.escape))
|
|
3302
4147
|
lastIdleEscapeAt = 0;
|
|
3303
4148
|
if (matchesKey(data, Key.ctrl('o')) && !isKeyRepeat(data)) {
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
}
|
|
4149
|
+
showTranscriptViewer();
|
|
4150
|
+
return { consume: true };
|
|
3307
4151
|
}
|
|
3308
4152
|
if (matchesKey(data, Key.ctrl('t')) && !isKeyRepeat(data)) {
|
|
3309
4153
|
if (handleExpansionToggleKey('thinking')) {
|
|
@@ -3414,11 +4258,11 @@ export async function runMakaPiTui(input) {
|
|
|
3414
4258
|
// re-wrapping) a full clear would wipe the scrollback the user scrolls through.
|
|
3415
4259
|
// Differential rendering clears the vacated rows without the wipe.
|
|
3416
4260
|
//
|
|
3417
|
-
// The
|
|
4261
|
+
// The live Ctrl+T thinking toggle is viewport-anchored for the same reason: an
|
|
3418
4262
|
// entry above the live viewport lives in terminal scrollback, which cannot
|
|
3419
4263
|
// be rewritten, so resizing it would push pi-tui's differential renderer
|
|
3420
4264
|
// into a scrollback-clearing full redraw (its `firstChanged < viewportTop`
|
|
3421
|
-
// path).
|
|
4265
|
+
// path). It therefore retargets only entries inside the viewport;
|
|
3422
4266
|
// see entryInLiveViewport in pi-transcript.ts (#1097). A block whose own
|
|
3423
4267
|
// expansion pushed its head above the viewport can consequently not be
|
|
3424
4268
|
// collapsed by the next press (#1134): the toggle still flips the default
|
|
@@ -3427,6 +4271,7 @@ export async function runMakaPiTui(input) {
|
|
|
3427
4271
|
// again within EXPANSION_COLLAPSE_CONFIRM_WINDOW_MS applies the collapsed
|
|
3428
4272
|
// default to those blocks too and pays one scrollback-clearing full redraw
|
|
3429
4273
|
// (requestRender(true)), re-anchoring the viewport at the tail.
|
|
4274
|
+
// Ctrl+O instead opens a detached reader whose details never resize live rows.
|
|
3430
4275
|
tui.setClearOnShrink(false);
|
|
3431
4276
|
tui.addChild(layout);
|
|
3432
4277
|
tui.setFocus(editorSurface);
|
|
@@ -3468,6 +4313,7 @@ export async function runMakaPiTui(input) {
|
|
|
3468
4313
|
}
|
|
3469
4314
|
});
|
|
3470
4315
|
}
|
|
4316
|
+
syncTodoSession();
|
|
3471
4317
|
return closedPromise;
|
|
3472
4318
|
}
|
|
3473
4319
|
const BOTTOM_PICKER_MARGIN_ROWS = 4;
|