maka-agent 0.2.0-dev.3.20260830 → 0.2.0-dev.31.20260913
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/LICENSE +242 -5
- package/README.md +38 -19
- package/README.zh-CN.md +34 -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 +477 -258
- package/dist/acp/maka-acp-agent.js +13 -3
- package/dist/acp/prompt-content.js +225 -0
- package/dist/acp/session-configuration.js +143 -0
- package/dist/acp/session-event-mapper.js +103 -0
- package/dist/acp/session-registry.js +1030 -0
- package/dist/acp/stdio-server.js +29 -1
- package/dist/activation-command.js +1 -2
- package/dist/cli-core.js +99 -102
- package/dist/cli-ui-locale.js +7 -2
- package/dist/eval-bundle-path.js +1 -1
- package/dist/mcp-capability-provider.js +8 -11
- package/dist/onboarding-catalog.js +4 -5
- package/dist/pi-transcript-tools.js +9 -2
- package/dist/pi-transcript.js +86 -31
- package/dist/pi-tui-form-interaction.js +497 -0
- package/dist/pi-tui-layout.js +60 -12
- package/dist/pi-tui-mcp-status.js +122 -124
- package/dist/pi-tui-pickers.js +562 -102
- package/dist/pi-tui-runner.js +722 -170
- 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 +16 -2
- package/dist/runtime-host-cli-context.js +300 -80
- package/dist/runtime-host-cli-installation.js +8 -2
- package/dist/runtime-host-cli.js +397 -67
- 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 +13 -0
- 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 +368 -21
- 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 +18 -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 +32 -57
- 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 +3 -3
- package/dist/runtime-host-session-channel.js +79 -9
- package/dist/runtime-host-session-driver.js +85 -32
- package/dist/runtime-host-session-update.js +62 -0
- package/dist/runtime-host-setup-command.js +103 -65
- package/dist/runtime-host-systemd-service.js +9 -3
- package/dist/runtime-host-task-readiness.js +2 -3
- package/dist/runtime-host-tui-command.js +58 -77
- package/dist/runtime-host-tui-context.js +56 -17
- package/dist/runtime-host-tui-owner.js +226 -0
- package/dist/runtime-host-update-command.js +131 -48
- 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 +103 -0
- package/dist/tui-copy-catalog.js +976 -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 +87 -10
- package/dist/tui-mcp-remote-publication.js +395 -0
- 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 +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +36 -3
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +9 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +9 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +24 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/text.js +5 -4
- package/node_modules/@earendil-works/pi-tui/dist/index.js +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +2 -2
- 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 +37 -2
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +4 -10
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +63 -16
- package/node_modules/@earendil-works/pi-tui/dist/tui-main-screen.js +105 -45
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/node_modules/@maka/core/dist/agent-run.js +25 -336
- package/node_modules/@maka/core/dist/artifacts.js +32 -23
- package/node_modules/@maka/core/dist/attachments.js +100 -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 +11 -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/deep-research.js +1 -20
- 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 +43 -14
- package/node_modules/@maka/core/dist/execution-inspect.js +12 -21
- package/node_modules/@maka/core/dist/foreign-session.js +3 -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 +623 -2
- package/node_modules/@maka/core/dist/llm-connections.js +115 -87
- 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/model-call-attempt.js +134 -82
- package/node_modules/@maka/core/dist/model-call-usage-projection.js +0 -183
- package/node_modules/@maka/core/dist/model-catalog.js +191 -322
- package/node_modules/@maka/core/dist/model-facts.js +206 -0
- package/node_modules/@maka/core/dist/model-failure.js +40 -0
- package/node_modules/@maka/core/dist/model-metadata.generated.js +1910 -1875
- package/node_modules/@maka/core/dist/model-metadata.js +217 -209
- package/node_modules/@maka/core/dist/model-projection-transition.js +145 -0
- package/node_modules/@maka/core/dist/model-thinking.js +73 -24
- package/node_modules/@maka/core/dist/model-web-search.js +5 -4
- package/node_modules/@maka/core/dist/models-dev-projection.js +302 -0
- package/node_modules/@maka/core/dist/models-dev-refresh.js +55 -0
- package/node_modules/@maka/core/dist/onboarding.js +2 -1
- 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 +47 -291
- package/node_modules/@maka/core/dist/provider-registry.js +115 -373
- package/node_modules/@maka/core/dist/record-schema.js +22 -2
- package/node_modules/@maka/core/dist/redaction.js +78 -40
- package/node_modules/@maka/core/dist/relative-time.js +6 -5
- 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 +6 -0
- package/node_modules/@maka/core/dist/runtime-event.js +254 -12
- package/node_modules/@maka/core/dist/runtime-handoff.js +106 -0
- package/node_modules/@maka/core/dist/runtime-invocation.js +223 -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 +198 -44
- package/node_modules/@maka/core/dist/runtime-policy/credential-vault-codec.js +9 -1
- package/node_modules/@maka/core/dist/runtime-policy/model-catalog-entry-codec.js +93 -0
- package/node_modules/@maka/core/dist/runtime-policy/policy-codec.js +118 -4
- package/node_modules/@maka/core/dist/runtime-policy.js +6 -2
- package/node_modules/@maka/core/dist/scheduled-task.js +12 -2
- package/node_modules/@maka/core/dist/session-name.js +0 -1
- package/node_modules/@maka/core/dist/session-send-projection.js +2 -1
- package/node_modules/@maka/core/dist/session-start-mode.js +42 -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 +313 -52
- package/node_modules/@maka/core/dist/settings.js +27 -8
- 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 +27 -2
- package/node_modules/@maka/core/dist/tool-activity-args.js +4 -0
- package/node_modules/@maka/core/dist/tool-quiet-preview.js +20 -10
- package/node_modules/@maka/core/dist/tool-result-archive-evidence.js +22 -0
- package/node_modules/@maka/core/dist/tool-result-record-schema.js +5 -2
- 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 -30
- package/node_modules/@maka/core/dist/usage-stats/types.js +2 -0
- 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 +2175 -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 +2807 -0
- package/node_modules/@maka/core/node_modules/intl-messageformat/package.json +40 -0
- package/node_modules/@maka/core/package.json +22 -3
- package/node_modules/@maka/eval/dist/experiment-directory.js +4 -13
- package/node_modules/@maka/eval/dist/external-subject.js +1 -1
- package/node_modules/@maka/eval/dist/harbor-external-subject.js +4 -3
- package/node_modules/@maka/eval/dist/harness-executor.js +3 -2
- package/node_modules/@maka/eval/dist/install-preflight.js +39 -10
- 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 +2 -1
- 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/lib/cache/memory-cache-store.js +1 -1
- 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 +1 -1
- 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 +10 -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 +1 -1
- 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 +3 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/cache-handler.js +8 -0
- 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 +8 -0
- package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +83 -11
- package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dump.js +1 -1
- 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/web/cookies/parse.js +4 -2
- 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 +4 -1
- package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +2 -3
- 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/form-elicitation.js +213 -0
- package/node_modules/@maka/mcp/dist/index.js +465 -68
- package/node_modules/@maka/mcp/dist/sep-2243.js +3 -3
- package/node_modules/@maka/runtime/dist/agent-graph-timeline.js +12 -11
- package/node_modules/@maka/runtime/dist/agent-run-inspect.js +37 -85
- package/node_modules/@maka/runtime/dist/agent-run-recovery.js +36 -46
- package/node_modules/@maka/runtime/dist/agent-run.js +616 -468
- package/node_modules/@maka/runtime/dist/agent-swarm-status-tool.js +0 -1
- package/node_modules/@maka/runtime/dist/ai-sdk-backend.js +125 -3751
- package/node_modules/@maka/runtime/dist/ai-sdk-compaction-contract.js +6 -1
- package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +494 -521
- package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +637 -0
- package/node_modules/@maka/runtime/dist/ai-sdk-tool-repair.js +115 -0
- package/node_modules/@maka/runtime/dist/ai-sdk-turn.js +2678 -0
- package/node_modules/@maka/runtime/dist/ask-user-question-tool.js +0 -1
- 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/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 +107 -115
- 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/computer-use-codec.js +1 -141
- package/node_modules/@maka/runtime/dist/computer-use-tools.js +27 -106
- package/node_modules/@maka/runtime/dist/context-budget-helpers.js +4 -57
- 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 +22 -11
- package/node_modules/@maka/runtime/dist/conversation-copy.js +656 -188
- package/node_modules/@maka/runtime/dist/cua-frame-state.js +1 -69
- package/node_modules/@maka/runtime/dist/deep-research-tools.js +15 -24
- package/node_modules/@maka/runtime/dist/durable-tool-result-projection.js +436 -0
- package/node_modules/@maka/runtime/dist/edit-replace.js +2 -2
- package/node_modules/@maka/runtime/dist/execution-inspect.js +56 -41
- package/node_modules/@maka/runtime/dist/filesystem-executor.js +10 -6
- 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 +34 -98
- package/node_modules/@maka/runtime/dist/filesystem-worker/protocol.js +25 -10
- package/node_modules/@maka/runtime/dist/filesystem-worker/worker-entry.js +2 -0
- package/node_modules/@maka/runtime/dist/github-copilot-oauth-enrollment.js +267 -0
- package/node_modules/@maka/runtime/dist/glob-search.js +74 -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 -29
- 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 +101 -89
- package/node_modules/@maka/runtime/dist/image-file.js +5 -20
- 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 +2 -43
- package/node_modules/@maka/runtime/dist/mcp-tools.js +93 -35
- package/node_modules/@maka/runtime/dist/memory-extraction-evidence.js +7 -1
- package/node_modules/@maka/runtime/dist/memory-extraction.js +23 -18
- package/node_modules/@maka/runtime/dist/message-authority.js +9 -0
- package/node_modules/@maka/runtime/dist/model-adapter.js +103 -122
- package/node_modules/@maka/runtime/dist/model-factory.js +34 -81
- package/node_modules/@maka/runtime/dist/model-fetcher.js +64 -10
- package/node_modules/@maka/runtime/dist/model-history.js +291 -159
- package/node_modules/@maka/runtime/dist/model-projection-transition-ledger.js +207 -0
- package/node_modules/@maka/runtime/dist/model-runtime.js +87 -110
- package/node_modules/@maka/runtime/dist/native-web-search-tool.js +2 -1
- package/node_modules/@maka/runtime/dist/oauth-provider-contracts.js +28 -1
- package/node_modules/@maka/runtime/dist/openai-codex-history-compactor.js +28 -73
- package/node_modules/@maka/runtime/dist/openai-responses-websocket.js +2 -5
- package/node_modules/@maka/runtime/dist/opencode-session-header.js +31 -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-command-service.js +100 -0
- package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +184 -22
- package/node_modules/@maka/runtime/dist/plugin-data-services.js +332 -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 +84 -123
- package/node_modules/@maka/runtime/dist/provider-image-overflow-recovery.js +12 -31
- package/node_modules/@maka/runtime/dist/provider-request-telemetry.js +172 -196
- package/node_modules/@maka/runtime/dist/quiescent-session-snapshot.js +78 -0
- package/node_modules/@maka/runtime/dist/read-page.js +231 -0
- package/node_modules/@maka/runtime/dist/recovery-resolver.js +18 -14
- 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/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 +107 -65
- package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +415 -234
- package/node_modules/@maka/runtime/dist/runtime-kernel.js +518 -225
- package/node_modules/@maka/runtime/dist/runtime-ledger-repair.js +221 -448
- package/node_modules/@maka/runtime/dist/runtime-read-model.js +95 -198
- 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 +68 -21
- 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 +3 -0
- package/node_modules/@maka/runtime/dist/session-event-runtime-mapper.js +62 -21
- 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 +672 -861
- package/node_modules/@maka/runtime/dist/session-projection-helpers.js +16 -28
- package/node_modules/@maka/runtime/dist/session-recap.js +87 -15
- 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 +11 -46
- package/node_modules/@maka/runtime/dist/shell-run-tool-result.js +14 -7
- package/node_modules/@maka/runtime/dist/shell-tools.js +84 -14
- package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +64 -13
- 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-supervisor-tools.js +0 -8
- package/node_modules/@maka/runtime/dist/stream-usage-fallback-fetch.js +74 -0
- package/node_modules/@maka/runtime/dist/subagent-tools.js +2 -80
- package/node_modules/@maka/runtime/dist/subscription-credentials.js +51 -4
- package/node_modules/@maka/runtime/dist/subscription-model-fetch.js +51 -11
- 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 +93 -83
- package/node_modules/@maka/runtime/dist/terminal-run-commit.js +37 -172
- package/node_modules/@maka/runtime/dist/test-connection.js +36 -30
- 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 +85 -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 +380 -126
- 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 +12332 -4656
- package/node_modules/@maka/runtime/dist/workspace-executor.js +22 -30
- 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 +551 -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/lib/cache/memory-cache-store.js +1 -1
- 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 +1 -1
- 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 +10 -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 +1 -1
- 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 +3 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/cache-handler.js +8 -0
- 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 +8 -0
- package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +83 -11
- package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dump.js +1 -1
- 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/web/cookies/parse.js +4 -2
- 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 +4 -1
- package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/@maka/runtime/node_modules/undici/package.json +3 -3
- package/node_modules/@maka/runtime/package.json +41 -15
- package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +75 -38
- package/node_modules/@maka/runtime-host/dist/candidate-entry.js +10 -2
- package/node_modules/@maka/runtime-host/dist/candidate-launch-owner-guard.js +13 -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 +87 -3
- package/node_modules/@maka/runtime-host/dist/client/connect-or-spawn.js +13 -2
- package/node_modules/@maka/runtime-host/dist/client/connection.js +144 -51
- package/node_modules/@maka/runtime-host/dist/client/host-handoff-copy.js +238 -0
- package/node_modules/@maka/runtime-host/dist/client/host-handoff.js +309 -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/index.js +12 -8
- 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 +408 -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 +72 -7
- package/node_modules/@maka/runtime-host/dist/client/reconnecting-connection.js +11 -0
- 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-subscription.js +46 -5
- package/node_modules/@maka/runtime-host/dist/client/ssh-operator-activation.js +48 -11
- 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/control/endpoint.js +1 -3
- 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/peer-mesh-management-frame.js +14 -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/display-name.js +30 -0
- 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 +72 -73
- package/node_modules/@maka/runtime-host/dist/peer-mesh/node.js +1334 -418
- package/node_modules/@maka/runtime-host/dist/peer-mesh/owner.js +33 -68
- package/node_modules/@maka/runtime-host/dist/peer-mesh/store.js +147 -52
- 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 +4 -1
- package/node_modules/@maka/runtime-host/dist/protocol/artifact.js +11 -20
- package/node_modules/@maka/runtime-host/dist/protocol/client-capability.js +233 -41
- 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 +15 -8
- 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 +4 -0
- 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 +206 -2
- package/node_modules/@maka/runtime-host/dist/protocol/message.js +14 -9
- 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 +22 -5
- package/node_modules/@maka/runtime-host/dist/protocol/peer-mesh.js +72 -32
- package/node_modules/@maka/runtime-host/dist/protocol/plan.js +1 -0
- package/node_modules/@maka/runtime-host/dist/protocol/plugin-platform.js +559 -0
- package/node_modules/@maka/runtime-host/dist/protocol/project-catalog.js +2 -2
- package/node_modules/@maka/runtime-host/dist/protocol/runtime-policy.js +81 -26
- package/node_modules/@maka/runtime-host/dist/protocol/scheduled-task.js +19 -6
- package/node_modules/@maka/runtime-host/dist/protocol/session-bundle.js +100 -0
- package/node_modules/@maka/runtime-host/dist/protocol/session-catalog.js +1 -1
- package/node_modules/@maka/runtime-host/dist/protocol/session-collaboration.js +68 -4
- package/node_modules/@maka/runtime-host/dist/protocol/session-continuity.js +44 -23
- 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 +3 -7
- package/node_modules/@maka/runtime-host/dist/protocol/session-turns.js +29 -58
- package/node_modules/@maka/runtime-host/dist/protocol/skill-catalog.js +2 -1
- package/node_modules/@maka/runtime-host/dist/protocol/turn.js +25 -14
- package/node_modules/@maka/runtime-host/dist/protocol/usage-pricing.js +20 -2
- package/node_modules/@maka/runtime-host/dist/protocol/workhub-coordination.js +212 -75
- package/node_modules/@maka/runtime-host/dist/server/access-authority.js +87 -22
- 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 +135 -48
- 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 +10 -4
- package/node_modules/@maka/runtime-host/dist/server/candidate.js +3 -0
- 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 +1 -1
- package/node_modules/@maka/runtime-host/dist/server/client-capability-coordinator.js +282 -30
- package/node_modules/@maka/runtime-host/dist/server/client-capability-invocation-broker.js +258 -51
- 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 +10 -7
- 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 +43 -18
- package/node_modules/@maka/runtime-host/dist/server/connection-session.js +45 -14
- package/node_modules/@maka/runtime-host/dist/server/daily-review-coordinator.js +164 -82
- package/node_modules/@maka/runtime-host/dist/server/deep-research-coordinator.js +1 -1
- package/node_modules/@maka/runtime-host/dist/server/execution-artifacts.js +59 -36
- package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +1076 -176
- 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 +112 -18
- package/node_modules/@maka/runtime-host/dist/server/execution-model-composition.js +85 -73
- package/node_modules/@maka/runtime-host/dist/server/execution-service.js +49 -24
- package/node_modules/@maka/runtime-host/dist/server/extension-bundle.js +249 -0
- package/node_modules/@maka/runtime-host/dist/server/extension-package-manifest.js +262 -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 +13 -10
- package/node_modules/@maka/runtime-host/dist/server/failure-diagnostic.js +24 -0
- package/node_modules/@maka/runtime-host/dist/server/goal-coordinator.js +134 -35
- package/node_modules/@maka/runtime-host/dist/server/host-change-feed.js +11 -0
- package/node_modules/@maka/runtime-host/dist/server/host-kernel.js +163 -27
- 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 +5 -2
- 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 +131 -69
- package/node_modules/@maka/runtime-host/dist/server/hosted-execution-tool-profile.js +64 -4
- package/node_modules/@maka/runtime-host/dist/server/index.js +5 -0
- package/node_modules/@maka/runtime-host/dist/server/interaction-coordinator.js +370 -34
- 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 +173 -109
- 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 +6 -4
- package/node_modules/@maka/runtime-host/dist/server/memory-projection.js +14 -15
- package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +339 -66
- 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 +47 -125
- 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 +20 -1
- package/node_modules/@maka/runtime-host/dist/server/plan-coordinator.js +11 -5
- 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 +130 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-package-store.js +528 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-platform-coordinator.js +263 -0
- package/node_modules/@maka/runtime-host/dist/server/plugin-platform.js +1148 -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/root-admission-owner.js +32 -7
- package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +690 -188
- package/node_modules/@maka/runtime-host/dist/server/runtime-policy-coordinator.js +72 -18
- package/node_modules/@maka/runtime-host/dist/server/runtime-resource-coordinator.js +11 -8
- package/node_modules/@maka/runtime-host/dist/server/runtime-resource-projection.js +12 -18
- 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 +163 -0
- package/node_modules/@maka/runtime-host/dist/server/session-catalog-coordinator.js +247 -33
- package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +112 -48
- package/node_modules/@maka/runtime-host/dist/server/session-effect-coordinator.js +1 -1
- package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +66 -14
- package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +113 -67
- package/node_modules/@maka/runtime-host/dist/server/session-revision-graph-references.js +18 -10
- package/node_modules/@maka/runtime-host/dist/server/session-sidecar-purge.js +2 -1
- 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 +34 -5
- package/node_modules/@maka/runtime-host/dist/server/session-transcript-reader.js +404 -87
- package/node_modules/@maka/runtime-host/dist/server/session-turn-access-request-coordinator.js +43 -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 +79 -35
- package/node_modules/@maka/runtime-host/dist/server/web-fetch-tool.js +1 -1
- package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-action-gate.js +566 -37
- package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-coordinator.js +590 -131
- package/node_modules/@maka/runtime-host/dist/server/workhub-message-attachments.js +46 -0
- package/node_modules/@maka/runtime-host/dist/transport/framed-byte-stream-transport.js +4 -1
- 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 +7 -1
- package/node_modules/@maka/storage/dist/agent-run-store.js +355 -238
- package/node_modules/@maka/storage/dist/artifact-attachments.js +66 -18
- package/node_modules/@maka/storage/dist/artifact-metadata-codec.js +24 -28
- package/node_modules/@maka/storage/dist/artifact-store.js +203 -767
- package/node_modules/@maka/storage/dist/artifact-stores.js +6 -10
- package/node_modules/@maka/storage/dist/artifact-writer-lock.js +1 -1
- package/node_modules/@maka/storage/dist/atomic-file-write.js +74 -0
- package/node_modules/@maka/storage/dist/claude-code-session-adapter.js +0 -5
- package/node_modules/@maka/storage/dist/codex-session-adapter.js +298 -198
- 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 +7 -0
- package/node_modules/@maka/storage/dist/credential-store.js +15 -63
- package/node_modules/@maka/storage/dist/execution-record-codec.js +1 -22
- package/node_modules/@maka/storage/dist/execution-stores.js +38 -21
- 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 +2 -2
- package/node_modules/@maka/storage/dist/interaction-store-public.js +1 -1
- package/node_modules/@maka/storage/dist/interaction-store.js +188 -3
- package/node_modules/@maka/storage/dist/legacy-run-header.js +327 -0
- package/node_modules/@maka/storage/dist/mcp-config-store.js +10 -25
- package/node_modules/@maka/storage/dist/message-admission-store.js +3 -0
- 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/opencode-session-adapter.js +0 -4
- 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 +27 -2
- package/node_modules/@maka/storage/dist/production-session-snapshot.js +761 -0
- package/node_modules/@maka/storage/dist/project-catalog.js +8 -23
- package/node_modules/@maka/storage/dist/quiescent-session-snapshot.js +1154 -0
- package/node_modules/@maka/storage/dist/runtime-event-invariants.js +2 -2
- package/node_modules/@maka/storage/dist/runtime-event-persistence.js +6 -0
- package/node_modules/@maka/storage/dist/runtime-policy/connection-catalog-document.js +182 -62
- package/node_modules/@maka/storage/dist/runtime-policy/coordinator.js +540 -117
- package/node_modules/@maka/storage/dist/runtime-policy/document-io.js +22 -16
- 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 +148 -5
- package/node_modules/@maka/storage/dist/runtime-policy/policy-document.js +10 -4
- package/node_modules/@maka/storage/dist/runtime-policy-stores.js +7 -3
- package/node_modules/@maka/storage/dist/runtime-transcript-query.js +321 -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 +1031 -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.js +110 -115
- 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 +24 -29
- 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 +45 -2
- package/node_modules/@maka/storage/dist/sqlite-runtime-schema.js +367 -1
- package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +439 -82
- package/node_modules/@maka/storage/dist/sqlite-session-metadata-schema.js +63 -5
- package/node_modules/@maka/storage/dist/sqlite-session-metadata-store.js +493 -914
- package/node_modules/@maka/storage/dist/sqlite-usage-schema.js +200 -20
- package/node_modules/@maka/storage/dist/sqlite-usage-store.js +29 -6
- package/node_modules/@maka/storage/dist/sqlite-workflow-schema.js +5 -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 +3 -3
- package/node_modules/@maka/storage/dist/tool-result-archive-evidence.js +138 -0
- package/node_modules/@maka/storage/dist/usage-stores.js +9 -3
- package/node_modules/@maka/storage/dist/work-board-store.js +4 -4
- 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 +8 -2
- 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/@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 +2 -2
- 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/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 +1853 -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 +1459 -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/lib/cache/memory-cache-store.js +1 -1
- package/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +1 -1
- 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 +10 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +1 -1
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +3 -1
- package/node_modules/undici/lib/handler/cache-handler.js +8 -0
- 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 +8 -0
- package/node_modules/undici/lib/handler/retry-handler.js +83 -11
- package/node_modules/undici/lib/interceptor/dump.js +1 -1
- 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/web/cookies/parse.js +4 -2
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +4 -1
- package/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/undici/package.json +3 -3
- package/node_modules/zod/README.md +27 -0
- package/node_modules/zod/compile.cjs +77 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +2 -2
- package/node_modules/zod/index.js +5 -2
- package/node_modules/zod/package.json +13 -2
- package/node_modules/zod/v3/ZodError.cjs +22 -12
- package/node_modules/zod/v3/ZodError.js +22 -12
- package/node_modules/zod/v3/types.cjs +7 -5
- package/node_modules/zod/v3/types.js +7 -5
- package/node_modules/zod/v4/classic/checks.cjs +2 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +43 -34
- package/node_modules/zod/v4/classic/errors.js +43 -34
- package/node_modules/zod/v4/classic/external.cjs +30 -27
- package/node_modules/zod/v4/classic/external.js +5 -8
- package/node_modules/zod/v4/classic/from-json-schema.cjs +136 -75
- package/node_modules/zod/v4/classic/from-json-schema.js +136 -75
- package/node_modules/zod/v4/classic/in-out.cjs +63 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +2 -2
- package/node_modules/zod/v4/classic/index.js +2 -2
- package/node_modules/zod/v4/classic/iso.cjs +11 -22
- package/node_modules/zod/v4/classic/iso.js +2 -17
- package/node_modules/zod/v4/classic/parse.cjs +4 -1
- package/node_modules/zod/v4/classic/parse.js +1 -0
- package/node_modules/zod/v4/classic/schemas.cjs +498 -398
- package/node_modules/zod/v4/classic/schemas.js +492 -396
- package/node_modules/zod/v4/core/api.cjs +23 -4
- package/node_modules/zod/v4/core/api.js +21 -4
- package/node_modules/zod/v4/core/checks.cjs +37 -31
- package/node_modules/zod/v4/core/checks.js +37 -31
- package/node_modules/zod/v4/core/compile.cjs +1813 -0
- package/node_modules/zod/v4/core/compile.js +1783 -0
- package/node_modules/zod/v4/core/core.cjs +81 -18
- package/node_modules/zod/v4/core/core.js +82 -19
- package/node_modules/zod/v4/core/doc.cjs +5 -7
- package/node_modules/zod/v4/core/doc.js +5 -7
- package/node_modules/zod/v4/core/errors.cjs +110 -25
- package/node_modules/zod/v4/core/errors.js +110 -25
- package/node_modules/zod/v4/core/index.cjs +5 -1
- package/node_modules/zod/v4/core/index.js +3 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +4 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +4 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +264 -95
- package/node_modules/zod/v4/core/json-schema-processors.js +243 -97
- package/node_modules/zod/v4/core/memoizer.cjs +268 -0
- package/node_modules/zod/v4/core/memoizer.js +261 -0
- package/node_modules/zod/v4/core/parse.cjs +96 -34
- package/node_modules/zod/v4/core/parse.js +94 -33
- package/node_modules/zod/v4/core/regexes.cjs +27 -15
- package/node_modules/zod/v4/core/regexes.js +24 -13
- package/node_modules/zod/v4/core/registries.js +2 -2
- package/node_modules/zod/v4/core/schemas.cjs +537 -326
- package/node_modules/zod/v4/core/schemas.js +526 -325
- package/node_modules/zod/v4/core/to-json-schema.cjs +242 -39
- package/node_modules/zod/v4/core/to-json-schema.js +241 -39
- package/node_modules/zod/v4/core/util.cjs +212 -31
- package/node_modules/zod/v4/core/util.js +202 -30
- package/node_modules/zod/v4/core/versions.cjs +2 -2
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +195 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +15 -5
- package/node_modules/zod/v4/index.js +3 -2
- package/node_modules/zod/v4/locales/ar.cjs +3 -0
- package/node_modules/zod/v4/locales/ar.js +3 -0
- package/node_modules/zod/v4/locales/az.cjs +3 -0
- package/node_modules/zod/v4/locales/az.js +3 -0
- package/node_modules/zod/v4/locales/be.cjs +10 -0
- package/node_modules/zod/v4/locales/be.js +10 -0
- package/node_modules/zod/v4/locales/bg.cjs +3 -0
- package/node_modules/zod/v4/locales/bg.js +3 -0
- package/node_modules/zod/v4/locales/bn.cjs +138 -0
- package/node_modules/zod/v4/locales/bn.js +111 -0
- package/node_modules/zod/v4/locales/ca.cjs +3 -0
- package/node_modules/zod/v4/locales/ca.js +3 -0
- package/node_modules/zod/v4/locales/ckb.cjs +158 -0
- package/node_modules/zod/v4/locales/ckb.js +131 -0
- package/node_modules/zod/v4/locales/cs.cjs +3 -0
- package/node_modules/zod/v4/locales/cs.js +3 -0
- package/node_modules/zod/v4/locales/da.cjs +5 -2
- package/node_modules/zod/v4/locales/da.js +5 -2
- package/node_modules/zod/v4/locales/de.cjs +3 -0
- package/node_modules/zod/v4/locales/de.js +3 -0
- package/node_modules/zod/v4/locales/el.cjs +1 -0
- package/node_modules/zod/v4/locales/el.js +1 -0
- package/node_modules/zod/v4/locales/en.cjs +14 -4
- package/node_modules/zod/v4/locales/en.js +14 -4
- package/node_modules/zod/v4/locales/eo.cjs +3 -0
- package/node_modules/zod/v4/locales/eo.js +3 -0
- package/node_modules/zod/v4/locales/es.cjs +2 -0
- package/node_modules/zod/v4/locales/es.js +2 -0
- package/node_modules/zod/v4/locales/fa.cjs +3 -0
- package/node_modules/zod/v4/locales/fa.js +3 -0
- package/node_modules/zod/v4/locales/fi.cjs +3 -0
- package/node_modules/zod/v4/locales/fi.js +3 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +3 -0
- package/node_modules/zod/v4/locales/fr-CA.js +3 -0
- package/node_modules/zod/v4/locales/fr.cjs +16 -14
- package/node_modules/zod/v4/locales/fr.js +16 -14
- package/node_modules/zod/v4/locales/gu.cjs +138 -0
- package/node_modules/zod/v4/locales/gu.js +111 -0
- package/node_modules/zod/v4/locales/he.cjs +5 -0
- package/node_modules/zod/v4/locales/he.js +5 -0
- package/node_modules/zod/v4/locales/hi.cjs +136 -0
- package/node_modules/zod/v4/locales/hi.js +109 -0
- package/node_modules/zod/v4/locales/hr.cjs +2 -0
- package/node_modules/zod/v4/locales/hr.js +2 -0
- package/node_modules/zod/v4/locales/hu.cjs +3 -0
- package/node_modules/zod/v4/locales/hu.js +3 -0
- package/node_modules/zod/v4/locales/hy.cjs +9 -0
- package/node_modules/zod/v4/locales/hy.js +9 -0
- package/node_modules/zod/v4/locales/id.cjs +3 -0
- package/node_modules/zod/v4/locales/id.js +3 -0
- package/node_modules/zod/v4/locales/index.cjs +22 -2
- package/node_modules/zod/v4/locales/index.js +10 -0
- package/node_modules/zod/v4/locales/is.cjs +3 -0
- package/node_modules/zod/v4/locales/is.js +3 -0
- package/node_modules/zod/v4/locales/it.cjs +3 -0
- package/node_modules/zod/v4/locales/it.js +3 -0
- package/node_modules/zod/v4/locales/ja.cjs +3 -0
- package/node_modules/zod/v4/locales/ja.js +3 -0
- package/node_modules/zod/v4/locales/ka.cjs +3 -0
- package/node_modules/zod/v4/locales/ka.js +3 -0
- package/node_modules/zod/v4/locales/km.cjs +3 -0
- package/node_modules/zod/v4/locales/km.js +3 -0
- package/node_modules/zod/v4/locales/kn.cjs +141 -0
- package/node_modules/zod/v4/locales/kn.js +114 -0
- package/node_modules/zod/v4/locales/ko.cjs +3 -0
- package/node_modules/zod/v4/locales/ko.js +3 -0
- package/node_modules/zod/v4/locales/lt.cjs +2 -0
- package/node_modules/zod/v4/locales/lt.js +2 -0
- package/node_modules/zod/v4/locales/mk.cjs +3 -0
- package/node_modules/zod/v4/locales/mk.js +3 -0
- package/node_modules/zod/v4/locales/ms.cjs +3 -0
- package/node_modules/zod/v4/locales/ms.js +3 -0
- package/node_modules/zod/v4/locales/ne.cjs +136 -0
- package/node_modules/zod/v4/locales/ne.js +109 -0
- package/node_modules/zod/v4/locales/nl.cjs +3 -0
- package/node_modules/zod/v4/locales/nl.js +3 -0
- package/node_modules/zod/v4/locales/nn.cjs +138 -0
- package/node_modules/zod/v4/locales/nn.js +111 -0
- package/node_modules/zod/v4/locales/no.cjs +5 -2
- package/node_modules/zod/v4/locales/no.js +5 -2
- package/node_modules/zod/v4/locales/ota.cjs +3 -0
- package/node_modules/zod/v4/locales/ota.js +3 -0
- package/node_modules/zod/v4/locales/pl.cjs +3 -0
- package/node_modules/zod/v4/locales/pl.js +3 -0
- package/node_modules/zod/v4/locales/ps.cjs +3 -0
- package/node_modules/zod/v4/locales/ps.js +3 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
- package/node_modules/zod/v4/locales/pt-BR.js +141 -0
- package/node_modules/zod/v4/locales/pt.cjs +87 -55
- package/node_modules/zod/v4/locales/pt.js +87 -55
- package/node_modules/zod/v4/locales/ro.cjs +1 -0
- package/node_modules/zod/v4/locales/ro.js +1 -0
- package/node_modules/zod/v4/locales/ru.cjs +10 -0
- package/node_modules/zod/v4/locales/ru.js +10 -0
- package/node_modules/zod/v4/locales/sk.cjs +141 -0
- package/node_modules/zod/v4/locales/sk.js +114 -0
- package/node_modules/zod/v4/locales/sl.cjs +3 -0
- package/node_modules/zod/v4/locales/sl.js +3 -0
- package/node_modules/zod/v4/locales/sv.cjs +5 -2
- package/node_modules/zod/v4/locales/sv.js +5 -2
- package/node_modules/zod/v4/locales/ta.cjs +3 -0
- package/node_modules/zod/v4/locales/ta.js +3 -0
- package/node_modules/zod/v4/locales/th.cjs +3 -0
- package/node_modules/zod/v4/locales/th.js +3 -0
- package/node_modules/zod/v4/locales/tk.cjs +132 -0
- package/node_modules/zod/v4/locales/tk.js +105 -0
- package/node_modules/zod/v4/locales/tr.cjs +3 -0
- package/node_modules/zod/v4/locales/tr.js +3 -0
- package/node_modules/zod/v4/locales/uk.cjs +3 -0
- package/node_modules/zod/v4/locales/uk.js +3 -0
- package/node_modules/zod/v4/locales/ur.cjs +3 -0
- package/node_modules/zod/v4/locales/ur.js +3 -0
- package/node_modules/zod/v4/locales/uz.cjs +1 -0
- package/node_modules/zod/v4/locales/uz.js +1 -0
- package/node_modules/zod/v4/locales/vi.cjs +3 -0
- package/node_modules/zod/v4/locales/vi.js +3 -0
- package/node_modules/zod/v4/locales/yo.cjs +3 -0
- package/node_modules/zod/v4/locales/yo.js +3 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +3 -0
- package/node_modules/zod/v4/locales/zh-CN.js +3 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +3 -0
- package/node_modules/zod/v4/locales/zh-TW.js +3 -0
- package/node_modules/zod/v4/mini/checks.cjs +2 -1
- package/node_modules/zod/v4/mini/checks.js +1 -1
- package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +12 -1
- package/node_modules/zod/v4/mini/external.js +3 -1
- package/node_modules/zod/v4/mini/in-out.cjs +63 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/parse.cjs +3 -1
- package/node_modules/zod/v4/mini/parse.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +75 -47
- package/node_modules/zod/v4/mini/schemas.js +71 -45
- package/package.json +3 -4
- 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/task-ledger.js +0 -797
- 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/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/task-ledger.js +0 -321
- package/node_modules/@maka/runtime-host/dist/server/task-ledger-coordinator.js +0 -154
- package/node_modules/@maka/storage/dist/artifact-metadata-repository.js +0 -19
- package/node_modules/@maka/storage/dist/artifact-storage-layout.js +0 -26
- 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/packages/eval/dist/attempt-store.js +0 -138
- package/packages/eval/dist/cli.js +0 -119
- package/packages/eval/dist/experiment-directory.js +0 -59
- package/packages/eval/dist/experiment.js +0 -49
- package/packages/eval/dist/external-subject.js +0 -488
- package/packages/eval/dist/harbor-external-subject.js +0 -929
- package/packages/eval/dist/harbor-maka-subject.js +0 -83
- package/packages/eval/dist/harness-environment.js +0 -80
- package/packages/eval/dist/harness-executor.js +0 -1013
- package/packages/eval/dist/index.js +0 -28
- package/packages/eval/dist/install-preflight.js +0 -201
- package/packages/eval/dist/maka-artifacts.js +0 -126
- package/packages/eval/dist/maka-runtime-policy.js +0 -42
- package/packages/eval/dist/maka-subject.js +0 -268
- package/packages/eval/dist/metering-checkpoint.js +0 -80
- package/packages/eval/dist/provider-admission.js +0 -39
- package/packages/eval/dist/provider-metering.js +0 -67
- package/packages/eval/dist/provider-web-tool-surface.js +0 -74
- package/packages/eval/dist/relay-result-frame.js +0 -38
- package/packages/eval/dist/result.js +0 -94
- package/packages/eval/dist/runner.js +0 -290
- package/packages/eval/dist/spec.js +0 -135
- package/packages/eval/dist/toolchain-verification.js +0 -130
- package/packages/eval/harbor/deepseek-codex-models.json +0 -69
- package/packages/eval/harbor/deepseek-harness-profile/cordis.patch.yml +0 -140
- package/packages/eval/harbor/deepseek-harness-profile/cordis.yml +0 -18
- package/packages/eval/harbor/deepseek-harness-profile/package.json +0 -10
- package/packages/eval/harbor/docker-compose-egress-proxy.yaml +0 -57
- package/packages/eval/harbor/egress-proxy/Dockerfile +0 -25
- package/packages/eval/harbor/egress-proxy/entrypoint.sh +0 -62
- package/packages/eval/harbor/egress-proxy/network-policy +0 -148
- package/packages/eval/harbor/egress_filter.py +0 -435
- package/packages/eval/harbor/eval_framework.py +0 -40
- package/packages/eval/harbor/relay_agent.py +0 -686
- package/packages/eval/harbor/run_trial.py +0 -223
- package/packages/eval/package.json +0 -20
- /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/{@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
|
@@ -0,0 +1,2807 @@
|
|
|
1
|
+
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
2
|
+
function memoize(fn, options) {
|
|
3
|
+
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
4
|
+
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
5
|
+
return (options && options.strategy ? options.strategy : strategyDefault)(fn, {
|
|
6
|
+
cache,
|
|
7
|
+
serializer
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function isPrimitive(value) {
|
|
11
|
+
return value == null || typeof value === "number" || typeof value === "boolean";
|
|
12
|
+
}
|
|
13
|
+
function monadic(fn, cache, serializer, arg) {
|
|
14
|
+
const cacheKey = isPrimitive(arg) ? arg : serializer(arg);
|
|
15
|
+
let computedValue = cache.get(cacheKey);
|
|
16
|
+
if (typeof computedValue === "undefined") {
|
|
17
|
+
computedValue = fn.call(this, arg);
|
|
18
|
+
cache.set(cacheKey, computedValue);
|
|
19
|
+
}
|
|
20
|
+
return computedValue;
|
|
21
|
+
}
|
|
22
|
+
function variadic(fn, cache, serializer) {
|
|
23
|
+
const args = Array.prototype.slice.call(arguments, 3);
|
|
24
|
+
const cacheKey = serializer(args);
|
|
25
|
+
let computedValue = cache.get(cacheKey);
|
|
26
|
+
if (typeof computedValue === "undefined") {
|
|
27
|
+
computedValue = fn.apply(this, args);
|
|
28
|
+
cache.set(cacheKey, computedValue);
|
|
29
|
+
}
|
|
30
|
+
return computedValue;
|
|
31
|
+
}
|
|
32
|
+
function assemble(fn, context, strategy, cache, serialize) {
|
|
33
|
+
return strategy.bind(context, fn, cache, serialize);
|
|
34
|
+
}
|
|
35
|
+
function strategyDefault(fn, options) {
|
|
36
|
+
const strategy = fn.length === 1 ? monadic : variadic;
|
|
37
|
+
return assemble(fn, this, strategy, options.cache.create(), options.serializer);
|
|
38
|
+
}
|
|
39
|
+
function strategyVariadic(fn, options) {
|
|
40
|
+
return assemble(fn, this, variadic, options.cache.create(), options.serializer);
|
|
41
|
+
}
|
|
42
|
+
function strategyMonadic(fn, options) {
|
|
43
|
+
return assemble(fn, this, monadic, options.cache.create(), options.serializer);
|
|
44
|
+
}
|
|
45
|
+
const serializerDefault = function() {
|
|
46
|
+
return JSON.stringify(arguments);
|
|
47
|
+
};
|
|
48
|
+
var ObjectWithoutPrototypeCache = class {
|
|
49
|
+
constructor() {
|
|
50
|
+
this.cache = Object.create(null);
|
|
51
|
+
}
|
|
52
|
+
get(key) {
|
|
53
|
+
return this.cache[key];
|
|
54
|
+
}
|
|
55
|
+
set(key, value) {
|
|
56
|
+
this.cache[key] = value;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const cacheDefault = { create: function create() {
|
|
60
|
+
return new ObjectWithoutPrototypeCache();
|
|
61
|
+
} };
|
|
62
|
+
const strategies = {
|
|
63
|
+
variadic: strategyVariadic,
|
|
64
|
+
monadic: strategyMonadic
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/index.js
|
|
68
|
+
/**
|
|
69
|
+
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
70
|
+
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
71
|
+
* with some tweaks
|
|
72
|
+
*/
|
|
73
|
+
const DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
74
|
+
/**
|
|
75
|
+
* Parse Date time skeleton into Intl.DateTimeFormatOptions
|
|
76
|
+
* Ref: https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
77
|
+
* @public
|
|
78
|
+
* @param skeleton skeleton string
|
|
79
|
+
*/
|
|
80
|
+
function parseDateTimeSkeleton(skeleton) {
|
|
81
|
+
const result = {};
|
|
82
|
+
skeleton.replace(DATE_TIME_REGEX, (match) => {
|
|
83
|
+
const len = match.length;
|
|
84
|
+
switch (match[0]) {
|
|
85
|
+
case "G":
|
|
86
|
+
result.era = len === 4 ? "long" : len === 5 ? "narrow" : "short";
|
|
87
|
+
break;
|
|
88
|
+
case "y":
|
|
89
|
+
result.year = len === 2 ? "2-digit" : "numeric";
|
|
90
|
+
break;
|
|
91
|
+
case "Y":
|
|
92
|
+
case "u":
|
|
93
|
+
case "U":
|
|
94
|
+
case "r": throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
|
95
|
+
case "q":
|
|
96
|
+
case "Q": throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
97
|
+
case "M":
|
|
98
|
+
case "L":
|
|
99
|
+
result.month = [
|
|
100
|
+
"numeric",
|
|
101
|
+
"2-digit",
|
|
102
|
+
"short",
|
|
103
|
+
"long",
|
|
104
|
+
"narrow"
|
|
105
|
+
][len - 1];
|
|
106
|
+
break;
|
|
107
|
+
case "w":
|
|
108
|
+
case "W": throw new RangeError("`w/W` (week) patterns are not supported");
|
|
109
|
+
case "d":
|
|
110
|
+
result.day = ["numeric", "2-digit"][len - 1];
|
|
111
|
+
break;
|
|
112
|
+
case "D":
|
|
113
|
+
case "F":
|
|
114
|
+
case "g": throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
115
|
+
case "E":
|
|
116
|
+
result.weekday = len === 4 ? "long" : len === 5 ? "narrow" : "short";
|
|
117
|
+
break;
|
|
118
|
+
case "e":
|
|
119
|
+
if (len < 4) throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
120
|
+
result.weekday = [
|
|
121
|
+
"short",
|
|
122
|
+
"long",
|
|
123
|
+
"narrow",
|
|
124
|
+
"short"
|
|
125
|
+
][len - 3];
|
|
126
|
+
break;
|
|
127
|
+
case "c":
|
|
128
|
+
if (len < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
129
|
+
result.weekday = [
|
|
130
|
+
"short",
|
|
131
|
+
"long",
|
|
132
|
+
"narrow",
|
|
133
|
+
"short"
|
|
134
|
+
][len - 3];
|
|
135
|
+
break;
|
|
136
|
+
case "a":
|
|
137
|
+
result.hour12 = true;
|
|
138
|
+
break;
|
|
139
|
+
case "b":
|
|
140
|
+
case "B": throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
141
|
+
case "h":
|
|
142
|
+
result.hourCycle = "h12";
|
|
143
|
+
result.hour = ["numeric", "2-digit"][len - 1];
|
|
144
|
+
break;
|
|
145
|
+
case "H":
|
|
146
|
+
result.hourCycle = "h23";
|
|
147
|
+
result.hour = ["numeric", "2-digit"][len - 1];
|
|
148
|
+
break;
|
|
149
|
+
case "K":
|
|
150
|
+
result.hourCycle = "h11";
|
|
151
|
+
result.hour = ["numeric", "2-digit"][len - 1];
|
|
152
|
+
break;
|
|
153
|
+
case "k":
|
|
154
|
+
result.hourCycle = "h24";
|
|
155
|
+
result.hour = ["numeric", "2-digit"][len - 1];
|
|
156
|
+
break;
|
|
157
|
+
case "j":
|
|
158
|
+
case "J":
|
|
159
|
+
case "C": throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
160
|
+
case "m":
|
|
161
|
+
result.minute = ["numeric", "2-digit"][len - 1];
|
|
162
|
+
break;
|
|
163
|
+
case "s":
|
|
164
|
+
result.second = ["numeric", "2-digit"][len - 1];
|
|
165
|
+
break;
|
|
166
|
+
case "S":
|
|
167
|
+
case "A": throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
168
|
+
case "z":
|
|
169
|
+
result.timeZoneName = len < 4 ? "short" : "long";
|
|
170
|
+
break;
|
|
171
|
+
case "Z":
|
|
172
|
+
case "O":
|
|
173
|
+
case "v":
|
|
174
|
+
case "V":
|
|
175
|
+
case "X":
|
|
176
|
+
case "x": throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
|
177
|
+
}
|
|
178
|
+
return "";
|
|
179
|
+
});
|
|
180
|
+
return result;
|
|
181
|
+
}
|
|
182
|
+
const WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
183
|
+
function parseNumberSkeletonFromString(skeleton) {
|
|
184
|
+
if (skeleton.length === 0) throw new Error("Number skeleton cannot be empty");
|
|
185
|
+
const stringTokens = skeleton.split(WHITE_SPACE_REGEX).filter((x) => x.length > 0);
|
|
186
|
+
const tokens = [];
|
|
187
|
+
for (const stringToken of stringTokens) {
|
|
188
|
+
let stemAndOptions = stringToken.split("/");
|
|
189
|
+
if (stemAndOptions.length === 0) throw new Error("Invalid number skeleton");
|
|
190
|
+
const [stem, ...options] = stemAndOptions;
|
|
191
|
+
for (const option of options) if (option.length === 0) throw new Error("Invalid number skeleton");
|
|
192
|
+
tokens.push({
|
|
193
|
+
stem,
|
|
194
|
+
options
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
return tokens;
|
|
198
|
+
}
|
|
199
|
+
function icuUnitToEcma(unit) {
|
|
200
|
+
return unit.replace(/^(.*?)-/, "");
|
|
201
|
+
}
|
|
202
|
+
const FRACTION_PRECISION_REGEX = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;
|
|
203
|
+
const SIGNIFICANT_PRECISION_REGEX = /^(@+)?(\+|#+)?[rs]?$/g;
|
|
204
|
+
const INTEGER_WIDTH_REGEX = /(\*)(0+)|(#+)(0+)|(0+)/g;
|
|
205
|
+
const CONCISE_INTEGER_WIDTH_REGEX = /^(0+)$/;
|
|
206
|
+
function parseSignificantPrecision(str) {
|
|
207
|
+
const result = {};
|
|
208
|
+
if (str[str.length - 1] === "r") result.roundingPriority = "morePrecision";
|
|
209
|
+
else if (str[str.length - 1] === "s") result.roundingPriority = "lessPrecision";
|
|
210
|
+
str.replace(SIGNIFICANT_PRECISION_REGEX, function(_, g1, g2) {
|
|
211
|
+
if (typeof g2 !== "string") {
|
|
212
|
+
result.minimumSignificantDigits = g1.length;
|
|
213
|
+
result.maximumSignificantDigits = g1.length;
|
|
214
|
+
} else if (g2 === "+") result.minimumSignificantDigits = g1.length;
|
|
215
|
+
else if (g1[0] === "#") result.maximumSignificantDigits = g1.length;
|
|
216
|
+
else {
|
|
217
|
+
result.minimumSignificantDigits = g1.length;
|
|
218
|
+
result.maximumSignificantDigits = g1.length + (typeof g2 === "string" ? g2.length : 0);
|
|
219
|
+
}
|
|
220
|
+
return "";
|
|
221
|
+
});
|
|
222
|
+
return result;
|
|
223
|
+
}
|
|
224
|
+
function parseSign(str) {
|
|
225
|
+
switch (str) {
|
|
226
|
+
case "sign-auto": return { signDisplay: "auto" };
|
|
227
|
+
case "sign-accounting":
|
|
228
|
+
case "()": return { currencySign: "accounting" };
|
|
229
|
+
case "sign-always":
|
|
230
|
+
case "+!": return { signDisplay: "always" };
|
|
231
|
+
case "sign-accounting-always":
|
|
232
|
+
case "()!": return {
|
|
233
|
+
signDisplay: "always",
|
|
234
|
+
currencySign: "accounting"
|
|
235
|
+
};
|
|
236
|
+
case "sign-except-zero":
|
|
237
|
+
case "+?": return { signDisplay: "exceptZero" };
|
|
238
|
+
case "sign-accounting-except-zero":
|
|
239
|
+
case "()?": return {
|
|
240
|
+
signDisplay: "exceptZero",
|
|
241
|
+
currencySign: "accounting"
|
|
242
|
+
};
|
|
243
|
+
case "sign-never":
|
|
244
|
+
case "+_": return { signDisplay: "never" };
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function parseConciseScientificAndEngineeringStem(stem) {
|
|
248
|
+
let result;
|
|
249
|
+
if (stem[0] === "E" && stem[1] === "E") {
|
|
250
|
+
result = { notation: "engineering" };
|
|
251
|
+
stem = stem.slice(2);
|
|
252
|
+
} else if (stem[0] === "E") {
|
|
253
|
+
result = { notation: "scientific" };
|
|
254
|
+
stem = stem.slice(1);
|
|
255
|
+
}
|
|
256
|
+
if (result) {
|
|
257
|
+
const signDisplay = stem.slice(0, 2);
|
|
258
|
+
if (signDisplay === "+!") {
|
|
259
|
+
result.signDisplay = "always";
|
|
260
|
+
stem = stem.slice(2);
|
|
261
|
+
} else if (signDisplay === "+?") {
|
|
262
|
+
result.signDisplay = "exceptZero";
|
|
263
|
+
stem = stem.slice(2);
|
|
264
|
+
}
|
|
265
|
+
if (!CONCISE_INTEGER_WIDTH_REGEX.test(stem)) throw new Error("Malformed concise eng/scientific notation");
|
|
266
|
+
result.minimumIntegerDigits = stem.length;
|
|
267
|
+
}
|
|
268
|
+
return result;
|
|
269
|
+
}
|
|
270
|
+
function parseNotationOptions(opt) {
|
|
271
|
+
const result = {};
|
|
272
|
+
const signOpts = parseSign(opt);
|
|
273
|
+
if (signOpts) return signOpts;
|
|
274
|
+
return result;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
|
278
|
+
*/
|
|
279
|
+
function parseNumberSkeleton(tokens) {
|
|
280
|
+
let result = {};
|
|
281
|
+
for (const token of tokens) {
|
|
282
|
+
switch (token.stem) {
|
|
283
|
+
case "percent":
|
|
284
|
+
case "%":
|
|
285
|
+
result.style = "percent";
|
|
286
|
+
continue;
|
|
287
|
+
case "%x100":
|
|
288
|
+
result.style = "percent";
|
|
289
|
+
result.scale = 100;
|
|
290
|
+
continue;
|
|
291
|
+
case "currency":
|
|
292
|
+
result.style = "currency";
|
|
293
|
+
result.currency = token.options[0];
|
|
294
|
+
continue;
|
|
295
|
+
case "group-off":
|
|
296
|
+
case ",_":
|
|
297
|
+
result.useGrouping = false;
|
|
298
|
+
continue;
|
|
299
|
+
case "precision-integer":
|
|
300
|
+
case ".":
|
|
301
|
+
result.maximumFractionDigits = 0;
|
|
302
|
+
continue;
|
|
303
|
+
case "measure-unit":
|
|
304
|
+
case "unit":
|
|
305
|
+
result.style = "unit";
|
|
306
|
+
result.unit = icuUnitToEcma(token.options[0]);
|
|
307
|
+
continue;
|
|
308
|
+
case "compact-short":
|
|
309
|
+
case "K":
|
|
310
|
+
result.notation = "compact";
|
|
311
|
+
result.compactDisplay = "short";
|
|
312
|
+
continue;
|
|
313
|
+
case "compact-long":
|
|
314
|
+
case "KK":
|
|
315
|
+
result.notation = "compact";
|
|
316
|
+
result.compactDisplay = "long";
|
|
317
|
+
continue;
|
|
318
|
+
case "scientific":
|
|
319
|
+
result = {
|
|
320
|
+
...result,
|
|
321
|
+
notation: "scientific",
|
|
322
|
+
...token.options.reduce((all, opt) => ({
|
|
323
|
+
...all,
|
|
324
|
+
...parseNotationOptions(opt)
|
|
325
|
+
}), {})
|
|
326
|
+
};
|
|
327
|
+
continue;
|
|
328
|
+
case "engineering":
|
|
329
|
+
result = {
|
|
330
|
+
...result,
|
|
331
|
+
notation: "engineering",
|
|
332
|
+
...token.options.reduce((all, opt) => ({
|
|
333
|
+
...all,
|
|
334
|
+
...parseNotationOptions(opt)
|
|
335
|
+
}), {})
|
|
336
|
+
};
|
|
337
|
+
continue;
|
|
338
|
+
case "notation-simple":
|
|
339
|
+
result.notation = "standard";
|
|
340
|
+
continue;
|
|
341
|
+
case "unit-width-narrow":
|
|
342
|
+
result.currencyDisplay = "narrowSymbol";
|
|
343
|
+
result.unitDisplay = "narrow";
|
|
344
|
+
continue;
|
|
345
|
+
case "unit-width-short":
|
|
346
|
+
result.currencyDisplay = "code";
|
|
347
|
+
result.unitDisplay = "short";
|
|
348
|
+
continue;
|
|
349
|
+
case "unit-width-full-name":
|
|
350
|
+
result.currencyDisplay = "name";
|
|
351
|
+
result.unitDisplay = "long";
|
|
352
|
+
continue;
|
|
353
|
+
case "unit-width-iso-code":
|
|
354
|
+
result.currencyDisplay = "symbol";
|
|
355
|
+
continue;
|
|
356
|
+
case "scale":
|
|
357
|
+
result.scale = parseFloat(token.options[0]);
|
|
358
|
+
continue;
|
|
359
|
+
case "rounding-mode-floor":
|
|
360
|
+
result.roundingMode = "floor";
|
|
361
|
+
continue;
|
|
362
|
+
case "rounding-mode-ceiling":
|
|
363
|
+
result.roundingMode = "ceil";
|
|
364
|
+
continue;
|
|
365
|
+
case "rounding-mode-down":
|
|
366
|
+
result.roundingMode = "trunc";
|
|
367
|
+
continue;
|
|
368
|
+
case "rounding-mode-up":
|
|
369
|
+
result.roundingMode = "expand";
|
|
370
|
+
continue;
|
|
371
|
+
case "rounding-mode-half-even":
|
|
372
|
+
result.roundingMode = "halfEven";
|
|
373
|
+
continue;
|
|
374
|
+
case "rounding-mode-half-down":
|
|
375
|
+
result.roundingMode = "halfTrunc";
|
|
376
|
+
continue;
|
|
377
|
+
case "rounding-mode-half-up":
|
|
378
|
+
result.roundingMode = "halfExpand";
|
|
379
|
+
continue;
|
|
380
|
+
case "integer-width":
|
|
381
|
+
if (token.options.length > 1) throw new RangeError("integer-width stems only accept a single optional option");
|
|
382
|
+
token.options[0].replace(INTEGER_WIDTH_REGEX, function(_, g1, g2, g3, g4, g5) {
|
|
383
|
+
if (g1) result.minimumIntegerDigits = g2.length;
|
|
384
|
+
else if (g3 && g4) throw new Error("We currently do not support maximum integer digits");
|
|
385
|
+
else if (g5) throw new Error("We currently do not support exact integer digits");
|
|
386
|
+
return "";
|
|
387
|
+
});
|
|
388
|
+
continue;
|
|
389
|
+
}
|
|
390
|
+
if (CONCISE_INTEGER_WIDTH_REGEX.test(token.stem)) {
|
|
391
|
+
result.minimumIntegerDigits = token.stem.length;
|
|
392
|
+
continue;
|
|
393
|
+
}
|
|
394
|
+
if (FRACTION_PRECISION_REGEX.test(token.stem)) {
|
|
395
|
+
if (token.options.length > 1) throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
396
|
+
token.stem.replace(FRACTION_PRECISION_REGEX, function(_, g1, g2, g3, g4, g5) {
|
|
397
|
+
if (g2 === "*") result.minimumFractionDigits = g1.length;
|
|
398
|
+
else if (g3 && g3[0] === "#") result.maximumFractionDigits = g3.length;
|
|
399
|
+
else if (g4 && g5) {
|
|
400
|
+
result.minimumFractionDigits = g4.length;
|
|
401
|
+
result.maximumFractionDigits = g4.length + g5.length;
|
|
402
|
+
} else {
|
|
403
|
+
result.minimumFractionDigits = g1.length;
|
|
404
|
+
result.maximumFractionDigits = g1.length;
|
|
405
|
+
}
|
|
406
|
+
return "";
|
|
407
|
+
});
|
|
408
|
+
const opt = token.options[0];
|
|
409
|
+
if (opt === "w") result = {
|
|
410
|
+
...result,
|
|
411
|
+
trailingZeroDisplay: "stripIfInteger"
|
|
412
|
+
};
|
|
413
|
+
else if (opt) result = {
|
|
414
|
+
...result,
|
|
415
|
+
...parseSignificantPrecision(opt)
|
|
416
|
+
};
|
|
417
|
+
continue;
|
|
418
|
+
}
|
|
419
|
+
if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {
|
|
420
|
+
result = {
|
|
421
|
+
...result,
|
|
422
|
+
...parseSignificantPrecision(token.stem)
|
|
423
|
+
};
|
|
424
|
+
continue;
|
|
425
|
+
}
|
|
426
|
+
const signOpts = parseSign(token.stem);
|
|
427
|
+
if (signOpts) result = {
|
|
428
|
+
...result,
|
|
429
|
+
...signOpts
|
|
430
|
+
};
|
|
431
|
+
const conciseScientificAndEngineeringOpts = parseConciseScientificAndEngineeringStem(token.stem);
|
|
432
|
+
if (conciseScientificAndEngineeringOpts) result = {
|
|
433
|
+
...result,
|
|
434
|
+
...conciseScientificAndEngineeringOpts
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
return result;
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/index.js
|
|
441
|
+
let ErrorKind = /* @__PURE__ */ function(ErrorKind) {
|
|
442
|
+
/** Argument is unclosed (e.g. `{0`) */
|
|
443
|
+
ErrorKind[ErrorKind["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
|
|
444
|
+
/** Argument is empty (e.g. `{}`). */
|
|
445
|
+
ErrorKind[ErrorKind["EMPTY_ARGUMENT"] = 2] = "EMPTY_ARGUMENT";
|
|
446
|
+
/** Argument is malformed (e.g. `{foo!}``) */
|
|
447
|
+
ErrorKind[ErrorKind["MALFORMED_ARGUMENT"] = 3] = "MALFORMED_ARGUMENT";
|
|
448
|
+
/** Expect an argument type (e.g. `{foo,}`) */
|
|
449
|
+
ErrorKind[ErrorKind["EXPECT_ARGUMENT_TYPE"] = 4] = "EXPECT_ARGUMENT_TYPE";
|
|
450
|
+
/** Unsupported argument type (e.g. `{foo,foo}`) */
|
|
451
|
+
ErrorKind[ErrorKind["INVALID_ARGUMENT_TYPE"] = 5] = "INVALID_ARGUMENT_TYPE";
|
|
452
|
+
/** Expect an argument style (e.g. `{foo, number, }`) */
|
|
453
|
+
ErrorKind[ErrorKind["EXPECT_ARGUMENT_STYLE"] = 6] = "EXPECT_ARGUMENT_STYLE";
|
|
454
|
+
/** The number skeleton is invalid. */
|
|
455
|
+
ErrorKind[ErrorKind["INVALID_NUMBER_SKELETON"] = 7] = "INVALID_NUMBER_SKELETON";
|
|
456
|
+
/** The date time skeleton is invalid. */
|
|
457
|
+
ErrorKind[ErrorKind["INVALID_DATE_TIME_SKELETON"] = 8] = "INVALID_DATE_TIME_SKELETON";
|
|
458
|
+
/** Exepct a number skeleton following the `::` (e.g. `{foo, number, ::}`) */
|
|
459
|
+
ErrorKind[ErrorKind["EXPECT_NUMBER_SKELETON"] = 9] = "EXPECT_NUMBER_SKELETON";
|
|
460
|
+
/** Exepct a date time skeleton following the `::` (e.g. `{foo, date, ::}`) */
|
|
461
|
+
ErrorKind[ErrorKind["EXPECT_DATE_TIME_SKELETON"] = 10] = "EXPECT_DATE_TIME_SKELETON";
|
|
462
|
+
/** Unmatched apostrophes in the argument style (e.g. `{foo, number, 'test`) */
|
|
463
|
+
ErrorKind[ErrorKind["UNCLOSED_QUOTE_IN_ARGUMENT_STYLE"] = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE";
|
|
464
|
+
/** Missing select argument options (e.g. `{foo, select}`) */
|
|
465
|
+
ErrorKind[ErrorKind["EXPECT_SELECT_ARGUMENT_OPTIONS"] = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS";
|
|
466
|
+
/** Expecting an offset value in `plural` or `selectordinal` argument (e.g `{foo, plural, offset}`) */
|
|
467
|
+
ErrorKind[ErrorKind["EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE"] = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE";
|
|
468
|
+
/** Offset value in `plural` or `selectordinal` is invalid (e.g. `{foo, plural, offset: x}`) */
|
|
469
|
+
ErrorKind[ErrorKind["INVALID_PLURAL_ARGUMENT_OFFSET_VALUE"] = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE";
|
|
470
|
+
/** Expecting a selector in `select` argument (e.g `{foo, select}`) */
|
|
471
|
+
ErrorKind[ErrorKind["EXPECT_SELECT_ARGUMENT_SELECTOR"] = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR";
|
|
472
|
+
/** Expecting a selector in `plural` or `selectordinal` argument (e.g `{foo, plural}`) */
|
|
473
|
+
ErrorKind[ErrorKind["EXPECT_PLURAL_ARGUMENT_SELECTOR"] = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR";
|
|
474
|
+
/** Expecting a message fragment after the `select` selector (e.g. `{foo, select, apple}`) */
|
|
475
|
+
ErrorKind[ErrorKind["EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT"] = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT";
|
|
476
|
+
/**
|
|
477
|
+
* Expecting a message fragment after the `plural` or `selectordinal` selector
|
|
478
|
+
* (e.g. `{foo, plural, one}`)
|
|
479
|
+
*/
|
|
480
|
+
ErrorKind[ErrorKind["EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT"] = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT";
|
|
481
|
+
/** Selector in `plural` or `selectordinal` is malformed (e.g. `{foo, plural, =x {#}}`) */
|
|
482
|
+
ErrorKind[ErrorKind["INVALID_PLURAL_ARGUMENT_SELECTOR"] = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR";
|
|
483
|
+
/**
|
|
484
|
+
* Duplicate selectors in `plural` or `selectordinal` argument.
|
|
485
|
+
* (e.g. {foo, plural, one {#} one {#}})
|
|
486
|
+
*/
|
|
487
|
+
ErrorKind[ErrorKind["DUPLICATE_PLURAL_ARGUMENT_SELECTOR"] = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR";
|
|
488
|
+
/** Duplicate selectors in `select` argument.
|
|
489
|
+
* (e.g. {foo, select, apple {apple} apple {apple}})
|
|
490
|
+
*/
|
|
491
|
+
ErrorKind[ErrorKind["DUPLICATE_SELECT_ARGUMENT_SELECTOR"] = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR";
|
|
492
|
+
/** Plural or select argument option must have `other` clause. */
|
|
493
|
+
ErrorKind[ErrorKind["MISSING_OTHER_CLAUSE"] = 22] = "MISSING_OTHER_CLAUSE";
|
|
494
|
+
/** The tag is malformed. (e.g. `<bold!>foo</bold!>) */
|
|
495
|
+
ErrorKind[ErrorKind["INVALID_TAG"] = 23] = "INVALID_TAG";
|
|
496
|
+
/** The tag name is invalid. (e.g. `<123>foo</123>`) */
|
|
497
|
+
ErrorKind[ErrorKind["INVALID_TAG_NAME"] = 25] = "INVALID_TAG_NAME";
|
|
498
|
+
/** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
|
|
499
|
+
ErrorKind[ErrorKind["UNMATCHED_CLOSING_TAG"] = 26] = "UNMATCHED_CLOSING_TAG";
|
|
500
|
+
/** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
|
|
501
|
+
ErrorKind[ErrorKind["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
|
|
502
|
+
return ErrorKind;
|
|
503
|
+
}({});
|
|
504
|
+
/**
|
|
505
|
+
* Type Guards
|
|
506
|
+
*/
|
|
507
|
+
function isLiteralElement(el) {
|
|
508
|
+
return el.type === 0;
|
|
509
|
+
}
|
|
510
|
+
function isArgumentElement(el) {
|
|
511
|
+
return el.type === 1;
|
|
512
|
+
}
|
|
513
|
+
function isNumberElement(el) {
|
|
514
|
+
return el.type === 2;
|
|
515
|
+
}
|
|
516
|
+
function isDateElement(el) {
|
|
517
|
+
return el.type === 3;
|
|
518
|
+
}
|
|
519
|
+
function isTimeElement(el) {
|
|
520
|
+
return el.type === 4;
|
|
521
|
+
}
|
|
522
|
+
function isSelectElement(el) {
|
|
523
|
+
return el.type === 5;
|
|
524
|
+
}
|
|
525
|
+
function isPluralElement(el) {
|
|
526
|
+
return el.type === 6;
|
|
527
|
+
}
|
|
528
|
+
function isPoundElement(el) {
|
|
529
|
+
return el.type === 7;
|
|
530
|
+
}
|
|
531
|
+
function isTagElement(el) {
|
|
532
|
+
return el.type === 8;
|
|
533
|
+
}
|
|
534
|
+
function isNumberSkeleton(el) {
|
|
535
|
+
return !!(el && typeof el === "object" && el.type === 0);
|
|
536
|
+
}
|
|
537
|
+
function isDateTimeSkeleton(el) {
|
|
538
|
+
return !!(el && typeof el === "object" && el.type === 1);
|
|
539
|
+
}
|
|
540
|
+
const SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
541
|
+
const timeData = {
|
|
542
|
+
"001": ["H", "h"],
|
|
543
|
+
"419": [
|
|
544
|
+
"h",
|
|
545
|
+
"H",
|
|
546
|
+
"hB",
|
|
547
|
+
"hb"
|
|
548
|
+
],
|
|
549
|
+
"AC": [
|
|
550
|
+
"H",
|
|
551
|
+
"h",
|
|
552
|
+
"hb",
|
|
553
|
+
"hB"
|
|
554
|
+
],
|
|
555
|
+
"AD": ["H", "hB"],
|
|
556
|
+
"AE": [
|
|
557
|
+
"h",
|
|
558
|
+
"hB",
|
|
559
|
+
"hb",
|
|
560
|
+
"H"
|
|
561
|
+
],
|
|
562
|
+
"AF": [
|
|
563
|
+
"H",
|
|
564
|
+
"hb",
|
|
565
|
+
"hB",
|
|
566
|
+
"h"
|
|
567
|
+
],
|
|
568
|
+
"AG": [
|
|
569
|
+
"h",
|
|
570
|
+
"hb",
|
|
571
|
+
"H",
|
|
572
|
+
"hB"
|
|
573
|
+
],
|
|
574
|
+
"AI": [
|
|
575
|
+
"H",
|
|
576
|
+
"h",
|
|
577
|
+
"hb",
|
|
578
|
+
"hB"
|
|
579
|
+
],
|
|
580
|
+
"AL": [
|
|
581
|
+
"h",
|
|
582
|
+
"H",
|
|
583
|
+
"hB"
|
|
584
|
+
],
|
|
585
|
+
"AM": ["H", "hB"],
|
|
586
|
+
"AO": ["H", "hB"],
|
|
587
|
+
"AR": [
|
|
588
|
+
"h",
|
|
589
|
+
"H",
|
|
590
|
+
"hB",
|
|
591
|
+
"hb"
|
|
592
|
+
],
|
|
593
|
+
"AS": ["h", "H"],
|
|
594
|
+
"AT": ["H", "hB"],
|
|
595
|
+
"AU": [
|
|
596
|
+
"h",
|
|
597
|
+
"hb",
|
|
598
|
+
"H",
|
|
599
|
+
"hB"
|
|
600
|
+
],
|
|
601
|
+
"AW": ["H", "hB"],
|
|
602
|
+
"AX": ["H"],
|
|
603
|
+
"AZ": [
|
|
604
|
+
"H",
|
|
605
|
+
"hB",
|
|
606
|
+
"h"
|
|
607
|
+
],
|
|
608
|
+
"BA": [
|
|
609
|
+
"H",
|
|
610
|
+
"hB",
|
|
611
|
+
"h"
|
|
612
|
+
],
|
|
613
|
+
"BB": [
|
|
614
|
+
"h",
|
|
615
|
+
"hb",
|
|
616
|
+
"H",
|
|
617
|
+
"hB"
|
|
618
|
+
],
|
|
619
|
+
"BD": [
|
|
620
|
+
"h",
|
|
621
|
+
"hB",
|
|
622
|
+
"H"
|
|
623
|
+
],
|
|
624
|
+
"BE": ["H", "hB"],
|
|
625
|
+
"BF": ["H", "hB"],
|
|
626
|
+
"BG": [
|
|
627
|
+
"H",
|
|
628
|
+
"hB",
|
|
629
|
+
"h"
|
|
630
|
+
],
|
|
631
|
+
"BH": [
|
|
632
|
+
"h",
|
|
633
|
+
"hB",
|
|
634
|
+
"hb",
|
|
635
|
+
"H"
|
|
636
|
+
],
|
|
637
|
+
"BI": ["H", "h"],
|
|
638
|
+
"BJ": ["H", "hB"],
|
|
639
|
+
"BL": ["H", "hB"],
|
|
640
|
+
"BM": [
|
|
641
|
+
"h",
|
|
642
|
+
"hb",
|
|
643
|
+
"H",
|
|
644
|
+
"hB"
|
|
645
|
+
],
|
|
646
|
+
"BN": [
|
|
647
|
+
"hb",
|
|
648
|
+
"hB",
|
|
649
|
+
"h",
|
|
650
|
+
"H"
|
|
651
|
+
],
|
|
652
|
+
"BO": [
|
|
653
|
+
"h",
|
|
654
|
+
"H",
|
|
655
|
+
"hB",
|
|
656
|
+
"hb"
|
|
657
|
+
],
|
|
658
|
+
"BQ": ["H"],
|
|
659
|
+
"BR": ["H", "hB"],
|
|
660
|
+
"BS": [
|
|
661
|
+
"h",
|
|
662
|
+
"hb",
|
|
663
|
+
"H",
|
|
664
|
+
"hB"
|
|
665
|
+
],
|
|
666
|
+
"BT": ["h", "H"],
|
|
667
|
+
"BW": [
|
|
668
|
+
"H",
|
|
669
|
+
"h",
|
|
670
|
+
"hb",
|
|
671
|
+
"hB"
|
|
672
|
+
],
|
|
673
|
+
"BY": ["H", "h"],
|
|
674
|
+
"BZ": [
|
|
675
|
+
"H",
|
|
676
|
+
"h",
|
|
677
|
+
"hb",
|
|
678
|
+
"hB"
|
|
679
|
+
],
|
|
680
|
+
"CA": [
|
|
681
|
+
"h",
|
|
682
|
+
"hb",
|
|
683
|
+
"H",
|
|
684
|
+
"hB"
|
|
685
|
+
],
|
|
686
|
+
"CC": [
|
|
687
|
+
"H",
|
|
688
|
+
"h",
|
|
689
|
+
"hb",
|
|
690
|
+
"hB"
|
|
691
|
+
],
|
|
692
|
+
"CD": ["hB", "H"],
|
|
693
|
+
"CF": [
|
|
694
|
+
"H",
|
|
695
|
+
"h",
|
|
696
|
+
"hB"
|
|
697
|
+
],
|
|
698
|
+
"CG": ["H", "hB"],
|
|
699
|
+
"CH": [
|
|
700
|
+
"H",
|
|
701
|
+
"hB",
|
|
702
|
+
"h"
|
|
703
|
+
],
|
|
704
|
+
"CI": ["H", "hB"],
|
|
705
|
+
"CK": [
|
|
706
|
+
"H",
|
|
707
|
+
"h",
|
|
708
|
+
"hb",
|
|
709
|
+
"hB"
|
|
710
|
+
],
|
|
711
|
+
"CL": [
|
|
712
|
+
"h",
|
|
713
|
+
"H",
|
|
714
|
+
"hB",
|
|
715
|
+
"hb"
|
|
716
|
+
],
|
|
717
|
+
"CM": [
|
|
718
|
+
"H",
|
|
719
|
+
"h",
|
|
720
|
+
"hB"
|
|
721
|
+
],
|
|
722
|
+
"CN": [
|
|
723
|
+
"H",
|
|
724
|
+
"hB",
|
|
725
|
+
"hb",
|
|
726
|
+
"h"
|
|
727
|
+
],
|
|
728
|
+
"CO": [
|
|
729
|
+
"h",
|
|
730
|
+
"H",
|
|
731
|
+
"hB",
|
|
732
|
+
"hb"
|
|
733
|
+
],
|
|
734
|
+
"CP": ["H"],
|
|
735
|
+
"CR": [
|
|
736
|
+
"h",
|
|
737
|
+
"H",
|
|
738
|
+
"hB",
|
|
739
|
+
"hb"
|
|
740
|
+
],
|
|
741
|
+
"CU": [
|
|
742
|
+
"h",
|
|
743
|
+
"H",
|
|
744
|
+
"hB",
|
|
745
|
+
"hb"
|
|
746
|
+
],
|
|
747
|
+
"CV": ["H", "hB"],
|
|
748
|
+
"CW": ["H", "hB"],
|
|
749
|
+
"CX": [
|
|
750
|
+
"H",
|
|
751
|
+
"h",
|
|
752
|
+
"hb",
|
|
753
|
+
"hB"
|
|
754
|
+
],
|
|
755
|
+
"CY": [
|
|
756
|
+
"h",
|
|
757
|
+
"H",
|
|
758
|
+
"hb",
|
|
759
|
+
"hB"
|
|
760
|
+
],
|
|
761
|
+
"CZ": ["H"],
|
|
762
|
+
"DE": ["H", "hB"],
|
|
763
|
+
"DG": [
|
|
764
|
+
"H",
|
|
765
|
+
"h",
|
|
766
|
+
"hb",
|
|
767
|
+
"hB"
|
|
768
|
+
],
|
|
769
|
+
"DJ": ["h", "H"],
|
|
770
|
+
"DK": ["H"],
|
|
771
|
+
"DM": [
|
|
772
|
+
"h",
|
|
773
|
+
"hb",
|
|
774
|
+
"H",
|
|
775
|
+
"hB"
|
|
776
|
+
],
|
|
777
|
+
"DO": [
|
|
778
|
+
"h",
|
|
779
|
+
"H",
|
|
780
|
+
"hB",
|
|
781
|
+
"hb"
|
|
782
|
+
],
|
|
783
|
+
"DZ": [
|
|
784
|
+
"h",
|
|
785
|
+
"hB",
|
|
786
|
+
"hb",
|
|
787
|
+
"H"
|
|
788
|
+
],
|
|
789
|
+
"EA": [
|
|
790
|
+
"H",
|
|
791
|
+
"h",
|
|
792
|
+
"hB",
|
|
793
|
+
"hb"
|
|
794
|
+
],
|
|
795
|
+
"EC": [
|
|
796
|
+
"h",
|
|
797
|
+
"H",
|
|
798
|
+
"hB",
|
|
799
|
+
"hb"
|
|
800
|
+
],
|
|
801
|
+
"EE": ["H", "hB"],
|
|
802
|
+
"EG": [
|
|
803
|
+
"h",
|
|
804
|
+
"hB",
|
|
805
|
+
"hb",
|
|
806
|
+
"H"
|
|
807
|
+
],
|
|
808
|
+
"EH": [
|
|
809
|
+
"h",
|
|
810
|
+
"hB",
|
|
811
|
+
"hb",
|
|
812
|
+
"H"
|
|
813
|
+
],
|
|
814
|
+
"ER": ["h", "H"],
|
|
815
|
+
"ES": [
|
|
816
|
+
"H",
|
|
817
|
+
"hB",
|
|
818
|
+
"h",
|
|
819
|
+
"hb"
|
|
820
|
+
],
|
|
821
|
+
"ET": [
|
|
822
|
+
"hB",
|
|
823
|
+
"hb",
|
|
824
|
+
"h",
|
|
825
|
+
"H"
|
|
826
|
+
],
|
|
827
|
+
"FI": ["H"],
|
|
828
|
+
"FJ": [
|
|
829
|
+
"h",
|
|
830
|
+
"hb",
|
|
831
|
+
"H",
|
|
832
|
+
"hB"
|
|
833
|
+
],
|
|
834
|
+
"FK": [
|
|
835
|
+
"H",
|
|
836
|
+
"h",
|
|
837
|
+
"hb",
|
|
838
|
+
"hB"
|
|
839
|
+
],
|
|
840
|
+
"FM": [
|
|
841
|
+
"h",
|
|
842
|
+
"hb",
|
|
843
|
+
"H",
|
|
844
|
+
"hB"
|
|
845
|
+
],
|
|
846
|
+
"FO": ["H", "h"],
|
|
847
|
+
"FR": ["H", "hB"],
|
|
848
|
+
"GA": ["H", "hB"],
|
|
849
|
+
"GB": [
|
|
850
|
+
"H",
|
|
851
|
+
"h",
|
|
852
|
+
"hb",
|
|
853
|
+
"hB"
|
|
854
|
+
],
|
|
855
|
+
"GD": [
|
|
856
|
+
"h",
|
|
857
|
+
"hb",
|
|
858
|
+
"H",
|
|
859
|
+
"hB"
|
|
860
|
+
],
|
|
861
|
+
"GE": [
|
|
862
|
+
"H",
|
|
863
|
+
"hB",
|
|
864
|
+
"h"
|
|
865
|
+
],
|
|
866
|
+
"GF": ["H", "hB"],
|
|
867
|
+
"GG": [
|
|
868
|
+
"H",
|
|
869
|
+
"h",
|
|
870
|
+
"hb",
|
|
871
|
+
"hB"
|
|
872
|
+
],
|
|
873
|
+
"GH": ["h", "H"],
|
|
874
|
+
"GI": [
|
|
875
|
+
"H",
|
|
876
|
+
"h",
|
|
877
|
+
"hb",
|
|
878
|
+
"hB"
|
|
879
|
+
],
|
|
880
|
+
"GL": ["H", "h"],
|
|
881
|
+
"GM": [
|
|
882
|
+
"h",
|
|
883
|
+
"hb",
|
|
884
|
+
"H",
|
|
885
|
+
"hB"
|
|
886
|
+
],
|
|
887
|
+
"GN": ["H", "hB"],
|
|
888
|
+
"GP": ["H", "hB"],
|
|
889
|
+
"GQ": [
|
|
890
|
+
"H",
|
|
891
|
+
"hB",
|
|
892
|
+
"h",
|
|
893
|
+
"hb"
|
|
894
|
+
],
|
|
895
|
+
"GR": [
|
|
896
|
+
"h",
|
|
897
|
+
"H",
|
|
898
|
+
"hb",
|
|
899
|
+
"hB"
|
|
900
|
+
],
|
|
901
|
+
"GS": [
|
|
902
|
+
"H",
|
|
903
|
+
"h",
|
|
904
|
+
"hb",
|
|
905
|
+
"hB"
|
|
906
|
+
],
|
|
907
|
+
"GT": [
|
|
908
|
+
"h",
|
|
909
|
+
"H",
|
|
910
|
+
"hB",
|
|
911
|
+
"hb"
|
|
912
|
+
],
|
|
913
|
+
"GU": [
|
|
914
|
+
"h",
|
|
915
|
+
"hb",
|
|
916
|
+
"H",
|
|
917
|
+
"hB"
|
|
918
|
+
],
|
|
919
|
+
"GW": ["H", "hB"],
|
|
920
|
+
"GY": [
|
|
921
|
+
"h",
|
|
922
|
+
"hb",
|
|
923
|
+
"H",
|
|
924
|
+
"hB"
|
|
925
|
+
],
|
|
926
|
+
"HK": [
|
|
927
|
+
"h",
|
|
928
|
+
"hB",
|
|
929
|
+
"hb",
|
|
930
|
+
"H"
|
|
931
|
+
],
|
|
932
|
+
"HN": [
|
|
933
|
+
"h",
|
|
934
|
+
"H",
|
|
935
|
+
"hB",
|
|
936
|
+
"hb"
|
|
937
|
+
],
|
|
938
|
+
"HR": ["H", "hB"],
|
|
939
|
+
"HU": ["H", "h"],
|
|
940
|
+
"IC": [
|
|
941
|
+
"H",
|
|
942
|
+
"h",
|
|
943
|
+
"hB",
|
|
944
|
+
"hb"
|
|
945
|
+
],
|
|
946
|
+
"ID": ["H"],
|
|
947
|
+
"IE": [
|
|
948
|
+
"H",
|
|
949
|
+
"h",
|
|
950
|
+
"hb",
|
|
951
|
+
"hB"
|
|
952
|
+
],
|
|
953
|
+
"IL": ["H", "hB"],
|
|
954
|
+
"IM": [
|
|
955
|
+
"H",
|
|
956
|
+
"h",
|
|
957
|
+
"hb",
|
|
958
|
+
"hB"
|
|
959
|
+
],
|
|
960
|
+
"IN": ["h", "H"],
|
|
961
|
+
"IO": [
|
|
962
|
+
"H",
|
|
963
|
+
"h",
|
|
964
|
+
"hb",
|
|
965
|
+
"hB"
|
|
966
|
+
],
|
|
967
|
+
"IQ": [
|
|
968
|
+
"h",
|
|
969
|
+
"hB",
|
|
970
|
+
"hb",
|
|
971
|
+
"H"
|
|
972
|
+
],
|
|
973
|
+
"IR": ["hB", "H"],
|
|
974
|
+
"IS": ["H"],
|
|
975
|
+
"IT": ["H", "hB"],
|
|
976
|
+
"JE": [
|
|
977
|
+
"H",
|
|
978
|
+
"h",
|
|
979
|
+
"hb",
|
|
980
|
+
"hB"
|
|
981
|
+
],
|
|
982
|
+
"JM": [
|
|
983
|
+
"h",
|
|
984
|
+
"hb",
|
|
985
|
+
"H",
|
|
986
|
+
"hB"
|
|
987
|
+
],
|
|
988
|
+
"JO": [
|
|
989
|
+
"h",
|
|
990
|
+
"hB",
|
|
991
|
+
"hb",
|
|
992
|
+
"H"
|
|
993
|
+
],
|
|
994
|
+
"JP": [
|
|
995
|
+
"H",
|
|
996
|
+
"K",
|
|
997
|
+
"h"
|
|
998
|
+
],
|
|
999
|
+
"KE": [
|
|
1000
|
+
"hB",
|
|
1001
|
+
"hb",
|
|
1002
|
+
"H",
|
|
1003
|
+
"h"
|
|
1004
|
+
],
|
|
1005
|
+
"KG": [
|
|
1006
|
+
"H",
|
|
1007
|
+
"h",
|
|
1008
|
+
"hB",
|
|
1009
|
+
"hb"
|
|
1010
|
+
],
|
|
1011
|
+
"KH": [
|
|
1012
|
+
"hB",
|
|
1013
|
+
"h",
|
|
1014
|
+
"H",
|
|
1015
|
+
"hb"
|
|
1016
|
+
],
|
|
1017
|
+
"KI": [
|
|
1018
|
+
"h",
|
|
1019
|
+
"hb",
|
|
1020
|
+
"H",
|
|
1021
|
+
"hB"
|
|
1022
|
+
],
|
|
1023
|
+
"KM": [
|
|
1024
|
+
"H",
|
|
1025
|
+
"h",
|
|
1026
|
+
"hB",
|
|
1027
|
+
"hb"
|
|
1028
|
+
],
|
|
1029
|
+
"KN": [
|
|
1030
|
+
"h",
|
|
1031
|
+
"hb",
|
|
1032
|
+
"H",
|
|
1033
|
+
"hB"
|
|
1034
|
+
],
|
|
1035
|
+
"KP": [
|
|
1036
|
+
"h",
|
|
1037
|
+
"H",
|
|
1038
|
+
"hB",
|
|
1039
|
+
"hb"
|
|
1040
|
+
],
|
|
1041
|
+
"KR": [
|
|
1042
|
+
"h",
|
|
1043
|
+
"H",
|
|
1044
|
+
"hB",
|
|
1045
|
+
"hb"
|
|
1046
|
+
],
|
|
1047
|
+
"KW": [
|
|
1048
|
+
"h",
|
|
1049
|
+
"hB",
|
|
1050
|
+
"hb",
|
|
1051
|
+
"H"
|
|
1052
|
+
],
|
|
1053
|
+
"KY": [
|
|
1054
|
+
"h",
|
|
1055
|
+
"hb",
|
|
1056
|
+
"H",
|
|
1057
|
+
"hB"
|
|
1058
|
+
],
|
|
1059
|
+
"KZ": ["H", "hB"],
|
|
1060
|
+
"LA": [
|
|
1061
|
+
"H",
|
|
1062
|
+
"hb",
|
|
1063
|
+
"hB",
|
|
1064
|
+
"h"
|
|
1065
|
+
],
|
|
1066
|
+
"LB": [
|
|
1067
|
+
"h",
|
|
1068
|
+
"hB",
|
|
1069
|
+
"hb",
|
|
1070
|
+
"H"
|
|
1071
|
+
],
|
|
1072
|
+
"LC": [
|
|
1073
|
+
"h",
|
|
1074
|
+
"hb",
|
|
1075
|
+
"H",
|
|
1076
|
+
"hB"
|
|
1077
|
+
],
|
|
1078
|
+
"LI": [
|
|
1079
|
+
"H",
|
|
1080
|
+
"hB",
|
|
1081
|
+
"h"
|
|
1082
|
+
],
|
|
1083
|
+
"LK": [
|
|
1084
|
+
"H",
|
|
1085
|
+
"h",
|
|
1086
|
+
"hB",
|
|
1087
|
+
"hb"
|
|
1088
|
+
],
|
|
1089
|
+
"LR": [
|
|
1090
|
+
"h",
|
|
1091
|
+
"hb",
|
|
1092
|
+
"H",
|
|
1093
|
+
"hB"
|
|
1094
|
+
],
|
|
1095
|
+
"LS": ["h", "H"],
|
|
1096
|
+
"LT": [
|
|
1097
|
+
"H",
|
|
1098
|
+
"h",
|
|
1099
|
+
"hb",
|
|
1100
|
+
"hB"
|
|
1101
|
+
],
|
|
1102
|
+
"LU": [
|
|
1103
|
+
"H",
|
|
1104
|
+
"h",
|
|
1105
|
+
"hB"
|
|
1106
|
+
],
|
|
1107
|
+
"LV": [
|
|
1108
|
+
"H",
|
|
1109
|
+
"hB",
|
|
1110
|
+
"hb",
|
|
1111
|
+
"h"
|
|
1112
|
+
],
|
|
1113
|
+
"LY": [
|
|
1114
|
+
"h",
|
|
1115
|
+
"hB",
|
|
1116
|
+
"hb",
|
|
1117
|
+
"H"
|
|
1118
|
+
],
|
|
1119
|
+
"MA": [
|
|
1120
|
+
"H",
|
|
1121
|
+
"h",
|
|
1122
|
+
"hB",
|
|
1123
|
+
"hb"
|
|
1124
|
+
],
|
|
1125
|
+
"MC": ["H", "hB"],
|
|
1126
|
+
"MD": ["H", "hB"],
|
|
1127
|
+
"ME": [
|
|
1128
|
+
"H",
|
|
1129
|
+
"hB",
|
|
1130
|
+
"h"
|
|
1131
|
+
],
|
|
1132
|
+
"MF": ["H", "hB"],
|
|
1133
|
+
"MG": ["H", "h"],
|
|
1134
|
+
"MH": [
|
|
1135
|
+
"h",
|
|
1136
|
+
"hb",
|
|
1137
|
+
"H",
|
|
1138
|
+
"hB"
|
|
1139
|
+
],
|
|
1140
|
+
"MK": [
|
|
1141
|
+
"H",
|
|
1142
|
+
"h",
|
|
1143
|
+
"hb",
|
|
1144
|
+
"hB"
|
|
1145
|
+
],
|
|
1146
|
+
"ML": ["H"],
|
|
1147
|
+
"MM": [
|
|
1148
|
+
"hB",
|
|
1149
|
+
"hb",
|
|
1150
|
+
"H",
|
|
1151
|
+
"h"
|
|
1152
|
+
],
|
|
1153
|
+
"MN": [
|
|
1154
|
+
"H",
|
|
1155
|
+
"h",
|
|
1156
|
+
"hb",
|
|
1157
|
+
"hB"
|
|
1158
|
+
],
|
|
1159
|
+
"MO": [
|
|
1160
|
+
"h",
|
|
1161
|
+
"hB",
|
|
1162
|
+
"hb",
|
|
1163
|
+
"H"
|
|
1164
|
+
],
|
|
1165
|
+
"MP": [
|
|
1166
|
+
"h",
|
|
1167
|
+
"hb",
|
|
1168
|
+
"H",
|
|
1169
|
+
"hB"
|
|
1170
|
+
],
|
|
1171
|
+
"MQ": ["H", "hB"],
|
|
1172
|
+
"MR": [
|
|
1173
|
+
"h",
|
|
1174
|
+
"hB",
|
|
1175
|
+
"hb",
|
|
1176
|
+
"H"
|
|
1177
|
+
],
|
|
1178
|
+
"MS": [
|
|
1179
|
+
"H",
|
|
1180
|
+
"h",
|
|
1181
|
+
"hb",
|
|
1182
|
+
"hB"
|
|
1183
|
+
],
|
|
1184
|
+
"MT": ["H", "h"],
|
|
1185
|
+
"MU": ["H", "h"],
|
|
1186
|
+
"MV": ["H", "h"],
|
|
1187
|
+
"MW": [
|
|
1188
|
+
"h",
|
|
1189
|
+
"hb",
|
|
1190
|
+
"H",
|
|
1191
|
+
"hB"
|
|
1192
|
+
],
|
|
1193
|
+
"MX": [
|
|
1194
|
+
"h",
|
|
1195
|
+
"H",
|
|
1196
|
+
"hB",
|
|
1197
|
+
"hb"
|
|
1198
|
+
],
|
|
1199
|
+
"MY": [
|
|
1200
|
+
"hb",
|
|
1201
|
+
"hB",
|
|
1202
|
+
"h",
|
|
1203
|
+
"H"
|
|
1204
|
+
],
|
|
1205
|
+
"MZ": ["H", "hB"],
|
|
1206
|
+
"NA": [
|
|
1207
|
+
"h",
|
|
1208
|
+
"H",
|
|
1209
|
+
"hB",
|
|
1210
|
+
"hb"
|
|
1211
|
+
],
|
|
1212
|
+
"NC": ["H", "hB"],
|
|
1213
|
+
"NE": ["H"],
|
|
1214
|
+
"NF": [
|
|
1215
|
+
"H",
|
|
1216
|
+
"h",
|
|
1217
|
+
"hb",
|
|
1218
|
+
"hB"
|
|
1219
|
+
],
|
|
1220
|
+
"NG": [
|
|
1221
|
+
"H",
|
|
1222
|
+
"h",
|
|
1223
|
+
"hb",
|
|
1224
|
+
"hB"
|
|
1225
|
+
],
|
|
1226
|
+
"NI": [
|
|
1227
|
+
"h",
|
|
1228
|
+
"H",
|
|
1229
|
+
"hB",
|
|
1230
|
+
"hb"
|
|
1231
|
+
],
|
|
1232
|
+
"NL": ["H", "hB"],
|
|
1233
|
+
"NO": ["H", "h"],
|
|
1234
|
+
"NP": [
|
|
1235
|
+
"H",
|
|
1236
|
+
"h",
|
|
1237
|
+
"hB"
|
|
1238
|
+
],
|
|
1239
|
+
"NR": [
|
|
1240
|
+
"H",
|
|
1241
|
+
"h",
|
|
1242
|
+
"hb",
|
|
1243
|
+
"hB"
|
|
1244
|
+
],
|
|
1245
|
+
"NU": [
|
|
1246
|
+
"H",
|
|
1247
|
+
"h",
|
|
1248
|
+
"hb",
|
|
1249
|
+
"hB"
|
|
1250
|
+
],
|
|
1251
|
+
"NZ": [
|
|
1252
|
+
"h",
|
|
1253
|
+
"hb",
|
|
1254
|
+
"H",
|
|
1255
|
+
"hB"
|
|
1256
|
+
],
|
|
1257
|
+
"OM": [
|
|
1258
|
+
"h",
|
|
1259
|
+
"hB",
|
|
1260
|
+
"hb",
|
|
1261
|
+
"H"
|
|
1262
|
+
],
|
|
1263
|
+
"PA": [
|
|
1264
|
+
"h",
|
|
1265
|
+
"H",
|
|
1266
|
+
"hB",
|
|
1267
|
+
"hb"
|
|
1268
|
+
],
|
|
1269
|
+
"PE": [
|
|
1270
|
+
"h",
|
|
1271
|
+
"H",
|
|
1272
|
+
"hB",
|
|
1273
|
+
"hb"
|
|
1274
|
+
],
|
|
1275
|
+
"PF": [
|
|
1276
|
+
"H",
|
|
1277
|
+
"h",
|
|
1278
|
+
"hB"
|
|
1279
|
+
],
|
|
1280
|
+
"PG": ["h", "H"],
|
|
1281
|
+
"PH": [
|
|
1282
|
+
"h",
|
|
1283
|
+
"hB",
|
|
1284
|
+
"hb",
|
|
1285
|
+
"H"
|
|
1286
|
+
],
|
|
1287
|
+
"PK": [
|
|
1288
|
+
"h",
|
|
1289
|
+
"hB",
|
|
1290
|
+
"H"
|
|
1291
|
+
],
|
|
1292
|
+
"PL": ["H", "h"],
|
|
1293
|
+
"PM": ["H", "hB"],
|
|
1294
|
+
"PN": [
|
|
1295
|
+
"H",
|
|
1296
|
+
"h",
|
|
1297
|
+
"hb",
|
|
1298
|
+
"hB"
|
|
1299
|
+
],
|
|
1300
|
+
"PR": [
|
|
1301
|
+
"h",
|
|
1302
|
+
"H",
|
|
1303
|
+
"hB",
|
|
1304
|
+
"hb"
|
|
1305
|
+
],
|
|
1306
|
+
"PS": [
|
|
1307
|
+
"h",
|
|
1308
|
+
"hB",
|
|
1309
|
+
"hb",
|
|
1310
|
+
"H"
|
|
1311
|
+
],
|
|
1312
|
+
"PT": ["H", "hB"],
|
|
1313
|
+
"PW": ["h", "H"],
|
|
1314
|
+
"PY": [
|
|
1315
|
+
"h",
|
|
1316
|
+
"H",
|
|
1317
|
+
"hB",
|
|
1318
|
+
"hb"
|
|
1319
|
+
],
|
|
1320
|
+
"QA": [
|
|
1321
|
+
"h",
|
|
1322
|
+
"hB",
|
|
1323
|
+
"hb",
|
|
1324
|
+
"H"
|
|
1325
|
+
],
|
|
1326
|
+
"RE": ["H", "hB"],
|
|
1327
|
+
"RO": ["H", "hB"],
|
|
1328
|
+
"RS": [
|
|
1329
|
+
"H",
|
|
1330
|
+
"hB",
|
|
1331
|
+
"h"
|
|
1332
|
+
],
|
|
1333
|
+
"RU": ["H"],
|
|
1334
|
+
"RW": ["H", "h"],
|
|
1335
|
+
"SA": [
|
|
1336
|
+
"h",
|
|
1337
|
+
"hB",
|
|
1338
|
+
"hb",
|
|
1339
|
+
"H"
|
|
1340
|
+
],
|
|
1341
|
+
"SB": [
|
|
1342
|
+
"h",
|
|
1343
|
+
"hb",
|
|
1344
|
+
"H",
|
|
1345
|
+
"hB"
|
|
1346
|
+
],
|
|
1347
|
+
"SC": [
|
|
1348
|
+
"H",
|
|
1349
|
+
"h",
|
|
1350
|
+
"hB"
|
|
1351
|
+
],
|
|
1352
|
+
"SD": [
|
|
1353
|
+
"h",
|
|
1354
|
+
"hB",
|
|
1355
|
+
"hb",
|
|
1356
|
+
"H"
|
|
1357
|
+
],
|
|
1358
|
+
"SE": ["H"],
|
|
1359
|
+
"SG": [
|
|
1360
|
+
"h",
|
|
1361
|
+
"hb",
|
|
1362
|
+
"H",
|
|
1363
|
+
"hB"
|
|
1364
|
+
],
|
|
1365
|
+
"SH": [
|
|
1366
|
+
"H",
|
|
1367
|
+
"h",
|
|
1368
|
+
"hb",
|
|
1369
|
+
"hB"
|
|
1370
|
+
],
|
|
1371
|
+
"SI": ["H", "hB"],
|
|
1372
|
+
"SJ": ["H"],
|
|
1373
|
+
"SK": ["H"],
|
|
1374
|
+
"SL": [
|
|
1375
|
+
"h",
|
|
1376
|
+
"hb",
|
|
1377
|
+
"H",
|
|
1378
|
+
"hB"
|
|
1379
|
+
],
|
|
1380
|
+
"SM": [
|
|
1381
|
+
"H",
|
|
1382
|
+
"h",
|
|
1383
|
+
"hB"
|
|
1384
|
+
],
|
|
1385
|
+
"SN": [
|
|
1386
|
+
"H",
|
|
1387
|
+
"h",
|
|
1388
|
+
"hB"
|
|
1389
|
+
],
|
|
1390
|
+
"SO": ["h", "H"],
|
|
1391
|
+
"SR": ["H", "hB"],
|
|
1392
|
+
"SS": [
|
|
1393
|
+
"h",
|
|
1394
|
+
"hb",
|
|
1395
|
+
"H",
|
|
1396
|
+
"hB"
|
|
1397
|
+
],
|
|
1398
|
+
"ST": ["H", "hB"],
|
|
1399
|
+
"SV": [
|
|
1400
|
+
"h",
|
|
1401
|
+
"H",
|
|
1402
|
+
"hB",
|
|
1403
|
+
"hb"
|
|
1404
|
+
],
|
|
1405
|
+
"SX": [
|
|
1406
|
+
"H",
|
|
1407
|
+
"h",
|
|
1408
|
+
"hb",
|
|
1409
|
+
"hB"
|
|
1410
|
+
],
|
|
1411
|
+
"SY": [
|
|
1412
|
+
"h",
|
|
1413
|
+
"hB",
|
|
1414
|
+
"hb",
|
|
1415
|
+
"H"
|
|
1416
|
+
],
|
|
1417
|
+
"SZ": [
|
|
1418
|
+
"h",
|
|
1419
|
+
"hb",
|
|
1420
|
+
"H",
|
|
1421
|
+
"hB"
|
|
1422
|
+
],
|
|
1423
|
+
"TA": [
|
|
1424
|
+
"H",
|
|
1425
|
+
"h",
|
|
1426
|
+
"hb",
|
|
1427
|
+
"hB"
|
|
1428
|
+
],
|
|
1429
|
+
"TC": [
|
|
1430
|
+
"h",
|
|
1431
|
+
"hb",
|
|
1432
|
+
"H",
|
|
1433
|
+
"hB"
|
|
1434
|
+
],
|
|
1435
|
+
"TD": [
|
|
1436
|
+
"h",
|
|
1437
|
+
"H",
|
|
1438
|
+
"hB"
|
|
1439
|
+
],
|
|
1440
|
+
"TF": [
|
|
1441
|
+
"H",
|
|
1442
|
+
"h",
|
|
1443
|
+
"hB"
|
|
1444
|
+
],
|
|
1445
|
+
"TG": ["H", "hB"],
|
|
1446
|
+
"TH": ["H", "h"],
|
|
1447
|
+
"TJ": ["H", "h"],
|
|
1448
|
+
"TL": [
|
|
1449
|
+
"H",
|
|
1450
|
+
"hB",
|
|
1451
|
+
"hb",
|
|
1452
|
+
"h"
|
|
1453
|
+
],
|
|
1454
|
+
"TM": ["H", "h"],
|
|
1455
|
+
"TN": [
|
|
1456
|
+
"h",
|
|
1457
|
+
"hB",
|
|
1458
|
+
"hb",
|
|
1459
|
+
"H"
|
|
1460
|
+
],
|
|
1461
|
+
"TO": ["h", "H"],
|
|
1462
|
+
"TR": ["H", "hB"],
|
|
1463
|
+
"TT": [
|
|
1464
|
+
"h",
|
|
1465
|
+
"hb",
|
|
1466
|
+
"H",
|
|
1467
|
+
"hB"
|
|
1468
|
+
],
|
|
1469
|
+
"TW": [
|
|
1470
|
+
"hB",
|
|
1471
|
+
"hb",
|
|
1472
|
+
"h",
|
|
1473
|
+
"H"
|
|
1474
|
+
],
|
|
1475
|
+
"TZ": [
|
|
1476
|
+
"hB",
|
|
1477
|
+
"hb",
|
|
1478
|
+
"H",
|
|
1479
|
+
"h"
|
|
1480
|
+
],
|
|
1481
|
+
"UA": [
|
|
1482
|
+
"H",
|
|
1483
|
+
"hB",
|
|
1484
|
+
"h"
|
|
1485
|
+
],
|
|
1486
|
+
"UG": [
|
|
1487
|
+
"hB",
|
|
1488
|
+
"hb",
|
|
1489
|
+
"H",
|
|
1490
|
+
"h"
|
|
1491
|
+
],
|
|
1492
|
+
"UM": [
|
|
1493
|
+
"h",
|
|
1494
|
+
"hb",
|
|
1495
|
+
"H",
|
|
1496
|
+
"hB"
|
|
1497
|
+
],
|
|
1498
|
+
"US": [
|
|
1499
|
+
"h",
|
|
1500
|
+
"hb",
|
|
1501
|
+
"H",
|
|
1502
|
+
"hB"
|
|
1503
|
+
],
|
|
1504
|
+
"UY": [
|
|
1505
|
+
"h",
|
|
1506
|
+
"H",
|
|
1507
|
+
"hB",
|
|
1508
|
+
"hb"
|
|
1509
|
+
],
|
|
1510
|
+
"UZ": [
|
|
1511
|
+
"H",
|
|
1512
|
+
"hB",
|
|
1513
|
+
"h"
|
|
1514
|
+
],
|
|
1515
|
+
"VA": [
|
|
1516
|
+
"H",
|
|
1517
|
+
"h",
|
|
1518
|
+
"hB"
|
|
1519
|
+
],
|
|
1520
|
+
"VC": [
|
|
1521
|
+
"h",
|
|
1522
|
+
"hb",
|
|
1523
|
+
"H",
|
|
1524
|
+
"hB"
|
|
1525
|
+
],
|
|
1526
|
+
"VE": [
|
|
1527
|
+
"h",
|
|
1528
|
+
"H",
|
|
1529
|
+
"hB",
|
|
1530
|
+
"hb"
|
|
1531
|
+
],
|
|
1532
|
+
"VG": [
|
|
1533
|
+
"h",
|
|
1534
|
+
"hb",
|
|
1535
|
+
"H",
|
|
1536
|
+
"hB"
|
|
1537
|
+
],
|
|
1538
|
+
"VI": [
|
|
1539
|
+
"h",
|
|
1540
|
+
"hb",
|
|
1541
|
+
"H",
|
|
1542
|
+
"hB"
|
|
1543
|
+
],
|
|
1544
|
+
"VN": ["H", "h"],
|
|
1545
|
+
"VU": ["h", "H"],
|
|
1546
|
+
"WF": ["H", "hB"],
|
|
1547
|
+
"WS": ["h", "H"],
|
|
1548
|
+
"XK": [
|
|
1549
|
+
"H",
|
|
1550
|
+
"hB",
|
|
1551
|
+
"h"
|
|
1552
|
+
],
|
|
1553
|
+
"YE": [
|
|
1554
|
+
"h",
|
|
1555
|
+
"hB",
|
|
1556
|
+
"hb",
|
|
1557
|
+
"H"
|
|
1558
|
+
],
|
|
1559
|
+
"YT": ["H", "hB"],
|
|
1560
|
+
"ZA": [
|
|
1561
|
+
"H",
|
|
1562
|
+
"h",
|
|
1563
|
+
"hb",
|
|
1564
|
+
"hB"
|
|
1565
|
+
],
|
|
1566
|
+
"ZM": [
|
|
1567
|
+
"h",
|
|
1568
|
+
"hb",
|
|
1569
|
+
"H",
|
|
1570
|
+
"hB"
|
|
1571
|
+
],
|
|
1572
|
+
"ZW": ["H", "h"],
|
|
1573
|
+
"af-ZA": [
|
|
1574
|
+
"H",
|
|
1575
|
+
"h",
|
|
1576
|
+
"hB",
|
|
1577
|
+
"hb"
|
|
1578
|
+
],
|
|
1579
|
+
"ar-001": [
|
|
1580
|
+
"h",
|
|
1581
|
+
"hB",
|
|
1582
|
+
"hb",
|
|
1583
|
+
"H"
|
|
1584
|
+
],
|
|
1585
|
+
"ca-ES": [
|
|
1586
|
+
"H",
|
|
1587
|
+
"h",
|
|
1588
|
+
"hB"
|
|
1589
|
+
],
|
|
1590
|
+
"en-001": [
|
|
1591
|
+
"h",
|
|
1592
|
+
"hb",
|
|
1593
|
+
"H",
|
|
1594
|
+
"hB"
|
|
1595
|
+
],
|
|
1596
|
+
"en-HK": [
|
|
1597
|
+
"h",
|
|
1598
|
+
"hb",
|
|
1599
|
+
"H",
|
|
1600
|
+
"hB"
|
|
1601
|
+
],
|
|
1602
|
+
"en-IL": [
|
|
1603
|
+
"H",
|
|
1604
|
+
"h",
|
|
1605
|
+
"hb",
|
|
1606
|
+
"hB"
|
|
1607
|
+
],
|
|
1608
|
+
"en-MY": [
|
|
1609
|
+
"h",
|
|
1610
|
+
"hb",
|
|
1611
|
+
"H",
|
|
1612
|
+
"hB"
|
|
1613
|
+
],
|
|
1614
|
+
"es-BR": [
|
|
1615
|
+
"H",
|
|
1616
|
+
"h",
|
|
1617
|
+
"hB",
|
|
1618
|
+
"hb"
|
|
1619
|
+
],
|
|
1620
|
+
"es-ES": [
|
|
1621
|
+
"H",
|
|
1622
|
+
"h",
|
|
1623
|
+
"hB",
|
|
1624
|
+
"hb"
|
|
1625
|
+
],
|
|
1626
|
+
"es-GQ": [
|
|
1627
|
+
"H",
|
|
1628
|
+
"h",
|
|
1629
|
+
"hB",
|
|
1630
|
+
"hb"
|
|
1631
|
+
],
|
|
1632
|
+
"fr-CA": [
|
|
1633
|
+
"H",
|
|
1634
|
+
"h",
|
|
1635
|
+
"hB"
|
|
1636
|
+
],
|
|
1637
|
+
"gl-ES": [
|
|
1638
|
+
"H",
|
|
1639
|
+
"h",
|
|
1640
|
+
"hB"
|
|
1641
|
+
],
|
|
1642
|
+
"gu-IN": [
|
|
1643
|
+
"hB",
|
|
1644
|
+
"hb",
|
|
1645
|
+
"h",
|
|
1646
|
+
"H"
|
|
1647
|
+
],
|
|
1648
|
+
"hi-IN": [
|
|
1649
|
+
"hB",
|
|
1650
|
+
"h",
|
|
1651
|
+
"H"
|
|
1652
|
+
],
|
|
1653
|
+
"it-CH": [
|
|
1654
|
+
"H",
|
|
1655
|
+
"h",
|
|
1656
|
+
"hB"
|
|
1657
|
+
],
|
|
1658
|
+
"it-IT": [
|
|
1659
|
+
"H",
|
|
1660
|
+
"h",
|
|
1661
|
+
"hB"
|
|
1662
|
+
],
|
|
1663
|
+
"kn-IN": [
|
|
1664
|
+
"hB",
|
|
1665
|
+
"h",
|
|
1666
|
+
"H"
|
|
1667
|
+
],
|
|
1668
|
+
"ku-SY": ["H", "hB"],
|
|
1669
|
+
"ml-IN": [
|
|
1670
|
+
"hB",
|
|
1671
|
+
"h",
|
|
1672
|
+
"H"
|
|
1673
|
+
],
|
|
1674
|
+
"mr-IN": [
|
|
1675
|
+
"hB",
|
|
1676
|
+
"hb",
|
|
1677
|
+
"h",
|
|
1678
|
+
"H"
|
|
1679
|
+
],
|
|
1680
|
+
"pa-IN": [
|
|
1681
|
+
"hB",
|
|
1682
|
+
"hb",
|
|
1683
|
+
"h",
|
|
1684
|
+
"H"
|
|
1685
|
+
],
|
|
1686
|
+
"ta-IN": [
|
|
1687
|
+
"hB",
|
|
1688
|
+
"h",
|
|
1689
|
+
"hb",
|
|
1690
|
+
"H"
|
|
1691
|
+
],
|
|
1692
|
+
"te-IN": [
|
|
1693
|
+
"hB",
|
|
1694
|
+
"h",
|
|
1695
|
+
"H"
|
|
1696
|
+
],
|
|
1697
|
+
"zu-ZA": [
|
|
1698
|
+
"H",
|
|
1699
|
+
"hB",
|
|
1700
|
+
"hb",
|
|
1701
|
+
"h"
|
|
1702
|
+
]
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* Returns the best matching date time pattern if a date time skeleton
|
|
1706
|
+
* pattern is provided with a locale. Follows the Unicode specification:
|
|
1707
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#table-mapping-requested-time-skeletons-to-patterns
|
|
1708
|
+
* @param skeleton date time skeleton pattern that possibly includes j, J or C
|
|
1709
|
+
* @param locale
|
|
1710
|
+
*/
|
|
1711
|
+
function getBestPattern(skeleton, locale) {
|
|
1712
|
+
let skeletonCopy = "";
|
|
1713
|
+
for (let patternPos = 0; patternPos < skeleton.length; patternPos++) {
|
|
1714
|
+
const patternChar = skeleton.charAt(patternPos);
|
|
1715
|
+
if (patternChar === "j") {
|
|
1716
|
+
let extraLength = 0;
|
|
1717
|
+
while (patternPos + 1 < skeleton.length && skeleton.charAt(patternPos + 1) === patternChar) {
|
|
1718
|
+
extraLength++;
|
|
1719
|
+
patternPos++;
|
|
1720
|
+
}
|
|
1721
|
+
let hourLen = 1 + (extraLength & 1);
|
|
1722
|
+
let dayPeriodLen = extraLength < 2 ? 1 : 3 + (extraLength >> 1);
|
|
1723
|
+
let dayPeriodChar = "a";
|
|
1724
|
+
let hourChar = getDefaultHourSymbolFromLocale(locale);
|
|
1725
|
+
if (hourChar == "H" || hourChar == "k") dayPeriodLen = 0;
|
|
1726
|
+
while (dayPeriodLen-- > 0) skeletonCopy += dayPeriodChar;
|
|
1727
|
+
while (hourLen-- > 0) skeletonCopy = hourChar + skeletonCopy;
|
|
1728
|
+
} else if (patternChar === "J") skeletonCopy += "H";
|
|
1729
|
+
else skeletonCopy += patternChar;
|
|
1730
|
+
}
|
|
1731
|
+
return skeletonCopy;
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
* Maps the [hour cycle type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/hourCycle)
|
|
1735
|
+
* of the given `locale` to the corresponding time pattern.
|
|
1736
|
+
* @param locale
|
|
1737
|
+
*/
|
|
1738
|
+
function getDefaultHourSymbolFromLocale(locale) {
|
|
1739
|
+
let hourCycle = locale.hourCycle;
|
|
1740
|
+
if (hourCycle === void 0 && locale.hourCycles && locale.hourCycles.length) hourCycle = locale.hourCycles[0];
|
|
1741
|
+
if (hourCycle) switch (hourCycle) {
|
|
1742
|
+
case "h24": return "k";
|
|
1743
|
+
case "h23": return "H";
|
|
1744
|
+
case "h12": return "h";
|
|
1745
|
+
case "h11": return "K";
|
|
1746
|
+
default: throw new Error("Invalid hourCycle");
|
|
1747
|
+
}
|
|
1748
|
+
const languageTag = locale.language;
|
|
1749
|
+
let regionTag;
|
|
1750
|
+
if (languageTag !== "root") regionTag = locale.maximize().region;
|
|
1751
|
+
return (timeData[regionTag || ""] || timeData[languageTag || ""] || timeData[`${languageTag}-001`] || timeData["001"])[0];
|
|
1752
|
+
}
|
|
1753
|
+
const SPACE_SEPARATOR_START_REGEX = new RegExp(`^${SPACE_SEPARATOR_REGEX.source}*`);
|
|
1754
|
+
const SPACE_SEPARATOR_END_REGEX = new RegExp(`${SPACE_SEPARATOR_REGEX.source}*$`);
|
|
1755
|
+
function createLocation(start, end) {
|
|
1756
|
+
return {
|
|
1757
|
+
start,
|
|
1758
|
+
end
|
|
1759
|
+
};
|
|
1760
|
+
}
|
|
1761
|
+
const hasNativeFromEntries = !!Object.fromEntries;
|
|
1762
|
+
const hasTrimStart = !!String.prototype.trimStart;
|
|
1763
|
+
const hasTrimEnd = !!String.prototype.trimEnd;
|
|
1764
|
+
const fromEntries = hasNativeFromEntries ? Object.fromEntries : function fromEntries(entries) {
|
|
1765
|
+
const obj = {};
|
|
1766
|
+
for (const [k, v] of entries) obj[k] = v;
|
|
1767
|
+
return obj;
|
|
1768
|
+
};
|
|
1769
|
+
const trimStart = hasTrimStart ? function trimStart(s) {
|
|
1770
|
+
return s.trimStart();
|
|
1771
|
+
} : function trimStart(s) {
|
|
1772
|
+
return s.replace(SPACE_SEPARATOR_START_REGEX, "");
|
|
1773
|
+
};
|
|
1774
|
+
const trimEnd = hasTrimEnd ? function trimEnd(s) {
|
|
1775
|
+
return s.trimEnd();
|
|
1776
|
+
} : function trimEnd(s) {
|
|
1777
|
+
return s.replace(SPACE_SEPARATOR_END_REGEX, "");
|
|
1778
|
+
};
|
|
1779
|
+
const IDENTIFIER_PREFIX_RE = new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
1780
|
+
function matchIdentifierAtIndex(s, index) {
|
|
1781
|
+
IDENTIFIER_PREFIX_RE.lastIndex = index;
|
|
1782
|
+
return IDENTIFIER_PREFIX_RE.exec(s)[1] ?? "";
|
|
1783
|
+
}
|
|
1784
|
+
function plainTopLevelEndPosition(message) {
|
|
1785
|
+
if (message.length === 0) return null;
|
|
1786
|
+
let line = 1;
|
|
1787
|
+
let column = 1;
|
|
1788
|
+
for (let offset = 0; offset < message.length;) {
|
|
1789
|
+
const code = message.charCodeAt(offset);
|
|
1790
|
+
switch (code) {
|
|
1791
|
+
case 35:
|
|
1792
|
+
case 39:
|
|
1793
|
+
case 60:
|
|
1794
|
+
case 123:
|
|
1795
|
+
case 125: return null;
|
|
1796
|
+
}
|
|
1797
|
+
if (code === 10) {
|
|
1798
|
+
line++;
|
|
1799
|
+
column = 1;
|
|
1800
|
+
offset++;
|
|
1801
|
+
} else {
|
|
1802
|
+
column++;
|
|
1803
|
+
if (code >= 55296 && code <= 56319 && offset + 1 < message.length) {
|
|
1804
|
+
const next = message.charCodeAt(offset + 1);
|
|
1805
|
+
offset += next >= 56320 && next <= 57343 ? 2 : 1;
|
|
1806
|
+
} else offset++;
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
return {
|
|
1810
|
+
offset: message.length,
|
|
1811
|
+
line,
|
|
1812
|
+
column
|
|
1813
|
+
};
|
|
1814
|
+
}
|
|
1815
|
+
var Parser = class {
|
|
1816
|
+
constructor(message, options = {}) {
|
|
1817
|
+
this.message = message;
|
|
1818
|
+
this.position = {
|
|
1819
|
+
offset: 0,
|
|
1820
|
+
line: 1,
|
|
1821
|
+
column: 1
|
|
1822
|
+
};
|
|
1823
|
+
this.ignoreTag = !!options.ignoreTag;
|
|
1824
|
+
this.locale = options.locale;
|
|
1825
|
+
this.requiresOtherClause = !!options.requiresOtherClause;
|
|
1826
|
+
this.shouldParseSkeletons = !!options.shouldParseSkeletons;
|
|
1827
|
+
}
|
|
1828
|
+
parse() {
|
|
1829
|
+
if (this.offset() !== 0) throw Error("parser can only be used once");
|
|
1830
|
+
if (this.message.length > 0) {
|
|
1831
|
+
const firstCode = this.message.charCodeAt(0);
|
|
1832
|
+
if (firstCode !== 35 && firstCode !== 39 && firstCode !== 60 && firstCode !== 123 && firstCode !== 125) {
|
|
1833
|
+
const plainEndPosition = plainTopLevelEndPosition(this.message);
|
|
1834
|
+
if (plainEndPosition) {
|
|
1835
|
+
const start = this.clonePosition();
|
|
1836
|
+
this.position = plainEndPosition;
|
|
1837
|
+
return {
|
|
1838
|
+
val: [{
|
|
1839
|
+
type: 0,
|
|
1840
|
+
value: this.message,
|
|
1841
|
+
location: createLocation(start, this.clonePosition())
|
|
1842
|
+
}],
|
|
1843
|
+
err: null
|
|
1844
|
+
};
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
return this.parseMessage(0, "", false);
|
|
1849
|
+
}
|
|
1850
|
+
parseMessage(nestingLevel, parentArgType, expectingCloseTag) {
|
|
1851
|
+
let elements = [];
|
|
1852
|
+
while (!this.isEOF()) {
|
|
1853
|
+
const char = this.char();
|
|
1854
|
+
if (char === 123) {
|
|
1855
|
+
const result = this.parseArgument(nestingLevel, expectingCloseTag);
|
|
1856
|
+
if (result.err) return result;
|
|
1857
|
+
elements.push(result.val);
|
|
1858
|
+
} else if (char === 125 && nestingLevel > 0) break;
|
|
1859
|
+
else if (char === 35 && (parentArgType === "plural" || parentArgType === "selectordinal")) {
|
|
1860
|
+
const position = this.clonePosition();
|
|
1861
|
+
this.bump();
|
|
1862
|
+
elements.push({
|
|
1863
|
+
type: 7,
|
|
1864
|
+
location: createLocation(position, this.clonePosition())
|
|
1865
|
+
});
|
|
1866
|
+
} else if (char === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
1867
|
+
if (expectingCloseTag) break;
|
|
1868
|
+
else return this.error(26, createLocation(this.clonePosition(), this.clonePosition()));
|
|
1869
|
+
} else if (char === 60 && !this.ignoreTag && _isAlpha(this.peek() || 0)) {
|
|
1870
|
+
const result = this.parseTag(nestingLevel, parentArgType);
|
|
1871
|
+
if (result.err) return result;
|
|
1872
|
+
elements.push(result.val);
|
|
1873
|
+
} else {
|
|
1874
|
+
const result = this.parseLiteral(nestingLevel, parentArgType);
|
|
1875
|
+
if (result.err) return result;
|
|
1876
|
+
elements.push(result.val);
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
return {
|
|
1880
|
+
val: elements,
|
|
1881
|
+
err: null
|
|
1882
|
+
};
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
|
|
1886
|
+
* [custom element name][] except that a dash is NOT always mandatory and uppercase letters
|
|
1887
|
+
* are accepted:
|
|
1888
|
+
*
|
|
1889
|
+
* ```
|
|
1890
|
+
* tag ::= "<" tagName (whitespace)* "/>" | "<" tagName (whitespace)* ">" message "</" tagName (whitespace)* ">"
|
|
1891
|
+
* tagName ::= [a-z] (PENChar)*
|
|
1892
|
+
* PENChar ::=
|
|
1893
|
+
* "-" | "." | [0-9] | "_" | [a-z] | [A-Z] | #xB7 | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x37D] |
|
|
1894
|
+
* [#x37F-#x1FFF] | [#x200C-#x200D] | [#x203F-#x2040] | [#x2070-#x218F] | [#x2C00-#x2FEF] |
|
|
1895
|
+
* [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
|
|
1896
|
+
* ```
|
|
1897
|
+
*
|
|
1898
|
+
* [custom element name]: https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
|
|
1899
|
+
* NOTE: We're a bit more lax here since HTML technically does not allow uppercase HTML element but we do
|
|
1900
|
+
* since other tag-based engines like React allow it
|
|
1901
|
+
*/
|
|
1902
|
+
parseTag(nestingLevel, parentArgType) {
|
|
1903
|
+
const startPosition = this.clonePosition();
|
|
1904
|
+
this.bump();
|
|
1905
|
+
const tagName = this.parseTagName();
|
|
1906
|
+
this.bumpSpace();
|
|
1907
|
+
if (this.bumpIf("/>")) return {
|
|
1908
|
+
val: {
|
|
1909
|
+
type: 0,
|
|
1910
|
+
value: `<${tagName}/>`,
|
|
1911
|
+
location: createLocation(startPosition, this.clonePosition())
|
|
1912
|
+
},
|
|
1913
|
+
err: null
|
|
1914
|
+
};
|
|
1915
|
+
else if (this.bumpIf(">")) {
|
|
1916
|
+
const childrenResult = this.parseMessage(nestingLevel + 1, parentArgType, true);
|
|
1917
|
+
if (childrenResult.err) return childrenResult;
|
|
1918
|
+
const children = childrenResult.val;
|
|
1919
|
+
const endTagStartPosition = this.clonePosition();
|
|
1920
|
+
if (this.bumpIf("</")) {
|
|
1921
|
+
if (this.isEOF() || !_isAlpha(this.char())) return this.error(23, createLocation(endTagStartPosition, this.clonePosition()));
|
|
1922
|
+
const closingTagNameStartPosition = this.clonePosition();
|
|
1923
|
+
if (tagName !== this.parseTagName()) return this.error(26, createLocation(closingTagNameStartPosition, this.clonePosition()));
|
|
1924
|
+
this.bumpSpace();
|
|
1925
|
+
if (!this.bumpIf(">")) return this.error(23, createLocation(endTagStartPosition, this.clonePosition()));
|
|
1926
|
+
return {
|
|
1927
|
+
val: {
|
|
1928
|
+
type: 8,
|
|
1929
|
+
value: tagName,
|
|
1930
|
+
children,
|
|
1931
|
+
location: createLocation(startPosition, this.clonePosition())
|
|
1932
|
+
},
|
|
1933
|
+
err: null
|
|
1934
|
+
};
|
|
1935
|
+
} else return this.error(27, createLocation(startPosition, this.clonePosition()));
|
|
1936
|
+
} else return this.error(23, createLocation(startPosition, this.clonePosition()));
|
|
1937
|
+
}
|
|
1938
|
+
/**
|
|
1939
|
+
* This method assumes that the caller has peeked ahead for the first tag character.
|
|
1940
|
+
*/
|
|
1941
|
+
parseTagName() {
|
|
1942
|
+
const startOffset = this.offset();
|
|
1943
|
+
this.bump();
|
|
1944
|
+
while (!this.isEOF() && _isPotentialElementNameChar(this.char())) this.bump();
|
|
1945
|
+
return this.message.slice(startOffset, this.offset());
|
|
1946
|
+
}
|
|
1947
|
+
parseLiteral(nestingLevel, parentArgType) {
|
|
1948
|
+
const start = this.clonePosition();
|
|
1949
|
+
let value = "";
|
|
1950
|
+
while (true) {
|
|
1951
|
+
const parseQuoteResult = this.tryParseQuote(parentArgType);
|
|
1952
|
+
if (parseQuoteResult) {
|
|
1953
|
+
value += parseQuoteResult;
|
|
1954
|
+
continue;
|
|
1955
|
+
}
|
|
1956
|
+
const parseUnquotedResult = this.tryParseUnquoted(nestingLevel, parentArgType);
|
|
1957
|
+
if (parseUnquotedResult) {
|
|
1958
|
+
value += parseUnquotedResult;
|
|
1959
|
+
continue;
|
|
1960
|
+
}
|
|
1961
|
+
const parseLeftAngleResult = this.tryParseLeftAngleBracket();
|
|
1962
|
+
if (parseLeftAngleResult) {
|
|
1963
|
+
value += parseLeftAngleResult;
|
|
1964
|
+
continue;
|
|
1965
|
+
}
|
|
1966
|
+
break;
|
|
1967
|
+
}
|
|
1968
|
+
const location = createLocation(start, this.clonePosition());
|
|
1969
|
+
return {
|
|
1970
|
+
val: {
|
|
1971
|
+
type: 0,
|
|
1972
|
+
value,
|
|
1973
|
+
location
|
|
1974
|
+
},
|
|
1975
|
+
err: null
|
|
1976
|
+
};
|
|
1977
|
+
}
|
|
1978
|
+
tryParseLeftAngleBracket() {
|
|
1979
|
+
if (!this.isEOF() && this.char() === 60 && (this.ignoreTag || !_isAlphaOrSlash(this.peek() || 0))) {
|
|
1980
|
+
this.bump();
|
|
1981
|
+
return "<";
|
|
1982
|
+
}
|
|
1983
|
+
return null;
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
|
|
1987
|
+
* a character that requires quoting (that is, "only where needed"), and works the same in
|
|
1988
|
+
* nested messages as on the top level of the pattern. The new behavior is otherwise compatible.
|
|
1989
|
+
*/
|
|
1990
|
+
tryParseQuote(parentArgType) {
|
|
1991
|
+
if (this.isEOF() || this.char() !== 39) return null;
|
|
1992
|
+
switch (this.peek()) {
|
|
1993
|
+
case 39:
|
|
1994
|
+
this.bump();
|
|
1995
|
+
this.bump();
|
|
1996
|
+
return "'";
|
|
1997
|
+
case 123:
|
|
1998
|
+
case 60:
|
|
1999
|
+
case 62:
|
|
2000
|
+
case 125: break;
|
|
2001
|
+
case 35:
|
|
2002
|
+
if (parentArgType === "plural" || parentArgType === "selectordinal") break;
|
|
2003
|
+
return null;
|
|
2004
|
+
default: return null;
|
|
2005
|
+
}
|
|
2006
|
+
this.bump();
|
|
2007
|
+
const codePoints = [this.char()];
|
|
2008
|
+
this.bump();
|
|
2009
|
+
while (!this.isEOF()) {
|
|
2010
|
+
const ch = this.char();
|
|
2011
|
+
if (ch === 39) {
|
|
2012
|
+
if (this.peek() === 39) {
|
|
2013
|
+
codePoints.push(39);
|
|
2014
|
+
this.bump();
|
|
2015
|
+
} else {
|
|
2016
|
+
this.bump();
|
|
2017
|
+
break;
|
|
2018
|
+
}
|
|
2019
|
+
} else codePoints.push(ch);
|
|
2020
|
+
this.bump();
|
|
2021
|
+
}
|
|
2022
|
+
return String.fromCodePoint(...codePoints);
|
|
2023
|
+
}
|
|
2024
|
+
tryParseUnquoted(nestingLevel, parentArgType) {
|
|
2025
|
+
if (this.isEOF()) return null;
|
|
2026
|
+
const ch = this.char();
|
|
2027
|
+
if (ch === 60 || ch === 123 || ch === 35 && (parentArgType === "plural" || parentArgType === "selectordinal") || ch === 125 && nestingLevel > 0) return null;
|
|
2028
|
+
else {
|
|
2029
|
+
this.bump();
|
|
2030
|
+
return String.fromCodePoint(ch);
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
parseArgument(nestingLevel, expectingCloseTag) {
|
|
2034
|
+
const openingBracePosition = this.clonePosition();
|
|
2035
|
+
this.bump();
|
|
2036
|
+
this.bumpSpace();
|
|
2037
|
+
if (this.isEOF()) return this.error(1, createLocation(openingBracePosition, this.clonePosition()));
|
|
2038
|
+
if (this.char() === 125) {
|
|
2039
|
+
this.bump();
|
|
2040
|
+
return this.error(2, createLocation(openingBracePosition, this.clonePosition()));
|
|
2041
|
+
}
|
|
2042
|
+
let value = this.parseIdentifierIfPossible().value;
|
|
2043
|
+
if (!value) return this.error(3, createLocation(openingBracePosition, this.clonePosition()));
|
|
2044
|
+
this.bumpSpace();
|
|
2045
|
+
if (this.isEOF()) return this.error(1, createLocation(openingBracePosition, this.clonePosition()));
|
|
2046
|
+
switch (this.char()) {
|
|
2047
|
+
case 125:
|
|
2048
|
+
this.bump();
|
|
2049
|
+
return {
|
|
2050
|
+
val: {
|
|
2051
|
+
type: 1,
|
|
2052
|
+
value,
|
|
2053
|
+
location: createLocation(openingBracePosition, this.clonePosition())
|
|
2054
|
+
},
|
|
2055
|
+
err: null
|
|
2056
|
+
};
|
|
2057
|
+
case 44:
|
|
2058
|
+
this.bump();
|
|
2059
|
+
this.bumpSpace();
|
|
2060
|
+
if (this.isEOF()) return this.error(1, createLocation(openingBracePosition, this.clonePosition()));
|
|
2061
|
+
return this.parseArgumentOptions(nestingLevel, expectingCloseTag, value, openingBracePosition);
|
|
2062
|
+
default: return this.error(3, createLocation(openingBracePosition, this.clonePosition()));
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* Advance the parser until the end of the identifier, if it is currently on
|
|
2067
|
+
* an identifier character. Return an empty string otherwise.
|
|
2068
|
+
*/
|
|
2069
|
+
parseIdentifierIfPossible() {
|
|
2070
|
+
const startingPosition = this.clonePosition();
|
|
2071
|
+
const startOffset = this.offset();
|
|
2072
|
+
const value = matchIdentifierAtIndex(this.message, startOffset);
|
|
2073
|
+
const endOffset = startOffset + value.length;
|
|
2074
|
+
this.bumpTo(endOffset);
|
|
2075
|
+
return {
|
|
2076
|
+
value,
|
|
2077
|
+
location: createLocation(startingPosition, this.clonePosition())
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
parseArgumentOptions(nestingLevel, expectingCloseTag, value, openingBracePosition) {
|
|
2081
|
+
let typeStartPosition = this.clonePosition();
|
|
2082
|
+
let argType = this.parseIdentifierIfPossible().value;
|
|
2083
|
+
let typeEndPosition = this.clonePosition();
|
|
2084
|
+
switch (argType) {
|
|
2085
|
+
case "": return this.error(4, createLocation(typeStartPosition, typeEndPosition));
|
|
2086
|
+
case "number":
|
|
2087
|
+
case "date":
|
|
2088
|
+
case "time": {
|
|
2089
|
+
this.bumpSpace();
|
|
2090
|
+
let styleAndLocation = null;
|
|
2091
|
+
if (this.bumpIf(",")) {
|
|
2092
|
+
this.bumpSpace();
|
|
2093
|
+
const styleStartPosition = this.clonePosition();
|
|
2094
|
+
const result = this.parseSimpleArgStyleIfPossible();
|
|
2095
|
+
if (result.err) return result;
|
|
2096
|
+
const style = trimEnd(result.val);
|
|
2097
|
+
if (style.length === 0) return this.error(6, createLocation(this.clonePosition(), this.clonePosition()));
|
|
2098
|
+
styleAndLocation = {
|
|
2099
|
+
style,
|
|
2100
|
+
styleLocation: createLocation(styleStartPosition, this.clonePosition())
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
const argCloseResult = this.tryParseArgumentClose(openingBracePosition);
|
|
2104
|
+
if (argCloseResult.err) return argCloseResult;
|
|
2105
|
+
const location = createLocation(openingBracePosition, this.clonePosition());
|
|
2106
|
+
if (styleAndLocation && styleAndLocation.style.startsWith("::")) {
|
|
2107
|
+
let skeleton = trimStart(styleAndLocation.style.slice(2));
|
|
2108
|
+
if (argType === "number") {
|
|
2109
|
+
const result = this.parseNumberSkeletonFromString(skeleton, styleAndLocation.styleLocation);
|
|
2110
|
+
if (result.err) return result;
|
|
2111
|
+
return {
|
|
2112
|
+
val: {
|
|
2113
|
+
type: 2,
|
|
2114
|
+
value,
|
|
2115
|
+
location,
|
|
2116
|
+
style: result.val
|
|
2117
|
+
},
|
|
2118
|
+
err: null
|
|
2119
|
+
};
|
|
2120
|
+
} else {
|
|
2121
|
+
if (skeleton.length === 0) return this.error(10, location);
|
|
2122
|
+
let dateTimePattern = skeleton;
|
|
2123
|
+
if (this.locale) dateTimePattern = getBestPattern(skeleton, this.locale);
|
|
2124
|
+
const style = {
|
|
2125
|
+
type: 1,
|
|
2126
|
+
pattern: dateTimePattern,
|
|
2127
|
+
location: styleAndLocation.styleLocation,
|
|
2128
|
+
parsedOptions: this.shouldParseSkeletons ? parseDateTimeSkeleton(dateTimePattern) : {}
|
|
2129
|
+
};
|
|
2130
|
+
return {
|
|
2131
|
+
val: {
|
|
2132
|
+
type: argType === "date" ? 3 : 4,
|
|
2133
|
+
value,
|
|
2134
|
+
location,
|
|
2135
|
+
style
|
|
2136
|
+
},
|
|
2137
|
+
err: null
|
|
2138
|
+
};
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
return {
|
|
2142
|
+
val: {
|
|
2143
|
+
type: argType === "number" ? 2 : argType === "date" ? 3 : 4,
|
|
2144
|
+
value,
|
|
2145
|
+
location,
|
|
2146
|
+
style: styleAndLocation?.style ?? null
|
|
2147
|
+
},
|
|
2148
|
+
err: null
|
|
2149
|
+
};
|
|
2150
|
+
}
|
|
2151
|
+
case "plural":
|
|
2152
|
+
case "selectordinal":
|
|
2153
|
+
case "select": {
|
|
2154
|
+
const typeEndPosition = this.clonePosition();
|
|
2155
|
+
this.bumpSpace();
|
|
2156
|
+
if (!this.bumpIf(",")) return this.error(12, createLocation(typeEndPosition, { ...typeEndPosition }));
|
|
2157
|
+
this.bumpSpace();
|
|
2158
|
+
let identifierAndLocation = this.parseIdentifierIfPossible();
|
|
2159
|
+
let pluralOffset = 0;
|
|
2160
|
+
if (argType !== "select" && identifierAndLocation.value === "offset") {
|
|
2161
|
+
if (!this.bumpIf(":")) return this.error(13, createLocation(this.clonePosition(), this.clonePosition()));
|
|
2162
|
+
this.bumpSpace();
|
|
2163
|
+
const result = this.tryParseDecimalInteger(13, 14);
|
|
2164
|
+
if (result.err) return result;
|
|
2165
|
+
this.bumpSpace();
|
|
2166
|
+
identifierAndLocation = this.parseIdentifierIfPossible();
|
|
2167
|
+
pluralOffset = result.val;
|
|
2168
|
+
}
|
|
2169
|
+
const optionsResult = this.tryParsePluralOrSelectOptions(nestingLevel, argType, expectingCloseTag, identifierAndLocation);
|
|
2170
|
+
if (optionsResult.err) return optionsResult;
|
|
2171
|
+
const argCloseResult = this.tryParseArgumentClose(openingBracePosition);
|
|
2172
|
+
if (argCloseResult.err) return argCloseResult;
|
|
2173
|
+
const location = createLocation(openingBracePosition, this.clonePosition());
|
|
2174
|
+
if (argType === "select") return {
|
|
2175
|
+
val: {
|
|
2176
|
+
type: 5,
|
|
2177
|
+
value,
|
|
2178
|
+
options: fromEntries(optionsResult.val),
|
|
2179
|
+
location
|
|
2180
|
+
},
|
|
2181
|
+
err: null
|
|
2182
|
+
};
|
|
2183
|
+
else return {
|
|
2184
|
+
val: {
|
|
2185
|
+
type: 6,
|
|
2186
|
+
value,
|
|
2187
|
+
options: fromEntries(optionsResult.val),
|
|
2188
|
+
offset: pluralOffset,
|
|
2189
|
+
pluralType: argType === "plural" ? "cardinal" : "ordinal",
|
|
2190
|
+
location
|
|
2191
|
+
},
|
|
2192
|
+
err: null
|
|
2193
|
+
};
|
|
2194
|
+
}
|
|
2195
|
+
default: return this.error(5, createLocation(typeStartPosition, typeEndPosition));
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
tryParseArgumentClose(openingBracePosition) {
|
|
2199
|
+
if (this.isEOF() || this.char() !== 125) return this.error(1, createLocation(openingBracePosition, this.clonePosition()));
|
|
2200
|
+
this.bump();
|
|
2201
|
+
return {
|
|
2202
|
+
val: true,
|
|
2203
|
+
err: null
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
/**
|
|
2207
|
+
* See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
|
|
2208
|
+
*/
|
|
2209
|
+
parseSimpleArgStyleIfPossible() {
|
|
2210
|
+
let nestedBraces = 0;
|
|
2211
|
+
const startPosition = this.clonePosition();
|
|
2212
|
+
while (!this.isEOF()) switch (this.char()) {
|
|
2213
|
+
case 39: {
|
|
2214
|
+
this.bump();
|
|
2215
|
+
let apostrophePosition = this.clonePosition();
|
|
2216
|
+
if (!this.bumpUntil("'")) return this.error(11, createLocation(apostrophePosition, this.clonePosition()));
|
|
2217
|
+
this.bump();
|
|
2218
|
+
break;
|
|
2219
|
+
}
|
|
2220
|
+
case 123:
|
|
2221
|
+
nestedBraces += 1;
|
|
2222
|
+
this.bump();
|
|
2223
|
+
break;
|
|
2224
|
+
case 125:
|
|
2225
|
+
if (nestedBraces > 0) nestedBraces -= 1;
|
|
2226
|
+
else return {
|
|
2227
|
+
val: this.message.slice(startPosition.offset, this.offset()),
|
|
2228
|
+
err: null
|
|
2229
|
+
};
|
|
2230
|
+
break;
|
|
2231
|
+
default: this.bump();
|
|
2232
|
+
}
|
|
2233
|
+
return {
|
|
2234
|
+
val: this.message.slice(startPosition.offset, this.offset()),
|
|
2235
|
+
err: null
|
|
2236
|
+
};
|
|
2237
|
+
}
|
|
2238
|
+
parseNumberSkeletonFromString(skeleton, location) {
|
|
2239
|
+
let tokens = [];
|
|
2240
|
+
try {
|
|
2241
|
+
tokens = parseNumberSkeletonFromString(skeleton);
|
|
2242
|
+
} catch {
|
|
2243
|
+
return this.error(7, location);
|
|
2244
|
+
}
|
|
2245
|
+
return {
|
|
2246
|
+
val: {
|
|
2247
|
+
type: 0,
|
|
2248
|
+
tokens,
|
|
2249
|
+
location,
|
|
2250
|
+
parsedOptions: this.shouldParseSkeletons ? parseNumberSkeleton(tokens) : {}
|
|
2251
|
+
},
|
|
2252
|
+
err: null
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* @param nesting_level The current nesting level of messages.
|
|
2257
|
+
* This can be positive when parsing message fragment in select or plural argument options.
|
|
2258
|
+
* @param parent_arg_type The parent argument's type.
|
|
2259
|
+
* @param parsed_first_identifier If provided, this is the first identifier-like selector of
|
|
2260
|
+
* the argument. It is a by-product of a previous parsing attempt.
|
|
2261
|
+
* @param expecting_close_tag If true, this message is directly or indirectly nested inside
|
|
2262
|
+
* between a pair of opening and closing tags. The nested message will not parse beyond
|
|
2263
|
+
* the closing tag boundary.
|
|
2264
|
+
*/
|
|
2265
|
+
tryParsePluralOrSelectOptions(nestingLevel, parentArgType, expectCloseTag, parsedFirstIdentifier) {
|
|
2266
|
+
let hasOtherClause = false;
|
|
2267
|
+
const options = [];
|
|
2268
|
+
const parsedSelectors = /* @__PURE__ */ new Set();
|
|
2269
|
+
let { value: selector, location: selectorLocation } = parsedFirstIdentifier;
|
|
2270
|
+
while (true) {
|
|
2271
|
+
if (selector.length === 0) {
|
|
2272
|
+
const startPosition = this.clonePosition();
|
|
2273
|
+
if (parentArgType !== "select" && this.bumpIf("=")) {
|
|
2274
|
+
const result = this.tryParseDecimalInteger(16, 19);
|
|
2275
|
+
if (result.err) return result;
|
|
2276
|
+
selectorLocation = createLocation(startPosition, this.clonePosition());
|
|
2277
|
+
selector = this.message.slice(startPosition.offset, this.offset());
|
|
2278
|
+
} else break;
|
|
2279
|
+
}
|
|
2280
|
+
if (parsedSelectors.has(selector)) return this.error(parentArgType === "select" ? 21 : 20, selectorLocation);
|
|
2281
|
+
if (selector === "other") hasOtherClause = true;
|
|
2282
|
+
this.bumpSpace();
|
|
2283
|
+
const openingBracePosition = this.clonePosition();
|
|
2284
|
+
if (!this.bumpIf("{")) return this.error(parentArgType === "select" ? 17 : 18, createLocation(this.clonePosition(), this.clonePosition()));
|
|
2285
|
+
const fragmentResult = this.parseMessage(nestingLevel + 1, parentArgType, expectCloseTag);
|
|
2286
|
+
if (fragmentResult.err) return fragmentResult;
|
|
2287
|
+
const argCloseResult = this.tryParseArgumentClose(openingBracePosition);
|
|
2288
|
+
if (argCloseResult.err) return argCloseResult;
|
|
2289
|
+
options.push([selector, {
|
|
2290
|
+
value: fragmentResult.val,
|
|
2291
|
+
location: createLocation(openingBracePosition, this.clonePosition())
|
|
2292
|
+
}]);
|
|
2293
|
+
parsedSelectors.add(selector);
|
|
2294
|
+
this.bumpSpace();
|
|
2295
|
+
({value: selector, location: selectorLocation} = this.parseIdentifierIfPossible());
|
|
2296
|
+
}
|
|
2297
|
+
if (options.length === 0) return this.error(parentArgType === "select" ? 15 : 16, createLocation(this.clonePosition(), this.clonePosition()));
|
|
2298
|
+
if (this.requiresOtherClause && !hasOtherClause) return this.error(22, createLocation(this.clonePosition(), this.clonePosition()));
|
|
2299
|
+
return {
|
|
2300
|
+
val: options,
|
|
2301
|
+
err: null
|
|
2302
|
+
};
|
|
2303
|
+
}
|
|
2304
|
+
tryParseDecimalInteger(expectNumberError, invalidNumberError) {
|
|
2305
|
+
let sign = 1;
|
|
2306
|
+
const startingPosition = this.clonePosition();
|
|
2307
|
+
if (this.bumpIf("+")) {} else if (this.bumpIf("-")) sign = -1;
|
|
2308
|
+
let hasDigits = false;
|
|
2309
|
+
let decimal = 0;
|
|
2310
|
+
while (!this.isEOF()) {
|
|
2311
|
+
const ch = this.char();
|
|
2312
|
+
if (ch >= 48 && ch <= 57) {
|
|
2313
|
+
hasDigits = true;
|
|
2314
|
+
decimal = decimal * 10 + (ch - 48);
|
|
2315
|
+
this.bump();
|
|
2316
|
+
} else break;
|
|
2317
|
+
}
|
|
2318
|
+
const location = createLocation(startingPosition, this.clonePosition());
|
|
2319
|
+
if (!hasDigits) return this.error(expectNumberError, location);
|
|
2320
|
+
decimal *= sign;
|
|
2321
|
+
if (!Number.isSafeInteger(decimal)) return this.error(invalidNumberError, location);
|
|
2322
|
+
return {
|
|
2323
|
+
val: decimal,
|
|
2324
|
+
err: null
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
offset() {
|
|
2328
|
+
return this.position.offset;
|
|
2329
|
+
}
|
|
2330
|
+
isEOF() {
|
|
2331
|
+
return this.offset() === this.message.length;
|
|
2332
|
+
}
|
|
2333
|
+
clonePosition() {
|
|
2334
|
+
return {
|
|
2335
|
+
offset: this.position.offset,
|
|
2336
|
+
line: this.position.line,
|
|
2337
|
+
column: this.position.column
|
|
2338
|
+
};
|
|
2339
|
+
}
|
|
2340
|
+
/**
|
|
2341
|
+
* Return the code point at the current position of the parser.
|
|
2342
|
+
* Throws if the index is out of bound.
|
|
2343
|
+
*/
|
|
2344
|
+
char() {
|
|
2345
|
+
const offset = this.position.offset;
|
|
2346
|
+
if (offset >= this.message.length) throw Error("out of bound");
|
|
2347
|
+
const code = this.message.codePointAt(offset);
|
|
2348
|
+
if (code === void 0) throw Error(`Offset ${offset} is at invalid UTF-16 code unit boundary`);
|
|
2349
|
+
return code;
|
|
2350
|
+
}
|
|
2351
|
+
error(kind, location) {
|
|
2352
|
+
return {
|
|
2353
|
+
val: null,
|
|
2354
|
+
err: {
|
|
2355
|
+
kind,
|
|
2356
|
+
message: this.message,
|
|
2357
|
+
location
|
|
2358
|
+
}
|
|
2359
|
+
};
|
|
2360
|
+
}
|
|
2361
|
+
/** Bump the parser to the next UTF-16 code unit. */
|
|
2362
|
+
bump() {
|
|
2363
|
+
if (this.isEOF()) return;
|
|
2364
|
+
const code = this.char();
|
|
2365
|
+
if (code === 10) {
|
|
2366
|
+
this.position.line += 1;
|
|
2367
|
+
this.position.column = 1;
|
|
2368
|
+
this.position.offset += 1;
|
|
2369
|
+
} else {
|
|
2370
|
+
this.position.column += 1;
|
|
2371
|
+
this.position.offset += code < 65536 ? 1 : 2;
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
/**
|
|
2375
|
+
* If the substring starting at the current position of the parser has
|
|
2376
|
+
* the given prefix, then bump the parser to the character immediately
|
|
2377
|
+
* following the prefix and return true. Otherwise, don't bump the parser
|
|
2378
|
+
* and return false.
|
|
2379
|
+
*/
|
|
2380
|
+
bumpIf(prefix) {
|
|
2381
|
+
if (this.message.startsWith(prefix, this.offset())) {
|
|
2382
|
+
for (let i = 0; i < prefix.length; i++) this.bump();
|
|
2383
|
+
return true;
|
|
2384
|
+
}
|
|
2385
|
+
return false;
|
|
2386
|
+
}
|
|
2387
|
+
/**
|
|
2388
|
+
* Bump the parser until the pattern character is found and return `true`.
|
|
2389
|
+
* Otherwise bump to the end of the file and return `false`.
|
|
2390
|
+
*/
|
|
2391
|
+
bumpUntil(pattern) {
|
|
2392
|
+
const currentOffset = this.offset();
|
|
2393
|
+
const index = this.message.indexOf(pattern, currentOffset);
|
|
2394
|
+
if (index >= 0) {
|
|
2395
|
+
this.bumpTo(index);
|
|
2396
|
+
return true;
|
|
2397
|
+
} else {
|
|
2398
|
+
this.bumpTo(this.message.length);
|
|
2399
|
+
return false;
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
/**
|
|
2403
|
+
* Bump the parser to the target offset.
|
|
2404
|
+
* If target offset is beyond the end of the input, bump the parser to the end of the input.
|
|
2405
|
+
*/
|
|
2406
|
+
bumpTo(targetOffset) {
|
|
2407
|
+
if (this.offset() > targetOffset) throw Error(`targetOffset ${targetOffset} must be greater than or equal to the current offset ${this.offset()}`);
|
|
2408
|
+
targetOffset = Math.min(targetOffset, this.message.length);
|
|
2409
|
+
while (true) {
|
|
2410
|
+
const offset = this.offset();
|
|
2411
|
+
if (offset === targetOffset) break;
|
|
2412
|
+
if (offset > targetOffset) throw Error(`targetOffset ${targetOffset} is at invalid UTF-16 code unit boundary`);
|
|
2413
|
+
this.bump();
|
|
2414
|
+
if (this.isEOF()) break;
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
/** advance the parser through all whitespace to the next non-whitespace code unit. */
|
|
2418
|
+
bumpSpace() {
|
|
2419
|
+
while (!this.isEOF() && _isWhiteSpace(this.char())) this.bump();
|
|
2420
|
+
}
|
|
2421
|
+
/**
|
|
2422
|
+
* Peek at the *next* Unicode codepoint in the input without advancing the parser.
|
|
2423
|
+
* If the input has been exhausted, then this returns null.
|
|
2424
|
+
*/
|
|
2425
|
+
peek() {
|
|
2426
|
+
if (this.isEOF()) return null;
|
|
2427
|
+
const code = this.char();
|
|
2428
|
+
const offset = this.offset();
|
|
2429
|
+
return this.message.charCodeAt(offset + (code >= 65536 ? 2 : 1)) ?? null;
|
|
2430
|
+
}
|
|
2431
|
+
};
|
|
2432
|
+
/**
|
|
2433
|
+
* This check if codepoint is alphabet (lower & uppercase)
|
|
2434
|
+
* @param codepoint
|
|
2435
|
+
* @returns
|
|
2436
|
+
*/
|
|
2437
|
+
function _isAlpha(codepoint) {
|
|
2438
|
+
return codepoint >= 97 && codepoint <= 122 || codepoint >= 65 && codepoint <= 90;
|
|
2439
|
+
}
|
|
2440
|
+
function _isAlphaOrSlash(codepoint) {
|
|
2441
|
+
return _isAlpha(codepoint) || codepoint === 47;
|
|
2442
|
+
}
|
|
2443
|
+
/** See `parseTag` function docs. */
|
|
2444
|
+
function _isPotentialElementNameChar(c) {
|
|
2445
|
+
return c === 45 || c === 46 || c >= 48 && c <= 57 || c === 95 || c >= 97 && c <= 122 || c >= 65 && c <= 90 || c == 183 || c >= 192 && c <= 214 || c >= 216 && c <= 246 || c >= 248 && c <= 893 || c >= 895 && c <= 8191 || c >= 8204 && c <= 8205 || c >= 8255 && c <= 8256 || c >= 8304 && c <= 8591 || c >= 11264 && c <= 12271 || c >= 12289 && c <= 55295 || c >= 63744 && c <= 64975 || c >= 65008 && c <= 65533 || c >= 65536 && c <= 983039;
|
|
2446
|
+
}
|
|
2447
|
+
/**
|
|
2448
|
+
* Code point equivalent of regex `\p{White_Space}`.
|
|
2449
|
+
* From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
2450
|
+
*/
|
|
2451
|
+
function _isWhiteSpace(c) {
|
|
2452
|
+
return c >= 9 && c <= 13 || c === 32 || c === 133 || c >= 8206 && c <= 8207 || c === 8232 || c === 8233;
|
|
2453
|
+
}
|
|
2454
|
+
function pruneLocation(els) {
|
|
2455
|
+
els.forEach((el) => {
|
|
2456
|
+
delete el.location;
|
|
2457
|
+
if (isSelectElement(el) || isPluralElement(el)) for (const k in el.options) {
|
|
2458
|
+
delete el.options[k].location;
|
|
2459
|
+
pruneLocation(el.options[k].value);
|
|
2460
|
+
}
|
|
2461
|
+
else if (isNumberElement(el) && isNumberSkeleton(el.style)) delete el.style.location;
|
|
2462
|
+
else if ((isDateElement(el) || isTimeElement(el)) && isDateTimeSkeleton(el.style)) delete el.style.location;
|
|
2463
|
+
else if (isTagElement(el)) pruneLocation(el.children);
|
|
2464
|
+
});
|
|
2465
|
+
}
|
|
2466
|
+
function parse(message, opts = {}) {
|
|
2467
|
+
opts = {
|
|
2468
|
+
shouldParseSkeletons: true,
|
|
2469
|
+
requiresOtherClause: true,
|
|
2470
|
+
...opts
|
|
2471
|
+
};
|
|
2472
|
+
const result = new Parser(message, opts).parse();
|
|
2473
|
+
if (result.err) {
|
|
2474
|
+
const error = SyntaxError(ErrorKind[result.err.kind]);
|
|
2475
|
+
error.location = result.err.location;
|
|
2476
|
+
error.originalMessage = result.err.message;
|
|
2477
|
+
throw error;
|
|
2478
|
+
}
|
|
2479
|
+
if (!opts?.captureLocation) pruneLocation(result.val);
|
|
2480
|
+
return result.val;
|
|
2481
|
+
}
|
|
2482
|
+
//#endregion
|
|
2483
|
+
//#region packages/intl-messageformat/error.ts
|
|
2484
|
+
let ErrorCode = /* @__PURE__ */ function(ErrorCode) {
|
|
2485
|
+
ErrorCode["MISSING_VALUE"] = "MISSING_VALUE";
|
|
2486
|
+
ErrorCode["INVALID_VALUE"] = "INVALID_VALUE";
|
|
2487
|
+
ErrorCode["MISSING_INTL_API"] = "MISSING_INTL_API";
|
|
2488
|
+
return ErrorCode;
|
|
2489
|
+
}({});
|
|
2490
|
+
var FormatError = class extends Error {
|
|
2491
|
+
constructor(msg, code, originalMessage) {
|
|
2492
|
+
super(msg);
|
|
2493
|
+
this.code = code;
|
|
2494
|
+
this.originalMessage = originalMessage;
|
|
2495
|
+
}
|
|
2496
|
+
toString() {
|
|
2497
|
+
return `[formatjs Error: ${this.code}] ${this.message}`;
|
|
2498
|
+
}
|
|
2499
|
+
};
|
|
2500
|
+
var InvalidValueError = class extends FormatError {
|
|
2501
|
+
constructor(variableId, value, options, originalMessage) {
|
|
2502
|
+
super(`Invalid values for "${variableId}": "${value}". Options are "${Object.keys(options).join("\", \"")}"`, "INVALID_VALUE", originalMessage);
|
|
2503
|
+
}
|
|
2504
|
+
};
|
|
2505
|
+
var InvalidValueTypeError = class extends FormatError {
|
|
2506
|
+
constructor(value, type, originalMessage) {
|
|
2507
|
+
super(`Value for "${value}" must be of type ${type}`, "INVALID_VALUE", originalMessage);
|
|
2508
|
+
}
|
|
2509
|
+
};
|
|
2510
|
+
var MissingValueError = class extends FormatError {
|
|
2511
|
+
constructor(variableId, originalMessage) {
|
|
2512
|
+
super(`The intl string context variable "${variableId}" was not provided to the string "${originalMessage}"`, "MISSING_VALUE", originalMessage);
|
|
2513
|
+
}
|
|
2514
|
+
};
|
|
2515
|
+
//#endregion
|
|
2516
|
+
//#region packages/intl-messageformat/formatters.ts
|
|
2517
|
+
let PART_TYPE = /* @__PURE__ */ function(PART_TYPE) {
|
|
2518
|
+
PART_TYPE[PART_TYPE["literal"] = 0] = "literal";
|
|
2519
|
+
PART_TYPE[PART_TYPE["object"] = 1] = "object";
|
|
2520
|
+
return PART_TYPE;
|
|
2521
|
+
}({});
|
|
2522
|
+
function mergeLiteral(parts) {
|
|
2523
|
+
if (parts.length < 2) return parts;
|
|
2524
|
+
return parts.reduce((all, part) => {
|
|
2525
|
+
const lastPart = all[all.length - 1];
|
|
2526
|
+
if (!lastPart || lastPart.type !== 0 || part.type !== 0) all.push(part);
|
|
2527
|
+
else lastPart.value += part.value;
|
|
2528
|
+
return all;
|
|
2529
|
+
}, []);
|
|
2530
|
+
}
|
|
2531
|
+
function isFormatXMLElementFn(el) {
|
|
2532
|
+
return typeof el === "function";
|
|
2533
|
+
}
|
|
2534
|
+
function formatToParts(els, locales, formatters, formats, values, currentPluralValue, originalMessage) {
|
|
2535
|
+
if (els.length === 1 && isLiteralElement(els[0])) return [{
|
|
2536
|
+
type: 0,
|
|
2537
|
+
value: els[0].value
|
|
2538
|
+
}];
|
|
2539
|
+
const result = [];
|
|
2540
|
+
for (const el of els) {
|
|
2541
|
+
if (isLiteralElement(el)) {
|
|
2542
|
+
result.push({
|
|
2543
|
+
type: 0,
|
|
2544
|
+
value: el.value
|
|
2545
|
+
});
|
|
2546
|
+
continue;
|
|
2547
|
+
}
|
|
2548
|
+
if (isPoundElement(el)) {
|
|
2549
|
+
if (typeof currentPluralValue === "number") result.push({
|
|
2550
|
+
type: 0,
|
|
2551
|
+
value: formatters.getNumberFormat(locales).format(currentPluralValue)
|
|
2552
|
+
});
|
|
2553
|
+
continue;
|
|
2554
|
+
}
|
|
2555
|
+
const { value: varName } = el;
|
|
2556
|
+
if (!(values && varName in values)) throw new MissingValueError(varName, originalMessage);
|
|
2557
|
+
let value = values[varName];
|
|
2558
|
+
if (isArgumentElement(el)) {
|
|
2559
|
+
if (!value || typeof value === "string" || typeof value === "number" || typeof value === "bigint") value = typeof value === "string" || typeof value === "number" || typeof value === "bigint" ? String(value) : "";
|
|
2560
|
+
result.push({
|
|
2561
|
+
type: typeof value === "string" ? 0 : 1,
|
|
2562
|
+
value
|
|
2563
|
+
});
|
|
2564
|
+
continue;
|
|
2565
|
+
}
|
|
2566
|
+
if (isDateElement(el)) {
|
|
2567
|
+
const style = typeof el.style === "string" ? formats.date[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : void 0;
|
|
2568
|
+
result.push({
|
|
2569
|
+
type: 0,
|
|
2570
|
+
value: formatters.getDateTimeFormat(locales, style).format(value)
|
|
2571
|
+
});
|
|
2572
|
+
continue;
|
|
2573
|
+
}
|
|
2574
|
+
if (isTimeElement(el)) {
|
|
2575
|
+
const style = typeof el.style === "string" ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : formats.time.medium;
|
|
2576
|
+
result.push({
|
|
2577
|
+
type: 0,
|
|
2578
|
+
value: formatters.getDateTimeFormat(locales, style).format(value)
|
|
2579
|
+
});
|
|
2580
|
+
continue;
|
|
2581
|
+
}
|
|
2582
|
+
if (isNumberElement(el)) {
|
|
2583
|
+
const style = typeof el.style === "string" ? formats.number[el.style] : isNumberSkeleton(el.style) ? el.style.parsedOptions : void 0;
|
|
2584
|
+
if (style && style.scale) {
|
|
2585
|
+
const scale = style.scale || 1;
|
|
2586
|
+
if (typeof value === "bigint") {
|
|
2587
|
+
if (!Number.isInteger(scale)) throw new TypeError(`Cannot apply fractional scale ${scale} to bigint value. Scale must be an integer when formatting bigint.`);
|
|
2588
|
+
value = value * BigInt(scale);
|
|
2589
|
+
} else value = value * scale;
|
|
2590
|
+
}
|
|
2591
|
+
result.push({
|
|
2592
|
+
type: 0,
|
|
2593
|
+
value: formatters.getNumberFormat(locales, style).format(value)
|
|
2594
|
+
});
|
|
2595
|
+
continue;
|
|
2596
|
+
}
|
|
2597
|
+
if (isTagElement(el)) {
|
|
2598
|
+
const { children, value } = el;
|
|
2599
|
+
const formatFn = values[value];
|
|
2600
|
+
if (!isFormatXMLElementFn(formatFn)) throw new InvalidValueTypeError(value, "function", originalMessage);
|
|
2601
|
+
let chunks = formatFn(formatToParts(children, locales, formatters, formats, values, currentPluralValue).map((p) => p.value));
|
|
2602
|
+
if (!Array.isArray(chunks)) chunks = [chunks];
|
|
2603
|
+
result.push(...chunks.map((c) => {
|
|
2604
|
+
return {
|
|
2605
|
+
type: typeof c === "string" ? 0 : 1,
|
|
2606
|
+
value: c
|
|
2607
|
+
};
|
|
2608
|
+
}));
|
|
2609
|
+
}
|
|
2610
|
+
if (isSelectElement(el)) {
|
|
2611
|
+
const key = value;
|
|
2612
|
+
const opt = (Object.prototype.hasOwnProperty.call(el.options, key) ? el.options[key] : void 0) || el.options.other;
|
|
2613
|
+
if (!opt) throw new InvalidValueError(el.value, value, Object.keys(el.options), originalMessage);
|
|
2614
|
+
result.push(...formatToParts(opt.value, locales, formatters, formats, values));
|
|
2615
|
+
continue;
|
|
2616
|
+
}
|
|
2617
|
+
if (isPluralElement(el)) {
|
|
2618
|
+
const exactKey = `=${value}`;
|
|
2619
|
+
let opt = Object.prototype.hasOwnProperty.call(el.options, exactKey) ? el.options[exactKey] : void 0;
|
|
2620
|
+
if (!opt) {
|
|
2621
|
+
if (!Intl.PluralRules) throw new FormatError(`Intl.PluralRules is not available in this environment.
|
|
2622
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2623
|
+
`, "MISSING_INTL_API", originalMessage);
|
|
2624
|
+
const numericValue = typeof value === "bigint" ? Number(value) : value;
|
|
2625
|
+
const rule = formatters.getPluralRules(locales, { type: el.pluralType }).select(numericValue - (el.offset || 0));
|
|
2626
|
+
opt = (Object.prototype.hasOwnProperty.call(el.options, rule) ? el.options[rule] : void 0) || el.options.other;
|
|
2627
|
+
}
|
|
2628
|
+
if (!opt) throw new InvalidValueError(el.value, value, Object.keys(el.options), originalMessage);
|
|
2629
|
+
const numericValue = typeof value === "bigint" ? Number(value) : value;
|
|
2630
|
+
result.push(...formatToParts(opt.value, locales, formatters, formats, values, numericValue - (el.offset || 0)));
|
|
2631
|
+
continue;
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
return mergeLiteral(result);
|
|
2635
|
+
}
|
|
2636
|
+
//#endregion
|
|
2637
|
+
//#region packages/intl-messageformat/core.ts
|
|
2638
|
+
function mergeConfig(c1, c2) {
|
|
2639
|
+
if (!c2) return c1;
|
|
2640
|
+
return {
|
|
2641
|
+
...c1,
|
|
2642
|
+
...c2,
|
|
2643
|
+
...Object.keys(c1).reduce((all, k) => {
|
|
2644
|
+
all[k] = {
|
|
2645
|
+
...c1[k],
|
|
2646
|
+
...c2[k]
|
|
2647
|
+
};
|
|
2648
|
+
return all;
|
|
2649
|
+
}, {})
|
|
2650
|
+
};
|
|
2651
|
+
}
|
|
2652
|
+
function mergeConfigs(defaultConfig, configs) {
|
|
2653
|
+
if (!configs) return defaultConfig;
|
|
2654
|
+
return Object.keys(defaultConfig).reduce((all, k) => {
|
|
2655
|
+
all[k] = mergeConfig(defaultConfig[k], configs[k]);
|
|
2656
|
+
return all;
|
|
2657
|
+
}, { ...defaultConfig });
|
|
2658
|
+
}
|
|
2659
|
+
function createFastMemoizeCache(store) {
|
|
2660
|
+
return { create() {
|
|
2661
|
+
return {
|
|
2662
|
+
get(key) {
|
|
2663
|
+
return store[key];
|
|
2664
|
+
},
|
|
2665
|
+
set(key, value) {
|
|
2666
|
+
store[key] = value;
|
|
2667
|
+
}
|
|
2668
|
+
};
|
|
2669
|
+
} };
|
|
2670
|
+
}
|
|
2671
|
+
function createDefaultFormatters(cache = {
|
|
2672
|
+
number: {},
|
|
2673
|
+
dateTime: {},
|
|
2674
|
+
pluralRules: {}
|
|
2675
|
+
}) {
|
|
2676
|
+
return {
|
|
2677
|
+
getNumberFormat: memoize((...args) => new Intl.NumberFormat(...args), {
|
|
2678
|
+
cache: createFastMemoizeCache(cache.number),
|
|
2679
|
+
strategy: strategies.variadic
|
|
2680
|
+
}),
|
|
2681
|
+
getDateTimeFormat: memoize((...args) => new Intl.DateTimeFormat(...args), {
|
|
2682
|
+
cache: createFastMemoizeCache(cache.dateTime),
|
|
2683
|
+
strategy: strategies.variadic
|
|
2684
|
+
}),
|
|
2685
|
+
getPluralRules: memoize((...args) => new Intl.PluralRules(...args), {
|
|
2686
|
+
cache: createFastMemoizeCache(cache.pluralRules),
|
|
2687
|
+
strategy: strategies.variadic
|
|
2688
|
+
})
|
|
2689
|
+
};
|
|
2690
|
+
}
|
|
2691
|
+
var IntlMessageFormat = class IntlMessageFormat {
|
|
2692
|
+
constructor(message, locales = IntlMessageFormat.defaultLocale, overrideFormats, opts) {
|
|
2693
|
+
this.formatterCache = {
|
|
2694
|
+
number: {},
|
|
2695
|
+
dateTime: {},
|
|
2696
|
+
pluralRules: {}
|
|
2697
|
+
};
|
|
2698
|
+
this.format = (values) => {
|
|
2699
|
+
const parts = this.formatToParts(values);
|
|
2700
|
+
if (parts.length === 1) return parts[0].value;
|
|
2701
|
+
const result = parts.reduce((all, part) => {
|
|
2702
|
+
if (!all.length || part.type !== 0 || typeof all[all.length - 1] !== "string") all.push(part.value);
|
|
2703
|
+
else all[all.length - 1] += part.value;
|
|
2704
|
+
return all;
|
|
2705
|
+
}, []);
|
|
2706
|
+
if (result.length <= 1) return result[0] || "";
|
|
2707
|
+
return result;
|
|
2708
|
+
};
|
|
2709
|
+
this.formatToParts = (values) => formatToParts(this.ast, this.locales, this.formatters, this.formats, values, void 0, this.message);
|
|
2710
|
+
this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] });
|
|
2711
|
+
this.getAst = () => this.ast;
|
|
2712
|
+
this.locales = locales;
|
|
2713
|
+
this.resolvedLocale = IntlMessageFormat.resolveLocale(locales);
|
|
2714
|
+
if (typeof message === "string") {
|
|
2715
|
+
this.message = message;
|
|
2716
|
+
if (!IntlMessageFormat.__parse) throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
2717
|
+
const { ...parseOpts } = opts || {};
|
|
2718
|
+
this.ast = IntlMessageFormat.__parse(message, {
|
|
2719
|
+
...parseOpts,
|
|
2720
|
+
locale: this.resolvedLocale
|
|
2721
|
+
});
|
|
2722
|
+
} else this.ast = message;
|
|
2723
|
+
if (!Array.isArray(this.ast)) throw new TypeError("A message must be provided as a String or AST.");
|
|
2724
|
+
this.formats = mergeConfigs(IntlMessageFormat.formats, overrideFormats);
|
|
2725
|
+
this.formatters = opts && opts.formatters || createDefaultFormatters(this.formatterCache);
|
|
2726
|
+
}
|
|
2727
|
+
static {
|
|
2728
|
+
this.memoizedDefaultLocale = null;
|
|
2729
|
+
}
|
|
2730
|
+
static get defaultLocale() {
|
|
2731
|
+
if (!IntlMessageFormat.memoizedDefaultLocale) IntlMessageFormat.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale;
|
|
2732
|
+
return IntlMessageFormat.memoizedDefaultLocale;
|
|
2733
|
+
}
|
|
2734
|
+
static {
|
|
2735
|
+
this.resolveLocale = (locales) => {
|
|
2736
|
+
if (typeof Intl.Locale === "undefined") return;
|
|
2737
|
+
const supportedLocales = Intl.NumberFormat.supportedLocalesOf(locales);
|
|
2738
|
+
if (supportedLocales.length > 0) return new Intl.Locale(supportedLocales[0]);
|
|
2739
|
+
return new Intl.Locale(typeof locales === "string" ? locales : locales[0]);
|
|
2740
|
+
};
|
|
2741
|
+
}
|
|
2742
|
+
static {
|
|
2743
|
+
this.__parse = parse;
|
|
2744
|
+
}
|
|
2745
|
+
static {
|
|
2746
|
+
this.formats = {
|
|
2747
|
+
number: {
|
|
2748
|
+
integer: { maximumFractionDigits: 0 },
|
|
2749
|
+
currency: { style: "currency" },
|
|
2750
|
+
percent: { style: "percent" }
|
|
2751
|
+
},
|
|
2752
|
+
date: {
|
|
2753
|
+
short: {
|
|
2754
|
+
month: "numeric",
|
|
2755
|
+
day: "numeric",
|
|
2756
|
+
year: "2-digit"
|
|
2757
|
+
},
|
|
2758
|
+
medium: {
|
|
2759
|
+
month: "short",
|
|
2760
|
+
day: "numeric",
|
|
2761
|
+
year: "numeric"
|
|
2762
|
+
},
|
|
2763
|
+
long: {
|
|
2764
|
+
month: "long",
|
|
2765
|
+
day: "numeric",
|
|
2766
|
+
year: "numeric"
|
|
2767
|
+
},
|
|
2768
|
+
full: {
|
|
2769
|
+
weekday: "long",
|
|
2770
|
+
month: "long",
|
|
2771
|
+
day: "numeric",
|
|
2772
|
+
year: "numeric"
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
time: {
|
|
2776
|
+
short: {
|
|
2777
|
+
hour: "numeric",
|
|
2778
|
+
minute: "numeric"
|
|
2779
|
+
},
|
|
2780
|
+
medium: {
|
|
2781
|
+
hour: "numeric",
|
|
2782
|
+
minute: "numeric",
|
|
2783
|
+
second: "numeric"
|
|
2784
|
+
},
|
|
2785
|
+
long: {
|
|
2786
|
+
hour: "numeric",
|
|
2787
|
+
minute: "numeric",
|
|
2788
|
+
second: "numeric",
|
|
2789
|
+
timeZoneName: "short"
|
|
2790
|
+
},
|
|
2791
|
+
full: {
|
|
2792
|
+
hour: "numeric",
|
|
2793
|
+
minute: "numeric",
|
|
2794
|
+
second: "numeric",
|
|
2795
|
+
timeZoneName: "short"
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
};
|
|
2799
|
+
}
|
|
2800
|
+
};
|
|
2801
|
+
//#endregion
|
|
2802
|
+
//#region packages/intl-messageformat/index.ts
|
|
2803
|
+
var intl_messageformat_default = IntlMessageFormat;
|
|
2804
|
+
//#endregion
|
|
2805
|
+
export { ErrorCode, FormatError, IntlMessageFormat, InvalidValueError, InvalidValueTypeError, MissingValueError, PART_TYPE, intl_messageformat_default as default, formatToParts, isFormatXMLElementFn };
|
|
2806
|
+
|
|
2807
|
+
//# sourceMappingURL=intl-messageformat.iife.js.map
|