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.
Files changed (616) hide show
  1. package/esm/cli/commands/analyze-chunks/handler.js +2 -2
  2. package/esm/cli/commands/build/handler.d.ts.map +1 -1
  3. package/esm/cli/commands/build/handler.js +2 -2
  4. package/esm/cli/commands/clean/handler.js +2 -2
  5. package/esm/cli/commands/demo/handler.js +2 -2
  6. package/esm/cli/commands/deploy/command.d.ts.map +1 -1
  7. package/esm/cli/commands/deploy/command.js +2 -2
  8. package/esm/cli/commands/dev/handler.js +2 -2
  9. package/esm/cli/commands/doctor/handler.js +2 -2
  10. package/esm/cli/commands/files/command.js +5 -5
  11. package/esm/cli/commands/generate/handler.js +2 -2
  12. package/esm/cli/commands/install/handler.js +2 -2
  13. package/esm/cli/commands/install/install.js +3 -3
  14. package/esm/cli/commands/install/types.d.ts.map +1 -1
  15. package/esm/cli/commands/install/types.js +6 -6
  16. package/esm/cli/commands/install/uninstall.js +2 -2
  17. package/esm/cli/commands/knowledge/command.js +2 -2
  18. package/esm/cli/commands/lock/handler.js +2 -2
  19. package/esm/cli/commands/mcp/handler.js +2 -2
  20. package/esm/cli/commands/merge/command.d.ts.map +1 -1
  21. package/esm/cli/commands/merge/command.js +2 -2
  22. package/esm/cli/commands/open/command.d.ts.map +1 -1
  23. package/esm/cli/commands/open/command.js +2 -2
  24. package/esm/cli/commands/pull/command.d.ts.map +1 -1
  25. package/esm/cli/commands/pull/command.js +2 -2
  26. package/esm/cli/commands/push/command.d.ts.map +1 -1
  27. package/esm/cli/commands/push/command.js +2 -2
  28. package/esm/cli/commands/routes/handler.js +2 -2
  29. package/esm/cli/commands/schema/handler.js +2 -2
  30. package/esm/cli/commands/serve/handler.js +2 -2
  31. package/esm/cli/commands/start/handler.js +2 -2
  32. package/esm/cli/commands/studio/handler.js +2 -2
  33. package/esm/cli/commands/styles/command.js +2 -2
  34. package/esm/cli/commands/styles/handler.js +2 -2
  35. package/esm/cli/commands/task/handler.js +2 -2
  36. package/esm/cli/commands/test/handler.js +2 -2
  37. package/esm/cli/commands/up/command.d.ts.map +1 -1
  38. package/esm/cli/commands/up/command.js +2 -2
  39. package/esm/cli/commands/uploads/command.js +5 -5
  40. package/esm/cli/commands/worker/handler.js +2 -2
  41. package/esm/cli/commands/workflow/handler.js +2 -2
  42. package/esm/cli/main.js +6 -4
  43. package/esm/cli/mcp/jsonrpc.d.ts.map +1 -1
  44. package/esm/cli/mcp/jsonrpc.js +5 -5
  45. package/esm/cli/mcp/remote-file-tools.js +13 -13
  46. package/esm/cli/mcp/tools/bootstrap-tool.js +2 -2
  47. package/esm/cli/mcp/tools/build-tool.js +2 -2
  48. package/esm/cli/mcp/tools/catalog-tools.js +6 -6
  49. package/esm/cli/mcp/tools/context7-tools.js +5 -5
  50. package/esm/cli/mcp/tools/deploy-tool.js +2 -2
  51. package/esm/cli/mcp/tools/dev-tools.js +7 -7
  52. package/esm/cli/mcp/tools/introspection-tools.js +4 -4
  53. package/esm/cli/mcp/tools/project-tools.js +5 -5
  54. package/esm/cli/mcp/tools/run-lint-tool.js +2 -2
  55. package/esm/cli/mcp/tools/run-tests-tool.js +2 -2
  56. package/esm/cli/mcp/tools/scaffold-tools.d.ts.map +1 -1
  57. package/esm/cli/mcp/tools/scaffold-tools.js +23 -15
  58. package/esm/cli/mcp/tools/skill-tools.d.ts.map +1 -1
  59. package/esm/cli/mcp/tools/skill-tools.js +5 -5
  60. package/esm/cli/mcp/tools.js +6 -6
  61. package/esm/cli/shared/config.d.ts.map +1 -1
  62. package/esm/cli/shared/config.js +4 -4
  63. package/esm/cli/shared/ensure-content-processor.js +1 -1
  64. package/esm/cli/shared/types.d.ts.map +1 -1
  65. package/esm/cli/shared/types.js +2 -2
  66. package/esm/cli/skills/types.d.ts.map +1 -1
  67. package/esm/cli/skills/types.js +2 -2
  68. package/esm/cli/templates/manifest.d.ts +405 -405
  69. package/esm/cli/templates/manifest.js +454 -454
  70. package/esm/deno.d.ts +10 -15
  71. package/esm/deno.js +23 -26
  72. package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.d.ts +33 -0
  73. package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@std/yaml/1.1.0/_chars.js +48 -0
  75. package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.d.ts +64 -0
  76. package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.js +1371 -0
  78. package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.d.ts +44 -0
  79. package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@std/yaml/1.1.0/_schema.js +117 -0
  81. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.d.ts +3 -0
  82. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/binary.js +103 -0
  84. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.d.ts +3 -0
  85. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/bool.js +32 -0
  87. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.d.ts +3 -0
  88. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/float.js +96 -0
  90. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.d.ts +3 -0
  91. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/int.js +159 -0
  93. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.d.ts +3 -0
  94. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/map.js +14 -0
  96. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.d.ts +3 -0
  97. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/merge.js +10 -0
  99. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.d.ts +3 -0
  100. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/nil.js +22 -0
  102. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.d.ts +3 -0
  103. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/omap.js +29 -0
  105. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.d.ts +3 -0
  106. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.js +19 -0
  108. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.d.ts +3 -0
  109. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.js +30 -0
  111. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.d.ts +3 -0
  112. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/seq.js +10 -0
  114. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.d.ts +3 -0
  115. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/set.js +14 -0
  117. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.d.ts +3 -0
  118. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.d.ts.map +1 -0
  119. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/str.js +9 -0
  120. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.d.ts +3 -0
  121. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.js +81 -0
  123. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.d.ts +3 -0
  124. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.js +20 -0
  126. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.d.ts +32 -0
  127. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@std/yaml/1.1.0/_type.js +6 -0
  129. package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.d.ts +4 -0
  130. package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@std/yaml/1.1.0/_utils.js +13 -0
  132. package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.d.ts +76 -0
  133. package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@std/yaml/1.1.0/parse.js +91 -0
  135. package/esm/extensions/ext-auth-jwt/src/index.d.ts.map +1 -1
  136. package/esm/extensions/ext-auth-jwt/src/index.js +25 -4
  137. package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.d.ts +1 -1
  138. package/esm/extensions/ext-content-mdx/src/compiler/markdown-compile.d.ts.map +1 -0
  139. package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.d.ts +1 -1
  140. package/esm/extensions/ext-content-mdx/src/compiler/mdx-compile.d.ts.map +1 -0
  141. package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.js +10 -4
  142. package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.d.ts +3 -3
  143. package/esm/extensions/ext-content-mdx/src/index.d.ts.map +1 -0
  144. package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.js +4 -4
  145. package/esm/extensions/ext-content-mdx/src/plugins/plugin-loader.d.ts.map +1 -0
  146. package/esm/extensions/ext-content-mdx/src/plugins/rehype-node-positions.d.ts.map +1 -0
  147. package/esm/extensions/ext-content-mdx/src/plugins/remark-headings.d.ts.map +1 -0
  148. package/esm/extensions/ext-content-mdx/src/plugins/remark-mdx-utils.d.ts.map +1 -0
  149. package/esm/extensions/ext-css-tailwind/src/index.js +1 -1
  150. package/esm/extensions/ext-db-sqlite/src/index.d.ts +15 -0
  151. package/esm/extensions/ext-db-sqlite/src/index.d.ts.map +1 -0
  152. package/esm/extensions/ext-db-sqlite/src/index.js +36 -0
  153. package/esm/extensions/ext-document-kreuzberg/src/index.d.ts +9 -0
  154. package/esm/extensions/ext-document-kreuzberg/src/index.d.ts.map +1 -0
  155. package/esm/extensions/ext-document-kreuzberg/src/index.js +71 -0
  156. package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.d.ts.map +1 -1
  157. package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.js +4 -4
  158. package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts +16 -0
  159. package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts.map +1 -0
  160. package/esm/extensions/ext-sandbox-shell-tools/src/index.js +22 -0
  161. package/esm/extensions/{ext-zod → ext-schema-zod}/src/adapter.d.ts +1 -1
  162. package/esm/extensions/ext-schema-zod/src/adapter.d.ts.map +1 -0
  163. package/esm/extensions/{ext-zod → ext-schema-zod}/src/adapter.js +1 -1
  164. package/esm/extensions/{ext-zod → ext-schema-zod}/src/index.d.ts +2 -2
  165. package/esm/extensions/ext-schema-zod/src/index.d.ts.map +1 -0
  166. package/esm/extensions/{ext-zod → ext-schema-zod}/src/index.js +4 -4
  167. package/esm/extensions/{ext-zod → ext-schema-zod}/src/json-schema.d.ts +2 -2
  168. package/esm/extensions/ext-schema-zod/src/json-schema.d.ts.map +1 -0
  169. package/esm/extensions/{ext-zod → ext-schema-zod}/src/json-schema.js +2 -2
  170. package/esm/extensions/ext-tracing-opentelemetry/src/index.d.ts +49 -0
  171. package/esm/extensions/ext-tracing-opentelemetry/src/index.d.ts.map +1 -0
  172. package/esm/extensions/ext-tracing-opentelemetry/src/index.js +223 -0
  173. package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
  174. package/esm/src/agent/ag-ui/detached-start.js +3 -3
  175. package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
  176. package/esm/src/agent/ag-ui/host-support.js +4 -4
  177. package/esm/src/agent/ag-ui/request-shared.js +1 -1
  178. package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
  179. package/esm/src/agent/ag-ui/run-control.js +2 -2
  180. package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
  181. package/esm/src/agent/conversation/bootstrap.js +3 -3
  182. package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
  183. package/esm/src/agent/conversation/run-events.js +2 -2
  184. package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts.map +1 -1
  185. package/esm/src/agent/default-hosted-invoke-agent-tool.js +3 -3
  186. package/esm/src/agent/durable.d.ts.map +1 -1
  187. package/esm/src/agent/durable.js +7 -7
  188. package/esm/src/agent/external-agent-worker-client.d.ts +65 -90
  189. package/esm/src/agent/external-agent-worker-client.d.ts.map +1 -1
  190. package/esm/src/agent/external-agent-worker-client.js +85 -70
  191. package/esm/src/agent/hosted/ag-ui-chat-request.d.ts.map +1 -1
  192. package/esm/src/agent/hosted/ag-ui-chat-request.js +3 -3
  193. package/esm/src/agent/hosted/agent-project-steering.d.ts +7 -8
  194. package/esm/src/agent/hosted/agent-project-steering.d.ts.map +1 -1
  195. package/esm/src/agent/hosted/agent-project-steering.js +12 -9
  196. package/esm/src/agent/hosted/chat-request.d.ts.map +1 -1
  197. package/esm/src/agent/hosted/chat-request.js +4 -4
  198. package/esm/src/agent/hosted/child-tool-input.d.ts.map +1 -1
  199. package/esm/src/agent/hosted/child-tool-input.js +2 -2
  200. package/esm/src/agent/index.d.ts +4 -2
  201. package/esm/src/agent/index.d.ts.map +1 -1
  202. package/esm/src/agent/index.js +4 -2
  203. package/esm/src/agent/invoke-agent-child-runs.d.ts.map +1 -1
  204. package/esm/src/agent/invoke-agent-child-runs.js +4 -4
  205. package/esm/src/agent/runtime/agent-definition-files.d.ts +17 -17
  206. package/esm/src/agent/runtime/agent-definition-files.d.ts.map +1 -1
  207. package/esm/src/agent/runtime/agent-definition-files.js +22 -16
  208. package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
  209. package/esm/src/agent/runtime/agent-definition.js +4 -4
  210. package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
  211. package/esm/src/agent/runtime/agent-invocation-contract.js +14 -14
  212. package/esm/src/agent/runtime/client-profile.d.ts.map +1 -1
  213. package/esm/src/agent/runtime/client-profile.js +4 -4
  214. package/esm/src/agent/runtime/load-skill-tool.js +2 -2
  215. package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
  216. package/esm/src/agent/runtime/project-files-client.js +3 -3
  217. package/esm/src/agent/runtime/skill-metadata.d.ts.map +1 -1
  218. package/esm/src/agent/runtime/skill-metadata.js +2 -2
  219. package/esm/src/agent/schemas/agent.schema.d.ts +33 -33
  220. package/esm/src/agent/service/auth.d.ts +3 -0
  221. package/esm/src/agent/service/auth.d.ts.map +1 -1
  222. package/esm/src/agent/service/auth.js +15 -11
  223. package/esm/src/agent/service/config.d.ts +15 -126
  224. package/esm/src/agent/service/config.d.ts.map +1 -1
  225. package/esm/src/agent/service/config.js +53 -49
  226. package/esm/src/agent/service/node-runtime-infrastructure.js +1 -1
  227. package/esm/src/agent/service/node-telemetry.d.ts +5 -12
  228. package/esm/src/agent/service/node-telemetry.d.ts.map +1 -1
  229. package/esm/src/agent/service/node-telemetry.js +17 -36
  230. package/esm/src/agent/service/registration.d.ts +62 -85
  231. package/esm/src/agent/service/registration.d.ts.map +1 -1
  232. package/esm/src/agent/service/registration.js +68 -66
  233. package/esm/src/agent/testing/agent-tester.d.ts +45 -0
  234. package/esm/src/agent/testing/agent-tester.d.ts.map +1 -0
  235. package/esm/src/agent/testing/agent-tester.js +127 -0
  236. package/esm/src/agent/testing/index.d.ts +9 -0
  237. package/esm/src/agent/testing/index.d.ts.map +1 -0
  238. package/esm/src/agent/testing/index.js +8 -0
  239. package/esm/src/agent/testing/live-evals/formatting.d.ts +11 -0
  240. package/esm/src/agent/testing/live-evals/formatting.d.ts.map +1 -0
  241. package/esm/src/agent/testing/live-evals/formatting.js +71 -0
  242. package/esm/src/agent/testing/live-evals/index.d.ts +6 -0
  243. package/esm/src/agent/testing/live-evals/index.d.ts.map +1 -0
  244. package/esm/src/agent/testing/live-evals/index.js +5 -0
  245. package/esm/src/agent/testing/live-evals/performance.d.ts +15 -0
  246. package/esm/src/agent/testing/live-evals/performance.d.ts.map +1 -0
  247. package/esm/src/agent/testing/live-evals/performance.js +21 -0
  248. package/esm/src/agent/testing/live-evals/report.d.ts +46 -0
  249. package/esm/src/agent/testing/live-evals/report.d.ts.map +1 -0
  250. package/esm/src/agent/testing/live-evals/report.js +73 -0
  251. package/esm/src/agent/testing/live-evals/request.d.ts +30 -0
  252. package/esm/src/agent/testing/live-evals/request.d.ts.map +1 -0
  253. package/esm/src/agent/testing/live-evals/request.js +46 -0
  254. package/esm/src/agent/testing/live-evals/result.d.ts +52 -0
  255. package/esm/src/agent/testing/live-evals/result.d.ts.map +1 -0
  256. package/esm/src/agent/testing/live-evals/result.js +44 -0
  257. package/esm/src/agent/veryfront-cloud-agent-service.d.ts.map +1 -1
  258. package/esm/src/agent/veryfront-cloud-agent-service.js +47 -10
  259. package/esm/src/build/compiler/mdx-compiler/frontmatter-parser.js +1 -1
  260. package/esm/src/build/compiler/mdx-compiler/mdx-processor.d.ts.map +1 -1
  261. package/esm/src/build/compiler/mdx-compiler/mdx-processor.js +8 -16
  262. package/esm/src/build/compiler/mdx-to-js.d.ts.map +1 -1
  263. package/esm/src/build/compiler/mdx-to-js.js +10 -8
  264. package/esm/src/cache/schemas/cache-backend.schema.d.ts.map +1 -1
  265. package/esm/src/cache/schemas/cache-backend.schema.js +3 -3
  266. package/esm/src/cache/schemas/cache-key.schema.d.ts.map +1 -1
  267. package/esm/src/cache/schemas/cache-key.schema.js +2 -2
  268. package/esm/src/channels/control-plane.d.ts.map +1 -1
  269. package/esm/src/channels/control-plane.js +11 -11
  270. package/esm/src/channels/invoke.d.ts.map +1 -1
  271. package/esm/src/channels/invoke.js +13 -13
  272. package/esm/src/chat/ag-ui.d.ts.map +1 -1
  273. package/esm/src/chat/ag-ui.js +6 -6
  274. package/esm/src/chat/conversation.d.ts.map +1 -1
  275. package/esm/src/chat/conversation.js +6 -6
  276. package/esm/src/chat/types.d.ts.map +1 -1
  277. package/esm/src/chat/types.js +8 -8
  278. package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
  279. package/esm/src/config/schemas/config.schema.js +2 -2
  280. package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
  281. package/esm/src/data/schemas/data.schema.js +7 -7
  282. package/esm/src/embedding/upload-loader.d.ts +1 -1
  283. package/esm/src/embedding/upload-loader.js +8 -8
  284. package/esm/src/extensions/auth/auth-provider.d.ts +10 -2
  285. package/esm/src/extensions/auth/auth-provider.d.ts.map +1 -1
  286. package/esm/src/extensions/builtin-extensions.d.ts +1 -0
  287. package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
  288. package/esm/src/extensions/builtin-extensions.js +32 -8
  289. package/esm/src/extensions/cache/cache-store.d.ts +1 -1
  290. package/esm/src/extensions/cache/cache-store.js +1 -1
  291. package/esm/src/extensions/compat/index.d.ts +2 -2
  292. package/esm/src/extensions/compat/index.d.ts.map +1 -1
  293. package/esm/src/extensions/compat/index.js +1 -1
  294. package/esm/src/extensions/compat/{node-compat.d.ts → native-services.d.ts} +19 -25
  295. package/esm/src/extensions/compat/native-services.d.ts.map +1 -0
  296. package/esm/src/extensions/compat/native-services.js +10 -0
  297. package/esm/src/extensions/{transform → content}/content-processor.d.ts +9 -3
  298. package/esm/src/extensions/content/content-processor.d.ts.map +1 -0
  299. package/esm/src/extensions/{transform → content}/content-processor.js +3 -3
  300. package/esm/src/extensions/{transform → content}/index.d.ts +1 -1
  301. package/esm/src/extensions/content/index.d.ts.map +1 -0
  302. package/esm/src/extensions/{transform → content}/index.js +1 -1
  303. package/esm/src/extensions/contracts.d.ts +2 -0
  304. package/esm/src/extensions/contracts.d.ts.map +1 -1
  305. package/esm/src/extensions/contracts.js +4 -0
  306. package/esm/src/extensions/database/database-client.d.ts +1 -1
  307. package/esm/src/extensions/database/database-client.js +1 -1
  308. package/esm/src/extensions/index.d.ts +2 -0
  309. package/esm/src/extensions/index.d.ts.map +1 -1
  310. package/esm/src/extensions/index.js +1 -0
  311. package/esm/src/extensions/llm/embedding-provider.d.ts +1 -1
  312. package/esm/src/extensions/llm/embedding-provider.js +1 -1
  313. package/esm/src/extensions/recommendations.d.ts.map +1 -1
  314. package/esm/src/extensions/recommendations.js +6 -7
  315. package/esm/src/extensions/sandbox/index.d.ts +9 -0
  316. package/esm/src/extensions/sandbox/index.d.ts.map +1 -0
  317. package/esm/src/extensions/sandbox/index.js +7 -0
  318. package/esm/src/extensions/sandbox/shell-tools.d.ts +36 -0
  319. package/esm/src/extensions/sandbox/shell-tools.d.ts.map +1 -0
  320. package/esm/src/extensions/sandbox/shell-tools.js +1 -0
  321. package/esm/src/extensions/schema/schema-validator.d.ts +1 -1
  322. package/esm/src/extensions/schema/schema-validator.js +1 -1
  323. package/esm/src/extensions/tracing/index.d.ts +3 -1
  324. package/esm/src/extensions/tracing/index.d.ts.map +1 -1
  325. package/esm/src/extensions/tracing/index.js +2 -1
  326. package/esm/src/extensions/tracing/node-telemetry-provider.d.ts +40 -0
  327. package/esm/src/extensions/tracing/node-telemetry-provider.d.ts.map +1 -0
  328. package/esm/src/extensions/tracing/node-telemetry-provider.js +8 -0
  329. package/esm/src/html/schemas/html.schema.d.ts.map +1 -1
  330. package/esm/src/html/schemas/html.schema.js +7 -7
  331. package/esm/src/integrations/schema.d.ts +4 -4
  332. package/esm/src/integrations/schema.d.ts.map +1 -1
  333. package/esm/src/integrations/schema.js +11 -11
  334. package/esm/src/internal-agents/run-stream.js +2 -2
  335. package/esm/src/issues/mcp.js +7 -7
  336. package/esm/src/issues/schemas/issue.schema.d.ts.map +1 -1
  337. package/esm/src/issues/schemas/issue.schema.js +12 -12
  338. package/esm/src/jobs/schemas.d.ts.map +1 -1
  339. package/esm/src/jobs/schemas.js +29 -29
  340. package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
  341. package/esm/src/mcp/schemas/mcp.schema.js +4 -4
  342. package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
  343. package/esm/src/oauth/schemas/oauth.schema.js +8 -8
  344. package/esm/src/platform/compat/kv/factory.js +7 -7
  345. package/esm/src/platform/compat/opaque-deps.d.ts +4 -3
  346. package/esm/src/platform/compat/opaque-deps.d.ts.map +1 -1
  347. package/esm/src/platform/compat/opaque-deps.js +9 -8
  348. package/esm/src/platform/compat/std/front-matter-yaml.d.ts +1 -2
  349. package/esm/src/platform/compat/std/front-matter-yaml.d.ts.map +1 -1
  350. package/esm/src/platform/compat/std/front-matter-yaml.js +17 -21
  351. package/esm/src/rendering/layouts/layout-applicator.d.ts.map +1 -1
  352. package/esm/src/rendering/layouts/layout-applicator.js +9 -14
  353. package/esm/src/repositories/schemas/repository.schema.d.ts.map +1 -1
  354. package/esm/src/repositories/schemas/repository.schema.js +4 -4
  355. package/esm/src/resource/schemas/resource.schema.d.ts.map +1 -1
  356. package/esm/src/resource/schemas/resource.schema.js +3 -3
  357. package/esm/src/sandbox/agent-service-tools.d.ts +1 -0
  358. package/esm/src/sandbox/agent-service-tools.d.ts.map +1 -1
  359. package/esm/src/sandbox/shell-tools.d.ts +3 -36
  360. package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
  361. package/esm/src/sandbox/shell-tools.js +2 -2
  362. package/esm/src/schemas/define.d.ts +2 -2
  363. package/esm/src/schemas/define.d.ts.map +1 -1
  364. package/esm/src/schemas/define.js +4 -10
  365. package/esm/src/schemas/index.d.ts +2 -1
  366. package/esm/src/schemas/index.d.ts.map +1 -1
  367. package/esm/src/schemas/index.js +2 -1
  368. package/esm/src/schemas/lazy.d.ts +3 -0
  369. package/esm/src/schemas/lazy.d.ts.map +1 -0
  370. package/esm/src/schemas/lazy.js +54 -0
  371. package/esm/src/server/bootstrap.d.ts.map +1 -1
  372. package/esm/src/server/bootstrap.js +2 -1
  373. package/esm/src/server/dev-ui/manifest.d.ts +17 -17
  374. package/esm/src/server/dev-ui/manifest.js +17 -17
  375. package/esm/src/server/schemas/action.schema.d.ts.map +1 -1
  376. package/esm/src/server/schemas/action.schema.js +2 -2
  377. package/esm/src/tool/host-tools.js +1 -1
  378. package/esm/src/tool/schema/zod-json-schema.d.ts +1 -1
  379. package/esm/src/tool/schema/zod-json-schema.js +2 -2
  380. package/esm/src/transforms/md/compiler/md-compiler.d.ts +1 -1
  381. package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
  382. package/esm/src/transforms/mdx/compiler/import-rewriter.d.ts +1 -1
  383. package/esm/src/transforms/mdx/compiler/import-rewriter.d.ts.map +1 -1
  384. package/esm/src/transforms/mdx/compiler/index.d.ts +2 -2
  385. package/esm/src/transforms/mdx/compiler/index.d.ts.map +1 -1
  386. package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts +1 -1
  387. package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
  388. package/esm/src/utils/version-constant.d.ts +1 -1
  389. package/esm/src/utils/version-constant.js +1 -1
  390. package/esm/src/workflow/blob/veryfront-cloud-storage.js +5 -5
  391. package/esm/src/workflow/schemas/workflow.schema.d.ts +14 -14
  392. package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
  393. package/esm/src/workflow/schemas/workflow.schema.js +18 -18
  394. package/package.json +21 -8
  395. package/src/cli/commands/analyze-chunks/handler.ts +2 -2
  396. package/src/cli/commands/build/handler.ts +2 -2
  397. package/src/cli/commands/clean/handler.ts +2 -2
  398. package/src/cli/commands/demo/handler.ts +2 -2
  399. package/src/cli/commands/deploy/command.ts +2 -2
  400. package/src/cli/commands/dev/handler.ts +2 -2
  401. package/src/cli/commands/doctor/handler.ts +2 -2
  402. package/src/cli/commands/files/command.ts +5 -5
  403. package/src/cli/commands/generate/handler.ts +2 -2
  404. package/src/cli/commands/install/handler.ts +2 -2
  405. package/src/cli/commands/install/install.ts +3 -3
  406. package/src/cli/commands/install/types.ts +6 -6
  407. package/src/cli/commands/install/uninstall.ts +2 -2
  408. package/src/cli/commands/knowledge/command.ts +2 -2
  409. package/src/cli/commands/lock/handler.ts +2 -2
  410. package/src/cli/commands/mcp/handler.ts +2 -2
  411. package/src/cli/commands/merge/command.ts +2 -2
  412. package/src/cli/commands/open/command.ts +2 -2
  413. package/src/cli/commands/pull/command.ts +2 -2
  414. package/src/cli/commands/push/command.ts +2 -2
  415. package/src/cli/commands/routes/handler.ts +2 -2
  416. package/src/cli/commands/schema/handler.ts +2 -2
  417. package/src/cli/commands/serve/handler.ts +2 -2
  418. package/src/cli/commands/start/handler.ts +2 -2
  419. package/src/cli/commands/studio/handler.ts +2 -2
  420. package/src/cli/commands/styles/command.ts +2 -2
  421. package/src/cli/commands/styles/handler.ts +2 -2
  422. package/src/cli/commands/task/handler.ts +2 -2
  423. package/src/cli/commands/test/handler.ts +2 -2
  424. package/src/cli/commands/up/command.ts +2 -2
  425. package/src/cli/commands/uploads/command.ts +5 -5
  426. package/src/cli/commands/worker/handler.ts +2 -2
  427. package/src/cli/commands/workflow/handler.ts +2 -2
  428. package/src/cli/main.ts +6 -4
  429. package/src/cli/mcp/jsonrpc.ts +5 -5
  430. package/src/cli/mcp/remote-file-tools.ts +13 -13
  431. package/src/cli/mcp/tools/bootstrap-tool.ts +2 -2
  432. package/src/cli/mcp/tools/build-tool.ts +2 -2
  433. package/src/cli/mcp/tools/catalog-tools.ts +6 -6
  434. package/src/cli/mcp/tools/context7-tools.ts +5 -5
  435. package/src/cli/mcp/tools/deploy-tool.ts +2 -2
  436. package/src/cli/mcp/tools/dev-tools.ts +7 -7
  437. package/src/cli/mcp/tools/introspection-tools.ts +4 -4
  438. package/src/cli/mcp/tools/project-tools.ts +5 -5
  439. package/src/cli/mcp/tools/run-lint-tool.ts +2 -2
  440. package/src/cli/mcp/tools/run-tests-tool.ts +2 -2
  441. package/src/cli/mcp/tools/scaffold-tools.ts +23 -15
  442. package/src/cli/mcp/tools/skill-tools.ts +5 -5
  443. package/src/cli/mcp/tools.ts +6 -6
  444. package/src/cli/shared/config.ts +4 -4
  445. package/src/cli/shared/ensure-content-processor.ts +2 -2
  446. package/src/cli/shared/types.ts +2 -2
  447. package/src/cli/skills/types.ts +2 -2
  448. package/src/cli/templates/manifest.js +454 -454
  449. package/src/deno.js +23 -26
  450. package/src/deps/jsr.io/@std/yaml/1.1.0/_chars.ts +55 -0
  451. package/src/deps/jsr.io/@std/yaml/1.1.0/_loader_state.ts +1845 -0
  452. package/src/deps/jsr.io/@std/yaml/1.1.0/_schema.ts +183 -0
  453. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/binary.ts +127 -0
  454. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/bool.ts +37 -0
  455. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/float.ts +112 -0
  456. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/int.ts +174 -0
  457. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/map.ts +17 -0
  458. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/merge.ts +13 -0
  459. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/nil.ts +27 -0
  460. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/omap.ts +30 -0
  461. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.ts +22 -0
  462. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.ts +33 -0
  463. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/seq.ts +13 -0
  464. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/set.ts +17 -0
  465. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/str.ts +12 -0
  466. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.ts +101 -0
  467. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.ts +23 -0
  468. package/src/deps/jsr.io/@std/yaml/1.1.0/_type.ts +49 -0
  469. package/src/deps/jsr.io/@std/yaml/1.1.0/_utils.ts +16 -0
  470. package/src/deps/jsr.io/@std/yaml/1.1.0/parse.ts +125 -0
  471. package/src/extensions/ext-auth-jwt/src/index.ts +31 -3
  472. package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.ts +1 -4
  473. package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/mdx-compile.ts +13 -7
  474. package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/index.ts +5 -5
  475. package/src/extensions/ext-css-tailwind/src/index.ts +1 -1
  476. package/src/extensions/ext-db-sqlite/src/index.ts +45 -0
  477. package/src/extensions/ext-document-kreuzberg/src/index.ts +95 -0
  478. package/src/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.ts +4 -4
  479. package/src/extensions/ext-sandbox-shell-tools/src/index.ts +38 -0
  480. package/src/extensions/{ext-zod → ext-schema-zod}/src/adapter.ts +1 -1
  481. package/src/extensions/{ext-zod → ext-schema-zod}/src/index.ts +4 -4
  482. package/src/extensions/{ext-zod → ext-schema-zod}/src/json-schema.ts +2 -2
  483. package/src/extensions/ext-tracing-opentelemetry/src/index.ts +290 -0
  484. package/src/src/agent/ag-ui/detached-start.ts +3 -3
  485. package/src/src/agent/ag-ui/host-support.ts +4 -4
  486. package/src/src/agent/ag-ui/request-shared.ts +1 -1
  487. package/src/src/agent/ag-ui/run-control.ts +2 -2
  488. package/src/src/agent/conversation/bootstrap.ts +3 -3
  489. package/src/src/agent/conversation/run-events.ts +2 -2
  490. package/src/src/agent/default-hosted-invoke-agent-tool.ts +7 -3
  491. package/src/src/agent/durable.ts +13 -8
  492. package/src/src/agent/external-agent-worker-client.ts +193 -88
  493. package/src/src/agent/hosted/ag-ui-chat-request.ts +5 -3
  494. package/src/src/agent/hosted/agent-project-steering.ts +22 -12
  495. package/src/src/agent/hosted/chat-request.ts +6 -4
  496. package/src/src/agent/hosted/child-tool-input.ts +2 -2
  497. package/src/src/agent/index.ts +4 -2
  498. package/src/src/agent/invoke-agent-child-runs.ts +10 -5
  499. package/src/src/agent/runtime/agent-definition-files.ts +53 -26
  500. package/src/src/agent/runtime/agent-definition.ts +8 -5
  501. package/src/src/agent/runtime/agent-invocation-contract.ts +14 -14
  502. package/src/src/agent/runtime/client-profile.ts +4 -4
  503. package/src/src/agent/runtime/load-skill-tool.ts +2 -2
  504. package/src/src/agent/runtime/project-files-client.ts +3 -3
  505. package/src/src/agent/runtime/skill-metadata.ts +2 -2
  506. package/src/src/agent/service/auth.ts +23 -14
  507. package/src/src/agent/service/config.ts +77 -50
  508. package/src/src/agent/service/node-runtime-infrastructure.ts +1 -1
  509. package/src/src/agent/service/node-telemetry.ts +34 -57
  510. package/src/src/agent/service/registration.ts +157 -82
  511. package/src/src/agent/testing/agent-tester.ts +202 -0
  512. package/src/src/agent/testing/index.ts +44 -0
  513. package/src/src/agent/testing/live-evals/formatting.ts +106 -0
  514. package/src/src/agent/testing/live-evals/index.ts +30 -0
  515. package/src/src/agent/testing/live-evals/performance.ts +52 -0
  516. package/src/src/agent/testing/live-evals/report.ts +155 -0
  517. package/src/src/agent/testing/live-evals/request.ts +60 -0
  518. package/src/src/agent/testing/live-evals/result.ts +96 -0
  519. package/src/src/agent/veryfront-cloud-agent-service.ts +62 -13
  520. package/src/src/build/compiler/mdx-compiler/frontmatter-parser.ts +1 -1
  521. package/src/src/build/compiler/mdx-compiler/mdx-processor.ts +9 -20
  522. package/src/src/build/compiler/mdx-to-js.ts +11 -8
  523. package/src/src/cache/schemas/cache-backend.schema.ts +3 -3
  524. package/src/src/cache/schemas/cache-key.schema.ts +2 -2
  525. package/src/src/channels/control-plane.ts +13 -11
  526. package/src/src/channels/invoke.ts +13 -13
  527. package/src/src/chat/ag-ui.ts +6 -6
  528. package/src/src/chat/conversation.ts +6 -6
  529. package/src/src/chat/types.ts +8 -8
  530. package/src/src/config/schemas/config.schema.ts +2 -2
  531. package/src/src/data/schemas/data.schema.ts +7 -7
  532. package/src/src/embedding/upload-loader.ts +9 -9
  533. package/src/src/extensions/auth/auth-provider.ts +14 -2
  534. package/src/src/extensions/builtin-extensions.ts +33 -8
  535. package/src/src/extensions/cache/cache-store.ts +1 -1
  536. package/src/src/extensions/compat/index.ts +5 -4
  537. package/src/src/extensions/compat/{node-compat.ts → native-services.ts} +18 -24
  538. package/src/src/extensions/{transform → content}/content-processor.ts +9 -3
  539. package/src/src/extensions/{transform → content}/index.ts +1 -1
  540. package/src/src/extensions/contracts.ts +6 -0
  541. package/src/src/extensions/database/database-client.ts +1 -1
  542. package/src/src/extensions/index.ts +11 -0
  543. package/src/src/extensions/llm/embedding-provider.ts +1 -1
  544. package/src/src/extensions/recommendations.ts +6 -7
  545. package/src/src/extensions/sandbox/index.ts +18 -0
  546. package/src/src/extensions/sandbox/shell-tools.ts +42 -0
  547. package/src/src/extensions/schema/schema-validator.ts +1 -1
  548. package/src/src/extensions/tracing/index.ts +9 -1
  549. package/src/src/extensions/tracing/node-telemetry-provider.ts +45 -0
  550. package/src/src/html/schemas/html.schema.ts +7 -7
  551. package/src/src/integrations/schema.ts +11 -11
  552. package/src/src/internal-agents/run-stream.ts +2 -2
  553. package/src/src/issues/mcp.ts +7 -7
  554. package/src/src/issues/schemas/issue.schema.ts +12 -12
  555. package/src/src/jobs/schemas.ts +39 -30
  556. package/src/src/mcp/schemas/mcp.schema.ts +4 -4
  557. package/src/src/oauth/schemas/oauth.schema.ts +8 -8
  558. package/src/src/platform/compat/kv/factory.ts +8 -8
  559. package/src/src/platform/compat/opaque-deps.ts +10 -9
  560. package/src/src/platform/compat/std/front-matter-yaml.ts +18 -29
  561. package/src/src/rendering/layouts/layout-applicator.ts +10 -18
  562. package/src/src/repositories/schemas/repository.schema.ts +4 -4
  563. package/src/src/resource/schemas/resource.schema.ts +3 -3
  564. package/src/src/sandbox/agent-service-tools.ts +1 -0
  565. package/src/src/sandbox/shell-tools.ts +17 -42
  566. package/src/src/schemas/define.ts +4 -10
  567. package/src/src/schemas/index.ts +2 -1
  568. package/src/src/schemas/lazy.ts +65 -0
  569. package/src/src/server/bootstrap.ts +5 -1
  570. package/src/src/server/dev-ui/manifest.js +17 -17
  571. package/src/src/server/schemas/action.schema.ts +2 -2
  572. package/src/src/tool/host-tools.ts +1 -1
  573. package/src/src/tool/schema/zod-json-schema.ts +2 -2
  574. package/src/src/transforms/md/compiler/md-compiler.ts +1 -1
  575. package/src/src/transforms/mdx/compiler/import-rewriter.ts +1 -1
  576. package/src/src/transforms/mdx/compiler/index.ts +2 -2
  577. package/src/src/transforms/mdx/compiler/mdx-compiler.ts +1 -1
  578. package/src/src/utils/version-constant.ts +1 -1
  579. package/src/src/workflow/blob/veryfront-cloud-storage.ts +5 -5
  580. package/src/src/workflow/schemas/workflow.schema.ts +18 -18
  581. package/esm/extensions/ext-node-compatibility/src/index.d.ts +0 -11
  582. package/esm/extensions/ext-node-compatibility/src/index.d.ts.map +0 -1
  583. package/esm/extensions/ext-node-compatibility/src/index.js +0 -106
  584. package/esm/extensions/ext-transform-mdx/src/compiler/markdown-compile.d.ts.map +0 -1
  585. package/esm/extensions/ext-transform-mdx/src/compiler/mdx-compile.d.ts.map +0 -1
  586. package/esm/extensions/ext-transform-mdx/src/index.d.ts.map +0 -1
  587. package/esm/extensions/ext-transform-mdx/src/plugins/plugin-loader.d.ts.map +0 -1
  588. package/esm/extensions/ext-transform-mdx/src/plugins/rehype-node-positions.d.ts.map +0 -1
  589. package/esm/extensions/ext-transform-mdx/src/plugins/remark-headings.d.ts.map +0 -1
  590. package/esm/extensions/ext-transform-mdx/src/plugins/remark-mdx-utils.d.ts.map +0 -1
  591. package/esm/extensions/ext-zod/src/adapter.d.ts.map +0 -1
  592. package/esm/extensions/ext-zod/src/index.d.ts.map +0 -1
  593. package/esm/extensions/ext-zod/src/json-schema.d.ts.map +0 -1
  594. package/esm/src/extensions/compat/node-compat.d.ts.map +0 -1
  595. package/esm/src/extensions/compat/node-compat.js +0 -8
  596. package/esm/src/extensions/transform/content-processor.d.ts.map +0 -1
  597. package/esm/src/extensions/transform/index.d.ts.map +0 -1
  598. package/esm/src/transforms/plugins/plugin-loader.d.ts +0 -19
  599. package/esm/src/transforms/plugins/plugin-loader.d.ts.map +0 -1
  600. package/esm/src/transforms/plugins/plugin-loader.js +0 -24
  601. package/src/extensions/ext-node-compatibility/src/index.ts +0 -140
  602. package/src/src/transforms/plugins/plugin-loader.ts +0 -29
  603. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/compiler/markdown-compile.js +0 -0
  604. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.d.ts +0 -0
  605. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.js +0 -0
  606. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.d.ts +0 -0
  607. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.js +0 -0
  608. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.d.ts +0 -0
  609. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.js +0 -0
  610. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.d.ts +0 -0
  611. /package/esm/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.js +0 -0
  612. /package/esm/extensions/{ext-node-compatibility → ext-document-kreuzberg}/src/kreuzberg.d.ts +0 -0
  613. /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/plugin-loader.ts +0 -0
  614. /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/rehype-node-positions.ts +0 -0
  615. /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-headings.ts +0 -0
  616. /package/src/extensions/{ext-transform-mdx → ext-content-mdx}/src/plugins/remark-mdx-utils.ts +0 -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" },
