veryfront 0.1.519 → 0.1.521
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/analyze-chunks/handler.js +2 -2
- package/esm/cli/commands/build/handler.d.ts.map +1 -1
- package/esm/cli/commands/build/handler.js +2 -2
- package/esm/cli/commands/clean/handler.js +2 -2
- package/esm/cli/commands/demo/handler.js +2 -2
- package/esm/cli/commands/deploy/command.d.ts.map +1 -1
- package/esm/cli/commands/deploy/command.js +2 -2
- package/esm/cli/commands/dev/handler.js +2 -2
- package/esm/cli/commands/doctor/handler.js +2 -2
- package/esm/cli/commands/files/command.js +5 -5
- package/esm/cli/commands/generate/handler.js +2 -2
- package/esm/cli/commands/install/handler.js +2 -2
- package/esm/cli/commands/install/install.js +3 -3
- package/esm/cli/commands/install/types.d.ts.map +1 -1
- package/esm/cli/commands/install/types.js +6 -6
- package/esm/cli/commands/install/uninstall.js +2 -2
- package/esm/cli/commands/knowledge/command.js +2 -2
- package/esm/cli/commands/lock/handler.js +2 -2
- package/esm/cli/commands/mcp/handler.js +2 -2
- package/esm/cli/commands/merge/command.d.ts.map +1 -1
- package/esm/cli/commands/merge/command.js +2 -2
- package/esm/cli/commands/open/command.d.ts.map +1 -1
- package/esm/cli/commands/open/command.js +2 -2
- package/esm/cli/commands/pull/command.d.ts.map +1 -1
- package/esm/cli/commands/pull/command.js +2 -2
- package/esm/cli/commands/push/command.d.ts.map +1 -1
- package/esm/cli/commands/push/command.js +2 -2
- package/esm/cli/commands/routes/handler.js +2 -2
- package/esm/cli/commands/schema/handler.js +2 -2
- package/esm/cli/commands/serve/handler.js +2 -2
- package/esm/cli/commands/start/handler.js +2 -2
- package/esm/cli/commands/studio/handler.js +2 -2
- package/esm/cli/commands/styles/command.js +2 -2
- package/esm/cli/commands/styles/handler.js +2 -2
- package/esm/cli/commands/task/handler.js +2 -2
- package/esm/cli/commands/test/handler.js +2 -2
- package/esm/cli/commands/up/command.d.ts.map +1 -1
- package/esm/cli/commands/up/command.js +2 -2
- package/esm/cli/commands/uploads/command.js +5 -5
- package/esm/cli/commands/worker/handler.js +2 -2
- package/esm/cli/commands/workflow/handler.js +2 -2
- package/esm/cli/main.js +6 -4
- package/esm/cli/mcp/jsonrpc.d.ts.map +1 -1
- package/esm/cli/mcp/jsonrpc.js +5 -5
- package/esm/cli/mcp/remote-file-tools.js +13 -13
- package/esm/cli/mcp/tools/bootstrap-tool.js +2 -2
- package/esm/cli/mcp/tools/build-tool.js +2 -2
- package/esm/cli/mcp/tools/catalog-tools.js +6 -6
- package/esm/cli/mcp/tools/context7-tools.js +5 -5
- package/esm/cli/mcp/tools/deploy-tool.js +2 -2
- package/esm/cli/mcp/tools/dev-tools.js +7 -7
- package/esm/cli/mcp/tools/introspection-tools.js +4 -4
- package/esm/cli/mcp/tools/project-tools.js +5 -5
- package/esm/cli/mcp/tools/run-lint-tool.js +2 -2
- package/esm/cli/mcp/tools/run-tests-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/run-tests-tool.js +26 -18
- package/esm/cli/mcp/tools/scaffold-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/scaffold-tools.js +23 -15
- package/esm/cli/mcp/tools/skill-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/skill-tools.js +5 -5
- package/esm/cli/mcp/tools.js +6 -6
- package/esm/cli/shared/config.d.ts.map +1 -1
- package/esm/cli/shared/config.js +4 -4
- package/esm/cli/shared/ensure-content-processor.js +1 -1
- package/esm/cli/shared/types.d.ts.map +1 -1
- package/esm/cli/shared/types.js +2 -2
- package/esm/cli/skills/types.d.ts.map +1 -1
- package/esm/cli/skills/types.js +2 -2
- package/esm/deno.d.ts +10 -17
- package/esm/deno.js +23 -28
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.d.ts +33 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.js +48 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.d.ts +64 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.js +1371 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.d.ts +44 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.js +117 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.js +103 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.js +32 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.js +96 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.js +159 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.js +22 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.js +29 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.js +19 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.js +30 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.js +9 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.js +81 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.js +20 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.d.ts +32 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.js +6 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.d.ts +4 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.js +13 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.d.ts +76 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.js +91 -0
- package/esm/extensions/ext-auth-jwt/src/index.d.ts.map +1 -1
- package/esm/extensions/ext-auth-jwt/src/index.js +25 -4
- package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.d.ts +1 -1
- package/esm/extensions/ext-content-mdx/src/compiler/markdown-compile.d.ts.map +1 -0
- package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.d.ts +1 -1
- package/esm/extensions/ext-content-mdx/src/compiler/mdx-compile.d.ts.map +1 -0
- package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.js +10 -4
- package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.d.ts +3 -3
- package/esm/extensions/ext-content-mdx/src/index.d.ts.map +1 -0
- package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.js +4 -4
- package/esm/extensions/ext-content-mdx/src/plugins/plugin-loader.d.ts.map +1 -0
- package/esm/extensions/ext-content-mdx/src/plugins/rehype-node-positions.d.ts.map +1 -0
- package/esm/extensions/ext-content-mdx/src/plugins/remark-headings.d.ts.map +1 -0
- package/esm/extensions/ext-content-mdx/src/plugins/remark-mdx-utils.d.ts.map +1 -0
- package/esm/extensions/ext-css-tailwind/src/index.js +1 -1
- package/esm/extensions/ext-db-sqlite/src/index.d.ts +15 -0
- package/esm/extensions/ext-db-sqlite/src/index.d.ts.map +1 -0
- package/esm/extensions/ext-db-sqlite/src/index.js +36 -0
- package/esm/extensions/ext-document-kreuzberg/src/index.d.ts +9 -0
- package/esm/extensions/ext-document-kreuzberg/src/index.d.ts.map +1 -0
- package/esm/extensions/ext-document-kreuzberg/src/index.js +71 -0
- package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.d.ts.map +1 -1
- package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.js +4 -4
- package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts +16 -0
- package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts.map +1 -0
- package/esm/extensions/ext-sandbox-shell-tools/src/index.js +22 -0
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/adapter.d.ts +1 -1
- package/esm/extensions/ext-schema-zod/src/adapter.d.ts.map +1 -0
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/adapter.js +1 -1
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/index.d.ts +2 -2
- package/esm/extensions/ext-schema-zod/src/index.d.ts.map +1 -0
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/index.js +4 -4
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/json-schema.d.ts +2 -2
- package/esm/extensions/ext-schema-zod/src/json-schema.d.ts.map +1 -0
- package/esm/extensions/{ext-zod → ext-schema-zod}/src/json-schema.js +2 -2
- package/esm/extensions/ext-tracing-opentelemetry/src/index.d.ts +49 -0
- package/esm/extensions/ext-tracing-opentelemetry/src/index.d.ts.map +1 -0
- package/esm/extensions/ext-tracing-opentelemetry/src/index.js +223 -0
- package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/detached-start.js +3 -3
- package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/host-support.js +4 -4
- package/esm/src/agent/ag-ui/request-shared.js +1 -1
- package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/run-control.js +2 -2
- package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
- package/esm/src/agent/conversation/bootstrap.js +3 -3
- package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-events.js +2 -2
- package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts.map +1 -1
- package/esm/src/agent/default-hosted-invoke-agent-tool.js +3 -3
- package/esm/src/agent/durable.d.ts.map +1 -1
- package/esm/src/agent/durable.js +7 -7
- package/esm/src/agent/external-agent-worker-client.d.ts +65 -90
- package/esm/src/agent/external-agent-worker-client.d.ts.map +1 -1
- package/esm/src/agent/external-agent-worker-client.js +85 -70
- package/esm/src/agent/hosted/ag-ui-chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted/ag-ui-chat-request.js +3 -3
- package/esm/src/agent/hosted/agent-project-steering.d.ts +7 -8
- package/esm/src/agent/hosted/agent-project-steering.d.ts.map +1 -1
- package/esm/src/agent/hosted/agent-project-steering.js +14 -9
- package/esm/src/agent/hosted/chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-request.js +4 -4
- package/esm/src/agent/hosted/child-tool-input.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-tool-input.js +2 -2
- package/esm/src/agent/index.d.ts +4 -2
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/index.js +4 -2
- package/esm/src/agent/invoke-agent-child-runs.d.ts.map +1 -1
- package/esm/src/agent/invoke-agent-child-runs.js +4 -4
- package/esm/src/agent/runtime/agent-definition-files.d.ts +17 -17
- package/esm/src/agent/runtime/agent-definition-files.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition-files.js +22 -16
- package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition.js +4 -4
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-invocation-contract.js +14 -14
- package/esm/src/agent/runtime/client-profile.d.ts.map +1 -1
- package/esm/src/agent/runtime/client-profile.js +4 -4
- package/esm/src/agent/runtime/load-skill-tool.js +2 -2
- package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
- package/esm/src/agent/runtime/project-files-client.js +3 -3
- package/esm/src/agent/runtime/skill-metadata.d.ts.map +1 -1
- package/esm/src/agent/runtime/skill-metadata.js +2 -2
- package/esm/src/agent/schemas/agent.schema.d.ts +33 -33
- package/esm/src/agent/service/auth.d.ts +3 -0
- package/esm/src/agent/service/auth.d.ts.map +1 -1
- package/esm/src/agent/service/auth.js +15 -11
- package/esm/src/agent/service/config.d.ts +15 -126
- package/esm/src/agent/service/config.d.ts.map +1 -1
- package/esm/src/agent/service/config.js +53 -49
- package/esm/src/agent/service/node-runtime-infrastructure.js +1 -1
- package/esm/src/agent/service/node-telemetry.d.ts +5 -12
- package/esm/src/agent/service/node-telemetry.d.ts.map +1 -1
- package/esm/src/agent/service/node-telemetry.js +17 -36
- package/esm/src/agent/service/registration.d.ts +62 -85
- package/esm/src/agent/service/registration.d.ts.map +1 -1
- package/esm/src/agent/service/registration.js +68 -66
- package/esm/src/agent/testing/agent-tester.d.ts +45 -0
- package/esm/src/agent/testing/agent-tester.d.ts.map +1 -0
- package/esm/src/agent/testing/agent-tester.js +127 -0
- package/esm/src/agent/testing/index.d.ts +9 -0
- package/esm/src/agent/testing/index.d.ts.map +1 -0
- package/esm/src/agent/testing/index.js +8 -0
- package/esm/src/agent/testing/live-evals/formatting.d.ts +11 -0
- package/esm/src/agent/testing/live-evals/formatting.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/formatting.js +71 -0
- package/esm/src/agent/testing/live-evals/index.d.ts +6 -0
- package/esm/src/agent/testing/live-evals/index.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/index.js +5 -0
- package/esm/src/agent/testing/live-evals/performance.d.ts +15 -0
- package/esm/src/agent/testing/live-evals/performance.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/performance.js +21 -0
- package/esm/src/agent/testing/live-evals/report.d.ts +46 -0
- package/esm/src/agent/testing/live-evals/report.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/report.js +73 -0
- package/esm/src/agent/testing/live-evals/request.d.ts +30 -0
- package/esm/src/agent/testing/live-evals/request.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/request.js +46 -0
- package/esm/src/agent/testing/live-evals/result.d.ts +52 -0
- package/esm/src/agent/testing/live-evals/result.d.ts.map +1 -0
- package/esm/src/agent/testing/live-evals/result.js +44 -0
- package/esm/src/agent/veryfront-cloud-agent-service.d.ts.map +1 -1
- package/esm/src/agent/veryfront-cloud-agent-service.js +47 -10
- package/esm/src/build/compiler/mdx-compiler/frontmatter-parser.js +1 -1
- package/esm/src/build/compiler/mdx-compiler/mdx-processor.d.ts.map +1 -1
- package/esm/src/build/compiler/mdx-compiler/mdx-processor.js +8 -16
- package/esm/src/build/compiler/mdx-to-js.d.ts.map +1 -1
- package/esm/src/build/compiler/mdx-to-js.js +10 -8
- package/esm/src/cache/schemas/cache-backend.schema.d.ts.map +1 -1
- package/esm/src/cache/schemas/cache-backend.schema.js +3 -3
- package/esm/src/cache/schemas/cache-key.schema.d.ts.map +1 -1
- package/esm/src/cache/schemas/cache-key.schema.js +2 -2
- package/esm/src/channels/control-plane.d.ts.map +1 -1
- package/esm/src/channels/control-plane.js +11 -11
- package/esm/src/channels/invoke.d.ts.map +1 -1
- package/esm/src/channels/invoke.js +13 -13
- package/esm/src/chat/ag-ui.d.ts.map +1 -1
- package/esm/src/chat/ag-ui.js +6 -6
- package/esm/src/chat/conversation.d.ts.map +1 -1
- package/esm/src/chat/conversation.js +6 -6
- package/esm/src/chat/types.d.ts.map +1 -1
- package/esm/src/chat/types.js +8 -8
- package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
- package/esm/src/config/schemas/config.schema.js +2 -2
- package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
- package/esm/src/data/schemas/data.schema.js +7 -7
- package/esm/src/embedding/upload-loader.d.ts +1 -1
- package/esm/src/embedding/upload-loader.js +8 -8
- package/esm/src/extensions/auth/auth-provider.d.ts +10 -2
- package/esm/src/extensions/auth/auth-provider.d.ts.map +1 -1
- package/esm/src/extensions/builtin-extensions.d.ts +1 -0
- package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
- package/esm/src/extensions/builtin-extensions.js +32 -8
- package/esm/src/extensions/cache/cache-store.d.ts +1 -1
- package/esm/src/extensions/cache/cache-store.js +1 -1
- package/esm/src/extensions/compat/index.d.ts +2 -2
- package/esm/src/extensions/compat/index.d.ts.map +1 -1
- package/esm/src/extensions/compat/index.js +1 -1
- package/esm/src/extensions/compat/{node-compat.d.ts → native-services.d.ts} +19 -25
- package/esm/src/extensions/compat/native-services.d.ts.map +1 -0
- package/esm/src/extensions/compat/native-services.js +10 -0
- package/esm/src/extensions/{transform → content}/content-processor.d.ts +9 -3
- package/esm/src/extensions/content/content-processor.d.ts.map +1 -0
- package/esm/src/extensions/{transform → content}/content-processor.js +3 -3
- package/esm/src/extensions/{transform → content}/index.d.ts +1 -1
- package/esm/src/extensions/content/index.d.ts.map +1 -0
- package/esm/src/extensions/{transform → content}/index.js +1 -1
- package/esm/src/extensions/contracts.d.ts +2 -0
- package/esm/src/extensions/contracts.d.ts.map +1 -1
- package/esm/src/extensions/contracts.js +4 -0
- package/esm/src/extensions/database/database-client.d.ts +1 -1
- package/esm/src/extensions/database/database-client.js +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/llm/embedding-provider.d.ts +1 -1
- package/esm/src/extensions/llm/embedding-provider.js +1 -1
- package/esm/src/extensions/recommendations.d.ts.map +1 -1
- package/esm/src/extensions/recommendations.js +6 -7
- package/esm/src/extensions/sandbox/index.d.ts +9 -0
- package/esm/src/extensions/sandbox/index.d.ts.map +1 -0
- package/esm/src/extensions/sandbox/index.js +7 -0
- package/esm/src/extensions/sandbox/shell-tools.d.ts +36 -0
- package/esm/src/extensions/sandbox/shell-tools.d.ts.map +1 -0
- package/esm/src/extensions/sandbox/shell-tools.js +1 -0
- package/esm/src/extensions/schema/schema-validator.d.ts +1 -1
- package/esm/src/extensions/schema/schema-validator.js +1 -1
- package/esm/src/extensions/tracing/index.d.ts +3 -1
- package/esm/src/extensions/tracing/index.d.ts.map +1 -1
- package/esm/src/extensions/tracing/index.js +2 -1
- package/esm/src/extensions/tracing/node-telemetry-provider.d.ts +40 -0
- package/esm/src/extensions/tracing/node-telemetry-provider.d.ts.map +1 -0
- package/esm/src/extensions/tracing/node-telemetry-provider.js +8 -0
- package/esm/src/html/schemas/html.schema.d.ts.map +1 -1
- package/esm/src/html/schemas/html.schema.js +7 -7
- package/esm/src/integrations/schema.d.ts +4 -4
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +11 -11
- package/esm/src/internal-agents/run-stream.js +2 -2
- package/esm/src/issues/mcp.js +7 -7
- package/esm/src/issues/schemas/issue.schema.d.ts.map +1 -1
- package/esm/src/issues/schemas/issue.schema.js +12 -12
- package/esm/src/jobs/schemas.d.ts.map +1 -1
- package/esm/src/jobs/schemas.js +29 -29
- package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
- package/esm/src/mcp/schemas/mcp.schema.js +4 -4
- package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
- package/esm/src/oauth/schemas/oauth.schema.js +8 -8
- package/esm/src/platform/compat/kv/factory.js +7 -7
- package/esm/src/platform/compat/opaque-deps.d.ts +4 -3
- package/esm/src/platform/compat/opaque-deps.d.ts.map +1 -1
- package/esm/src/platform/compat/opaque-deps.js +9 -8
- package/esm/src/platform/compat/std/front-matter-yaml.d.ts +1 -2
- package/esm/src/platform/compat/std/front-matter-yaml.d.ts.map +1 -1
- package/esm/src/platform/compat/std/front-matter-yaml.js +17 -21
- package/esm/src/react/components/chat/theme.d.ts +40 -7
- package/esm/src/react/components/chat/theme.d.ts.map +1 -1
- package/esm/src/react/components/chat/theme.js +19 -11
- package/esm/src/rendering/layouts/layout-applicator.d.ts.map +1 -1
- package/esm/src/rendering/layouts/layout-applicator.js +9 -14
- package/esm/src/repositories/schemas/repository.schema.d.ts.map +1 -1
- package/esm/src/repositories/schemas/repository.schema.js +4 -4
- package/esm/src/resource/schemas/resource.schema.d.ts.map +1 -1
- package/esm/src/resource/schemas/resource.schema.js +3 -3
- package/esm/src/sandbox/agent-service-tools.d.ts +1 -0
- package/esm/src/sandbox/agent-service-tools.d.ts.map +1 -1
- package/esm/src/sandbox/shell-tools.d.ts +3 -36
- package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
- package/esm/src/sandbox/shell-tools.js +2 -2
- package/esm/src/schemas/define.d.ts +2 -2
- package/esm/src/schemas/define.d.ts.map +1 -1
- package/esm/src/schemas/define.js +4 -10
- package/esm/src/schemas/index.d.ts +2 -1
- package/esm/src/schemas/index.d.ts.map +1 -1
- package/esm/src/schemas/index.js +2 -1
- package/esm/src/schemas/lazy.d.ts +3 -0
- package/esm/src/schemas/lazy.d.ts.map +1 -0
- package/esm/src/schemas/lazy.js +54 -0
- package/esm/src/server/bootstrap.d.ts.map +1 -1
- package/esm/src/server/bootstrap.js +2 -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 +67 -18
- package/esm/src/server/schemas/action.schema.d.ts.map +1 -1
- package/esm/src/server/schemas/action.schema.js +2 -2
- package/esm/src/tool/host-tools.js +1 -1
- package/esm/src/tool/schema/zod-json-schema.d.ts +1 -1
- package/esm/src/tool/schema/zod-json-schema.js +2 -2
- package/esm/src/transforms/md/compiler/md-compiler.d.ts +1 -1
- package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/import-rewriter.d.ts +1 -1
- package/esm/src/transforms/mdx/compiler/import-rewriter.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/index.d.ts +2 -2
- package/esm/src/transforms/mdx/compiler/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.js +5 -5
- package/esm/src/workflow/schemas/workflow.schema.d.ts +14 -14
- package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
- package/esm/src/workflow/schemas/workflow.schema.js +18 -18
- package/package.json +21 -10
- package/src/cli/commands/analyze-chunks/handler.ts +2 -2
- package/src/cli/commands/build/handler.ts +2 -2
- package/src/cli/commands/clean/handler.ts +2 -2
- package/src/cli/commands/demo/handler.ts +2 -2
- package/src/cli/commands/deploy/command.ts +2 -2
- package/src/cli/commands/dev/handler.ts +2 -2
- package/src/cli/commands/doctor/handler.ts +2 -2
- package/src/cli/commands/files/command.ts +5 -5
- package/src/cli/commands/generate/handler.ts +2 -2
- package/src/cli/commands/install/handler.ts +2 -2
- package/src/cli/commands/install/install.ts +3 -3
- package/src/cli/commands/install/types.ts +6 -6
- package/src/cli/commands/install/uninstall.ts +2 -2
- package/src/cli/commands/knowledge/command.ts +2 -2
- package/src/cli/commands/lock/handler.ts +2 -2
- package/src/cli/commands/mcp/handler.ts +2 -2
- package/src/cli/commands/merge/command.ts +2 -2
- package/src/cli/commands/open/command.ts +2 -2
- package/src/cli/commands/pull/command.ts +2 -2
- package/src/cli/commands/push/command.ts +2 -2
- package/src/cli/commands/routes/handler.ts +2 -2
- package/src/cli/commands/schema/handler.ts +2 -2
- package/src/cli/commands/serve/handler.ts +2 -2
- package/src/cli/commands/start/handler.ts +2 -2
- package/src/cli/commands/studio/handler.ts +2 -2
- package/src/cli/commands/styles/command.ts +2 -2
- package/src/cli/commands/styles/handler.ts +2 -2
- package/src/cli/commands/task/handler.ts +2 -2
- package/src/cli/commands/test/handler.ts +2 -2
- package/src/cli/commands/up/command.ts +2 -2
- package/src/cli/commands/uploads/command.ts +5 -5
- package/src/cli/commands/worker/handler.ts +2 -2
- package/src/cli/commands/workflow/handler.ts +2 -2
- package/src/cli/main.ts +6 -4
- package/src/cli/mcp/jsonrpc.ts +5 -5
- package/src/cli/mcp/remote-file-tools.ts +13 -13
- package/src/cli/mcp/tools/bootstrap-tool.ts +2 -2
- package/src/cli/mcp/tools/build-tool.ts +2 -2
- package/src/cli/mcp/tools/catalog-tools.ts +6 -6
- package/src/cli/mcp/tools/context7-tools.ts +5 -5
- package/src/cli/mcp/tools/deploy-tool.ts +2 -2
- package/src/cli/mcp/tools/dev-tools.ts +7 -7
- package/src/cli/mcp/tools/introspection-tools.ts +4 -4
- package/src/cli/mcp/tools/project-tools.ts +5 -5
- package/src/cli/mcp/tools/run-lint-tool.ts +2 -2
- package/src/cli/mcp/tools/run-tests-tool.ts +29 -17
- package/src/cli/mcp/tools/scaffold-tools.ts +23 -15
- package/src/cli/mcp/tools/skill-tools.ts +5 -5
- package/src/cli/mcp/tools.ts +6 -6
- package/src/cli/shared/config.ts +4 -4
- package/src/cli/shared/ensure-content-processor.ts +2 -2
- package/src/cli/shared/types.ts +2 -2
- package/src/cli/skills/types.ts +2 -2
- package/src/deno.js +23 -28
- package/src/deps/esm.sh/@types/react-dom@19.2.3/client.d.ts +1 -1
- package/src/deps/esm.sh/@types/{react@19.2.14 → react@19.2.3}/global.d.ts +0 -1
- package/src/deps/esm.sh/@types/{react@19.2.14 → react@19.2.3}/index.d.ts +24 -93
- package/src/deps/esm.sh/react-dom@19.2.4/client.d.ts +1 -1
- package/src/deps/jsr.io/@std/yaml/1.1.0/_chars.ts +55 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_loader_state.ts +1845 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_schema.ts +183 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/binary.ts +127 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/bool.ts +37 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/float.ts +112 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/int.ts +174 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/map.ts +17 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/merge.ts +13 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/nil.ts +27 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/omap.ts +30 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.ts +22 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.ts +33 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/seq.ts +13 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/set.ts +17 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/str.ts +12 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.ts +101 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.ts +23 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_type.ts +49 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/_utils.ts +16 -0
- package/src/deps/jsr.io/@std/yaml/1.1.0/parse.ts +125 -0
- package/src/extensions/ext-auth-jwt/src/index.ts +31 -3
- package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.ts +1 -4
- package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.ts +13 -7
- package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.ts +5 -5
- package/src/extensions/ext-css-tailwind/src/index.ts +1 -1
- package/src/extensions/ext-db-sqlite/src/index.ts +45 -0
- package/src/extensions/ext-document-kreuzberg/src/index.ts +95 -0
- package/src/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.ts +4 -4
- package/src/extensions/ext-sandbox-shell-tools/src/index.ts +38 -0
- package/src/extensions/{ext-zod → ext-schema-zod}/src/adapter.ts +1 -1
- package/src/extensions/{ext-zod → ext-schema-zod}/src/index.ts +4 -4
- package/src/extensions/{ext-zod → ext-schema-zod}/src/json-schema.ts +2 -2
- package/src/extensions/ext-tracing-opentelemetry/src/index.ts +290 -0
- package/src/src/agent/ag-ui/detached-start.ts +3 -3
- package/src/src/agent/ag-ui/host-support.ts +4 -4
- package/src/src/agent/ag-ui/request-shared.ts +1 -1
- package/src/src/agent/ag-ui/run-control.ts +2 -2
- package/src/src/agent/conversation/bootstrap.ts +3 -3
- package/src/src/agent/conversation/run-events.ts +2 -2
- package/src/src/agent/default-hosted-invoke-agent-tool.ts +7 -3
- package/src/src/agent/durable.ts +13 -8
- package/src/src/agent/external-agent-worker-client.ts +193 -88
- package/src/src/agent/hosted/ag-ui-chat-request.ts +5 -3
- package/src/src/agent/hosted/agent-project-steering.ts +24 -12
- package/src/src/agent/hosted/chat-request.ts +6 -4
- package/src/src/agent/hosted/child-tool-input.ts +2 -2
- package/src/src/agent/index.ts +4 -2
- package/src/src/agent/invoke-agent-child-runs.ts +10 -5
- package/src/src/agent/runtime/agent-definition-files.ts +53 -26
- package/src/src/agent/runtime/agent-definition.ts +8 -5
- package/src/src/agent/runtime/agent-invocation-contract.ts +14 -14
- package/src/src/agent/runtime/client-profile.ts +4 -4
- package/src/src/agent/runtime/load-skill-tool.ts +2 -2
- package/src/src/agent/runtime/project-files-client.ts +3 -3
- package/src/src/agent/runtime/skill-metadata.ts +2 -2
- package/src/src/agent/service/auth.ts +23 -14
- package/src/src/agent/service/config.ts +77 -50
- package/src/src/agent/service/node-runtime-infrastructure.ts +1 -1
- package/src/src/agent/service/node-telemetry.ts +34 -57
- package/src/src/agent/service/registration.ts +157 -82
- package/src/src/agent/testing/agent-tester.ts +202 -0
- package/src/src/agent/testing/index.ts +44 -0
- package/src/src/agent/testing/live-evals/formatting.ts +106 -0
- package/src/src/agent/testing/live-evals/index.ts +30 -0
- package/src/src/agent/testing/live-evals/performance.ts +52 -0
- package/src/src/agent/testing/live-evals/report.ts +155 -0
- package/src/src/agent/testing/live-evals/request.ts +60 -0
- package/src/src/agent/testing/live-evals/result.ts +96 -0
- package/src/src/agent/veryfront-cloud-agent-service.ts +62 -13
- package/src/src/build/compiler/mdx-compiler/frontmatter-parser.ts +1 -1
- package/src/src/build/compiler/mdx-compiler/mdx-processor.ts +9 -20
- package/src/src/build/compiler/mdx-to-js.ts +11 -8
- package/src/src/cache/schemas/cache-backend.schema.ts +3 -3
- package/src/src/cache/schemas/cache-key.schema.ts +2 -2
- package/src/src/channels/control-plane.ts +13 -11
- package/src/src/channels/invoke.ts +13 -13
- package/src/src/chat/ag-ui.ts +6 -6
- package/src/src/chat/conversation.ts +6 -6
- package/src/src/chat/types.ts +8 -8
- package/src/src/config/schemas/config.schema.ts +2 -2
- package/src/src/data/schemas/data.schema.ts +7 -7
- package/src/src/embedding/upload-loader.ts +9 -9
- package/src/src/extensions/auth/auth-provider.ts +14 -2
- package/src/src/extensions/builtin-extensions.ts +33 -8
- package/src/src/extensions/cache/cache-store.ts +1 -1
- package/src/src/extensions/compat/index.ts +5 -4
- package/src/src/extensions/compat/{node-compat.ts → native-services.ts} +18 -24
- package/src/src/extensions/{transform → content}/content-processor.ts +9 -3
- package/src/src/extensions/{transform → content}/index.ts +1 -1
- package/src/src/extensions/contracts.ts +6 -0
- package/src/src/extensions/database/database-client.ts +1 -1
- package/src/src/extensions/index.ts +11 -0
- package/src/src/extensions/llm/embedding-provider.ts +1 -1
- package/src/src/extensions/recommendations.ts +6 -7
- package/src/src/extensions/sandbox/index.ts +18 -0
- package/src/src/extensions/sandbox/shell-tools.ts +42 -0
- package/src/src/extensions/schema/schema-validator.ts +1 -1
- package/src/src/extensions/tracing/index.ts +9 -1
- package/src/src/extensions/tracing/node-telemetry-provider.ts +45 -0
- package/src/src/html/schemas/html.schema.ts +7 -7
- package/src/src/integrations/schema.ts +11 -11
- package/src/src/internal-agents/run-stream.ts +2 -2
- package/src/src/issues/mcp.ts +7 -7
- package/src/src/issues/schemas/issue.schema.ts +12 -12
- package/src/src/jobs/schemas.ts +39 -30
- package/src/src/mcp/schemas/mcp.schema.ts +4 -4
- package/src/src/oauth/schemas/oauth.schema.ts +8 -8
- package/src/src/platform/compat/kv/factory.ts +8 -8
- package/src/src/platform/compat/opaque-deps.ts +10 -9
- package/src/src/platform/compat/std/front-matter-yaml.ts +18 -29
- package/src/src/react/components/chat/theme.ts +45 -10
- package/src/src/rendering/layouts/layout-applicator.ts +10 -18
- package/src/src/repositories/schemas/repository.schema.ts +4 -4
- package/src/src/resource/schemas/resource.schema.ts +3 -3
- package/src/src/sandbox/agent-service-tools.ts +1 -0
- package/src/src/sandbox/shell-tools.ts +17 -42
- package/src/src/schemas/define.ts +4 -10
- package/src/src/schemas/index.ts +2 -1
- package/src/src/schemas/lazy.ts +65 -0
- package/src/src/server/bootstrap.ts +5 -1
- package/src/src/server/handlers/dev/framework-candidates.generated.ts +67 -18
- package/src/src/server/schemas/action.schema.ts +2 -2
- package/src/src/tool/host-tools.ts +1 -1
- package/src/src/tool/schema/zod-json-schema.ts +2 -2
- package/src/src/transforms/md/compiler/md-compiler.ts +1 -1
- package/src/src/transforms/mdx/compiler/import-rewriter.ts +1 -1
- package/src/src/transforms/mdx/compiler/index.ts +2 -2
- package/src/src/transforms/mdx/compiler/mdx-compiler.ts +1 -1
- package/src/src/utils/version-constant.ts +1 -1
- package/src/src/workflow/blob/veryfront-cloud-storage.ts +5 -5
- package/src/src/workflow/schemas/workflow.schema.ts +18 -18
- package/esm/extensions/ext-node-compatibility/src/index.d.ts +0 -11
- package/esm/extensions/ext-node-compatibility/src/index.d.ts.map +0 -1
- package/esm/extensions/ext-node-compatibility/src/index.js +0 -106
- package/esm/extensions/ext-transform-mdx/src/compiler/markdown-compile.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/compiler/mdx-compile.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/index.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/plugins/plugin-loader.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/plugins/rehype-node-positions.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/plugins/remark-headings.d.ts.map +0 -1
- package/esm/extensions/ext-transform-mdx/src/plugins/remark-mdx-utils.d.ts.map +0 -1
- package/esm/extensions/ext-zod/src/adapter.d.ts.map +0 -1
- package/esm/extensions/ext-zod/src/index.d.ts.map +0 -1
- package/esm/extensions/ext-zod/src/json-schema.d.ts.map +0 -1
- package/esm/src/extensions/compat/node-compat.d.ts.map +0 -1
- package/esm/src/extensions/compat/node-compat.js +0 -8
- package/esm/src/extensions/transform/content-processor.d.ts.map +0 -1
- package/esm/src/extensions/transform/index.d.ts.map +0 -1
- package/esm/src/transforms/plugins/plugin-loader.d.ts +0 -19
- package/esm/src/transforms/plugins/plugin-loader.d.ts.map +0 -1
- package/esm/src/transforms/plugins/plugin-loader.js +0 -24
- package/src/extensions/ext-node-compatibility/src/index.ts +0 -140
- package/src/src/transforms/plugins/plugin-loader.ts +0 -29
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.js +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.d.ts +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.js +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.d.ts +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.js +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.d.ts +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.js +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.d.ts +0 -0
- /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.js +0 -0
- /package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.d.ts +0 -0
- /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.ts +0 -0
- /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.ts +0 -0
- /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.ts +0 -0
- /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.ts +0 -0
|
@@ -7,11 +7,11 @@ import type { InferSchema } from "../../extensions/schema/index.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* Workflow status schema
|
|
9
9
|
*/
|
|
10
|
-
export declare const getWorkflowStatusSchema: () => import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "
|
|
10
|
+
export declare const getWorkflowStatusSchema: () => import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "cancelled" | "running">;
|
|
11
11
|
/**
|
|
12
12
|
* Node status schema
|
|
13
13
|
*/
|
|
14
|
-
export declare const getNodeStatusSchema: () => import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
14
|
+
export declare const getNodeStatusSchema: () => import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
15
15
|
/**
|
|
16
16
|
* Workflow node type schema
|
|
17
17
|
*/
|
|
@@ -44,7 +44,7 @@ export declare const getLoopExecutionContextSchema: () => import("../../internal
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const getNodeStateSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
46
46
|
nodeId: import("../../internal-agents/schema.js").Schema<string>;
|
|
47
|
-
status: import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
47
|
+
status: import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
48
48
|
input: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
49
49
|
output: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
50
50
|
error: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -70,7 +70,7 @@ export declare const getCheckpointSchema: () => import("../../internal-agents/sc
|
|
|
70
70
|
} & Record<string, unknown>>;
|
|
71
71
|
nodeStates: import("../../internal-agents/schema.js").Schema<Record<string, import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
72
72
|
nodeId: import("../../internal-agents/schema.js").Schema<string>;
|
|
73
|
-
status: import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
73
|
+
status: import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
74
74
|
input: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
75
75
|
output: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
76
76
|
error: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -82,7 +82,7 @@ export declare const getCheckpointSchema: () => import("../../internal-agents/sc
|
|
|
82
82
|
/**
|
|
83
83
|
* Approval status schema
|
|
84
84
|
*/
|
|
85
|
-
export declare const getApprovalStatusSchema: () => import("../../internal-agents/schema.js").Schema<"expired" | "
|
|
85
|
+
export declare const getApprovalStatusSchema: () => import("../../internal-agents/schema.js").Schema<"expired" | "pending" | "rejected" | "approved">;
|
|
86
86
|
/**
|
|
87
87
|
* Pending approval schema
|
|
88
88
|
*/
|
|
@@ -94,7 +94,7 @@ export declare const getPendingApprovalSchema: () => import("../../internal-agen
|
|
|
94
94
|
approvers: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
95
95
|
requestedAt: import("../../internal-agents/schema.js").Schema<Date>;
|
|
96
96
|
expiresAt: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
97
|
-
status: import("../../internal-agents/schema.js").Schema<"expired" | "
|
|
97
|
+
status: import("../../internal-agents/schema.js").Schema<"expired" | "pending" | "rejected" | "approved">;
|
|
98
98
|
decidedBy: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
99
99
|
decidedAt: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
100
100
|
comment: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -130,7 +130,7 @@ export declare const getWorkflowJobSchema: () => import("../../internal-agents/s
|
|
|
130
130
|
*/
|
|
131
131
|
export declare const getRunFilterSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
132
132
|
workflowId: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
133
|
-
status: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "
|
|
133
|
+
status: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "cancelled" | "running" | ("waiting" | "failed" | "completed" | "pending" | "cancelled" | "running")[] | undefined>;
|
|
134
134
|
createdAfter: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
135
135
|
createdBefore: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
136
136
|
limit: import("../../internal-agents/schema.js").Schema<number | undefined>;
|
|
@@ -144,8 +144,8 @@ export declare const getParallelStrategySchema: () => import("../../internal-age
|
|
|
144
144
|
* Wait type schema
|
|
145
145
|
*/
|
|
146
146
|
export declare const getWaitTypeSchema: () => import("../../internal-agents/schema.js").Schema<"event" | "approval">;
|
|
147
|
-
export declare const WorkflowStatusSchema: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "
|
|
148
|
-
export declare const NodeStatusSchema: import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
147
|
+
export declare const WorkflowStatusSchema: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "cancelled" | "running">;
|
|
148
|
+
export declare const NodeStatusSchema: import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
149
149
|
export declare const WorkflowNodeTypeSchema: import("../../internal-agents/schema.js").Schema<"map" | "branch" | "step" | "parallel" | "wait" | "subWorkflow" | "loop">;
|
|
150
150
|
export declare const BackoffStrategySchema: import("../../internal-agents/schema.js").Schema<"fixed" | "linear" | "exponential">;
|
|
151
151
|
export declare const RetryConfigSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
@@ -163,7 +163,7 @@ export declare const LoopExecutionContextSchema: import("../../internal-agents/s
|
|
|
163
163
|
}>>;
|
|
164
164
|
export declare const NodeStateSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
165
165
|
nodeId: import("../../internal-agents/schema.js").Schema<string>;
|
|
166
|
-
status: import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
166
|
+
status: import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
167
167
|
input: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
168
168
|
output: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
169
169
|
error: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -183,7 +183,7 @@ export declare const CheckpointSchema: import("../../internal-agents/schema.js")
|
|
|
183
183
|
} & Record<string, unknown>>;
|
|
184
184
|
nodeStates: import("../../internal-agents/schema.js").Schema<Record<string, import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
185
185
|
nodeId: import("../../internal-agents/schema.js").Schema<string>;
|
|
186
|
-
status: import("../../internal-agents/schema.js").Schema<"failed" | "
|
|
186
|
+
status: import("../../internal-agents/schema.js").Schema<"failed" | "completed" | "pending" | "running" | "skipped">;
|
|
187
187
|
input: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
188
188
|
output: import("../../internal-agents/schema.js").Schema<unknown>;
|
|
189
189
|
error: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -192,7 +192,7 @@ export declare const CheckpointSchema: import("../../internal-agents/schema.js")
|
|
|
192
192
|
completedAt: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
193
193
|
}>>>;
|
|
194
194
|
}>>;
|
|
195
|
-
export declare const ApprovalStatusSchema: import("../../internal-agents/schema.js").Schema<"expired" | "
|
|
195
|
+
export declare const ApprovalStatusSchema: import("../../internal-agents/schema.js").Schema<"expired" | "pending" | "rejected" | "approved">;
|
|
196
196
|
export declare const PendingApprovalSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
197
197
|
id: import("../../internal-agents/schema.js").Schema<string>;
|
|
198
198
|
nodeId: import("../../internal-agents/schema.js").Schema<string>;
|
|
@@ -201,7 +201,7 @@ export declare const PendingApprovalSchema: import("../../internal-agents/schema
|
|
|
201
201
|
approvers: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
|
|
202
202
|
requestedAt: import("../../internal-agents/schema.js").Schema<Date>;
|
|
203
203
|
expiresAt: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
204
|
-
status: import("../../internal-agents/schema.js").Schema<"expired" | "
|
|
204
|
+
status: import("../../internal-agents/schema.js").Schema<"expired" | "pending" | "rejected" | "approved">;
|
|
205
205
|
decidedBy: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
206
206
|
decidedAt: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
207
207
|
comment: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -225,7 +225,7 @@ export declare const WorkflowJobSchema: import("../../internal-agents/schema.js"
|
|
|
225
225
|
}>>;
|
|
226
226
|
export declare const RunFilterSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
227
227
|
workflowId: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
228
|
-
status: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "
|
|
228
|
+
status: import("../../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "cancelled" | "running" | ("waiting" | "failed" | "completed" | "pending" | "cancelled" | "running")[] | undefined>;
|
|
229
229
|
createdAfter: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
230
230
|
createdBefore: import("../../internal-agents/schema.js").Schema<Date | undefined>;
|
|
231
231
|
limit: import("../../internal-agents/schema.js").Schema<number | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.schema.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/schemas/workflow.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,uBAAuB,kIAWnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,oHAU/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,kIAYrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,4FAEpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;GAQhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;GAQzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;GAW9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;4BAMpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;GAQ/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,yGASnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;GAcpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;GAMlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;GAMrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;GAQhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;GAS9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,uFAErC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,8EAA8D,CAAC;AAG7F,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"workflow.schema.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/schemas/workflow.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,uBAAuB,kIAWnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,oHAU/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,kIAYrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,4FAEpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;GAQhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;GAQzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;GAW9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;4BAMpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;GAQ/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,yGASnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;GAcpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;GAMlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;GAMrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;GAQhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;GAS9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,uFAErC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,8EAA8D,CAAC;AAG7F,eAAO,MAAM,oBAAoB,4HAAsC,CAAC;AACxE,eAAO,MAAM,gBAAgB,8GAAkC,CAAC;AAChE,eAAO,MAAM,sBAAsB,4HAAwC,CAAC;AAC5E,eAAO,MAAM,qBAAqB,sFAAuC,CAAC;AAC1E,eAAO,MAAM,iBAAiB;;;;;GAAmC,CAAC;AAClE,eAAO,MAAM,0BAA0B;;;;;;GAA4C,CAAC;AACpF,eAAO,MAAM,eAAe;;;;;;;;;GAAiC,CAAC;AAC9D,eAAO,MAAM,qBAAqB;;4BAAuC,CAAC;AAC1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;GAAkC,CAAC;AAChE,eAAO,MAAM,oBAAoB,mGAAsC,CAAC;AACxE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;GAAuC,CAAC;AAC1E,eAAO,MAAM,mBAAmB;;;;GAAqC,CAAC;AACtE,eAAO,MAAM,sBAAsB;;;;GAAwC,CAAC;AAC5E,eAAO,MAAM,iBAAiB;;;;;;GAAmC,CAAC;AAClE,eAAO,MAAM,eAAe;;;;;;;GAAiC,CAAC;AAC9D,eAAO,MAAM,sBAAsB,iFAAwC,CAAC;AAC5E,eAAO,MAAM,cAAc,wEAAgC,CAAC;AAG5D,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC;AACrF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,GAAG;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC;CACrC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC;AACjG,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC;AACrF,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC;AACnF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC;AAC/E,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Schemas for workflow status, nodes, and execution state.
|
|
5
5
|
*/
|
|
6
|
-
import { defineSchema } from "../../schemas/index.js";
|
|
6
|
+
import { defineSchema, lazySchema } from "../../schemas/index.js";
|
|
7
7
|
/**
|
|
8
8
|
* Workflow status schema
|
|
9
9
|
*/
|
|
@@ -163,20 +163,20 @@ export const getParallelStrategySchema = defineSchema((v) => v.enum(["all", "rac
|
|
|
163
163
|
*/
|
|
164
164
|
export const getWaitTypeSchema = defineSchema((v) => v.enum(["approval", "event"]));
|
|
165
165
|
// Backward-compat aliases (consumed by schemas/index.ts and other unmigrated callers)
|
|
166
|
-
export const WorkflowStatusSchema = getWorkflowStatusSchema
|
|
167
|
-
export const NodeStatusSchema = getNodeStatusSchema
|
|
168
|
-
export const WorkflowNodeTypeSchema = getWorkflowNodeTypeSchema
|
|
169
|
-
export const BackoffStrategySchema = getBackoffStrategySchema
|
|
170
|
-
export const RetryConfigSchema = getRetryConfigSchema
|
|
171
|
-
export const LoopExecutionContextSchema = getLoopExecutionContextSchema
|
|
172
|
-
export const NodeStateSchema = getNodeStateSchema
|
|
173
|
-
export const WorkflowContextSchema = getWorkflowContextSchema
|
|
174
|
-
export const CheckpointSchema = getCheckpointSchema
|
|
175
|
-
export const ApprovalStatusSchema = getApprovalStatusSchema
|
|
176
|
-
export const PendingApprovalSchema = getPendingApprovalSchema
|
|
177
|
-
export const WorkflowErrorSchema = getWorkflowErrorSchema
|
|
178
|
-
export const ApprovalDecisionSchema = getApprovalDecisionSchema
|
|
179
|
-
export const WorkflowJobSchema = getWorkflowJobSchema
|
|
180
|
-
export const RunFilterSchema = getRunFilterSchema
|
|
181
|
-
export const ParallelStrategySchema = getParallelStrategySchema
|
|
182
|
-
export const WaitTypeSchema = getWaitTypeSchema
|
|
166
|
+
export const WorkflowStatusSchema = lazySchema(getWorkflowStatusSchema);
|
|
167
|
+
export const NodeStatusSchema = lazySchema(getNodeStatusSchema);
|
|
168
|
+
export const WorkflowNodeTypeSchema = lazySchema(getWorkflowNodeTypeSchema);
|
|
169
|
+
export const BackoffStrategySchema = lazySchema(getBackoffStrategySchema);
|
|
170
|
+
export const RetryConfigSchema = lazySchema(getRetryConfigSchema);
|
|
171
|
+
export const LoopExecutionContextSchema = lazySchema(getLoopExecutionContextSchema);
|
|
172
|
+
export const NodeStateSchema = lazySchema(getNodeStateSchema);
|
|
173
|
+
export const WorkflowContextSchema = lazySchema(getWorkflowContextSchema);
|
|
174
|
+
export const CheckpointSchema = lazySchema(getCheckpointSchema);
|
|
175
|
+
export const ApprovalStatusSchema = lazySchema(getApprovalStatusSchema);
|
|
176
|
+
export const PendingApprovalSchema = lazySchema(getPendingApprovalSchema);
|
|
177
|
+
export const WorkflowErrorSchema = lazySchema(getWorkflowErrorSchema);
|
|
178
|
+
export const ApprovalDecisionSchema = lazySchema(getApprovalDecisionSchema);
|
|
179
|
+
export const WorkflowJobSchema = lazySchema(getWorkflowJobSchema);
|
|
180
|
+
export const RunFilterSchema = lazySchema(getRunFilterSchema);
|
|
181
|
+
export const ParallelStrategySchema = lazySchema(getParallelStrategySchema);
|
|
182
|
+
export const WaitTypeSchema = lazySchema(getWaitTypeSchema);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.521",
|
|
4
4
|
"description": "The simplest way to build AI-powered apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -73,6 +73,10 @@
|
|
|
73
73
|
"import": "./esm/src/agent/index.js",
|
|
74
74
|
"types": "./esm/src/agent/index.d.ts"
|
|
75
75
|
},
|
|
76
|
+
"./agent/testing": {
|
|
77
|
+
"import": "./esm/src/agent/testing/index.js",
|
|
78
|
+
"types": "./esm/src/agent/testing/index.d.ts"
|
|
79
|
+
},
|
|
76
80
|
"./agent/conversation-bootstrap": {
|
|
77
81
|
"import": "./esm/src/agent/conversation/bootstrap.js",
|
|
78
82
|
"types": "./esm/src/agent/conversation/bootstrap.d.ts"
|
|
@@ -197,6 +201,14 @@
|
|
|
197
201
|
"import": "./esm/src/extensions/cache/index.js",
|
|
198
202
|
"types": "./esm/src/extensions/cache/index.d.ts"
|
|
199
203
|
},
|
|
204
|
+
"./extensions/content": {
|
|
205
|
+
"import": "./esm/src/extensions/content/index.js",
|
|
206
|
+
"types": "./esm/src/extensions/content/index.d.ts"
|
|
207
|
+
},
|
|
208
|
+
"./extensions/contracts": {
|
|
209
|
+
"import": "./esm/src/extensions/contracts.js",
|
|
210
|
+
"types": "./esm/src/extensions/contracts.d.ts"
|
|
211
|
+
},
|
|
200
212
|
"./extensions/compat": {
|
|
201
213
|
"import": "./esm/src/extensions/compat/index.js",
|
|
202
214
|
"types": "./esm/src/extensions/compat/index.d.ts"
|
|
@@ -213,6 +225,10 @@
|
|
|
213
225
|
"import": "./esm/src/extensions/parser/index.js",
|
|
214
226
|
"types": "./esm/src/extensions/parser/index.d.ts"
|
|
215
227
|
},
|
|
228
|
+
"./extensions/sandbox": {
|
|
229
|
+
"import": "./esm/src/extensions/sandbox/index.js",
|
|
230
|
+
"types": "./esm/src/extensions/sandbox/index.d.ts"
|
|
231
|
+
},
|
|
216
232
|
"./extensions/schema": {
|
|
217
233
|
"import": "./esm/src/extensions/schema/index.js",
|
|
218
234
|
"types": "./esm/src/extensions/schema/index.d.ts"
|
|
@@ -221,10 +237,6 @@
|
|
|
221
237
|
"import": "./esm/src/extensions/tracing/index.js",
|
|
222
238
|
"types": "./esm/src/extensions/tracing/index.d.ts"
|
|
223
239
|
},
|
|
224
|
-
"./extensions/transform": {
|
|
225
|
-
"import": "./esm/src/extensions/transform/index.js",
|
|
226
|
-
"types": "./esm/src/extensions/transform/index.d.ts"
|
|
227
|
-
},
|
|
228
240
|
"./testing": {
|
|
229
241
|
"import": "./esm/src/testing/index.js",
|
|
230
242
|
"types": "./esm/src/testing/index.d.ts"
|
|
@@ -292,19 +304,20 @@
|
|
|
292
304
|
"@mdx-js/mdx": "3.1.1",
|
|
293
305
|
"@opentelemetry/api": "1.9.1",
|
|
294
306
|
"@opentelemetry/auto-instrumentations-node": "0.76.0",
|
|
307
|
+
"@opentelemetry/context-async-hooks": "2.7.1",
|
|
308
|
+
"@opentelemetry/core": "2.7.1",
|
|
295
309
|
"@opentelemetry/exporter-trace-otlp-http": "0.218.0",
|
|
296
310
|
"@opentelemetry/resources": "2.7.1",
|
|
297
311
|
"@opentelemetry/sdk-node": "0.218.0",
|
|
298
312
|
"@opentelemetry/sdk-trace-base": "2.7.1",
|
|
313
|
+
"@opentelemetry/semantic-conventions": "1.40.0",
|
|
299
314
|
"@types/hast": "3.0.3",
|
|
300
315
|
"@types/mdast": "4.0.3",
|
|
301
316
|
"@types/unist": "3.0.2",
|
|
302
|
-
"bash-tool": "
|
|
303
|
-
"class-variance-authority": "0.7.1",
|
|
317
|
+
"bash-tool": "1.3.16",
|
|
304
318
|
"es-module-lexer": "2.0.0",
|
|
305
319
|
"esbuild": "0.27.4",
|
|
306
320
|
"github-slugger": "2.0.0",
|
|
307
|
-
"gray-matter": "4.0.3",
|
|
308
321
|
"jose": "5.9.6",
|
|
309
322
|
"mdast-util-to-string": "4.0.0",
|
|
310
323
|
"react": "19.2.4",
|
|
@@ -320,7 +333,6 @@
|
|
|
320
333
|
"remark-parse": "11.0.0",
|
|
321
334
|
"remark-rehype": "11.1.2",
|
|
322
335
|
"scheduler": "0.27.0",
|
|
323
|
-
"tailwind-merge": "3.5.0",
|
|
324
336
|
"tailwindcss": "4.2.2",
|
|
325
337
|
"unified": "11.0.5",
|
|
326
338
|
"unist-util-visit": "5.1.0",
|
|
@@ -331,7 +343,6 @@
|
|
|
331
343
|
"@deno/shim-timers": "~0.1.0",
|
|
332
344
|
"@types/react": "^19.0.0",
|
|
333
345
|
"@types/react-dom": "^19.0.0",
|
|
334
|
-
"ai": "^6.0.13",
|
|
335
346
|
"ws": "^8.18.0",
|
|
336
347
|
"@kreuzberg/node": "^4.4.2"
|
|
337
348
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Analyze chunks command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { cwd } from "../../../src/platform/index.js";
|
|
7
7
|
import { analyzeChunksCommand } from "./command.js";
|
|
8
8
|
import { showLogo } from "../../utils/index.js";
|
|
@@ -16,7 +16,7 @@ const getAnalyzeChunksArgsSchema = defineSchema((v) =>
|
|
|
16
16
|
})
|
|
17
17
|
);
|
|
18
18
|
|
|
19
|
-
const AnalyzeChunksArgsSchema = getAnalyzeChunksArgsSchema
|
|
19
|
+
const AnalyzeChunksArgsSchema = lazySchema(getAnalyzeChunksArgsSchema);
|
|
20
20
|
|
|
21
21
|
export const parseAnalyzeChunksArgs = createArgParser(AnalyzeChunksArgsSchema, {
|
|
22
22
|
projectDir: CommonArgs.projectDir,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
1
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
2
2
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
3
3
|
import { bold, cyan, dim, green, yellow } from "../../ui/index.js";
|
|
4
4
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
@@ -27,7 +27,7 @@ export const getBuildArgsSchema = defineSchema((v) =>
|
|
|
27
27
|
})
|
|
28
28
|
);
|
|
29
29
|
|
|
30
|
-
export const BuildArgsSchema = getBuildArgsSchema
|
|
30
|
+
export const BuildArgsSchema = lazySchema(getBuildArgsSchema);
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Build command options (inferred from schema)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Clean command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { cleanCommand } from "./command.js";
|
|
7
7
|
import { CommonArgs, createArgParser } from "../../shared/args.js";
|
|
8
8
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
@@ -18,7 +18,7 @@ const getCleanArgsSchema = defineSchema((v) =>
|
|
|
18
18
|
})
|
|
19
19
|
);
|
|
20
20
|
|
|
21
|
-
const CleanArgsSchema = getCleanArgsSchema
|
|
21
|
+
const CleanArgsSchema = lazySchema(getCleanArgsSchema);
|
|
22
22
|
|
|
23
23
|
const parseCleanArgs = createArgParser(CleanArgsSchema, {
|
|
24
24
|
projectDir: CommonArgs.projectDir,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Demo command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
|
|
7
7
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
8
8
|
import type { DemoOptions } from "./index.js";
|
|
@@ -15,7 +15,7 @@ const getDemoArgsSchema = defineSchema((v) =>
|
|
|
15
15
|
})
|
|
16
16
|
);
|
|
17
17
|
|
|
18
|
-
const DemoArgsSchema = getDemoArgsSchema
|
|
18
|
+
const DemoArgsSchema = lazySchema(getDemoArgsSchema);
|
|
19
19
|
|
|
20
20
|
export const parseDemoArgs = createArgParser(DemoArgsSchema, {
|
|
21
21
|
projectName: { keys: ["project-name"], type: "string", positional: 0 },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module cli/commands/deploy
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
10
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
11
11
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
12
12
|
import { cwd } from "../../../src/platform/index.js";
|
|
13
13
|
import { type ApiClient, createApiClient, resolveConfigWithAuth } from "../../shared/config.js";
|
|
@@ -31,7 +31,7 @@ export const getDeployArgsSchema = defineSchema((v) =>
|
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
-
export const DeployArgsSchema = getDeployArgsSchema
|
|
34
|
+
export const DeployArgsSchema = lazySchema(getDeployArgsSchema);
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Deploy command options (inferred from schema)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Dev command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { isAbsolute, join } from "../../../src/platform/compat/path/index.js";
|
|
7
7
|
import { cwd, setEnv } from "../../../src/platform/index.js";
|
|
8
8
|
import { createFileSystem } from "../../../src/platform/index.js";
|
|
@@ -21,7 +21,7 @@ const getDevArgsSchema = defineSchema((v) =>
|
|
|
21
21
|
})
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
const DevArgsSchema = getDevArgsSchema
|
|
24
|
+
const DevArgsSchema = lazySchema(getDevArgsSchema);
|
|
25
25
|
|
|
26
26
|
export const parseDevArgs = createArgParser(DevArgsSchema, {
|
|
27
27
|
port: { keys: ["port", "p"], type: "number" },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Doctor command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { cwd } from "../../../src/platform/index.js";
|
|
7
7
|
import { doctorCommand } from "./index.js";
|
|
8
8
|
import { showLogo } from "../../utils/index.js";
|
|
@@ -15,7 +15,7 @@ const getDoctorArgsSchema = defineSchema((v) =>
|
|
|
15
15
|
})
|
|
16
16
|
);
|
|
17
17
|
|
|
18
|
-
const DoctorArgsSchema = getDoctorArgsSchema
|
|
18
|
+
const DoctorArgsSchema = lazySchema(getDoctorArgsSchema);
|
|
19
19
|
|
|
20
20
|
export const parseDoctorArgs = createArgParser(DoctorArgsSchema, {
|
|
21
21
|
strict: { keys: ["strict", "s"], type: "boolean" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
1
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
2
2
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
3
3
|
type SafeParseResult<T> = { success: true; data: T } | {
|
|
4
4
|
success: false;
|
|
@@ -27,7 +27,7 @@ const getFilesListArgsSchema = defineSchema((v) =>
|
|
|
27
27
|
})
|
|
28
28
|
);
|
|
29
29
|
|
|
30
|
-
const FilesListArgsSchema = getFilesListArgsSchema
|
|
30
|
+
const FilesListArgsSchema = lazySchema(getFilesListArgsSchema);
|
|
31
31
|
|
|
32
32
|
const getFilesGetArgsSchema = defineSchema((v) =>
|
|
33
33
|
v.object({
|
|
@@ -40,7 +40,7 @@ const getFilesGetArgsSchema = defineSchema((v) =>
|
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
|
|
43
|
-
const FilesGetArgsSchema = getFilesGetArgsSchema
|
|
43
|
+
const FilesGetArgsSchema = lazySchema(getFilesGetArgsSchema);
|
|
44
44
|
|
|
45
45
|
const getFilesPutArgsSchema = defineSchema((v) =>
|
|
46
46
|
v.object({
|
|
@@ -53,7 +53,7 @@ const getFilesPutArgsSchema = defineSchema((v) =>
|
|
|
53
53
|
})
|
|
54
54
|
);
|
|
55
55
|
|
|
56
|
-
const FilesPutArgsSchema = getFilesPutArgsSchema
|
|
56
|
+
const FilesPutArgsSchema = lazySchema(getFilesPutArgsSchema);
|
|
57
57
|
|
|
58
58
|
const getFilesDeleteArgsSchema = defineSchema((v) =>
|
|
59
59
|
v.object({
|
|
@@ -65,7 +65,7 @@ const getFilesDeleteArgsSchema = defineSchema((v) =>
|
|
|
65
65
|
})
|
|
66
66
|
);
|
|
67
67
|
|
|
68
|
-
const FilesDeleteArgsSchema = getFilesDeleteArgsSchema
|
|
68
|
+
const FilesDeleteArgsSchema = lazySchema(getFilesDeleteArgsSchema);
|
|
69
69
|
|
|
70
70
|
export type FilesListOptions = InferSchema<ReturnType<typeof getFilesListArgsSchema>>;
|
|
71
71
|
export type FilesGetOptions = InferSchema<ReturnType<typeof getFilesGetArgsSchema>>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generate command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { generateCommand } from "./index.js";
|
|
7
7
|
import { showLogo } from "../../utils/index.js";
|
|
8
8
|
import { createArgParser } from "../../shared/args.js";
|
|
@@ -18,7 +18,7 @@ const getGenerateArgsSchema = defineSchema((v) =>
|
|
|
18
18
|
})
|
|
19
19
|
);
|
|
20
20
|
|
|
21
|
-
const GenerateArgsSchema = getGenerateArgsSchema
|
|
21
|
+
const GenerateArgsSchema = lazySchema(getGenerateArgsSchema);
|
|
22
22
|
|
|
23
23
|
export const parseGenerateArgs = createArgParser(GenerateArgsSchema, {
|
|
24
24
|
type: { keys: ["type"], type: "string", positional: 0 },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Install/Uninstall command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { installCommand } from "./install.js";
|
|
7
7
|
import { uninstallCommand } from "./uninstall.js";
|
|
8
8
|
import { CommonArgs, createArgParser, parseArgsOrThrow } from "../../shared/args.js";
|
|
@@ -16,7 +16,7 @@ const getInstallArgsSchema = defineSchema((v) =>
|
|
|
16
16
|
})
|
|
17
17
|
);
|
|
18
18
|
|
|
19
|
-
const InstallArgsSchema = getInstallArgsSchema
|
|
19
|
+
const InstallArgsSchema = lazySchema(getInstallArgsSchema);
|
|
20
20
|
|
|
21
21
|
export const parseInstallArgs = createArgParser(InstallArgsSchema, {
|
|
22
22
|
target: { keys: ["target", "t"], type: "string" },
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { dirname, join } from "../../../src/platform/compat/path/index.js";
|
|
6
6
|
import { cwd as getCwd } from "../../../src/platform/index.js";
|
|
7
7
|
import { exists, mkdir, writeTextFile } from "../../../src/platform/index.js";
|
|
8
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
8
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
9
9
|
import { type EnvironmentConfig, getEnvironmentConfig } from "../../../src/config/index.js";
|
|
10
10
|
import { bold, dim, multiSelect, type MultiSelectOption, muted, success, warning } from "../../ui/index.js";
|
|
11
11
|
import { detectAITools, formatDetectionHint } from "./detect.js";
|
|
@@ -31,7 +31,7 @@ const getTargetFlagSchema = defineSchema((v) =>
|
|
|
31
31
|
.refine((arr) => arr.length > 0, { message: "No valid targets specified" })
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
-
const TargetFlagSchema = getTargetFlagSchema
|
|
34
|
+
const TargetFlagSchema = lazySchema(getTargetFlagSchema);
|
|
35
35
|
|
|
36
36
|
export function parseTargetFlag(target: string): AIToolId[] {
|
|
37
37
|
return TargetFlagSchema.parse(target);
|
|
@@ -39,7 +39,7 @@ export function parseTargetFlag(target: string): AIToolId[] {
|
|
|
39
39
|
|
|
40
40
|
const getAIToolIdArraySchema = defineSchema((v) => v.array(AIToolIdSchema).min(1));
|
|
41
41
|
|
|
42
|
-
const AIToolIdArraySchema = getAIToolIdArraySchema
|
|
42
|
+
const AIToolIdArraySchema = lazySchema(getAIToolIdArraySchema);
|
|
43
43
|
|
|
44
44
|
export async function installTargets(
|
|
45
45
|
targets: AIToolId[],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
1
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
2
2
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
3
3
|
|
|
4
4
|
export const getAIToolIdSchema = defineSchema((v) =>
|
|
@@ -12,7 +12,7 @@ export const getAIToolIdSchema = defineSchema((v) =>
|
|
|
12
12
|
])
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
export const AIToolIdSchema = getAIToolIdSchema
|
|
15
|
+
export const AIToolIdSchema = lazySchema(getAIToolIdSchema);
|
|
16
16
|
|
|
17
17
|
export type AIToolId = InferSchema<ReturnType<typeof getAIToolIdSchema>>;
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ export const getAIToolSchema = defineSchema((v) =>
|
|
|
26
26
|
})
|
|
27
27
|
);
|
|
28
28
|
|
|
29
|
-
export const AIToolSchema = getAIToolSchema
|
|
29
|
+
export const AIToolSchema = lazySchema(getAIToolSchema);
|
|
30
30
|
|
|
31
31
|
export type AITool = InferSchema<ReturnType<typeof getAIToolSchema>>;
|
|
32
32
|
|
|
@@ -40,11 +40,11 @@ const getBaseCommandOptionsSchema = defineSchema((v) =>
|
|
|
40
40
|
);
|
|
41
41
|
|
|
42
42
|
export const getInstallOptionsSchema = getBaseCommandOptionsSchema;
|
|
43
|
-
export const InstallOptionsSchema = getInstallOptionsSchema
|
|
43
|
+
export const InstallOptionsSchema = lazySchema(getInstallOptionsSchema);
|
|
44
44
|
export type InstallOptions = InferSchema<ReturnType<typeof getInstallOptionsSchema>>;
|
|
45
45
|
|
|
46
46
|
export const getUninstallOptionsSchema = getBaseCommandOptionsSchema;
|
|
47
|
-
export const UninstallOptionsSchema = getUninstallOptionsSchema
|
|
47
|
+
export const UninstallOptionsSchema = lazySchema(getUninstallOptionsSchema);
|
|
48
48
|
export type UninstallOptions = InferSchema<ReturnType<typeof getUninstallOptionsSchema>>;
|
|
49
49
|
|
|
50
50
|
export const getDetectOptionsSchema = defineSchema((v) =>
|
|
@@ -53,6 +53,6 @@ export const getDetectOptionsSchema = defineSchema((v) =>
|
|
|
53
53
|
})
|
|
54
54
|
);
|
|
55
55
|
|
|
56
|
-
export const DetectOptionsSchema = getDetectOptionsSchema
|
|
56
|
+
export const DetectOptionsSchema = lazySchema(getDetectOptionsSchema);
|
|
57
57
|
|
|
58
58
|
export type DetectOptions = InferSchema<ReturnType<typeof getDetectOptionsSchema>>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { dirname, join } from "../../../src/platform/compat/path/index.js";
|
|
6
6
|
import { cwd as getCwd } from "../../../src/platform/index.js";
|
|
7
7
|
import { exists, readDir, remove } from "../../../src/platform/index.js";
|
|
8
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
8
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
9
9
|
import { type EnvironmentConfig, getEnvironmentConfig } from "../../../src/config/index.js";
|
|
10
10
|
import { bold, brand, multiSelect, type MultiSelectOption, muted, success, warning } from "../../ui/index.js";
|
|
11
11
|
import { AI_TOOLS, getToolById } from "./registry.js";
|
|
@@ -42,7 +42,7 @@ async function isDirEmpty(path: string): Promise<boolean> {
|
|
|
42
42
|
|
|
43
43
|
const getAIToolIdArraySchema = defineSchema((v) => v.array(AIToolIdSchema).min(1));
|
|
44
44
|
|
|
45
|
-
const AIToolIdArraySchema = getAIToolIdArraySchema
|
|
45
|
+
const AIToolIdArraySchema = lazySchema(getAIToolIdArraySchema);
|
|
46
46
|
|
|
47
47
|
export async function uninstallTargets(
|
|
48
48
|
targets: AIToolId[],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
2
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
3
3
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
4
4
|
type SafeParseResult<T> = { success: true; data: T } | {
|
|
5
5
|
success: false;
|
|
@@ -116,7 +116,7 @@ const getKnowledgeIngestArgsSchema = defineSchema((v) =>
|
|
|
116
116
|
})
|
|
117
117
|
);
|
|
118
118
|
|
|
119
|
-
const KnowledgeIngestArgsSchema = getKnowledgeIngestArgsSchema
|
|
119
|
+
const KnowledgeIngestArgsSchema = lazySchema(getKnowledgeIngestArgsSchema);
|
|
120
120
|
|
|
121
121
|
export type KnowledgeIngestOptions = InferSchema<ReturnType<typeof getKnowledgeIngestArgsSchema>>;
|
|
122
122
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Lock command handler
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import { lockCommand } from "./command.js";
|
|
7
7
|
import { createArgParser } from "../../shared/args.js";
|
|
8
8
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
@@ -19,7 +19,7 @@ const getLockArgsSchema = defineSchema((v) =>
|
|
|
19
19
|
})
|
|
20
20
|
);
|
|
21
21
|
|
|
22
|
-
const LockArgsSchema = getLockArgsSchema
|
|
22
|
+
const LockArgsSchema = lazySchema(getLockArgsSchema);
|
|
23
23
|
|
|
24
24
|
const parseLockArgs = createArgParser(LockArgsSchema, {
|
|
25
25
|
projectDir: { keys: ["project"], type: "string" },
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
7
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
8
8
|
import { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
|
|
9
9
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ const getMCPArgsSchema = defineSchema((v) =>
|
|
|
14
14
|
})
|
|
15
15
|
);
|
|
16
16
|
|
|
17
|
-
const MCPArgsSchema = getMCPArgsSchema
|
|
17
|
+
const MCPArgsSchema = lazySchema(getMCPArgsSchema);
|
|
18
18
|
|
|
19
19
|
export const parseMCPArgs = createArgParser(MCPArgsSchema, {
|
|
20
20
|
port: { keys: ["port"], type: "number" },
|