veryfront 0.1.545 → 0.1.546

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 (2122) hide show
  1. package/esm/deno.js +3 -3
  2. package/esm/extensions/ext-document-kreuzberg/src/kreuzberg.d.ts.map +1 -1
  3. package/esm/extensions/ext-document-kreuzberg/src/kreuzberg.js +28 -2
  4. package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts.map +1 -1
  5. package/esm/extensions/ext-sandbox-shell-tools/src/index.js +22 -2
  6. package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
  7. package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +21 -1
  8. package/esm/src/agent/index.d.ts +25 -4
  9. package/esm/src/agent/index.d.ts.map +1 -1
  10. package/esm/src/agent/index.js +25 -4
  11. package/esm/src/agent/react/use-chat/streaming/handler.d.ts +1 -0
  12. package/esm/src/agent/react/use-chat/streaming/handler.d.ts.map +1 -1
  13. package/esm/src/agent/react/use-chat/streaming/handler.js +129 -6
  14. package/esm/src/agent/react/use-chat/streaming/index.d.ts +1 -1
  15. package/esm/src/agent/react/use-chat/streaming/index.d.ts.map +1 -1
  16. package/esm/src/agent/react/use-chat/streaming/index.js +1 -1
  17. package/esm/src/agent/react/use-chat/types.d.ts +2 -0
  18. package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
  19. package/esm/src/agent/react/use-chat/use-chat.d.ts +2 -2
  20. package/esm/src/agent/react/use-chat/use-chat.d.ts.map +1 -1
  21. package/esm/src/agent/react/use-chat/use-chat.js +7 -4
  22. package/esm/src/chat/index.d.ts +2 -2
  23. package/esm/src/chat/index.js +2 -2
  24. package/esm/src/integrations/index.d.ts +8 -1
  25. package/esm/src/integrations/index.d.ts.map +1 -1
  26. package/esm/src/integrations/index.js +8 -1
  27. package/esm/src/jobs/index.d.ts +0 -1
  28. package/esm/src/jobs/index.d.ts.map +1 -1
  29. package/esm/src/jobs/index.js +0 -1
  30. package/esm/src/mcp/index.d.ts +2 -6
  31. package/esm/src/mcp/index.d.ts.map +1 -1
  32. package/esm/src/mcp/index.js +2 -6
  33. package/esm/src/prompt/index.d.ts +5 -0
  34. package/esm/src/prompt/index.d.ts.map +1 -1
  35. package/esm/src/prompt/index.js +5 -0
  36. package/esm/src/react/components/chat/chat/index.d.ts +1 -1
  37. package/esm/src/react/components/chat/chat/index.js +1 -1
  38. package/esm/src/resource/index.d.ts +10 -7
  39. package/esm/src/resource/index.d.ts.map +1 -1
  40. package/esm/src/resource/index.js +10 -7
  41. package/esm/src/sandbox/types.d.ts +1 -1
  42. package/esm/src/sandbox/types.d.ts.map +1 -1
  43. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  44. package/esm/src/server/handlers/dev/framework-candidates.generated.js +2 -0
  45. package/esm/src/tool/index.d.ts +44 -24
  46. package/esm/src/tool/index.d.ts.map +1 -1
  47. package/esm/src/tool/index.js +44 -24
  48. package/esm/src/utils/version-constant.d.ts +1 -1
  49. package/esm/src/utils/version-constant.js +1 -1
  50. package/package.json +51 -16
  51. package/src/_dnt.polyfills.ts +0 -558
  52. package/src/_dnt.shims.ts +0 -71
  53. package/src/cli/app/actions.ts +0 -149
  54. package/src/cli/app/components/inline-input.ts +0 -243
  55. package/src/cli/app/components/list-select.ts +0 -197
  56. package/src/cli/app/data/slug-words.ts +0 -303
  57. package/src/cli/app/handlers/remote-navigation.ts +0 -65
  58. package/src/cli/app/handlers/view-handlers.ts +0 -173
  59. package/src/cli/app/index.ts +0 -19
  60. package/src/cli/app/logging/console-interceptor.ts +0 -97
  61. package/src/cli/app/operations/project-creation.ts +0 -71
  62. package/src/cli/app/shell.ts +0 -666
  63. package/src/cli/app/startup.ts +0 -48
  64. package/src/cli/app/state.ts +0 -383
  65. package/src/cli/app/types.ts +0 -40
  66. package/src/cli/app/utils.ts +0 -65
  67. package/src/cli/app/views/auth.ts +0 -30
  68. package/src/cli/app/views/dashboard.ts +0 -189
  69. package/src/cli/app/views/help.ts +0 -65
  70. package/src/cli/app/views/index.ts +0 -12
  71. package/src/cli/app/views/new-project.ts +0 -36
  72. package/src/cli/app/views/startup.ts +0 -112
  73. package/src/cli/app/views/templates.ts +0 -35
  74. package/src/cli/auth/browser.ts +0 -26
  75. package/src/cli/auth/callback-server.ts +0 -297
  76. package/src/cli/auth/index.ts +0 -16
  77. package/src/cli/auth/login.ts +0 -303
  78. package/src/cli/auth/provider-store.ts +0 -82
  79. package/src/cli/auth/providers/anthropic.ts +0 -45
  80. package/src/cli/auth/providers/openai.ts +0 -44
  81. package/src/cli/auth/token-store.ts +0 -63
  82. package/src/cli/auth/utils.ts +0 -31
  83. package/src/cli/commands/analyze-chunks/command-help.ts +0 -18
  84. package/src/cli/commands/analyze-chunks/command.ts +0 -89
  85. package/src/cli/commands/analyze-chunks/handler.ts +0 -33
  86. package/src/cli/commands/build/command-help.ts +0 -51
  87. package/src/cli/commands/build/command.ts +0 -93
  88. package/src/cli/commands/build/config-display.ts +0 -48
  89. package/src/cli/commands/build/error-handler.ts +0 -30
  90. package/src/cli/commands/build/handler.ts +0 -103
  91. package/src/cli/commands/build/stats-display.ts +0 -40
  92. package/src/cli/commands/build/types.ts +0 -1
  93. package/src/cli/commands/clean/command-help.ts +0 -33
  94. package/src/cli/commands/clean/command.ts +0 -151
  95. package/src/cli/commands/clean/handler.ts +0 -33
  96. package/src/cli/commands/completions/command-help.ts +0 -15
  97. package/src/cli/commands/completions/command.ts +0 -163
  98. package/src/cli/commands/completions/handler.ts +0 -29
  99. package/src/cli/commands/config/command-help.ts +0 -15
  100. package/src/cli/commands/config/handler.ts +0 -90
  101. package/src/cli/commands/demo/command-help.ts +0 -27
  102. package/src/cli/commands/demo/demo.ts +0 -630
  103. package/src/cli/commands/demo/handler.ts +0 -30
  104. package/src/cli/commands/demo/index.ts +0 -2
  105. package/src/cli/commands/demo/steps.ts +0 -68
  106. package/src/cli/commands/deploy/command-help.ts +0 -42
  107. package/src/cli/commands/deploy/command.ts +0 -287
  108. package/src/cli/commands/deploy/handler.ts +0 -13
  109. package/src/cli/commands/deploy/index.ts +0 -14
  110. package/src/cli/commands/dev/command-help.ts +0 -34
  111. package/src/cli/commands/dev/command.ts +0 -337
  112. package/src/cli/commands/dev/handler.ts +0 -76
  113. package/src/cli/commands/dev/index.ts +0 -7
  114. package/src/cli/commands/doctor/ai-checks.ts +0 -65
  115. package/src/cli/commands/doctor/command-help.ts +0 -15
  116. package/src/cli/commands/doctor/handler.ts +0 -27
  117. package/src/cli/commands/doctor/index.ts +0 -89
  118. package/src/cli/commands/doctor/project-structure.ts +0 -56
  119. package/src/cli/commands/doctor/server-checks.ts +0 -142
  120. package/src/cli/commands/doctor/types.ts +0 -6
  121. package/src/cli/commands/doctor/version-checks.ts +0 -67
  122. package/src/cli/commands/extension/command-help.ts +0 -18
  123. package/src/cli/commands/extension/handler.ts +0 -41
  124. package/src/cli/commands/extension/init-command.ts +0 -150
  125. package/src/cli/commands/extension/validate-command.ts +0 -78
  126. package/src/cli/commands/files/command-help.ts +0 -41
  127. package/src/cli/commands/files/command.ts +0 -343
  128. package/src/cli/commands/files/handler.ts +0 -6
  129. package/src/cli/commands/files/index.ts +0 -19
  130. package/src/cli/commands/generate/command-help.ts +0 -21
  131. package/src/cli/commands/generate/command.ts +0 -155
  132. package/src/cli/commands/generate/handler.ts +0 -55
  133. package/src/cli/commands/generate/index.ts +0 -6
  134. package/src/cli/commands/generate/integration-generator-helpers.ts +0 -185
  135. package/src/cli/commands/generate/integration-generator.ts +0 -782
  136. package/src/cli/commands/init/catalog.ts +0 -224
  137. package/src/cli/commands/init/command-help.ts +0 -54
  138. package/src/cli/commands/init/config-generator.ts +0 -84
  139. package/src/cli/commands/init/handler.ts +0 -79
  140. package/src/cli/commands/init/index.ts +0 -8
  141. package/src/cli/commands/init/init-command.ts +0 -566
  142. package/src/cli/commands/init/interactive-wizard.ts +0 -170
  143. package/src/cli/commands/init/path-utils.ts +0 -15
  144. package/src/cli/commands/init/types.ts +0 -28
  145. package/src/cli/commands/install/command-help.ts +0 -63
  146. package/src/cli/commands/install/detect.ts +0 -51
  147. package/src/cli/commands/install/handler.ts +0 -33
  148. package/src/cli/commands/install/install.ts +0 -112
  149. package/src/cli/commands/install/registry.ts +0 -79
  150. package/src/cli/commands/install/types.ts +0 -58
  151. package/src/cli/commands/install/uninstall.ts +0 -139
  152. package/src/cli/commands/issues/command-help.ts +0 -50
  153. package/src/cli/commands/issues/command.ts +0 -364
  154. package/src/cli/commands/issues/handler.ts +0 -10
  155. package/src/cli/commands/issues/index.ts +0 -6
  156. package/src/cli/commands/knowledge/command-help.ts +0 -44
  157. package/src/cli/commands/knowledge/command-helpers.ts +0 -295
  158. package/src/cli/commands/knowledge/command.ts +0 -802
  159. package/src/cli/commands/knowledge/handler.ts +0 -6
  160. package/src/cli/commands/knowledge/index.ts +0 -2
  161. package/src/cli/commands/knowledge/parser-source.ts +0 -641
  162. package/src/cli/commands/knowledge/result.ts +0 -88
  163. package/src/cli/commands/knowledge/source-policy.ts +0 -164
  164. package/src/cli/commands/lint/command-help.ts +0 -15
  165. package/src/cli/commands/lint/command.ts +0 -59
  166. package/src/cli/commands/lint/handler.ts +0 -36
  167. package/src/cli/commands/lock/command-help.ts +0 -42
  168. package/src/cli/commands/lock/command.ts +0 -193
  169. package/src/cli/commands/lock/handler.ts +0 -35
  170. package/src/cli/commands/login/command-help.ts +0 -38
  171. package/src/cli/commands/logout/command-help.ts +0 -14
  172. package/src/cli/commands/mcp/command-help.ts +0 -36
  173. package/src/cli/commands/mcp/handler.ts +0 -37
  174. package/src/cli/commands/merge/command-help.ts +0 -32
  175. package/src/cli/commands/merge/command.ts +0 -224
  176. package/src/cli/commands/merge/handler.ts +0 -13
  177. package/src/cli/commands/open/command-help.ts +0 -19
  178. package/src/cli/commands/open/command.ts +0 -33
  179. package/src/cli/commands/open/handler.ts +0 -38
  180. package/src/cli/commands/pull/command-help.ts +0 -56
  181. package/src/cli/commands/pull/command.ts +0 -491
  182. package/src/cli/commands/pull/handler.ts +0 -13
  183. package/src/cli/commands/pull/index.ts +0 -3
  184. package/src/cli/commands/push/command-help.ts +0 -39
  185. package/src/cli/commands/push/command.ts +0 -404
  186. package/src/cli/commands/push/handler.ts +0 -13
  187. package/src/cli/commands/push/index.ts +0 -3
  188. package/src/cli/commands/routes/command-help.ts +0 -15
  189. package/src/cli/commands/routes/command.ts +0 -88
  190. package/src/cli/commands/routes/handler.ts +0 -31
  191. package/src/cli/commands/schema/command-help.ts +0 -17
  192. package/src/cli/commands/schema/command.ts +0 -64
  193. package/src/cli/commands/schema/handler.ts +0 -36
  194. package/src/cli/commands/serve/command-help.ts +0 -25
  195. package/src/cli/commands/serve/command.ts +0 -120
  196. package/src/cli/commands/serve/handler.ts +0 -43
  197. package/src/cli/commands/serve/split-mode.ts +0 -193
  198. package/src/cli/commands/skills/command-help.ts +0 -23
  199. package/src/cli/commands/skills/command.ts +0 -23
  200. package/src/cli/commands/skills/create.ts +0 -87
  201. package/src/cli/commands/skills/handler.ts +0 -106
  202. package/src/cli/commands/skills/validate.ts +0 -110
  203. package/src/cli/commands/start/command-help.ts +0 -52
  204. package/src/cli/commands/start/command.ts +0 -258
  205. package/src/cli/commands/start/handler.ts +0 -35
  206. package/src/cli/commands/studio/command-help.ts +0 -27
  207. package/src/cli/commands/studio/command.ts +0 -96
  208. package/src/cli/commands/studio/handler.ts +0 -28
  209. package/src/cli/commands/studio/index.ts +0 -6
  210. package/src/cli/commands/styles/command-help.ts +0 -22
  211. package/src/cli/commands/styles/command.ts +0 -303
  212. package/src/cli/commands/styles/handler.ts +0 -28
  213. package/src/cli/commands/task/command-help.ts +0 -23
  214. package/src/cli/commands/task/command.ts +0 -112
  215. package/src/cli/commands/task/handler.ts +0 -28
  216. package/src/cli/commands/test/command-help.ts +0 -18
  217. package/src/cli/commands/test/command.ts +0 -90
  218. package/src/cli/commands/test/handler.ts +0 -74
  219. package/src/cli/commands/up/command-help.ts +0 -25
  220. package/src/cli/commands/up/command.ts +0 -218
  221. package/src/cli/commands/up/handler.ts +0 -11
  222. package/src/cli/commands/up/index.ts +0 -7
  223. package/src/cli/commands/uploads/command-help.ts +0 -46
  224. package/src/cli/commands/uploads/command.ts +0 -482
  225. package/src/cli/commands/uploads/handler.ts +0 -6
  226. package/src/cli/commands/uploads/index.ts +0 -23
  227. package/src/cli/commands/whoami/command-help.ts +0 -14
  228. package/src/cli/commands/worker/command-help.ts +0 -49
  229. package/src/cli/commands/worker/command.ts +0 -114
  230. package/src/cli/commands/worker/handler.ts +0 -36
  231. package/src/cli/commands/workflow/command-help.ts +0 -22
  232. package/src/cli/commands/workflow/command.ts +0 -157
  233. package/src/cli/commands/workflow/handler.ts +0 -30
  234. package/src/cli/help/command-definitions.ts +0 -96
  235. package/src/cli/help/command-help.ts +0 -73
  236. package/src/cli/help/formatters.ts +0 -102
  237. package/src/cli/help/index.ts +0 -6
  238. package/src/cli/help/logo.ts +0 -5
  239. package/src/cli/help/main-help.ts +0 -98
  240. package/src/cli/help/tips.ts +0 -54
  241. package/src/cli/help/types.ts +0 -25
  242. package/src/cli/main.ts +0 -74
  243. package/src/cli/mcp/advanced-tools.ts +0 -61
  244. package/src/cli/mcp/dev-server-client.ts +0 -82
  245. package/src/cli/mcp/index.ts +0 -2
  246. package/src/cli/mcp/jsonrpc.ts +0 -186
  247. package/src/cli/mcp/remote-file-tool-helpers.ts +0 -27
  248. package/src/cli/mcp/remote-file-tools.ts +0 -826
  249. package/src/cli/mcp/server.ts +0 -531
  250. package/src/cli/mcp/standalone.ts +0 -646
  251. package/src/cli/mcp/stdio.ts +0 -57
  252. package/src/cli/mcp/tools/bootstrap-tool.ts +0 -71
  253. package/src/cli/mcp/tools/build-tool.ts +0 -119
  254. package/src/cli/mcp/tools/catalog-tools.ts +0 -507
  255. package/src/cli/mcp/tools/cicd-tools.ts +0 -17
  256. package/src/cli/mcp/tools/context7-tools.ts +0 -114
  257. package/src/cli/mcp/tools/deploy-tool.ts +0 -136
  258. package/src/cli/mcp/tools/dev-tools.ts +0 -475
  259. package/src/cli/mcp/tools/helpers.ts +0 -141
  260. package/src/cli/mcp/tools/introspection-tools.ts +0 -53
  261. package/src/cli/mcp/tools/project-tools.ts +0 -412
  262. package/src/cli/mcp/tools/run-lint-tool.ts +0 -109
  263. package/src/cli/mcp/tools/run-tests-tool.ts +0 -117
  264. package/src/cli/mcp/tools/scaffold-tools.ts +0 -433
  265. package/src/cli/mcp/tools/skill-tools.ts +0 -194
  266. package/src/cli/mcp/tools.ts +0 -267
  267. package/src/cli/router.ts +0 -299
  268. package/src/cli/shared/animation.ts +0 -25
  269. package/src/cli/shared/args.ts +0 -269
  270. package/src/cli/shared/config.ts +0 -258
  271. package/src/cli/shared/constants.ts +0 -29
  272. package/src/cli/shared/ensure-content-processor.ts +0 -17
  273. package/src/cli/shared/handler-utils.ts +0 -17
  274. package/src/cli/shared/interactive.ts +0 -33
  275. package/src/cli/shared/json-output.ts +0 -96
  276. package/src/cli/shared/parsed-args.ts +0 -9
  277. package/src/cli/shared/project-source-context.ts +0 -96
  278. package/src/cli/shared/reserve-slug.ts +0 -114
  279. package/src/cli/shared/server-startup.ts +0 -119
  280. package/src/cli/shared/slug.ts +0 -12
  281. package/src/cli/shared/suggest.ts +0 -33
  282. package/src/cli/shared/types.ts +0 -36
  283. package/src/cli/shared/update-check.ts +0 -108
  284. package/src/cli/skills/core-skills.ts +0 -233
  285. package/src/cli/skills/loader.ts +0 -98
  286. package/src/cli/skills/types.ts +0 -44
  287. package/src/cli/sync/ignore.ts +0 -143
  288. package/src/cli/sync/index.ts +0 -21
  289. package/src/cli/sync/project-discovery.ts +0 -81
  290. package/src/cli/templates/feature-loader.ts +0 -201
  291. package/src/cli/templates/index.ts +0 -77
  292. package/src/cli/templates/integration-loader-helpers.ts +0 -49
  293. package/src/cli/templates/integration-loader.ts +0 -709
  294. package/src/cli/templates/loader.ts +0 -64
  295. package/src/cli/templates/manifest.js +0 -623
  296. package/src/cli/templates/types.ts +0 -78
  297. package/src/cli/ui/animated-text.ts +0 -89
  298. package/src/cli/ui/ansi.ts +0 -91
  299. package/src/cli/ui/box.ts +0 -1
  300. package/src/cli/ui/colors.ts +0 -240
  301. package/src/cli/ui/components/banner.ts +0 -170
  302. package/src/cli/ui/components/index.ts +0 -4
  303. package/src/cli/ui/components/multi-select.ts +0 -163
  304. package/src/cli/ui/components/shortcuts.ts +0 -30
  305. package/src/cli/ui/components/table.ts +0 -187
  306. package/src/cli/ui/constants.ts +0 -20
  307. package/src/cli/ui/dot-matrix.ts +0 -344
  308. package/src/cli/ui/index.ts +0 -7
  309. package/src/cli/ui/keyboard.ts +0 -138
  310. package/src/cli/ui/layout.ts +0 -142
  311. package/src/cli/ui/progress.ts +0 -246
  312. package/src/cli/ui/tui.ts +0 -311
  313. package/src/cli/utils/env-prompt.ts +0 -190
  314. package/src/cli/utils/fs.ts +0 -33
  315. package/src/cli/utils/git.ts +0 -58
  316. package/src/cli/utils/index.ts +0 -230
  317. package/src/cli/utils/package-manager.ts +0 -204
  318. package/src/cli/utils/project.ts +0 -16
  319. package/src/cli/utils/sanitize-job-output.ts +0 -23
  320. package/src/cli/utils/string.ts +0 -27
  321. package/src/cli/utils/terminal-select.ts +0 -371
  322. package/src/cli/utils/write-job-result.ts +0 -23
  323. package/src/deno.js +0 -429
  324. package/src/deps/esm.sh/@types/react-dom@19.2.3/client.d.ts +0 -105
  325. package/src/deps/esm.sh/@types/react-dom@19.2.3/server.d.ts +0 -183
  326. package/src/deps/esm.sh/@types/react-dom@19.2.3/static.d.ts +0 -153
  327. package/src/deps/esm.sh/@types/react@19.2.14/global.d.ts +0 -166
  328. package/src/deps/esm.sh/@types/react@19.2.14/index.d.ts +0 -4370
  329. package/src/deps/esm.sh/@types/react@19.2.14/jsx-dev-runtime.d.ts +0 -45
  330. package/src/deps/esm.sh/@types/react@19.2.14/jsx-runtime.d.ts +0 -36
  331. package/src/deps/esm.sh/@types/react@19.2.3/global.d.ts +0 -165
  332. package/src/deps/esm.sh/@types/react@19.2.3/index.d.ts +0 -4301
  333. package/src/deps/esm.sh/@types/scheduler@0.26.0/index.d.ts +0 -30
  334. package/src/deps/esm.sh/csstype@3.2.3/index.d.ts +0 -22569
  335. package/src/deps/esm.sh/react-dom@19.2.4/client.d.ts +0 -105
  336. package/src/deps/esm.sh/react-dom@19.2.4/client.js +0 -5
  337. package/src/deps/esm.sh/react-dom@19.2.4/server.d.ts +0 -183
  338. package/src/deps/esm.sh/react-dom@19.2.4/server.js +0 -5
  339. package/src/deps/esm.sh/react@19.2.4/jsx-dev-runtime.d.ts +0 -45
  340. package/src/deps/esm.sh/react@19.2.4/jsx-dev-runtime.js +0 -3
  341. package/src/deps/esm.sh/react@19.2.4/jsx-runtime.d.ts +0 -36
  342. package/src/deps/esm.sh/react@19.2.4/jsx-runtime.js +0 -3
  343. package/src/deps/esm.sh/react@19.2.4.d.ts +0 -4370
  344. package/src/deps/esm.sh/react@19.2.4.js +0 -3
  345. package/src/deps/esm.sh/scheduler@^0.27.0.d.ts +0 -30
  346. package/src/deps/esm.sh/scheduler@^0.27.0.js +0 -3
  347. package/src/deps/jsr.io/@std/assert/1.0.19/almost_equals.ts +0 -56
  348. package/src/deps/jsr.io/@std/assert/1.0.19/array_includes.ts +0 -76
  349. package/src/deps/jsr.io/@std/assert/1.0.19/assert.ts +0 -24
  350. package/src/deps/jsr.io/@std/assert/1.0.19/assertion_error.ts +0 -31
  351. package/src/deps/jsr.io/@std/assert/1.0.19/equal.ts +0 -226
  352. package/src/deps/jsr.io/@std/assert/1.0.19/equals.ts +0 -68
  353. package/src/deps/jsr.io/@std/assert/1.0.19/exists.ts +0 -31
  354. package/src/deps/jsr.io/@std/assert/1.0.19/fail.ts +0 -21
  355. package/src/deps/jsr.io/@std/assert/1.0.19/false.ts +0 -27
  356. package/src/deps/jsr.io/@std/assert/1.0.19/greater.ts +0 -30
  357. package/src/deps/jsr.io/@std/assert/1.0.19/greater_or_equal.ts +0 -36
  358. package/src/deps/jsr.io/@std/assert/1.0.19/instance_of.ts +0 -64
  359. package/src/deps/jsr.io/@std/assert/1.0.19/is_error.ts +0 -65
  360. package/src/deps/jsr.io/@std/assert/1.0.19/less.ts +0 -29
  361. package/src/deps/jsr.io/@std/assert/1.0.19/less_or_equal.ts +0 -36
  362. package/src/deps/jsr.io/@std/assert/1.0.19/match.ts +0 -30
  363. package/src/deps/jsr.io/@std/assert/1.0.19/mod.ts +0 -47
  364. package/src/deps/jsr.io/@std/assert/1.0.19/not_equals.ts +0 -43
  365. package/src/deps/jsr.io/@std/assert/1.0.19/not_instance_of.ts +0 -33
  366. package/src/deps/jsr.io/@std/assert/1.0.19/not_match.ts +0 -30
  367. package/src/deps/jsr.io/@std/assert/1.0.19/not_strict_equals.ts +0 -42
  368. package/src/deps/jsr.io/@std/assert/1.0.19/object_match.ts +0 -224
  369. package/src/deps/jsr.io/@std/assert/1.0.19/rejects.ts +0 -123
  370. package/src/deps/jsr.io/@std/assert/1.0.19/strict_equals.ts +0 -68
  371. package/src/deps/jsr.io/@std/assert/1.0.19/string_includes.ts +0 -30
  372. package/src/deps/jsr.io/@std/assert/1.0.19/throws.ts +0 -111
  373. package/src/deps/jsr.io/@std/assert/1.0.19/unimplemented.ts +0 -21
  374. package/src/deps/jsr.io/@std/assert/1.0.19/unreachable.ts +0 -21
  375. package/src/deps/jsr.io/@std/dotenv/0.225.6/mod.ts +0 -251
  376. package/src/deps/jsr.io/@std/dotenv/0.225.6/parse.ts +0 -110
  377. package/src/deps/jsr.io/@std/dotenv/0.225.6/stringify.ts +0 -48
  378. package/src/deps/jsr.io/@std/fmt/1.0.10/colors.ts +0 -1004
  379. package/src/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.ts +0 -47
  380. package/src/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.ts +0 -25
  381. package/src/deps/jsr.io/@std/fs/1.0.23/_is_same_path.ts +0 -23
  382. package/src/deps/jsr.io/@std/fs/1.0.23/_is_subdir.ts +0 -34
  383. package/src/deps/jsr.io/@std/fs/1.0.23/_to_path_string.ts +0 -17
  384. package/src/deps/jsr.io/@std/fs/1.0.23/copy.ts +0 -411
  385. package/src/deps/jsr.io/@std/fs/1.0.23/empty_dir.ts +0 -91
  386. package/src/deps/jsr.io/@std/fs/1.0.23/ensure_dir.ts +0 -110
  387. package/src/deps/jsr.io/@std/fs/1.0.23/ensure_file.ts +0 -100
  388. package/src/deps/jsr.io/@std/fs/1.0.23/ensure_link.ts +0 -66
  389. package/src/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.ts +0 -181
  390. package/src/deps/jsr.io/@std/fs/1.0.23/eol.ts +0 -75
  391. package/src/deps/jsr.io/@std/fs/1.0.23/exists.ts +0 -316
  392. package/src/deps/jsr.io/@std/fs/1.0.23/expand_glob.ts +0 -564
  393. package/src/deps/jsr.io/@std/fs/1.0.23/mod.ts +0 -31
  394. package/src/deps/jsr.io/@std/fs/1.0.23/move.ts +0 -171
  395. package/src/deps/jsr.io/@std/fs/1.0.23/walk.ts +0 -956
  396. package/src/deps/jsr.io/@std/internal/1.0.13/_os.ts +0 -15
  397. package/src/deps/jsr.io/@std/internal/1.0.13/assertion_state.ts +0 -248
  398. package/src/deps/jsr.io/@std/internal/1.0.13/build_message.ts +0 -147
  399. package/src/deps/jsr.io/@std/internal/1.0.13/diff.ts +0 -317
  400. package/src/deps/jsr.io/@std/internal/1.0.13/diff_str.ts +0 -208
  401. package/src/deps/jsr.io/@std/internal/1.0.13/format.ts +0 -89
  402. package/src/deps/jsr.io/@std/internal/1.0.13/os.ts +0 -7
  403. package/src/deps/jsr.io/@std/internal/1.0.13/styles.ts +0 -233
  404. package/src/deps/jsr.io/@std/internal/1.0.13/types.ts +0 -30
  405. package/src/deps/jsr.io/@std/path/1.1.4/_common/assert_path.ts +0 -10
  406. package/src/deps/jsr.io/@std/path/1.1.4/_common/basename.ts +0 -53
  407. package/src/deps/jsr.io/@std/path/1.1.4/_common/common.ts +0 -26
  408. package/src/deps/jsr.io/@std/path/1.1.4/_common/constants.ts +0 -49
  409. package/src/deps/jsr.io/@std/path/1.1.4/_common/dirname.ts +0 -9
  410. package/src/deps/jsr.io/@std/path/1.1.4/_common/format.ts +0 -25
  411. package/src/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.ts +0 -12
  412. package/src/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.ts +0 -295
  413. package/src/deps/jsr.io/@std/path/1.1.4/_common/normalize.ts +0 -9
  414. package/src/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.ts +0 -74
  415. package/src/deps/jsr.io/@std/path/1.1.4/_common/relative.ts +0 -10
  416. package/src/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.ts +0 -25
  417. package/src/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.ts +0 -17
  418. package/src/deps/jsr.io/@std/path/1.1.4/basename.ts +0 -37
  419. package/src/deps/jsr.io/@std/path/1.1.4/common.ts +0 -35
  420. package/src/deps/jsr.io/@std/path/1.1.4/constants.ts +0 -18
  421. package/src/deps/jsr.io/@std/path/1.1.4/dirname.ts +0 -30
  422. package/src/deps/jsr.io/@std/path/1.1.4/extname.ts +0 -29
  423. package/src/deps/jsr.io/@std/path/1.1.4/format.ts +0 -30
  424. package/src/deps/jsr.io/@std/path/1.1.4/from_file_url.ts +0 -30
  425. package/src/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.ts +0 -94
  426. package/src/deps/jsr.io/@std/path/1.1.4/is_absolute.ts +0 -30
  427. package/src/deps/jsr.io/@std/path/1.1.4/is_glob.ts +0 -49
  428. package/src/deps/jsr.io/@std/path/1.1.4/join.ts +0 -31
  429. package/src/deps/jsr.io/@std/path/1.1.4/join_globs.ts +0 -42
  430. package/src/deps/jsr.io/@std/path/1.1.4/mod.ts +0 -217
  431. package/src/deps/jsr.io/@std/path/1.1.4/normalize.ts +0 -33
  432. package/src/deps/jsr.io/@std/path/1.1.4/normalize_glob.ts +0 -45
  433. package/src/deps/jsr.io/@std/path/1.1.4/parse.ts +0 -44
  434. package/src/deps/jsr.io/@std/path/1.1.4/posix/_util.ts +0 -10
  435. package/src/deps/jsr.io/@std/path/1.1.4/posix/basename.ts +0 -62
  436. package/src/deps/jsr.io/@std/path/1.1.4/posix/common.ts +0 -26
  437. package/src/deps/jsr.io/@std/path/1.1.4/posix/constants.ts +0 -15
  438. package/src/deps/jsr.io/@std/path/1.1.4/posix/dirname.ts +0 -72
  439. package/src/deps/jsr.io/@std/path/1.1.4/posix/extname.ts +0 -96
  440. package/src/deps/jsr.io/@std/path/1.1.4/posix/format.ts +0 -31
  441. package/src/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.ts +0 -25
  442. package/src/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.ts +0 -94
  443. package/src/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.ts +0 -25
  444. package/src/deps/jsr.io/@std/path/1.1.4/posix/is_glob.ts +0 -4
  445. package/src/deps/jsr.io/@std/path/1.1.4/posix/join.ts +0 -46
  446. package/src/deps/jsr.io/@std/path/1.1.4/posix/join_globs.ts +0 -45
  447. package/src/deps/jsr.io/@std/path/1.1.4/posix/mod.ts +0 -44
  448. package/src/deps/jsr.io/@std/path/1.1.4/posix/normalize.ts +0 -63
  449. package/src/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.ts +0 -43
  450. package/src/deps/jsr.io/@std/path/1.1.4/posix/parse.ts +0 -121
  451. package/src/deps/jsr.io/@std/path/1.1.4/posix/relative.ts +0 -103
  452. package/src/deps/jsr.io/@std/path/1.1.4/posix/resolve.ts +0 -71
  453. package/src/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.ts +0 -32
  454. package/src/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.ts +0 -21
  455. package/src/deps/jsr.io/@std/path/1.1.4/relative.ts +0 -32
  456. package/src/deps/jsr.io/@std/path/1.1.4/resolve.ts +0 -32
  457. package/src/deps/jsr.io/@std/path/1.1.4/to_file_url.ts +0 -30
  458. package/src/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.ts +0 -31
  459. package/src/deps/jsr.io/@std/path/1.1.4/types.ts +0 -40
  460. package/src/deps/jsr.io/@std/path/1.1.4/windows/_util.ts +0 -28
  461. package/src/deps/jsr.io/@std/path/1.1.4/windows/basename.ts +0 -54
  462. package/src/deps/jsr.io/@std/path/1.1.4/windows/constants.ts +0 -15
  463. package/src/deps/jsr.io/@std/path/1.1.4/windows/dirname.ts +0 -118
  464. package/src/deps/jsr.io/@std/path/1.1.4/windows/extname.ts +0 -90
  465. package/src/deps/jsr.io/@std/path/1.1.4/windows/format.ts +0 -31
  466. package/src/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.ts +0 -34
  467. package/src/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.ts +0 -92
  468. package/src/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.ts +0 -40
  469. package/src/deps/jsr.io/@std/path/1.1.4/windows/join.ts +0 -78
  470. package/src/deps/jsr.io/@std/path/1.1.4/windows/join_globs.ts +0 -46
  471. package/src/deps/jsr.io/@std/path/1.1.4/windows/normalize.ts +0 -136
  472. package/src/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.ts +0 -43
  473. package/src/deps/jsr.io/@std/path/1.1.4/windows/parse.ts +0 -184
  474. package/src/deps/jsr.io/@std/path/1.1.4/windows/relative.ts +0 -128
  475. package/src/deps/jsr.io/@std/path/1.1.4/windows/resolve.ts +0 -178
  476. package/src/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.ts +0 -38
  477. package/src/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.ts +0 -60
  478. package/src/deps/jsr.io/@std/testing/1.0.18/_test_suite.ts +0 -461
  479. package/src/deps/jsr.io/@std/testing/1.0.18/bdd.ts +0 -1294
  480. package/src/deps/jsr.io/@std/yaml/1.1.0/_chars.ts +0 -55
  481. package/src/deps/jsr.io/@std/yaml/1.1.0/_loader_state.ts +0 -1845
  482. package/src/deps/jsr.io/@std/yaml/1.1.0/_schema.ts +0 -183
  483. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/binary.ts +0 -127
  484. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/bool.ts +0 -37
  485. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/float.ts +0 -112
  486. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/int.ts +0 -174
  487. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/map.ts +0 -17
  488. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/merge.ts +0 -13
  489. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/nil.ts +0 -27
  490. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/omap.ts +0 -30
  491. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/pairs.ts +0 -22
  492. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/regexp.ts +0 -33
  493. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/seq.ts +0 -13
  494. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/set.ts +0 -17
  495. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/str.ts +0 -12
  496. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/timestamp.ts +0 -101
  497. package/src/deps/jsr.io/@std/yaml/1.1.0/_type/undefined.ts +0 -23
  498. package/src/deps/jsr.io/@std/yaml/1.1.0/_type.ts +0 -49
  499. package/src/deps/jsr.io/@std/yaml/1.1.0/_utils.ts +0 -16
  500. package/src/deps/jsr.io/@std/yaml/1.1.0/parse.ts +0 -125
  501. package/src/extensions/ext-auth-jwt/src/index.ts +0 -200
  502. package/src/extensions/ext-bundler-esbuild/src/binary.ts +0 -154
  503. package/src/extensions/ext-bundler-esbuild/src/es-module-lexer.ts +0 -34
  504. package/src/extensions/ext-bundler-esbuild/src/esbuild-bundler.ts +0 -122
  505. package/src/extensions/ext-bundler-esbuild/src/index.ts +0 -46
  506. package/src/extensions/ext-bundler-esbuild/src/plugin-adapter.ts +0 -66
  507. package/src/extensions/ext-bundler-esbuild/src/runtime.ts +0 -54
  508. package/src/extensions/ext-content-mdx/src/compiler/markdown-compile.ts +0 -127
  509. package/src/extensions/ext-content-mdx/src/compiler/mdx-compile.ts +0 -82
  510. package/src/extensions/ext-content-mdx/src/index.ts +0 -66
  511. package/src/extensions/ext-content-mdx/src/plugins/plugin-loader.ts +0 -21
  512. package/src/extensions/ext-content-mdx/src/plugins/rehype-node-positions.ts +0 -67
  513. package/src/extensions/ext-content-mdx/src/plugins/remark-headings.ts +0 -93
  514. package/src/extensions/ext-content-mdx/src/plugins/remark-mdx-utils.ts +0 -246
  515. package/src/extensions/ext-css-tailwind/src/index.ts +0 -82
  516. package/src/extensions/ext-db-sqlite/src/index.ts +0 -47
  517. package/src/extensions/ext-document-kreuzberg/src/index.ts +0 -97
  518. package/src/extensions/ext-document-kreuzberg/src/kreuzberg.ts +0 -56
  519. package/src/extensions/ext-llm-anthropic/src/anthropic-provider.ts +0 -336
  520. package/src/extensions/ext-llm-anthropic/src/anthropic-request-builder.ts +0 -540
  521. package/src/extensions/ext-llm-anthropic/src/anthropic-stream.ts +0 -310
  522. package/src/extensions/ext-llm-anthropic/src/index.ts +0 -38
  523. package/src/extensions/ext-llm-google/src/google-provider.ts +0 -305
  524. package/src/extensions/ext-llm-google/src/google-request-builder.ts +0 -394
  525. package/src/extensions/ext-llm-google/src/google-stream.ts +0 -188
  526. package/src/extensions/ext-llm-google/src/index.ts +0 -35
  527. package/src/extensions/ext-llm-openai/src/index.ts +0 -37
  528. package/src/extensions/ext-llm-openai/src/openai-chat-request-builder.ts +0 -220
  529. package/src/extensions/ext-llm-openai/src/openai-chat-stream.ts +0 -251
  530. package/src/extensions/ext-llm-openai/src/openai-provider.ts +0 -577
  531. package/src/extensions/ext-llm-openai/src/openai-responses-request-builder.ts +0 -298
  532. package/src/extensions/ext-llm-openai/src/openai-responses-stream.ts +0 -226
  533. package/src/extensions/ext-observability-opentelemetry/src/index.ts +0 -291
  534. package/src/extensions/ext-parser-babel/src/index.ts +0 -111
  535. package/src/extensions/ext-parser-babel/src/inject-node-positions.ts +0 -184
  536. package/src/extensions/ext-sandbox-shell-tools/src/index.ts +0 -43
  537. package/src/extensions/ext-schema-zod/src/adapter.ts +0 -238
  538. package/src/extensions/ext-schema-zod/src/index.ts +0 -39
  539. package/src/extensions/ext-schema-zod/src/json-schema.ts +0 -311
  540. package/src/react/jsx-dev-runtime.ts +0 -1
  541. package/src/react/jsx-runtime.ts +0 -1
  542. package/src/react/react-dom-client.ts +0 -2
  543. package/src/react/react-dom-server.ts +0 -2
  544. package/src/react/react.ts +0 -274
  545. package/src/src/agent/ag-ui/browser-chunk-encoder.ts +0 -58
  546. package/src/src/agent/ag-ui/browser-encoder.ts +0 -538
  547. package/src/src/agent/ag-ui/browser-finalize-tracker.ts +0 -65
  548. package/src/src/agent/ag-ui/browser-response-stream.ts +0 -175
  549. package/src/src/agent/ag-ui/chat-ui-chunk-browser-encoder.ts +0 -172
  550. package/src/src/agent/ag-ui/chunk-encoder-bridge.ts +0 -34
  551. package/src/src/agent/ag-ui/detached-start.ts +0 -425
  552. package/src/src/agent/ag-ui/forwarded-context.ts +0 -83
  553. package/src/src/agent/ag-ui/handler.ts +0 -388
  554. package/src/src/agent/ag-ui/host-support.ts +0 -244
  555. package/src/src/agent/ag-ui/request-shared.ts +0 -76
  556. package/src/src/agent/ag-ui/run-control.ts +0 -145
  557. package/src/src/agent/ag-ui/runtime-browser-response.ts +0 -41
  558. package/src/src/agent/ag-ui/runtime-chat-stream-encoder.ts +0 -359
  559. package/src/src/agent/ag-ui/runtime-event-encoder.ts +0 -71
  560. package/src/src/agent/ag-ui/runtime-handler.ts +0 -510
  561. package/src/src/agent/ag-ui/runtime-support.ts +0 -64
  562. package/src/src/agent/ag-ui/sse-parser.ts +0 -306
  563. package/src/src/agent/ag-ui/tool-shared.ts +0 -80
  564. package/src/src/agent/ag-ui/tracked-browser-response.ts +0 -42
  565. package/src/src/agent/artifacts/default-research-artifact-policy.ts +0 -171
  566. package/src/src/agent/artifacts/default-research-artifact-support.ts +0 -374
  567. package/src/src/agent/artifacts/slash-command-artifact-policy.ts +0 -212
  568. package/src/src/agent/child-run/execution-cleanup.ts +0 -33
  569. package/src/src/agent/child-run/execution-snapshot.ts +0 -154
  570. package/src/src/agent/child-run/execution-support.ts +0 -29
  571. package/src/src/agent/child-run/final-step-support.ts +0 -51
  572. package/src/src/agent/child-run/invoke-agent-child-runs.ts +0 -198
  573. package/src/src/agent/child-run/result-summary.ts +0 -135
  574. package/src/src/agent/composition/composition.ts +0 -176
  575. package/src/src/agent/composition/index.ts +0 -19
  576. package/src/src/agent/conversation/bootstrap.ts +0 -335
  577. package/src/src/agent/conversation/delegation-policy.ts +0 -299
  578. package/src/src/agent/conversation/durable.ts +0 -1387
  579. package/src/src/agent/conversation/hosted-lifecycle.ts +0 -215
  580. package/src/src/agent/conversation/hosted-terminal.ts +0 -235
  581. package/src/src/agent/conversation/root-run-context.ts +0 -143
  582. package/src/src/agent/conversation/root-run-lifecycle.ts +0 -184
  583. package/src/src/agent/conversation/run-chunk-mirror.ts +0 -385
  584. package/src/src/agent/conversation/run-context.ts +0 -22
  585. package/src/src/agent/conversation/run-event-normalization.ts +0 -228
  586. package/src/src/agent/conversation/run-event-preparation.ts +0 -76
  587. package/src/src/agent/conversation/run-events.ts +0 -242
  588. package/src/src/agent/conversation/run-mirror.ts +0 -271
  589. package/src/src/agent/conversation/run-stream-mirror.ts +0 -63
  590. package/src/src/agent/factory.ts +0 -303
  591. package/src/src/agent/hosted/ag-ui-chat-request.ts +0 -199
  592. package/src/src/agent/hosted/agent-project-steering.ts +0 -141
  593. package/src/src/agent/hosted/agent-run-lifecycle.ts +0 -161
  594. package/src/src/agent/hosted/chat-execution-lifecycle-types.ts +0 -11
  595. package/src/src/agent/hosted/chat-execution-runtime.ts +0 -694
  596. package/src/src/agent/hosted/chat-preparation.ts +0 -357
  597. package/src/src/agent/hosted/chat-request-parser.ts +0 -209
  598. package/src/src/agent/hosted/chat-request.ts +0 -114
  599. package/src/src/agent/hosted/chat-runtime-agent-adapter.ts +0 -88
  600. package/src/src/agent/hosted/chat-runtime-contract.ts +0 -101
  601. package/src/src/agent/hosted/chat-runtime-tool-assembly.ts +0 -185
  602. package/src/src/agent/hosted/child-artifact-support.ts +0 -201
  603. package/src/src/agent/hosted/child-bootstrap.ts +0 -75
  604. package/src/src/agent/hosted/child-execution-logging.ts +0 -114
  605. package/src/src/agent/hosted/child-fork-execution-runner.ts +0 -396
  606. package/src/src/agent/hosted/child-fork-instructions.ts +0 -91
  607. package/src/src/agent/hosted/child-fork-run-context.ts +0 -309
  608. package/src/src/agent/hosted/child-fork-runtime-start.ts +0 -84
  609. package/src/src/agent/hosted/child-fork-step-message-preparation.ts +0 -96
  610. package/src/src/agent/hosted/child-fork-stream-execution.ts +0 -626
  611. package/src/src/agent/hosted/child-fork-tool-sources.ts +0 -231
  612. package/src/src/agent/hosted/child-invoke-tool.ts +0 -90
  613. package/src/src/agent/hosted/child-lifecycle.ts +0 -352
  614. package/src/src/agent/hosted/child-mirror.ts +0 -272
  615. package/src/src/agent/hosted/child-pending-tool-lifecycle.ts +0 -191
  616. package/src/src/agent/hosted/child-requested-tools.ts +0 -411
  617. package/src/src/agent/hosted/child-status.ts +0 -167
  618. package/src/src/agent/hosted/child-steering-tools.ts +0 -92
  619. package/src/src/agent/hosted/child-stream-watchdog.ts +0 -146
  620. package/src/src/agent/hosted/child-tool-input.ts +0 -91
  621. package/src/src/agent/hosted/cloud-chat-execution-preparation.ts +0 -98
  622. package/src/src/agent/hosted/cloud-prepared-chat-execution-runtime.ts +0 -36
  623. package/src/src/agent/hosted/cloud-runtime-system-messages.ts +0 -79
  624. package/src/src/agent/hosted/default-chat-runtime.ts +0 -329
  625. package/src/src/agent/hosted/default-invoke-agent-tool.ts +0 -581
  626. package/src/src/agent/hosted/default-project-steering-refresh.ts +0 -227
  627. package/src/src/agent/hosted/durable-chat-run-start.ts +0 -246
  628. package/src/src/agent/hosted/durable-child-fork-execution.ts +0 -597
  629. package/src/src/agent/hosted/finalized-message.ts +0 -170
  630. package/src/src/agent/hosted/form-input-tool.ts +0 -128
  631. package/src/src/agent/hosted/lifecycle.ts +0 -159
  632. package/src/src/agent/hosted/prepared-chat-execution.ts +0 -188
  633. package/src/src/agent/hosted/project-remote-tool-source.ts +0 -324
  634. package/src/src/agent/hosted/project-steering-adapter.ts +0 -184
  635. package/src/src/agent/hosted/response-stream.ts +0 -87
  636. package/src/src/agent/hosted/runtime-request-config.ts +0 -112
  637. package/src/src/agent/hosted/runtime-state-resolver.ts +0 -141
  638. package/src/src/agent/hosted/stream-finalization.ts +0 -188
  639. package/src/src/agent/hosted/stream-terminal-error.ts +0 -81
  640. package/src/src/agent/hosted/trace-attributes.ts +0 -196
  641. package/src/src/agent/hosted/veryfront-api-tool-access.ts +0 -293
  642. package/src/src/agent/hosted/veryfront-cloud-agent-service.ts +0 -1050
  643. package/src/src/agent/index.ts +0 -1770
  644. package/src/src/agent/input/human-input.ts +0 -353
  645. package/src/src/agent/input/request-protocol.ts +0 -279
  646. package/src/src/agent/memory/index.ts +0 -21
  647. package/src/src/agent/memory/memory-interface.ts +0 -65
  648. package/src/src/agent/memory/memory.ts +0 -263
  649. package/src/src/agent/memory/redis.ts +0 -168
  650. package/src/src/agent/middleware/cache/cache.ts +0 -318
  651. package/src/src/agent/middleware/cache/index.ts +0 -7
  652. package/src/src/agent/middleware/chain.ts +0 -62
  653. package/src/src/agent/middleware/cost-tracking/index.ts +0 -13
  654. package/src/src/agent/middleware/cost-tracking/tracker.ts +0 -351
  655. package/src/src/agent/middleware/index.ts +0 -33
  656. package/src/src/agent/middleware/rate-limit/index.ts +0 -12
  657. package/src/src/agent/middleware/rate-limit/limiter.ts +0 -197
  658. package/src/src/agent/middleware/security/index.ts +0 -14
  659. package/src/src/agent/middleware/security/validator.ts +0 -288
  660. package/src/src/agent/project/agent-runtime.ts +0 -139
  661. package/src/src/agent/project/context.ts +0 -63
  662. package/src/src/agent/project/live-studio-mcp-tools.ts +0 -153
  663. package/src/src/agent/project/steering-mutation.ts +0 -126
  664. package/src/src/agent/react/index.ts +0 -39
  665. package/src/src/agent/react/use-agent.ts +0 -133
  666. package/src/src/agent/react/use-chat/browser-inference/browser-engine.ts +0 -89
  667. package/src/src/agent/react/use-chat/browser-inference/types.ts +0 -52
  668. package/src/src/agent/react/use-chat/browser-inference/worker-client.ts +0 -87
  669. package/src/src/agent/react/use-chat/browser-inference/worker-script.ts +0 -98
  670. package/src/src/agent/react/use-chat/index.ts +0 -27
  671. package/src/src/agent/react/use-chat/stream-protocol.ts +0 -1
  672. package/src/src/agent/react/use-chat/streaming/handler.ts +0 -429
  673. package/src/src/agent/react/use-chat/streaming/index.ts +0 -15
  674. package/src/src/agent/react/use-chat/streaming/parts-builder.ts +0 -91
  675. package/src/src/agent/react/use-chat/streaming/types.ts +0 -41
  676. package/src/src/agent/react/use-chat/types.ts +0 -115
  677. package/src/src/agent/react/use-chat/use-chat.ts +0 -576
  678. package/src/src/agent/react/use-chat/utils.ts +0 -13
  679. package/src/src/agent/react/use-completion.ts +0 -133
  680. package/src/src/agent/react/use-streaming.ts +0 -120
  681. package/src/src/agent/react/use-voice-input.ts +0 -249
  682. package/src/src/agent/runtime/ag-ui-contract.ts +0 -224
  683. package/src/src/agent/runtime/agent-definition-files.ts +0 -155
  684. package/src/src/agent/runtime/agent-definition.ts +0 -166
  685. package/src/src/agent/runtime/agent-invocation-contract.ts +0 -360
  686. package/src/src/agent/runtime/agent-markdown-adapter.ts +0 -31
  687. package/src/src/agent/runtime/builtin-skill-files.ts +0 -122
  688. package/src/src/agent/runtime/chat-stream-handler.ts +0 -577
  689. package/src/src/agent/runtime/client-profile.ts +0 -123
  690. package/src/src/agent/runtime/constants.ts +0 -29
  691. package/src/src/agent/runtime/default-provider-options.ts +0 -52
  692. package/src/src/agent/runtime/defaults.ts +0 -12
  693. package/src/src/agent/runtime/error-utils.ts +0 -32
  694. package/src/src/agent/runtime/index.ts +0 -1478
  695. package/src/src/agent/runtime/input-utils.ts +0 -48
  696. package/src/src/agent/runtime/load-skill-tool.ts +0 -239
  697. package/src/src/agent/runtime/message-adapter.ts +0 -480
  698. package/src/src/agent/runtime/message-file-url-refresh.ts +0 -120
  699. package/src/src/agent/runtime/message-preparation.ts +0 -58
  700. package/src/src/agent/runtime/model-resolution.ts +0 -113
  701. package/src/src/agent/runtime/model-tool-converter.ts +0 -97
  702. package/src/src/agent/runtime/project-files-client.ts +0 -256
  703. package/src/src/agent/runtime/project-skill-catalog.ts +0 -238
  704. package/src/src/agent/runtime/project-skill-loader.ts +0 -217
  705. package/src/src/agent/runtime/prompt-block.ts +0 -19
  706. package/src/src/agent/runtime/provider-native-tool-inventory.ts +0 -74
  707. package/src/src/agent/runtime/provider-native-tools.ts +0 -130
  708. package/src/src/agent/runtime/provider-tool-compat.ts +0 -304
  709. package/src/src/agent/runtime/repair-tool-call.ts +0 -50
  710. package/src/src/agent/runtime/resume-session.ts +0 -353
  711. package/src/src/agent/runtime/runtime-tool-builder.ts +0 -82
  712. package/src/src/agent/runtime/runtime-tool-errors.ts +0 -46
  713. package/src/src/agent/runtime/runtime-tool-types.ts +0 -121
  714. package/src/src/agent/runtime/skill-metadata.ts +0 -260
  715. package/src/src/agent/runtime/skill-prompt.ts +0 -61
  716. package/src/src/agent/runtime/sse-utils.ts +0 -51
  717. package/src/src/agent/runtime/text-generation-runtime-message-converter.ts +0 -269
  718. package/src/src/agent/runtime/text-generation-runtime-message-types.ts +0 -62
  719. package/src/src/agent/runtime/tool-helpers.ts +0 -428
  720. package/src/src/agent/runtime/tool-inventory.ts +0 -46
  721. package/src/src/agent/runtime/upload-url-client.ts +0 -95
  722. package/src/src/agent/schemas/agent.schema.ts +0 -181
  723. package/src/src/agent/schemas/index.ts +0 -38
  724. package/src/src/agent/schemas/tool.schema.ts +0 -11
  725. package/src/src/agent/service/abort-rejection-guard.ts +0 -162
  726. package/src/src/agent/service/auth.ts +0 -427
  727. package/src/src/agent/service/bootstrap.ts +0 -79
  728. package/src/src/agent/service/chat-handler.ts +0 -508
  729. package/src/src/agent/service/config.ts +0 -107
  730. package/src/src/agent/service/definition.ts +0 -386
  731. package/src/src/agent/service/detached-run-tracker.ts +0 -169
  732. package/src/src/agent/service/env-files.ts +0 -60
  733. package/src/src/agent/service/external-worker-client.ts +0 -401
  734. package/src/src/agent/service/mcp-server-config.ts +0 -112
  735. package/src/src/agent/service/node-runtime-infrastructure.ts +0 -71
  736. package/src/src/agent/service/node-telemetry.ts +0 -197
  737. package/src/src/agent/service/registration.ts +0 -395
  738. package/src/src/agent/service/request-auth-cache.ts +0 -36
  739. package/src/src/agent/service/response-like.ts +0 -28
  740. package/src/src/agent/service/routes.ts +0 -386
  741. package/src/src/agent/service/runtime.ts +0 -303
  742. package/src/src/agent/service/server.ts +0 -98
  743. package/src/src/agent/streaming/chat-ui-message-stream.ts +0 -596
  744. package/src/src/agent/streaming/data-stream.ts +0 -209
  745. package/src/src/agent/streaming/fork-runtime-stream.ts +0 -1187
  746. package/src/src/agent/streaming/mirrored-tool-chunk-state.ts +0 -276
  747. package/src/src/agent/streaming/tool-execution-data-event-bridge.ts +0 -79
  748. package/src/src/agent/testing/agent-tester.ts +0 -202
  749. package/src/src/agent/testing/durable-run-canaries/cli-runner.ts +0 -117
  750. package/src/src/agent/testing/durable-run-canaries/environment.ts +0 -27
  751. package/src/src/agent/testing/durable-run-canaries/index.ts +0 -36
  752. package/src/src/agent/testing/durable-run-canaries/runner.ts +0 -585
  753. package/src/src/agent/testing/durable-run-canaries/validation.ts +0 -87
  754. package/src/src/agent/testing/index.ts +0 -128
  755. package/src/src/agent/testing/live-evals/api-client.ts +0 -568
  756. package/src/src/agent/testing/live-evals/cli-runner.ts +0 -234
  757. package/src/src/agent/testing/live-evals/environment.ts +0 -31
  758. package/src/src/agent/testing/live-evals/formatting.ts +0 -106
  759. package/src/src/agent/testing/live-evals/index.ts +0 -99
  760. package/src/src/agent/testing/live-evals/metadata.ts +0 -167
  761. package/src/src/agent/testing/live-evals/performance.ts +0 -52
  762. package/src/src/agent/testing/live-evals/preflight.ts +0 -42
  763. package/src/src/agent/testing/live-evals/report.ts +0 -155
  764. package/src/src/agent/testing/live-evals/request.ts +0 -78
  765. package/src/src/agent/testing/live-evals/result.ts +0 -109
  766. package/src/src/agent/testing/live-evals/runner.ts +0 -629
  767. package/src/src/agent/types.ts +0 -275
  768. package/src/src/build/asset-pipeline/css-optimizer/types/index.ts +0 -92
  769. package/src/src/build/asset-pipeline/tailwind-processor/css-utils.ts +0 -13
  770. package/src/src/build/binary-plugin-includes.ts +0 -17
  771. package/src/src/build/bundler/code-splitter/build-context.ts +0 -97
  772. package/src/src/build/bundler/code-splitter/entry-points.ts +0 -31
  773. package/src/src/build/bundler/code-splitter/esbuild-plugin.ts +0 -38
  774. package/src/src/build/bundler/code-splitter/index.ts +0 -80
  775. package/src/src/build/bundler/code-splitter/manifest-builder.ts +0 -140
  776. package/src/src/build/bundler/code-splitter/splitter.ts +0 -98
  777. package/src/src/build/bundler/code-splitter/types.ts +0 -46
  778. package/src/src/build/bundler/index.ts +0 -39
  779. package/src/src/build/compiler/index.ts +0 -17
  780. package/src/src/build/compiler/mdx-compiler/code-generator.ts +0 -16
  781. package/src/src/build/compiler/mdx-compiler/compiler.ts +0 -53
  782. package/src/src/build/compiler/mdx-compiler/directory-compiler.ts +0 -39
  783. package/src/src/build/compiler/mdx-compiler/file-writer.ts +0 -25
  784. package/src/src/build/compiler/mdx-compiler/frontmatter-parser.ts +0 -94
  785. package/src/src/build/compiler/mdx-compiler/import-transformer.ts +0 -27
  786. package/src/src/build/compiler/mdx-compiler/index.ts +0 -10
  787. package/src/src/build/compiler/mdx-compiler/mdx-processor.ts +0 -32
  788. package/src/src/build/compiler/mdx-compiler/transpiler.ts +0 -15
  789. package/src/src/build/compiler/mdx-compiler/types.ts +0 -21
  790. package/src/src/build/compiler/mdx-compiler/validator.ts +0 -52
  791. package/src/src/build/compiler/mdx-compiler/watcher.ts +0 -57
  792. package/src/src/build/compiler/mdx-to-js.ts +0 -143
  793. package/src/src/build/embedded/preset.ts +0 -326
  794. package/src/src/build/index.ts +0 -11
  795. package/src/src/build/production-build/asset-generation.ts +0 -178
  796. package/src/src/build/production-build/build/build-cleanup.ts +0 -31
  797. package/src/src/build/production-build/build/build-executor.ts +0 -50
  798. package/src/src/build/production-build/build/build-initializer.ts +0 -58
  799. package/src/src/build/production-build/build/build-orchestrator.ts +0 -140
  800. package/src/src/build/production-build/build/build-setup.ts +0 -47
  801. package/src/src/build/production-build/build/code-splitter-orchestrator.ts +0 -43
  802. package/src/src/build/production-build/build/index.ts +0 -58
  803. package/src/src/build/production-build/build/output-generator.ts +0 -142
  804. package/src/src/build/production-build/build/route-collector.ts +0 -46
  805. package/src/src/build/production-build/client-runtime.ts +0 -376
  806. package/src/src/build/production-build/index.ts +0 -51
  807. package/src/src/build/production-build/manifest.ts +0 -126
  808. package/src/src/build/production-build/static-generation.ts +0 -256
  809. package/src/src/build/production-build/templates.ts +0 -17
  810. package/src/src/build/renderer/types/bundler-types.ts +0 -12
  811. package/src/src/cache/backend.ts +0 -32
  812. package/src/src/cache/backends/api.ts +0 -226
  813. package/src/src/cache/backends/disk.ts +0 -150
  814. package/src/src/cache/backends/factory.ts +0 -209
  815. package/src/src/cache/backends/helpers.ts +0 -7
  816. package/src/src/cache/backends/index.ts +0 -30
  817. package/src/src/cache/backends/memory.ts +0 -180
  818. package/src/src/cache/backends/redis.ts +0 -134
  819. package/src/src/cache/cache-key-builder.ts +0 -125
  820. package/src/src/cache/config-hash.ts +0 -64
  821. package/src/src/cache/dependency-graph.ts +0 -208
  822. package/src/src/cache/distributed-cache-init.ts +0 -144
  823. package/src/src/cache/index.ts +0 -37
  824. package/src/src/cache/keys/builders/file.ts +0 -70
  825. package/src/src/cache/keys/builders/github.ts +0 -34
  826. package/src/src/cache/keys/builders/module.ts +0 -94
  827. package/src/src/cache/keys/builders/render.ts +0 -125
  828. package/src/src/cache/keys/index.ts +0 -94
  829. package/src/src/cache/keys/prefixes.ts +0 -127
  830. package/src/src/cache/keys/utils.ts +0 -236
  831. package/src/src/cache/keys.ts +0 -7
  832. package/src/src/cache/module-cache.ts +0 -242
  833. package/src/src/cache/paths.ts +0 -140
  834. package/src/src/cache/registry.ts +0 -587
  835. package/src/src/cache/request-cache-batcher.ts +0 -144
  836. package/src/src/cache/schemas/cache-backend.schema.ts +0 -22
  837. package/src/src/cache/schemas/cache-key.schema.ts +0 -17
  838. package/src/src/cache/schemas/index.ts +0 -14
  839. package/src/src/cache/tokenizing-gateway.ts +0 -278
  840. package/src/src/cache/types.ts +0 -67
  841. package/src/src/channels/control-plane.ts +0 -455
  842. package/src/src/channels/invoke.ts +0 -447
  843. package/src/src/chat/ag-ui-helpers.ts +0 -139
  844. package/src/src/chat/ag-ui.ts +0 -882
  845. package/src/src/chat/chat-ui-message-helpers.ts +0 -232
  846. package/src/src/chat/conversation.ts +0 -941
  847. package/src/src/chat/final-step-fallback.ts +0 -957
  848. package/src/src/chat/hosted-ui-chunk-mapping.ts +0 -303
  849. package/src/src/chat/index.ts +0 -275
  850. package/src/src/chat/message-prep.ts +0 -873
  851. package/src/src/chat/protocol.ts +0 -358
  852. package/src/src/chat/provider-errors.ts +0 -218
  853. package/src/src/chat/stream-watchdog.ts +0 -229
  854. package/src/src/chat/types.ts +0 -632
  855. package/src/src/config/defaults.ts +0 -73
  856. package/src/src/config/define-config.ts +0 -68
  857. package/src/src/config/env.ts +0 -197
  858. package/src/src/config/environment-config.ts +0 -274
  859. package/src/src/config/index.ts +0 -69
  860. package/src/src/config/loader.ts +0 -528
  861. package/src/src/config/network-defaults.ts +0 -55
  862. package/src/src/config/runtime-config.ts +0 -216
  863. package/src/src/config/schemas/config.schema.ts +0 -695
  864. package/src/src/config/schemas/index.ts +0 -27
  865. package/src/src/data/data-fetcher.ts +0 -80
  866. package/src/src/data/data-fetching-cache.ts +0 -57
  867. package/src/src/data/helpers.ts +0 -9
  868. package/src/src/data/index.ts +0 -17
  869. package/src/src/data/schemas/data.schema.ts +0 -70
  870. package/src/src/data/schemas/index.ts +0 -20
  871. package/src/src/data/server-data-fetcher.ts +0 -185
  872. package/src/src/data/static-data-fetcher.ts +0 -310
  873. package/src/src/data/static-paths-fetcher.ts +0 -35
  874. package/src/src/data/types.ts +0 -28
  875. package/src/src/discovery/discovery-engine.ts +0 -229
  876. package/src/src/discovery/discovery-utils.ts +0 -44
  877. package/src/src/discovery/file-discovery.ts +0 -109
  878. package/src/src/discovery/handlers/agent-handler.ts +0 -30
  879. package/src/src/discovery/handlers/index.ts +0 -13
  880. package/src/src/discovery/handlers/prompt-handler.ts +0 -21
  881. package/src/src/discovery/handlers/resource-handler.ts +0 -22
  882. package/src/src/discovery/handlers/runtime-agent-markdown-handler.ts +0 -78
  883. package/src/src/discovery/handlers/skill-handler.ts +0 -123
  884. package/src/src/discovery/handlers/task-handler.ts +0 -19
  885. package/src/src/discovery/handlers/tool-handler.ts +0 -32
  886. package/src/src/discovery/handlers/workflow-handler.ts +0 -23
  887. package/src/src/discovery/import-rewriter.ts +0 -209
  888. package/src/src/discovery/index.ts +0 -34
  889. package/src/src/discovery/module-import.ts +0 -36
  890. package/src/src/discovery/project-discovery-config.ts +0 -89
  891. package/src/src/discovery/provider-config-validator.ts +0 -33
  892. package/src/src/discovery/transpiler.ts +0 -244
  893. package/src/src/discovery/types.ts +0 -69
  894. package/src/src/embedding/chunk.ts +0 -66
  895. package/src/src/embedding/embedding.ts +0 -67
  896. package/src/src/embedding/index.ts +0 -50
  897. package/src/src/embedding/model-resolution.ts +0 -46
  898. package/src/src/embedding/rag-store.ts +0 -432
  899. package/src/src/embedding/react/use-uploads.ts +0 -102
  900. package/src/src/embedding/resolve.ts +0 -157
  901. package/src/src/embedding/types.ts +0 -115
  902. package/src/src/embedding/upload-handler.ts +0 -287
  903. package/src/src/embedding/upload-loader.ts +0 -85
  904. package/src/src/embedding/vector-store.ts +0 -283
  905. package/src/src/embedding/veryfront-cloud/provider.ts +0 -55
  906. package/src/src/embedding/veryfront-cloud/rag-store.ts +0 -600
  907. package/src/src/errors/catalog/build-errors.ts +0 -98
  908. package/src/src/errors/catalog/config-errors.ts +0 -105
  909. package/src/src/errors/catalog/deployment-errors.ts +0 -44
  910. package/src/src/errors/catalog/dev-errors.ts +0 -40
  911. package/src/src/errors/catalog/factory.ts +0 -24
  912. package/src/src/errors/catalog/general-errors.ts +0 -71
  913. package/src/src/errors/catalog/index.ts +0 -64
  914. package/src/src/errors/catalog/module-errors.ts +0 -106
  915. package/src/src/errors/catalog/route-errors.ts +0 -69
  916. package/src/src/errors/catalog/rsc-errors.ts +0 -82
  917. package/src/src/errors/catalog/runtime-errors.ts +0 -96
  918. package/src/src/errors/catalog/server-errors.ts +0 -95
  919. package/src/src/errors/catalog/types.ts +0 -15
  920. package/src/src/errors/error-context.ts +0 -172
  921. package/src/src/errors/error-handlers.ts +0 -85
  922. package/src/src/errors/error-registry-helpers.ts +0 -23
  923. package/src/src/errors/error-registry.ts +0 -824
  924. package/src/src/errors/http-error.ts +0 -157
  925. package/src/src/errors/index.ts +0 -197
  926. package/src/src/errors/logging.ts +0 -109
  927. package/src/src/errors/middleware/cli-error-boundary.ts +0 -248
  928. package/src/src/errors/middleware/http-error-boundary.ts +0 -133
  929. package/src/src/errors/middleware/index.ts +0 -13
  930. package/src/src/errors/middleware/wrap-unknown.ts +0 -117
  931. package/src/src/errors/tracing.ts +0 -90
  932. package/src/src/errors/types.ts +0 -147
  933. package/src/src/errors/user-friendly/error-catalog.ts +0 -126
  934. package/src/src/errors/user-friendly/error-formatter.ts +0 -93
  935. package/src/src/errors/user-friendly/error-identifier.ts +0 -41
  936. package/src/src/errors/user-friendly/error-wrapper.ts +0 -26
  937. package/src/src/errors/user-friendly/index.ts +0 -10
  938. package/src/src/errors/veryfront-error.ts +0 -148
  939. package/src/src/extensions/auth/auth-provider.ts +0 -96
  940. package/src/src/extensions/auth/index.ts +0 -15
  941. package/src/src/extensions/builtin-extensions.ts +0 -161
  942. package/src/src/extensions/bundler/bundler.ts +0 -289
  943. package/src/src/extensions/bundler/helper.ts +0 -58
  944. package/src/src/extensions/bundler/index.ts +0 -49
  945. package/src/src/extensions/bundler/module-lexer.ts +0 -46
  946. package/src/src/extensions/cache/cache-store.ts +0 -27
  947. package/src/src/extensions/cache/index.ts +0 -10
  948. package/src/src/extensions/cache/token-cache-store.ts +0 -58
  949. package/src/src/extensions/capabilities.ts +0 -93
  950. package/src/src/extensions/compat/index.ts +0 -15
  951. package/src/src/extensions/compat/native-services.ts +0 -83
  952. package/src/src/extensions/content/content-processor.ts +0 -98
  953. package/src/src/extensions/content/index.ts +0 -17
  954. package/src/src/extensions/contracts.ts +0 -42
  955. package/src/src/extensions/css/css-processor.ts +0 -61
  956. package/src/src/extensions/css/index.ts +0 -15
  957. package/src/src/extensions/database/database-client.ts +0 -35
  958. package/src/src/extensions/database/index.ts +0 -9
  959. package/src/src/extensions/discovery.ts +0 -250
  960. package/src/src/extensions/errors.ts +0 -39
  961. package/src/src/extensions/factory-loader.ts +0 -76
  962. package/src/src/extensions/index.ts +0 -91
  963. package/src/src/extensions/llm/embedding-provider.ts +0 -39
  964. package/src/src/extensions/llm/index.ts +0 -17
  965. package/src/src/extensions/llm/llm-provider-registry.ts +0 -50
  966. package/src/src/extensions/llm/llm-provider.ts +0 -54
  967. package/src/src/extensions/loader.ts +0 -282
  968. package/src/src/extensions/observability/index.ts +0 -17
  969. package/src/src/extensions/observability/node-telemetry-provider.ts +0 -45
  970. package/src/src/extensions/observability/tracing-exporter.ts +0 -77
  971. package/src/src/extensions/orchestrate.ts +0 -194
  972. package/src/src/extensions/parser/code-parser.ts +0 -96
  973. package/src/src/extensions/parser/index.ts +0 -18
  974. package/src/src/extensions/recommendations.ts +0 -30
  975. package/src/src/extensions/sandbox/index.ts +0 -18
  976. package/src/src/extensions/sandbox/shell-tools.ts +0 -42
  977. package/src/src/extensions/schema/index.ts +0 -28
  978. package/src/src/extensions/schema/json-schema.ts +0 -23
  979. package/src/src/extensions/schema/schema-validator.ts +0 -257
  980. package/src/src/extensions/types.ts +0 -68
  981. package/src/src/extensions/validation.ts +0 -188
  982. package/src/src/fs/index.ts +0 -51
  983. package/src/src/html/dev-scripts.ts +0 -92
  984. package/src/src/html/html-detection.ts +0 -8
  985. package/src/src/html/html-escape.ts +0 -20
  986. package/src/src/html/html-injection.ts +0 -174
  987. package/src/src/html/html-shell-generator.ts +0 -427
  988. package/src/src/html/hydration-script-builder/dev-client-renderer.ts +0 -18
  989. package/src/src/html/hydration-script-builder/dev-component-manifest.ts +0 -15
  990. package/src/src/html/hydration-script-builder/dev-error-logger.ts +0 -58
  991. package/src/src/html/hydration-script-builder/dev-scripts.ts +0 -47
  992. package/src/src/html/hydration-script-builder/hydration-data-generator.ts +0 -79
  993. package/src/src/html/hydration-script-builder/index.ts +0 -21
  994. package/src/src/html/hydration-script-builder/prod-hydration.ts +0 -41
  995. package/src/src/html/hydration-script-builder/prod-scripts.ts +0 -25
  996. package/src/src/html/hydration-script-builder/templates/index.ts +0 -10
  997. package/src/src/html/hydration-script-builder/templates/loader.ts +0 -107
  998. package/src/src/html/hydration-script-builder/templates/renderer.ts +0 -166
  999. package/src/src/html/hydration-script-builder/templates/router.ts +0 -679
  1000. package/src/src/html/hydration-script-builder/templates/spa-renderer.ts +0 -103
  1001. package/src/src/html/hydration-script-builder/types.ts +0 -29
  1002. package/src/src/html/index.ts +0 -35
  1003. package/src/src/html/metadata-builder.ts +0 -46
  1004. package/src/src/html/metadata-extraction.ts +0 -54
  1005. package/src/src/html/nonce-injection.ts +0 -330
  1006. package/src/src/html/schemas/html.schema.ts +0 -88
  1007. package/src/src/html/schemas/index.ts +0 -15
  1008. package/src/src/html/styles-builder/candidate-extractor.ts +0 -71
  1009. package/src/src/html/styles-builder/content-version.ts +0 -20
  1010. package/src/src/html/styles-builder/css-hash-cache.ts +0 -393
  1011. package/src/src/html/styles-builder/css-pregeneration.ts +0 -331
  1012. package/src/src/html/styles-builder/dev-styles.ts +0 -23
  1013. package/src/src/html/styles-builder/index.ts +0 -21
  1014. package/src/src/html/styles-builder/plugin-loader.ts +0 -252
  1015. package/src/src/html/styles-builder/prepared-project-css-cache.ts +0 -228
  1016. package/src/src/html/styles-builder/project-css-cache.ts +0 -321
  1017. package/src/src/html/styles-builder/style-scope-profile.ts +0 -164
  1018. package/src/src/html/styles-builder/tailwind-compiler-cache.ts +0 -231
  1019. package/src/src/html/styles-builder/tailwind-compiler-utils.ts +0 -199
  1020. package/src/src/html/styles-builder/tailwind-compiler.ts +0 -276
  1021. package/src/src/html/styles-builder/tailwind-plugin-allowlist.ts +0 -51
  1022. package/src/src/html/tag-generators.ts +0 -120
  1023. package/src/src/html/types.ts +0 -5
  1024. package/src/src/html/utils.ts +0 -327
  1025. package/src/src/index.ts +0 -78
  1026. package/src/src/integrations/_data.ts +0 -82
  1027. package/src/src/integrations/index.ts +0 -72
  1028. package/src/src/integrations/remote-tools.ts +0 -243
  1029. package/src/src/integrations/schema.ts +0 -204
  1030. package/src/src/integrations/types.ts +0 -62
  1031. package/src/src/internal-agents/ag-ui-sse.ts +0 -141
  1032. package/src/src/internal-agents/control-plane-auth.ts +0 -92
  1033. package/src/src/internal-agents/request-body.ts +0 -43
  1034. package/src/src/internal-agents/run-stream.ts +0 -422
  1035. package/src/src/internal-agents/runtime-owner.ts +0 -189
  1036. package/src/src/internal-agents/schema.ts +0 -347
  1037. package/src/src/internal-agents/session-manager.ts +0 -206
  1038. package/src/src/issues/core.ts +0 -385
  1039. package/src/src/issues/index.ts +0 -46
  1040. package/src/src/issues/mcp.ts +0 -289
  1041. package/src/src/issues/schemas/index.ts +0 -45
  1042. package/src/src/issues/schemas/issue.schema.ts +0 -152
  1043. package/src/src/jobs/index.ts +0 -101
  1044. package/src/src/jobs/jobs-client.ts +0 -503
  1045. package/src/src/jobs/runtime-env.ts +0 -106
  1046. package/src/src/jobs/schemas.ts +0 -429
  1047. package/src/src/markdown/index.ts +0 -20
  1048. package/src/src/mcp/annotations.ts +0 -10
  1049. package/src/src/mcp/elicitation.ts +0 -42
  1050. package/src/src/mcp/http-transport.ts +0 -162
  1051. package/src/src/mcp/index.ts +0 -65
  1052. package/src/src/mcp/registry.ts +0 -41
  1053. package/src/src/mcp/schemas/index.ts +0 -16
  1054. package/src/src/mcp/schemas/mcp.schema.ts +0 -59
  1055. package/src/src/mcp/server.ts +0 -790
  1056. package/src/src/mcp/session.ts +0 -31
  1057. package/src/src/mcp/sse.ts +0 -19
  1058. package/src/src/mcp/task-store.ts +0 -137
  1059. package/src/src/mcp/types.ts +0 -39
  1060. package/src/src/mdx/index.ts +0 -23
  1061. package/src/src/middleware/builtin/logger.ts +0 -246
  1062. package/src/src/middleware/builtin/security/rate-limit.ts +0 -123
  1063. package/src/src/middleware/builtin/security/redis-rate-limit.ts +0 -109
  1064. package/src/src/middleware/builtin/security/types.ts +0 -34
  1065. package/src/src/middleware/builtin/timeout.ts +0 -104
  1066. package/src/src/middleware/builtin/types.ts +0 -38
  1067. package/src/src/middleware/core/context.ts +0 -60
  1068. package/src/src/middleware/core/index.ts +0 -16
  1069. package/src/src/middleware/core/pipeline/composer.ts +0 -36
  1070. package/src/src/middleware/core/pipeline/executor.ts +0 -67
  1071. package/src/src/middleware/core/pipeline/index.ts +0 -10
  1072. package/src/src/middleware/core/pipeline/pipeline.ts +0 -97
  1073. package/src/src/middleware/core/pipeline/types.ts +0 -1
  1074. package/src/src/middleware/core/types.ts +0 -27
  1075. package/src/src/middleware/index.ts +0 -67
  1076. package/src/src/modules/component-registry/index.ts +0 -8
  1077. package/src/src/modules/component-registry/registry.ts +0 -246
  1078. package/src/src/modules/import-map/default-import-map.ts +0 -62
  1079. package/src/src/modules/import-map/index.ts +0 -14
  1080. package/src/src/modules/import-map/loader.ts +0 -173
  1081. package/src/src/modules/import-map/merger.ts +0 -19
  1082. package/src/src/modules/import-map/preloader.ts +0 -47
  1083. package/src/src/modules/import-map/resolver.ts +0 -106
  1084. package/src/src/modules/import-map/transformer.ts +0 -49
  1085. package/src/src/modules/import-map/types.ts +0 -8
  1086. package/src/src/modules/index.ts +0 -43
  1087. package/src/src/modules/loader-shared/patterns.ts +0 -40
  1088. package/src/src/modules/manifest/route-module-manifest.ts +0 -241
  1089. package/src/src/modules/module-resolver.ts +0 -145
  1090. package/src/src/modules/react-loader/component-loader.ts +0 -90
  1091. package/src/src/modules/react-loader/css-import-collector.ts +0 -50
  1092. package/src/src/modules/react-loader/extract-component.ts +0 -33
  1093. package/src/src/modules/react-loader/index.ts +0 -14
  1094. package/src/src/modules/react-loader/path-resolver.ts +0 -27
  1095. package/src/src/modules/react-loader/ssr-module-loader/cache/index.ts +0 -27
  1096. package/src/src/modules/react-loader/ssr-module-loader/cache/memory.ts +0 -278
  1097. package/src/src/modules/react-loader/ssr-module-loader/cache/redis.ts +0 -65
  1098. package/src/src/modules/react-loader/ssr-module-loader/concurrency/index.ts +0 -7
  1099. package/src/src/modules/react-loader/ssr-module-loader/concurrency/semaphore.ts +0 -67
  1100. package/src/src/modules/react-loader/ssr-module-loader/constants.ts +0 -64
  1101. package/src/src/modules/react-loader/ssr-module-loader/cross-project-import-loader.ts +0 -152
  1102. package/src/src/modules/react-loader/ssr-module-loader/http-bundle-helpers.ts +0 -196
  1103. package/src/src/modules/react-loader/ssr-module-loader/import-rewriter.ts +0 -170
  1104. package/src/src/modules/react-loader/ssr-module-loader/index.ts +0 -48
  1105. package/src/src/modules/react-loader/ssr-module-loader/loader-helpers.ts +0 -37
  1106. package/src/src/modules/react-loader/ssr-module-loader/loader.ts +0 -685
  1107. package/src/src/modules/react-loader/ssr-module-loader/preflight-imports.ts +0 -45
  1108. package/src/src/modules/react-loader/ssr-module-loader/ssr-cache-manager.ts +0 -318
  1109. package/src/src/modules/react-loader/ssr-module-loader/ssr-circuit-breaker.ts +0 -75
  1110. package/src/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.ts +0 -172
  1111. package/src/src/modules/react-loader/ssr-module-loader/tmp-paths.ts +0 -44
  1112. package/src/src/modules/react-loader/ssr-module-loader/types.ts +0 -42
  1113. package/src/src/modules/react-loader/ssr-module-loader/vf-module-resolver.ts +0 -117
  1114. package/src/src/modules/react-loader/temp-directory.ts +0 -58
  1115. package/src/src/modules/react-loader/types.ts +0 -26
  1116. package/src/src/modules/react-loader/unified-loader.ts +0 -134
  1117. package/src/src/modules/server/api-server.ts +0 -57
  1118. package/src/src/modules/server/index.ts +0 -15
  1119. package/src/src/modules/server/module-batch-handler.ts +0 -450
  1120. package/src/src/modules/server/module-server.ts +0 -697
  1121. package/src/src/modules/server/rate-limiter.ts +0 -26
  1122. package/src/src/modules/server/ssr-import-rewriter.ts +0 -116
  1123. package/src/src/modules/server/websocket-handler.ts +0 -133
  1124. package/src/src/oauth/handlers/callback-handler.ts +0 -176
  1125. package/src/src/oauth/handlers/index.ts +0 -18
  1126. package/src/src/oauth/handlers/init-handler.ts +0 -237
  1127. package/src/src/oauth/index.ts +0 -83
  1128. package/src/src/oauth/providers/atlassian.ts +0 -67
  1129. package/src/src/oauth/providers/base.ts +0 -410
  1130. package/src/src/oauth/providers/common.ts +0 -361
  1131. package/src/src/oauth/providers/google.ts +0 -71
  1132. package/src/src/oauth/providers/index.ts +0 -66
  1133. package/src/src/oauth/providers/microsoft.ts +0 -85
  1134. package/src/src/oauth/schemas/index.ts +0 -22
  1135. package/src/src/oauth/schemas/oauth.schema.ts +0 -106
  1136. package/src/src/oauth/token-store/index.ts +0 -8
  1137. package/src/src/oauth/token-store/memory.ts +0 -92
  1138. package/src/src/oauth/types.ts +0 -49
  1139. package/src/src/observability/auto-instrument/configurator.ts +0 -12
  1140. package/src/src/observability/auto-instrument/http-instrumentation.ts +0 -208
  1141. package/src/src/observability/auto-instrument/index.ts +0 -19
  1142. package/src/src/observability/auto-instrument/orchestrator.ts +0 -60
  1143. package/src/src/observability/auto-instrument/react-instrumentation.ts +0 -78
  1144. package/src/src/observability/auto-instrument/types.ts +0 -46
  1145. package/src/src/observability/auto-instrument/wrappers.ts +0 -107
  1146. package/src/src/observability/error-collector.ts +0 -390
  1147. package/src/src/observability/file-log-subscriber.ts +0 -187
  1148. package/src/src/observability/index.ts +0 -130
  1149. package/src/src/observability/instruments/build-instruments.ts +0 -36
  1150. package/src/src/observability/instruments/cache-instruments.ts +0 -65
  1151. package/src/src/observability/instruments/data-instruments.ts +0 -32
  1152. package/src/src/observability/instruments/error-instruments.ts +0 -54
  1153. package/src/src/observability/instruments/http-instruments.ts +0 -34
  1154. package/src/src/observability/instruments/index.ts +0 -16
  1155. package/src/src/observability/instruments/instruments-factory.ts +0 -71
  1156. package/src/src/observability/instruments/memory-instruments.ts +0 -72
  1157. package/src/src/observability/instruments/render-instruments.ts +0 -32
  1158. package/src/src/observability/instruments/rsc-instruments.ts +0 -65
  1159. package/src/src/observability/log-buffer.ts +0 -217
  1160. package/src/src/observability/metrics/config.ts +0 -96
  1161. package/src/src/observability/metrics/index.ts +0 -142
  1162. package/src/src/observability/metrics/manager.ts +0 -134
  1163. package/src/src/observability/metrics/recorder.ts +0 -139
  1164. package/src/src/observability/metrics/types.ts +0 -81
  1165. package/src/src/observability/request-profiler.ts +0 -140
  1166. package/src/src/observability/simple-metrics/index.ts +0 -88
  1167. package/src/src/observability/simple-metrics/metrics-recorder.ts +0 -327
  1168. package/src/src/observability/simple-metrics/metrics-state.ts +0 -135
  1169. package/src/src/observability/simple-metrics/observability-loader.ts +0 -53
  1170. package/src/src/observability/simple-metrics/otel-instruments.ts +0 -93
  1171. package/src/src/observability/simple-metrics/types.ts +0 -81
  1172. package/src/src/observability/tracing/api-shim.ts +0 -409
  1173. package/src/src/observability/tracing/config.ts +0 -77
  1174. package/src/src/observability/tracing/context-propagation.ts +0 -88
  1175. package/src/src/observability/tracing/index.ts +0 -134
  1176. package/src/src/observability/tracing/manager.ts +0 -129
  1177. package/src/src/observability/tracing/otlp-setup.ts +0 -251
  1178. package/src/src/observability/tracing/service-tracer.ts +0 -267
  1179. package/src/src/observability/tracing/span-names.ts +0 -111
  1180. package/src/src/observability/tracing/span-operations.ts +0 -102
  1181. package/src/src/observability/tracing/types.ts +0 -47
  1182. package/src/src/platform/adapters/base.ts +0 -186
  1183. package/src/src/platform/adapters/bun.ts +0 -20
  1184. package/src/src/platform/adapters/deno.ts +0 -1
  1185. package/src/src/platform/adapters/detect.ts +0 -84
  1186. package/src/src/platform/adapters/fallback-wrapper.ts +0 -146
  1187. package/src/src/platform/adapters/fs/cache/file-cache.ts +0 -420
  1188. package/src/src/platform/adapters/fs/cache/size-estimator.ts +0 -7
  1189. package/src/src/platform/adapters/fs/cache/types.ts +0 -20
  1190. package/src/src/platform/adapters/fs/factory.ts +0 -70
  1191. package/src/src/platform/adapters/fs/github/adapter.ts +0 -152
  1192. package/src/src/platform/adapters/fs/github/directory-operations.ts +0 -61
  1193. package/src/src/platform/adapters/fs/github/github-api-client.ts +0 -230
  1194. package/src/src/platform/adapters/fs/github/index.ts +0 -34
  1195. package/src/src/platform/adapters/fs/github/path-utils.ts +0 -9
  1196. package/src/src/platform/adapters/fs/github/read-operations.ts +0 -175
  1197. package/src/src/platform/adapters/fs/github/schemas/github-api.schema.ts +0 -89
  1198. package/src/src/platform/adapters/fs/github/schemas/index.ts +0 -19
  1199. package/src/src/platform/adapters/fs/github/stat-operations.ts +0 -266
  1200. package/src/src/platform/adapters/fs/github/types.ts +0 -109
  1201. package/src/src/platform/adapters/fs/index.ts +0 -33
  1202. package/src/src/platform/adapters/fs/integration.ts +0 -99
  1203. package/src/src/platform/adapters/fs/shared-types.ts +0 -11
  1204. package/src/src/platform/adapters/fs/veryfront/adapter-content-context.ts +0 -149
  1205. package/src/src/platform/adapters/fs/veryfront/adapter-helpers.ts +0 -43
  1206. package/src/src/platform/adapters/fs/veryfront/adapter.ts +0 -774
  1207. package/src/src/platform/adapters/fs/veryfront/api-search-circuit-breaker.ts +0 -30
  1208. package/src/src/platform/adapters/fs/veryfront/base-operations.ts +0 -13
  1209. package/src/src/platform/adapters/fs/veryfront/cache-keys.ts +0 -41
  1210. package/src/src/platform/adapters/fs/veryfront/content-metrics.ts +0 -208
  1211. package/src/src/platform/adapters/fs/veryfront/default-invalidation-callbacks.ts +0 -66
  1212. package/src/src/platform/adapters/fs/veryfront/directory-operations.ts +0 -162
  1213. package/src/src/platform/adapters/fs/veryfront/extension-priority.ts +0 -18
  1214. package/src/src/platform/adapters/fs/veryfront/file-list-access.ts +0 -109
  1215. package/src/src/platform/adapters/fs/veryfront/file-list-index.ts +0 -259
  1216. package/src/src/platform/adapters/fs/veryfront/in-flight-dedupe.ts +0 -63
  1217. package/src/src/platform/adapters/fs/veryfront/index.ts +0 -8
  1218. package/src/src/platform/adapters/fs/veryfront/invalidation-state.ts +0 -130
  1219. package/src/src/platform/adapters/fs/veryfront/multi-project-adapter.ts +0 -266
  1220. package/src/src/platform/adapters/fs/veryfront/path-normalizer.ts +0 -40
  1221. package/src/src/platform/adapters/fs/veryfront/proxy-manager.ts +0 -621
  1222. package/src/src/platform/adapters/fs/veryfront/read-operations-helpers.ts +0 -111
  1223. package/src/src/platform/adapters/fs/veryfront/read-operations.ts +0 -778
  1224. package/src/src/platform/adapters/fs/veryfront/request-context.ts +0 -100
  1225. package/src/src/platform/adapters/fs/veryfront/retry.ts +0 -62
  1226. package/src/src/platform/adapters/fs/veryfront/schemas/index.ts +0 -7
  1227. package/src/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.ts +0 -16
  1228. package/src/src/platform/adapters/fs/veryfront/stat-operations-helpers.ts +0 -74
  1229. package/src/src/platform/adapters/fs/veryfront/stat-operations.ts +0 -556
  1230. package/src/src/platform/adapters/fs/veryfront/types.ts +0 -142
  1231. package/src/src/platform/adapters/fs/veryfront/websocket-manager-helpers.ts +0 -94
  1232. package/src/src/platform/adapters/fs/veryfront/websocket-manager.ts +0 -893
  1233. package/src/src/platform/adapters/fs/wrapper.ts +0 -264
  1234. package/src/src/platform/adapters/mock.ts +0 -185
  1235. package/src/src/platform/adapters/node.ts +0 -18
  1236. package/src/src/platform/adapters/redis/deno.ts +0 -120
  1237. package/src/src/platform/adapters/redis/index.ts +0 -21
  1238. package/src/src/platform/adapters/redis/interface.ts +0 -42
  1239. package/src/src/platform/adapters/redis/modules.ts +0 -54
  1240. package/src/src/platform/adapters/redis/node.ts +0 -127
  1241. package/src/src/platform/adapters/redis/types.ts +0 -84
  1242. package/src/src/platform/adapters/redis/utils.ts +0 -14
  1243. package/src/src/platform/adapters/registry.ts +0 -202
  1244. package/src/src/platform/adapters/runtime/bun/adapter.ts +0 -42
  1245. package/src/src/platform/adapters/runtime/bun/environment-adapter.ts +0 -17
  1246. package/src/src/platform/adapters/runtime/bun/filesystem-adapter.ts +0 -203
  1247. package/src/src/platform/adapters/runtime/bun/http-server.ts +0 -45
  1248. package/src/src/platform/adapters/runtime/bun/index.ts +0 -20
  1249. package/src/src/platform/adapters/runtime/bun/types.ts +0 -45
  1250. package/src/src/platform/adapters/runtime/bun/websocket-adapter.ts +0 -47
  1251. package/src/src/platform/adapters/runtime/deno/adapter.ts +0 -458
  1252. package/src/src/platform/adapters/runtime/deno/index.ts +0 -7
  1253. package/src/src/platform/adapters/runtime/node/adapter.ts +0 -42
  1254. package/src/src/platform/adapters/runtime/node/environment-adapter.ts +0 -17
  1255. package/src/src/platform/adapters/runtime/node/filesystem-adapter.ts +0 -147
  1256. package/src/src/platform/adapters/runtime/node/http-server.ts +0 -196
  1257. package/src/src/platform/adapters/runtime/node/index.ts +0 -18
  1258. package/src/src/platform/adapters/runtime/node/types.ts +0 -42
  1259. package/src/src/platform/adapters/runtime/node/websocket-adapter.ts +0 -191
  1260. package/src/src/platform/adapters/runtime/shared/env-to-object.ts +0 -10
  1261. package/src/src/platform/adapters/runtime/shared/node-based-shell-adapter.ts +0 -32
  1262. package/src/src/platform/adapters/runtime/shared/server-lifecycle.ts +0 -31
  1263. package/src/src/platform/adapters/runtime/shared/shared-watcher.ts +0 -59
  1264. package/src/src/platform/adapters/runtime/shared/temp-dir.ts +0 -6
  1265. package/src/src/platform/adapters/runtime/shared/watcher-queue.ts +0 -63
  1266. package/src/src/platform/adapters/runtime-detection.ts +0 -10
  1267. package/src/src/platform/adapters/veryfront-api-client/client.ts +0 -512
  1268. package/src/src/platform/adapters/veryfront-api-client/index.ts +0 -50
  1269. package/src/src/platform/adapters/veryfront-api-client/operations.ts +0 -576
  1270. package/src/src/platform/adapters/veryfront-api-client/retry-handler.ts +0 -158
  1271. package/src/src/platform/adapters/veryfront-api-client/schemas/api.schema.ts +0 -320
  1272. package/src/src/platform/adapters/veryfront-api-client/schemas/index.ts +0 -41
  1273. package/src/src/platform/adapters/veryfront-api-client/types.ts +0 -33
  1274. package/src/src/platform/cloud/resolver.ts +0 -149
  1275. package/src/src/platform/compat/console/deno.ts +0 -51
  1276. package/src/src/platform/compat/console/index.ts +0 -90
  1277. package/src/src/platform/compat/console/node.ts +0 -61
  1278. package/src/src/platform/compat/console/types.ts +0 -18
  1279. package/src/src/platform/compat/constants.ts +0 -14
  1280. package/src/src/platform/compat/dynamic-import.ts +0 -15
  1281. package/src/src/platform/compat/esbuild-init.ts +0 -77
  1282. package/src/src/platform/compat/esbuild-shared.ts +0 -22
  1283. package/src/src/platform/compat/esbuild.ts +0 -53
  1284. package/src/src/platform/compat/framework-source-resolver.ts +0 -221
  1285. package/src/src/platform/compat/fs.ts +0 -354
  1286. package/src/src/platform/compat/http/deno-server.ts +0 -55
  1287. package/src/src/platform/compat/http/factory.ts +0 -12
  1288. package/src/src/platform/compat/http/index.ts +0 -45
  1289. package/src/src/platform/compat/http/node-server.ts +0 -103
  1290. package/src/src/platform/compat/http/node-types.ts +0 -34
  1291. package/src/src/platform/compat/http/request-adapter.ts +0 -16
  1292. package/src/src/platform/compat/http/responses.ts +0 -227
  1293. package/src/src/platform/compat/http/types.ts +0 -23
  1294. package/src/src/platform/compat/http/websocket.ts +0 -34
  1295. package/src/src/platform/compat/kv/factory.ts +0 -60
  1296. package/src/src/platform/compat/kv/index.ts +0 -10
  1297. package/src/src/platform/compat/kv/memory-adapter.ts +0 -68
  1298. package/src/src/platform/compat/kv/sqlite-adapter.ts +0 -113
  1299. package/src/src/platform/compat/kv/types.ts +0 -31
  1300. package/src/src/platform/compat/media-types.ts +0 -27
  1301. package/src/src/platform/compat/opaque-deps.ts +0 -70
  1302. package/src/src/platform/compat/path/basic-operations.ts +0 -59
  1303. package/src/src/platform/compat/path/index.ts +0 -15
  1304. package/src/src/platform/compat/path/parse-format.ts +0 -33
  1305. package/src/src/platform/compat/path/resolution.ts +0 -136
  1306. package/src/src/platform/compat/path/runtime.ts +0 -26
  1307. package/src/src/platform/compat/path/security.ts +0 -29
  1308. package/src/src/platform/compat/path/types.ts +0 -22
  1309. package/src/src/platform/compat/path/url-conversion.ts +0 -58
  1310. package/src/src/platform/compat/process/command.ts +0 -297
  1311. package/src/src/platform/compat/process/env.ts +0 -227
  1312. package/src/src/platform/compat/process/lifecycle.ts +0 -330
  1313. package/src/src/platform/compat/process/runtime-process.ts +0 -27
  1314. package/src/src/platform/compat/process.ts +0 -37
  1315. package/src/src/platform/compat/react-paths.ts +0 -84
  1316. package/src/src/platform/compat/runtime.ts +0 -112
  1317. package/src/src/platform/compat/std/dotenv.ts +0 -87
  1318. package/src/src/platform/compat/std/front-matter-yaml.ts +0 -39
  1319. package/src/src/platform/compat/stdin.ts +0 -271
  1320. package/src/src/platform/compat/transform.ts +0 -44
  1321. package/src/src/platform/compat/vfs-paths.ts +0 -59
  1322. package/src/src/platform/core-platform.ts +0 -199
  1323. package/src/src/platform/environment.ts +0 -35
  1324. package/src/src/platform/index.ts +0 -73
  1325. package/src/src/prompt/factory.ts +0 -59
  1326. package/src/src/prompt/index.ts +0 -22
  1327. package/src/src/prompt/registry.ts +0 -29
  1328. package/src/src/prompt/schemas/prompt.schema.ts +0 -15
  1329. package/src/src/prompt/types.ts +0 -9
  1330. package/src/src/provider/index.ts +0 -55
  1331. package/src/src/provider/local/embedding-runtime-adapter.ts +0 -37
  1332. package/src/src/provider/local/env.ts +0 -37
  1333. package/src/src/provider/local/local-embedding-engine.ts +0 -93
  1334. package/src/src/provider/local/local-engine.ts +0 -317
  1335. package/src/src/provider/local/model-catalog.ts +0 -139
  1336. package/src/src/provider/local/model-runtime-adapter.ts +0 -202
  1337. package/src/src/provider/model-registry.ts +0 -369
  1338. package/src/src/provider/runtime-inspection.ts +0 -25
  1339. package/src/src/provider/runtime-loader/provider-embedding-responses.ts +0 -61
  1340. package/src/src/provider/runtime-loader/provider-endpoints.ts +0 -50
  1341. package/src/src/provider/runtime-loader/provider-http.ts +0 -207
  1342. package/src/src/provider/runtime-loader/provider-records.ts +0 -7
  1343. package/src/src/provider/runtime-loader/provider-request-init.ts +0 -101
  1344. package/src/src/provider/runtime-loader/provider-sse.ts +0 -29
  1345. package/src/src/provider/runtime-loader/provider-usage.ts +0 -135
  1346. package/src/src/provider/runtime-loader/tool-input-status.ts +0 -242
  1347. package/src/src/provider/runtime-loader.ts +0 -517
  1348. package/src/src/provider/shared/index.ts +0 -70
  1349. package/src/src/provider/types.ts +0 -40
  1350. package/src/src/provider/veryfront-cloud/context.ts +0 -28
  1351. package/src/src/provider/veryfront-cloud/model-catalog.ts +0 -224
  1352. package/src/src/provider/veryfront-cloud/openai.ts +0 -34
  1353. package/src/src/provider/veryfront-cloud/provider.ts +0 -82
  1354. package/src/src/provider/veryfront-cloud/shared.ts +0 -139
  1355. package/src/src/proxy/cache/index.ts +0 -78
  1356. package/src/src/proxy/cache/memory-cache.ts +0 -136
  1357. package/src/src/proxy/cache/resilient-cache.ts +0 -204
  1358. package/src/src/proxy/cache/tracing-cache.ts +0 -77
  1359. package/src/src/proxy/cache/types.ts +0 -48
  1360. package/src/src/proxy/env.ts +0 -11
  1361. package/src/src/proxy/error-response.ts +0 -32
  1362. package/src/src/proxy/handler.ts +0 -905
  1363. package/src/src/proxy/log-noise.ts +0 -42
  1364. package/src/src/proxy/logger.ts +0 -406
  1365. package/src/src/proxy/main.ts +0 -624
  1366. package/src/src/proxy/oauth-client.ts +0 -93
  1367. package/src/src/proxy/renderer-router.ts +0 -126
  1368. package/src/src/proxy/retry.ts +0 -19
  1369. package/src/src/proxy/server-resolver.ts +0 -151
  1370. package/src/src/proxy/token-manager.ts +0 -193
  1371. package/src/src/proxy/tracing.ts +0 -203
  1372. package/src/src/proxy/version.ts +0 -21
  1373. package/src/src/react/compat/config-generator.ts +0 -161
  1374. package/src/src/react/compat/hooks-adapter.ts +0 -241
  1375. package/src/src/react/compat/index.ts +0 -50
  1376. package/src/src/react/compat/ssr-adapter/html-wrapper.ts +0 -40
  1377. package/src/src/react/compat/ssr-adapter/index.ts +0 -13
  1378. package/src/src/react/compat/ssr-adapter/response-builder.ts +0 -44
  1379. package/src/src/react/compat/ssr-adapter/server-loader.ts +0 -98
  1380. package/src/src/react/compat/ssr-adapter/stream-renderer.ts +0 -248
  1381. package/src/src/react/compat/ssr-adapter/string-renderer.ts +0 -75
  1382. package/src/src/react/compat/ssr-adapter/types.ts +0 -36
  1383. package/src/src/react/compat/version-detector/compatibility-checker.ts +0 -55
  1384. package/src/src/react/compat/version-detector/feature-detector.ts +0 -92
  1385. package/src/src/react/compat/version-detector/index.ts +0 -22
  1386. package/src/src/react/compat/version-detector/types.ts +0 -42
  1387. package/src/src/react/compat/version-detector/version-cache.ts +0 -36
  1388. package/src/src/react/compat/version-detector/version-parser.ts +0 -33
  1389. package/src/src/react/components/AppWrapper.tsx +0 -44
  1390. package/src/src/react/components/Head.tsx +0 -12
  1391. package/src/src/react/components/LayoutComponent.tsx +0 -62
  1392. package/src/src/react/components/MDXProvider.tsx +0 -21
  1393. package/src/src/react/components/ProviderComponent.tsx +0 -58
  1394. package/src/src/react/components/chat/agent-card.tsx +0 -162
  1395. package/src/src/react/components/chat/chat/components/animations.tsx +0 -62
  1396. package/src/src/react/components/chat/chat/components/attachment-pill.tsx +0 -110
  1397. package/src/src/react/components/chat/chat/components/branch-picker.tsx +0 -70
  1398. package/src/src/react/components/chat/chat/components/code-block.tsx +0 -83
  1399. package/src/src/react/components/chat/chat/components/drop-zone.tsx +0 -49
  1400. package/src/src/react/components/chat/chat/components/empty-state.tsx +0 -121
  1401. package/src/src/react/components/chat/chat/components/inference-badge.tsx +0 -48
  1402. package/src/src/react/components/chat/chat/components/inline-citation.tsx +0 -150
  1403. package/src/src/react/components/chat/chat/components/message-actions.tsx +0 -88
  1404. package/src/src/react/components/chat/chat/components/message-edit-form.tsx +0 -95
  1405. package/src/src/react/components/chat/chat/components/message-feedback.tsx +0 -72
  1406. package/src/src/react/components/chat/chat/components/quick-actions.tsx +0 -38
  1407. package/src/src/react/components/chat/chat/components/reasoning.tsx +0 -56
  1408. package/src/src/react/components/chat/chat/components/sidebar.tsx +0 -204
  1409. package/src/src/react/components/chat/chat/components/skill-badge.tsx +0 -51
  1410. package/src/src/react/components/chat/chat/components/sources.tsx +0 -99
  1411. package/src/src/react/components/chat/chat/components/step-indicator.tsx +0 -33
  1412. package/src/src/react/components/chat/chat/components/tab-switcher.tsx +0 -69
  1413. package/src/src/react/components/chat/chat/components/tool-ui.tsx +0 -204
  1414. package/src/src/react/components/chat/chat/components/upgrade-cta.tsx +0 -56
  1415. package/src/src/react/components/chat/chat/components/uploads-panel.tsx +0 -143
  1416. package/src/src/react/components/chat/chat/composition/api.tsx +0 -17
  1417. package/src/src/react/components/chat/chat/composition/chat-composer.tsx +0 -205
  1418. package/src/src/react/components/chat/chat/composition/chat-empty.tsx +0 -77
  1419. package/src/src/react/components/chat/chat/composition/chat-if.tsx +0 -25
  1420. package/src/src/react/components/chat/chat/composition/chat-message-list.tsx +0 -356
  1421. package/src/src/react/components/chat/chat/composition/chat-root.tsx +0 -183
  1422. package/src/src/react/components/chat/chat/composition/error-banner.tsx +0 -38
  1423. package/src/src/react/components/chat/chat/composition/message.tsx +0 -343
  1424. package/src/src/react/components/chat/chat/composition/model-avatar.tsx +0 -103
  1425. package/src/src/react/components/chat/chat/contexts/chat-context.tsx +0 -81
  1426. package/src/src/react/components/chat/chat/contexts/composer-context.tsx +0 -62
  1427. package/src/src/react/components/chat/chat/contexts/index.ts +0 -36
  1428. package/src/src/react/components/chat/chat/contexts/message-context.tsx +0 -52
  1429. package/src/src/react/components/chat/chat/contexts/thread-list-context.tsx +0 -43
  1430. package/src/src/react/components/chat/chat/hooks/use-threads.ts +0 -208
  1431. package/src/src/react/components/chat/chat/index.tsx +0 -529
  1432. package/src/src/react/components/chat/chat/utils/export.ts +0 -75
  1433. package/src/src/react/components/chat/chat/utils/message-parts.ts +0 -151
  1434. package/src/src/react/components/chat/chat-with-sidebar.tsx +0 -373
  1435. package/src/src/react/components/chat/chat.tsx +0 -146
  1436. package/src/src/react/components/chat/csp-nonce.ts +0 -13
  1437. package/src/src/react/components/chat/error-boundary.tsx +0 -108
  1438. package/src/src/react/components/chat/icons/index.ts +0 -328
  1439. package/src/src/react/components/chat/markdown.tsx +0 -284
  1440. package/src/src/react/components/chat/message.tsx +0 -166
  1441. package/src/src/react/components/chat/model-selector.tsx +0 -262
  1442. package/src/src/react/components/chat/theme.ts +0 -325
  1443. package/src/src/react/components/optimized-image/OptimizedBackgroundImage.tsx +0 -40
  1444. package/src/src/react/components/optimized-image/OptimizedImage.tsx +0 -81
  1445. package/src/src/react/components/optimized-image/SimpleOptimizedImage.tsx +0 -43
  1446. package/src/src/react/components/optimized-image/helpers.ts +0 -29
  1447. package/src/src/react/components/optimized-image/index.ts +0 -12
  1448. package/src/src/react/components/optimized-image/useOptimizedImage.ts +0 -32
  1449. package/src/src/react/components/optimized-image/utils.tsx +0 -53
  1450. package/src/src/react/context/index.tsx +0 -13
  1451. package/src/src/react/fonts/index.ts +0 -103
  1452. package/src/src/react/head-collector.ts +0 -143
  1453. package/src/src/react/index.ts +0 -99
  1454. package/src/src/react/primitives/agent-primitives.tsx +0 -87
  1455. package/src/src/react/primitives/chat-container.tsx +0 -17
  1456. package/src/src/react/primitives/index.ts +0 -41
  1457. package/src/src/react/primitives/input-box.tsx +0 -226
  1458. package/src/src/react/primitives/message-list.tsx +0 -83
  1459. package/src/src/react/primitives/tool-primitives.tsx +0 -120
  1460. package/src/src/react/router/index.tsx +0 -13
  1461. package/src/src/react/runtime/core.ts +0 -303
  1462. package/src/src/registry/project-scoped-registry-manager.ts +0 -211
  1463. package/src/src/registry/scoped-registry-facade.ts +0 -51
  1464. package/src/src/rendering/app-reserved.ts +0 -109
  1465. package/src/src/rendering/app-route-resolver.ts +0 -170
  1466. package/src/src/rendering/cache/cache-coordinator.ts +0 -195
  1467. package/src/src/rendering/cache/index.ts +0 -24
  1468. package/src/src/rendering/cache/stores/api-store.ts +0 -222
  1469. package/src/src/rendering/cache/stores/filesystem-store.ts +0 -114
  1470. package/src/src/rendering/cache/stores/index.ts +0 -11
  1471. package/src/src/rendering/cache/stores/kv-store.ts +0 -103
  1472. package/src/src/rendering/cache/stores/memory-store.ts +0 -97
  1473. package/src/src/rendering/cache/stores/redis-store.ts +0 -267
  1474. package/src/src/rendering/cache/types.ts +0 -21
  1475. package/src/src/rendering/chunk-optimizer.ts +0 -273
  1476. package/src/src/rendering/cleanup.ts +0 -27
  1477. package/src/src/rendering/component-handling.ts +0 -172
  1478. package/src/src/rendering/context/render-context.ts +0 -143
  1479. package/src/src/rendering/element-validator/element-inspector.ts +0 -190
  1480. package/src/src/rendering/element-validator/element-normalizer.ts +0 -73
  1481. package/src/src/rendering/element-validator/index.ts +0 -18
  1482. package/src/src/rendering/element-validator/primitive-checks.ts +0 -124
  1483. package/src/src/rendering/element-validator/types.ts +0 -15
  1484. package/src/src/rendering/element-validator/validator-core.ts +0 -46
  1485. package/src/src/rendering/factories/service-factories.ts +0 -112
  1486. package/src/src/rendering/index.ts +0 -49
  1487. package/src/src/rendering/layouts/index.ts +0 -26
  1488. package/src/src/rendering/layouts/layout-applicator.ts +0 -468
  1489. package/src/src/rendering/layouts/layout-collector.ts +0 -401
  1490. package/src/src/rendering/layouts/layout-compiler.ts +0 -75
  1491. package/src/src/rendering/layouts/types.ts +0 -16
  1492. package/src/src/rendering/layouts/utils/app-resolver.ts +0 -71
  1493. package/src/src/rendering/layouts/utils/applicator.ts +0 -228
  1494. package/src/src/rendering/layouts/utils/compiler.ts +0 -30
  1495. package/src/src/rendering/layouts/utils/component-loader.ts +0 -273
  1496. package/src/src/rendering/layouts/utils/discovery.ts +0 -243
  1497. package/src/src/rendering/layouts/utils/ensure-valid-child.ts +0 -51
  1498. package/src/src/rendering/layouts/utils/hash-calculator.ts +0 -51
  1499. package/src/src/rendering/orchestrator/compiler-service.ts +0 -37
  1500. package/src/src/rendering/orchestrator/config.ts +0 -120
  1501. package/src/src/rendering/orchestrator/css-cache.ts +0 -81
  1502. package/src/src/rendering/orchestrator/css-candidate-manifest.ts +0 -224
  1503. package/src/src/rendering/orchestrator/file-resolver/candidates.ts +0 -25
  1504. package/src/src/rendering/orchestrator/file-resolver/index.ts +0 -84
  1505. package/src/src/rendering/orchestrator/html-head.ts +0 -74
  1506. package/src/src/rendering/orchestrator/html-imported-css.ts +0 -81
  1507. package/src/src/rendering/orchestrator/html-project-css.ts +0 -203
  1508. package/src/src/rendering/orchestrator/html-types.ts +0 -27
  1509. package/src/src/rendering/orchestrator/html.ts +0 -487
  1510. package/src/src/rendering/orchestrator/layout.ts +0 -321
  1511. package/src/src/rendering/orchestrator/lifecycle.ts +0 -297
  1512. package/src/src/rendering/orchestrator/mdx.ts +0 -78
  1513. package/src/src/rendering/orchestrator/module-collection.ts +0 -73
  1514. package/src/src/rendering/orchestrator/module-loader/cache.ts +0 -29
  1515. package/src/src/rendering/orchestrator/module-loader/esm-rewriter.ts +0 -102
  1516. package/src/src/rendering/orchestrator/module-loader/index.ts +0 -569
  1517. package/src/src/rendering/orchestrator/path-helpers.ts +0 -26
  1518. package/src/src/rendering/orchestrator/pipeline-helpers.ts +0 -35
  1519. package/src/src/rendering/orchestrator/pipeline.ts +0 -889
  1520. package/src/src/rendering/orchestrator/ssr-orchestrator.ts +0 -278
  1521. package/src/src/rendering/orchestrator/ssr.ts +0 -228
  1522. package/src/src/rendering/orchestrator/types.ts +0 -92
  1523. package/src/src/rendering/page-renderer.ts +0 -252
  1524. package/src/src/rendering/page-rendering.ts +0 -182
  1525. package/src/src/rendering/page-resolution/index.ts +0 -21
  1526. package/src/src/rendering/page-resolution/page-resolver.ts +0 -238
  1527. package/src/src/rendering/renderer-concurrency.ts +0 -195
  1528. package/src/src/rendering/renderer.ts +0 -593
  1529. package/src/src/rendering/router-detection.ts +0 -247
  1530. package/src/src/rendering/rsc/client-module-strategy.ts +0 -100
  1531. package/src/src/rendering/rsc/component-analyzer.ts +0 -148
  1532. package/src/src/rendering/rsc/constants.ts +0 -6
  1533. package/src/src/rendering/rsc/export-extractor.ts +0 -44
  1534. package/src/src/rendering/rsc/production-optimizer.ts +0 -128
  1535. package/src/src/rendering/rsc/server-action-guard.ts +0 -5
  1536. package/src/src/rendering/rsc/server-renderer/component-detector.ts +0 -47
  1537. package/src/src/rendering/rsc/server-renderer/html-generator.ts +0 -50
  1538. package/src/src/rendering/rsc/server-renderer/index.ts +0 -18
  1539. package/src/src/rendering/rsc/server-renderer/prop-serializer.ts +0 -69
  1540. package/src/src/rendering/rsc/server-renderer/rsc-renderer.ts +0 -47
  1541. package/src/src/rendering/rsc/server-renderer/tree-processor.ts +0 -126
  1542. package/src/src/rendering/rsc/types.ts +0 -8
  1543. package/src/src/rendering/script-page-handling.ts +0 -392
  1544. package/src/src/rendering/shared/context-aware-cache.ts +0 -281
  1545. package/src/src/rendering/shared/shared-services.ts +0 -112
  1546. package/src/src/rendering/snippet-renderer.ts +0 -386
  1547. package/src/src/rendering/ssr/component-registry.ts +0 -326
  1548. package/src/src/rendering/ssr/index.ts +0 -10
  1549. package/src/src/rendering/ssr/mdx-module-loader.ts +0 -185
  1550. package/src/src/rendering/ssr/mdx-renderer.ts +0 -66
  1551. package/src/src/rendering/ssr/types.ts +0 -14
  1552. package/src/src/rendering/ssr-globals/context.ts +0 -70
  1553. package/src/src/rendering/ssr-globals/dom-stubs.ts +0 -435
  1554. package/src/src/rendering/ssr-globals/fetch-interceptor.ts +0 -123
  1555. package/src/src/rendering/ssr-globals/index.ts +0 -79
  1556. package/src/src/rendering/ssr-globals.ts +0 -13
  1557. package/src/src/rendering/ssr-renderer.ts +0 -258
  1558. package/src/src/rendering/styles.ts +0 -15
  1559. package/src/src/rendering/utils/index.ts +0 -22
  1560. package/src/src/rendering/utils/react-helpers.ts +0 -31
  1561. package/src/src/rendering/utils/stream-utils.ts +0 -129
  1562. package/src/src/rendering/virtual-module-system.ts +0 -106
  1563. package/src/src/repositories/schemas/index.ts +0 -14
  1564. package/src/src/repositories/schemas/repository.schema.ts +0 -41
  1565. package/src/src/repositories/types.ts +0 -26
  1566. package/src/src/resource/factory.ts +0 -64
  1567. package/src/src/resource/index.ts +0 -30
  1568. package/src/src/resource/registry.ts +0 -41
  1569. package/src/src/resource/schemas/index.ts +0 -14
  1570. package/src/src/resource/schemas/resource.schema.ts +0 -21
  1571. package/src/src/resource/types.ts +0 -36
  1572. package/src/src/routing/api/api-route-matcher.ts +0 -196
  1573. package/src/src/routing/api/context-builder.ts +0 -69
  1574. package/src/src/routing/api/handler.ts +0 -341
  1575. package/src/src/routing/api/index.ts +0 -26
  1576. package/src/src/routing/api/method-validator.ts +0 -26
  1577. package/src/src/routing/api/module-loader/esbuild-plugin.ts +0 -192
  1578. package/src/src/routing/api/module-loader/external-import-rewriter.ts +0 -461
  1579. package/src/src/routing/api/module-loader/http-validator.ts +0 -38
  1580. package/src/src/routing/api/module-loader/loader-helpers.ts +0 -68
  1581. package/src/src/routing/api/module-loader/loader.ts +0 -672
  1582. package/src/src/routing/api/module-loader/security-config.ts +0 -28
  1583. package/src/src/routing/api/module-loader/types.ts +0 -36
  1584. package/src/src/routing/api/openapi/path-utils.ts +0 -132
  1585. package/src/src/routing/api/openapi/spec-generator.ts +0 -265
  1586. package/src/src/routing/api/openapi/types.ts +0 -135
  1587. package/src/src/routing/api/route-discovery.ts +0 -70
  1588. package/src/src/routing/api/route-executor.ts +0 -450
  1589. package/src/src/routing/client/dom-utils.ts +0 -174
  1590. package/src/src/routing/client/index.ts +0 -33
  1591. package/src/src/routing/client/navigation-handlers.ts +0 -127
  1592. package/src/src/routing/client/page-loader.ts +0 -215
  1593. package/src/src/routing/client/page-transition.ts +0 -99
  1594. package/src/src/routing/client/types.ts +0 -39
  1595. package/src/src/routing/client/viewport-prefetch.ts +0 -81
  1596. package/src/src/routing/index.ts +0 -54
  1597. package/src/src/routing/matchers/index.ts +0 -11
  1598. package/src/src/routing/matchers/pattern-route-matcher.ts +0 -46
  1599. package/src/src/routing/matchers/route-matcher.ts +0 -41
  1600. package/src/src/routing/matchers/route-parser.ts +0 -69
  1601. package/src/src/routing/matchers/types.ts +0 -13
  1602. package/src/src/routing/registry/index.ts +0 -7
  1603. package/src/src/routing/registry/registry.ts +0 -161
  1604. package/src/src/routing/registry/types.ts +0 -7
  1605. package/src/src/routing/slug-mapper/dynamic-route-matcher.ts +0 -54
  1606. package/src/src/routing/slug-mapper/index.ts +0 -11
  1607. package/src/src/routing/slug-mapper/path-candidate-generator.ts +0 -58
  1608. package/src/src/routing/slug-mapper/slug-normalizer.ts +0 -25
  1609. package/src/src/routing/slug-mapper/types.ts +0 -8
  1610. package/src/src/runtime/runtime-bridge.ts +0 -614
  1611. package/src/src/sandbox/agent-service-tools.ts +0 -184
  1612. package/src/src/sandbox/config.ts +0 -20
  1613. package/src/src/sandbox/index.ts +0 -68
  1614. package/src/src/sandbox/lazy-sandbox.ts +0 -736
  1615. package/src/src/sandbox/sandbox.ts +0 -454
  1616. package/src/src/sandbox/shell-tools.ts +0 -217
  1617. package/src/src/sandbox/types.ts +0 -95
  1618. package/src/src/schemas/common.ts +0 -99
  1619. package/src/src/schemas/define.ts +0 -45
  1620. package/src/src/schemas/index.ts +0 -65
  1621. package/src/src/schemas/json-schema.ts +0 -33
  1622. package/src/src/schemas/lazy.ts +0 -65
  1623. package/src/src/schemas/primitives.ts +0 -84
  1624. package/src/src/security/client/html-sanitizer.ts +0 -120
  1625. package/src/src/security/csrf/helpers.ts +0 -144
  1626. package/src/src/security/csrf/index.ts +0 -8
  1627. package/src/src/security/deno-permissions.ts +0 -55
  1628. package/src/src/security/http/auth.ts +0 -129
  1629. package/src/src/security/http/base-handler.ts +0 -183
  1630. package/src/src/security/http/client-hints.ts +0 -41
  1631. package/src/src/security/http/config.ts +0 -96
  1632. package/src/src/security/http/cors/constants.ts +0 -6
  1633. package/src/src/security/http/cors/headers.ts +0 -80
  1634. package/src/src/security/http/cors/index.ts +0 -36
  1635. package/src/src/security/http/cors/middleware.ts +0 -42
  1636. package/src/src/security/http/cors/preflight.ts +0 -86
  1637. package/src/src/security/http/cors/types.ts +0 -30
  1638. package/src/src/security/http/cors/validators.ts +0 -191
  1639. package/src/src/security/http/csrf/csrf-handler.ts +0 -101
  1640. package/src/src/security/http/csrf/index.ts +0 -7
  1641. package/src/src/security/http/middleware/config-loader.ts +0 -61
  1642. package/src/src/security/http/middleware/cors-handler.ts +0 -21
  1643. package/src/src/security/http/middleware/index.ts +0 -16
  1644. package/src/src/security/http/middleware/types.ts +0 -29
  1645. package/src/src/security/http/response/builder.ts +0 -62
  1646. package/src/src/security/http/response/cache-handler.ts +0 -34
  1647. package/src/src/security/http/response/constants.ts +0 -15
  1648. package/src/src/security/http/response/fluent-methods.ts +0 -137
  1649. package/src/src/security/http/response/index.ts +0 -11
  1650. package/src/src/security/http/response/response-methods.ts +0 -85
  1651. package/src/src/security/http/response/security-handler.ts +0 -225
  1652. package/src/src/security/http/response/static-helpers.ts +0 -150
  1653. package/src/src/security/http/response/types.ts +0 -33
  1654. package/src/src/security/index.ts +0 -100
  1655. package/src/src/security/input-validation/errors.ts +0 -17
  1656. package/src/src/security/input-validation/handler.ts +0 -47
  1657. package/src/src/security/input-validation/index.ts +0 -18
  1658. package/src/src/security/input-validation/limits.ts +0 -110
  1659. package/src/src/security/input-validation/parsers.ts +0 -104
  1660. package/src/src/security/input-validation/sanitizers.ts +0 -48
  1661. package/src/src/security/input-validation/types.ts +0 -34
  1662. package/src/src/security/path-validation/canonical.ts +0 -63
  1663. package/src/src/security/path-validation/index.ts +0 -156
  1664. package/src/src/security/path-validation/normalization.ts +0 -62
  1665. package/src/src/security/path-validation/presets.ts +0 -73
  1666. package/src/src/security/path-validation/rules.ts +0 -67
  1667. package/src/src/security/path-validation/types.ts +0 -38
  1668. package/src/src/security/path-validation.ts +0 -19
  1669. package/src/src/security/sandbox/project-worker.ts +0 -421
  1670. package/src/src/security/sandbox/worker-permissions.ts +0 -77
  1671. package/src/src/security/sandbox/worker-pool.ts +0 -466
  1672. package/src/src/security/sandbox/worker-types.ts +0 -212
  1673. package/src/src/security/secure-fs.ts +0 -322
  1674. package/src/src/security/utils/constant-time.ts +0 -15
  1675. package/src/src/server/bootstrap.ts +0 -530
  1676. package/src/src/server/build-app-route-renderer.ts +0 -148
  1677. package/src/src/server/build-routes.ts +0 -137
  1678. package/src/src/server/build-service-worker.ts +0 -170
  1679. package/src/src/server/build-types.ts +0 -48
  1680. package/src/src/server/context/cache-invalidation.ts +0 -153
  1681. package/src/src/server/context/enriched-context-types.ts +0 -65
  1682. package/src/src/server/context/enriched-context.ts +0 -58
  1683. package/src/src/server/context/request-context.ts +0 -54
  1684. package/src/src/server/dev-server/error-overlay/error-formatter.ts +0 -82
  1685. package/src/src/server/dev-server/error-overlay/html-template.ts +0 -479
  1686. package/src/src/server/dev-server/error-overlay/index.ts +0 -21
  1687. package/src/src/server/dev-server/error-overlay/overlay-renderer.ts +0 -15
  1688. package/src/src/server/dev-server/error-overlay/stack-parser.ts +0 -25
  1689. package/src/src/server/dev-server/file-watch-setup.ts +0 -276
  1690. package/src/src/server/dev-server/file-watcher.ts +0 -100
  1691. package/src/src/server/dev-server/hmr-types.ts +0 -11
  1692. package/src/src/server/dev-server/index.ts +0 -19
  1693. package/src/src/server/dev-server/middleware.ts +0 -244
  1694. package/src/src/server/dev-server/request-handler.ts +0 -186
  1695. package/src/src/server/dev-server/route-discovery.ts +0 -241
  1696. package/src/src/server/dev-server/server.ts +0 -487
  1697. package/src/src/server/dev-server/types.ts +0 -36
  1698. package/src/src/server/dev-server.ts +0 -8
  1699. package/src/src/server/dev-ui/manifest.js +0 -31
  1700. package/src/src/server/handlers/dev/dashboard/api.ts +0 -690
  1701. package/src/src/server/handlers/dev/dashboard/html-shell.ts +0 -43
  1702. package/src/src/server/handlers/dev/dashboard/index.ts +0 -59
  1703. package/src/src/server/handlers/dev/dashboard/ui-handler.ts +0 -104
  1704. package/src/src/server/handlers/dev/debug-context.handler.ts +0 -106
  1705. package/src/src/server/handlers/dev/endpoints.handler.ts +0 -58
  1706. package/src/src/server/handlers/dev/files/dev-file.handler.ts +0 -93
  1707. package/src/src/server/handlers/dev/files/esbuild-bundler.ts +0 -11
  1708. package/src/src/server/handlers/dev/files/esbuild-plugins.ts +0 -282
  1709. package/src/src/server/handlers/dev/files/index.ts +0 -12
  1710. package/src/src/server/handlers/dev/files/path-validator.ts +0 -60
  1711. package/src/src/server/handlers/dev/framework-candidates.generated.ts +0 -5458
  1712. package/src/src/server/handlers/dev/projects/api.ts +0 -34
  1713. package/src/src/server/handlers/dev/projects/html-shell.ts +0 -58
  1714. package/src/src/server/handlers/dev/projects/index.ts +0 -74
  1715. package/src/src/server/handlers/dev/projects/ui-handler.ts +0 -129
  1716. package/src/src/server/handlers/dev/scripts/error-overlay.ts +0 -100
  1717. package/src/src/server/handlers/dev/scripts/hmr-scripts.ts +0 -435
  1718. package/src/src/server/handlers/dev/shared/not-found-response.ts +0 -9
  1719. package/src/src/server/handlers/dev/shared/ui-module-transform.ts +0 -56
  1720. package/src/src/server/handlers/dev/styles-candidate-scanner.ts +0 -152
  1721. package/src/src/server/handlers/dev/styles-css.handler.ts +0 -465
  1722. package/src/src/server/handlers/monitoring/client-log.handler.ts +0 -127
  1723. package/src/src/server/handlers/monitoring/health.handler.ts +0 -96
  1724. package/src/src/server/handlers/monitoring/memory.handler.ts +0 -178
  1725. package/src/src/server/handlers/monitoring/metrics.handler.ts +0 -67
  1726. package/src/src/server/handlers/preview/hmr-client-manager.ts +0 -91
  1727. package/src/src/server/handlers/preview/hmr-client-message.ts +0 -63
  1728. package/src/src/server/handlers/preview/hmr-message-router.ts +0 -92
  1729. package/src/src/server/handlers/preview/hmr-ping-keepalive.ts +0 -49
  1730. package/src/src/server/handlers/preview/hmr.handler.ts +0 -306
  1731. package/src/src/server/handlers/preview/markdown-html-generator.ts +0 -187
  1732. package/src/src/server/handlers/preview/markdown-preview.handler.ts +0 -186
  1733. package/src/src/server/handlers/request/agent-run-cancel.handler.ts +0 -88
  1734. package/src/src/server/handlers/request/agent-run-resume.handler.ts +0 -110
  1735. package/src/src/server/handlers/request/agent-stream.handler.ts +0 -284
  1736. package/src/src/server/handlers/request/api/api-handler-wrapper.ts +0 -159
  1737. package/src/src/server/handlers/request/api/app-router-handler.ts +0 -68
  1738. package/src/src/server/handlers/request/api/app-router-resolver.ts +0 -166
  1739. package/src/src/server/handlers/request/api/index.ts +0 -12
  1740. package/src/src/server/handlers/request/api/pages-api-handler.ts +0 -111
  1741. package/src/src/server/handlers/request/api/project-discovery.ts +0 -133
  1742. package/src/src/server/handlers/request/api/security-headers.ts +0 -54
  1743. package/src/src/server/handlers/request/api/types.ts +0 -12
  1744. package/src/src/server/handlers/request/channel-dispatch-request.ts +0 -113
  1745. package/src/src/server/handlers/request/channel-invoke.handler.ts +0 -49
  1746. package/src/src/server/handlers/request/css.handler.ts +0 -106
  1747. package/src/src/server/handlers/request/internal-agents-list.handler.ts +0 -101
  1748. package/src/src/server/handlers/request/lib-modules.handler.ts +0 -124
  1749. package/src/src/server/handlers/request/module/batch-module-handler.ts +0 -37
  1750. package/src/src/server/handlers/request/module/data-endpoint-handler.ts +0 -79
  1751. package/src/src/server/handlers/request/module/index.ts +0 -14
  1752. package/src/src/server/handlers/request/module/module-server-handler.ts +0 -70
  1753. package/src/src/server/handlers/request/module/module.handler.ts +0 -94
  1754. package/src/src/server/handlers/request/module/page-data-endpoint-handler.ts +0 -108
  1755. package/src/src/server/handlers/request/module/page-module-handler.ts +0 -83
  1756. package/src/src/server/handlers/request/module/virtual-module-handler.ts +0 -58
  1757. package/src/src/server/handlers/request/openapi-docs.handler.ts +0 -91
  1758. package/src/src/server/handlers/request/openapi.handler.ts +0 -169
  1759. package/src/src/server/handlers/request/prod-hydration-module.handler.ts +0 -60
  1760. package/src/src/server/handlers/request/rsc/index.ts +0 -82
  1761. package/src/src/server/handlers/request/snippet.handler.ts +0 -137
  1762. package/src/src/server/handlers/request/ssr/error-page-fallback.ts +0 -285
  1763. package/src/src/server/handlers/request/ssr/etag-handler.ts +0 -18
  1764. package/src/src/server/handlers/request/ssr/index.ts +0 -10
  1765. package/src/src/server/handlers/request/ssr/not-found-fallback.ts +0 -105
  1766. package/src/src/server/handlers/request/ssr/ssr-response-builder.ts +0 -88
  1767. package/src/src/server/handlers/request/ssr/ssr.handler.ts +0 -303
  1768. package/src/src/server/handlers/request/static.handler.ts +0 -125
  1769. package/src/src/server/handlers/response/base.ts +0 -1
  1770. package/src/src/server/handlers/response/cors.ts +0 -67
  1771. package/src/src/server/handlers/response/not-found.ts +0 -156
  1772. package/src/src/server/handlers/studio/bridge-modules.handler.ts +0 -131
  1773. package/src/src/server/handlers/types.ts +0 -22
  1774. package/src/src/server/handlers/utils/content-types.ts +0 -107
  1775. package/src/src/server/handlers/utils/etag.ts +0 -44
  1776. package/src/src/server/index.ts +0 -386
  1777. package/src/src/server/node-handler.ts +0 -42
  1778. package/src/src/server/production-server.ts +0 -466
  1779. package/src/src/server/project-env/cache.ts +0 -101
  1780. package/src/src/server/project-env/fetcher.ts +0 -80
  1781. package/src/src/server/project-env/index.ts +0 -9
  1782. package/src/src/server/project-env/storage.ts +0 -54
  1783. package/src/src/server/reload-notifier.ts +0 -165
  1784. package/src/src/server/runtime-handler/adapter-factory.ts +0 -216
  1785. package/src/src/server/runtime-handler/environment-resolution.ts +0 -139
  1786. package/src/src/server/runtime-handler/handler-context-builder.ts +0 -138
  1787. package/src/src/server/runtime-handler/index.ts +0 -716
  1788. package/src/src/server/runtime-handler/isolation.ts +0 -119
  1789. package/src/src/server/runtime-handler/local-project-discovery.ts +0 -168
  1790. package/src/src/server/runtime-handler/project-isolation.ts +0 -256
  1791. package/src/src/server/runtime-handler/project-resolution.ts +0 -278
  1792. package/src/src/server/runtime-handler/projects-handler.ts +0 -133
  1793. package/src/src/server/runtime-handler/proxy-environment.ts +0 -15
  1794. package/src/src/server/runtime-handler/request-lifecycle.ts +0 -129
  1795. package/src/src/server/runtime-handler/request-tracker.ts +0 -259
  1796. package/src/src/server/runtime-handler/request-utils.ts +0 -88
  1797. package/src/src/server/runtime-handler/timeout-manager.ts +0 -83
  1798. package/src/src/server/runtime-handler/tracing.ts +0 -93
  1799. package/src/src/server/schemas/action.schema.ts +0 -15
  1800. package/src/src/server/schemas/index.ts +0 -7
  1801. package/src/src/server/service-server.ts +0 -598
  1802. package/src/src/server/services/rendering/ssr.service.ts +0 -375
  1803. package/src/src/server/services/rsc/endpoints/action-handler.ts +0 -63
  1804. package/src/src/server/services/rsc/endpoints/action-parser.ts +0 -44
  1805. package/src/src/server/services/rsc/endpoints/endpoint-router.ts +0 -315
  1806. package/src/src/server/services/rsc/endpoints/handler-registry.ts +0 -85
  1807. package/src/src/server/services/rsc/endpoints/index.ts +0 -12
  1808. package/src/src/server/services/rsc/endpoints/rsc-bundles.generated.ts +0 -13
  1809. package/src/src/server/services/rsc/endpoints/script-handlers.ts +0 -122
  1810. package/src/src/server/services/rsc/endpoints/types.ts +0 -23
  1811. package/src/src/server/services/rsc/orchestrators/component-resolver.ts +0 -76
  1812. package/src/src/server/services/rsc/orchestrators/handler.ts +0 -58
  1813. package/src/src/server/services/rsc/orchestrators/index.ts +0 -16
  1814. package/src/src/server/services/rsc/orchestrators/manifest-handler.ts +0 -96
  1815. package/src/src/server/services/rsc/orchestrators/page-handler.ts +0 -103
  1816. package/src/src/server/services/rsc/orchestrators/render-handler.ts +0 -161
  1817. package/src/src/server/services/rsc/orchestrators/stream-handler.ts +0 -94
  1818. package/src/src/server/services/rsc/orchestrators/types.ts +0 -36
  1819. package/src/src/server/services/static/index.ts +0 -10
  1820. package/src/src/server/services/static/static-file.service.ts +0 -333
  1821. package/src/src/server/shared/browser-module-bundler.ts +0 -65
  1822. package/src/src/server/shared/index.ts +0 -12
  1823. package/src/src/server/shared/renderer/adapter.ts +0 -410
  1824. package/src/src/server/shared/renderer/index.ts +0 -14
  1825. package/src/src/server/shared/renderer/memory/pressure.ts +0 -69
  1826. package/src/src/server/shared/renderer-factory.ts +0 -14
  1827. package/src/src/server/utils/chunk-utils.ts +0 -17
  1828. package/src/src/server/utils/domain-lookup.ts +0 -265
  1829. package/src/src/server/utils/domain-parser.ts +0 -238
  1830. package/src/src/server/utils/error-html.ts +0 -163
  1831. package/src/src/server/utils/proxy-trust.ts +0 -56
  1832. package/src/src/server/utils/request-host.ts +0 -12
  1833. package/src/src/skill/allowed-tools.ts +0 -100
  1834. package/src/src/skill/executor.ts +0 -213
  1835. package/src/src/skill/index.ts +0 -60
  1836. package/src/src/skill/parser.ts +0 -207
  1837. package/src/src/skill/path-safety.ts +0 -212
  1838. package/src/src/skill/prompt-augmentation.ts +0 -48
  1839. package/src/src/skill/registry.ts +0 -51
  1840. package/src/src/skill/tools.ts +0 -221
  1841. package/src/src/skill/types.ts +0 -107
  1842. package/src/src/studio/bridge/bridge-bundle.generated.ts +0 -9
  1843. package/src/src/studio/element-selector-injector.ts +0 -96
  1844. package/src/src/studio/hash-utils.ts +0 -1
  1845. package/src/src/task/discovery.ts +0 -294
  1846. package/src/src/task/runner.ts +0 -90
  1847. package/src/src/task/types.ts +0 -46
  1848. package/src/src/testing/assert.ts +0 -352
  1849. package/src/src/testing/bdd.ts +0 -619
  1850. package/src/src/testing/deno-compat.ts +0 -206
  1851. package/src/src/testing/index.ts +0 -92
  1852. package/src/src/testing/init.ts +0 -30
  1853. package/src/src/testing/isolation.ts +0 -177
  1854. package/src/src/testing/timing.ts +0 -27
  1855. package/src/src/testing/utils.ts +0 -44
  1856. package/src/src/tool/context7.ts +0 -34
  1857. package/src/src/tool/executor.ts +0 -22
  1858. package/src/src/tool/factory.ts +0 -234
  1859. package/src/src/tool/host-tools.ts +0 -127
  1860. package/src/src/tool/index.ts +0 -118
  1861. package/src/src/tool/project-scoped-remote-tools.ts +0 -292
  1862. package/src/src/tool/registry.ts +0 -32
  1863. package/src/src/tool/remote-mcp.ts +0 -346
  1864. package/src/src/tool/remote-source-tools.ts +0 -62
  1865. package/src/src/tool/result.ts +0 -23
  1866. package/src/src/tool/schema/index.ts +0 -8
  1867. package/src/src/tool/schema/json-schema.ts +0 -9
  1868. package/src/src/tool/schema/zod-json-schema.ts +0 -87
  1869. package/src/src/tool/sleep.ts +0 -102
  1870. package/src/src/tool/tracing.ts +0 -70
  1871. package/src/src/tool/types.ts +0 -173
  1872. package/src/src/transforms/css-modules/naming.ts +0 -152
  1873. package/src/src/transforms/esm/bundle-deps-validator.ts +0 -187
  1874. package/src/src/transforms/esm/bundle-manifest-ttl.ts +0 -58
  1875. package/src/src/transforms/esm/bundle-manifest-types.ts +0 -14
  1876. package/src/src/transforms/esm/bundle-manifest.ts +0 -182
  1877. package/src/src/transforms/esm/bundle-recovery.ts +0 -356
  1878. package/src/src/transforms/esm/cached-bundle-validation.ts +0 -44
  1879. package/src/src/transforms/esm/html-content.ts +0 -13
  1880. package/src/src/transforms/esm/http-bundler.ts +0 -300
  1881. package/src/src/transforms/esm/http-cache-helpers.ts +0 -188
  1882. package/src/src/transforms/esm/http-cache-invariants.ts +0 -128
  1883. package/src/src/transforms/esm/http-cache-state.ts +0 -72
  1884. package/src/src/transforms/esm/http-cache-types.ts +0 -66
  1885. package/src/src/transforms/esm/http-cache-wrapper.ts +0 -442
  1886. package/src/src/transforms/esm/http-cache.ts +0 -439
  1887. package/src/src/transforms/esm/import-parser.ts +0 -254
  1888. package/src/src/transforms/esm/import-rewriter.ts +0 -194
  1889. package/src/src/transforms/esm/in-flight-manager.ts +0 -145
  1890. package/src/src/transforms/esm/index.ts +0 -23
  1891. package/src/src/transforms/esm/lexer.ts +0 -178
  1892. package/src/src/transforms/esm/package-registry.ts +0 -176
  1893. package/src/src/transforms/esm/path-resolver.ts +0 -114
  1894. package/src/src/transforms/esm/react-imports.ts +0 -55
  1895. package/src/src/transforms/esm/source-url-embed.ts +0 -31
  1896. package/src/src/transforms/esm/specifier-resolver.ts +0 -118
  1897. package/src/src/transforms/esm/transform-cache.ts +0 -317
  1898. package/src/src/transforms/esm/transform-utils.ts +0 -30
  1899. package/src/src/transforms/esm/types.ts +0 -22
  1900. package/src/src/transforms/esm-transform.ts +0 -13
  1901. package/src/src/transforms/import-rewriter/index.ts +0 -82
  1902. package/src/src/transforms/import-rewriter/parse-cache.ts +0 -195
  1903. package/src/src/transforms/import-rewriter/strategies/alias-strategy.ts +0 -79
  1904. package/src/src/transforms/import-rewriter/strategies/bare-strategy.ts +0 -96
  1905. package/src/src/transforms/import-rewriter/strategies/cross-project-strategy.ts +0 -54
  1906. package/src/src/transforms/import-rewriter/strategies/import-map-strategy.ts +0 -137
  1907. package/src/src/transforms/import-rewriter/strategies/index.ts +0 -25
  1908. package/src/src/transforms/import-rewriter/strategies/node-builtin-strategy.ts +0 -56
  1909. package/src/src/transforms/import-rewriter/strategies/react-strategy.ts +0 -48
  1910. package/src/src/transforms/import-rewriter/strategies/relative-strategy.ts +0 -71
  1911. package/src/src/transforms/import-rewriter/strategies/url-strategy.ts +0 -23
  1912. package/src/src/transforms/import-rewriter/strategies/vendor-strategy.ts +0 -47
  1913. package/src/src/transforms/import-rewriter/strategies/veryfront-strategy.ts +0 -97
  1914. package/src/src/transforms/import-rewriter/types.ts +0 -182
  1915. package/src/src/transforms/import-rewriter/unified-rewriter.ts +0 -136
  1916. package/src/src/transforms/import-rewriter/url-builder.ts +0 -145
  1917. package/src/src/transforms/md/compiler/index.ts +0 -7
  1918. package/src/src/transforms/md/compiler/md-compiler.ts +0 -61
  1919. package/src/src/transforms/md/utils.ts +0 -20
  1920. package/src/src/transforms/mdx/compiler/frontmatter-extractor.ts +0 -66
  1921. package/src/src/transforms/mdx/compiler/import-rewriter.ts +0 -125
  1922. package/src/src/transforms/mdx/compiler/index.ts +0 -63
  1923. package/src/src/transforms/mdx/compiler/mdx-compiler.ts +0 -62
  1924. package/src/src/transforms/mdx/esm-module-loader/cache/index.ts +0 -466
  1925. package/src/src/transforms/mdx/esm-module-loader/cache/local-fs.ts +0 -10
  1926. package/src/src/transforms/mdx/esm-module-loader/cache-format.ts +0 -204
  1927. package/src/src/transforms/mdx/esm-module-loader/components/resolver.ts +0 -75
  1928. package/src/src/transforms/mdx/esm-module-loader/constants.ts +0 -28
  1929. package/src/src/transforms/mdx/esm-module-loader/import-transformer.ts +0 -215
  1930. package/src/src/transforms/mdx/esm-module-loader/index.ts +0 -31
  1931. package/src/src/transforms/mdx/esm-module-loader/jsx/runtime-loader.ts +0 -17
  1932. package/src/src/transforms/mdx/esm-module-loader/jsx-cache.ts +0 -45
  1933. package/src/src/transforms/mdx/esm-module-loader/loader-helpers.ts +0 -224
  1934. package/src/src/transforms/mdx/esm-module-loader/loader.ts +0 -30
  1935. package/src/src/transforms/mdx/esm-module-loader/metadata/extractor.ts +0 -105
  1936. package/src/src/transforms/mdx/esm-module-loader/metadata/index.ts +0 -8
  1937. package/src/src/transforms/mdx/esm-module-loader/metadata/string-parser.ts +0 -69
  1938. package/src/src/transforms/mdx/esm-module-loader/missing-module.ts +0 -57
  1939. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/cache-keys.ts +0 -34
  1940. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/dependency-recovery.ts +0 -173
  1941. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/distributed-cache.ts +0 -260
  1942. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/framework-validator.ts +0 -294
  1943. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.ts +0 -85
  1944. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/import-rewriter.ts +0 -108
  1945. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/index.ts +0 -499
  1946. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/module-cache.ts +0 -88
  1947. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.ts +0 -95
  1948. package/src/src/transforms/mdx/esm-module-loader/module-fetcher/render-sessions.ts +0 -100
  1949. package/src/src/transforms/mdx/esm-module-loader/module-writer.ts +0 -425
  1950. package/src/src/transforms/mdx/esm-module-loader/resolution/file-finder.ts +0 -186
  1951. package/src/src/transforms/mdx/esm-module-loader/types.ts +0 -83
  1952. package/src/src/transforms/mdx/esm-module-loader/utils/hash.ts +0 -1
  1953. package/src/src/transforms/mdx/esm-module-loader/utils/stub-module.ts +0 -111
  1954. package/src/src/transforms/mdx/index.ts +0 -116
  1955. package/src/src/transforms/mdx/mdx-cache-adapter.ts +0 -213
  1956. package/src/src/transforms/mdx/module-loader/types.ts +0 -55
  1957. package/src/src/transforms/mdx/types.ts +0 -83
  1958. package/src/src/transforms/npm-import-rewrites.ts +0 -105
  1959. package/src/src/transforms/pipeline/context.ts +0 -124
  1960. package/src/src/transforms/pipeline/index.ts +0 -372
  1961. package/src/src/transforms/pipeline/stages/compile.ts +0 -70
  1962. package/src/src/transforms/pipeline/stages/finalize.ts +0 -20
  1963. package/src/src/transforms/pipeline/stages/index.ts +0 -14
  1964. package/src/src/transforms/pipeline/stages/parse.ts +0 -29
  1965. package/src/src/transforms/pipeline/stages/resolve-imports.ts +0 -48
  1966. package/src/src/transforms/pipeline/stages/ssr-css-strip.ts +0 -201
  1967. package/src/src/transforms/pipeline/stages/ssr-http-cache.ts +0 -49
  1968. package/src/src/transforms/pipeline/stages/ssr-http-stub.ts +0 -96
  1969. package/src/src/transforms/pipeline/stages/ssr-vf-modules/constants.ts +0 -62
  1970. package/src/src/transforms/pipeline/stages/ssr-vf-modules/import-finder.ts +0 -46
  1971. package/src/src/transforms/pipeline/stages/ssr-vf-modules/index.ts +0 -174
  1972. package/src/src/transforms/pipeline/stages/ssr-vf-modules/path-resolver.ts +0 -219
  1973. package/src/src/transforms/pipeline/stages/ssr-vf-modules/transform.ts +0 -434
  1974. package/src/src/transforms/pipeline/stages/ssr-vf-modules.ts +0 -5
  1975. package/src/src/transforms/pipeline/types.ts +0 -143
  1976. package/src/src/transforms/plugins/babel-node-positions.ts +0 -22
  1977. package/src/src/transforms/shared/cross-project-import.ts +0 -27
  1978. package/src/src/transforms/shared/framework-bundle-paths.ts +0 -12
  1979. package/src/src/transforms/shared/package-specifier.ts +0 -29
  1980. package/src/src/transforms/shared/vendor-export-name.ts +0 -7
  1981. package/src/src/transforms/veryfront-module-urls.ts +0 -131
  1982. package/src/src/types/app.ts +0 -6
  1983. package/src/src/types/branded.ts +0 -28
  1984. package/src/src/types/bundler.ts +0 -51
  1985. package/src/src/types/entities/getEntityInfo.ts +0 -448
  1986. package/src/src/types/entities.ts +0 -99
  1987. package/src/src/types/global-guards.ts +0 -21
  1988. package/src/src/types/hmr.ts +0 -20
  1989. package/src/src/types/index.ts +0 -207
  1990. package/src/src/types/rsc.ts +0 -40
  1991. package/src/src/types/server.ts +0 -153
  1992. package/src/src/utils/base64url.ts +0 -15
  1993. package/src/src/utils/box.ts +0 -300
  1994. package/src/src/utils/bundle-manifest-init.ts +0 -119
  1995. package/src/src/utils/bundle-manifest-kv.ts +0 -58
  1996. package/src/src/utils/bundle-manifest-redis.ts +0 -55
  1997. package/src/src/utils/bundle-manifest.ts +0 -161
  1998. package/src/src/utils/cache/eviction/eviction-manager.ts +0 -168
  1999. package/src/src/utils/cache/keys/namespace.ts +0 -25
  2000. package/src/src/utils/cache/stores/memory/entry-manager.ts +0 -98
  2001. package/src/src/utils/cache/stores/memory/lru-cache-adapter.ts +0 -220
  2002. package/src/src/utils/cache/stores/memory/lru-list-manager.ts +0 -58
  2003. package/src/src/utils/cache/stores/memory/lru-node.ts +0 -20
  2004. package/src/src/utils/cache/stores/memory/types.ts +0 -32
  2005. package/src/src/utils/cache-dir.ts +0 -80
  2006. package/src/src/utils/cache-file-ops.ts +0 -110
  2007. package/src/src/utils/cache-namespace.ts +0 -42
  2008. package/src/src/utils/case-utils.ts +0 -10
  2009. package/src/src/utils/circuit-breaker.ts +0 -216
  2010. package/src/src/utils/clsx.ts +0 -38
  2011. package/src/src/utils/constants/buffers.ts +0 -30
  2012. package/src/src/utils/constants/build.ts +0 -6
  2013. package/src/src/utils/constants/cache.ts +0 -208
  2014. package/src/src/utils/constants/cdn.ts +0 -88
  2015. package/src/src/utils/constants/crypto.ts +0 -12
  2016. package/src/src/utils/constants/env.ts +0 -26
  2017. package/src/src/utils/constants/hash.ts +0 -2
  2018. package/src/src/utils/constants/hmr.ts +0 -24
  2019. package/src/src/utils/constants/html.ts +0 -7
  2020. package/src/src/utils/constants/http.ts +0 -66
  2021. package/src/src/utils/constants/index.ts +0 -305
  2022. package/src/src/utils/constants/limits.ts +0 -31
  2023. package/src/src/utils/constants/metrics.ts +0 -39
  2024. package/src/src/utils/constants/network.ts +0 -31
  2025. package/src/src/utils/constants/priorities.ts +0 -31
  2026. package/src/src/utils/constants/retry.ts +0 -16
  2027. package/src/src/utils/constants/security.ts +0 -14
  2028. package/src/src/utils/constants/server.ts +0 -137
  2029. package/src/src/utils/cookie-utils.ts +0 -25
  2030. package/src/src/utils/env-loader.ts +0 -170
  2031. package/src/src/utils/feature-flags.ts +0 -10
  2032. package/src/src/utils/file-discovery.ts +0 -250
  2033. package/src/src/utils/hash-utils.ts +0 -56
  2034. package/src/src/utils/html-escape.ts +0 -8
  2035. package/src/src/utils/id.ts +0 -36
  2036. package/src/src/utils/import-lockfile.ts +0 -274
  2037. package/src/src/utils/import-map.ts +0 -53
  2038. package/src/src/utils/index.ts +0 -129
  2039. package/src/src/utils/logger/components.ts +0 -93
  2040. package/src/src/utils/logger/core.ts +0 -165
  2041. package/src/src/utils/logger/index.ts +0 -56
  2042. package/src/src/utils/logger/logger.ts +0 -612
  2043. package/src/src/utils/logger/request-context.ts +0 -47
  2044. package/src/src/utils/lru-wrapper.ts +0 -114
  2045. package/src/src/utils/memoize.ts +0 -100
  2046. package/src/src/utils/memory/index.ts +0 -23
  2047. package/src/src/utils/memory/profiler.ts +0 -250
  2048. package/src/src/utils/mime-types.ts +0 -153
  2049. package/src/src/utils/parallel.ts +0 -153
  2050. package/src/src/utils/path-utils.ts +0 -151
  2051. package/src/src/utils/perf-timer.ts +0 -140
  2052. package/src/src/utils/platform.ts +0 -21
  2053. package/src/src/utils/redis-client.ts +0 -133
  2054. package/src/src/utils/request-id.ts +0 -18
  2055. package/src/src/utils/route-path-utils.ts +0 -210
  2056. package/src/src/utils/runtime-guards.ts +0 -42
  2057. package/src/src/utils/semaphore.ts +0 -107
  2058. package/src/src/utils/singleflight.ts +0 -25
  2059. package/src/src/utils/version-constant.ts +0 -3
  2060. package/src/src/utils/version.ts +0 -51
  2061. package/src/src/workflow/api/index.ts +0 -8
  2062. package/src/src/workflow/api/workflow-client.ts +0 -181
  2063. package/src/src/workflow/api.ts +0 -195
  2064. package/src/src/workflow/backends/memory.ts +0 -451
  2065. package/src/src/workflow/backends/redis/index.ts +0 -657
  2066. package/src/src/workflow/backends/redis/types.ts +0 -57
  2067. package/src/src/workflow/backends/redis.ts +0 -10
  2068. package/src/src/workflow/backends/shared/requeue-run.ts +0 -18
  2069. package/src/src/workflow/backends/types.ts +0 -142
  2070. package/src/src/workflow/blob/types.ts +0 -36
  2071. package/src/src/workflow/blob/veryfront-cloud-storage.ts +0 -534
  2072. package/src/src/workflow/claude-code/agent.ts +0 -264
  2073. package/src/src/workflow/claude-code/event-publisher.ts +0 -340
  2074. package/src/src/workflow/claude-code/index.ts +0 -113
  2075. package/src/src/workflow/claude-code/react/index.ts +0 -23
  2076. package/src/src/workflow/claude-code/react/use-claude-code-stream.ts +0 -377
  2077. package/src/src/workflow/claude-code/react/use-claude-code-websocket.ts +0 -534
  2078. package/src/src/workflow/claude-code/tool.ts +0 -209
  2079. package/src/src/workflow/claude-code/types.ts +0 -425
  2080. package/src/src/workflow/claude-code/websocket-publisher.ts +0 -501
  2081. package/src/src/workflow/claude-code/workspace-sync.ts +0 -647
  2082. package/src/src/workflow/discovery/index.ts +0 -16
  2083. package/src/src/workflow/discovery/workflow-discovery.ts +0 -238
  2084. package/src/src/workflow/dsl/branch.ts +0 -74
  2085. package/src/src/workflow/dsl/index.ts +0 -29
  2086. package/src/src/workflow/dsl/loop.ts +0 -129
  2087. package/src/src/workflow/dsl/map.ts +0 -46
  2088. package/src/src/workflow/dsl/parallel.ts +0 -56
  2089. package/src/src/workflow/dsl/step.ts +0 -67
  2090. package/src/src/workflow/dsl/sub-workflow.ts +0 -39
  2091. package/src/src/workflow/dsl/validation.ts +0 -8
  2092. package/src/src/workflow/dsl/wait.ts +0 -77
  2093. package/src/src/workflow/dsl/workflow.ts +0 -122
  2094. package/src/src/workflow/executor/checkpoint-manager.ts +0 -160
  2095. package/src/src/workflow/executor/dag/graph.ts +0 -127
  2096. package/src/src/workflow/executor/dag/index.ts +0 -684
  2097. package/src/src/workflow/executor/dag/types.ts +0 -40
  2098. package/src/src/workflow/executor/dag/utils.ts +0 -17
  2099. package/src/src/workflow/executor/dag-executor.ts +0 -14
  2100. package/src/src/workflow/executor/step-executor.ts +0 -339
  2101. package/src/src/workflow/executor/workflow-executor.ts +0 -635
  2102. package/src/src/workflow/index.ts +0 -148
  2103. package/src/src/workflow/react/index.ts +0 -17
  2104. package/src/src/workflow/react/use-approval.ts +0 -150
  2105. package/src/src/workflow/react/use-workflow-list.ts +0 -181
  2106. package/src/src/workflow/react/use-workflow-start.ts +0 -75
  2107. package/src/src/workflow/react/use-workflow.ts +0 -205
  2108. package/src/src/workflow/registry.ts +0 -311
  2109. package/src/src/workflow/runtime/approval-manager.ts +0 -325
  2110. package/src/src/workflow/schemas/index.ts +0 -57
  2111. package/src/src/workflow/schemas/workflow.schema.ts +0 -262
  2112. package/src/src/workflow/types.ts +0 -359
  2113. package/src/src/workflow/worker/dynamic-job-entrypoint.ts +0 -254
  2114. package/src/src/workflow/worker/executors/index.ts +0 -17
  2115. package/src/src/workflow/worker/executors/k8s.ts +0 -337
  2116. package/src/src/workflow/worker/executors/process.ts +0 -332
  2117. package/src/src/workflow/worker/executors/types.ts +0 -149
  2118. package/src/src/workflow/worker/index.ts +0 -78
  2119. package/src/src/workflow/worker/job-entrypoint.ts +0 -215
  2120. package/src/src/workflow/worker/job-manager.ts +0 -488
  2121. package/src/src/workflow/worker/shared.ts +0 -127
  2122. package/src/src/workflow/worker/workflow-worker.ts +0 -326
