veryfront 0.1.1239 → 0.1.1241
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/commands/build/command-help.d.ts.map +1 -1
- package/esm/cli/commands/build/command-help.js +4 -0
- package/esm/cli/commands/build/command.d.ts +3 -1
- package/esm/cli/commands/build/command.d.ts.map +1 -1
- package/esm/cli/commands/build/command.js +13 -5
- package/esm/cli/commands/build/handler.d.ts +17 -0
- package/esm/cli/commands/build/handler.d.ts.map +1 -1
- package/esm/cli/commands/build/handler.js +188 -9
- package/esm/cli/commands/generate/command.d.ts.map +1 -1
- package/esm/cli/commands/generate/command.js +40 -0
- package/esm/cli/commands/push/command.d.ts.map +1 -1
- package/esm/cli/commands/push/command.js +24 -16
- package/esm/cli/shared/ensure-content-processor.d.ts +16 -1
- package/esm/cli/shared/ensure-content-processor.d.ts.map +1 -1
- package/esm/cli/shared/ensure-content-processor.js +39 -5
- package/esm/cli/shared/project-creation.d.ts.map +1 -1
- package/esm/cli/shared/project-creation.js +29 -1
- package/esm/deno.d.ts +14 -5
- package/esm/deno.js +23 -7
- package/esm/extensions/ext-llm-openai/src/openai-chat-stream.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-chat-stream.js +16 -6
- package/esm/extensions/ext-llm-openai/src/openai-provider.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-provider.js +11 -2
- package/esm/extensions/ext-llm-openai/src/openai-reasoning-models.d.ts +2 -14
- package/esm/extensions/ext-llm-openai/src/openai-reasoning-models.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-reasoning-models.js +1 -72
- package/esm/extensions/ext-schema-zod/src/adapter.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/browser-aliases.d.ts +164 -0
- package/esm/src/agent/ag-ui/browser-aliases.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/browser-aliases.js +68 -0
- package/esm/src/agent/ag-ui/chat-ui-chunk-encoder.d.ts +35 -0
- package/esm/src/agent/ag-ui/chat-ui-chunk-encoder.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{chat-ui-chunk-browser-encoder.js → chat-ui-chunk-encoder.js} +11 -11
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts +8 -6
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.js +5 -4
- package/esm/src/agent/ag-ui/chunk-encoder.d.ts +26 -0
- package/esm/src/agent/ag-ui/chunk-encoder.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{browser-chunk-encoder.js → chunk-encoder.js} +3 -2
- package/esm/src/agent/ag-ui/{browser-encoder.d.ts → encoder.d.ts} +33 -19
- package/esm/src/agent/ag-ui/encoder.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{browser-encoder.js → encoder.js} +81 -27
- package/esm/src/agent/ag-ui/finalize-tracker.d.ts +15 -0
- package/esm/src/agent/ag-ui/finalize-tracker.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{browser-finalize-tracker.js → finalize-tracker.js} +4 -4
- package/esm/src/agent/ag-ui/response-stream.d.ts +36 -0
- package/esm/src/agent/ag-ui/response-stream.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{browser-response-stream.js → response-stream.js} +6 -3
- package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts +1 -1
- package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts +7 -7
- package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-event-encoder.js +4 -4
- package/esm/src/agent/ag-ui/runtime-response.d.ts +20 -0
- package/esm/src/agent/ag-ui/runtime-response.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/runtime-response.js +16 -0
- package/esm/src/agent/ag-ui/sse-parser.d.ts +1 -1
- package/esm/src/agent/ag-ui/sse-parser.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/sse-parser.js +3 -3
- package/esm/src/agent/ag-ui/tracked-response.d.ts +11 -0
- package/esm/src/agent/ag-ui/tracked-response.d.ts.map +1 -0
- package/esm/src/agent/ag-ui/{tracked-browser-response.js → tracked-response.js} +6 -4
- package/esm/src/agent/conversation/hosted-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/conversation/hosted-lifecycle.js +2 -1
- package/esm/src/agent/conversation/lifecycle-run-event-adapter.d.ts.map +1 -1
- package/esm/src/agent/conversation/lifecycle-run-event-adapter.js +2 -0
- package/esm/src/agent/conversation/private-run-event.d.ts.map +1 -1
- package/esm/src/agent/conversation/private-run-event.js +174 -3
- package/esm/src/agent/conversation/run-chunk-mirror.d.ts +2 -0
- package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-chunk-mirror.js +13 -6
- package/esm/src/agent/conversation/run-events.d.ts +8 -0
- package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-events.js +54 -4
- package/esm/src/agent/conversation/run-stream-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-stream-mirror.js +5 -2
- package/esm/src/agent/hosted/durable-run-event-sink.d.ts +2 -1
- package/esm/src/agent/hosted/durable-run-event-sink.d.ts.map +1 -1
- package/esm/src/agent/hosted/durable-run-event-sink.js +9 -7
- package/esm/src/agent/hosted/prepared-chat-execution.js +2 -2
- package/esm/src/agent/index.d.ts +9 -8
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/index.js +9 -8
- package/esm/src/agent/memory/memory.d.ts.map +1 -1
- package/esm/src/agent/memory/memory.js +7 -6
- package/esm/src/agent/react/use-chat/types.d.ts +2 -0
- package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/use-chat.js +3 -2
- package/esm/src/agent/runtime/ag-ui-contract.d.ts +2 -2
- package/esm/src/agent/runtime/ag-ui-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/ag-ui-contract.js +2 -2
- package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
- package/esm/src/agent/runtime/chat-stream-handler.js +34 -4
- package/esm/src/agent/runtime/index.d.ts.map +1 -1
- package/esm/src/agent/runtime/index.js +15 -6
- package/esm/src/agent/streaming/data-stream.d.ts +1 -1
- package/esm/src/agent/streaming/data-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/fork-runtime-part-mapper.d.ts +1 -1
- package/esm/src/agent/streaming/fork-runtime-part-mapper.d.ts.map +1 -1
- package/esm/src/agent/streaming/lifecycle/live-adapter.d.ts.map +1 -1
- package/esm/src/agent/streaming/lifecycle/live-adapter.js +2 -0
- package/esm/src/agent/streaming/lifecycle/reducer.d.ts.map +1 -1
- package/esm/src/agent/streaming/lifecycle/reducer.js +7 -0
- package/esm/src/agent/streaming/lifecycle/runtime-provider-adapter.js +4 -0
- package/esm/src/build/production-build/templates.d.ts.map +1 -1
- package/esm/src/build/production-build/templates.js +1 -1
- package/esm/src/cache/request-cache-batcher.d.ts +1 -0
- package/esm/src/cache/request-cache-batcher.d.ts.map +1 -1
- package/esm/src/cache/request-cache-batcher.js +21 -7
- package/esm/src/chat/ag-ui.d.ts +1 -1
- package/esm/src/chat/index.d.ts +2 -2
- package/esm/src/chat/index.d.ts.map +1 -1
- package/esm/src/chat/index.js +1 -1
- package/esm/src/config/config-shim.d.ts +1 -1
- package/esm/src/config/config-shim.d.ts.map +1 -1
- package/esm/src/config/config-shim.js +1 -1
- package/esm/src/config/declarative-evaluator-worker-protocol.d.ts.map +1 -1
- package/esm/src/config/env.js +1 -1
- package/esm/src/config/environment-config.js +1 -1
- package/esm/src/config/loader.d.ts.map +1 -1
- package/esm/src/config/loader.js +4 -4
- package/esm/src/config/schemas/config.schema.d.ts +20 -0
- package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
- package/esm/src/config/schemas/config.schema.js +27 -0
- package/esm/src/config/server-external-packages.d.ts +11 -0
- package/esm/src/config/server-external-packages.d.ts.map +1 -0
- package/esm/src/config/server-external-packages.js +53 -0
- package/esm/src/data/data-fetcher.d.ts.map +1 -1
- package/esm/src/data/data-fetcher.js +9 -4
- package/esm/src/data/data-result-validation.d.ts +5 -0
- package/esm/src/data/data-result-validation.d.ts.map +1 -0
- package/esm/src/data/data-result-validation.js +56 -0
- package/esm/src/data/helpers.d.ts +5 -5
- package/esm/src/data/helpers.d.ts.map +1 -1
- package/esm/src/data/helpers.js +22 -68
- package/esm/src/data/index.d.ts +1 -1
- package/esm/src/data/index.d.ts.map +1 -1
- package/esm/src/data/response-metadata.d.ts +23 -0
- package/esm/src/data/response-metadata.d.ts.map +1 -0
- package/esm/src/data/response-metadata.js +311 -0
- package/esm/src/data/schemas/data.schema.d.ts +95 -6
- package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
- package/esm/src/data/schemas/data.schema.js +57 -3
- package/esm/src/data/schemas/index.d.ts +1 -1
- package/esm/src/data/schemas/index.d.ts.map +1 -1
- package/esm/src/data/schemas/index.js +1 -1
- package/esm/src/data/server-data-fetcher.d.ts.map +1 -1
- package/esm/src/data/server-data-fetcher.js +5 -5
- package/esm/src/data/static-data-fetcher.d.ts +2 -2
- package/esm/src/data/static-data-fetcher.d.ts.map +1 -1
- package/esm/src/data/static-data-fetcher.js +6 -3
- package/esm/src/data/types.d.ts +1 -1
- package/esm/src/data/types.d.ts.map +1 -1
- package/esm/src/discovery/discovery-engine.d.ts.map +1 -1
- package/esm/src/discovery/discovery-engine.js +81 -26
- package/esm/src/discovery/handlers/task-handler.d.ts +1 -1
- package/esm/src/discovery/handlers/task-handler.d.ts.map +1 -1
- package/esm/src/discovery/handlers/task-handler.js +6 -3
- package/esm/src/discovery/types.d.ts +6 -4
- package/esm/src/discovery/types.d.ts.map +1 -1
- package/esm/src/errors/error-registry/runtime.d.ts +2 -0
- package/esm/src/errors/error-registry/runtime.d.ts.map +1 -1
- package/esm/src/errors/error-registry/runtime.js +8 -0
- package/esm/src/errors/error-registry.d.ts +1 -0
- package/esm/src/errors/error-registry.d.ts.map +1 -1
- package/esm/src/errors/index.d.ts +1 -1
- package/esm/src/errors/index.d.ts.map +1 -1
- package/esm/src/errors/index.js +1 -1
- package/esm/src/errors/user-friendly/error-wrapper.js +1 -1
- package/esm/src/errors/veryfront-error.d.ts.map +1 -1
- package/esm/src/extensions/index.d.ts +2 -0
- package/esm/src/extensions/index.d.ts.map +1 -1
- package/esm/src/extensions/index.js +1 -0
- package/esm/src/extensions/parser/code-parser.d.ts +9 -0
- package/esm/src/extensions/parser/code-parser.d.ts.map +1 -1
- package/esm/src/extensions/parser/defaults.d.ts +5 -0
- package/esm/src/extensions/parser/defaults.d.ts.map +1 -1
- package/esm/src/extensions/parser/defaults.js +23 -11
- package/esm/src/fs/index.d.ts +50 -1
- package/esm/src/fs/index.d.ts.map +1 -1
- package/esm/src/fs/index.js +50 -1
- package/esm/src/html/html-injection.d.ts +2 -0
- package/esm/src/html/html-injection.d.ts.map +1 -1
- package/esm/src/html/html-injection.js +4 -1
- package/esm/src/html/html-shell-generator.d.ts.map +1 -1
- package/esm/src/html/html-shell-generator.js +11 -3
- package/esm/src/html/hydration-script-builder/hydration-runtime.generated.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/hydration-runtime.generated.js +1 -1
- package/esm/src/html/hydration-script-builder/prod-runtime-selection.d.ts +23 -0
- package/esm/src/html/hydration-script-builder/prod-runtime-selection.d.ts.map +1 -0
- package/esm/src/html/hydration-script-builder/prod-runtime-selection.js +55 -0
- package/esm/src/html/hydration-script-builder/prod-scripts.d.ts +2 -0
- package/esm/src/html/hydration-script-builder/prod-scripts.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/prod-scripts.js +12 -3
- package/esm/src/html/schemas/html.schema.d.ts +2 -0
- package/esm/src/html/schemas/html.schema.d.ts.map +1 -1
- package/esm/src/html/schemas/html.schema.js +2 -0
- package/esm/src/html/styles-builder/css-hash-cache.d.ts +1 -1
- package/esm/src/html/styles-builder/css-hash-cache.d.ts.map +1 -1
- package/esm/src/html/styles-builder/css-hash-cache.js +1 -1
- package/esm/src/index.client.d.ts +2 -2
- package/esm/src/index.client.d.ts.map +1 -1
- package/esm/src/index.client.js +3 -1
- package/esm/src/index.d.ts +1 -1
- package/esm/src/index.d.ts.map +1 -1
- package/esm/src/internal-agents/ag-ui-sse.d.ts +7 -7
- package/esm/src/internal-agents/ag-ui-sse.d.ts.map +1 -1
- package/esm/src/internal-agents/ag-ui-sse.js +17 -9
- package/esm/src/internal-agents/control-plane-auth.js +1 -1
- package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.js +15 -9
- package/esm/src/modules/import-map/loader.d.ts.map +1 -1
- package/esm/src/modules/import-map/loader.js +2 -2
- package/esm/src/modules/import-map/merger.js +2 -2
- package/esm/src/modules/import-map/preloader.js +2 -2
- package/esm/src/modules/react-loader/component-loader.d.ts.map +1 -1
- package/esm/src/modules/react-loader/component-loader.js +2 -0
- package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts +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 +3 -2
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-cache-manager.d.ts.map +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-cache-manager.js +7 -1
- package/esm/src/modules/react-loader/ssr-module-loader/types.d.ts +2 -0
- package/esm/src/modules/react-loader/ssr-module-loader/types.d.ts.map +1 -1
- package/esm/src/modules/react-loader/transformed-module-coordinator.d.ts.map +1 -1
- package/esm/src/modules/react-loader/transformed-module-coordinator.js +2 -1
- package/esm/src/modules/react-loader/types.d.ts +2 -0
- package/esm/src/modules/react-loader/types.d.ts.map +1 -1
- package/esm/src/modules/server/module-response-cache.d.ts +1 -0
- package/esm/src/modules/server/module-response-cache.d.ts.map +1 -1
- package/esm/src/modules/server/module-response-cache.js +5 -0
- package/esm/src/modules/server/module-server.d.ts.map +1 -1
- package/esm/src/modules/server/module-server.js +4 -0
- package/esm/src/modules/server/module-transform.d.ts.map +1 -1
- package/esm/src/modules/server/module-transform.js +2 -0
- package/esm/src/observability/metrics/config.js +1 -1
- package/esm/src/observability/request-profiler.js +1 -1
- package/esm/src/observability/telemetry-error.js +2 -2
- package/esm/src/observability/tracing/telemetry-env.js +1 -1
- package/esm/src/platform/adapters/fs/cache/file-cache.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/cache/file-cache.js +5 -0
- package/esm/src/platform/adapters/fs/veryfront/adapter.d.ts +39 -0
- package/esm/src/platform/adapters/fs/veryfront/adapter.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/adapter.js +209 -40
- package/esm/src/platform/adapters/fs/veryfront/file-list-index.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/file-list-index.js +0 -14
- package/esm/src/platform/adapters/fs/veryfront/read-operations-helpers.d.ts +0 -1
- package/esm/src/platform/adapters/fs/veryfront/read-operations-helpers.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/read-operations-helpers.js +0 -3
- package/esm/src/platform/adapters/fs/veryfront/read-operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/read-operations.js +1 -4
- package/esm/src/platform/adapters/fs/veryfront/request-context.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/request-context.js +4 -0
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.js +9 -1
- package/esm/src/platform/adapters/fs/veryfront/websocket-manager-helpers.js +1 -1
- package/esm/src/platform/adapters/fs/veryfront/websocket-manager.d.ts +2 -1
- package/esm/src/platform/adapters/fs/veryfront/websocket-manager.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/websocket-manager.js +97 -66
- package/esm/src/platform/compat/dns.d.ts +10 -0
- package/esm/src/platform/compat/dns.d.ts.map +1 -1
- package/esm/src/platform/compat/dns.js +50 -0
- package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
- package/esm/src/platform/compat/process/lifecycle.d.ts +10 -0
- package/esm/src/platform/compat/process/lifecycle.d.ts.map +1 -1
- package/esm/src/platform/compat/process/lifecycle.js +23 -0
- package/esm/src/platform/compat/process.d.ts +1 -1
- package/esm/src/platform/compat/process.d.ts.map +1 -1
- package/esm/src/platform/compat/process.js +1 -1
- package/esm/src/platform/compat/proxy-topology.js +1 -1
- package/esm/src/platform/request-context-access.d.ts +24 -0
- package/esm/src/platform/request-context-access.d.ts.map +1 -0
- package/esm/src/platform/request-context-access.js +26 -0
- package/esm/src/provider/shared/openai-reasoning.d.ts +16 -0
- package/esm/src/provider/shared/openai-reasoning.d.ts.map +1 -0
- package/esm/src/provider/shared/openai-reasoning.js +73 -0
- package/esm/src/provider/types.d.ts +2 -0
- package/esm/src/provider/types.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/provider.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/provider.js +45 -18
- package/esm/src/proxy/handler.d.ts +1 -0
- package/esm/src/proxy/handler.d.ts.map +1 -1
- package/esm/src/proxy/handler.js +17 -4
- package/esm/src/proxy/proxy-error-context.d.ts +1 -0
- package/esm/src/proxy/proxy-error-context.d.ts.map +1 -1
- package/esm/src/proxy/proxy-error-context.js +1 -0
- package/esm/src/proxy/request-host.d.ts +3 -0
- package/esm/src/proxy/request-host.d.ts.map +1 -1
- package/esm/src/proxy/request-host.js +28 -8
- package/esm/src/proxy/routing-invalidation-redis.d.ts.map +1 -1
- package/esm/src/proxy/routing-invalidation-redis.js +38 -4
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +27 -3
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachments-panel.js +29 -7
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts +15 -6
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sidebar.js +37 -4
- package/esm/src/react/components/chat/chat/components/sidebar.types.d.ts +12 -1
- package/esm/src/react/components/chat/chat/components/sidebar.types.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +3 -1
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-composer.js +17 -6
- package/esm/src/react/components/chat/chat/composition/chat-composer.types.d.ts +12 -5
- package/esm/src/react/components/chat/chat/composition/chat-composer.types.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +18 -5
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-root.js +65 -1
- package/esm/src/react/components/chat/chat/composition/use-composer-value.d.ts +6 -3
- package/esm/src/react/components/chat/chat/composition/use-composer-value.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/use-composer-value.js +56 -5
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +7 -1
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts +14 -4
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.js +10 -1
- package/esm/src/react/components/chat/chat/index.d.ts +1 -1
- package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/persistence/conversation-codec.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat.d.ts +1 -1
- package/esm/src/react/components/chat/chat.d.ts.map +1 -1
- package/esm/src/react/server-render-context.d.ts.map +1 -1
- package/esm/src/release-assets/dependency-artifact-builder.d.ts.map +1 -1
- package/esm/src/rendering/app-reserved.d.ts +2 -2
- package/esm/src/rendering/app-reserved.d.ts.map +1 -1
- package/esm/src/rendering/app-reserved.js +4 -3
- package/esm/src/rendering/cache/cache-coordinator.d.ts.map +1 -1
- package/esm/src/rendering/cache/cache-coordinator.js +1 -0
- package/esm/src/rendering/cache/cache-payload.d.ts.map +1 -1
- package/esm/src/rendering/cache/cache-payload.js +44 -0
- package/esm/src/rendering/component-handling.d.ts +4 -1
- package/esm/src/rendering/component-handling.d.ts.map +1 -1
- package/esm/src/rendering/component-handling.js +13 -6
- package/esm/src/rendering/layouts/layout-applicator.d.ts.map +1 -1
- package/esm/src/rendering/layouts/layout-applicator.js +3 -1
- package/esm/src/rendering/layouts/layout-collector.d.ts +1 -0
- package/esm/src/rendering/layouts/layout-collector.d.ts.map +1 -1
- package/esm/src/rendering/layouts/layout-collector.js +201 -4
- package/esm/src/rendering/layouts/utils/applicator.d.ts +1 -1
- package/esm/src/rendering/layouts/utils/applicator.d.ts.map +1 -1
- package/esm/src/rendering/layouts/utils/applicator.js +3 -3
- package/esm/src/rendering/layouts/utils/component-loader.d.ts +2 -2
- package/esm/src/rendering/layouts/utils/component-loader.d.ts.map +1 -1
- package/esm/src/rendering/layouts/utils/component-loader.js +12 -4
- package/esm/src/rendering/orchestrator/file-resolver/index.d.ts +3 -1
- package/esm/src/rendering/orchestrator/file-resolver/index.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/file-resolver/index.js +13 -5
- package/esm/src/rendering/orchestrator/html.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/html.js +26 -10
- package/esm/src/rendering/orchestrator/layout.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/layout.js +2 -2
- package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.js +20 -2
- package/esm/src/rendering/orchestrator/module-loader/index.d.ts +2 -0
- package/esm/src/rendering/orchestrator/module-loader/index.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/index.js +6 -3
- package/esm/src/rendering/orchestrator/module-loader/module-cache-lookup.d.ts +3 -2
- package/esm/src/rendering/orchestrator/module-loader/module-cache-lookup.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/module-cache-lookup.js +6 -6
- package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts +1 -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 +2 -2
- package/esm/src/rendering/orchestrator/module-loader/module-transform-cache.d.ts +2 -0
- package/esm/src/rendering/orchestrator/module-loader/module-transform-cache.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/module-loader/module-transform-cache.js +7 -1
- package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/pipeline.js +58 -10
- package/esm/src/rendering/orchestrator/render-result-assembly.d.ts +3 -0
- package/esm/src/rendering/orchestrator/render-result-assembly.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/render-result-assembly.js +3 -1
- package/esm/src/rendering/page-renderer.d.ts +2 -0
- package/esm/src/rendering/page-renderer.d.ts.map +1 -1
- package/esm/src/rendering/page-renderer.js +4 -1
- package/esm/src/rendering/page-rendering.d.ts +2 -0
- package/esm/src/rendering/page-rendering.d.ts.map +1 -1
- package/esm/src/rendering/page-rendering.js +1 -0
- package/esm/src/rendering/renderer.d.ts.map +1 -1
- package/esm/src/rendering/renderer.js +31 -1
- package/esm/src/rendering/script-page-handling.d.ts +2 -0
- package/esm/src/rendering/script-page-handling.d.ts.map +1 -1
- package/esm/src/rendering/script-page-handling.js +17 -1
- package/esm/src/rendering/shared/context-aware-cache.d.ts.map +1 -1
- package/esm/src/rendering/shared/context-aware-cache.js +3 -0
- package/esm/src/rendering/snippet-renderer.d.ts +10 -0
- package/esm/src/rendering/snippet-renderer.d.ts.map +1 -1
- package/esm/src/rendering/snippet-renderer.js +40 -18
- package/esm/src/rendering/ssr/component-registry.d.ts +1 -1
- package/esm/src/rendering/ssr/component-registry.d.ts.map +1 -1
- package/esm/src/rendering/ssr/component-registry.js +13 -6
- package/esm/src/rendering/ssr-outcome.d.ts +4 -3
- package/esm/src/rendering/ssr-outcome.d.ts.map +1 -1
- package/esm/src/rendering/ssr-outcome.js +25 -8
- package/esm/src/routing/api/handler.d.ts +1 -1
- package/esm/src/routing/api/handler.d.ts.map +1 -1
- package/esm/src/routing/api/handler.js +6 -1
- package/esm/src/runtime/model-call-context.d.ts +37 -2
- package/esm/src/runtime/model-call-context.d.ts.map +1 -1
- package/esm/src/runtime/model-call-context.js +42 -1
- package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.js +108 -8
- package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
- package/esm/src/sandbox/shell-tools.js +16 -6
- package/esm/src/schedule/validation.d.ts +9 -1
- package/esm/src/schedule/validation.d.ts.map +1 -1
- package/esm/src/schedule/validation.js +167 -80
- package/esm/src/schemas/json-value.d.ts.map +1 -1
- package/esm/src/schemas/json-value.js +81 -37
- package/esm/src/security/http/base-handler.js +1 -1
- package/esm/src/security/sandbox/project-worker.d.ts +1 -0
- package/esm/src/security/sandbox/project-worker.d.ts.map +1 -1
- package/esm/src/security/sandbox/project-worker.js +6 -0
- package/esm/src/security/sandbox/worker-read-scope.d.ts +20 -0
- package/esm/src/security/sandbox/worker-read-scope.d.ts.map +1 -0
- package/esm/src/security/sandbox/worker-read-scope.js +127 -0
- package/esm/src/security/sandbox/worker-types.d.ts +12 -0
- package/esm/src/security/sandbox/worker-types.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/dashboard/api.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/dashboard/api.js +70 -3
- package/esm/src/server/handlers/dev/files/esbuild-plugins.d.ts +5 -0
- package/esm/src/server/handlers/dev/files/esbuild-plugins.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/files/esbuild-plugins.js +61 -3
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +227 -29
- package/esm/src/server/handlers/request/api/pages-api-handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/api/pages-api-handler.js +20 -2
- package/esm/src/server/handlers/request/module/page-data-endpoint-handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/module/page-data-endpoint-handler.js +32 -15
- package/esm/src/server/handlers/request/prod-hydration-module.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/prod-hydration-module.handler.js +10 -3
- package/esm/src/server/handlers/request/project-run-execute.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/project-run-execute.handler.js +1 -0
- package/esm/src/server/handlers/request/snippet.handler.d.ts +6 -0
- package/esm/src/server/handlers/request/snippet.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/snippet.handler.js +8 -1
- package/esm/src/server/handlers/request/ssr/error-page-fallback.js +1 -0
- package/esm/src/server/handlers/request/ssr/ssr-response-builder.d.ts.map +1 -1
- package/esm/src/server/handlers/request/ssr/ssr-response-builder.js +10 -6
- package/esm/src/server/handlers/request/ssr/ssr.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/ssr/ssr.handler.js +22 -10
- package/esm/src/server/handlers/request/static.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/static.handler.js +1 -0
- package/esm/src/server/runtime-handler/handler-context-builder.d.ts +2 -0
- package/esm/src/server/runtime-handler/handler-context-builder.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/handler-context-builder.js +1 -0
- package/esm/src/server/runtime-handler/project-runtime-context.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/project-runtime-context.js +6 -2
- package/esm/src/server/runtime-handler/request-tracker.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/request-tracker.js +10 -3
- package/esm/src/server/services/rendering/ssr.service.d.ts +5 -0
- package/esm/src/server/services/rendering/ssr.service.d.ts.map +1 -1
- package/esm/src/server/services/rendering/ssr.service.js +71 -16
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +2 -2
- package/esm/src/server/services/rsc/orchestrators/handler.d.ts.map +1 -1
- package/esm/src/server/services/rsc/orchestrators/handler.js +1 -0
- package/esm/src/server/services/rsc/orchestrators/render-handler.d.ts +1 -0
- package/esm/src/server/services/rsc/orchestrators/render-handler.d.ts.map +1 -1
- package/esm/src/server/services/rsc/orchestrators/render-handler.js +2 -0
- package/esm/src/server/services/static/static-file.service.d.ts +4 -1
- package/esm/src/server/services/static/static-file.service.d.ts.map +1 -1
- package/esm/src/server/services/static/static-file.service.js +48 -22
- package/esm/src/server/shared/browser-module-bundler.d.ts.map +1 -1
- package/esm/src/server/shared/browser-module-bundler.js +10 -0
- package/esm/src/server/utils/request-host.d.ts +6 -0
- package/esm/src/server/utils/request-host.d.ts.map +1 -1
- package/esm/src/server/utils/request-host.js +42 -1
- package/esm/src/skill/tools.d.ts.map +1 -1
- package/esm/src/task/definition-snapshot.d.ts +8 -0
- package/esm/src/task/definition-snapshot.d.ts.map +1 -0
- package/esm/src/task/definition-snapshot.js +154 -0
- package/esm/src/task/discovery.d.ts.map +1 -1
- package/esm/src/task/discovery.js +47 -21
- package/esm/src/task/types.d.ts +3 -0
- package/esm/src/task/types.d.ts.map +1 -1
- package/esm/src/task/types.js +7 -16
- package/esm/src/tool/remote-mcp.d.ts.map +1 -1
- package/esm/src/tool/remote-mcp.js +86 -5
- package/esm/src/transforms/esm/bundle-recovery.d.ts.map +1 -1
- package/esm/src/transforms/esm/bundle-recovery.js +1 -0
- package/esm/src/transforms/esm/http-cache-helpers.d.ts +3 -1
- package/esm/src/transforms/esm/http-cache-helpers.d.ts.map +1 -1
- package/esm/src/transforms/esm/http-cache-helpers.js +18 -2
- package/esm/src/transforms/esm/http-cache-wrapper.d.ts.map +1 -1
- package/esm/src/transforms/esm/http-cache-wrapper.js +23 -0
- package/esm/src/transforms/esm/specifier-resolver.d.ts.map +1 -1
- package/esm/src/transforms/esm/specifier-resolver.js +2 -1
- package/esm/src/transforms/esm/types.d.ts +2 -0
- package/esm/src/transforms/esm/types.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/commonjs-policy.d.ts +22 -0
- package/esm/src/transforms/import-rewriter/commonjs-policy.d.ts.map +1 -0
- package/esm/src/transforms/import-rewriter/commonjs-policy.js +75 -0
- package/esm/src/transforms/import-rewriter/core.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/core.js +29 -1
- package/esm/src/transforms/import-rewriter/ssr-adapter.d.ts +2 -0
- package/esm/src/transforms/import-rewriter/ssr-adapter.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/ssr-adapter.js +79 -10
- package/esm/src/transforms/import-rewriter/strategies/bare-strategy.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/strategies/bare-strategy.js +14 -4
- package/esm/src/transforms/import-rewriter/types.d.ts +2 -0
- package/esm/src/transforms/import-rewriter/types.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/url-builder.d.ts +2 -19
- package/esm/src/transforms/import-rewriter/url-builder.d.ts.map +1 -1
- package/esm/src/transforms/import-rewriter/url-builder.js +2 -67
- package/esm/src/transforms/mdx/esm-module-loader/import-transformer.d.ts +3 -2
- package/esm/src/transforms/mdx/esm-module-loader/import-transformer.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/import-transformer.js +39 -8
- package/esm/src/transforms/mdx/esm-module-loader/jsx/runtime-loader.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/jsx/runtime-loader.js +1 -1
- 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 +1 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/cache-keys.d.ts +3 -3
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/cache-keys.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/cache-keys.js +14 -6
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/distributed-cache.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/distributed-cache.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/distributed-cache.js +2 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.d.ts +1 -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 +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/index.d.ts +1 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/index.js +6 -3
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/module-cache.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/module-cache.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/module-cache.js +2 -2
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/persistence.d.ts +1 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/persistence.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/persistence.js +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/source-transform.d.ts +1 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/source-transform.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/source-transform.js +2 -0
- package/esm/src/transforms/mdx/esm-module-loader/module-writer.d.ts +2 -2
- package/esm/src/transforms/mdx/esm-module-loader/module-writer.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-writer.js +15 -7
- package/esm/src/transforms/mdx/esm-module-loader/types.d.ts +4 -0
- package/esm/src/transforms/mdx/esm-module-loader/types.d.ts.map +1 -1
- package/esm/src/transforms/mdx/index.d.ts +1 -0
- package/esm/src/transforms/mdx/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/index.js +2 -1
- package/esm/src/transforms/pipeline/cache-identity.d.ts +1 -0
- package/esm/src/transforms/pipeline/cache-identity.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/cache-identity.js +15 -0
- package/esm/src/transforms/pipeline/context.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/context.js +2 -0
- package/esm/src/transforms/pipeline/index.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/index.js +1 -0
- package/esm/src/transforms/pipeline/stages/resolve-imports.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/stages/resolve-imports.js +1 -0
- package/esm/src/transforms/pipeline/stages/ssr-http-cache.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/stages/ssr-http-cache.js +1 -0
- package/esm/src/transforms/pipeline/types.d.ts +4 -0
- package/esm/src/transforms/pipeline/types.d.ts.map +1 -1
- package/esm/src/transforms/shared/esm-sh-specifier.d.ts +18 -0
- package/esm/src/transforms/shared/esm-sh-specifier.d.ts.map +1 -0
- package/esm/src/transforms/shared/esm-sh-specifier.js +253 -0
- package/esm/src/transforms/shared/package-specifier.d.ts.map +1 -1
- package/esm/src/transforms/shared/package-specifier.js +9 -2
- package/esm/src/transforms/shared/server-only-packages.d.ts +25 -1
- package/esm/src/transforms/shared/server-only-packages.d.ts.map +1 -1
- package/esm/src/transforms/shared/server-only-packages.js +176 -4
- package/esm/src/types/entities/getEntityInfo.d.ts.map +1 -1
- package/esm/src/types/index.d.ts +5 -0
- package/esm/src/types/index.d.ts.map +1 -1
- package/esm/src/types/server.d.ts +6 -0
- package/esm/src/types/server.d.ts.map +1 -1
- package/esm/src/utils/env-loader.d.ts.map +1 -1
- package/esm/src/utils/env-loader.js +2 -1
- package/esm/src/utils/feature-flags.js +1 -1
- package/esm/src/utils/lru-wrapper.js +2 -2
- package/esm/src/utils/memory/profiler.d.ts +20 -0
- package/esm/src/utils/memory/profiler.d.ts.map +1 -1
- package/esm/src/utils/memory/profiler.js +43 -5
- package/esm/src/utils/perf-timer.js +1 -1
- package/esm/src/utils/redirect-policy.d.ts +18 -0
- package/esm/src/utils/redirect-policy.d.ts.map +1 -0
- package/esm/src/utils/redirect-policy.js +92 -0
- package/esm/src/utils/redis-client.d.ts.map +1 -1
- package/esm/src/utils/redis-client.js +6 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/claude-code/tool.d.ts +27 -27
- package/esm/src/workflow/claude-code/tool.d.ts.map +1 -1
- package/esm/src/workflow/claude-code/wire-protocol.d.ts.map +1 -1
- package/esm/src/workflow/dsl/workflow.d.ts +3 -0
- package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
- package/esm/src/workflow/dsl/workflow.js +2 -1
- package/esm/src/workflow/executor/workflow-definition-snapshot.d.ts.map +1 -1
- package/esm/src/workflow/executor/workflow-definition-snapshot.js +88 -39
- package/esm/src/workflow/registry.d.ts +4 -1
- package/esm/src/workflow/registry.d.ts.map +1 -1
- package/esm/src/workflow/registry.js +10 -8
- package/esm/src/workflow/types.d.ts +3 -0
- package/esm/src/workflow/types.d.ts.map +1 -1
- package/esm/templates/index.d.ts.map +1 -1
- package/esm/templates/index.js +7 -0
- package/esm/templates/manifest.generated.d.ts.map +1 -1
- package/esm/templates/manifest.generated.js +1 -1
- package/package.json +16 -9
- package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts +0 -24
- package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/browser-encoder.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts +0 -15
- package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/browser-response-stream.d.ts +0 -33
- package/esm/src/agent/ag-ui/browser-response-stream.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts +0 -35
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/runtime-browser-response.d.ts +0 -20
- package/esm/src/agent/ag-ui/runtime-browser-response.d.ts.map +0 -1
- package/esm/src/agent/ag-ui/runtime-browser-response.js +0 -16
- package/esm/src/agent/ag-ui/tracked-browser-response.d.ts +0 -11
- package/esm/src/agent/ag-ui/tracked-browser-response.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as dntShim from "../../_dnt.shims.js";
|
|
2
2
|
import { LRUCacheAdapter } from "./cache/stores/memory/lru-cache-adapter.js";
|
|
3
3
|
import { DEFAULT_LRU_MAX_ENTRIES } from "./index.js";
|
|
4
|
-
import { unrefTimer } from "../platform/compat/process.js";
|
|
5
|
-
import { getEnv } from "../platform/compat/process.js";
|
|
4
|
+
import { unrefTimer } from "../platform/compat/process/lifecycle.js";
|
|
5
|
+
import { getEnv } from "../platform/compat/process/env.js";
|
|
6
6
|
/** Default interval between expired-entry cleanup sweeps (1 minute) */
|
|
7
7
|
const DEFAULT_CLEANUP_INTERVAL_MS = 60_000;
|
|
8
8
|
export class LRUCache {
|
|
@@ -80,6 +80,26 @@ export interface RapidHeapGrowthState {
|
|
|
80
80
|
export declare function registerCache(name: string, getStats: () => CacheStats): void;
|
|
81
81
|
export declare function unregisterCache(name: string): void;
|
|
82
82
|
export declare function getHeapStats(): HeapStats;
|
|
83
|
+
export interface EffectiveHeapLimitInput {
|
|
84
|
+
/** Real V8 `heap_size_limit` (MB) read from runtime heap statistics, when available. */
|
|
85
|
+
runtimeHeapLimitMB: number | undefined;
|
|
86
|
+
/** Limit (MB) parsed from CLI args / `DENO_V8_FLAGS` env strings — unverified. */
|
|
87
|
+
configuredHeapLimitMB: number | undefined;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Resolve the heap limit used for `heapUsedPercent` and memory-pressure
|
|
91
|
+
* thresholds.
|
|
92
|
+
*
|
|
93
|
+
* The runtime-reported limit always wins. Env/CLI strings like
|
|
94
|
+
* `DENO_V8_FLAGS` only describe a limit the runtime may silently ignore:
|
|
95
|
+
* `deno compile` binaries have shipped without applying `DENO_V8_FLAGS`,
|
|
96
|
+
* aborting at V8's ~2048MB default while the env string claimed 4096MB —
|
|
97
|
+
* which made pressure eviction mathematically unreachable
|
|
98
|
+
* (veryfront-issue-inbox#269). When the runtime limit cannot be read, an
|
|
99
|
+
* env-derived limit is therefore clamped to the V8 default so eviction
|
|
100
|
+
* still fires before the real ceiling.
|
|
101
|
+
*/
|
|
102
|
+
export declare function resolveEffectiveHeapLimitMB(input: EffectiveHeapLimitInput): number;
|
|
83
103
|
export declare function getCacheStats(): CacheStats[];
|
|
84
104
|
export declare function getMemorySnapshot(): MemorySnapshot;
|
|
85
105
|
export declare function getTopCacheStats(caches: CacheStats[], limit?: number): MonitoringCacheStats[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiler.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/memory/profiler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profiler.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/memory/profiler.ts"],"names":[],"mappings":"AA8BA,kEAAkE;AAClE,eAAO,MAAM,qCAAqC,QAAS,CAAC;AAO5D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CA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GAChB,0BAA0B,CAY5B;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,mBAAmB,GAAG,sBAAsB,CAY1F;AAMD,wBAAgB,8BAA8B,CAAC,iBAAiB,EAAE,MAAM,GAAG,oBAAoB,CAK9F;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,8BAA8B,GACpC,yBAAyB,CAuC3B;AAED,wBAAgB,wBAAwB,IAAI,qBAAqB,CAKhE;AAED,wBAAsB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,CAchD;AAED,wBAAgB,qBAAqB,CAAC,UAAU,SAAwC,GAAG,IAAI,CA8C9F;AAED,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,mBAAmB,GAAG,sBAAsB,CAehG;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAQ3C;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE/D;AAqBD,eAAO,MAAM,kCAAkC,KAAK,CAAC;AACrD,eAAO,MAAM,mCAAmC,KAAK,CAAC;AAWtD,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,4FAA4F;AAC5F,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,MAAM,EACvB,UAAU,GAAE,wBAGX,GACA;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAMzC;AAED,wBAAgB,mBAAmB,IAAI;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB,CAkBA;AAED,YAAY,EAAE,cAAc,IAAI,kBAAkB,EAAE,CAAC"}
|
|
@@ -6,10 +6,18 @@
|
|
|
6
6
|
**************************/
|
|
7
7
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
8
8
|
import { rendererLogger } from "../index.js";
|
|
9
|
-
import { getArgs, getEnv, memoryUsage } from "../../platform/compat/process.js";
|
|
9
|
+
import { getArgs, getEnv, getV8HeapSizeLimit, memoryUsage, } from "../../platform/compat/process.js";
|
|
10
10
|
const logger = rendererLogger.component("memory-profiler");
|
|
11
|
-
/**
|
|
12
|
-
|
|
11
|
+
/**
|
|
12
|
+
* V8's default old-space ceiling (2 GB on 64-bit) — the honest cap for any
|
|
13
|
+
* heap limit that cannot be verified against runtime heap statistics.
|
|
14
|
+
*
|
|
15
|
+
* The actual default heap_size_limit scales with available system memory
|
|
16
|
+
* (e.g. ~4 GB on large machines), so this floor is deliberately
|
|
17
|
+
* conservative: if it is ever wrong, pressure eviction fires earlier than
|
|
18
|
+
* strictly necessary, never later.
|
|
19
|
+
*/
|
|
20
|
+
const V8_DEFAULT_HEAP_LIMIT_MB = 2_048;
|
|
13
21
|
/** Default interval for periodic memory snapshots (30 seconds) */
|
|
14
22
|
export const DEFAULT_MEMORY_MONITORING_INTERVAL_MS = 30_000;
|
|
15
23
|
/** Heap growth (MB) per interval that triggers a rapid-growth warning */
|
|
@@ -31,7 +39,10 @@ export function getHeapStats() {
|
|
|
31
39
|
const mem = memoryUsage();
|
|
32
40
|
const usedHeapSizeMB = mem.heapUsed / (1024 * 1024);
|
|
33
41
|
const totalHeapSizeMB = mem.heapTotal / (1024 * 1024);
|
|
34
|
-
const heapSizeLimitMB =
|
|
42
|
+
const heapSizeLimitMB = resolveEffectiveHeapLimitMB({
|
|
43
|
+
runtimeHeapLimitMB: getRuntimeHeapLimitMB(),
|
|
44
|
+
configuredHeapLimitMB: getConfiguredHeapLimit(),
|
|
45
|
+
});
|
|
35
46
|
const externalMemoryMB = mem.external / (1024 * 1024);
|
|
36
47
|
const heapUsedPercent = (usedHeapSizeMB / heapSizeLimitMB) * 100;
|
|
37
48
|
return {
|
|
@@ -43,6 +54,33 @@ export function getHeapStats() {
|
|
|
43
54
|
rss: Math.round((mem.rss / (1024 * 1024)) * 100) / 100,
|
|
44
55
|
};
|
|
45
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Resolve the heap limit used for `heapUsedPercent` and memory-pressure
|
|
59
|
+
* thresholds.
|
|
60
|
+
*
|
|
61
|
+
* The runtime-reported limit always wins. Env/CLI strings like
|
|
62
|
+
* `DENO_V8_FLAGS` only describe a limit the runtime may silently ignore:
|
|
63
|
+
* `deno compile` binaries have shipped without applying `DENO_V8_FLAGS`,
|
|
64
|
+
* aborting at V8's ~2048MB default while the env string claimed 4096MB —
|
|
65
|
+
* which made pressure eviction mathematically unreachable
|
|
66
|
+
* (veryfront-issue-inbox#269). When the runtime limit cannot be read, an
|
|
67
|
+
* env-derived limit is therefore clamped to the V8 default so eviction
|
|
68
|
+
* still fires before the real ceiling.
|
|
69
|
+
*/
|
|
70
|
+
export function resolveEffectiveHeapLimitMB(input) {
|
|
71
|
+
const { runtimeHeapLimitMB, configuredHeapLimitMB } = input;
|
|
72
|
+
if (runtimeHeapLimitMB !== undefined && runtimeHeapLimitMB > 0) {
|
|
73
|
+
return Math.round(runtimeHeapLimitMB * 100) / 100;
|
|
74
|
+
}
|
|
75
|
+
if (configuredHeapLimitMB !== undefined && configuredHeapLimitMB > 0) {
|
|
76
|
+
return Math.min(configuredHeapLimitMB, V8_DEFAULT_HEAP_LIMIT_MB);
|
|
77
|
+
}
|
|
78
|
+
return V8_DEFAULT_HEAP_LIMIT_MB;
|
|
79
|
+
}
|
|
80
|
+
function getRuntimeHeapLimitMB() {
|
|
81
|
+
const limitBytes = getV8HeapSizeLimit();
|
|
82
|
+
return limitBytes !== undefined ? limitBytes / (1024 * 1024) : undefined;
|
|
83
|
+
}
|
|
46
84
|
function getConfiguredHeapLimit() {
|
|
47
85
|
const args = getArgs().join(" ");
|
|
48
86
|
const v8FlagsMatch = args.match(/--max-old-space-size=(\d+)/);
|
|
@@ -55,7 +93,7 @@ function getConfiguredHeapLimit() {
|
|
|
55
93
|
const v8MaxOldSpaceSize = parseInt(getEnv("V8_MAX_OLD_SPACE_SIZE") ?? "", 10);
|
|
56
94
|
if (!Number.isNaN(v8MaxOldSpaceSize) && v8MaxOldSpaceSize > 0)
|
|
57
95
|
return v8MaxOldSpaceSize;
|
|
58
|
-
return
|
|
96
|
+
return undefined;
|
|
59
97
|
}
|
|
60
98
|
export function getCacheStats() {
|
|
61
99
|
const stats = [];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const MAX_REDIRECT_ORIGIN_COUNT = 64;
|
|
2
|
+
export declare const MAX_REDIRECT_ORIGIN_LENGTH = 2048;
|
|
3
|
+
export declare const MAX_REDIRECT_ORIGIN_LIST_LENGTH = 16384;
|
|
4
|
+
export declare const MAX_REDIRECT_DESTINATION_LENGTH = 8192;
|
|
5
|
+
export interface RedirectPolicy {
|
|
6
|
+
allowedOrigins: readonly string[];
|
|
7
|
+
}
|
|
8
|
+
/** Return the serialized origin only when the input is a canonical HTTP(S) origin. */
|
|
9
|
+
export declare function parseCanonicalRedirectOrigin(value: string): string | null;
|
|
10
|
+
/** Return whether every configured origin is canonical, unique, and bounded. */
|
|
11
|
+
export declare function isValidRedirectOriginList(origins: readonly string[]): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Validate one project redirect against an opt-in origin policy.
|
|
14
|
+
* An omitted policy preserves the legacy behavior. A configured policy allows
|
|
15
|
+
* HTTP(S) destinations on the request origin plus exact allowlisted origins.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isRedirectDestinationAllowed(destination: string, requestUrl: string | null, policy: RedirectPolicy | null | undefined): boolean;
|
|
18
|
+
//# sourceMappingURL=redirect-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirect-policy.d.ts","sourceRoot":"","sources":["../../../src/src/utils/redirect-policy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,eAAO,MAAM,0BAA0B,OAAQ,CAAC;AAChD,eAAO,MAAM,+BAA+B,QAAS,CAAC;AACtD,eAAO,MAAM,+BAA+B,OAAQ,CAAC;AAErD,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAWD,sFAAsF;AACtF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA0BzE;AAED,gFAAgF;AAChF,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAmB7E;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,GACxC,OAAO,CA8BT"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export const MAX_REDIRECT_ORIGIN_COUNT = 64;
|
|
2
|
+
export const MAX_REDIRECT_ORIGIN_LENGTH = 2_048;
|
|
3
|
+
export const MAX_REDIRECT_ORIGIN_LIST_LENGTH = 16_384;
|
|
4
|
+
export const MAX_REDIRECT_DESTINATION_LENGTH = 8_192;
|
|
5
|
+
/** Return whether a URL value contains an ASCII control character. */
|
|
6
|
+
function hasUnsafeUrlCharacter(value) {
|
|
7
|
+
for (let index = 0; index < value.length; index++) {
|
|
8
|
+
const code = value.charCodeAt(index);
|
|
9
|
+
if (code <= 31 || code === 127)
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
/** Return the serialized origin only when the input is a canonical HTTP(S) origin. */
|
|
15
|
+
export function parseCanonicalRedirectOrigin(value) {
|
|
16
|
+
if (value.length === 0 ||
|
|
17
|
+
value.length > MAX_REDIRECT_ORIGIN_LENGTH ||
|
|
18
|
+
value.trim() !== value ||
|
|
19
|
+
hasUnsafeUrlCharacter(value)) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
try {
|
|
23
|
+
const url = new URL(value);
|
|
24
|
+
if ((url.protocol !== "http:" && url.protocol !== "https:") ||
|
|
25
|
+
url.username !== "" ||
|
|
26
|
+
url.password !== "" ||
|
|
27
|
+
url.search !== "" ||
|
|
28
|
+
url.hash !== "" ||
|
|
29
|
+
value !== url.origin) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return url.origin;
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/** Return whether every configured origin is canonical, unique, and bounded. */
|
|
39
|
+
export function isValidRedirectOriginList(origins) {
|
|
40
|
+
if (origins.length > MAX_REDIRECT_ORIGIN_COUNT)
|
|
41
|
+
return false;
|
|
42
|
+
const uniqueOrigins = new Set();
|
|
43
|
+
let totalLength = 0;
|
|
44
|
+
for (const origin of origins) {
|
|
45
|
+
if (typeof origin !== "string")
|
|
46
|
+
return false;
|
|
47
|
+
totalLength += origin.length;
|
|
48
|
+
const canonicalOrigin = parseCanonicalRedirectOrigin(origin);
|
|
49
|
+
if (totalLength > MAX_REDIRECT_ORIGIN_LIST_LENGTH ||
|
|
50
|
+
canonicalOrigin === null ||
|
|
51
|
+
uniqueOrigins.has(canonicalOrigin)) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
uniqueOrigins.add(canonicalOrigin);
|
|
55
|
+
}
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Validate one project redirect against an opt-in origin policy.
|
|
60
|
+
* An omitted policy preserves the legacy behavior. A configured policy allows
|
|
61
|
+
* HTTP(S) destinations on the request origin plus exact allowlisted origins.
|
|
62
|
+
*/
|
|
63
|
+
export function isRedirectDestinationAllowed(destination, requestUrl, policy) {
|
|
64
|
+
if (policy === undefined)
|
|
65
|
+
return true;
|
|
66
|
+
if (policy === null)
|
|
67
|
+
return false;
|
|
68
|
+
if (!Array.isArray(policy.allowedOrigins) ||
|
|
69
|
+
!isValidRedirectOriginList(policy.allowedOrigins) ||
|
|
70
|
+
destination.length === 0 ||
|
|
71
|
+
destination.length > MAX_REDIRECT_DESTINATION_LENGTH ||
|
|
72
|
+
destination.trim() !== destination ||
|
|
73
|
+
hasUnsafeUrlCharacter(destination) ||
|
|
74
|
+
requestUrl === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
try {
|
|
78
|
+
const request = new URL(requestUrl);
|
|
79
|
+
const target = new URL(destination, request);
|
|
80
|
+
if ((target.protocol !== "http:" && target.protocol !== "https:") ||
|
|
81
|
+
target.username !== "" ||
|
|
82
|
+
target.password !== "") {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
if (target.origin === request.origin)
|
|
86
|
+
return true;
|
|
87
|
+
return policy.allowedOrigins.some((origin) => origin === target.origin);
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-client.d.ts","sourceRoot":"","sources":["../../../src/src/utils/redis-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"redis-client.d.ts","sourceRoot":"","sources":["../../../src/src/utils/redis-client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAEnB,MAAM,qDAAqD,CAAC;AAE7D,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;AAMhD,wBAAgB,cAAc,CAAC,OAAO,GAAE,kBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,CAkBrF;AAED,gFAAgF;AAChF,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CA6BrD;AAED,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { getEnv } from "../platform/compat/process.js";
|
|
2
|
-
import { ensureRedisRuntimeProvider, getRegisteredRedisRuntimeProvider, } from "../extensions/distributed/defaults.js";
|
|
1
|
+
import { getEnv } from "../platform/compat/process/env.js";
|
|
3
2
|
const sharedClientOwners = new Set();
|
|
4
3
|
const resolvingOwners = new Set();
|
|
5
4
|
let disconnecting = null;
|
|
6
5
|
export function getRedisClient(options = {}) {
|
|
7
6
|
if (disconnecting)
|
|
8
7
|
return disconnecting.then(() => getRedisClient(options));
|
|
9
|
-
|
|
8
|
+
// Loaded lazily so the provider module stays out of browser bundles.
|
|
9
|
+
const resolving = import("../extensions/distributed/defaults.js")
|
|
10
|
+
.then(({ ensureRedisRuntimeProvider }) => ensureRedisRuntimeProvider())
|
|
11
|
+
.then((provider) => {
|
|
10
12
|
sharedClientOwners.add(provider);
|
|
11
13
|
return provider;
|
|
12
14
|
});
|
|
@@ -22,6 +24,7 @@ export function disconnectRedisClient() {
|
|
|
22
24
|
return disconnecting;
|
|
23
25
|
const pending = (async () => {
|
|
24
26
|
await Promise.allSettled([...resolvingOwners]);
|
|
27
|
+
const { getRegisteredRedisRuntimeProvider } = await import("../extensions/distributed/defaults.js");
|
|
25
28
|
const currentProvider = getRegisteredRedisRuntimeProvider();
|
|
26
29
|
if (currentProvider)
|
|
27
30
|
sharedClientOwners.add(currentProvider);
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Pre-configured tools for using the Claude Agent SDK in workflow steps.
|
|
5
5
|
*/
|
|
6
|
-
import type { InferSchema
|
|
6
|
+
import type { InferSchema } from "../../extensions/schema/index.js";
|
|
7
7
|
import type { Tool } from "../../tool/index.js";
|
|
8
8
|
import type { ClaudeCodeMode, ClaudeCodeResult } from "./types.js";
|
|
9
|
-
declare const getClaudeCodeInputSchema: () => Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
10
|
-
task: Schema<string>;
|
|
11
|
-
mode: Schema<string>;
|
|
12
|
-
maxTurns: Schema<number>;
|
|
13
|
-
files: Schema<string[] | undefined>;
|
|
14
|
-
context: Schema<Record<string, unknown> | undefined>;
|
|
9
|
+
declare const getClaudeCodeInputSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
10
|
+
task: import("../../internal-agents/schema.js").Schema<string>;
|
|
11
|
+
mode: import("../../internal-agents/schema.js").Schema<string>;
|
|
12
|
+
maxTurns: import("../../internal-agents/schema.js").Schema<number>;
|
|
13
|
+
files: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
14
|
+
context: import("../../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
15
15
|
}>>;
|
|
16
16
|
type ClaudeCodeInput = InferSchema<ReturnType<typeof getClaudeCodeInputSchema>>;
|
|
17
17
|
/**
|
|
@@ -52,35 +52,35 @@ export declare function createClaudeCodeTool(options?: {
|
|
|
52
52
|
*/
|
|
53
53
|
/** Code review tool (analysis mode, read-only) */
|
|
54
54
|
export declare const codeReviewTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
55
|
-
task: Schema<string>;
|
|
56
|
-
mode: Schema<string>;
|
|
57
|
-
maxTurns: Schema<number>;
|
|
58
|
-
files: Schema<string[] | undefined>;
|
|
59
|
-
context: Schema<Record<string, unknown> | undefined>;
|
|
55
|
+
task: import("../../internal-agents/schema.js").Schema<string>;
|
|
56
|
+
mode: import("../../internal-agents/schema.js").Schema<string>;
|
|
57
|
+
maxTurns: import("../../internal-agents/schema.js").Schema<number>;
|
|
58
|
+
files: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
59
|
+
context: import("../../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
60
60
|
}>, ClaudeCodeResult>;
|
|
61
61
|
/** Bug fix tool (code mode) */
|
|
62
62
|
export declare const bugFixTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
63
|
-
task: Schema<string>;
|
|
64
|
-
mode: Schema<string>;
|
|
65
|
-
maxTurns: Schema<number>;
|
|
66
|
-
files: Schema<string[] | undefined>;
|
|
67
|
-
context: Schema<Record<string, unknown> | undefined>;
|
|
63
|
+
task: import("../../internal-agents/schema.js").Schema<string>;
|
|
64
|
+
mode: import("../../internal-agents/schema.js").Schema<string>;
|
|
65
|
+
maxTurns: import("../../internal-agents/schema.js").Schema<number>;
|
|
66
|
+
files: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
67
|
+
context: import("../../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
68
68
|
}>, ClaudeCodeResult>;
|
|
69
69
|
/** Refactoring tool (code mode) */
|
|
70
70
|
export declare const refactorTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
71
|
-
task: Schema<string>;
|
|
72
|
-
mode: Schema<string>;
|
|
73
|
-
maxTurns: Schema<number>;
|
|
74
|
-
files: Schema<string[] | undefined>;
|
|
75
|
-
context: Schema<Record<string, unknown> | undefined>;
|
|
71
|
+
task: import("../../internal-agents/schema.js").Schema<string>;
|
|
72
|
+
mode: import("../../internal-agents/schema.js").Schema<string>;
|
|
73
|
+
maxTurns: import("../../internal-agents/schema.js").Schema<number>;
|
|
74
|
+
files: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
75
|
+
context: import("../../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
76
76
|
}>, ClaudeCodeResult>;
|
|
77
77
|
/** Documentation tool (code mode) */
|
|
78
78
|
export declare const docsTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
79
|
-
task: Schema<string>;
|
|
80
|
-
mode: Schema<string>;
|
|
81
|
-
maxTurns: Schema<number>;
|
|
82
|
-
files: Schema<string[] | undefined>;
|
|
83
|
-
context: Schema<Record<string, unknown> | undefined>;
|
|
79
|
+
task: import("../../internal-agents/schema.js").Schema<string>;
|
|
80
|
+
mode: import("../../internal-agents/schema.js").Schema<string>;
|
|
81
|
+
maxTurns: import("../../internal-agents/schema.js").Schema<number>;
|
|
82
|
+
files: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
83
|
+
context: import("../../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
84
84
|
}>, ClaudeCodeResult>;
|
|
85
85
|
export {};
|
|
86
86
|
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnE,QAAA,MAAM,wBAAwB;;;;;;GAuB7B,CAAC;AAEF,KAAK,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AAmBhF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,gBAAgB,CA6BlE,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,GAAE;IACP,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACZ,GACL,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAqBzC;AAED;;GAEG;AAEH,kDAAkD;AAClD,eAAO,MAAM,cAAc;;;;;;qBAazB,CAAC;AAEH,+BAA+B;AAC/B,eAAO,MAAM,UAAU;;;;;;qBAarB,CAAC;AAEH,mCAAmC;AACnC,eAAO,MAAM,YAAY;;;;;;qBAavB,CAAC;AAEH,qCAAqC;AACrC,eAAO,MAAM,QAAQ;;;;;;qBAYnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-protocol.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/wire-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EAEvB,aAAa,EACb,wBAAwB,EACxB,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAYpB,eAAO,MAAM,6BAA6B,QAAqC,CAAC;AAChF,eAAO,MAAM,4BAA4B,QAAoC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,MAAmC,CAAC;AAK5E,MAAM,MAAM,wBAAwB,CAAC,MAAM,IACvC;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAC3B;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAElC,MAAM,MAAM,sBAAsB,GAC9B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC1B;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAElC,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;
|
|
1
|
+
{"version":3,"file":"wire-protocol.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/wire-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EAEvB,aAAa,EACb,wBAAwB,EACxB,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAYpB,eAAO,MAAM,6BAA6B,QAAqC,CAAC;AAChF,eAAO,MAAM,4BAA4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E,MAAM,GACpB,wBAAwB,CAAC,aAAa,CAAC,CAczC;AAED,mFAAmF;AACnF,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,MAAM,GACpB,sBAAsB,CAOxB;AAUD,gFAAgF;AAChF,wBAAgB,0CAA0C,CACxD,IAAI,EAAE,OAAO,GACZ,sCAAsC,GAAG,IAAI,CA8B/C;AAED,gEAAgE;AAChE,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,OAAO,GACb,wBAAwB,GAAG,IAAI,CAgBjC"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Main factory function for creating durable workflows
|
|
5
5
|
**************************/
|
|
6
6
|
import type { Schema } from "../../extensions/schema/index.js";
|
|
7
|
+
import type { ScheduleIntegrationRequirementConfig } from "../../schedule/types.js";
|
|
7
8
|
import type { RetryConfig, StepBuilderContext, Workflow, WorkflowContext, WorkflowNode } from "../types.js";
|
|
8
9
|
export type { Workflow } from "../types.js";
|
|
9
10
|
/** Options accepted by workflow. */
|
|
@@ -13,6 +14,8 @@ export interface WorkflowOptions<TInput = unknown, TOutput = unknown> {
|
|
|
13
14
|
version?: string;
|
|
14
15
|
inputSchema?: Schema<TInput>;
|
|
15
16
|
outputSchema?: Schema<TOutput>;
|
|
17
|
+
/** Explicit integration scopes and resources required by scheduled runs. */
|
|
18
|
+
integrationRequirements?: ScheduleIntegrationRequirementConfig[];
|
|
16
19
|
retry?: RetryConfig;
|
|
17
20
|
timeout?: string | number;
|
|
18
21
|
introspect?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/dsl/workflow.ts"],"names":[],"mappings":"AAAA;;;;4BAI4B;AAE5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/dsl/workflow.ts"],"names":[],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AAO,EAAE,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,GACxC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CAgC3B;AAED,+CAA+C;AAC/C,wBAAgB,QAAQ,CAAC,GAAG,KAAK,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CASjE;AAED,KAAK,YAAY,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE/E,wCAAwC;AACxC,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,YAAY,EAAE,CAwBvE;AAED,0CAA0C;AAC1C,wBAAgB,SAAS,CACvB,IAAI,EAAE,YAAY,EAClB,GAAG,YAAY,EAAE,MAAM,EAAE,GACxB,YAAY,CAKd"}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Main factory function for creating durable workflows
|
|
5
5
|
**************************/
|
|
6
|
-
import { workflowRegistry } from "../registry.js";
|
|
7
6
|
import { INVALID_ARGUMENT } from "../../errors/index.js";
|
|
7
|
+
import { workflowRegistry } from "../registry.js";
|
|
8
8
|
/** Create a workflow definition. */
|
|
9
9
|
export function workflow(options) {
|
|
10
10
|
if (!options.id)
|
|
@@ -18,6 +18,7 @@ export function workflow(options) {
|
|
|
18
18
|
version: options.version,
|
|
19
19
|
inputSchema: options.inputSchema,
|
|
20
20
|
outputSchema: options.outputSchema,
|
|
21
|
+
integrationRequirements: options.integrationRequirements,
|
|
21
22
|
retry: options.retry,
|
|
22
23
|
timeout: options.timeout,
|
|
23
24
|
introspect: options.introspect,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-definition-snapshot.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/executor/workflow-definition-snapshot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-definition-snapshot.d.ts","sourceRoot":"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