veryfront 0.1.1238 → 0.1.1239
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/esm/cli/auth/login.d.ts +24 -2
- package/esm/cli/auth/login.d.ts.map +1 -1
- package/esm/cli/auth/login.js +444 -35
- package/esm/cli/commands/build/error-handler.js +1 -1
- package/esm/cli/commands/generate/command.d.ts.map +1 -1
- package/esm/cli/commands/generate/command.js +2 -3
- package/esm/cli/commands/init/init-command.d.ts.map +1 -1
- package/esm/cli/commands/init/init-command.js +23 -31
- package/esm/cli/commands/install/registry.d.ts.map +1 -1
- package/esm/cli/commands/install/registry.js +6 -9
- package/esm/cli/commands/login/command-help.d.ts.map +1 -1
- package/esm/cli/commands/login/command-help.js +3 -1
- package/esm/cli/commands/pull/command.d.ts +1 -0
- package/esm/cli/commands/pull/command.d.ts.map +1 -1
- package/esm/cli/commands/pull/command.js +49 -6
- package/esm/cli/commands/push/command-help.d.ts.map +1 -1
- package/esm/cli/commands/push/command-help.js +7 -0
- package/esm/cli/commands/push/command.d.ts +23 -12
- package/esm/cli/commands/push/command.d.ts.map +1 -1
- package/esm/cli/commands/push/command.js +461 -44
- package/esm/cli/commands/push/plan.d.ts +35 -0
- package/esm/cli/commands/push/plan.d.ts.map +1 -0
- package/esm/cli/commands/push/plan.js +96 -0
- package/esm/cli/commands/schedule/handler.d.ts +21 -2
- package/esm/cli/commands/schedule/handler.d.ts.map +1 -1
- package/esm/cli/commands/schedule/handler.js +74 -27
- package/esm/cli/commands/schema/command-help.js +1 -1
- package/esm/cli/commands/up/command.js +1 -1
- package/esm/cli/commands/webhook/handler.d.ts.map +1 -1
- package/esm/cli/commands/webhook/handler.js +3 -1
- package/esm/cli/router.d.ts.map +1 -1
- package/esm/cli/router.js +27 -5
- package/esm/cli/shared/args.d.ts +10 -0
- package/esm/cli/shared/args.d.ts.map +1 -1
- package/esm/cli/shared/args.js +15 -2
- package/esm/cli/shared/config.d.ts +11 -2
- package/esm/cli/shared/config.d.ts.map +1 -1
- package/esm/cli/shared/config.js +72 -27
- package/esm/cli/shared/project-creation.js +1 -1
- package/esm/cli/sync/state.d.ts +20 -0
- package/esm/cli/sync/state.d.ts.map +1 -0
- package/esm/cli/sync/state.js +193 -0
- package/esm/deno.js +2 -2
- package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.d.ts.map +1 -1
- package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.js +852 -21
- package/esm/extensions/ext-observability-sentry/src/policy.d.ts +2 -0
- package/esm/extensions/ext-observability-sentry/src/policy.d.ts.map +1 -1
- package/esm/extensions/ext-observability-sentry/src/policy.js +214 -3
- package/esm/src/agent/conversation/delegation-policy.d.ts +2 -0
- package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
- package/esm/src/agent/conversation/delegation-policy.js +13 -3
- package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
- package/esm/src/agent/conversation/hosted-terminal.js +6 -2
- package/esm/src/agent/factory.d.ts.map +1 -1
- package/esm/src/agent/factory.js +22 -11
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +2 -0
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +6 -1
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +2 -1
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-execution-runner.js +6 -3
- package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +12 -3
- package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-step-message-preparation.js +16 -3
- package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts +1 -1
- package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-agent-chat-execution.js +3 -3
- package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts +11 -0
- package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-agent-child-tools.js +2 -3
- package/esm/src/agent/hosted/cloud-agent-config.d.ts +1 -0
- package/esm/src/agent/hosted/cloud-agent-config.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +16 -1
- package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-runtime-system-messages.js +13 -3
- package/esm/src/agent/hosted/default-chat-runtime.d.ts +2 -1
- package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-chat-runtime.js +18 -7
- package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +2 -1
- package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-invoke-agent-tool.js +11 -3
- package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +2 -1
- package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-project-steering-refresh.js +4 -1
- package/esm/src/agent/hosted/runtime-state-resolver.d.ts +6 -4
- package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
- package/esm/src/agent/hosted/runtime-state-resolver.js +8 -11
- package/esm/src/agent/index.d.ts +3 -3
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
- package/esm/src/agent/project/agent-runtime.js +6 -3
- package/esm/src/agent/runtime/agent-definition.d.ts +68 -66
- package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition.js +15 -2
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts +2 -0
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-markdown-adapter.js +1 -1
- package/esm/src/agent/runtime/agent-runtime-step.d.ts +11 -5
- package/esm/src/agent/runtime/agent-runtime-step.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-runtime-step.js +23 -6
- package/esm/src/agent/runtime/call-context.d.ts +42 -11
- package/esm/src/agent/runtime/call-context.d.ts.map +1 -1
- package/esm/src/agent/runtime/call-context.js +480 -42
- package/esm/src/agent/runtime/chat-stream-handler.d.ts +18 -0
- package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
- package/esm/src/agent/runtime/chat-stream-handler.js +38 -18
- package/esm/src/agent/runtime/effective-agent-system.d.ts +13 -4
- package/esm/src/agent/runtime/effective-agent-system.d.ts.map +1 -1
- package/esm/src/agent/runtime/effective-agent-system.js +29 -0
- package/esm/src/agent/runtime/index.d.ts +1 -0
- package/esm/src/agent/runtime/index.d.ts.map +1 -1
- package/esm/src/agent/runtime/index.js +638 -53
- package/esm/src/agent/runtime/load-skill-tool.d.ts +33 -3
- package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
- package/esm/src/agent/runtime/load-skill-tool.js +152 -21
- package/esm/src/agent/runtime/model-resolution.d.ts +3 -0
- package/esm/src/agent/runtime/model-resolution.d.ts.map +1 -1
- package/esm/src/agent/runtime/model-resolution.js +14 -0
- package/esm/src/agent/runtime/model-transport.d.ts +1 -0
- package/esm/src/agent/runtime/model-transport.d.ts.map +1 -1
- package/esm/src/agent/runtime/model-transport.js +5 -2
- package/esm/src/agent/runtime/run-runtime-context.d.ts +4 -0
- package/esm/src/agent/runtime/run-runtime-context.d.ts.map +1 -1
- package/esm/src/agent/runtime/run-runtime-context.js +9 -3
- package/esm/src/agent/runtime/runtime-tool-config.d.ts +1 -0
- package/esm/src/agent/runtime/runtime-tool-config.d.ts.map +1 -1
- package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
- package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
- package/esm/src/agent/runtime/skill-prompt.js +113 -25
- package/esm/src/agent/runtime/streamed-assistant-message.d.ts +22 -2
- package/esm/src/agent/runtime/streamed-assistant-message.d.ts.map +1 -1
- package/esm/src/agent/runtime/streamed-assistant-message.js +26 -5
- package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
- package/esm/src/agent/runtime/tool-inventory.js +13 -9
- package/esm/src/agent/runtime/tool-result-continuation.d.ts +4 -2
- package/esm/src/agent/runtime/tool-result-continuation.d.ts.map +1 -1
- package/esm/src/agent/runtime/tool-result-continuation.js +24 -20
- package/esm/src/agent/schemas/agent.schema.d.ts +2 -2
- package/esm/src/agent/service/runtime.js +1 -1
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts +5 -4
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
- package/esm/src/agent/types.d.ts +14 -1
- package/esm/src/agent/types.d.ts.map +1 -1
- package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
- package/esm/src/chat/chat-ui-message-helpers.js +75 -16
- package/esm/src/errors/catalog/build-errors.d.ts.map +1 -1
- package/esm/src/errors/catalog/build-errors.js +14 -0
- package/esm/src/errors/error-registry/build.d.ts +2 -0
- package/esm/src/errors/error-registry/build.d.ts.map +1 -1
- package/esm/src/errors/error-registry/build.js +8 -0
- package/esm/src/errors/error-registry/deploy.d.ts +4 -0
- package/esm/src/errors/error-registry/deploy.d.ts.map +1 -1
- package/esm/src/errors/error-registry/deploy.js +16 -0
- package/esm/src/errors/error-registry.d.ts +3 -0
- package/esm/src/errors/error-registry.d.ts.map +1 -1
- package/esm/src/errors/index.d.ts +2 -1
- package/esm/src/errors/index.d.ts.map +1 -1
- package/esm/src/errors/index.js +4 -3
- package/esm/src/errors/tenant-classification.d.ts +25 -0
- package/esm/src/errors/tenant-classification.d.ts.map +1 -0
- package/esm/src/errors/tenant-classification.js +61 -0
- package/esm/src/extensions/builtin-extensions.d.ts +10 -15
- package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
- package/esm/src/extensions/builtin-extensions.js +32 -26
- package/esm/src/extensions/deferred-extension.d.ts +4 -4
- package/esm/src/extensions/deferred-extension.js +4 -4
- package/esm/src/extensions/index.d.ts +1 -0
- package/esm/src/extensions/index.d.ts.map +1 -1
- package/esm/src/extensions/index.js +1 -0
- package/esm/src/html/hydration-script-builder/hydration-runtime.generated.js +1 -1
- package/esm/src/integrations/_data.d.ts.map +1 -1
- package/esm/src/integrations/_data.js +6 -0
- package/esm/src/integrations/schema.d.ts +8 -0
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +3 -0
- package/esm/src/integrations/types.d.ts +2 -0
- package/esm/src/integrations/types.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.js +35 -20
- package/esm/src/internal-agents/run-system-prompt.d.ts +7 -2
- package/esm/src/internal-agents/run-system-prompt.d.ts.map +1 -1
- package/esm/src/internal-agents/run-system-prompt.js +19 -13
- package/esm/src/internal-agents/schema.d.ts +2 -0
- package/esm/src/internal-agents/schema.d.ts.map +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts.map +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader.js +2 -18
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts +11 -0
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts.map +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.js +53 -6
- package/esm/src/observability/application-error-contract.d.ts +4 -0
- package/esm/src/observability/application-error-contract.d.ts.map +1 -1
- package/esm/src/observability/application-errors.d.ts.map +1 -1
- package/esm/src/observability/application-errors.js +55 -2
- package/esm/src/platform/adapters/runtime/deno/http-server.d.ts.map +1 -1
- package/esm/src/platform/adapters/runtime/deno/http-server.js +2 -10
- package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts +14 -0
- package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts.map +1 -1
- package/esm/src/platform/adapters/runtime/shared/request-peer.js +82 -0
- package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
- package/esm/src/provider/runtime-loader/provider-http.d.ts +5 -1
- package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-http.js +55 -17
- package/esm/src/provider/shared/index.d.ts +1 -0
- package/esm/src/provider/shared/index.d.ts.map +1 -1
- package/esm/src/provider/shared/index.js +2 -0
- package/esm/src/provider/types.d.ts +1 -0
- package/esm/src/provider/types.d.ts.map +1 -1
- package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts +3 -0
- package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/builtin/combobox.js +204 -0
- package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts +3 -0
- package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/builtin/dialog.js +20 -0
- package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts +3 -0
- package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/builtin/drawer.js +21 -0
- package/esm/src/react/components/ui/adapter/builtin/index.d.ts.map +1 -1
- package/esm/src/react/components/ui/adapter/builtin/index.js +10 -0
- package/esm/src/react/components/ui/adapter/builtin/popover.d.ts +3 -0
- package/esm/src/react/components/ui/adapter/builtin/popover.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/builtin/popover.js +28 -0
- package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts +3 -0
- package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/builtin/tabs.js +73 -0
- package/esm/src/react/components/ui/adapter/context.d.ts.map +1 -1
- package/esm/src/react/components/ui/adapter/context.js +10 -0
- package/esm/src/react/components/ui/adapter/contract.d.ts +212 -0
- package/esm/src/react/components/ui/adapter/contract.d.ts.map +1 -1
- package/esm/src/react/components/ui/adapter/token-scope.d.ts +24 -0
- package/esm/src/react/components/ui/adapter/token-scope.d.ts.map +1 -0
- package/esm/src/react/components/ui/adapter/token-scope.js +26 -0
- package/esm/src/react/components/ui/alert-dialog.d.ts +101 -0
- package/esm/src/react/components/ui/alert-dialog.d.ts.map +1 -0
- package/esm/src/react/components/ui/alert-dialog.js +181 -0
- package/esm/src/react/components/ui/aspect-ratio.d.ts +18 -0
- package/esm/src/react/components/ui/aspect-ratio.d.ts.map +1 -0
- package/esm/src/react/components/ui/aspect-ratio.js +13 -0
- package/esm/src/react/components/ui/autocomplete.d.ts +67 -0
- package/esm/src/react/components/ui/autocomplete.d.ts.map +1 -0
- package/esm/src/react/components/ui/autocomplete.js +59 -0
- package/esm/src/react/components/ui/breadcrumb.d.ts +86 -0
- package/esm/src/react/components/ui/breadcrumb.d.ts.map +1 -0
- package/esm/src/react/components/ui/breadcrumb.js +67 -0
- package/esm/src/react/components/ui/calendar.d.ts +40 -0
- package/esm/src/react/components/ui/calendar.d.ts.map +1 -0
- package/esm/src/react/components/ui/calendar.js +170 -0
- package/esm/src/react/components/ui/combobox.d.ts +74 -0
- package/esm/src/react/components/ui/combobox.d.ts.map +1 -0
- package/esm/src/react/components/ui/combobox.js +100 -0
- package/esm/src/react/components/ui/context-menu.d.ts +116 -0
- package/esm/src/react/components/ui/context-menu.d.ts.map +1 -0
- package/esm/src/react/components/ui/context-menu.js +168 -0
- package/esm/src/react/components/ui/date-picker.d.ts +69 -0
- package/esm/src/react/components/ui/date-picker.d.ts.map +1 -0
- package/esm/src/react/components/ui/date-picker.js +96 -0
- package/esm/src/react/components/ui/dialog.d.ts +41 -11
- package/esm/src/react/components/ui/dialog.d.ts.map +1 -1
- package/esm/src/react/components/ui/dialog.js +47 -28
- package/esm/src/react/components/ui/drawer.d.ts +31 -8
- package/esm/src/react/components/ui/drawer.d.ts.map +1 -1
- package/esm/src/react/components/ui/drawer.js +33 -22
- package/esm/src/react/components/ui/dropdown-menu.d.ts.map +1 -1
- package/esm/src/react/components/ui/dropdown-menu.js +7 -75
- package/esm/src/react/components/ui/field.d.ts +70 -0
- package/esm/src/react/components/ui/field.d.ts.map +1 -0
- package/esm/src/react/components/ui/field.js +161 -0
- package/esm/src/react/components/ui/file-type.d.ts +9 -8
- package/esm/src/react/components/ui/file-type.d.ts.map +1 -1
- package/esm/src/react/components/ui/file-type.js +8 -8
- package/esm/src/react/components/ui/hover-card.d.ts +82 -0
- package/esm/src/react/components/ui/hover-card.d.ts.map +1 -0
- package/esm/src/react/components/ui/hover-card.js +140 -0
- package/esm/src/react/components/ui/index.d.ts +23 -2
- package/esm/src/react/components/ui/index.d.ts.map +1 -1
- package/esm/src/react/components/ui/index.js +21 -0
- package/esm/src/react/components/ui/input-otp.d.ts +37 -0
- package/esm/src/react/components/ui/input-otp.d.ts.map +1 -0
- package/esm/src/react/components/ui/input-otp.js +42 -0
- package/esm/src/react/components/ui/menu-keyboard.d.ts +8 -0
- package/esm/src/react/components/ui/menu-keyboard.d.ts.map +1 -0
- package/esm/src/react/components/ui/menu-keyboard.js +76 -0
- package/esm/src/react/components/ui/menubar.d.ts +98 -0
- package/esm/src/react/components/ui/menubar.d.ts.map +1 -0
- package/esm/src/react/components/ui/menubar.js +173 -0
- package/esm/src/react/components/ui/meter.d.ts +45 -0
- package/esm/src/react/components/ui/meter.d.ts.map +1 -0
- package/esm/src/react/components/ui/meter.js +59 -0
- package/esm/src/react/components/ui/modal-surface.d.ts +7 -1
- package/esm/src/react/components/ui/modal-surface.d.ts.map +1 -1
- package/esm/src/react/components/ui/modal-surface.js +23 -6
- package/esm/src/react/components/ui/navigation-menu.d.ts +101 -0
- package/esm/src/react/components/ui/navigation-menu.d.ts.map +1 -0
- package/esm/src/react/components/ui/navigation-menu.js +195 -0
- package/esm/src/react/components/ui/number-field.d.ts +46 -0
- package/esm/src/react/components/ui/number-field.d.ts.map +1 -0
- package/esm/src/react/components/ui/number-field.js +121 -0
- package/esm/src/react/components/ui/pagination.d.ts +77 -0
- package/esm/src/react/components/ui/pagination.d.ts.map +1 -0
- package/esm/src/react/components/ui/pagination.js +62 -0
- package/esm/src/react/components/ui/popover.d.ts +42 -13
- package/esm/src/react/components/ui/popover.d.ts.map +1 -1
- package/esm/src/react/components/ui/popover.js +25 -12
- package/esm/src/react/components/ui/scroll-area.d.ts +38 -0
- package/esm/src/react/components/ui/scroll-area.d.ts.map +1 -0
- package/esm/src/react/components/ui/scroll-area.js +35 -0
- package/esm/src/react/components/ui/separator.d.ts +20 -0
- package/esm/src/react/components/ui/separator.d.ts.map +1 -0
- package/esm/src/react/components/ui/separator.js +13 -0
- package/esm/src/react/components/ui/slider.d.ts +44 -0
- package/esm/src/react/components/ui/slider.d.ts.map +1 -0
- package/esm/src/react/components/ui/slider.js +46 -0
- package/esm/src/react/components/ui/status.d.ts +6 -5
- package/esm/src/react/components/ui/status.d.ts.map +1 -1
- package/esm/src/react/components/ui/status.js +4 -4
- package/esm/src/react/components/ui/tabs.d.ts +32 -9
- package/esm/src/react/components/ui/tabs.d.ts.map +1 -1
- package/esm/src/react/components/ui/tabs.js +46 -22
- package/esm/src/react/components/ui/toggle.d.ts +26 -0
- package/esm/src/react/components/ui/toggle.d.ts.map +1 -0
- package/esm/src/react/components/ui/toggle.js +29 -0
- package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts +2 -1
- package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
- package/esm/src/react/components/ui/use-isomorphic-layout-effect.js +6 -3
- package/esm/src/rendering/chunk-optimizer/source-imports.d.ts.map +1 -1
- package/esm/src/rendering/chunk-optimizer/source-imports.js +4 -114
- package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts +10 -0
- package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/build-failure.js +50 -3
- package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts +2 -0
- package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.js +21 -6
- package/esm/src/rendering/orchestrator/module-loader/index.d.ts +2 -1
- package/esm/src/rendering/orchestrator/module-loader/index.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/index.js +190 -7
- package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts +4 -0
- package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/module-persistence.js +374 -7
- package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/pipeline.js +12 -1
- package/esm/src/runs/runs-client.d.ts +2 -4
- package/esm/src/runs/runs-client.d.ts.map +1 -1
- package/esm/src/runs/schemas.d.ts +18 -8
- package/esm/src/runs/schemas.d.ts.map +1 -1
- package/esm/src/runs/schemas.js +26 -0
- package/esm/src/runtime/model-call-context.d.ts +6 -1
- package/esm/src/runtime/model-call-context.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.js +133 -15
- package/esm/src/schedule/factory.d.ts +8 -2
- package/esm/src/schedule/factory.d.ts.map +1 -1
- package/esm/src/schedule/factory.js +0 -8
- package/esm/src/schedule/index.d.ts +10 -1
- package/esm/src/schedule/index.d.ts.map +1 -1
- package/esm/src/schedule/index.js +9 -0
- package/esm/src/schedule/types.d.ts +30 -11
- package/esm/src/schedule/types.d.ts.map +1 -1
- package/esm/src/schedule/validation.d.ts +17 -0
- package/esm/src/schedule/validation.d.ts.map +1 -1
- package/esm/src/schedule/validation.js +93 -5
- package/esm/src/server/dev-server/index.d.ts +1 -1
- package/esm/src/server/dev-server/index.d.ts.map +1 -1
- package/esm/src/server/dev-server/server.d.ts +7 -3
- package/esm/src/server/dev-server/server.d.ts.map +1 -1
- package/esm/src/server/dev-server/server.js +12 -3
- package/esm/src/server/dev-server/types.d.ts +7 -1
- package/esm/src/server/dev-server/types.d.ts.map +1 -1
- package/esm/src/server/dev-server.d.ts +1 -1
- package/esm/src/server/dev-server.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +2509 -34
- package/esm/src/server/handlers/dev/projects/index.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/projects/index.js +3 -0
- package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.js +29 -24
- package/esm/src/server/index.d.ts +3 -3
- package/esm/src/server/index.d.ts.map +1 -1
- package/esm/src/server/index.js +10 -5
- package/esm/src/server/node-handler.d.ts.map +1 -1
- package/esm/src/server/node-handler.js +4 -1
- package/esm/src/server/production-server.d.ts.map +1 -1
- package/esm/src/server/production-server.js +2 -1
- package/esm/src/server/project-env/cache.d.ts +17 -0
- package/esm/src/server/project-env/cache.d.ts.map +1 -1
- package/esm/src/server/project-env/cache.js +78 -2
- package/esm/src/server/project-env/fetcher.d.ts.map +1 -1
- package/esm/src/server/project-env/fetcher.js +13 -3
- package/esm/src/server/project-env/index.d.ts +1 -1
- package/esm/src/server/project-env/index.d.ts.map +1 -1
- package/esm/src/server/project-env/index.js +1 -1
- package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/index.js +1 -1
- package/esm/src/server/runtime-handler/projects-handler.d.ts +1 -1
- package/esm/src/server/runtime-handler/projects-handler.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/projects-handler.js +4 -2
- package/esm/src/transforms/esm/http-bundler.d.ts.map +1 -1
- package/esm/src/transforms/esm/http-bundler.js +6 -5
- package/esm/src/transforms/esm/http-cache-helpers.d.ts +11 -0
- package/esm/src/transforms/esm/http-cache-helpers.d.ts.map +1 -1
- package/esm/src/transforms/esm/http-cache-helpers.js +35 -0
- package/esm/src/transforms/esm/http-cache.d.ts.map +1 -1
- package/esm/src/transforms/esm/http-cache.js +16 -10
- package/esm/src/transforms/esm/specifier-resolver.d.ts.map +1 -1
- package/esm/src/transforms/esm/specifier-resolver.js +87 -7
- package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts +2 -0
- package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/strategies/alias-strategy.js +11 -6
- package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
- package/esm/src/transforms/md/compiler/md-compiler.js +12 -5
- package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts +2 -0
- package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/frontmatter-extractor.js +33 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.js +46 -7
- package/esm/src/transforms/mdx/esm-module-loader/cache/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/cache/index.js +8 -2
- package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts +1 -0
- package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/cache-format.js +3 -0
- package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts +4 -0
- package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.js +44 -8
- package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts +2 -0
- package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/missing-module.js +4 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.js +5 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts +2 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.js +50 -11
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts +24 -12
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.js +201 -18
- package/esm/src/transforms/mdx/esm-module-loader/types.d.ts +5 -0
- package/esm/src/transforms/mdx/esm-module-loader/types.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts +22 -2
- package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.js +2080 -129
- package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts +11 -1
- package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.js +32 -15
- package/esm/src/transforms/pipeline/stages/compile.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/stages/compile.js +44 -0
- package/esm/src/transforms/shared/specifier-suffix.d.ts +25 -0
- package/esm/src/transforms/shared/specifier-suffix.d.ts.map +1 -0
- package/esm/src/transforms/shared/specifier-suffix.js +43 -0
- package/esm/src/trigger/index.d.ts +2 -2
- package/esm/src/trigger/index.d.ts.map +1 -1
- package/esm/src/trigger/index.js +1 -1
- package/esm/src/trigger/local-runner.d.ts +2 -2
- package/esm/src/trigger/local-runner.d.ts.map +1 -1
- package/esm/src/trigger/local-runner.js +11 -4
- package/esm/src/trigger/target.d.ts +97 -5
- package/esm/src/trigger/target.d.ts.map +1 -1
- package/esm/src/trigger/target.js +175 -5
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/webhook/types.d.ts +21 -6
- package/esm/src/webhook/types.d.ts.map +1 -1
- package/esm/src/webhook/validation.d.ts.map +1 -1
- package/esm/src/webhook/validation.js +27 -39
- package/esm/templates/index.d.ts +1 -1
- package/esm/templates/index.d.ts.map +1 -1
- package/esm/templates/loader.d.ts +6 -6
- package/esm/templates/loader.d.ts.map +1 -1
- package/esm/templates/loader.js +34 -18
- package/esm/templates/manifest.generated.d.ts +3 -0
- package/esm/templates/manifest.generated.d.ts.map +1 -0
- package/esm/templates/manifest.generated.js +2 -0
- package/package.json +8 -8
- package/esm/templates/manifest.d.ts +0 -664
- package/esm/templates/manifest.d.ts.map +0 -1
- package/esm/templates/manifest.js +0 -662
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { snapshotVeryfrontError } from "../errors/types.js";
|
|
2
|
+
import { isTenantSourceBuildError } from "../errors/tenant-classification.js";
|
|
2
3
|
import { MAX_TIMER_DELAY_MS } from "../utils/timer.js";
|
|
3
4
|
import { sanitizeTelemetryAttributes, sanitizeTelemetryText } from "./telemetry-error.js";
|
|
4
5
|
import { MAX_APPLICATION_ERROR_CONTEXT_VALUE_LENGTH } from "./limits.js";
|
|
5
6
|
import { ApplicationErrorReporterInitializerName, } from "../extensions/observability/application-error-reporter.js";
|
|
6
7
|
export { ApplicationErrorReporterInitializerName };
|
|
7
8
|
const MAX_APPLICATION_ERROR_SERVICE_NAME_LENGTH = 255;
|
|
9
|
+
const ObjectPrototypeHasOwnProperty = Object.prototype.hasOwnProperty;
|
|
10
|
+
const ReflectApply = Reflect.apply;
|
|
11
|
+
const ReflectGetOwnPropertyDescriptor = Reflect.getOwnPropertyDescriptor;
|
|
8
12
|
let reporter;
|
|
9
13
|
let reporterOwner;
|
|
10
14
|
let initializationGeneration = 0;
|
|
@@ -168,6 +172,42 @@ export function initializeApplicationErrorReporter(options) {
|
|
|
168
172
|
return lifecycle;
|
|
169
173
|
});
|
|
170
174
|
}
|
|
175
|
+
const TENANT_BUILD_ERROR_CLASS = "tenant-build";
|
|
176
|
+
/**
|
|
177
|
+
* Tag applied by the module loader only after an explicit tenant-source
|
|
178
|
+
* classification.
|
|
179
|
+
*
|
|
180
|
+
* The tag is read through the shared symbol registry instead of importing the
|
|
181
|
+
* rendering layer; see src/rendering/orchestrator/module-loader/build-failure.ts.
|
|
182
|
+
*/
|
|
183
|
+
const TENANT_BUILD_FAILURE_TAG = Symbol.for("veryfront.module-loader.tenant-build-failure");
|
|
184
|
+
function hasOwnTrueSymbol(value, key) {
|
|
185
|
+
const descriptor = ReflectGetOwnPropertyDescriptor(value, key);
|
|
186
|
+
return descriptor !== undefined &&
|
|
187
|
+
ReflectApply(ObjectPrototypeHasOwnProperty, descriptor, ["value"]) === true &&
|
|
188
|
+
descriptor.value === true;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Whether `error` describes tenant build/content failing to compile (a page
|
|
192
|
+
* that does not build, MDX that does not parse) rather than a framework fault.
|
|
193
|
+
*
|
|
194
|
+
* Recognizes the existing discriminators at their capture seam:
|
|
195
|
+
* - the module loader's tenant-build-failure tag, and
|
|
196
|
+
* - the shared slug/context classification in `#veryfront/errors`, which is the
|
|
197
|
+
* single owner of the tenant-source verdict.
|
|
198
|
+
*/
|
|
199
|
+
function isTenantBuildError(error) {
|
|
200
|
+
try {
|
|
201
|
+
if (error instanceof Error) {
|
|
202
|
+
if (hasOwnTrueSymbol(error, TENANT_BUILD_FAILURE_TAG))
|
|
203
|
+
return true;
|
|
204
|
+
}
|
|
205
|
+
return isTenantSourceBuildError(error);
|
|
206
|
+
}
|
|
207
|
+
catch {
|
|
208
|
+
return false;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
171
211
|
export function captureApplicationError(error, context) {
|
|
172
212
|
if (isExpectedApplicationError(error))
|
|
173
213
|
return undefined;
|
|
@@ -175,7 +215,17 @@ export function captureApplicationError(error, context) {
|
|
|
175
215
|
if (!currentReporter)
|
|
176
216
|
return undefined;
|
|
177
217
|
try {
|
|
178
|
-
|
|
218
|
+
// Tenant build/content failures stay captured for escalation analysis,
|
|
219
|
+
// but are tagged and downgraded so per-request tenant mistakes stop
|
|
220
|
+
// surfacing as error-level framework issues.
|
|
221
|
+
const classifiedContext = isTenantBuildError(error)
|
|
222
|
+
? {
|
|
223
|
+
...context,
|
|
224
|
+
errorClass: context.errorClass ?? TENANT_BUILD_ERROR_CLASS,
|
|
225
|
+
level: context.level ?? "warning",
|
|
226
|
+
}
|
|
227
|
+
: context;
|
|
228
|
+
const snapshot = snapshotApplicationErrorContext(classifiedContext);
|
|
179
229
|
return snapshot ? currentReporter.capture(error, snapshot) : undefined;
|
|
180
230
|
}
|
|
181
231
|
catch {
|
|
@@ -229,7 +279,7 @@ function snapshotApplicationErrorContext(context) {
|
|
|
229
279
|
if (!boundary)
|
|
230
280
|
return null;
|
|
231
281
|
const snapshot = { boundary };
|
|
232
|
-
for (const key of ["method", "processRole", "requestId", "spanId", "traceId"]) {
|
|
282
|
+
for (const key of ["method", "processRole", "requestId", "spanId", "traceId", "errorClass"]) {
|
|
233
283
|
const value = context[key];
|
|
234
284
|
if (value === undefined)
|
|
235
285
|
continue;
|
|
@@ -237,6 +287,9 @@ function snapshotApplicationErrorContext(context) {
|
|
|
237
287
|
if (normalized)
|
|
238
288
|
snapshot[key] = normalized;
|
|
239
289
|
}
|
|
290
|
+
if (context.level === "error" || context.level === "warning") {
|
|
291
|
+
snapshot.level = context.level;
|
|
292
|
+
}
|
|
240
293
|
const attributes = sanitizeTelemetryAttributes(context.attributes);
|
|
241
294
|
if (attributes && Object.keys(attributes).length > 0) {
|
|
242
295
|
snapshot.attributes = Object.freeze(attributes);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-server.d.ts","sourceRoot":"","sources":["../../../../../../src/src/platform/adapters/runtime/deno/http-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAa1D,KAAK,kBAAkB,GAAG,CACxB,OAAO,EAAE,OAAO,KACb,OAAO,CAAC,QAAQ,CAAC,GAAG,QAA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,OAAO,GAAE,YAAiB,GACzB,OAAO,CAAC,MAAM,CAAC,CAajB"}
|
|
@@ -4,7 +4,7 @@ import { getEnvOverlayStorage } from "../../../compat/process.js";
|
|
|
4
4
|
import { isErrorAcrossRealms } from "../../../compat/error-introspection.js";
|
|
5
5
|
import { INITIALIZATION_ERROR, NOT_SUPPORTED } from "../../../../errors/error-registry/general.js";
|
|
6
6
|
import { serverLogger } from "../../../../utils/logger/logger.js";
|
|
7
|
-
import {
|
|
7
|
+
import { recordDenoServeRequestPeer } from "../shared/request-peer.js";
|
|
8
8
|
function abortError(signal) {
|
|
9
9
|
return isErrorAcrossRealms(signal.reason)
|
|
10
10
|
? signal.reason
|
|
@@ -120,15 +120,7 @@ export async function createDenoServerWithRuntime(runtime, handler, options = {}
|
|
|
120
120
|
signal: controller.signal,
|
|
121
121
|
handler: async (request, info) => {
|
|
122
122
|
try {
|
|
123
|
-
|
|
124
|
-
if (remoteAddress?.transport === "tcp" &&
|
|
125
|
-
typeof remoteAddress.hostname === "string") {
|
|
126
|
-
recordRequestPeerFromTransport(request, {
|
|
127
|
-
runtime: "deno",
|
|
128
|
-
transport: "tcp",
|
|
129
|
-
hostname: remoteAddress.hostname,
|
|
130
|
-
});
|
|
131
|
-
}
|
|
123
|
+
recordDenoServeRequestPeer(request, info);
|
|
132
124
|
const response = await wrappedHandler(request);
|
|
133
125
|
return toNativeResponse(response, NativeResponse);
|
|
134
126
|
}
|
|
@@ -16,6 +16,18 @@ export interface RequestPeerProvenance {
|
|
|
16
16
|
}
|
|
17
17
|
/** @internal Record native transport authority before untrusted request code runs. */
|
|
18
18
|
export declare function recordRequestPeerFromTransport(request: Request, provenance: RequestPeerProvenance): boolean;
|
|
19
|
+
/** @internal Record the native peer supplied to a Deno.serve handler. */
|
|
20
|
+
export declare function recordDenoServeRequestPeer(request: Request, info: unknown): boolean;
|
|
21
|
+
/** @internal Record the native peer supplied by a Node IncomingMessage. */
|
|
22
|
+
export declare function recordNodeIncomingRequestPeer(request: Request, incoming: unknown): boolean;
|
|
23
|
+
/** @internal Record the native peer supplied by a Bun server context. */
|
|
24
|
+
export declare function recordBunServerRequestPeer(request: Request, server: unknown): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @internal Record native peer context passed through a public handler bridge.
|
|
27
|
+
* Supports Deno.serve handler info, Node IncomingMessage values, and Bun server
|
|
28
|
+
* context values.
|
|
29
|
+
*/
|
|
30
|
+
export declare function recordHandlerRequestPeer(request: Request, context: unknown): boolean;
|
|
19
31
|
/** @internal Read immutable transport provenance without consulting headers. */
|
|
20
32
|
export declare function getRequestPeerProvenance(request: Request): RequestPeerProvenance | undefined;
|
|
21
33
|
/**
|
|
@@ -24,6 +36,8 @@ export declare function getRequestPeerProvenance(request: Request): RequestPeerP
|
|
|
24
36
|
* replacement cannot manufacture trust.
|
|
25
37
|
*/
|
|
26
38
|
export declare function inheritRequestPeerProvenance<T extends Request>(source: Request, target: T): T;
|
|
39
|
+
/** @internal Run an interceptor without discarding transport peer authority. */
|
|
40
|
+
export declare function runRequestInterceptor(request: Request, interceptor: (request: Request) => Request | Promise<Request>): Promise<Request>;
|
|
27
41
|
/** @internal True for IPv4 127/8, IPv6 ::1, or mapped IPv4 127/8. */
|
|
28
42
|
export declare function isLoopbackAddress(hostname: string): boolean;
|
|
29
43
|
/** True only when recorded native peer provenance contains a loopback address. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-peer.d.ts","sourceRoot":"","sources":["../../../../../../src/src/platform/adapters/runtime/shared/request-peer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"request-peer.d.ts","sourceRoot":"","sources":["../../../../../../src/src/platform/adapters/runtime/shared/request-peer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AA+CD,sFAAsF;AACtF,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,qBAAqB,GAChC,OAAO,CAqBT;AAED,yEAAyE;AACzE,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,GACZ,OAAO,CAwBT;AAED,2EAA2E;AAC3E,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,OAAO,GAChB,OAAO,CAgBT;AAED,yEAAyE;AACzE,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,OAAO,GACd,OAAO,CAqBT;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GACf,OAAO,CAIT;AAED,gFAAgF;AAChF,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,GACf,qBAAqB,GAAG,SAAS,CAEnC;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,OAAO,EAC5D,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,CAAC,GACR,CAAC,CAOH;AAED,gFAAgF;AAChF,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,GAC5D,OAAO,CAAC,OAAO,CAAC,CAYlB;AAED,qEAAqE;AACrE,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAW3D;AAED,kFAAkF;AAClF,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAGnE"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* @module platform/adapters/runtime/shared/request-peer
|
|
10
10
|
*/
|
|
11
11
|
const requestPeerProvenance = new WeakMap();
|
|
12
|
+
const interceptorHandledRequests = new WeakSet();
|
|
12
13
|
const MAX_PEER_HOSTNAME_CHARACTERS = 255;
|
|
13
14
|
const DECIMAL_OCTET_PATTERN = /^(?:0|[1-9][0-9]{0,2})$/;
|
|
14
15
|
const IPV4_MAPPED_IPV6_PATTERN = /^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/;
|
|
@@ -68,6 +69,75 @@ export function recordRequestPeerFromTransport(request, provenance) {
|
|
|
68
69
|
}));
|
|
69
70
|
return true;
|
|
70
71
|
}
|
|
72
|
+
/** @internal Record the native peer supplied to a Deno.serve handler. */
|
|
73
|
+
export function recordDenoServeRequestPeer(request, info) {
|
|
74
|
+
if (typeof info !== "object" || info === null)
|
|
75
|
+
return false;
|
|
76
|
+
try {
|
|
77
|
+
const remoteAddress = info.remoteAddr;
|
|
78
|
+
if (remoteAddress?.transport !== "tcp" ||
|
|
79
|
+
typeof remoteAddress.hostname !== "string") {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return recordRequestPeerFromTransport(request, {
|
|
83
|
+
runtime: "deno",
|
|
84
|
+
transport: "tcp",
|
|
85
|
+
hostname: remoteAddress.hostname,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/** @internal Record the native peer supplied by a Node IncomingMessage. */
|
|
93
|
+
export function recordNodeIncomingRequestPeer(request, incoming) {
|
|
94
|
+
if (typeof incoming !== "object" || incoming === null)
|
|
95
|
+
return false;
|
|
96
|
+
try {
|
|
97
|
+
const socket = incoming.socket;
|
|
98
|
+
if (typeof socket?.remoteAddress !== "string")
|
|
99
|
+
return false;
|
|
100
|
+
return recordRequestPeerFromTransport(request, {
|
|
101
|
+
runtime: "node",
|
|
102
|
+
transport: "tcp",
|
|
103
|
+
hostname: socket.remoteAddress,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
catch {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/** @internal Record the native peer supplied by a Bun server context. */
|
|
111
|
+
export function recordBunServerRequestPeer(request, server) {
|
|
112
|
+
if (typeof server !== "object" || server === null)
|
|
113
|
+
return false;
|
|
114
|
+
try {
|
|
115
|
+
const requestIP = server.requestIP;
|
|
116
|
+
if (typeof requestIP !== "function")
|
|
117
|
+
return false;
|
|
118
|
+
const peer = requestIP.call(server, request);
|
|
119
|
+
if (typeof peer?.address !== "string")
|
|
120
|
+
return false;
|
|
121
|
+
return recordRequestPeerFromTransport(request, {
|
|
122
|
+
runtime: "bun",
|
|
123
|
+
transport: "tcp",
|
|
124
|
+
hostname: peer.address,
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
catch {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @internal Record native peer context passed through a public handler bridge.
|
|
133
|
+
* Supports Deno.serve handler info, Node IncomingMessage values, and Bun server
|
|
134
|
+
* context values.
|
|
135
|
+
*/
|
|
136
|
+
export function recordHandlerRequestPeer(request, context) {
|
|
137
|
+
return recordDenoServeRequestPeer(request, context) ||
|
|
138
|
+
recordNodeIncomingRequestPeer(request, context) ||
|
|
139
|
+
recordBunServerRequestPeer(request, context);
|
|
140
|
+
}
|
|
71
141
|
/** @internal Read immutable transport provenance without consulting headers. */
|
|
72
142
|
export function getRequestPeerProvenance(request) {
|
|
73
143
|
return requestPeerProvenance.get(request);
|
|
@@ -87,6 +157,18 @@ export function inheritRequestPeerProvenance(source, target) {
|
|
|
87
157
|
requestPeerProvenance.set(target, provenance);
|
|
88
158
|
return target;
|
|
89
159
|
}
|
|
160
|
+
/** @internal Run an interceptor without discarding transport peer authority. */
|
|
161
|
+
export async function runRequestInterceptor(request, interceptor) {
|
|
162
|
+
interceptorHandledRequests.add(request);
|
|
163
|
+
const intercepted = await interceptor(request);
|
|
164
|
+
if (intercepted === request)
|
|
165
|
+
return request;
|
|
166
|
+
if (interceptorHandledRequests.has(intercepted)) {
|
|
167
|
+
throw new TypeError("Request interceptors must return a fresh replacement Request");
|
|
168
|
+
}
|
|
169
|
+
interceptorHandledRequests.add(intercepted);
|
|
170
|
+
return inheritRequestPeerProvenance(request, intercepted);
|
|
171
|
+
}
|
|
90
172
|
/** @internal True for IPv4 127/8, IPv6 ::1, or mapped IPv4 127/8. */
|
|
91
173
|
export function isLoopbackAddress(hostname) {
|
|
92
174
|
const ipv4 = parseCanonicalIpv4(hostname);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Client identity for guarded egress, standing in for the runtime-supplied
|
|
8
8
|
* `user-agent` (`node`, `Deno/x.y.z`) that this transport cannot inherit.
|
|
9
9
|
*/
|
|
10
|
-
export declare const DEFAULT_OUTBOUND_USER_AGENT = "veryfront/0.1.
|
|
10
|
+
export declare const DEFAULT_OUTBOUND_USER_AGENT = "veryfront/0.1.1239";
|
|
11
11
|
/**
|
|
12
12
|
* Fill in the request headers a plain `fetch` attaches on its own, leaving any
|
|
13
13
|
* the caller set untouched. This transport talks to `node:http` directly, so
|
|
@@ -68,7 +68,11 @@ export declare function requestJson(options: {
|
|
|
68
68
|
maxResponseBytes?: number;
|
|
69
69
|
}): Promise<unknown>;
|
|
70
70
|
/**
|
|
71
|
-
* Request a streaming response.
|
|
71
|
+
* Request a streaming response. When the request body is replayable,
|
|
72
|
+
* classified rate-limit responses are retried up to two times before provider
|
|
73
|
+
* output is exposed, with all retry waits and attempts bounded by the stream
|
|
74
|
+
* header deadline. ReadableStream request bodies are not retried because fetch
|
|
75
|
+
* can consume them on the first attempt.
|
|
72
76
|
*
|
|
73
77
|
* Response headers and error bodies have a 30-second default deadline. After
|
|
74
78
|
* headers arrive, caller cancellation remains connected to the returned body;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-http.d.ts","sourceRoot":"","sources":["../../../../src/src/provider/runtime-loader/provider-http.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"provider-http.d.ts","sourceRoot":"","sources":["../../../../src/src/provider/runtime-loader/provider-http.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,CAAC;AAgCxF;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,SAAiB,YAAY,CAAC,EAAE,MAAM,CAAC;gBAE3B,OAAO,EAAE;QACnB,QAAQ,EAAE,YAAY,CAAC;QACvB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CAcF;AAED,4EAA4E;AAC5E,qBAAa,uBAAwB,SAAQ,aAAa;CAAG;AAE7D,mFAAmF;AACnF,qBAAa,sBAAuB,SAAQ,aAAa;CAAG;AAE5D,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60_000;
|
|
7
7
|
const DEFAULT_PROVIDER_STREAM_HEADERS_TIMEOUT_MS = 30_000;
|
|
8
|
+
const MAX_PROVIDER_STREAM_RATE_LIMIT_RETRIES = 2;
|
|
9
|
+
const DEFAULT_PROVIDER_STREAM_RATE_LIMIT_RETRY_DELAY_MS = 1_000;
|
|
8
10
|
const DEFAULT_PROVIDER_JSON_MAX_BYTES = 32 * 1024 * 1024;
|
|
9
11
|
const MAX_PROVIDER_JSON_MAX_BYTES = 256 * 1024 * 1024;
|
|
10
12
|
const MAX_PROVIDER_JSON_BODY_READS = 65_536;
|
|
@@ -367,6 +369,25 @@ async function waitForAbortable(operation, abortSignal, onLateValue) {
|
|
|
367
369
|
});
|
|
368
370
|
});
|
|
369
371
|
}
|
|
372
|
+
async function waitForProviderRateLimitRetry(delayMs, abortSignal) {
|
|
373
|
+
abortSignal.throwIfAborted();
|
|
374
|
+
if (delayMs === 0)
|
|
375
|
+
return;
|
|
376
|
+
await new Promise((resolve, reject) => {
|
|
377
|
+
const timeoutId = setTimeout(() => {
|
|
378
|
+
abortSignal.removeEventListener("abort", onAbort);
|
|
379
|
+
resolve();
|
|
380
|
+
}, delayMs);
|
|
381
|
+
const onAbort = () => {
|
|
382
|
+
clearTimeout(timeoutId);
|
|
383
|
+
abortSignal.removeEventListener("abort", onAbort);
|
|
384
|
+
reject(abortSignal.reason);
|
|
385
|
+
};
|
|
386
|
+
abortSignal.addEventListener("abort", onAbort, { once: true });
|
|
387
|
+
if (abortSignal.aborted)
|
|
388
|
+
onAbort();
|
|
389
|
+
});
|
|
390
|
+
}
|
|
370
391
|
function cancelLateResponse(response) {
|
|
371
392
|
try {
|
|
372
393
|
const cancellation = response.body?.cancel();
|
|
@@ -587,7 +608,11 @@ export async function requestJson(options) {
|
|
|
587
608
|
}
|
|
588
609
|
}
|
|
589
610
|
/**
|
|
590
|
-
* Request a streaming response.
|
|
611
|
+
* Request a streaming response. When the request body is replayable,
|
|
612
|
+
* classified rate-limit responses are retried up to two times before provider
|
|
613
|
+
* output is exposed, with all retry waits and attempts bounded by the stream
|
|
614
|
+
* header deadline. ReadableStream request bodies are not retried because fetch
|
|
615
|
+
* can consume them on the first attempt.
|
|
591
616
|
*
|
|
592
617
|
* Response headers and error bodies have a 30-second default deadline. After
|
|
593
618
|
* headers arrive, caller cancellation remains connected to the returned body;
|
|
@@ -596,24 +621,37 @@ export async function requestJson(options) {
|
|
|
596
621
|
export async function requestStream(options) {
|
|
597
622
|
const deadline = createRequestDeadline(options.init, options.headersTimeoutMs ?? DEFAULT_PROVIDER_STREAM_HEADERS_TIMEOUT_MS, "headersTimeoutMs");
|
|
598
623
|
let streamOwnsDeadline = false;
|
|
624
|
+
let rateLimitRetryCount = 0;
|
|
625
|
+
const requestBodyIsReplayable = !(deadline.init.body instanceof ReadableStream);
|
|
599
626
|
try {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
627
|
+
while (true) {
|
|
628
|
+
const response = await waitForAbortable(() => options.fetchImpl(options.url, deadline.init), deadline.deadlineSignal, cancelLateResponse);
|
|
629
|
+
if (!response.ok) {
|
|
630
|
+
const err = await buildProviderError(options.providerKind, response, deadline.deadlineSignal);
|
|
631
|
+
err.message = `${options.providerLabel} request failed: ${err.message}`;
|
|
632
|
+
if (err instanceof ProviderRateLimitError &&
|
|
633
|
+
requestBodyIsReplayable &&
|
|
634
|
+
rateLimitRetryCount < MAX_PROVIDER_STREAM_RATE_LIMIT_RETRIES) {
|
|
635
|
+
const retryDelayMs = err.retryAfterMs ??
|
|
636
|
+
DEFAULT_PROVIDER_STREAM_RATE_LIMIT_RETRY_DELAY_MS * 2 ** rateLimitRetryCount;
|
|
637
|
+
rateLimitRetryCount++;
|
|
638
|
+
await waitForProviderRateLimitRetry(retryDelayMs, deadline.deadlineSignal);
|
|
639
|
+
continue;
|
|
640
|
+
}
|
|
641
|
+
throw err;
|
|
642
|
+
}
|
|
643
|
+
if (!response.body) {
|
|
644
|
+
throw new ProviderRequestError({
|
|
645
|
+
provider: options.providerKind,
|
|
646
|
+
status: response.status,
|
|
647
|
+
message: `${options.providerLabel} request failed: stream body missing`,
|
|
648
|
+
retryable: false,
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
deadline.cancelTimeout();
|
|
652
|
+
streamOwnsDeadline = true;
|
|
653
|
+
return streamWithCleanup(response.body, deadline.deadlineSignal, deadline.abort, deadline.dispose);
|
|
613
654
|
}
|
|
614
|
-
deadline.cancelTimeout();
|
|
615
|
-
streamOwnsDeadline = true;
|
|
616
|
-
return streamWithCleanup(response.body, deadline.deadlineSignal, deadline.abort, deadline.dispose);
|
|
617
655
|
}
|
|
618
656
|
catch (error) {
|
|
619
657
|
if (deadline.timedOut) {
|
|
@@ -15,4 +15,5 @@ export { MAX_PROVIDER_SSE_BUFFER_CODE_UNITS, parseFinalSseChunk, parseSseChunk,
|
|
|
15
15
|
export { buildProviderError, createWarningCollector, isNumberArray, jsonValuesEqual, mergeUsage, parseRetryAfterMs, ProviderError, ProviderOverloadedError, ProviderQuotaError, ProviderRateLimitError, ProviderRequestError, readGatewayBillingMode, readProviderOptions, readRecord, readTextParts, requestJson, requestStream, snapshotJsonValue, snapshotProviderJsonValue, stringifyJsonValue, stringifyToolArguments, stringifyToolResultValue, toOpenAICompatibleMessages, toOpenAICompatibleTools, unwrapToolInputSchema, } from "../runtime-loader.js";
|
|
16
16
|
export type { JsonSnapshotOptions, JsonSnapshotValue, OpenAICompatibleChatMessage, OpenAICompatibleChatRequest, ProviderWarning, RuntimeUsage, } from "../runtime-loader.js";
|
|
17
17
|
export type { ModelRuntimeCallOptions, ModelRuntimePromptMessage, ModelRuntimeToolDefinition, RuntimeAssistantContentPart, RuntimePromptMessage, RuntimeReasoningOption, RuntimeResponseFormat, } from "../types.js";
|
|
18
|
+
export { canIdentifyProxyWithoutHooks, isProxyWithoutHooks, } from "../../platform/compat/error-introspection.js";
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/provider/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,4BAA4B,CAAC;AAEpC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AAGjD,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EACL,kCAAkC,EAClC,kBAAkB,EAClB,aAAa,GACd,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,mBAAmB,EACnB,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/provider/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,4BAA4B,CAAC;AAEpC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AAGjD,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EACL,kCAAkC,EAClC,kBAAkB,EAClB,aAAa,GACd,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,mBAAmB,EACnB,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GACpB,MAAM,8CAA8C,CAAC"}
|
|
@@ -18,3 +18,5 @@ export { TOOL_INPUT_PENDING_THRESHOLD_MS, withToolInputStatusTransitions, } from
|
|
|
18
18
|
export { MAX_PROVIDER_SSE_BUFFER_CODE_UNITS, parseFinalSseChunk, parseSseChunk, } from "../runtime-loader/provider-sse.js";
|
|
19
19
|
// Retry, error, HTTP, usage, and JSON boundary plumbing.
|
|
20
20
|
export { buildProviderError, createWarningCollector, isNumberArray, jsonValuesEqual, mergeUsage, parseRetryAfterMs, ProviderError, ProviderOverloadedError, ProviderQuotaError, ProviderRateLimitError, ProviderRequestError, readGatewayBillingMode, readProviderOptions, readRecord, readTextParts, requestJson, requestStream, snapshotJsonValue, snapshotProviderJsonValue, stringifyJsonValue, stringifyToolArguments, stringifyToolResultValue, toOpenAICompatibleMessages, toOpenAICompatibleTools, unwrapToolInputSchema, } from "../runtime-loader.js";
|
|
21
|
+
// No-hook runtime inspection used by provider extensions at JSON boundaries.
|
|
22
|
+
export { canIdentifyProxyWithoutHooks, isProxyWithoutHooks, } from "../../platform/compat/error-introspection.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/src/provider/types.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,KAAK,iCAAiC,GAClC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9B;IACA,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAA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