@@ -1,201 +0,0 @@
1
- /**
2
- * CSS Strip Stage - removes CSS import statements from compiled code.
3
- *
4
- * CSS files are not valid JS modules and will crash both the SSR module
5
- * loader and browser module system if left in compiled code. This plugin
6
- * strips them and records the CSS specifiers in pipeline metadata for
7
- * downstream collection (used by the SSR rendering pipeline to include
8
- * the CSS content in the HTML output).
9
- *
10
- * For CSS Module imports (`import styles from "./X.module.css"`), the
11
- * import is replaced with a Proxy stub that returns the property name
12
- * as the class name. This matches the Next.js convention where
13
- * `styles.container` → `"container"` (identity mapping), which works
14
- * correctly with Tailwind CSS class-based styling.
15
- */
16
-
17
- import type { TransformPlugin } from "../types.js";
18
- import { TransformStage } from "../types.js";
19
- import { parseImports, rewriteImports } from "../../esm/lexer.js";
20
- import {
21
- getCssModuleScope,
22
- resolveCssModuleKey,
23
- toScopedCssModuleClass,
24
- } from "../../css-modules/naming.js";
25
-
26
- function isCSSImport(specifier: string | undefined): boolean {
27
- return specifier?.endsWith(".css") || false;
28
- }
29
-
30
- function isCssModuleImport(specifier: string | undefined): boolean {
31
- return specifier?.endsWith(".module.css") || false;
32
- }
33
-
34
- function cssModuleProxyExpression(): string {
35
- return "new Proxy({}, { get: (_, p) => String(p) })";
36
- }
37
-
38
- function scopedCssModuleProxyExpression(moduleKey: string): string {
39
- const scope = getCssModuleScope(moduleKey);
40
- return `new Proxy({}, { get: (_, p) => typeof p === "string" ? "${scope.base}_" + String(p).replace(/[^\\w-]/g, "_") + "__${scope.hash}" : "" })`;
41
- }
42
-
43
- type NamedImportBinding = { imported: string; local: string };
44
-
45
- function parseNamedImportBindings(namedClause: string): NamedImportBinding[] {
46
- const bindings: NamedImportBinding[] = [];
47
-
48
- for (const rawPart of namedClause.split(",")) {
49
- const part = rawPart.trim();
50
- if (!part) continue;
51
-
52
- const aliasMatch = part.match(/^([_$a-zA-Z][\w$-]*)\s+as\s+([_$a-zA-Z][\w$]*)$/);
53
- if (aliasMatch) {
54
- const imported = aliasMatch[1];
55
- const local = aliasMatch[2];
56
- if (!imported || !local) continue;
57
- bindings.push({ imported, local });
58
- continue;
59
- }
60
-
61
- if (/^[_$a-zA-Z][\w$]*$/.test(part)) {
62
- bindings.push({ imported: part, local: part });
63
- }
64
- }
65
-
66
- return bindings;
67
- }
68
-
69
- /**
70
- * Generate a replacement for a static CSS import statement.
71
- *
72
- * - Side-effect import: `import "./globals.css"` → comment
73
- * - Default import: `import styles from "./X.module.css"` → Proxy stub
74
- * - Named imports: `import { a } from "./X.css"` → null stubs
75
- */
76
- function generateCSSStub(statement: string, specifier: string): string {
77
- const trimmed = statement.trim();
78
-
79
- // Re-export from CSS: export { default as styles } from './module.css'
80
- // → strip entirely, the CSS is collected separately
81
- if (/^export\s/.test(trimmed)) {
82
- return `/* css re-export stripped: ${specifier} */`;
83
- }
84
-
85
- // Side-effect import: import "./globals.css"
86
- if (/^import\s+['"`]/.test(trimmed)) {
87
- return `/* css import: ${specifier} */`;
88
- }
89
-
90
- const fromIndex = trimmed.lastIndexOf(" from ");
91
- if (fromIndex === -1) {
92
- return `/* css import: ${specifier} */`;
93
- }
94
-
95
- const cssModuleKey = isCssModuleImport(specifier) ? specifier : undefined;
96
- const importClause = trimmed.slice(6, fromIndex).trim(); // Skip "import "
97
-
98
- // Default import: import styles from "./Button.module.css"
99
- // → const styles = new Proxy({}, { get: (_, p) => String(p) })
100
- // This makes styles.container return "container" (identity mapping)
101
- if (/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(importClause)) {
102
- const expr = cssModuleKey
103
- ? scopedCssModuleProxyExpression(cssModuleKey)
104
- : cssModuleProxyExpression();
105
- return `const ${importClause} = ${expr}; /* css module: ${specifier} */`;
106
- }
107
-
108
- // Namespace import: import * as styles from "./X.module.css"
109
- const nsMatch = importClause.match(/^\*\s+as\s+([a-zA-Z_$][a-zA-Z0-9_$]*)$/);
110
- if (nsMatch) {
111
- const expr = cssModuleKey
112
- ? scopedCssModuleProxyExpression(cssModuleKey)
113
- : cssModuleProxyExpression();
114
- return `const ${nsMatch[1]} = ${expr}; /* css module: ${specifier} */`;
115
- }
116
-
117
- // Named imports: import { container, header } from "./X.module.css"
118
- const namedMatch = importClause.match(/^\{([^}]+)\}$/);
119
- if (namedMatch?.[1]) {
120
- const bindings = parseNamedImportBindings(namedMatch[1]);
121
- if (bindings.length > 0) {
122
- const stubs = bindings
123
- .map((binding) => {
124
- const value = cssModuleKey
125
- ? toScopedCssModuleClass(cssModuleKey, binding.imported)
126
- : binding.imported;
127
- return `${binding.local} = "${value}"`;
128
- })
129
- .join(", ");
130
- return `const ${stubs}; /* css module: ${specifier} */`;
131
- }
132
- }
133
-
134
- // Mixed: import styles, { container } from "./X.module.css"
135
- const mixedMatch = importClause.match(/^([a-zA-Z_$][a-zA-Z0-9_$]*)\s*,\s*\{([^}]+)\}$/);
136
- if (mixedMatch?.[1] && mixedMatch[2]) {
137
- const defaultName = mixedMatch[1];
138
- const bindings = parseNamedImportBindings(mixedMatch[2]);
139
- const namedStubs = bindings
140
- .map((binding) => {
141
- const value = cssModuleKey
142
- ? toScopedCssModuleClass(cssModuleKey, binding.imported)
143
- : binding.imported;
144
- return `${binding.local} = "${value}"`;
145
- })
146
- .join(", ");
147
- const defaultExpr = cssModuleKey
148
- ? scopedCssModuleProxyExpression(cssModuleKey)
149
- : cssModuleProxyExpression();
150
- return namedStubs.length > 0
151
- ? `const ${defaultName} = ${defaultExpr}, ${namedStubs}; /* css module: ${specifier} */`
152
- : `const ${defaultName} = ${defaultExpr}; /* css module: ${specifier} */`;
153
- }
154
-
155
- return `/* css import: ${specifier} */`;
156
- }
157
-
158
- /**
159
- * Generate a replacement for dynamic CSS imports.
160
- * Keeps syntax valid in expression position (e.g. await import("./x.css")).
161
- */
162
- function generateDynamicCSSStub(specifier: string): string {
163
- if (isCssModuleImport(specifier)) {
164
- return `Promise.resolve({ default: ${
165
- scopedCssModuleProxyExpression(specifier)
166
- } }) /* css import: ${specifier} */`;
167
- }
168
-
169
- return `Promise.resolve({}) /* css import: ${specifier} */`;
170
- }
171
-
172
- export const cssStripPlugin: TransformPlugin = {
173
- name: "css-strip",
174
- stage: TransformStage.COMPILE + 0.5, // Run after esbuild compile, before import resolution
175
-
176
- async transform(ctx) {
177
- const imports = await parseImports(ctx.code);
178
-
179
- const hasCssImports = imports.some((imp) => isCSSImport(imp.n));
180
- if (!hasCssImports) return ctx.code;
181
-
182
- const cssSpecifiers: string[] = [];
183
-
184
- const result = await rewriteImports(ctx.code, (imp, statement) => {
185
- if (!isCSSImport(imp.n)) return null;
186
- cssSpecifiers.push(imp.n!);
187
- const moduleKey = isCssModuleImport(imp.n)
188
- ? resolveCssModuleKey(imp.n!, ctx.filePath, ctx.projectDir)
189
- : undefined;
190
- const specifierForStub = moduleKey ?? imp.n!;
191
- if (imp.d > -1) return generateDynamicCSSStub(specifierForStub);
192
- return generateCSSStub(statement, specifierForStub);
193
- });
194
-
195
- if (cssSpecifiers.length > 0) {
196
- ctx.metadata.set("cssImports", cssSpecifiers);
197
- }
198
-
199
- return result;
200
- },
201
- };
@@ -1,49 +0,0 @@
1
- /**
2
- * SSR HTTP Cache Stage - caches HTTP imports to local file:// paths.
3
- *
4
- * Deno supports HTTP imports, but Node.js and Bun don't.
5
- * This stage normalizes all SSR dependencies by downloading HTTP modules
6
- * (esm.sh, npm:, etc.) into a shared cache and rewriting imports to file://.
7
- * This keeps SSR runtime-agnostic and avoids loader hooks.
8
- */
9
-
10
- import type { TransformPlugin } from "../types.js";
11
- import { TransformStage } from "../types.js";
12
- import { cacheHttpImportsToLocal } from "../../esm/http-cache.js";
13
- import { getHttpBundleCacheDir } from "../../../utils/cache-dir.js";
14
- import { loadImportMap } from "../../../modules/import-map/index.js";
15
- import type { ImportMapConfig } from "../../../modules/import-map/index.js";
16
- import { rendererLogger as logger } from "../../../utils/index.js";
17
-
18
- const LOG_PREFIX = "[SSR-HTTP-CACHE]";
19
-
20
- export const ssrHttpCachePlugin: TransformPlugin = {
21
- name: "ssr-http-cache",
22
- stage: TransformStage.FINALIZE - 1, // Run just before finalize
23
-
24
- async transform(ctx) {
25
- const cachedMap = ctx.metadata.get("importMap") as ImportMapConfig | undefined;
26
- const importMap = cachedMap ?? (await loadImportMap(ctx.projectDir));
27
-
28
- if (!cachedMap) {
29
- ctx.metadata.set("importMap", importMap);
30
- }
31
-
32
- const { code, bundleManifestId } = await cacheHttpImportsToLocal(ctx.code, {
33
- cacheDir: getHttpBundleCacheDir(),
34
- importMap,
35
- reactVersion: ctx.reactVersion,
36
- });
37
-
38
- if (code !== ctx.code) {
39
- logger.debug(`${LOG_PREFIX} Cached HTTP imports for ${ctx.filePath.slice(-40)}`);
40
- }
41
-
42
- // Store bundle manifest ID in context metadata for downstream consumers
43
- if (bundleManifestId) {
44
- ctx.metadata.set("bundleManifestId", bundleManifestId);
45
- }
46
-
47
- return code;
48
- },
49
- };
@@ -1,96 +0,0 @@
1
- /**
2
- * SSR HTTP Stub Stage - replaces browser-only HTTP imports with stubs during SSR.
3
- * Modules like video.js access browser globals at import time and fail in SSR.
4
- */
5
-
6
- import type { TransformPlugin } from "../types.js";
7
- import { TransformStage } from "../types.js";
8
- import { parseImports, rewriteImports } from "../../esm/lexer.js";
9
-
10
- /** Known browser-only packages that need SSR stubbing */
11
- const BROWSER_ONLY_PATTERNS = [
12
- "video.js",
13
- "video-js",
14
- "videojs",
15
- "gsap",
16
- "three",
17
- "mapbox",
18
- "leaflet",
19
- ];
20
-
21
- function isHttpImport(specifier: string | undefined): boolean {
22
- return specifier?.startsWith("http://") || specifier?.startsWith("https://") || false;
23
- }
24
-
25
- function isBrowserOnlyModule(specifier: string): boolean {
26
- return BROWSER_ONLY_PATTERNS.some((pattern) => specifier.includes(pattern));
27
- }
28
-
29
- function extractImportNames(list: string): string[] {
30
- return list
31
- .split(",")
32
- .map((n) => n.trim().split(/\s+as\s+/).at(-1)?.trim() ?? "")
33
- .filter(Boolean);
34
- }
35
-
36
- /** Generate a stub for a given import statement */
37
- function generateStub(
38
- imp: { n: string | undefined; ss: number; se: number; d: number },
39
- statement: string,
40
- ): string | null {
41
- if (!imp.n || imp.d > -1 || !isHttpImport(imp.n) || !isBrowserOnlyModule(imp.n)) return null;
42
-
43
- const trimmed = statement.trim();
44
-
45
- // Side-effect import: import 'url' -> /* SSR stub: import 'url' */
46
- if (/^import\s+['"`]/.test(trimmed)) return `/* SSR stub: ${trimmed} */`;
47
-
48
- const fromIndex = trimmed.lastIndexOf(" from ");
49
- if (fromIndex === -1) return null;
50
-
51
- const importClause = trimmed.slice(6, fromIndex).trim(); // Skip 'import '
52
-
53
- // Default import: import X from 'url' -> const X = null
54
- if (/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(importClause)) {
55
- return `const ${importClause} = null; /* SSR stub for ${imp.n} */`;
56
- }
57
-
58
- // Namespace import: import * as X from 'url' -> const X = {}
59
- const namespaceMatch = importClause.match(/^\*\s+as\s+([a-zA-Z_$][a-zA-Z0-9_$]*)$/);
60
- if (namespaceMatch) return `const ${namespaceMatch[1]} = {}; /* SSR stub for ${imp.n} */`;
61
-
62
- // Named imports: import { X, Y as Z } from 'url' -> const X = null, Z = null
63
- const namedMatch = importClause.match(/^\{([^}]+)\}$/);
64
- if (namedMatch?.[1]) {
65
- const names = extractImportNames(namedMatch[1]);
66
- if (!names.length) return null;
67
- return `const ${names.map((n) => `${n} = null`).join(", ")}; /* SSR stub for ${imp.n} */`;
68
- }
69
-
70
- // Mixed import: import X, { Y } from 'url'
71
- const mixedMatch = importClause.match(/^([a-zA-Z_$][a-zA-Z0-9_$]*)\s*,\s*\{([^}]+)\}$/);
72
- if (mixedMatch?.[1] && mixedMatch[2]) {
73
- const names = [mixedMatch[1], ...extractImportNames(mixedMatch[2])];
74
- if (!names.length) return null;
75
- return `const ${names.map((n) => `${n} = null`).join(", ")}; /* SSR stub for ${imp.n} */`;
76
- }
77
-
78
- return null;
79
- }
80
-
81
- export const ssrHttpStubPlugin: TransformPlugin = {
82
- name: "ssr-http-stub",
83
- stage: TransformStage.RESOLVE_CONTEXT + 1, // Run just after resolve-context, before resolve-relative
84
-
85
- async transform(ctx) {
86
- const imports = await parseImports(ctx.code);
87
-
88
- const needsStubbing = imports.some((imp) => {
89
- if (!imp.n || imp.d !== -1) return false;
90
- return isHttpImport(imp.n) && isBrowserOnlyModule(imp.n);
91
- });
92
- if (!needsStubbing) return ctx.code;
93
-
94
- return rewriteImports(ctx.code, (imp, statement) => generateStub(imp, statement));
95
- },
96
- };
@@ -1,62 +0,0 @@
1
- /**
2
- * Shared constants, types, and caches for the SSR VF Modules stage.
3
- */
4
-
5
- import { join } from "../../../../platform/compat/path/index.js";
6
- import { createFileSystem } from "../../../../platform/compat/fs.js";
7
- import { getFrameworkRootFromMeta } from "../../../../platform/compat/vfs-paths.js";
8
- import { Singleflight } from "../../../../utils/singleflight.js";
9
-
10
- export const LOG_PREFIX = "[SSR-VF-MODULES]";
11
-
12
- // Extensions to try when resolving framework files
13
- export const EXTENSIONS = [".tsx", ".ts", ".jsx", ".js"];
14
-
15
- // Get framework root - this works in both Deno source and compiled binaries
16
- const RUNTIME_FRAMEWORK_ROOT = getFrameworkRootFromMeta(import.meta.url);
17
-
18
- // Always use the runtime-detected framework root.
19
- // In compiled binaries, embedded files are extracted to the runtime directory,
20
- // NOT accessible at compile-time paths. The extraction structure mirrors the
21
- // original directory layout, so dist/framework-src is at {extraction_root}/dist/framework-src.
22
- export const FRAMEWORK_ROOT = RUNTIME_FRAMEWORK_ROOT;
23
-
24
- // Directory containing embedded framework sources for compiled binaries.
25
- // These are .src files created by scripts/prepare-framework-sources.ts.
26
- // In compiled binaries, files are extracted to the runtime directory.
27
- export const EMBEDDED_SRC_DIR = join(RUNTIME_FRAMEWORK_ROOT, "dist", "framework-src");
28
-
29
- // Map of _vf_modules prefixes to framework directories.
30
- // Prefer regular src/ when present so source checkouts never serve stale
31
- // dist/framework-src copies; compiled binaries fall back to embedded .src files.
32
- export const FRAMEWORK_LOOKUPS: Array<[prefix: string, frameworkDir: string]> = [
33
- // Regular sources for dev mode
34
- ["_veryfront/", join(FRAMEWORK_ROOT, "src")],
35
- // Embedded sources for compiled binaries (these are .src files)
36
- ["_veryfront/", EMBEDDED_SRC_DIR],
37
- ];
38
-
39
- // Singleflight for framework module file writes to prevent race conditions
40
- export const frameworkWriteFlight = new Singleflight<string>();
41
-
42
- // Singleflight for top-level framework source transforms so concurrent user
43
- // modules importing the same veryfront/* module do not receive cycle placeholders.
44
- export const frameworkTransformFlight = new Singleflight<string>();
45
-
46
- // Cache for already-transformed #veryfront/ dependencies to avoid cycles and redundant work
47
- export const veryfrontTransformCache = new Map<string, string>();
48
-
49
- // Cache for transformed framework files by absolute path to prevent cycles and redundant work
50
- export const frameworkFileCache = new Map<string, string>();
51
-
52
- // Track files currently being transformed to detect cycles
53
- export const transformingFiles = new Set<string>();
54
-
55
- // Maximum recursion depth for relative imports
56
- export const MAX_RELATIVE_IMPORT_DEPTH = 10;
57
-
58
- export interface TransformContext {
59
- reactVersion: string;
60
- projectDir: string;
61
- fs: ReturnType<typeof createFileSystem>;
62
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * Import discovery functions for the SSR VF Modules stage.
3
- */
4
-
5
- /**
6
- * Find all /_vf_modules/_veryfront/ imports in the code.
7
- * Only matches framework modules, not user project files.
8
- */
9
- export function findVfModuleImports(code: string): string[] {
10
- const imports: string[] = [];
11
- // Note: \s* allows zero whitespace (minified code: from"..." has no space)
12
- // Only match _veryfront/ framework modules, not user project files.
13
- // Handle both raw "/_vf_modules/..." specifiers and malformed
14
- // "file:///_vf_modules/..." variants that can leak out of stale caches.
15
- const pattern = /from\s*["']((?:file:\/\/)?\/_vf_modules\/_veryfront\/[^"']+)["']/g;
16
-
17
- let match: RegExpExecArray | null;
18
- while ((match = pattern.exec(code)) !== null) {
19
- imports.push(match[1]!);
20
- }
21
-
22
- return [...new Set(imports)];
23
- }
24
-
25
- /**
26
- * Find all relative imports (./foo, ../bar) in the code.
27
- * Returns array of specifiers.
28
- */
29
- export function findRelativeImports(code: string): string[] {
30
- const imports: string[] = [];
31
-
32
- // Match: from "./foo" or from "../bar"
33
- const fromPattern = /from\s*["'](\.\.?\/[^"']+)["']/g;
34
- // Match side-effect imports: import "./foo" or import "../bar" (no `from`)
35
- const sideEffectPattern = /import\s*["'](\.\.?\/[^"']+)["']/g;
36
-
37
- let match: RegExpExecArray | null;
38
- while ((match = fromPattern.exec(code)) !== null) {
39
- imports.push(match[1]!);
40
- }
41
- while ((match = sideEffectPattern.exec(code)) !== null) {
42
- imports.push(match[1]!);
43
- }
44
-
45
- return [...new Set(imports)];
46
- }
@@ -1,174 +0,0 @@
1
- /**
2
- * SSR VF Modules Stage - resolves /_vf_modules/_veryfront/ paths to framework source.
3
- *
4
- * The SSR import map rewrites "veryfront/head" -> "/_vf_modules/_veryfront/react/runtime/core.js?ssr=true"
5
- * This stage resolves those paths to actual framework source files, transforms them
6
- * (including React import rewriting), and rewrites imports to file:// paths.
7
- *
8
- * This ensures framework components use the same cached React bundles as user code,
9
- * preventing the "dual React instances" error that causes hooks to fail.
10
- */
11
-
12
- import type { TransformPlugin } from "../../types.js";
13
- import { TransformStage } from "../../types.js";
14
- import { rendererLogger as logger } from "../../../../utils/index.js";
15
- import { replaceSpecifiers } from "../../../esm/lexer.js";
16
- import { createFileSystem } from "../../../../platform/compat/fs.js";
17
- import { REACT_DEFAULT_VERSION } from "../../../../utils/constants/cdn.js";
18
- import { findRelativeImports, findVfModuleImports } from "./import-finder.js";
19
- import {
20
- resolveFrameworkFile,
21
- resolveRelativeFrameworkImport,
22
- resolveVeryfrontSourcePath,
23
- } from "./path-resolver.js";
24
- import {
25
- cacheTransformedCode,
26
- isCyclePlaceholder,
27
- resolveAndTransformVeryfrontImport,
28
- transformFrameworkSource,
29
- } from "./transform.js";
30
- import {
31
- EMBEDDED_SRC_DIR,
32
- EXTENSIONS,
33
- FRAMEWORK_LOOKUPS,
34
- FRAMEWORK_ROOT,
35
- frameworkTransformFlight,
36
- LOG_PREFIX,
37
- } from "./constants.js";
38
-
39
- // Re-export submodules for external consumers
40
- export { findRelativeImports, findVfModuleImports } from "./import-finder.js";
41
- export {
42
- resolveFrameworkFile,
43
- resolveRelativeFrameworkImport,
44
- resolveVeryfrontSourcePath,
45
- tryReadWithExtensions,
46
- } from "./path-resolver.js";
47
- export {
48
- cacheTransformedCode,
49
- isCyclePlaceholder,
50
- resolveAndTransformVeryfrontImport,
51
- transformFrameworkCode,
52
- transformFrameworkSource,
53
- } from "./transform.js";
54
- export {
55
- EMBEDDED_SRC_DIR,
56
- EXTENSIONS,
57
- FRAMEWORK_LOOKUPS,
58
- FRAMEWORK_ROOT,
59
- frameworkFileCache,
60
- frameworkTransformFlight,
61
- frameworkWriteFlight,
62
- LOG_PREFIX,
63
- MAX_RELATIVE_IMPORT_DEPTH,
64
- type TransformContext,
65
- transformingFiles,
66
- veryfrontTransformCache,
67
- } from "./constants.js";
68
-
69
- // Log initialization paths once for debugging
70
- let _initLogged = false;
71
- function logInitOnce(): void {
72
- if (_initLogged) return;
73
- _initLogged = true;
74
- logger.debug(`${LOG_PREFIX} Initialized`, {
75
- importMetaUrl: import.meta.url,
76
- frameworkRoot: FRAMEWORK_ROOT,
77
- embeddedSrcDir: EMBEDDED_SRC_DIR,
78
- });
79
- }
80
-
81
- // Export internal functions for testing
82
- export const _testExports = {
83
- findVfModuleImports,
84
- findRelativeImports,
85
- resolveFrameworkFile,
86
- resolveRelativeFrameworkImport,
87
- resolveVeryfrontSourcePath,
88
- resolveAndTransformVeryfrontImport,
89
- FRAMEWORK_ROOT,
90
- EMBEDDED_SRC_DIR,
91
- EXTENSIONS,
92
- };
93
-
94
- export const ssrVfModulesPlugin: TransformPlugin = {
95
- name: "ssr-vf-modules",
96
- stage: TransformStage.RESOLVE_ALIASES + 0.5, // Run right after import resolution
97
- condition: (ctx) => ctx.target === "ssr",
98
-
99
- async transform(ctx) {
100
- logInitOnce();
101
-
102
- const vfModuleImports = findVfModuleImports(ctx.code);
103
- logger.debug(`${LOG_PREFIX} Transform called`, {
104
- file: ctx.filePath?.slice(-60) ?? "<unknown>",
105
- count: vfModuleImports.length,
106
- imports: vfModuleImports.slice(0, 5),
107
- });
108
-
109
- if (vfModuleImports.length === 0) return ctx.code;
110
-
111
- logger.debug(`${LOG_PREFIX} Found ${vfModuleImports.length} /_vf_modules/ imports`, {
112
- file: ctx.filePath?.slice(-60) ?? "<unknown>",
113
- imports: vfModuleImports,
114
- frameworkRoot: FRAMEWORK_ROOT,
115
- });
116
-
117
- const fs = createFileSystem();
118
- const replacements = new Map<string, string>();
119
-
120
- for (const vfModulePath of vfModuleImports) {
121
- try {
122
- logger.debug(`${LOG_PREFIX} Resolving framework file`, {
123
- vfModulePath,
124
- frameworkRoot: FRAMEWORK_ROOT,
125
- embeddedSrcDir: EMBEDDED_SRC_DIR,
126
- });
127
-
128
- const resolved = await resolveFrameworkFile(vfModulePath, fs);
129
- if (!resolved) {
130
- logger.warn(`${LOG_PREFIX} Could not resolve ${vfModulePath}`, {
131
- frameworkRoot: FRAMEWORK_ROOT,
132
- lookups: FRAMEWORK_LOOKUPS.map(([prefix, dir]) => ({ prefix, dir })),
133
- });
134
- continue;
135
- }
136
-
137
- logger.debug(`${LOG_PREFIX} Resolved framework file`, {
138
- vfModulePath,
139
- sourcePath: resolved.sourcePath,
140
- contentLength: resolved.content.length,
141
- });
142
-
143
- const cachePath = await frameworkTransformFlight.do(resolved.sourcePath, async () => {
144
- const transformed = await transformFrameworkSource(
145
- resolved.content,
146
- resolved.sourcePath,
147
- ctx.reactVersion ?? REACT_DEFAULT_VERSION,
148
- ctx.projectDir,
149
- fs,
150
- );
151
-
152
- // Skip cycle placeholders - don't cache or use them
153
- if (isCyclePlaceholder(transformed)) {
154
- throw new Error(`Cycle detected while transforming ${vfModulePath}`);
155
- }
156
-
157
- return await cacheTransformedCode(transformed, vfModulePath, fs);
158
- });
159
- replacements.set(vfModulePath, `file://${cachePath}`);
160
-
161
- logger.debug(`${LOG_PREFIX} Transformed ${vfModulePath} -> file://${cachePath}`);
162
- } catch (error) {
163
- logger.error(`${LOG_PREFIX} Failed to transform ${vfModulePath}`, {
164
- error: error instanceof Error ? error.message : String(error),
165
- stack: error instanceof Error ? error.stack : undefined,
166
- });
167
- }
168
- }
169
-
170
- if (replacements.size === 0) return ctx.code;
171
-
172
- return replaceSpecifiers(ctx.code, (specifier) => replacements.get(specifier) ?? null);
173
- },
174
- };