@@ -7,7 +7,7 @@
7
7
  * @module cli/commands/merge
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 { cliLogger } from "../../utils/index.js";
13
13
  import { cwd } from "../../../src/platform/index.js";
@@ -28,7 +28,7 @@ export const getMergeArgsSchema = defineSchema((v) =>
28
28
  })
29
29
  );
30
30
 
31
- export const MergeArgsSchema = getMergeArgsSchema();
31
+ export const MergeArgsSchema = lazySchema(getMergeArgsSchema);
32
32
 
33
33
  /**
34
34
  * Merge command options (inferred from schema)
@@ -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 { createArgParser } from "../../shared/args.js";
4
4
 
@@ -10,7 +10,7 @@ export const getOpenArgsSchema = defineSchema((v) =>
10
10
  })
11
11
  );
12
12
 
13
- export const OpenArgsSchema = getOpenArgsSchema();
13
+ export const OpenArgsSchema = lazySchema(getOpenArgsSchema);
14
14
 
15
15
  export type OpenOptions = InferSchema<ReturnType<typeof getOpenArgsSchema>>;
16
16
 
@@ -7,7 +7,7 @@
7
7
  * @module cli/commands/pull
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 { dirname, join, normalize, resolve } from "../../../src/platform/compat/path/index.js";
13
13
  import { cliLogger } from "../../utils/index.js";
@@ -42,7 +42,7 @@ export const getPullArgsSchema = defineSchema((v) =>
42
42
  })
43
43
  );
44
44
 
45
- export const PullArgsSchema = getPullArgsSchema();
45
+ export const PullArgsSchema = lazySchema(getPullArgsSchema);
46
46
 
47
47
  export type PullArgs = InferSchema<ReturnType<typeof getPullArgsSchema>>;
48
48
 
@@ -7,7 +7,7 @@
7
7
  * @module cli/commands/push
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 { join, relative } from "../../../src/platform/compat/path/index.js";
13
13
  import { cliLogger } from "../../utils/index.js";
@@ -42,7 +42,7 @@ export const getPushArgsSchema = defineSchema((v) =>
42
42
  })
43
43
  );
44
44
 
45
- export const PushArgsSchema = getPushArgsSchema();
45
+ export const PushArgsSchema = lazySchema(getPushArgsSchema);
46
46
 
47
47
  export type PushArgs = InferSchema<ReturnType<typeof getPushArgsSchema>>;
48
48
 
@@ -2,7 +2,7 @@
2
2
  * Routes 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 { routesCommand } from "./command.js";
8
8
  import { showLogo } from "../../utils/index.js";
@@ -16,7 +16,7 @@ const getRoutesArgsSchema = defineSchema((v) =>
16
16
  })
17
17
  );
18
18
 
19
- const RoutesArgsSchema = getRoutesArgsSchema();
19
+ const RoutesArgsSchema = lazySchema(getRoutesArgsSchema);
20
20
 
21
21
  export const parseRoutesArgs = createArgParser(RoutesArgsSchema, {
22
22
  projectDir: CommonArgs.projectDir,
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
5
5
  import type { CommandCategory } from "../../help/types.js";
@@ -11,7 +11,7 @@ const getSchemaArgsSchema = defineSchema((v) =>
11
11
  })
12
12
  );
13
13
 
14
- const SchemaArgsSchema = getSchemaArgsSchema();
14
+ const SchemaArgsSchema = lazySchema(getSchemaArgsSchema);
15
15
 
16
16
  const parseSchemaArgs = createArgParser(SchemaArgsSchema, {
17
17
  category: { keys: ["category", "c"], type: "string" },
@@ -1,4 +1,4 @@
1
- import { defineSchema } from "../../../src/schemas/index.js";
1
+ import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
2
2
  import { DEFAULT_DEV_SERVER_PORT } from "../../utils/index.js";
3
3
  import { serveCommand } from "./command.js";
4
4
  import { ServerModeSchema } from "../../shared/types.js";
@@ -17,7 +17,7 @@ const getServeArgsSchema = defineSchema((v) =>
17
17
  })
18
18
  );
19
19
 
20
- const ServeArgsSchema = getServeArgsSchema();
20
+ const ServeArgsSchema = lazySchema(getServeArgsSchema);
21
21
 
22
22
  export const parseServeArgs = createArgParser(ServeArgsSchema, {
23
23
  mode: { keys: ["mode", "m"], type: "string" },
@@ -1,4 +1,4 @@
1
- import { defineSchema } from "../../../src/schemas/index.js";
1
+ import { defineSchema, lazySchema } from "../../../src/schemas/index.js";
2
2
  import { startCommand } from "./command.js";
3
3
  import { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
@@ -15,7 +15,7 @@ const getStartArgsSchema = defineSchema((v) =>
15
15
  })
16
16
  );
17
17
 
18
- const StartArgsSchema = getStartArgsSchema();
18
+ const StartArgsSchema = lazySchema(getStartArgsSchema);
19
19
 
20
20
  export const parseStartArgs = createArgParser(StartArgsSchema, {
21
21
  port: { keys: ["port", "p"], type: "number" },
@@ -2,7 +2,7 @@
2
2
  * Studio 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 { studioCommand } from "./index.js";
@@ -15,7 +15,7 @@ const getStudioArgsSchema = defineSchema((v) =>
15
15
  })
16
16
  );
17
17
 
18
- const StudioArgsSchema = getStudioArgsSchema();
18
+ const StudioArgsSchema = lazySchema(getStudioArgsSchema);
19
19
 
20
20
  export const parseStudioArgs = createArgParser(StudioArgsSchema, {
21
21
  project: { keys: ["project"], type: "string", positional: 0 },
@@ -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
  import { getConfig } from "../../../src/config/index.js";
5
5
  import {
@@ -36,7 +36,7 @@ const getStyleArtifactBuildConfigSchema = defineSchema((v) =>
36
36
  })
37
37
  );
38
38
 
39
- const StyleArtifactBuildConfigSchema = getStyleArtifactBuildConfigSchema();
39
+ const StyleArtifactBuildConfigSchema = lazySchema(getStyleArtifactBuildConfigSchema);
40
40
 
41
41
  type StyleArtifactBuildConfig = InferSchema<ReturnType<typeof getStyleArtifactBuildConfigSchema>>;
42
42
 
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
@@ -11,7 +11,7 @@ const getStylesArgsSchema = defineSchema((v) =>
11
11
  })
12
12
  );
13
13
 
14
- const StylesArgsSchema = getStylesArgsSchema();
14
+ const StylesArgsSchema = lazySchema(getStylesArgsSchema);
15
15
 
16
16
  export type StylesArgs = InferSchema<ReturnType<typeof getStylesArgsSchema>>;
17
17
 
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
@@ -11,7 +11,7 @@ const getTaskArgsSchema = defineSchema((v) =>
11
11
  })
12
12
  );
13
13
 
14
- const TaskArgsSchema = getTaskArgsSchema();
14
+ const TaskArgsSchema = lazySchema(getTaskArgsSchema);
15
15
 
16
16
  export type TaskArgs = InferSchema<ReturnType<typeof getTaskArgsSchema>>;
17
17
 
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
5
5
  import {
@@ -17,7 +17,7 @@ const getTestArgsSchema = defineSchema((v) =>
17
17
  })
18
18
  );
19
19
 
20
- const TestArgsSchema = getTestArgsSchema();
20
+ const TestArgsSchema = lazySchema(getTestArgsSchema);
21
21
 
22
22
  const parseTestArgs = createArgParser(TestArgsSchema, {
23
23
  filter: { keys: ["filter"], type: "string", positional: 0 },
@@ -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 { cliLogger } from "../../utils/index.js";
4
4
  import { cwd } from "../../../src/platform/index.js";
@@ -21,7 +21,7 @@ export const getUpArgsSchema = defineSchema((v) =>
21
21
  })
22
22
  );
23
23
 
24
- export const UpArgsSchema = getUpArgsSchema();
24
+ export const UpArgsSchema = lazySchema(getUpArgsSchema);
25
25
 
26
26
  export type UpOptions = InferSchema<ReturnType<typeof getUpArgsSchema>>;
27
27
 
@@ -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
  type SafeParseResult<T> = { success: true; data: T } | {
@@ -57,7 +57,7 @@ const getUploadListArgsSchema = defineSchema((v) =>
57
57
  })
58
58
  );
59
59
 
60
- const UploadListArgsSchema = getUploadListArgsSchema();
60
+ const UploadListArgsSchema = lazySchema(getUploadListArgsSchema);
61
61
 
62
62
  export type UploadListOptions = InferSchema<ReturnType<typeof getUploadListArgsSchema>>;
63
63
 
@@ -74,7 +74,7 @@ const getUploadPullArgsSchema = defineSchema((v) =>
74
74
  })
75
75
  );
76
76
 
77
- const UploadPullArgsSchema = getUploadPullArgsSchema();
77
+ const UploadPullArgsSchema = lazySchema(getUploadPullArgsSchema);
78
78
 
79
79
  export type UploadPullOptions = InferSchema<ReturnType<typeof getUploadPullArgsSchema>>;
80
80
 
@@ -90,7 +90,7 @@ const getUploadPutArgsSchema = defineSchema((v) =>
90
90
  })
91
91
  );
92
92
 
93
- const UploadPutArgsSchema = getUploadPutArgsSchema();
93
+ const UploadPutArgsSchema = lazySchema(getUploadPutArgsSchema);
94
94
 
95
95
  export type UploadPutOptions = InferSchema<ReturnType<typeof getUploadPutArgsSchema>>;
96
96
 
@@ -104,7 +104,7 @@ const getUploadDeleteArgsSchema = defineSchema((v) =>
104
104
  })
105
105
  );
106
106
 
107
- const UploadDeleteArgsSchema = getUploadDeleteArgsSchema();
107
+ const UploadDeleteArgsSchema = lazySchema(getUploadDeleteArgsSchema);
108
108
 
109
109
  export type UploadDeleteOptions = InferSchema<ReturnType<typeof getUploadDeleteArgsSchema>>;
110
110
 
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
@@ -15,7 +15,7 @@ const getWorkerArgsSchema = defineSchema((v) =>
15
15
  })
16
16
  );
17
17
 
18
- const WorkerArgsSchema = getWorkerArgsSchema();
18
+ const WorkerArgsSchema = lazySchema(getWorkerArgsSchema);
19
19
 
20
20
  export type WorkerArgs = InferSchema<ReturnType<typeof getWorkerArgsSchema>>;
21
21
 
@@ -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 { createArgParser, parseArgsOrThrow } from "../../shared/args.js";
4
4
  import type { ParsedArgs } from "../../shared/types.js";
@@ -12,7 +12,7 @@ const getWorkflowArgsSchema = defineSchema((v) =>
12
12
  })
13
13
  );
14
14
 
15
- const WorkflowArgsSchema = getWorkflowArgsSchema();
15
+ const WorkflowArgsSchema = lazySchema(getWorkflowArgsSchema);
16
16
 
17
17
  export type WorkflowArgs = InferSchema<ReturnType<typeof getWorkflowArgsSchema>>;
18
18
 
package/src/cli/main.ts CHANGED
@@ -17,13 +17,15 @@ import * as dntShim from "../_dnt.shims.js";
17
17
 
18
18
  await import("../src/platform/compat/esbuild-init.js");
19
19
 
20
- // Register the default Bundler + ModuleLexer contracts shipped with the
21
- // binary so bootstrap paths can resolve them without the user having to
22
- // declare @veryfront/ext-bundler-esbuild as a project extension. User-installed
23
- // extensions (orchestrated later) can still override these.
20
+ // Register default contracts shipped with the binary so CLI startup and
21
+ // bootstrap paths can resolve them before project extensions load.
24
22
  {
25
23
  const { register } = await import("../src/extensions/contracts.js");
26
24
  const { tryResolve } = await import("../src/extensions/index.js");
25
+ if (!tryResolve("SchemaValidator")) {
26
+ const { createZodAdapter } = await import("../extensions/ext-schema-zod/src/index.js");
27
+ register("SchemaValidator", createZodAdapter());
28
+ }
27
29
  if (!tryResolve("Bundler") || !tryResolve("ModuleLexer")) {
28
30
  const { EsbuildBundler, EsModuleLexer } = await import("../extensions/ext-bundler-esbuild/src/index.js");
29
31
  if (!tryResolve("Bundler")) register("Bundler", new EsbuildBundler());
@@ -4,7 +4,7 @@
4
4
  * @module cli/mcp/jsonrpc
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
 
10
10
  /**
@@ -18,7 +18,7 @@ export const getJSONRPCRequestSchema = defineSchema((v) =>
18
18
  params: v.unknown().optional(),
19
19
  })
20
20
  );
21
- export const JSONRPCRequestSchema = getJSONRPCRequestSchema();
21
+ export const JSONRPCRequestSchema = lazySchema(getJSONRPCRequestSchema);
22
22
 
23
23
  export type JSONRPCRequest = InferSchema<ReturnType<typeof getJSONRPCRequestSchema>>;
24
24
 
@@ -163,7 +163,7 @@ export const getToolsCallParamsSchema = defineSchema((v) =>
163
163
  arguments: v.record(v.string(), v.unknown()).optional(),
164
164
  })
165
165
  );
166
- export const ToolsCallParamsSchema = getToolsCallParamsSchema();
166
+ export const ToolsCallParamsSchema = lazySchema(getToolsCallParamsSchema);
167
167
 
168
168
  /**
169
169
  * Validate and extract prompts/get params
@@ -173,7 +173,7 @@ export const getPromptsGetParamsSchema = defineSchema((v) =>
173
173
  name: v.string(),
174
174
  })
175
175
  );
176
- export const PromptsGetParamsSchema = getPromptsGetParamsSchema();
176
+ export const PromptsGetParamsSchema = lazySchema(getPromptsGetParamsSchema);
177
177
 
178
178
  /**
179
179
  * Validate and extract resources/read params
@@ -183,4 +183,4 @@ export const getResourcesReadParamsSchema = defineSchema((v) =>
183
183
  uri: v.string(),
184
184
  })
185
185
  );
186
- export const ResourcesReadParamsSchema = getResourcesReadParamsSchema();
186
+ export const ResourcesReadParamsSchema = lazySchema(getResourcesReadParamsSchema);