veryfront 0.1.1080 → 0.1.1082
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/_dnt.polyfills.d.ts +14 -13
- package/esm/_dnt.polyfills.d.ts.map +1 -1
- package/esm/_dnt.polyfills.js +121 -109
- package/esm/cli/commands/deploy/command.d.ts +1 -0
- package/esm/cli/commands/deploy/command.d.ts.map +1 -1
- package/esm/cli/commands/deploy/command.js +5 -2
- package/esm/cli/commands/deploy/index.d.ts +1 -1
- package/esm/cli/commands/deploy/index.d.ts.map +1 -1
- package/esm/cli/commands/deploy/index.js +1 -1
- package/esm/cli/commands/eval/command.d.ts +6 -0
- package/esm/cli/commands/eval/command.d.ts.map +1 -1
- package/esm/cli/commands/eval/command.js +53 -27
- package/esm/cli/commands/generate/handler.d.ts +1 -1
- package/esm/cli/commands/issues/command.d.ts.map +1 -1
- package/esm/cli/commands/issues/command.js +2 -7
- package/esm/cli/commands/pull/command.d.ts.map +1 -1
- package/esm/cli/commands/pull/command.js +21 -9
- package/esm/cli/commands/push/command.d.ts +1 -0
- package/esm/cli/commands/push/command.d.ts.map +1 -1
- package/esm/cli/commands/push/command.js +6 -4
- package/esm/cli/commands/task/command.d.ts.map +1 -1
- package/esm/cli/commands/task/command.js +3 -2
- package/esm/cli/commands/workflow/command.d.ts.map +1 -1
- package/esm/cli/commands/workflow/command.js +14 -12
- package/esm/cli/main.js +1 -0
- package/esm/cli/mcp/server.d.ts +4 -3
- package/esm/cli/mcp/server.d.ts.map +1 -1
- package/esm/cli/mcp/server.js +42 -8
- package/esm/cli/mcp/tools/dev-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/dev-tools.js +16 -5
- package/esm/cli/router.d.ts.map +1 -1
- package/esm/cli/router.js +4 -3
- package/esm/cli/shared/args.d.ts.map +1 -1
- package/esm/cli/shared/args.js +104 -19
- package/esm/cli/shared/interactive.d.ts +4 -1
- package/esm/cli/shared/interactive.d.ts.map +1 -1
- package/esm/cli/shared/interactive.js +14 -1
- package/esm/cli/shared/parsed-args.d.ts +1 -0
- package/esm/cli/shared/parsed-args.d.ts.map +1 -1
- package/esm/cli/shared/parsed-args.js +13 -0
- package/esm/cli/shared/types.d.ts +1 -1
- package/esm/cli/shared/types.d.ts.map +1 -1
- package/esm/cli/utils/index.d.ts.map +1 -1
- package/esm/cli/utils/index.js +8 -3
- package/esm/deno.d.ts +3 -0
- package/esm/deno.js +8 -5
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.js +1 -1
- package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/detached-start.js +14 -6
- package/esm/src/agent/ag-ui/handler.d.ts +40 -1
- package/esm/src/agent/ag-ui/handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/handler.js +46 -7
- package/esm/src/agent/ag-ui/host-support.js +2 -2
- package/esm/src/agent/ag-ui/request-shared.d.ts +3 -0
- package/esm/src/agent/ag-ui/request-shared.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/request-shared.js +26 -2
- package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/run-control.js +5 -2
- package/esm/src/agent/ag-ui/runtime-handler.d.ts +9 -1
- package/esm/src/agent/ag-ui/runtime-handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-handler.js +21 -11
- package/esm/src/agent/ag-ui/tool-shared.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/tool-shared.js +9 -4
- package/esm/src/agent/child-run/execution-cleanup.d.ts.map +1 -1
- package/esm/src/agent/child-run/execution-cleanup.js +11 -3
- package/esm/src/agent/composition/composition.d.ts.map +1 -1
- package/esm/src/agent/composition/composition.js +27 -16
- package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
- package/esm/src/agent/conversation/bootstrap.js +16 -5
- package/esm/src/agent/conversation/durable-contracts.d.ts.map +1 -1
- package/esm/src/agent/conversation/durable-contracts.js +13 -4
- package/esm/src/agent/conversation/durable.d.ts.map +1 -1
- package/esm/src/agent/conversation/durable.js +10 -3
- package/esm/src/agent/conversation/hosted-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/conversation/hosted-lifecycle.js +13 -1
- package/esm/src/agent/conversation/root-run-context.d.ts.map +1 -1
- package/esm/src/agent/conversation/root-run-context.js +2 -1
- package/esm/src/agent/conversation/run-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-mirror.js +15 -0
- package/esm/src/agent/factory.d.ts.map +1 -1
- package/esm/src/agent/factory.js +34 -6
- package/esm/src/agent/hosted/chat-execution-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-execution-runtime.js +3 -2
- package/esm/src/agent/hosted/chat-request-parser.d.ts +6 -1
- package/esm/src/agent/hosted/chat-request-parser.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-request-parser.js +39 -4
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts +2 -0
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.js +15 -11
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +5 -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 +8 -3
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +2 -0
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-execution-runner.js +1 -0
- package/esm/src/agent/hosted/child-fork-runtime-start.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-runtime-start.js +7 -5
- 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 +4 -1
- package/esm/src/agent/hosted/child-fork-stream-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-stream-execution.js +6 -1
- package/esm/src/agent/hosted/child-fork-tool-sources.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-tool-sources.js +11 -3
- package/esm/src/agent/hosted/child-status.d.ts +2 -0
- package/esm/src/agent/hosted/child-status.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-status.js +6 -1
- package/esm/src/agent/hosted/context-summary-generator.js +1 -1
- package/esm/src/agent/hosted/default-chat-runtime.d.ts +2 -0
- package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-chat-runtime.js +62 -53
- package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-invoke-agent-tool.js +4 -0
- package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-project-steering-refresh.js +3 -1
- package/esm/src/agent/hosted/durable-chat-run-start.d.ts.map +1 -1
- package/esm/src/agent/hosted/durable-chat-run-start.js +9 -3
- package/esm/src/agent/hosted/form-input-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/form-input-tool.js +3 -2
- package/esm/src/agent/hosted/project-remote-tool-source.d.ts.map +1 -1
- package/esm/src/agent/hosted/project-remote-tool-source.js +4 -1
- package/esm/src/agent/hosted/runtime-source-binding.d.ts +15 -0
- package/esm/src/agent/hosted/runtime-source-binding.d.ts.map +1 -0
- package/esm/src/agent/hosted/runtime-source-binding.js +25 -0
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts +7 -0
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +49 -15
- package/esm/src/agent/hosted/web-fetch-tool.d.ts +4 -0
- package/esm/src/agent/hosted/web-fetch-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/web-fetch-tool.js +106 -20
- package/esm/src/agent/index.d.ts +5 -4
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/index.js +3 -2
- package/esm/src/agent/input/human-input.d.ts.map +1 -1
- package/esm/src/agent/input/human-input.js +7 -2
- package/esm/src/agent/input/request-protocol.d.ts.map +1 -1
- package/esm/src/agent/input/request-protocol.js +7 -2
- package/esm/src/agent/memory/memory.d.ts +6 -0
- package/esm/src/agent/memory/memory.d.ts.map +1 -1
- package/esm/src/agent/memory/memory.js +58 -10
- package/esm/src/agent/memory/redis.js +3 -3
- package/esm/src/agent/middleware/cache/cache.d.ts.map +1 -1
- package/esm/src/agent/middleware/cache/cache.js +2 -1
- package/esm/src/agent/middleware/cost-tracking/tracker.js +1 -1
- package/esm/src/agent/middleware/rate-limit/limiter.d.ts.map +1 -1
- package/esm/src/agent/middleware/rate-limit/limiter.js +3 -2
- package/esm/src/agent/middleware/security/validator.js +1 -1
- package/esm/src/agent/project/agent-runtime.d.ts +10 -1
- package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
- package/esm/src/agent/project/agent-runtime.js +27 -10
- package/esm/src/agent/project/live-studio-mcp-tools.d.ts.map +1 -1
- package/esm/src/agent/project/live-studio-mcp-tools.js +4 -1
- package/esm/src/agent/react/use-agent-metadata.d.ts.map +1 -1
- package/esm/src/agent/react/use-agent-metadata.js +25 -9
- package/esm/src/agent/react/use-agents.d.ts.map +1 -1
- package/esm/src/agent/react/use-agents.js +6 -2
- package/esm/src/agent/react/use-chat/streaming/handler.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/streaming/handler.js +2 -1
- package/esm/src/agent/react/use-voice-input.d.ts.map +1 -1
- package/esm/src/agent/react/use-voice-input.js +2 -1
- package/esm/src/agent/runtime/ag-ui-contract.js +2 -2
- package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition.js +6 -3
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts +7 -7
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-invocation-contract.js +5 -5
- package/esm/src/agent/runtime/agent-runtime-step.d.ts +3 -0
- package/esm/src/agent/runtime/agent-runtime-step.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-runtime-step.js +9 -0
- package/esm/src/agent/runtime/chat-stream-handler.js +2 -2
- package/esm/src/agent/runtime/index.d.ts +1 -1
- package/esm/src/agent/runtime/index.d.ts.map +1 -1
- package/esm/src/agent/runtime/index.js +35 -9
- package/esm/src/agent/runtime/input-utils.js +1 -1
- package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
- package/esm/src/agent/runtime/load-skill-tool.js +4 -1
- package/esm/src/agent/runtime/mcp-server-tool-sources.d.ts +2 -0
- package/esm/src/agent/runtime/mcp-server-tool-sources.d.ts.map +1 -1
- package/esm/src/agent/runtime/mcp-server-tool-sources.js +4 -1
- package/esm/src/agent/runtime/message-file-url-refresh.d.ts.map +1 -1
- package/esm/src/agent/runtime/message-file-url-refresh.js +4 -1
- package/esm/src/agent/runtime/model-resolution.d.ts.map +1 -1
- package/esm/src/agent/runtime/model-resolution.js +2 -1
- package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
- package/esm/src/agent/runtime/project-files-client.js +13 -4
- package/esm/src/agent/runtime/resume-session.d.ts +1 -0
- package/esm/src/agent/runtime/resume-session.d.ts.map +1 -1
- package/esm/src/agent/runtime/resume-session.js +4 -2
- package/esm/src/agent/runtime/runtime-tool-config.d.ts +6 -0
- package/esm/src/agent/runtime/runtime-tool-config.d.ts.map +1 -1
- package/esm/src/agent/runtime/runtime-tool-config.js +10 -0
- package/esm/src/agent/runtime/tool-helpers.d.ts +3 -1
- package/esm/src/agent/runtime/tool-helpers.d.ts.map +1 -1
- package/esm/src/agent/runtime/tool-helpers.js +26 -8
- package/esm/src/agent/runtime/upload-url-client.d.ts.map +1 -1
- package/esm/src/agent/runtime/upload-url-client.js +7 -2
- package/esm/src/agent/schemas/agent.schema.d.ts +1 -1
- package/esm/src/agent/service/auth.d.ts.map +1 -1
- package/esm/src/agent/service/auth.js +2 -1
- package/esm/src/agent/service/detached-run-tracker.d.ts.map +1 -1
- package/esm/src/agent/service/detached-run-tracker.js +2 -1
- package/esm/src/agent/service/external-worker-client.d.ts.map +1 -1
- package/esm/src/agent/service/external-worker-client.js +4 -1
- package/esm/src/agent/service/registration.d.ts.map +1 -1
- package/esm/src/agent/service/registration.js +7 -2
- package/esm/src/agent/service/routes.d.ts +3 -0
- package/esm/src/agent/service/routes.d.ts.map +1 -1
- package/esm/src/agent/service/routes.js +5 -0
- package/esm/src/agent/service/runtime.d.ts +3 -0
- package/esm/src/agent/service/runtime.d.ts.map +1 -1
- package/esm/src/agent/service/runtime.js +1 -0
- package/esm/src/agent/streaming/data-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/data-stream.js +5 -2
- 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/fork-runtime-step-progress.d.ts +1 -1
- package/esm/src/agent/streaming/fork-runtime-step-progress.d.ts.map +1 -1
- package/esm/src/agent/streaming/fork-runtime-step-state.d.ts +1 -1
- package/esm/src/agent/streaming/fork-runtime-step-state.d.ts.map +1 -1
- package/esm/src/agent/streaming/fork-runtime-step-state.js +4 -1
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts +5 -61
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/fork-runtime-stream.js +20 -3
- package/esm/src/agent/streaming/fork-runtime-types.d.ts +63 -0
- package/esm/src/agent/streaming/fork-runtime-types.d.ts.map +1 -0
- package/esm/src/agent/streaming/fork-runtime-types.js +1 -0
- package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts.map +1 -1
- package/esm/src/agent/streaming/tool-execution-data-event-bridge.js +2 -1
- package/esm/src/agent/streaming/tool-input.js +3 -3
- package/esm/src/agent/types.d.ts +2 -0
- package/esm/src/agent/types.d.ts.map +1 -1
- package/esm/src/agent/types.js +1 -1
- package/esm/src/build/bundler/code-splitter/manifest-builder.js +1 -1
- package/esm/src/build/bundler/code-splitter/splitter.js +1 -1
- package/esm/src/build/compiler/mdx-compiler/frontmatter-parser.js +1 -1
- package/esm/src/build/compiler/mdx-compiler/validator.js +1 -1
- package/esm/src/build/compiler/mdx-to-js.js +1 -1
- package/esm/src/build/embedded/preset.js +1 -1
- package/esm/src/build/production-build/build/build-orchestrator.js +1 -1
- package/esm/src/build/production-build/client-runtime.js +1 -1
- package/esm/src/cache/backends/api.d.ts.map +1 -1
- package/esm/src/cache/backends/api.js +9 -6
- package/esm/src/cache/backends/disk.d.ts +1 -0
- package/esm/src/cache/backends/disk.d.ts.map +1 -1
- package/esm/src/cache/backends/disk.js +17 -0
- package/esm/src/cache/backends/factory.d.ts.map +1 -1
- package/esm/src/cache/backends/factory.js +1 -1
- package/esm/src/cache/backends/memory.d.ts +1 -0
- package/esm/src/cache/backends/memory.d.ts.map +1 -1
- package/esm/src/cache/backends/memory.js +12 -0
- package/esm/src/cache/backends/redis.d.ts +1 -0
- package/esm/src/cache/backends/redis.d.ts.map +1 -1
- package/esm/src/cache/backends/redis.js +19 -2
- package/esm/src/cache/distributed-cache-init.js +2 -2
- package/esm/src/cache/hash.d.ts +0 -17
- package/esm/src/cache/hash.d.ts.map +1 -1
- package/esm/src/cache/hash.js +2 -41
- package/esm/src/cache/keys/builders/file.d.ts +7 -1
- package/esm/src/cache/keys/builders/file.d.ts.map +1 -1
- package/esm/src/cache/keys/builders/file.js +40 -12
- package/esm/src/cache/keys/builders/render.d.ts.map +1 -1
- package/esm/src/cache/keys/builders/render.js +9 -7
- package/esm/src/cache/keys/index.d.ts +2 -1
- package/esm/src/cache/keys/index.d.ts.map +1 -1
- package/esm/src/cache/keys/index.js +1 -0
- package/esm/src/cache/keys/source-identity.d.ts +21 -0
- package/esm/src/cache/keys/source-identity.d.ts.map +1 -0
- package/esm/src/cache/keys/source-identity.js +33 -0
- package/esm/src/cache/keys/utils.d.ts.map +1 -1
- package/esm/src/cache/keys/utils.js +1 -1
- package/esm/src/cache/paths.d.ts +1 -1
- package/esm/src/cache/paths.d.ts.map +1 -1
- package/esm/src/cache/paths.js +2 -2
- package/esm/src/cache/registry.d.ts.map +1 -1
- package/esm/src/cache/registry.js +1 -1
- package/esm/src/cache/request-cache-batcher.js +1 -1
- package/esm/src/cache/types.d.ts +5 -0
- package/esm/src/cache/types.d.ts.map +1 -1
- package/esm/src/channels/control-plane.d.ts.map +1 -1
- package/esm/src/channels/control-plane.js +18 -13
- package/esm/src/channels/invoke.js +1 -1
- package/esm/src/chat/ag-ui.d.ts +1 -1
- package/esm/src/chat/index.d.ts +1 -1
- package/esm/src/chat/index.d.ts.map +1 -1
- package/esm/src/chat/index.js +1 -1
- package/esm/src/config/loader.d.ts +7 -0
- package/esm/src/config/loader.d.ts.map +1 -1
- package/esm/src/config/loader.js +90 -12
- package/esm/src/config/schemas/config.schema.d.ts +37 -2
- package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
- package/esm/src/config/schemas/config.schema.js +23 -0
- package/esm/src/data/data-fetcher.js +1 -1
- package/esm/src/data/server-data-fetcher.d.ts.map +1 -1
- package/esm/src/data/server-data-fetcher.js +2 -0
- package/esm/src/data/static-data-fetcher.js +1 -1
- package/esm/src/data/static-paths-fetcher.d.ts.map +1 -1
- package/esm/src/data/static-paths-fetcher.js +1 -1
- package/esm/src/discovery/agent-scoped-capabilities.js +1 -1
- package/esm/src/discovery/discovery-engine.d.ts.map +1 -1
- package/esm/src/discovery/discovery-engine.js +3 -3
- package/esm/src/discovery/handlers/eval-handler.js +2 -2
- package/esm/src/discovery/handlers/runtime-agent-markdown-handler.js +1 -1
- package/esm/src/discovery/handlers/skill-handler.js +2 -2
- package/esm/src/discovery/runtime-modules-bootstrap.d.ts +2 -0
- package/esm/src/discovery/runtime-modules-bootstrap.d.ts.map +1 -0
- package/esm/src/discovery/runtime-modules-bootstrap.js +29 -0
- package/esm/src/discovery/runtime-modules.d.ts +8 -0
- package/esm/src/discovery/runtime-modules.d.ts.map +1 -0
- package/esm/src/discovery/runtime-modules.js +15 -0
- package/esm/src/discovery/transpiler.d.ts.map +1 -1
- package/esm/src/discovery/transpiler.js +4 -32
- package/esm/src/discovery/types.d.ts +4 -4
- package/esm/src/discovery/types.d.ts.map +1 -1
- package/esm/src/embedding/embedding.d.ts.map +1 -1
- package/esm/src/embedding/embedding.js +2 -1
- package/esm/src/embedding/resolve.js +1 -1
- package/esm/src/embedding/upload-handler.d.ts.map +1 -1
- package/esm/src/embedding/upload-handler.js +8 -3
- package/esm/src/embedding/upload-loader.d.ts.map +1 -1
- package/esm/src/embedding/upload-loader.js +5 -2
- package/esm/src/embedding/veryfront-cloud/provider.js +1 -1
- package/esm/src/errors/error-registry/config.d.ts +9 -0
- package/esm/src/errors/error-registry/config.d.ts.map +1 -1
- package/esm/src/errors/error-registry/config.js +27 -0
- package/esm/src/errors/error-registry/runtime.d.ts +9 -0
- package/esm/src/errors/error-registry/runtime.d.ts.map +1 -1
- package/esm/src/errors/error-registry/runtime.js +27 -0
- package/esm/src/errors/error-registry.d.ts +6 -0
- package/esm/src/errors/error-registry.d.ts.map +1 -1
- package/esm/src/errors/index.d.ts +3 -3
- package/esm/src/errors/index.d.ts.map +1 -1
- package/esm/src/errors/index.js +4 -4
- package/esm/src/eval/agent-service/durable-run-canaries/cli-runner.d.ts.map +1 -1
- package/esm/src/eval/agent-service/durable-run-canaries/cli-runner.js +3 -2
- package/esm/src/eval/agent-service/durable-run-canaries/runner.d.ts.map +1 -1
- package/esm/src/eval/agent-service/durable-run-canaries/runner.js +12 -4
- package/esm/src/eval/agent-service/durable-run-canaries/token-growth.d.ts.map +1 -1
- package/esm/src/eval/agent-service/durable-run-canaries/token-growth.js +4 -1
- package/esm/src/eval/agent-service/durable-run-canaries/validation.d.ts.map +1 -1
- package/esm/src/eval/agent-service/durable-run-canaries/validation.js +11 -4
- package/esm/src/eval/agent-service/live-evals/api-client.d.ts.map +1 -1
- package/esm/src/eval/agent-service/live-evals/api-client.js +52 -19
- package/esm/src/eval/agent-service/live-evals/report.d.ts.map +1 -1
- package/esm/src/eval/agent-service/live-evals/report.js +4 -1
- package/esm/src/eval/baseline.d.ts.map +1 -1
- package/esm/src/eval/baseline.js +4 -1
- package/esm/src/eval/model-comparison.d.ts.map +1 -1
- package/esm/src/eval/model-comparison.js +4 -1
- package/esm/src/eval/studio.d.ts +3 -3
- package/esm/src/eval/types.d.ts +67 -1
- package/esm/src/eval/types.d.ts.map +1 -1
- package/esm/src/extensions/eval/eval-report-exporter.d.ts +3 -2
- package/esm/src/extensions/eval/eval-report-exporter.d.ts.map +1 -1
- package/esm/src/html/html-shell-generator.d.ts.map +1 -1
- package/esm/src/html/html-shell-generator.js +2 -3
- package/esm/src/html/styles-builder/css-hash-cache.js +1 -1
- package/esm/src/html/styles-builder/plugin-loader.d.ts.map +1 -1
- package/esm/src/html/styles-builder/plugin-loader.js +6 -4
- package/esm/src/html/styles-builder/tailwind-compiler-cache.d.ts.map +1 -1
- package/esm/src/html/styles-builder/tailwind-compiler-cache.js +4 -2
- package/esm/src/html/styles-builder/tailwind-compiler.js +1 -1
- package/esm/src/integrations/feature-flags.d.ts +11 -1
- package/esm/src/integrations/feature-flags.d.ts.map +1 -1
- package/esm/src/integrations/feature-flags.js +12 -207
- package/esm/src/integrations/remote-tools.d.ts +10 -0
- package/esm/src/integrations/remote-tools.d.ts.map +1 -1
- package/esm/src/integrations/remote-tools.js +61 -49
- package/esm/src/integrations/schema.d.ts +4 -4
- package/esm/src/integrations/source-policy-context.d.ts +17 -0
- package/esm/src/integrations/source-policy-context.d.ts.map +1 -0
- package/esm/src/integrations/source-policy-context.js +41 -0
- package/esm/src/integrations/source-policy.d.ts +55 -0
- package/esm/src/integrations/source-policy.d.ts.map +1 -0
- package/esm/src/integrations/source-policy.js +178 -0
- package/esm/src/internal-agents/request-body.d.ts.map +1 -1
- package/esm/src/internal-agents/request-body.js +1 -7
- package/esm/src/internal-agents/schema.d.ts +4 -4
- package/esm/src/internal-agents/schema.d.ts.map +1 -1
- package/esm/src/internal-agents/schema.js +3 -12
- package/esm/src/knowledge/index.d.ts.map +1 -1
- package/esm/src/knowledge/index.js +16 -10
- package/esm/src/mcp/http-transport.d.ts.map +1 -1
- package/esm/src/mcp/http-transport.js +2 -3
- package/esm/src/mcp/server.js +22 -14
- package/esm/src/mcp/task-store.d.ts.map +1 -1
- package/esm/src/mcp/task-store.js +17 -9
- package/esm/src/metrics/index.js +1 -1
- package/esm/src/middleware/builtin/security/rate-limit.d.ts +20 -1
- package/esm/src/middleware/builtin/security/rate-limit.d.ts.map +1 -1
- package/esm/src/middleware/builtin/security/rate-limit.js +16 -12
- package/esm/src/middleware/builtin/security/redis-rate-limit.js +1 -1
- package/esm/src/middleware/core/pipeline/composer.js +1 -1
- package/esm/src/middleware/core/pipeline/executor.d.ts.map +1 -1
- package/esm/src/middleware/core/pipeline/executor.js +2 -3
- package/esm/src/middleware/core/pipeline/pipeline.js +1 -1
- package/esm/src/middleware/index.d.ts +1 -1
- package/esm/src/middleware/index.d.ts.map +1 -1
- package/esm/src/middleware/index.js +1 -1
- package/esm/src/modules/manifest/route-module-manifest.js +1 -1
- package/esm/src/modules/react-loader/extract-component.js +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader-helpers.js +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader.js +2 -2
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-circuit-breaker.js +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.js +1 -1
- package/esm/src/modules/server/module-server.d.ts.map +1 -1
- package/esm/src/modules/server/module-server.js +2 -3
- package/esm/src/oauth/providers/base.d.ts.map +1 -1
- package/esm/src/oauth/providers/base.js +7 -2
- package/esm/src/observability/error-collector.d.ts +1 -1
- package/esm/src/observability/error-collector.d.ts.map +1 -1
- package/esm/src/observability/index.d.ts +10 -3
- package/esm/src/observability/index.d.ts.map +1 -1
- package/esm/src/observability/index.js +11 -3
- package/esm/src/observability/simple-metrics/index.d.ts +1 -2
- package/esm/src/observability/simple-metrics/index.d.ts.map +1 -1
- package/esm/src/observability/simple-metrics/index.js +1 -2
- package/esm/src/platform/adapters/fs/github/adapter.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/github/adapter.js +5 -0
- package/esm/src/platform/adapters/fs/veryfront/adapter-content-context.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/adapter-content-context.js +6 -1
- package/esm/src/platform/adapters/fs/veryfront/content-metrics.js +1 -1
- package/esm/src/platform/adapters/fs/veryfront/proxy-manager.d.ts +2 -2
- package/esm/src/platform/adapters/fs/veryfront/proxy-manager.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/proxy-manager.js +24 -112
- package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.js +8 -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 +1 -2
- package/esm/src/platform/adapters/mock.js +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/retry-handler.d.ts.map +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/retry-handler.js +1 -1
- package/esm/src/platform/compat/fs.d.ts +1 -0
- package/esm/src/platform/compat/fs.d.ts.map +1 -1
- package/esm/src/platform/compat/fs.js +21 -0
- package/esm/src/platform/compat/http/responses.d.ts +1 -0
- package/esm/src/platform/compat/http/responses.d.ts.map +1 -1
- package/esm/src/platform/compat/http/responses.js +2 -0
- package/esm/src/prompt/factory.js +1 -1
- package/esm/src/prompt/registry.js +1 -1
- package/esm/src/provider/index.d.ts +1 -1
- package/esm/src/provider/index.d.ts.map +1 -1
- package/esm/src/provider/local/env.js +1 -1
- package/esm/src/provider/local/local-engine.js +1 -1
- package/esm/src/provider/local/model-catalog.js +1 -1
- package/esm/src/provider/local/model-runtime-adapter.js +1 -1
- package/esm/src/provider/model-registry.js +1 -1
- package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-embedding-responses.js +10 -3
- package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-http.js +15 -14
- package/esm/src/provider/runtime-loader/provider-sse.js +2 -2
- package/esm/src/provider/veryfront-cloud/model-catalog.d.ts +2 -1
- package/esm/src/provider/veryfront-cloud/model-catalog.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/model-catalog.js +6 -3
- package/esm/src/provider/veryfront-cloud/provider.js +1 -1
- package/esm/src/provider/veryfront-cloud/shared.d.ts +2 -3
- package/esm/src/provider/veryfront-cloud/shared.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/shared.js +1 -1
- package/esm/src/proxy/main.js +14 -4
- package/esm/src/proxy/proxy-access-control.d.ts.map +1 -1
- package/esm/src/proxy/proxy-access-control.js +7 -3
- package/esm/src/proxy/request-lifecycle.d.ts +1 -1
- package/esm/src/proxy/request-lifecycle.d.ts.map +1 -1
- package/esm/src/proxy/tracing.js +1 -1
- package/esm/src/proxy/upstream-error-response.d.ts +1 -1
- package/esm/src/proxy/upstream-error-response.d.ts.map +1 -1
- package/esm/src/proxy/upstream-error-response.js +6 -3
- package/esm/src/react/compat/config-generator.js +1 -1
- package/esm/src/react/compat/ssr-adapter/server-loader.js +1 -1
- package/esm/src/react/compat/ssr-adapter/stream-renderer.js +1 -1
- package/esm/src/react/compat/ssr-adapter/string-renderer.js +1 -1
- package/esm/src/react/compat/version-detector/version-parser.js +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.js +2 -1
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +53 -4
- 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 +63 -11
- package/esm/src/react/components/chat/chat/components/sidebar.js +2 -2
- package/esm/src/react/components/chat/chat/components/sources.d.ts +6 -0
- package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sources.js +8 -0
- 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 +2 -2
- package/esm/src/react/components/chat/chat/composition/message-body.d.ts +79 -0
- package/esm/src/react/components/chat/chat/composition/message-body.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/composition/message-body.js +86 -0
- package/esm/src/react/components/chat/chat/composition/message.d.ts +5 -11
- package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/message.js +4 -53
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts +21 -6
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.js +14 -3
- 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/index.js +1 -1
- package/esm/src/react/components/chat/chat-theme-scope.d.ts +4 -3
- package/esm/src/react/components/chat/chat-theme-scope.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-theme-scope.js +6 -5
- package/esm/src/react/components/chat/chat-tokens-style.d.ts +2 -1
- package/esm/src/react/components/chat/chat-tokens-style.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-tokens-style.js +2 -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/components/chat/chat.js +1 -1
- package/esm/src/react/components/chat/theme.d.ts +1 -1
- package/esm/src/react/components/chat/theme.d.ts.map +1 -1
- package/esm/src/react/components/chat/theme.js +1 -1
- package/esm/src/react/components/ui/app-shell.d.ts.map +1 -1
- package/esm/src/react/components/ui/app-shell.js +2 -1
- package/esm/src/react/components/ui/design-tokens.d.ts +29 -9
- package/esm/src/react/components/ui/design-tokens.d.ts.map +1 -1
- package/esm/src/react/components/ui/design-tokens.js +55 -21
- package/esm/src/react/components/ui/floating.d.ts.map +1 -1
- package/esm/src/react/components/ui/floating.js +7 -6
- package/esm/src/react/components/ui/tokens.d.ts +5 -4
- package/esm/src/react/components/ui/tokens.d.ts.map +1 -1
- package/esm/src/react/components/ui/tokens.js +5 -4
- package/esm/src/react/components/ui/tooltip.d.ts.map +1 -1
- package/esm/src/react/components/ui/tooltip.js +5 -4
- package/esm/src/registry/project-scoped-registry-manager.js +1 -1
- package/esm/src/release-assets/build-executor.d.ts.map +1 -1
- package/esm/src/release-assets/build-executor.js +17 -1
- package/esm/src/release-assets/manifest-cache.d.ts.map +1 -1
- package/esm/src/release-assets/manifest-cache.js +1 -1
- package/esm/src/rendering/cache/cache-coordinator.d.ts.map +1 -1
- package/esm/src/rendering/cache/cache-coordinator.js +1 -2
- package/esm/src/rendering/cache/stores/redis-store.js +1 -1
- package/esm/src/rendering/client/browser-logger.d.ts +28 -0
- package/esm/src/rendering/client/browser-logger.d.ts.map +1 -0
- package/esm/src/rendering/client/browser-logger.js +48 -0
- package/esm/src/rendering/component-handling.d.ts.map +1 -1
- package/esm/src/rendering/component-handling.js +1 -2
- package/esm/src/rendering/context/render-context.js +1 -1
- package/esm/src/rendering/element-validator/element-inspector.js +1 -1
- package/esm/src/rendering/element-validator/element-normalizer.js +1 -1
- package/esm/src/rendering/layouts/layout-applicator.js +1 -1
- package/esm/src/rendering/layouts/layout-collector.js +2 -2
- package/esm/src/rendering/layouts/utils/app-resolver.js +1 -1
- package/esm/src/rendering/layouts/utils/applicator.js +1 -1
- package/esm/src/rendering/layouts/utils/component-loader.js +2 -2
- package/esm/src/rendering/orchestrator/compiler-service.js +1 -1
- package/esm/src/rendering/orchestrator/config.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/config.js +1 -2
- package/esm/src/rendering/orchestrator/html.js +1 -1
- package/esm/src/rendering/orchestrator/lifecycle.js +1 -1
- package/esm/src/rendering/orchestrator/mdx.js +1 -1
- package/esm/src/rendering/orchestrator/module-loader/esm-rewriter.js +1 -1
- package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/pipeline.js +2 -4
- package/esm/src/rendering/orchestrator/ssr-orchestrator.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/ssr-orchestrator.js +5 -2
- package/esm/src/rendering/page-renderer.js +1 -1
- package/esm/src/rendering/page-rendering.d.ts.map +1 -1
- package/esm/src/rendering/page-rendering.js +1 -2
- package/esm/src/rendering/page-resolution/page-resolver.d.ts.map +1 -1
- package/esm/src/rendering/page-resolution/page-resolver.js +1 -2
- package/esm/src/rendering/renderer-concurrency.js +1 -1
- package/esm/src/rendering/renderer.js +1 -1
- package/esm/src/rendering/router-detection.js +1 -1
- package/esm/src/rendering/rsc/client-boot.ts +12 -11
- package/esm/src/rendering/rsc/client-module-strategy.d.ts.map +1 -1
- package/esm/src/rendering/rsc/client-module-strategy.js +2 -1
- package/esm/src/rendering/rsc/component-analyzer.js +1 -1
- package/esm/src/rendering/script-page-handling.d.ts.map +1 -1
- package/esm/src/rendering/script-page-handling.js +1 -2
- package/esm/src/rendering/shared/context-aware-cache.d.ts.map +1 -1
- package/esm/src/rendering/shared/context-aware-cache.js +1 -3
- package/esm/src/rendering/shared/shared-services.js +2 -2
- package/esm/src/rendering/snippet-renderer.js +1 -1
- package/esm/src/rendering/ssr-globals/fetch-interceptor.js +2 -2
- package/esm/src/rendering/ssr-renderer.js +2 -2
- package/esm/src/rendering/virtual-module-system.js +1 -1
- package/esm/src/resource/factory.js +1 -1
- package/esm/src/routing/api/handler.d.ts +5 -0
- package/esm/src/routing/api/handler.d.ts.map +1 -1
- package/esm/src/routing/api/handler.js +23 -2
- package/esm/src/routing/api/module-loader/http-validator.js +1 -1
- package/esm/src/routing/api/module-loader/loader-helpers.js +1 -1
- package/esm/src/routing/api/module-loader/loader.js +1 -1
- package/esm/src/routing/api/route-executor.d.ts.map +1 -1
- package/esm/src/routing/api/route-executor.js +5 -3
- package/esm/src/routing/matchers/pattern-route-matcher.d.ts.map +1 -1
- package/esm/src/routing/matchers/pattern-route-matcher.js +0 -17
- package/esm/src/routing/registry/registry.js +1 -1
- package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.js +18 -24
- package/esm/src/sandbox/config.js +1 -1
- package/esm/src/sandbox/lazy-sandbox.js +1 -1
- package/esm/src/sandbox/sandbox.d.ts.map +1 -1
- package/esm/src/sandbox/sandbox.js +1 -1
- package/esm/src/schedule/factory.d.ts.map +1 -1
- package/esm/src/schedule/factory.js +9 -4
- package/esm/src/security/deno-permissions.d.ts +4 -5
- package/esm/src/security/deno-permissions.d.ts.map +1 -1
- package/esm/src/security/deno-permissions.js +4 -5
- package/esm/src/security/http/auth.js +1 -1
- package/esm/src/security/http/cors/middleware.js +1 -1
- package/esm/src/security/http/cors/preflight.js +1 -1
- package/esm/src/security/http/cors/validators.js +1 -1
- package/esm/src/security/http/response/security-handler.d.ts.map +1 -1
- package/esm/src/security/http/response/security-handler.js +2 -7
- package/esm/src/security/http/response/static-helpers.js +1 -1
- package/esm/src/security/http/studio-origin-policy.d.ts +7 -0
- package/esm/src/security/http/studio-origin-policy.d.ts.map +1 -0
- package/esm/src/security/http/studio-origin-policy.js +45 -0
- package/esm/src/security/index.d.ts +1 -1
- package/esm/src/security/index.d.ts.map +1 -1
- package/esm/src/security/index.js +1 -1
- package/esm/src/security/input-validation/errors.d.ts +1 -2
- package/esm/src/security/input-validation/errors.d.ts.map +1 -1
- package/esm/src/security/input-validation/errors.js +1 -2
- package/esm/src/security/input-validation/index.d.ts +1 -1
- package/esm/src/security/input-validation/index.d.ts.map +1 -1
- package/esm/src/security/input-validation/index.js +1 -1
- package/esm/src/security/input-validation/limits.d.ts +2 -0
- package/esm/src/security/input-validation/limits.d.ts.map +1 -1
- package/esm/src/security/input-validation/limits.js +21 -2
- package/esm/src/security/path-validation/canonical.d.ts.map +1 -1
- package/esm/src/security/path-validation/canonical.js +59 -14
- package/esm/src/security/rate-limit/client-key.d.ts +9 -0
- package/esm/src/security/rate-limit/client-key.d.ts.map +1 -0
- package/esm/src/security/rate-limit/client-key.js +19 -0
- package/esm/src/security/sandbox/project-worker.d.ts +5 -1
- package/esm/src/security/sandbox/project-worker.d.ts.map +1 -1
- package/esm/src/security/sandbox/project-worker.js +74 -35
- package/esm/src/security/sandbox/worker-egress-guard.d.ts +50 -0
- package/esm/src/security/sandbox/worker-egress-guard.d.ts.map +1 -1
- package/esm/src/security/sandbox/worker-egress-guard.js +908 -45
- package/esm/src/security/sandbox/worker-permissions.d.ts +1 -1
- package/esm/src/security/sandbox/worker-permissions.js +1 -1
- package/esm/src/security/sandbox/worker-types.d.ts +9 -0
- package/esm/src/security/sandbox/worker-types.d.ts.map +1 -1
- package/esm/src/security/secure-fs.d.ts +1 -1
- package/esm/src/security/secure-fs.d.ts.map +1 -1
- package/esm/src/security/secure-fs.js +2 -2
- package/esm/src/server/bootstrap.d.ts.map +1 -1
- package/esm/src/server/bootstrap.js +3 -5
- package/esm/src/server/context/enriched-context.js +1 -1
- package/esm/src/server/context/request-context.d.ts +5 -1
- package/esm/src/server/context/request-context.d.ts.map +1 -1
- package/esm/src/server/context/request-context.js +12 -3
- package/esm/src/server/dev-server/error-overlay/html-template.d.ts.map +1 -1
- package/esm/src/server/dev-server/error-overlay/html-template.js +5 -33
- package/esm/src/server/dev-server/middleware.d.ts +1 -1
- package/esm/src/server/dev-server/middleware.d.ts.map +1 -1
- package/esm/src/server/dev-server/middleware.js +2 -19
- package/esm/src/server/dev-server/request-handler.d.ts.map +1 -1
- package/esm/src/server/dev-server/request-handler.js +1 -2
- package/esm/src/server/dev-server/route-discovery.d.ts.map +1 -1
- package/esm/src/server/dev-server/route-discovery.js +3 -1
- package/esm/src/server/dev-server/server.d.ts.map +1 -1
- package/esm/src/server/dev-server/server.js +1 -1
- package/esm/src/server/handlers/dev/dashboard/api.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/dashboard/api.js +3 -9
- package/esm/src/server/handlers/dev/files/esbuild-plugins.js +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 +179 -27
- package/esm/src/server/handlers/dev/scripts/hmr-scripts.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/scripts/hmr-scripts.js +8 -2
- package/esm/src/server/handlers/dev/shared/not-found-response.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/shared/not-found-response.js +1 -2
- package/esm/src/server/handlers/dev/styles-css.handler.js +1 -1
- package/esm/src/server/handlers/monitoring/client-log.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/monitoring/client-log.handler.js +3 -6
- package/esm/src/server/handlers/monitoring/health.handler.js +1 -1
- package/esm/src/server/handlers/monitoring/metrics.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/monitoring/metrics.handler.js +1 -2
- package/esm/src/server/handlers/preview/hmr.handler.js +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.js +107 -88
- package/esm/src/server/handlers/request/api/api-handler-wrapper.d.ts.map +1 -1
- package/esm/src/server/handlers/request/api/api-handler-wrapper.js +2 -3
- package/esm/src/server/handlers/request/api/pages-api-handler.d.ts +20 -0
- 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 +125 -16
- package/esm/src/server/handlers/request/api/project-discovery.d.ts.map +1 -1
- package/esm/src/server/handlers/request/api/project-discovery.js +7 -2
- package/esm/src/server/handlers/request/module/module-server-handler.js +1 -1
- package/esm/src/server/handlers/request/module/page-data-endpoint-handler.js +1 -1
- 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 +57 -38
- package/esm/src/server/handlers/request/snippet.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/snippet.handler.js +1 -4
- package/esm/src/server/handlers/request/ssr/error-page-fallback.d.ts.map +1 -1
- package/esm/src/server/handlers/request/ssr/error-page-fallback.js +3 -2
- package/esm/src/server/node-handler.d.ts.map +1 -1
- package/esm/src/server/node-handler.js +11 -5
- package/esm/src/server/production-server.d.ts.map +1 -1
- package/esm/src/server/production-server.js +1 -21
- package/esm/src/server/project-env/cache.d.ts.map +1 -1
- package/esm/src/server/project-env/cache.js +1 -2
- package/esm/src/server/project-env/fetcher.js +1 -1
- package/esm/src/server/project-env/reserved-env.js +1 -1
- package/esm/src/server/runtime-handler/adapter-factory.d.ts +2 -0
- package/esm/src/server/runtime-handler/adapter-factory.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/adapter-factory.js +21 -45
- package/esm/src/server/runtime-handler/environment-resolution.js +1 -1
- package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/index.js +56 -53
- package/esm/src/server/runtime-handler/isolation.d.ts +9 -0
- package/esm/src/server/runtime-handler/isolation.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/isolation.js +18 -0
- package/esm/src/server/runtime-handler/local-project-discovery.js +1 -1
- package/esm/src/server/runtime-handler/project-isolation.d.ts +8 -0
- package/esm/src/server/runtime-handler/project-isolation.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/project-isolation.js +16 -3
- package/esm/src/server/runtime-handler/project-middleware.d.ts +1 -1
- package/esm/src/server/runtime-handler/project-middleware.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/project-middleware.js +11 -9
- package/esm/src/server/runtime-handler/project-resolution.d.ts +3 -1
- package/esm/src/server/runtime-handler/project-resolution.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/project-resolution.js +24 -8
- package/esm/src/server/runtime-handler/request-lifecycle.d.ts +2 -2
- package/esm/src/server/runtime-handler/request-lifecycle.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/request-lifecycle.js +6 -2
- package/esm/src/server/runtime-handler/request-tracker.d.ts +1 -1
- package/esm/src/server/runtime-handler/request-tracker.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/timeout-manager.d.ts +21 -3
- package/esm/src/server/runtime-handler/timeout-manager.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/timeout-manager.js +36 -10
- package/esm/src/server/runtime-handler/tracing.d.ts +1 -1
- package/esm/src/server/runtime-handler/tracing.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/tracing.js +1 -1
- package/esm/src/server/services/rendering/ssr.service.d.ts.map +1 -1
- package/esm/src/server/services/rendering/ssr.service.js +1 -2
- package/esm/src/server/services/rsc/endpoints/action-handler.d.ts.map +1 -1
- package/esm/src/server/services/rsc/endpoints/action-handler.js +12 -3
- package/esm/src/server/services/rsc/endpoints/endpoint-router.js +1 -1
- 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/render-handler.d.ts.map +1 -1
- package/esm/src/server/services/rsc/orchestrators/render-handler.js +1 -4
- package/esm/src/server/services/static/static-file.service.js +2 -2
- package/esm/src/server/utils/domain-lookup.js +1 -1
- package/esm/src/server/utils/error-html.d.ts.map +1 -1
- package/esm/src/server/utils/error-html.js +3 -1
- package/esm/src/server/utils/request-host.d.ts +13 -1
- package/esm/src/server/utils/request-host.d.ts.map +1 -1
- package/esm/src/server/utils/request-host.js +19 -3
- package/esm/src/skill/allowed-tools.js +1 -1
- package/esm/src/skill/executor.js +1 -1
- package/esm/src/skill/parser.js +1 -1
- package/esm/src/skill/path-safety.d.ts.map +1 -1
- package/esm/src/skill/path-safety.js +1 -2
- package/esm/src/skill/tools.js +1 -1
- package/esm/src/studio/bridge/bridge-bundle.generated.d.ts.map +1 -1
- package/esm/src/studio/bridge/bridge-bundle.generated.js +1 -1
- package/esm/src/task/project-runtime.d.ts +2 -1
- package/esm/src/task/project-runtime.d.ts.map +1 -1
- package/esm/src/task/project-runtime.js +8 -5
- package/esm/src/tool/context7.d.ts.map +1 -1
- package/esm/src/tool/context7.js +4 -1
- package/esm/src/tool/executor.js +1 -1
- package/esm/src/tool/factory.d.ts.map +1 -1
- package/esm/src/tool/factory.js +6 -3
- package/esm/src/tool/host-tools.js +5 -2
- package/esm/src/tool/project-scoped-remote-tools.d.ts.map +1 -1
- package/esm/src/tool/project-scoped-remote-tools.js +7 -2
- package/esm/src/tool/registry.d.ts +2 -0
- package/esm/src/tool/registry.d.ts.map +1 -1
- package/esm/src/tool/registry.js +18 -2
- package/esm/src/tool/remote-mcp.d.ts.map +1 -1
- package/esm/src/tool/remote-mcp.js +36 -10
- package/esm/src/tool/schema/zod-json-schema.d.ts.map +1 -1
- package/esm/src/tool/schema/zod-json-schema.js +2 -1
- package/esm/src/tool/types.d.ts +8 -0
- package/esm/src/tool/types.d.ts.map +1 -1
- package/esm/src/transforms/esm/bundle-manifest-ttl.js +1 -1
- package/esm/src/transforms/esm/bundle-manifest.js +1 -1
- package/esm/src/transforms/esm/bundle-recovery.js +1 -1
- package/esm/src/transforms/esm/http-cache-invariants.d.ts +1 -1
- package/esm/src/transforms/esm/http-cache-invariants.js +1 -1
- package/esm/src/transforms/esm/http-cache.js +1 -1
- package/esm/src/transforms/esm/in-flight-manager.js +1 -1
- package/esm/src/transforms/esm/transform-cache.js +1 -1
- package/esm/src/transforms/md/compiler/md-compiler.js +1 -1
- package/esm/src/transforms/mdx/compiler/frontmatter-extractor.js +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.js +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.js +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/loader.js +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/missing-module.js +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/dependency-recovery.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/dependency-recovery.d.ts.map +1 -1
- 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 +7 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/framework-validator.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/framework-validator.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.d.ts +1 -1
- 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-fetcher.d.ts +1 -1
- 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 +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/index.d.ts +1 -1
- 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/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/nested-imports.d.ts +1 -1
- 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/path-cache-lookup.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/path-cache-lookup.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/persistence.d.ts +1 -1
- 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/source-transform.d.ts +1 -1
- 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-writer.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/module-writer.js +1 -2
- package/esm/src/transforms/mdx/esm-module-loader/types.d.ts +1 -1
- 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.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.js +4 -6
- package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.js +1 -1
- package/esm/src/transforms/pipeline/stages/compile.js +1 -1
- package/esm/src/transforms/pipeline/stages/ssr-vf-modules/index.d.ts.map +1 -1
- package/esm/src/transforms/pipeline/stages/ssr-vf-modules/index.js +4 -11
- package/esm/src/trigger/local-runner.d.ts.map +1 -1
- package/esm/src/trigger/local-runner.js +42 -27
- package/esm/src/trigger/validation.d.ts.map +1 -1
- package/esm/src/trigger/validation.js +7 -4
- package/esm/src/types/entities/getEntityInfo.js +1 -1
- package/esm/src/utils/import-map.js +2 -2
- package/esm/src/utils/index.d.ts +3 -2
- package/esm/src/utils/index.d.ts.map +1 -1
- package/esm/src/utils/index.js +3 -1
- package/esm/src/utils/logger/logger.d.ts.map +1 -1
- package/esm/src/utils/logger/logger.js +16 -12
- package/esm/src/utils/memory/index.d.ts +1 -1
- package/esm/src/utils/memory/index.d.ts.map +1 -1
- package/esm/src/utils/memory/index.js +1 -1
- package/esm/src/utils/memory/profiler.d.ts +0 -7
- package/esm/src/utils/memory/profiler.d.ts.map +1 -1
- package/esm/src/utils/memory/profiler.js +8 -10
- package/esm/src/utils/parallel.d.ts +0 -4
- package/esm/src/utils/parallel.d.ts.map +1 -1
- package/esm/src/utils/parallel.js +0 -40
- package/esm/src/utils/redis-client.d.ts +1 -0
- package/esm/src/utils/redis-client.d.ts.map +1 -1
- package/esm/src/utils/response-body.d.ts +8 -0
- package/esm/src/utils/response-body.d.ts.map +1 -0
- package/esm/src/utils/response-body.js +37 -0
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/webhook/factory.d.ts.map +1 -1
- package/esm/src/webhook/factory.js +18 -7
- package/esm/src/workflow/api/workflow-client.d.ts +1 -1
- package/esm/src/workflow/api/workflow-client.d.ts.map +1 -1
- package/esm/src/workflow/api/workflow-client.js +6 -5
- package/esm/src/workflow/backends/memory.d.ts +9 -4
- package/esm/src/workflow/backends/memory.d.ts.map +1 -1
- package/esm/src/workflow/backends/memory.js +80 -3
- package/esm/src/workflow/backends/redis/index.d.ts +17 -14
- package/esm/src/workflow/backends/redis/index.d.ts.map +1 -1
- package/esm/src/workflow/backends/redis/index.js +304 -115
- package/esm/src/workflow/backends/redis/types.d.ts +3 -3
- package/esm/src/workflow/backends/redis/types.d.ts.map +1 -1
- package/esm/src/workflow/backends/types.d.ts +28 -5
- package/esm/src/workflow/backends/types.d.ts.map +1 -1
- package/esm/src/workflow/backends/types.js +46 -1
- package/esm/src/workflow/blob/blob-id.d.ts +4 -0
- package/esm/src/workflow/blob/blob-id.d.ts.map +1 -0
- package/esm/src/workflow/blob/blob-id.js +13 -0
- package/esm/src/workflow/blob/local-storage.d.ts.map +1 -1
- package/esm/src/workflow/blob/local-storage.js +17 -12
- package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts +0 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts.map +1 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.js +4 -11
- package/esm/src/workflow/dsl/step.js +1 -1
- package/esm/src/workflow/executor/checkpoint-manager.d.ts +6 -1
- package/esm/src/workflow/executor/checkpoint-manager.d.ts.map +1 -1
- package/esm/src/workflow/executor/checkpoint-manager.js +8 -1
- package/esm/src/workflow/executor/dag/composite-node-execution.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/composite-node-execution.js +2 -1
- package/esm/src/workflow/executor/dag/context-patch.d.ts +27 -0
- package/esm/src/workflow/executor/dag/context-patch.d.ts.map +1 -0
- package/esm/src/workflow/executor/dag/context-patch.js +81 -0
- package/esm/src/workflow/executor/dag/index.d.ts +3 -1
- package/esm/src/workflow/executor/dag/index.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/index.js +110 -47
- package/esm/src/workflow/executor/dag/loop-node-strategy.d.ts +1 -0
- package/esm/src/workflow/executor/dag/loop-node-strategy.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/loop-node-strategy.js +10 -8
- package/esm/src/workflow/executor/dag/map-node-strategy.d.ts +1 -0
- package/esm/src/workflow/executor/dag/map-node-strategy.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/map-node-strategy.js +6 -3
- package/esm/src/workflow/executor/dag/node-strategy-types.d.ts +2 -2
- package/esm/src/workflow/executor/dag/node-strategy-types.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/types.d.ts +10 -1
- package/esm/src/workflow/executor/dag/types.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/utils.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/utils.js +7 -4
- package/esm/src/workflow/executor/step-executor.d.ts.map +1 -1
- package/esm/src/workflow/executor/step-executor.js +25 -8
- package/esm/src/workflow/executor/workflow-executor.d.ts +7 -3
- package/esm/src/workflow/executor/workflow-executor.d.ts.map +1 -1
- package/esm/src/workflow/executor/workflow-executor.js +153 -37
- package/esm/src/workflow/index.d.ts +1 -1
- package/esm/src/workflow/index.d.ts.map +1 -1
- package/esm/src/workflow/runtime/approval-manager.d.ts +2 -2
- package/esm/src/workflow/runtime/approval-manager.d.ts.map +1 -1
- package/esm/src/workflow/runtime/approval-manager.js +98 -40
- package/esm/src/workflow/schemas/workflow.schema.d.ts +2 -2
- package/esm/src/workflow/source-integration-policy.d.ts +9 -0
- package/esm/src/workflow/source-integration-policy.d.ts.map +1 -0
- package/esm/src/workflow/source-integration-policy.js +29 -0
- package/esm/src/workflow/types.d.ts +4 -1
- package/esm/src/workflow/types.d.ts.map +1 -1
- package/esm/src/workflow/worker/dynamic-run-entrypoint.d.ts +1 -0
- package/esm/src/workflow/worker/dynamic-run-entrypoint.d.ts.map +1 -1
- package/esm/src/workflow/worker/dynamic-run-entrypoint.js +23 -24
- package/esm/src/workflow/worker/executors/process.d.ts +1 -0
- package/esm/src/workflow/worker/executors/process.d.ts.map +1 -1
- package/esm/src/workflow/worker/executors/process.js +58 -38
- package/esm/src/workflow/worker/run-entrypoint.d.ts +1 -0
- package/esm/src/workflow/worker/run-entrypoint.d.ts.map +1 -1
- package/esm/src/workflow/worker/run-entrypoint.js +10 -12
- package/esm/src/workflow/worker/run-manager.d.ts.map +1 -1
- package/esm/src/workflow/worker/run-manager.js +40 -13
- package/esm/src/workflow/worker/shared.d.ts +9 -3
- package/esm/src/workflow/worker/shared.d.ts.map +1 -1
- package/esm/src/workflow/worker/shared.js +25 -6
- package/esm/src/workflow/worker/workflow-worker.d.ts +2 -2
- package/esm/src/workflow/worker/workflow-worker.d.ts.map +1 -1
- package/esm/src/workflow/worker/workflow-worker.js +4 -2
- package/package.json +5 -5
package/esm/_dnt.polyfills.d.ts
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
interface Error {
|
|
3
|
-
cause?: unknown;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
7
|
-
declare global {
|
|
8
|
-
interface ArrayConstructor {
|
|
9
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | Promise<T>> | ArrayLike<T | Promise<T>>): Promise<T[]>;
|
|
10
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export {}; /**
|
|
1
|
+
/**
|
|
14
2
|
* Based on [import-meta-ponyfill](https://github.com/gaubee/import-meta-ponyfill),
|
|
15
3
|
* but instead of using npm to install additional dependencies,
|
|
16
4
|
* this approach manually consolidates cjs/mjs/d.ts into a single file.
|
|
@@ -109,6 +97,19 @@ interface ImportMetaPonyfill extends ImportMetaPonyfillCommonjs, ImportMetaPonyf
|
|
|
109
97
|
export declare let import_meta_ponyfill_commonjs: ImportMetaPonyfillCommonjs;
|
|
110
98
|
export declare let import_meta_ponyfill_esmodule: ImportMetaPonyfillEsmodule;
|
|
111
99
|
export declare let import_meta_ponyfill: ImportMetaPonyfill;
|
|
100
|
+
declare global {
|
|
101
|
+
interface Error {
|
|
102
|
+
cause?: unknown;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export {};
|
|
106
|
+
declare global {
|
|
107
|
+
interface ArrayConstructor {
|
|
108
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | Promise<T>> | ArrayLike<T | Promise<T>>): Promise<T[]>;
|
|
109
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export {};
|
|
112
113
|
declare global {
|
|
113
114
|
interface PromiseConstructor {
|
|
114
115
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dnt.polyfills.d.ts","sourceRoot":"","sources":["../src/_dnt.polyfills.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"_dnt.polyfills.d.ts","sourceRoot":"","sources":["../src/_dnt.polyfills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAgC,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,CA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copyright
|
|
14
|
-
// notice, this list of conditions and the following disclaimer.
|
|
15
|
-
//
|
|
16
|
-
// 2. Redistributions in binary form must reproduce the above copyright
|
|
17
|
-
// notice, this list of conditions and the following disclaimer in the
|
|
18
|
-
// documentation and/or other materials provided with the distribution.
|
|
19
|
-
//
|
|
20
|
-
// 3. Neither the name of the copyright holder nor the names of its
|
|
21
|
-
// contributors may be used to endorse or promote products derived from
|
|
22
|
-
// this software without specific prior written permission.
|
|
23
|
-
//
|
|
24
|
-
// **This software is provided by the copyright holders and contributors
|
|
25
|
-
// "as is" and any express or implied warranties, including, but not
|
|
26
|
-
// limited to, the implied warranties of merchantability and fitness for a
|
|
27
|
-
// particular purpose are disclaimed. In no event shall the copyright
|
|
28
|
-
// holder or contributors be liable for any direct, indirect, incidental,
|
|
29
|
-
// special, exemplary, or consequential damages (including, but not limited
|
|
30
|
-
// to, procurement of substitute goods or services; loss of use, data, or
|
|
31
|
-
// profits; or business interruption) however caused and on any theory of
|
|
32
|
-
// liability, whether in contract, strict liability, or tort (including
|
|
33
|
-
// negligence or otherwise) arising in any way out of the use of this
|
|
34
|
-
// software, even if advised of the possibility of such damage.**
|
|
35
|
-
const { MAX_SAFE_INTEGER } = Number;
|
|
36
|
-
const iteratorSymbol = Symbol.iterator;
|
|
37
|
-
const asyncIteratorSymbol = Symbol.asyncIterator;
|
|
38
|
-
const IntrinsicArray = Array;
|
|
39
|
-
const tooLongErrorMessage = 'Input is too long and exceeded Number.MAX_SAFE_INTEGER times.';
|
|
40
|
-
function isConstructor(obj) {
|
|
41
|
-
if (obj != null) {
|
|
42
|
-
const prox = new Proxy(obj, {
|
|
43
|
-
construct() {
|
|
44
|
-
return prox;
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
try {
|
|
48
|
-
new prox;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
catch (err) {
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
async function fromAsync(items, mapfn, thisArg) {
|
|
60
|
-
const itemsAreIterable = (asyncIteratorSymbol in items ||
|
|
61
|
-
iteratorSymbol in items);
|
|
62
|
-
if (itemsAreIterable) {
|
|
63
|
-
const result = isConstructor(this)
|
|
64
|
-
? new this
|
|
65
|
-
: IntrinsicArray(0);
|
|
66
|
-
let i = 0;
|
|
67
|
-
for await (const v of items) {
|
|
68
|
-
if (i > MAX_SAFE_INTEGER) {
|
|
69
|
-
throw TypeError(tooLongErrorMessage);
|
|
70
|
-
}
|
|
71
|
-
else if (mapfn) {
|
|
72
|
-
result[i] = await mapfn.call(thisArg, v, i);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
result[i] = v;
|
|
76
|
-
}
|
|
77
|
-
i++;
|
|
78
|
-
}
|
|
79
|
-
result.length = i;
|
|
80
|
-
return result;
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
// In this case, the items are assumed to be an arraylike object with
|
|
84
|
-
// a length property and integer properties for each element.
|
|
85
|
-
const { length } = items;
|
|
86
|
-
const result = isConstructor(this)
|
|
87
|
-
? new this(length)
|
|
88
|
-
: IntrinsicArray(length);
|
|
89
|
-
let i = 0;
|
|
90
|
-
while (i < length) {
|
|
91
|
-
if (i > MAX_SAFE_INTEGER) {
|
|
92
|
-
throw TypeError(tooLongErrorMessage);
|
|
93
|
-
}
|
|
94
|
-
const v = await items[i];
|
|
95
|
-
if (mapfn) {
|
|
96
|
-
result[i] = await mapfn.call(thisArg, v, i);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
result[i] = v;
|
|
100
|
-
}
|
|
101
|
-
i++;
|
|
102
|
-
}
|
|
103
|
-
result.length = i;
|
|
104
|
-
return result;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
if (!Array.fromAsync) {
|
|
108
|
-
Array.fromAsync = fromAsync;
|
|
109
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Based on [import-meta-ponyfill](https://github.com/gaubee/import-meta-ponyfill),
|
|
3
|
+
* but instead of using npm to install additional dependencies,
|
|
4
|
+
* this approach manually consolidates cjs/mjs/d.ts into a single file.
|
|
5
|
+
*
|
|
6
|
+
* Note that this code might be imported multiple times
|
|
7
|
+
* (for example, both dnt.test.polyfills.ts and dnt.polyfills.ts contain this code;
|
|
8
|
+
* or Node.js might dynamically clear the cache and then force a require).
|
|
9
|
+
* Therefore, it's important to avoid redundant writes to global objects.
|
|
10
|
+
* Additionally, consider that commonjs is used alongside esm,
|
|
11
|
+
* so the two ponyfill functions are stored independently in two separate global objects.
|
|
12
|
+
*/
|
|
110
13
|
//@ts-ignore
|
|
111
14
|
import { createRequire } from "node:module";
|
|
112
15
|
//@ts-ignore
|
|
@@ -222,6 +125,115 @@ export let import_meta_ponyfill = ((...args) => {
|
|
|
222
125
|
//@ts-ignore
|
|
223
126
|
return import_meta_ponyfill(...args);
|
|
224
127
|
});
|
|
128
|
+
// From https://github.com/es-shims/array-from-async/blob/4a5ff83947b861f35b380d5d4f20da2f07698638/index.mjs
|
|
129
|
+
// Tried to have dnt depend on the package instead, but it distributes as an
|
|
130
|
+
// ES module, so doesn't work with CommonJS.
|
|
131
|
+
//
|
|
132
|
+
// Code below:
|
|
133
|
+
//
|
|
134
|
+
// Copyright 2021 J. S. Choi
|
|
135
|
+
//
|
|
136
|
+
// Redistribution and use in source and binary forms, with or without
|
|
137
|
+
// modification, are permitted provided that the following conditions
|
|
138
|
+
// are met:
|
|
139
|
+
//
|
|
140
|
+
// 1. Redistributions of source code must retain the above copyright
|
|
141
|
+
// notice, this list of conditions and the following disclaimer.
|
|
142
|
+
//
|
|
143
|
+
// 2. Redistributions in binary form must reproduce the above copyright
|
|
144
|
+
// notice, this list of conditions and the following disclaimer in the
|
|
145
|
+
// documentation and/or other materials provided with the distribution.
|
|
146
|
+
//
|
|
147
|
+
// 3. Neither the name of the copyright holder nor the names of its
|
|
148
|
+
// contributors may be used to endorse or promote products derived from
|
|
149
|
+
// this software without specific prior written permission.
|
|
150
|
+
//
|
|
151
|
+
// **This software is provided by the copyright holders and contributors
|
|
152
|
+
// "as is" and any express or implied warranties, including, but not
|
|
153
|
+
// limited to, the implied warranties of merchantability and fitness for a
|
|
154
|
+
// particular purpose are disclaimed. In no event shall the copyright
|
|
155
|
+
// holder or contributors be liable for any direct, indirect, incidental,
|
|
156
|
+
// special, exemplary, or consequential damages (including, but not limited
|
|
157
|
+
// to, procurement of substitute goods or services; loss of use, data, or
|
|
158
|
+
// profits; or business interruption) however caused and on any theory of
|
|
159
|
+
// liability, whether in contract, strict liability, or tort (including
|
|
160
|
+
// negligence or otherwise) arising in any way out of the use of this
|
|
161
|
+
// software, even if advised of the possibility of such damage.**
|
|
162
|
+
const { MAX_SAFE_INTEGER } = Number;
|
|
163
|
+
const iteratorSymbol = Symbol.iterator;
|
|
164
|
+
const asyncIteratorSymbol = Symbol.asyncIterator;
|
|
165
|
+
const IntrinsicArray = Array;
|
|
166
|
+
const tooLongErrorMessage = 'Input is too long and exceeded Number.MAX_SAFE_INTEGER times.';
|
|
167
|
+
function isConstructor(obj) {
|
|
168
|
+
if (obj != null) {
|
|
169
|
+
const prox = new Proxy(obj, {
|
|
170
|
+
construct() {
|
|
171
|
+
return prox;
|
|
172
|
+
},
|
|
173
|
+
});
|
|
174
|
+
try {
|
|
175
|
+
new prox;
|
|
176
|
+
return true;
|
|
177
|
+
}
|
|
178
|
+
catch (err) {
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
async function fromAsync(items, mapfn, thisArg) {
|
|
187
|
+
const itemsAreIterable = (asyncIteratorSymbol in items ||
|
|
188
|
+
iteratorSymbol in items);
|
|
189
|
+
if (itemsAreIterable) {
|
|
190
|
+
const result = isConstructor(this)
|
|
191
|
+
? new this
|
|
192
|
+
: IntrinsicArray(0);
|
|
193
|
+
let i = 0;
|
|
194
|
+
for await (const v of items) {
|
|
195
|
+
if (i > MAX_SAFE_INTEGER) {
|
|
196
|
+
throw TypeError(tooLongErrorMessage);
|
|
197
|
+
}
|
|
198
|
+
else if (mapfn) {
|
|
199
|
+
result[i] = await mapfn.call(thisArg, v, i);
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
result[i] = v;
|
|
203
|
+
}
|
|
204
|
+
i++;
|
|
205
|
+
}
|
|
206
|
+
result.length = i;
|
|
207
|
+
return result;
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
// In this case, the items are assumed to be an arraylike object with
|
|
211
|
+
// a length property and integer properties for each element.
|
|
212
|
+
const { length } = items;
|
|
213
|
+
const result = isConstructor(this)
|
|
214
|
+
? new this(length)
|
|
215
|
+
: IntrinsicArray(length);
|
|
216
|
+
let i = 0;
|
|
217
|
+
while (i < length) {
|
|
218
|
+
if (i > MAX_SAFE_INTEGER) {
|
|
219
|
+
throw TypeError(tooLongErrorMessage);
|
|
220
|
+
}
|
|
221
|
+
const v = await items[i];
|
|
222
|
+
if (mapfn) {
|
|
223
|
+
result[i] = await mapfn.call(thisArg, v, i);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
result[i] = v;
|
|
227
|
+
}
|
|
228
|
+
i++;
|
|
229
|
+
}
|
|
230
|
+
result.length = i;
|
|
231
|
+
return result;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
if (!Array.fromAsync) {
|
|
235
|
+
Array.fromAsync = fromAsync;
|
|
236
|
+
}
|
|
225
237
|
// https://github.com/tc39/proposal-promise-with-resolvers/blob/3a78801e073e99217dbeb2c43ba7212f3bdc8b83/polyfills.js#L1C1-L9C2
|
|
226
238
|
if (Promise.withResolvers === undefined) {
|
|
227
239
|
Promise.withResolvers = () => {
|
|
@@ -45,6 +45,7 @@ export declare const parseDeployArgs: (args: import("../../shared/types.js").Par
|
|
|
45
45
|
/** Quiet mode - suppress spinner/progress output */
|
|
46
46
|
quiet: import("../../../src/internal-agents/schema.js").Schema<boolean>;
|
|
47
47
|
}>>;
|
|
48
|
+
export declare function requiresExplicitDeployConfirmation(force: boolean): boolean;
|
|
48
49
|
/**
|
|
49
50
|
* Environment from the API
|
|
50
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,wBAAwB,CAAC;AAehG;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;IAO5B,oDAAoD;;GAGvD,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;IALzB,oDAAoD;;GAKO,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;IAfxB,oDAAoD;;GAsBtD,CAAC;AAEH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE1E;AAED;;GAEG;AACH,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,GAAG,IAAI,CAAC;CACV;AAED,UAAU,WAAW;IACnB,EAAE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E,6BAAkC,GAC1C,OAAO,CAAC,sBAAsB,CAAC,CAoEjC;AAED,wBAAsB,mBAAmB,CAAC,KAAK,EAAE;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;CACvB,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC,CAmBvD;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA4HzE"}
|
|
@@ -12,6 +12,7 @@ import { createApiClient, resolveConfigWithAuth } from "../../shared/config.js";
|
|
|
12
12
|
import { CommonArgs, createArgParser } from "../../shared/args.js";
|
|
13
13
|
import { confirmPrompt, logInfo, logSuccess, logWarning } from "../../utils/index.js";
|
|
14
14
|
import { createNoopSpinner, createSpinner, muted } from "../../ui/index.js";
|
|
15
|
+
import { isAutoConfirmEnabled } from "../../shared/interactive.js";
|
|
15
16
|
import { isJsonMode, streamJsonLine } from "../../shared/json-output.js";
|
|
16
17
|
import { computeSourceDigest, getProjectTarget, normalizeControlPlane, readPushReceipt, resolveGitSource, validatePushReceipt, } from "../../shared/deployment-provenance.js";
|
|
17
18
|
/**
|
|
@@ -38,6 +39,9 @@ export const parseDeployArgs = createArgParser(DeployArgsSchema, {
|
|
|
38
39
|
force: CommonArgs.force,
|
|
39
40
|
quiet: CommonArgs.quiet,
|
|
40
41
|
});
|
|
42
|
+
export function requiresExplicitDeployConfirmation(force) {
|
|
43
|
+
return !force && !isAutoConfirmEnabled();
|
|
44
|
+
}
|
|
41
45
|
function referenceId(value) {
|
|
42
46
|
return typeof value === "string" ? value : value?.id;
|
|
43
47
|
}
|
|
@@ -376,8 +380,7 @@ async function deployCommandJson(options) {
|
|
|
376
380
|
const { branch, env, releaseName, dryRun, force } = options;
|
|
377
381
|
try {
|
|
378
382
|
// JSON mode requires --force or --yes to prevent accidental deploys
|
|
379
|
-
|
|
380
|
-
if (!force && isInteractive()) {
|
|
383
|
+
if (requiresExplicitDeployConfirmation(force)) {
|
|
381
384
|
streamJsonLine({
|
|
382
385
|
type: "result",
|
|
383
386
|
success: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Deploy command - Create and deploy releases
|
|
3
3
|
*/
|
|
4
|
-
export { assertProjectOwnership, createDeployment, createRelease, DeployArgsSchema, deployCommand, getDeployment, getDeploymentRoutingConvergenceWarning, getEnvironmentByName, getProject, getRelease, getReleaseSourceDigest, parseDeployArgs, resolvePushedSource, verifyDeployment, verifyReleaseSource, } from "./command.js";
|
|
4
|
+
export { assertProjectOwnership, createDeployment, createRelease, DeployArgsSchema, deployCommand, getDeployment, getDeploymentRoutingConvergenceWarning, getEnvironmentByName, getProject, getRelease, getReleaseSourceDigest, parseDeployArgs, requiresExplicitDeployConfirmation, resolvePushedSource, verifyDeployment, verifyReleaseSource, } from "./command.js";
|
|
5
5
|
export type { Deployment, DeploymentRoutingConvergence, DeploymentVerification, DeployOptions, ReleaseSourceVerification, } from "./command.js";
|
|
6
6
|
export { handleDeployCommand } from "./handler.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,sCAAsC,EACtC,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,UAAU,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,aAAa,EACb,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,sCAAsC,EACtC,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,sBAAsB,EACtB,eAAe,EACf,kCAAkC,EAClC,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,UAAU,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,aAAa,EACb,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Deploy command - Create and deploy releases
|
|
3
3
|
*/
|
|
4
|
-
export { assertProjectOwnership, createDeployment, createRelease, DeployArgsSchema, deployCommand, getDeployment, getDeploymentRoutingConvergenceWarning, getEnvironmentByName, getProject, getRelease, getReleaseSourceDigest, parseDeployArgs, resolvePushedSource, verifyDeployment, verifyReleaseSource, } from "./command.js";
|
|
4
|
+
export { assertProjectOwnership, createDeployment, createRelease, DeployArgsSchema, deployCommand, getDeployment, getDeploymentRoutingConvergenceWarning, getEnvironmentByName, getProject, getRelease, getReleaseSourceDigest, parseDeployArgs, requiresExplicitDeployConfirmation, resolvePushedSource, verifyDeployment, verifyReleaseSource, } from "./command.js";
|
|
5
5
|
export { handleDeployCommand } from "./handler.js";
|
|
@@ -3,8 +3,13 @@ import type { VeryfrontConfig } from "../../../src/config/index.js";
|
|
|
3
3
|
import { type Tool, type ToolExecutionContext } from "../../../src/tool/index.js";
|
|
4
4
|
import type { DiscoveredEval, EvalModelComparison, EvalModelComparisonOptions, EvalReport, EvalReportComparison, EvalReportExportConfig, EvalToolAdapterContext, EvalToolCall } from "../../../src/eval/index.js";
|
|
5
5
|
import { type EvalReportExporterRegistry, type EvalReportExportRedaction } from "../../../src/extensions/eval/index.js";
|
|
6
|
+
import { discoverProjectAgentRuntime } from "../../../src/agent/project/agent-runtime.js";
|
|
6
7
|
import type { EvalArgs } from "./handler.js";
|
|
7
8
|
export interface EvalOptions extends EvalArgs {
|
|
9
|
+
projectDir?: string;
|
|
10
|
+
}
|
|
11
|
+
interface EvalCommandDependencies {
|
|
12
|
+
discoverProjectAgentRuntime?: typeof discoverProjectAgentRuntime;
|
|
8
13
|
}
|
|
9
14
|
type CliEvalSummary = {
|
|
10
15
|
runId: string;
|
|
@@ -103,6 +108,7 @@ type ResolvedEvalModelComparisonConfig = {
|
|
|
103
108
|
};
|
|
104
109
|
export declare function resolveEvalExporterIds(options: Pick<EvalOptions, "exporters">): string[];
|
|
105
110
|
export declare function resolveEvalExportRedactionFromEnv(): EvalReportExportRedaction;
|
|
111
|
+
export declare function runEvalCommand(options: EvalOptions, dependencies?: EvalCommandDependencies): Promise<number | undefined>;
|
|
106
112
|
export declare function evalCommand(options: EvalOptions): Promise<void>;
|
|
107
113
|
export {};
|
|
108
114
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/eval/command.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAS,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAgC,KAAK,IAAI,EAAE,KAAK,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAChH,OAAO,KAAK,EACV,cAAc,EAGd,mBAAmB,EAEn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0DrD;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,aAAa,GAAG,YAAY,EAAE,CAY1E;AAqCD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,GAAE,oBAAyB,IACpE,SAAS,sBAAsB;;;;;;GAiB9C;AAoED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,WAAW,EACpB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,iBAAiB,EAChC,QAAQ,EAAE,0BAA0B,EACpC,MAAM,CAAC,EAAE,qBAAqB,GAAG,IAAI,GACpC,sBAAsB,GAAG,SAAS,CAkBpC;AAED,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,KAAK,iCAAiC,GAAG;IACvC,MAAM,EAAE,yBAAyB,CAAC;IAClC,MAAM,EAAE,yBAAyB,CAAC;CACnC,CAAC;AAuBF,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,MAAM,EAAE,CAOxF;AA2BD,wBAAgB,iCAAiC,IAAI,yBAAyB,CAuB7E;AA8OD,wBAAsB,cAAc,CAClC,OAAO,EAAE,WAAW,EACpB,YAAY,GAAE,uBAA4B,GACzC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAoN7B;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAKrE"}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
5
5
|
import { dirname, isAbsolute, join, relative, resolve } from "../../../deps/jsr.io/@std/path/1.1.4/mod.js";
|
|
6
6
|
import { isErroredToolExecutionResult } from "../../../src/tool/index.js";
|
|
7
|
-
import { createProjectDiscoveryConfig, discoverAll } from "../../../src/discovery/index.js";
|
|
8
7
|
import { orchestrateExtensions } from "../../../src/extensions/index.js";
|
|
9
8
|
import { createEvalReportExporterRegistry, EvalReportExporterRegistryName, } from "../../../src/extensions/eval/index.js";
|
|
10
9
|
import { createLLMProviderRegistry, LLMProviderRegistryName } from "../../../src/extensions/llm/index.js";
|
|
11
|
-
import { compareEvalModelReports, compareEvalReports, createEvalModelComparisonMarkdown, createEvalRunId,
|
|
10
|
+
import { compareEvalModelReports, compareEvalReports, createEvalModelComparisonMarkdown, createEvalRunId, EVAL_REPORT_SCHEMA_VERSION, exportEvalReport, resolveEvalRunProvenance, runEval, } from "../../../src/eval/index.js";
|
|
12
11
|
import { getCurrentVeryfrontCloudContext, getVeryfrontCloudBootstrap, runWithVeryfrontCloudContextAsync, } from "../../../src/provider/index.js";
|
|
13
12
|
import { applyRuntimeAuthContext } from "../../shared/runtime-auth.js";
|
|
14
13
|
import { cliLogger, exitProcess, VERSION } from "../../utils/index.js";
|
|
14
|
+
import { discoverProjectAgentRuntime, runWithProjectAgentRuntime, } from "../../../src/agent/project/agent-runtime.js";
|
|
15
15
|
import { createErrorEnvelope, createSuccessEnvelope, isJsonMode, outputJson, } from "../../shared/json-output.js";
|
|
16
16
|
import { withProjectSourceContext } from "../../shared/project-source-context.js";
|
|
17
17
|
import { createEvalCliBuiltinExtensions } from "../../../src/extensions/builtin-extensions.js";
|
|
@@ -794,6 +794,20 @@ function listEvals(evals, projectDir) {
|
|
|
794
794
|
},
|
|
795
795
|
}));
|
|
796
796
|
}
|
|
797
|
+
function getDiscoveredEvals(runtime) {
|
|
798
|
+
return [...runtime.evals.entries()].map(([id, definition]) => {
|
|
799
|
+
if (!definition.source) {
|
|
800
|
+
throw new Error(`Discovered eval "${id}" is missing source metadata.`);
|
|
801
|
+
}
|
|
802
|
+
return {
|
|
803
|
+
id,
|
|
804
|
+
name: definition.name,
|
|
805
|
+
filePath: definition.source.filePath,
|
|
806
|
+
exportName: definition.source.exportName,
|
|
807
|
+
definition,
|
|
808
|
+
};
|
|
809
|
+
});
|
|
810
|
+
}
|
|
797
811
|
function printReport(report, baseline) {
|
|
798
812
|
cliLogger.info(`Eval ${report.definitionId}`);
|
|
799
813
|
cliLogger.info(`Target: ${report.target}`);
|
|
@@ -1071,28 +1085,44 @@ async function outputEvalUsageError(message) {
|
|
|
1071
1085
|
}
|
|
1072
1086
|
return 2;
|
|
1073
1087
|
}
|
|
1074
|
-
export async function
|
|
1075
|
-
const projectDir = dntShim.Deno.cwd();
|
|
1076
|
-
const
|
|
1088
|
+
export async function runEvalCommand(options, dependencies = {}) {
|
|
1089
|
+
const projectDir = options.projectDir ?? dntShim.Deno.cwd();
|
|
1090
|
+
const discoverRuntime = dependencies.discoverProjectAgentRuntime ?? discoverProjectAgentRuntime;
|
|
1091
|
+
return await withProjectSourceContext(projectDir, async (context) => {
|
|
1092
|
+
const { adapter, config, configCacheKey } = context;
|
|
1077
1093
|
await hydrateEvalRuntimeAuth(projectDir, config);
|
|
1078
|
-
const
|
|
1094
|
+
const projectRuntime = await discoverRuntime({
|
|
1095
|
+
projectDir,
|
|
1096
|
+
adapter,
|
|
1097
|
+
config,
|
|
1098
|
+
fsAdapter: adapter.fs,
|
|
1099
|
+
cacheKey: configCacheKey,
|
|
1100
|
+
verbose: options.debug,
|
|
1101
|
+
});
|
|
1102
|
+
const evals = getDiscoveredEvals(projectRuntime);
|
|
1079
1103
|
if (options.debug) {
|
|
1080
|
-
for (const error of
|
|
1081
|
-
cliLogger.warn(`Eval discovery warning: ${error.
|
|
1104
|
+
for (const error of projectRuntime.errors) {
|
|
1105
|
+
cliLogger.warn(`Eval discovery warning: ${error.file}: ${error.error.message}`);
|
|
1082
1106
|
}
|
|
1083
1107
|
}
|
|
1084
1108
|
if (options.list) {
|
|
1085
|
-
const
|
|
1109
|
+
const listedEvals = listEvals(evals, projectDir);
|
|
1086
1110
|
if (isJsonMode()) {
|
|
1087
|
-
await outputJson(createSuccessEnvelope("eval", {
|
|
1111
|
+
await outputJson(createSuccessEnvelope("eval", {
|
|
1112
|
+
evals: listedEvals,
|
|
1113
|
+
errors: projectRuntime.errors.map((error) => ({
|
|
1114
|
+
filePath: error.file,
|
|
1115
|
+
error: error.error.message,
|
|
1116
|
+
})),
|
|
1117
|
+
}));
|
|
1088
1118
|
return undefined;
|
|
1089
1119
|
}
|
|
1090
|
-
if (
|
|
1120
|
+
if (listedEvals.length === 0) {
|
|
1091
1121
|
cliLogger.info("No evals found.");
|
|
1092
1122
|
return undefined;
|
|
1093
1123
|
}
|
|
1094
1124
|
cliLogger.info("Evals:");
|
|
1095
|
-
for (const item of
|
|
1125
|
+
for (const item of listedEvals) {
|
|
1096
1126
|
cliLogger.info(` - ${item.id} (${item.target})`);
|
|
1097
1127
|
}
|
|
1098
1128
|
return undefined;
|
|
@@ -1111,9 +1141,9 @@ export async function evalCommand(options) {
|
|
|
1111
1141
|
return 2;
|
|
1112
1142
|
}
|
|
1113
1143
|
const evalId = normalizeEvalCliId(options.id);
|
|
1114
|
-
const evalItem = findEvalForCliId(
|
|
1144
|
+
const evalItem = findEvalForCliId(evals, options.id);
|
|
1115
1145
|
if (!evalItem) {
|
|
1116
|
-
return await outputEvalNotFound(evalId,
|
|
1146
|
+
return await outputEvalNotFound(evalId, evals);
|
|
1117
1147
|
}
|
|
1118
1148
|
let modelComparisonConfig;
|
|
1119
1149
|
try {
|
|
@@ -1133,21 +1163,14 @@ export async function evalCommand(options) {
|
|
|
1133
1163
|
const selectedExporterIds = resolveEvalExporterIds(options);
|
|
1134
1164
|
const extensionSetup = await setupEvalCliExtensions(projectDir, config, selectedExporterIds);
|
|
1135
1165
|
try {
|
|
1136
|
-
const discoveryConfig = createProjectDiscoveryConfig({
|
|
1137
|
-
projectDir,
|
|
1138
|
-
config,
|
|
1139
|
-
fsAdapter: adapter.fs,
|
|
1140
|
-
verbose: options.debug,
|
|
1141
|
-
});
|
|
1142
|
-
const projectDiscovery = await discoverAll(discoveryConfig);
|
|
1143
1166
|
const agentId = evalItem.definition.targetKind === "agent"
|
|
1144
1167
|
? resolveAgentTargetId(evalItem.definition.target)
|
|
1145
1168
|
: undefined;
|
|
1146
1169
|
const toolId = evalItem.definition.targetKind === "tool"
|
|
1147
1170
|
? resolveToolTargetId(evalItem.definition.target)
|
|
1148
1171
|
: undefined;
|
|
1149
|
-
const agent = agentId ?
|
|
1150
|
-
const tool = toolId ?
|
|
1172
|
+
const agent = agentId ? projectRuntime.agents.get(agentId) : undefined;
|
|
1173
|
+
const tool = toolId ? projectRuntime.tools.get(toolId) : undefined;
|
|
1151
1174
|
if (agentId && !agent) {
|
|
1152
1175
|
return await outputAgentNotFound(agentId);
|
|
1153
1176
|
}
|
|
@@ -1155,7 +1178,7 @@ export async function evalCommand(options) {
|
|
|
1155
1178
|
return await outputToolNotFound(toolId);
|
|
1156
1179
|
}
|
|
1157
1180
|
if (modelComparisonConfig) {
|
|
1158
|
-
return await runEvalModelComparison({
|
|
1181
|
+
return await runWithProjectAgentRuntime(projectRuntime, () => runEvalModelComparison({
|
|
1159
1182
|
evalItem,
|
|
1160
1183
|
agent: agent,
|
|
1161
1184
|
options,
|
|
@@ -1164,7 +1187,7 @@ export async function evalCommand(options) {
|
|
|
1164
1187
|
policy: modelComparisonConfig.policy,
|
|
1165
1188
|
exporterRegistry: extensionSetup.exporterRegistry,
|
|
1166
1189
|
projectReference: resolveEvalRuntimeProjectSlug(config),
|
|
1167
|
-
});
|
|
1190
|
+
}));
|
|
1168
1191
|
}
|
|
1169
1192
|
const runId = createEvalRunId();
|
|
1170
1193
|
const artifactPaths = createEvalArtifactPaths(options.reportDir ?? createDefaultEvalReportDir(runId, evalItem.id));
|
|
@@ -1176,7 +1199,7 @@ export async function evalCommand(options) {
|
|
|
1176
1199
|
? `${runId}_${sanitizeModelIdForPath(options.model)}`
|
|
1177
1200
|
: runId;
|
|
1178
1201
|
const exportConfig = createEvalCliExportConfig(evalItem, options, projectDir, artifactPaths, extensionSetup.exporterRegistry, config);
|
|
1179
|
-
const finalizedReport = await runEvalWithGatewayBillingGroup(billingGroupId, () => runEval(evalItem.definition, {
|
|
1202
|
+
const finalizedReport = await runWithProjectAgentRuntime(projectRuntime, () => runEvalWithGatewayBillingGroup(billingGroupId, () => runEval(evalItem.definition, {
|
|
1180
1203
|
baseDir: options.datasetBase ?? projectDir,
|
|
1181
1204
|
runId,
|
|
1182
1205
|
adapters: evalItem.definition.targetKind === "tool"
|
|
@@ -1186,7 +1209,7 @@ export async function evalCommand(options) {
|
|
|
1186
1209
|
provenance,
|
|
1187
1210
|
...(options.model ? { model: options.model } : {}),
|
|
1188
1211
|
},
|
|
1189
|
-
}));
|
|
1212
|
+
})));
|
|
1190
1213
|
const report = await exportEvalReportForCli(finalizedReport, exportConfig);
|
|
1191
1214
|
const baseline = options.baseline
|
|
1192
1215
|
? compareEvalReports(report, await readEvalReport(options.baseline), createEvalBaselineComparisonPolicy(options))
|
|
@@ -1226,6 +1249,9 @@ export async function evalCommand(options) {
|
|
|
1226
1249
|
await extensionSetup.loader.teardownAll();
|
|
1227
1250
|
}
|
|
1228
1251
|
});
|
|
1252
|
+
}
|
|
1253
|
+
export async function evalCommand(options) {
|
|
1254
|
+
const exitCode = await runEvalCommand(options);
|
|
1229
1255
|
if (typeof exitCode === "number") {
|
|
1230
1256
|
exitProcess(exitCode);
|
|
1231
1257
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
5
5
|
export declare const parseGenerateArgs: (args: ParsedArgs) => import("../../shared/args.js").SafeParseResult<import("../../../src/extensions/schema/schema-validator.js").InferShape<{
|
|
6
|
-
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "layout" | "resource" | "component" | "task" | "tool" | "
|
|
6
|
+
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "integration" | "layout" | "resource" | "component" | "task" | "tool" | "skill" | "workflow" | undefined>;
|
|
7
7
|
name: import("../../../src/internal-agents/schema.js").Schema<string | undefined>;
|
|
8
8
|
}>>;
|
|
9
9
|
export declare function handleGenerateCommand(args: ParsedArgs): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/issues/command.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/issues/command.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AA4FxD,wBAAsB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA8PnE"}
|