veryfront 0.1.519 → 0.1.520
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.js +2 -2
- 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/cli/templates/manifest.d.ts +405 -405
- package/esm/cli/templates/manifest.js +454 -454
- package/esm/deno.d.ts +10 -15
- package/esm/deno.js +23 -26
- 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 +12 -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/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/dev-ui/manifest.d.ts +17 -17
- package/esm/src/server/dev-ui/manifest.js +17 -17
- 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 -8
- 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 +2 -2
- 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/cli/templates/manifest.js +454 -454
- package/src/deno.js +23 -26
- 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 +22 -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/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/dev-ui/manifest.js +17 -17
- 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
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* API Base: Configurable via VERYFRONT_API_BASE_URL (default: https://api.veryfront.com)
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { defineSchema } from "../../src/schemas/index.js";
|
|
12
|
+
import { defineSchema, lazySchema } from "../../src/schemas/index.js";
|
|
13
13
|
import type { InferSchema } from "../../src/extensions/schema/index.js";
|
|
14
14
|
import type { MCPTool } from "./tools.js";
|
|
15
15
|
import { getEnvironmentConfig } from "../../src/config/index.js";
|
|
@@ -176,7 +176,7 @@ const getRemoteListFilesInput = defineSchema((v) =>
|
|
|
176
176
|
),
|
|
177
177
|
})
|
|
178
178
|
);
|
|
179
|
-
const remoteListFilesInput = getRemoteListFilesInput
|
|
179
|
+
const remoteListFilesInput = lazySchema(getRemoteListFilesInput);
|
|
180
180
|
|
|
181
181
|
type RemoteListFilesInput = InferSchema<ReturnType<typeof getRemoteListFilesInput>>;
|
|
182
182
|
|
|
@@ -231,7 +231,7 @@ const getRemoteGetFileInput = defineSchema((v) =>
|
|
|
231
231
|
branch: v.string().optional().describe("Branch name (omit for main branch)"),
|
|
232
232
|
})
|
|
233
233
|
);
|
|
234
|
-
const remoteGetFileInput = getRemoteGetFileInput
|
|
234
|
+
const remoteGetFileInput = lazySchema(getRemoteGetFileInput);
|
|
235
235
|
|
|
236
236
|
type RemoteGetFileInput = InferSchema<ReturnType<typeof getRemoteGetFileInput>>;
|
|
237
237
|
|
|
@@ -280,7 +280,7 @@ const getRemoteUpdateFileInput = defineSchema((v) =>
|
|
|
280
280
|
branch: v.string().optional().describe("Branch name (omit for main branch)"),
|
|
281
281
|
})
|
|
282
282
|
);
|
|
283
|
-
const remoteUpdateFileInput = getRemoteUpdateFileInput
|
|
283
|
+
const remoteUpdateFileInput = lazySchema(getRemoteUpdateFileInput);
|
|
284
284
|
|
|
285
285
|
type RemoteUpdateFileInput = InferSchema<ReturnType<typeof getRemoteUpdateFileInput>>;
|
|
286
286
|
|
|
@@ -337,7 +337,7 @@ const getRemoteDeleteFileInput = defineSchema((v) =>
|
|
|
337
337
|
branch: v.string().optional().describe("Branch name (omit for main branch)"),
|
|
338
338
|
})
|
|
339
339
|
);
|
|
340
|
-
const remoteDeleteFileInput = getRemoteDeleteFileInput
|
|
340
|
+
const remoteDeleteFileInput = lazySchema(getRemoteDeleteFileInput);
|
|
341
341
|
|
|
342
342
|
type RemoteDeleteFileInput = InferSchema<ReturnType<typeof getRemoteDeleteFileInput>>;
|
|
343
343
|
|
|
@@ -382,7 +382,7 @@ const getRemoteSearchFilesInput = defineSchema((v) =>
|
|
|
382
382
|
branch: v.string().optional().describe("Branch name (omit for main branch)"),
|
|
383
383
|
})
|
|
384
384
|
);
|
|
385
|
-
const remoteSearchFilesInput = getRemoteSearchFilesInput
|
|
385
|
+
const remoteSearchFilesInput = lazySchema(getRemoteSearchFilesInput);
|
|
386
386
|
|
|
387
387
|
type RemoteSearchFilesInput = InferSchema<ReturnType<typeof getRemoteSearchFilesInput>>;
|
|
388
388
|
|
|
@@ -439,7 +439,7 @@ const getRemoteMoveFileInput = defineSchema((v) =>
|
|
|
439
439
|
branch: v.string().optional().describe("Branch name (omit for main branch)"),
|
|
440
440
|
})
|
|
441
441
|
);
|
|
442
|
-
const remoteMoveFileInput = getRemoteMoveFileInput
|
|
442
|
+
const remoteMoveFileInput = lazySchema(getRemoteMoveFileInput);
|
|
443
443
|
|
|
444
444
|
type RemoteMoveFileInput = InferSchema<ReturnType<typeof getRemoteMoveFileInput>>;
|
|
445
445
|
|
|
@@ -496,7 +496,7 @@ const getRemoteListBranchesInput = defineSchema((v) =>
|
|
|
496
496
|
),
|
|
497
497
|
})
|
|
498
498
|
);
|
|
499
|
-
const remoteListBranchesInput = getRemoteListBranchesInput
|
|
499
|
+
const remoteListBranchesInput = lazySchema(getRemoteListBranchesInput);
|
|
500
500
|
|
|
501
501
|
type RemoteListBranchesInput = InferSchema<ReturnType<typeof getRemoteListBranchesInput>>;
|
|
502
502
|
|
|
@@ -538,7 +538,7 @@ const getRemoteCreateBranchInput = defineSchema((v) =>
|
|
|
538
538
|
),
|
|
539
539
|
})
|
|
540
540
|
);
|
|
541
|
-
const remoteCreateBranchInput = getRemoteCreateBranchInput
|
|
541
|
+
const remoteCreateBranchInput = lazySchema(getRemoteCreateBranchInput);
|
|
542
542
|
|
|
543
543
|
type RemoteCreateBranchInput = InferSchema<ReturnType<typeof getRemoteCreateBranchInput>>;
|
|
544
544
|
|
|
@@ -578,7 +578,7 @@ const getRemoteMergeBranchInput = defineSchema((v) =>
|
|
|
578
578
|
),
|
|
579
579
|
})
|
|
580
580
|
);
|
|
581
|
-
const remoteMergeBranchInput = getRemoteMergeBranchInput
|
|
581
|
+
const remoteMergeBranchInput = lazySchema(getRemoteMergeBranchInput);
|
|
582
582
|
|
|
583
583
|
type RemoteMergeBranchInput = InferSchema<ReturnType<typeof getRemoteMergeBranchInput>>;
|
|
584
584
|
|
|
@@ -631,7 +631,7 @@ const getRemoteDeleteBranchInput = defineSchema((v) =>
|
|
|
631
631
|
branch_id: v.string().describe("Branch ID to delete"),
|
|
632
632
|
})
|
|
633
633
|
);
|
|
634
|
-
const remoteDeleteBranchInput = getRemoteDeleteBranchInput
|
|
634
|
+
const remoteDeleteBranchInput = lazySchema(getRemoteDeleteBranchInput);
|
|
635
635
|
|
|
636
636
|
type RemoteDeleteBranchInput = InferSchema<ReturnType<typeof getRemoteDeleteBranchInput>>;
|
|
637
637
|
|
|
@@ -677,7 +677,7 @@ const getRemoteCreateProjectInput = defineSchema((v) =>
|
|
|
677
677
|
is_public: v.boolean().optional().describe("Whether the project is public (default: false)"),
|
|
678
678
|
})
|
|
679
679
|
);
|
|
680
|
-
const remoteCreateProjectInput = getRemoteCreateProjectInput
|
|
680
|
+
const remoteCreateProjectInput = lazySchema(getRemoteCreateProjectInput);
|
|
681
681
|
|
|
682
682
|
type RemoteCreateProjectInput = InferSchema<ReturnType<typeof getRemoteCreateProjectInput>>;
|
|
683
683
|
|
|
@@ -719,7 +719,7 @@ const getRemoteCloneProjectInput = defineSchema((v) =>
|
|
|
719
719
|
),
|
|
720
720
|
})
|
|
721
721
|
);
|
|
722
|
-
const remoteCloneProjectInput = getRemoteCloneProjectInput
|
|
722
|
+
const remoteCloneProjectInput = lazySchema(getRemoteCloneProjectInput);
|
|
723
723
|
|
|
724
724
|
type RemoteCloneProjectInput = InferSchema<ReturnType<typeof getRemoteCloneProjectInput>>;
|
|
725
725
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* project context, coding conventions, current errors, and server status.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
8
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
9
9
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
10
10
|
import type { MCPTool } from "../../../src/mcp/index.js";
|
|
11
11
|
import { type DevError, getErrorCollector } from "../../../src/observability/index.js";
|
|
@@ -19,7 +19,7 @@ const getBootstrapInput = defineSchema((v) =>
|
|
|
19
19
|
),
|
|
20
20
|
})
|
|
21
21
|
);
|
|
22
|
-
const bootstrapInput = getBootstrapInput
|
|
22
|
+
const bootstrapInput = lazySchema(getBootstrapInput);
|
|
23
23
|
|
|
24
24
|
type BootstrapInput = InferSchema<ReturnType<typeof getBootstrapInput>>;
|
|
25
25
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP tool for production builds.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
7
7
|
import { cwd } from "../../../src/platform/index.js";
|
|
8
8
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
@@ -42,7 +42,7 @@ const getBuildInput = defineSchema((v) =>
|
|
|
42
42
|
.describe("Preview the build without writing files to disk. Defaults to false."),
|
|
43
43
|
})
|
|
44
44
|
);
|
|
45
|
-
const buildInput = getBuildInput
|
|
45
|
+
const buildInput = lazySchema(getBuildInput);
|
|
46
46
|
|
|
47
47
|
type BuildInput = InferSchema<ReturnType<typeof getBuildInput>>;
|
|
48
48
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP tools for catalog browsing and project creation.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
7
7
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
8
8
|
import { cwd } from "../../../src/platform/index.js";
|
|
@@ -331,7 +331,7 @@ const USECASES: UsecaseInfo[] = [
|
|
|
331
331
|
// ============================================================================
|
|
332
332
|
|
|
333
333
|
const getListExamplesInput = defineSchema((v) => v.object({}));
|
|
334
|
-
const listExamplesInput = getListExamplesInput
|
|
334
|
+
const listExamplesInput = lazySchema(getListExamplesInput);
|
|
335
335
|
|
|
336
336
|
type ListExamplesInput = InferSchema<ReturnType<typeof getListExamplesInput>>;
|
|
337
337
|
|
|
@@ -350,7 +350,7 @@ export const vfListExamples: MCPTool<ListExamplesInput, ExampleInfo[]> = {
|
|
|
350
350
|
// ============================================================================
|
|
351
351
|
|
|
352
352
|
const getListTemplatesInput = defineSchema((v) => v.object({}));
|
|
353
|
-
const listTemplatesInput = getListTemplatesInput
|
|
353
|
+
const listTemplatesInput = lazySchema(getListTemplatesInput);
|
|
354
354
|
|
|
355
355
|
type ListTemplatesInput = InferSchema<ReturnType<typeof getListTemplatesInput>>;
|
|
356
356
|
|
|
@@ -377,7 +377,7 @@ const getListIntegrationsInput = defineSchema((v) =>
|
|
|
377
377
|
.describe("Filter integrations by category"),
|
|
378
378
|
})
|
|
379
379
|
);
|
|
380
|
-
const listIntegrationsInput = getListIntegrationsInput
|
|
380
|
+
const listIntegrationsInput = lazySchema(getListIntegrationsInput);
|
|
381
381
|
|
|
382
382
|
type ListIntegrationsInput = InferSchema<ReturnType<typeof getListIntegrationsInput>>;
|
|
383
383
|
|
|
@@ -400,7 +400,7 @@ export const vfListIntegrations: MCPTool<ListIntegrationsInput, IntegrationInfo[
|
|
|
400
400
|
// ============================================================================
|
|
401
401
|
|
|
402
402
|
const getListUsecasesInput = defineSchema((v) => v.object({}));
|
|
403
|
-
const listUsecasesInput = getListUsecasesInput
|
|
403
|
+
const listUsecasesInput = lazySchema(getListUsecasesInput);
|
|
404
404
|
|
|
405
405
|
type ListUsecasesInput = InferSchema<ReturnType<typeof getListUsecasesInput>>;
|
|
406
406
|
|
|
@@ -444,7 +444,7 @@ const getCreateProjectInput = defineSchema((v) =>
|
|
|
444
444
|
.describe("Parent directory to create project in (defaults to current directory)"),
|
|
445
445
|
})
|
|
446
446
|
);
|
|
447
|
-
const createProjectInput = getCreateProjectInput
|
|
447
|
+
const createProjectInput = lazySchema(getCreateProjectInput);
|
|
448
448
|
|
|
449
449
|
type CreateProjectInput = InferSchema<ReturnType<typeof getCreateProjectInput>>;
|
|
450
450
|
|
|
@@ -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 { MCPTool } from "../../../src/mcp/index.js";
|
|
4
4
|
import { createContext7ToolSource } from "../../../src/tool/index.js";
|
|
5
5
|
|
|
@@ -31,7 +31,7 @@ const c7ResolveLibrary: MCPTool<
|
|
|
31
31
|
idempotentHint: true,
|
|
32
32
|
openWorldHint: true,
|
|
33
33
|
},
|
|
34
|
-
inputSchema: defineSchema((v) =>
|
|
34
|
+
inputSchema: lazySchema(defineSchema((v) =>
|
|
35
35
|
v.object({
|
|
36
36
|
libraryName: v
|
|
37
37
|
.string()
|
|
@@ -44,7 +44,7 @@ const c7ResolveLibrary: MCPTool<
|
|
|
44
44
|
"The question or task you need help with. Used to rank results by relevance.",
|
|
45
45
|
),
|
|
46
46
|
})
|
|
47
|
-
)
|
|
47
|
+
)),
|
|
48
48
|
execute: async (input) => {
|
|
49
49
|
if (!isContext7Available()) {
|
|
50
50
|
return {
|
|
@@ -79,7 +79,7 @@ const c7QueryDocs: MCPTool<
|
|
|
79
79
|
idempotentHint: true,
|
|
80
80
|
openWorldHint: true,
|
|
81
81
|
},
|
|
82
|
-
inputSchema: defineSchema((v) =>
|
|
82
|
+
inputSchema: lazySchema(defineSchema((v) =>
|
|
83
83
|
v.object({
|
|
84
84
|
libraryId: v
|
|
85
85
|
.string()
|
|
@@ -92,7 +92,7 @@ const c7QueryDocs: MCPTool<
|
|
|
92
92
|
"The question or task you need help with. Be specific and include relevant details.",
|
|
93
93
|
),
|
|
94
94
|
})
|
|
95
|
-
)
|
|
95
|
+
)),
|
|
96
96
|
execute: async (input) => {
|
|
97
97
|
if (!isContext7Available()) {
|
|
98
98
|
return {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Wraps the same API calls used by the `vf deploy` CLI command.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
8
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
9
9
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
10
10
|
import type { MCPTool } from "../../../src/mcp/index.js";
|
|
11
11
|
import { getEnvironmentConfig } from "../../../src/config/index.js";
|
|
@@ -29,7 +29,7 @@ const getTriggerDeployInput = defineSchema((v) =>
|
|
|
29
29
|
),
|
|
30
30
|
})
|
|
31
31
|
);
|
|
32
|
-
const triggerDeployInput = getTriggerDeployInput
|
|
32
|
+
const triggerDeployInput = lazySchema(getTriggerDeployInput);
|
|
33
33
|
|
|
34
34
|
export type TriggerDeployInput = InferSchema<ReturnType<typeof getTriggerDeployInput>>;
|
|
35
35
|
|
|
@@ -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 type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
9
9
|
import { getEnvironmentConfig } from "../../../src/config/index.js";
|
|
10
10
|
import { withSpan } from "../../../src/observability/tracing/otlp-setup.js";
|
|
@@ -27,7 +27,7 @@ const getHotReloadInput = defineSchema((v) =>
|
|
|
27
27
|
),
|
|
28
28
|
})
|
|
29
29
|
);
|
|
30
|
-
const hotReloadInput = getHotReloadInput
|
|
30
|
+
const hotReloadInput = lazySchema(getHotReloadInput);
|
|
31
31
|
|
|
32
32
|
type HotReloadInput = InferSchema<ReturnType<typeof getHotReloadInput>>;
|
|
33
33
|
|
|
@@ -74,7 +74,7 @@ const getGetDebugContextInput = defineSchema((v) =>
|
|
|
74
74
|
.describe("Project slug to check (for multi-project mode)"),
|
|
75
75
|
})
|
|
76
76
|
);
|
|
77
|
-
const getDebugContextInput = getGetDebugContextInput
|
|
77
|
+
const getDebugContextInput = lazySchema(getGetDebugContextInput);
|
|
78
78
|
|
|
79
79
|
type GetDebugContextInput = InferSchema<ReturnType<typeof getGetDebugContextInput>>;
|
|
80
80
|
|
|
@@ -142,7 +142,7 @@ const getTriggerHmrInput = defineSchema((v) =>
|
|
|
142
142
|
),
|
|
143
143
|
})
|
|
144
144
|
);
|
|
145
|
-
const triggerHmrInput = getTriggerHmrInput
|
|
145
|
+
const triggerHmrInput = lazySchema(getTriggerHmrInput);
|
|
146
146
|
|
|
147
147
|
type TriggerHmrInput = InferSchema<ReturnType<typeof getTriggerHmrInput>>;
|
|
148
148
|
|
|
@@ -202,7 +202,7 @@ const getPreviewRouteInput = defineSchema((v) =>
|
|
|
202
202
|
),
|
|
203
203
|
})
|
|
204
204
|
);
|
|
205
|
-
const previewRouteInput = getPreviewRouteInput
|
|
205
|
+
const previewRouteInput = lazySchema(getPreviewRouteInput);
|
|
206
206
|
|
|
207
207
|
type PreviewRouteInput = InferSchema<ReturnType<typeof getPreviewRouteInput>>;
|
|
208
208
|
|
|
@@ -292,7 +292,7 @@ const getWaitForReadyInput = defineSchema((v) =>
|
|
|
292
292
|
.describe("Polling interval in milliseconds (defaults to 500)"),
|
|
293
293
|
})
|
|
294
294
|
);
|
|
295
|
-
const waitForReadyInput = getWaitForReadyInput
|
|
295
|
+
const waitForReadyInput = lazySchema(getWaitForReadyInput);
|
|
296
296
|
|
|
297
297
|
type WaitForReadyInput = InferSchema<ReturnType<typeof getWaitForReadyInput>>;
|
|
298
298
|
|
|
@@ -356,7 +356,7 @@ const getGetFlywheelStatusInput = defineSchema((v) =>
|
|
|
356
356
|
),
|
|
357
357
|
})
|
|
358
358
|
);
|
|
359
|
-
const getFlywheelStatusInput = getGetFlywheelStatusInput
|
|
359
|
+
const getFlywheelStatusInput = lazySchema(getGetFlywheelStatusInput);
|
|
360
360
|
|
|
361
361
|
type GetFlywheelStatusInput = InferSchema<ReturnType<typeof getGetFlywheelStatusInput>>;
|
|
362
362
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
1
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
2
2
|
import type { MCPTool } from "../../../src/mcp/index.js";
|
|
3
3
|
import { generateCommandSchema, generateSchema } from "../../commands/schema/command.js";
|
|
4
4
|
import type { CommandCategory } from "../../help/types.js";
|
|
5
5
|
import { VERSION } from "../../utils/index.js";
|
|
6
6
|
|
|
7
|
-
const getSchemaInput = defineSchema((v) =>
|
|
7
|
+
const getSchemaInput = lazySchema(defineSchema((v) =>
|
|
8
8
|
v.object({
|
|
9
9
|
command: v.string().optional().describe("Get schema for a specific command"),
|
|
10
10
|
category: v.string().optional().describe("Filter by category"),
|
|
11
11
|
})
|
|
12
|
-
)
|
|
12
|
+
));
|
|
13
13
|
|
|
14
14
|
const vfGetSchema: MCPTool = {
|
|
15
15
|
name: "vf_get_schema",
|
|
@@ -26,7 +26,7 @@ const vfGetSchema: MCPTool = {
|
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const getProjectInfoInput = defineSchema((v) => v.object({}))
|
|
29
|
+
const getProjectInfoInput = lazySchema(defineSchema((v) => v.object({})));
|
|
30
30
|
|
|
31
31
|
const vfGetProjectInfo: MCPTool = {
|
|
32
32
|
name: "vf_get_project_info",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP tools for project discovery and analysis.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
7
7
|
import type { FileSystem } from "../../../src/platform/index.js";
|
|
8
8
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
@@ -35,7 +35,7 @@ const getListRoutesInput = defineSchema((v) =>
|
|
|
35
35
|
),
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
|
-
const listRoutesInput = getListRoutesInput
|
|
38
|
+
const listRoutesInput = lazySchema(getListRoutesInput);
|
|
39
39
|
|
|
40
40
|
type ListRoutesInput = InferSchema<ReturnType<typeof getListRoutesInput>>;
|
|
41
41
|
|
|
@@ -79,7 +79,7 @@ const getGetProjectContextInput = defineSchema((v) =>
|
|
|
79
79
|
),
|
|
80
80
|
})
|
|
81
81
|
);
|
|
82
|
-
const getProjectContextInput = getGetProjectContextInput
|
|
82
|
+
const getProjectContextInput = lazySchema(getGetProjectContextInput);
|
|
83
83
|
|
|
84
84
|
type GetProjectContextInput = InferSchema<ReturnType<typeof getGetProjectContextInput>>;
|
|
85
85
|
|
|
@@ -197,7 +197,7 @@ const getGetComponentTreeInput = defineSchema((v) =>
|
|
|
197
197
|
),
|
|
198
198
|
})
|
|
199
199
|
);
|
|
200
|
-
const getComponentTreeInput = getGetComponentTreeInput
|
|
200
|
+
const getComponentTreeInput = lazySchema(getGetComponentTreeInput);
|
|
201
201
|
|
|
202
202
|
type GetComponentTreeInput = InferSchema<ReturnType<typeof getGetComponentTreeInput>>;
|
|
203
203
|
|
|
@@ -303,7 +303,7 @@ const getListLocalProjectsInput = defineSchema((v) =>
|
|
|
303
303
|
),
|
|
304
304
|
})
|
|
305
305
|
);
|
|
306
|
-
const listLocalProjectsInput = getListLocalProjectsInput
|
|
306
|
+
const listLocalProjectsInput = lazySchema(getListLocalProjectsInput);
|
|
307
307
|
|
|
308
308
|
type ListLocalProjectsInput = InferSchema<ReturnType<typeof getListLocalProjectsInput>>;
|
|
309
309
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
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 type { MCPTool } from "../tools.js";
|
|
13
13
|
import { type LintResult, parseLintJsonOutput } from "../../commands/lint/command.js";
|
|
@@ -19,7 +19,7 @@ const getRunLintInput = defineSchema((v) =>
|
|
|
19
19
|
),
|
|
20
20
|
})
|
|
21
21
|
);
|
|
22
|
-
const runLintInput = getRunLintInput
|
|
22
|
+
const runLintInput = lazySchema(getRunLintInput);
|
|
23
23
|
|
|
24
24
|
type RunLintInput = InferSchema<ReturnType<typeof getRunLintInput>>;
|
|
25
25
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
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 type { MCPTool } from "../../../src/mcp/index.js";
|
|
13
13
|
import { parseTestOutput, type TestResult } from "../../commands/test/command.js";
|
|
@@ -25,7 +25,7 @@ const getRunTestsInput = defineSchema((v) =>
|
|
|
25
25
|
),
|
|
26
26
|
})
|
|
27
27
|
);
|
|
28
|
-
const runTestsInput = getRunTestsInput
|
|
28
|
+
const runTestsInput = lazySchema(getRunTestsInput);
|
|
29
29
|
|
|
30
30
|
type RunTestsInput = InferSchema<ReturnType<typeof getRunTestsInput>>;
|
|
31
31
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP tools for scaffolding and conventions.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
7
7
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
8
8
|
import { withSpan } from "../../../src/observability/tracing/otlp-setup.js";
|
|
@@ -83,15 +83,17 @@ export function ${componentName}({ children }: ${componentName}Props) {
|
|
|
83
83
|
|
|
84
84
|
function generateToolTemplate(name: string): string {
|
|
85
85
|
return `import { tool } from "veryfront/tool";
|
|
86
|
-
import { defineSchema } from "veryfront/schemas";
|
|
86
|
+
import { defineSchema, lazySchema } from "veryfront/schemas";
|
|
87
|
+
|
|
88
|
+
const getParameters = defineSchema((v) => v.object({
|
|
89
|
+
// Add your parameters here
|
|
90
|
+
input: v.string().describe("Input parameter"),
|
|
91
|
+
}));
|
|
87
92
|
|
|
88
93
|
export default tool({
|
|
89
94
|
id: "${name}",
|
|
90
95
|
description: "Description of what this tool does",
|
|
91
|
-
parameters:
|
|
92
|
-
// Add your parameters here
|
|
93
|
-
input: v.string().describe("Input parameter"),
|
|
94
|
-
}))(),
|
|
96
|
+
parameters: lazySchema(getParameters),
|
|
95
97
|
execute: async ({ input }) => {
|
|
96
98
|
// Implement your tool logic here
|
|
97
99
|
return { result: input };
|
|
@@ -126,14 +128,16 @@ export default agent({
|
|
|
126
128
|
|
|
127
129
|
function generatePromptTemplate(name: string): string {
|
|
128
130
|
return `import { prompt } from "veryfront/prompt";
|
|
129
|
-
import { defineSchema } from "veryfront/schemas";
|
|
131
|
+
import { defineSchema, lazySchema } from "veryfront/schemas";
|
|
132
|
+
|
|
133
|
+
const getArgsSchema = defineSchema((v) => v.object({
|
|
134
|
+
input: v.string().describe("User input"),
|
|
135
|
+
}));
|
|
130
136
|
|
|
131
137
|
export default prompt({
|
|
132
138
|
id: "${name}",
|
|
133
139
|
description: "Description of this prompt template",
|
|
134
|
-
argsSchema:
|
|
135
|
-
input: v.string().describe("User input"),
|
|
136
|
-
}))(),
|
|
140
|
+
argsSchema: lazySchema(getArgsSchema),
|
|
137
141
|
getContent: ({ input }) => [
|
|
138
142
|
{ role: "system", content: "Role: describe what this assistant should do and its limits." },
|
|
139
143
|
{ role: "user", content: input },
|
|
@@ -162,7 +166,7 @@ const getScaffoldInput = defineSchema((v) =>
|
|
|
162
166
|
),
|
|
163
167
|
})
|
|
164
168
|
);
|
|
165
|
-
const scaffoldInput = getScaffoldInput
|
|
169
|
+
const scaffoldInput = lazySchema(getScaffoldInput);
|
|
166
170
|
|
|
167
171
|
type ScaffoldInput = InferSchema<ReturnType<typeof getScaffoldInput>>;
|
|
168
172
|
type ScaffoldType = ScaffoldInput["type"];
|
|
@@ -275,7 +279,7 @@ const getGetConventionsInput = defineSchema((v) =>
|
|
|
275
279
|
.describe("Specific topic to get conventions for"),
|
|
276
280
|
})
|
|
277
281
|
);
|
|
278
|
-
const getConventionsInput = getGetConventionsInput
|
|
282
|
+
const getConventionsInput = lazySchema(getGetConventionsInput);
|
|
279
283
|
|
|
280
284
|
type GetConventionsInput = InferSchema<ReturnType<typeof getGetConventionsInput>>;
|
|
281
285
|
|
|
@@ -379,12 +383,16 @@ const CONVENTIONS: Record<string, Convention> = {
|
|
|
379
383
|
explanation: "Tools in dedicated directory with descriptive names",
|
|
380
384
|
},
|
|
381
385
|
{
|
|
382
|
-
good: `
|
|
386
|
+
good: `const getParameters = defineSchema((v) => v.object({
|
|
387
|
+
query: v.string(),
|
|
388
|
+
}));
|
|
389
|
+
|
|
390
|
+
export const searchTool = {
|
|
383
391
|
name: "search_docs",
|
|
384
|
-
parameters:
|
|
392
|
+
parameters: lazySchema(getParameters),
|
|
385
393
|
execute: async ({ query }) => { /* ... */ }
|
|
386
394
|
};`,
|
|
387
|
-
explanation: "Tool with
|
|
395
|
+
explanation: "Tool with lazy schema parameters and typed execute function",
|
|
388
396
|
},
|
|
389
397
|
],
|
|
390
398
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP tools for skill discovery and reference loading.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
7
7
|
import { join } from "../../../src/platform/compat/path/index.js";
|
|
8
8
|
import { cwd } from "../../../src/platform/index.js";
|
|
@@ -63,13 +63,13 @@ async function getSkillReferences(skillName: string): Promise<string[] | undefin
|
|
|
63
63
|
return references.length ? references : undefined;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
const getSkillsInput = defineSchema((v) =>
|
|
66
|
+
const getSkillsInput = lazySchema(defineSchema((v) =>
|
|
67
67
|
v.object({
|
|
68
68
|
name: v.string().optional().describe(
|
|
69
69
|
"Specific skill name to get full content for (omit for list of all skills)",
|
|
70
70
|
),
|
|
71
71
|
})
|
|
72
|
-
)
|
|
72
|
+
));
|
|
73
73
|
|
|
74
74
|
type GetSkillsInput = InferSchema<typeof getSkillsInput>;
|
|
75
75
|
|
|
@@ -159,12 +159,12 @@ export const vfGetSkills: MCPTool<GetSkillsInput, GetSkillsResult> = {
|
|
|
159
159
|
),
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
const getSkillReferenceInput = defineSchema((v) =>
|
|
162
|
+
const getSkillReferenceInput = lazySchema(defineSchema((v) =>
|
|
163
163
|
v.object({
|
|
164
164
|
skill: v.string().describe("Skill name"),
|
|
165
165
|
reference: v.string().describe("Reference file path (e.g., 'references/ROUTES.md')"),
|
|
166
166
|
})
|
|
167
|
-
)
|
|
167
|
+
));
|
|
168
168
|
|
|
169
169
|
type GetSkillReferenceInput = InferSchema<typeof getSkillReferenceInput>;
|
|
170
170
|
|
package/src/cli/mcp/tools.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* MCP Tools for Veryfront Dev Server
|
|
3
3
|
**************************/
|
|
4
4
|
|
|
5
|
-
import { defineSchema } from "../../src/schemas/index.js";
|
|
5
|
+
import { defineSchema, lazySchema } from "../../src/schemas/index.js";
|
|
6
6
|
import type { InferSchema } from "../../src/extensions/schema/index.js";
|
|
7
7
|
import {
|
|
8
8
|
type DevError,
|
|
@@ -48,7 +48,7 @@ const getGetErrorsInput = defineSchema((v) =>
|
|
|
48
48
|
),
|
|
49
49
|
})
|
|
50
50
|
);
|
|
51
|
-
const getErrorsInput = getGetErrorsInput
|
|
51
|
+
const getErrorsInput = lazySchema(getGetErrorsInput);
|
|
52
52
|
|
|
53
53
|
type GetErrorsInput = InferSchema<ReturnType<typeof getGetErrorsInput>>;
|
|
54
54
|
|
|
@@ -89,7 +89,7 @@ const getGetLogsInput = defineSchema((v) =>
|
|
|
89
89
|
),
|
|
90
90
|
})
|
|
91
91
|
);
|
|
92
|
-
const getLogsInput = getGetLogsInput
|
|
92
|
+
const getLogsInput = lazySchema(getGetLogsInput);
|
|
93
93
|
|
|
94
94
|
type GetLogsInput = InferSchema<ReturnType<typeof getGetLogsInput>>;
|
|
95
95
|
|
|
@@ -118,7 +118,7 @@ const getClearCacheInput = defineSchema((v) =>
|
|
|
118
118
|
),
|
|
119
119
|
})
|
|
120
120
|
);
|
|
121
|
-
const clearCacheInput = getClearCacheInput
|
|
121
|
+
const clearCacheInput = lazySchema(getClearCacheInput);
|
|
122
122
|
|
|
123
123
|
type ClearCacheInput = InferSchema<ReturnType<typeof getClearCacheInput>>;
|
|
124
124
|
|
|
@@ -159,7 +159,7 @@ export const vfClearCache: MCPTool<ClearCacheInput, ClearCacheOutput> = {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
const getGetStatusInput = defineSchema((v) => v.object({}));
|
|
162
|
-
const getStatusInput = getGetStatusInput
|
|
162
|
+
const getStatusInput = lazySchema(getGetStatusInput);
|
|
163
163
|
|
|
164
164
|
type GetStatusInput = InferSchema<ReturnType<typeof getGetStatusInput>>;
|
|
165
165
|
|
|
@@ -214,7 +214,7 @@ const getClearErrorsInput = defineSchema((v) =>
|
|
|
214
214
|
),
|
|
215
215
|
})
|
|
216
216
|
);
|
|
217
|
-
const clearErrorsInput = getClearErrorsInput
|
|
217
|
+
const clearErrorsInput = lazySchema(getClearErrorsInput);
|
|
218
218
|
|
|
219
219
|
type ClearErrorsInput = InferSchema<ReturnType<typeof getClearErrorsInput>>;
|
|
220
220
|
|
package/src/cli/shared/config.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @module cli/shared/config
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { defineSchema } from "../../src/schemas/index.js";
|
|
8
|
+
import { defineSchema, lazySchema } from "../../src/schemas/index.js";
|
|
9
9
|
import type { InferSchema } from "../../src/extensions/schema/index.js";
|
|
10
10
|
import { join } from "../../src/platform/compat/path/index.js";
|
|
11
11
|
import { createFileSystem, cwd, getEnv } from "../../src/platform/index.js";
|
|
@@ -24,7 +24,7 @@ export const getVeryfrontConfigSchema = defineSchema((v) =>
|
|
|
24
24
|
apiUrl: v.string().optional(),
|
|
25
25
|
})
|
|
26
26
|
);
|
|
27
|
-
export const VeryfrontConfigSchema = getVeryfrontConfigSchema
|
|
27
|
+
export const VeryfrontConfigSchema = lazySchema(getVeryfrontConfigSchema);
|
|
28
28
|
export type VeryfrontConfig = InferSchema<ReturnType<typeof getVeryfrontConfigSchema>>;
|
|
29
29
|
|
|
30
30
|
export const getResolvedConfigSchema = defineSchema((v) =>
|
|
@@ -34,7 +34,7 @@ export const getResolvedConfigSchema = defineSchema((v) =>
|
|
|
34
34
|
projectSlug: v.string(),
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
|
-
export const ResolvedConfigSchema = getResolvedConfigSchema
|
|
37
|
+
export const ResolvedConfigSchema = lazySchema(getResolvedConfigSchema);
|
|
38
38
|
export type ResolvedConfig = InferSchema<ReturnType<typeof getResolvedConfigSchema>>;
|
|
39
39
|
|
|
40
40
|
export async function readConfigFile(projectDir: string): Promise<VeryfrontConfig | null> {
|
|
@@ -190,7 +190,7 @@ export const getApiErrorSchema = defineSchema((v) =>
|
|
|
190
190
|
code: v.string().optional(),
|
|
191
191
|
})
|
|
192
192
|
);
|
|
193
|
-
export const ApiErrorSchema = getApiErrorSchema
|
|
193
|
+
export const ApiErrorSchema = lazySchema(getApiErrorSchema);
|
|
194
194
|
export type ApiError = InferSchema<ReturnType<typeof getApiErrorSchema>>;
|
|
195
195
|
|
|
196
196
|
export function createApiClient(config: ResolvedConfig): ApiClient {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tryResolve } from "../../src/extensions/index.js";
|
|
2
2
|
import { register } from "../../src/extensions/contracts.js";
|
|
3
|
-
import type { ContentProcessor } from "../../src/extensions/
|
|
4
|
-
import { MdxContentProcessor } from "../../extensions/ext-
|
|
3
|
+
import type { ContentProcessor } from "../../src/extensions/content/index.js";
|
|
4
|
+
import { MdxContentProcessor } from "../../extensions/ext-content-mdx/src/index.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The CLI ships ext-mdx baked in so the compiled binary can render MDX/Markdown
|