vite-hub 0.0.4 → 0.3.1

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 (1432) hide show
  1. package/README.md +265 -14
  2. package/dist/_internal/auth/internal/server.d.ts +1 -0
  3. package/dist/_internal/auth/internal/server.js +2 -0
  4. package/dist/_internal/auth/runtime/server.d.ts +1 -0
  5. package/dist/_internal/auth/runtime/server.js +2 -0
  6. package/dist/_internal/runtime/browser-errors.d.ts +22 -0
  7. package/dist/_internal/runtime/browser-errors.js +156 -0
  8. package/dist/_internal/runtime/internal/h3.d.ts +1 -0
  9. package/dist/_internal/runtime/internal/h3.js +2 -0
  10. package/dist/_internal/runtime/redirects.d.ts +37 -0
  11. package/dist/_internal/runtime/redirects.js +71 -0
  12. package/dist/_internal/runtime/request-policy.d.ts +43 -0
  13. package/dist/_internal/runtime/request-policy.js +62 -0
  14. package/dist/_internal/runtime/security.d.ts +27 -0
  15. package/dist/_internal/runtime/security.js +104 -0
  16. package/dist/access-F0YP5D5E.js +439 -0
  17. package/dist/access-policy-B_DCpZUt.js +73 -0
  18. package/dist/access-policy-BsB3QVe5.d.ts +109 -0
  19. package/dist/account-Bsu-LBOF.d.ts +195 -0
  20. package/dist/agent/capabilities.d.ts +1 -20
  21. package/dist/agent/capabilities.js +1 -7
  22. package/dist/agent/invocations/database.d.ts +1 -0
  23. package/dist/agent/invocations/database.js +2 -0
  24. package/dist/agent/invocations/drizzle.d.ts +1 -0
  25. package/dist/agent/invocations/drizzle.js +2 -0
  26. package/dist/agent/invocations.d.ts +1 -0
  27. package/dist/agent/invocations.js +2 -0
  28. package/dist/agent/observability.d.ts +1 -0
  29. package/dist/agent/observability.js +2 -0
  30. package/dist/agent/page.d.ts +1 -0
  31. package/dist/agent/page.js +2 -0
  32. package/dist/agent/process.d.ts +1 -0
  33. package/dist/agent/process.js +2 -0
  34. package/dist/agent/state.d.ts +1 -0
  35. package/dist/agent/state.js +2 -0
  36. package/dist/agent/ui/vue.d.ts +1 -0
  37. package/dist/agent/ui/vue.js +2 -0
  38. package/dist/agent/ui.d.ts +1 -0
  39. package/dist/agent/ui.js +2 -0
  40. package/dist/agent/vite.d.ts +1 -0
  41. package/dist/agent/vite.js +2 -0
  42. package/dist/agent-invocations.post-DIm8tJV2.js +423 -0
  43. package/dist/agent.d.ts +1 -7
  44. package/dist/agent.js +1 -31
  45. package/dist/agents-C94A4N9u.d.ts +29 -0
  46. package/dist/agents-DnHexzTJ.js +123 -0
  47. package/dist/agents-y5hBFHUQ.js +2 -0
  48. package/dist/auth/abilities.d.ts +1 -0
  49. package/dist/auth/abilities.js +2 -0
  50. package/dist/auth/database.d.ts +1 -0
  51. package/dist/auth/database.js +2 -0
  52. package/dist/auth/forward.d.ts +1 -0
  53. package/dist/auth/forward.js +2 -0
  54. package/dist/auth/mcp.d.ts +1 -0
  55. package/dist/auth/mcp.js +2 -0
  56. package/dist/auth/presets.d.ts +1 -0
  57. package/dist/auth/presets.js +2 -0
  58. package/dist/auth/schema.d.ts +1 -0
  59. package/dist/auth/schema.js +2 -0
  60. package/dist/auth-BFVHYizM.d.ts +120 -0
  61. package/dist/auth-operations-GcQk0O0X.js +34 -0
  62. package/dist/auth-types-DWpTBZvp.d.ts +90 -0
  63. package/dist/bin.d.ts +1 -1
  64. package/dist/bin.js +318 -50
  65. package/dist/blob/client.d.ts +1 -0
  66. package/dist/blob/client.js +2 -0
  67. package/dist/blob/media.d.ts +1 -0
  68. package/dist/blob/media.js +2 -0
  69. package/dist/blob/nuxt-image.d.ts +3 -0
  70. package/dist/blob/nuxt-image.js +3 -0
  71. package/dist/blob/vue.d.ts +1 -0
  72. package/dist/blob/vue.js +2 -0
  73. package/dist/blob-BRV6_wZa.js +26 -0
  74. package/dist/blob-CiUmptIp.d.ts +9 -0
  75. package/dist/bundle.d.ts +1 -0
  76. package/dist/bundle.js +2 -0
  77. package/dist/cache/operations.d.ts +5 -0
  78. package/dist/cache/operations.js +51 -0
  79. package/dist/cache.d.ts +28 -0
  80. package/dist/cache.js +219 -0
  81. package/dist/cli-DjoDGgT4.js +36 -0
  82. package/dist/cli-config--rAg6V-a.js +2 -0
  83. package/dist/cli-config-Bpjjfz5j.js +105 -0
  84. package/dist/cloudflare-env-lookup-DKXdr4P_.js +16 -0
  85. package/dist/cloudflare-prerender.mjs +3 -0
  86. package/dist/cloudflare-workers.d.ts +12 -0
  87. package/dist/cms/access.d.ts +1 -0
  88. package/dist/cms/access.js +2 -0
  89. package/dist/cms/vite.d.ts +1 -0
  90. package/dist/cms/vite.js +2 -0
  91. package/dist/cms.d.ts +3 -0
  92. package/dist/cms.js +3 -0
  93. package/dist/comments/anchor.d.ts +1 -0
  94. package/dist/comments/anchor.js +2 -0
  95. package/dist/comments/client.d.ts +1 -0
  96. package/dist/comments/client.js +2 -0
  97. package/dist/comments/database/postgres.d.ts +1 -0
  98. package/dist/comments/database/postgres.js +2 -0
  99. package/dist/comments/database.d.ts +1 -0
  100. package/dist/comments/database.js +2 -0
  101. package/dist/comments/realtime.d.ts +1 -0
  102. package/dist/comments/realtime.js +2 -0
  103. package/dist/comments/rpc.d.ts +1 -0
  104. package/dist/comments/rpc.js +2 -0
  105. package/dist/comments/runtime/auth.d.ts +1 -0
  106. package/dist/comments/runtime/auth.js +2 -0
  107. package/dist/comments/runtime.d.ts +1 -0
  108. package/dist/comments/runtime.js +2 -0
  109. package/dist/comments/server.d.ts +1 -0
  110. package/dist/comments/server.js +2 -0
  111. package/dist/comments/testing.d.ts +1 -0
  112. package/dist/comments/testing.js +2 -0
  113. package/dist/comments.d.ts +1 -0
  114. package/dist/comments.js +2 -0
  115. package/dist/connections/agent.d.ts +1 -0
  116. package/dist/connections/agent.js +2 -0
  117. package/dist/connections/chatgpt.d.ts +1 -0
  118. package/dist/connections/chatgpt.js +2 -0
  119. package/dist/connections/google.d.ts +1 -0
  120. package/dist/connections/google.js +2 -0
  121. package/dist/connections/operations.d.ts +1 -0
  122. package/dist/connections/operations.js +2 -0
  123. package/dist/connections/server.d.ts +1 -0
  124. package/dist/connections/server.js +2 -0
  125. package/dist/connections.d.ts +1 -0
  126. package/dist/connections.js +2 -0
  127. package/dist/console/auth-types.d.ts +2 -0
  128. package/dist/console/auth-types.js +1 -0
  129. package/dist/console/auth.d.ts +6 -0
  130. package/dist/console/auth.js +9 -0
  131. package/dist/console/runtime/auth-operations.d.ts +35 -0
  132. package/dist/console/runtime/auth-operations.js +2 -0
  133. package/dist/console/runtime/client/account-views.d.ts +17 -0
  134. package/dist/console/runtime/client/account-views.js +8 -0
  135. package/dist/console/runtime/client/account.d.ts +2 -0
  136. package/dist/console/runtime/client/account.js +1125 -0
  137. package/dist/console/runtime/client/add-primitive.ts +59 -0
  138. package/dist/console/runtime/client/app-identity.ts +44 -0
  139. package/dist/console/runtime/client/appearance.d.ts +62 -0
  140. package/dist/console/runtime/client/appearance.js +87 -0
  141. package/dist/console/runtime/client/auth-management.ts +67 -0
  142. package/dist/console/runtime/client/blob-media.d.ts +46 -0
  143. package/dist/console/runtime/client/blob-media.js +257 -0
  144. package/dist/console/runtime/client/command-search.ts +103 -0
  145. package/dist/console/runtime/client/comment-thread.d.ts +33 -0
  146. package/dist/console/runtime/client/comment-thread.js +62 -0
  147. package/dist/console/runtime/client/document-cache.ts +13 -0
  148. package/dist/console/runtime/client/documents.d.ts +3 -0
  149. package/dist/console/runtime/client/documents.js +2 -0
  150. package/dist/console/runtime/client/editor.d.ts +83 -0
  151. package/dist/console/runtime/client/editor.js +269 -0
  152. package/dist/console/runtime/client/env-groups.d.ts +28 -0
  153. package/dist/console/runtime/client/env-groups.js +39 -0
  154. package/dist/console/runtime/client/env-status.d.ts +35 -0
  155. package/dist/console/runtime/client/env-status.js +68 -0
  156. package/dist/console/runtime/client/format.d.ts +91 -0
  157. package/dist/console/runtime/client/format.js +2 -0
  158. package/dist/console/runtime/client/format.ts +267 -0
  159. package/dist/console/runtime/client/highlight-languages.ts +27 -0
  160. package/dist/console/runtime/client/invocation-deletion.d.ts +17 -0
  161. package/dist/console/runtime/client/invocation-deletion.js +25 -0
  162. package/dist/console/runtime/client/invocation.d.ts +28 -0
  163. package/dist/console/runtime/client/invocation.js +81 -0
  164. package/dist/console/runtime/client/live.d.ts +67 -0
  165. package/dist/console/runtime/client/live.js +158 -0
  166. package/dist/console/runtime/client/mcp-client.d.ts +58 -0
  167. package/dist/console/runtime/client/mcp-client.js +125 -0
  168. package/dist/console/runtime/client/media-library.d.ts +2 -0
  169. package/dist/console/runtime/client/media-library.js +2 -0
  170. package/dist/console/runtime/client/media-uploads.d.ts +33 -0
  171. package/dist/console/runtime/client/media-uploads.js +97 -0
  172. package/dist/console/runtime/client/media.d.ts +2 -0
  173. package/dist/console/runtime/client/media.js +13 -0
  174. package/dist/console/runtime/client/operation-view.d.ts +44 -0
  175. package/dist/console/runtime/client/operation-view.js +161 -0
  176. package/dist/console/runtime/client/presence.d.ts +98 -0
  177. package/dist/console/runtime/client/presence.js +255 -0
  178. package/dist/console/runtime/client/preview.d.ts +86 -0
  179. package/dist/console/runtime/client/preview.js +125 -0
  180. package/dist/console/runtime/client/problem.d.ts +19 -0
  181. package/dist/console/runtime/client/problem.js +59 -0
  182. package/dist/console/runtime/client/project-link.d.ts +2 -0
  183. package/dist/console/runtime/client/project-link.js +2 -0
  184. package/dist/console/runtime/client/project-session.d.ts +221 -0
  185. package/dist/console/runtime/client/project-session.js +723 -0
  186. package/dist/console/runtime/client/project.d.ts +48 -0
  187. package/dist/console/runtime/client/project.js +2 -0
  188. package/dist/console/runtime/client/projects.d.ts +2 -0
  189. package/dist/console/runtime/client/projects.js +2 -0
  190. package/dist/console/runtime/client/publish.d.ts +12 -0
  191. package/dist/console/runtime/client/publish.js +18 -0
  192. package/dist/console/runtime/client/rate-limit.d.ts +36 -0
  193. package/dist/console/runtime/client/rate-limit.js +96 -0
  194. package/dist/console/runtime/client/read-only.d.ts +9 -0
  195. package/dist/console/runtime/client/read-only.js +12 -0
  196. package/dist/console/runtime/client/request.d.ts +55 -8
  197. package/dist/console/runtime/client/request.js +2 -133
  198. package/dist/console/runtime/client/route-query.d.ts +60 -0
  199. package/dist/console/runtime/client/route-query.js +2 -0
  200. package/dist/console/runtime/client/schedule-run.d.ts +13 -0
  201. package/dist/console/runtime/client/schedule-run.js +47 -0
  202. package/dist/console/runtime/client/schema-form.d.ts +2 -0
  203. package/dist/console/runtime/client/schema-form.js +296 -0
  204. package/dist/console/runtime/client/sections.d.ts +2 -12
  205. package/dist/console/runtime/client/sections.js +2 -41
  206. package/dist/console/runtime/client/sidebar.ts +84 -0
  207. package/dist/console/runtime/client/site-access.d.ts +32 -0
  208. package/dist/console/runtime/client/site-access.js +932 -0
  209. package/dist/console/runtime/client/stored.d.ts +33 -0
  210. package/dist/console/runtime/client/stored.js +2 -0
  211. package/dist/console/runtime/client/ticket.d.ts +2 -0
  212. package/dist/console/runtime/client/ticket.js +2 -0
  213. package/dist/console/runtime/client/toast.d.ts +39 -0
  214. package/dist/console/runtime/client/toast.js +35 -0
  215. package/dist/console/runtime/client/workflow.d.ts +20 -0
  216. package/dist/console/runtime/client/workflow.js +79 -0
  217. package/dist/console/runtime/components/console-account-api-keys.vue +195 -0
  218. package/dist/console/runtime/components/console-account-env.vue +286 -0
  219. package/dist/console/runtime/components/console-account-home.vue +427 -0
  220. package/dist/console/runtime/components/console-account-link.vue +68 -0
  221. package/dist/console/runtime/components/console-account-menu.vue +126 -0
  222. package/dist/console/runtime/components/console-account-rename.vue +67 -0
  223. package/dist/console/runtime/components/console-account-settings.vue +184 -0
  224. package/dist/console/runtime/components/console-account-setup.vue +82 -0
  225. package/dist/console/runtime/components/console-account-shell.vue +339 -0
  226. package/dist/console/runtime/components/console-account-sign-in.vue +152 -0
  227. package/dist/console/runtime/components/console-account-snippet.vue +89 -0
  228. package/dist/console/runtime/components/console-account-team-settings.vue +131 -0
  229. package/dist/console/runtime/components/console-account-team.vue +199 -0
  230. package/dist/console/runtime/components/console-account-unlink.vue +52 -0
  231. package/dist/console/runtime/components/console-activity-feed.vue +69 -0
  232. package/dist/console/runtime/components/console-add-primitive.vue +176 -0
  233. package/dist/console/runtime/components/console-agent-list.ts +61 -0
  234. package/dist/console/runtime/components/console-agent-session.vue +301 -0
  235. package/dist/console/runtime/components/console-app-crumb.vue +52 -0
  236. package/dist/console/runtime/components/console-app-logo.vue +44 -0
  237. package/dist/console/runtime/components/console-app-settings.vue +271 -0
  238. package/dist/console/runtime/components/console-app.vue +894 -669
  239. package/dist/console/runtime/components/console-auth-action.vue +241 -0
  240. package/dist/console/runtime/components/console-auth-activity.vue +162 -0
  241. package/dist/console/runtime/components/console-auth-chart.vue +105 -0
  242. package/dist/console/runtime/components/console-auth-detail.vue +379 -0
  243. package/dist/console/runtime/components/console-auth-event-list.vue +79 -0
  244. package/dist/console/runtime/components/console-auth-event-setup.vue +39 -0
  245. package/dist/console/runtime/components/console-auth-overview.vue +95 -0
  246. package/dist/console/runtime/components/console-auth-user-events.vue +62 -0
  247. package/dist/console/runtime/components/console-auth.vue +651 -0
  248. package/dist/console/runtime/components/console-blob-detail.vue +83 -0
  249. package/dist/console/runtime/components/console-blob.vue +160 -300
  250. package/dist/console/runtime/components/console-cache.vue +358 -0
  251. package/dist/console/runtime/components/console-code-text.vue +18 -0
  252. package/dist/console/runtime/components/console-comark-component.vue +146 -0
  253. package/dist/console/runtime/components/console-comment-thread.vue +320 -0
  254. package/dist/console/runtime/components/console-confirm.vue +46 -0
  255. package/dist/console/runtime/components/console-connection-state.vue +40 -0
  256. package/dist/console/runtime/components/console-connection.ts +18 -0
  257. package/dist/console/runtime/components/console-database-model.ts +51 -6
  258. package/dist/console/runtime/components/console-database.vue +310 -380
  259. package/dist/console/runtime/components/console-definitions.vue +491 -306
  260. package/dist/console/runtime/components/console-document-dashboard.vue +473 -0
  261. package/dist/console/runtime/components/console-document-diff.vue +43 -0
  262. package/dist/console/runtime/components/console-document-editor.vue +2806 -0
  263. package/dist/console/runtime/components/console-document-history.vue +118 -0
  264. package/dist/console/runtime/components/console-document-list.vue +575 -0
  265. package/dist/console/runtime/components/console-document-preview.vue +409 -0
  266. package/dist/console/runtime/components/console-document-settings.vue +106 -0
  267. package/dist/console/runtime/components/console-documents.vue +544 -0
  268. package/dist/console/runtime/components/console-env-details.vue +49 -0
  269. package/dist/console/runtime/components/console-env.vue +322 -0
  270. package/dist/console/runtime/components/console-facts.ts +13 -0
  271. package/dist/console/runtime/components/console-frame.vue +201 -1
  272. package/dist/console/runtime/components/console-home.vue +575 -155
  273. package/dist/console/runtime/components/console-icon.vue +19 -0
  274. package/dist/console/runtime/components/console-invocation-composer.vue +155 -0
  275. package/dist/console/runtime/components/console-kv.vue +225 -235
  276. package/dist/console/runtime/components/console-lazy-views.ts +2 -0
  277. package/dist/console/runtime/components/console-loading.vue +29 -0
  278. package/dist/console/runtime/components/console-mark.vue +3 -8
  279. package/dist/console/runtime/components/console-markdown-editor.vue +681 -0
  280. package/dist/console/runtime/components/console-mcp-callback.vue +76 -0
  281. package/dist/console/runtime/components/console-mcp-client.vue +255 -0
  282. package/dist/console/runtime/components/console-mcp-connect.vue +162 -0
  283. package/dist/console/runtime/components/console-mcp-connection.vue +219 -0
  284. package/dist/console/runtime/components/console-mcp-content.vue +157 -0
  285. package/dist/console/runtime/components/console-mcp-items.vue +346 -0
  286. package/dist/console/runtime/components/console-media-browser.vue +956 -0
  287. package/dist/console/runtime/components/console-media-crops.vue +168 -0
  288. package/dist/console/runtime/components/console-media-detail.vue +278 -0
  289. package/dist/console/runtime/components/console-media-dialog.vue +74 -0
  290. package/dist/console/runtime/components/console-media-field.vue +161 -0
  291. package/dist/console/runtime/components/console-media-focal.vue +138 -0
  292. package/dist/console/runtime/components/console-media-library.vue +132 -0
  293. package/dist/console/runtime/components/console-media-move.vue +161 -0
  294. package/dist/console/runtime/components/console-media-picker.vue +196 -0
  295. package/dist/console/runtime/components/console-media-uploads.vue +75 -0
  296. package/dist/console/runtime/components/console-new-chat.ts +27 -0
  297. package/dist/console/runtime/components/console-operation-view.vue +327 -0
  298. package/dist/console/runtime/components/console-page-changes.vue +207 -0
  299. package/dist/console/runtime/components/console-page-header.vue +82 -0
  300. package/dist/console/runtime/components/console-page-toolbar.vue +41 -0
  301. package/dist/console/runtime/components/console-presence-avatars.vue +74 -0
  302. package/dist/console/runtime/components/console-project-switcher.vue +212 -0
  303. package/dist/console/runtime/components/console-property-list.vue +41 -0
  304. package/dist/console/runtime/components/console-property-row.vue +59 -0
  305. package/dist/console/runtime/components/console-rail.vue +237 -0
  306. package/dist/console/runtime/components/console-rate-limit.vue +175 -0
  307. package/dist/console/runtime/components/console-relative-time.vue +74 -0
  308. package/dist/console/runtime/components/console-schema-date-input.vue +88 -0
  309. package/dist/console/runtime/components/console-schema-field.vue +450 -0
  310. package/dist/console/runtime/components/console-schema-form.vue +76 -0
  311. package/dist/console/runtime/components/console-schema-list.vue +157 -0
  312. package/dist/console/runtime/components/console-search-palette.vue +1051 -0
  313. package/dist/console/runtime/components/console-search.vue +17 -424
  314. package/dist/console/runtime/components/console-section-icon.vue +18 -0
  315. package/dist/console/runtime/components/console-section.vue +68 -0
  316. package/dist/console/runtime/components/console-seo-panel.vue +261 -0
  317. package/dist/console/runtime/components/console-session-actions.vue +158 -0
  318. package/dist/console/runtime/components/console-session-bootstrap.ts +0 -26
  319. package/dist/console/runtime/components/console-session-cancel.vue +89 -0
  320. package/dist/console/runtime/components/console-session-code-language.ts +32 -0
  321. package/dist/console/runtime/components/console-session-code-preview.vue +42 -40
  322. package/dist/console/runtime/components/console-session-copy-link.vue +11 -0
  323. package/dist/console/runtime/components/console-session-inspector.vue +392 -235
  324. package/dist/console/runtime/components/console-session-loading.vue +19 -27
  325. package/dist/console/runtime/components/console-session-navbar.vue +44 -27
  326. package/dist/console/runtime/components/console-session-trace.vue +30 -84
  327. package/dist/console/runtime/components/console-session.css +438 -818
  328. package/dist/console/runtime/components/console-settings-card.vue +76 -0
  329. package/dist/console/runtime/components/console-settings-value.vue +46 -0
  330. package/dist/console/runtime/components/console-settings.vue +100 -0
  331. package/dist/console/runtime/components/console-setup-hint.vue +15 -0
  332. package/dist/console/runtime/components/console-sidebar-item.vue +62 -0
  333. package/dist/console/runtime/components/console-sidebar-trigger.vue +34 -0
  334. package/dist/console/runtime/components/console-sidebar.vue +352 -0
  335. package/dist/console/runtime/components/console-site.vue +370 -0
  336. package/dist/console/runtime/components/console-skill-file.vue +73 -0
  337. package/dist/console/runtime/components/console-skill-tree.vue +62 -0
  338. package/dist/console/runtime/components/console-skills.vue +193 -0
  339. package/dist/console/runtime/components/console-stat-grid.vue +64 -0
  340. package/dist/console/runtime/components/console-state.vue +150 -0
  341. package/dist/console/runtime/components/console-toaster.vue +75 -0
  342. package/dist/console/runtime/components/console-usage-chart.vue +210 -0
  343. package/dist/console/runtime/components/console-usage-model-detail.vue +138 -0
  344. package/dist/console/runtime/components/console-usage-model.ts +376 -0
  345. package/dist/console/runtime/components/console-usage-share-bar.vue +48 -0
  346. package/dist/console/runtime/components/console-usage.vue +1086 -508
  347. package/dist/console/runtime/components/console-user-menu.vue +42 -0
  348. package/dist/console/runtime/components/console-value.vue +36 -0
  349. package/dist/console/runtime/components/console-workflow-actions.vue +174 -0
  350. package/dist/console/runtime/components/console-workspace-browser.vue +507 -0
  351. package/dist/console/runtime/components/console-workspace-file.ts +12 -0
  352. package/dist/console/runtime/components/console-workspace-history.vue +76 -0
  353. package/dist/console/runtime/components/console-wrap.ts +10 -0
  354. package/dist/console/runtime/components/invocation/agent-capability-inspector.ts +165 -0
  355. package/dist/console/runtime/components/invocation/agent-invocation-list.ts +260 -0
  356. package/dist/console/runtime/components/invocation/agent-invocation-timeline.ts +112 -0
  357. package/dist/console/runtime/components/invocation/agent-invocation.ts +1991 -0
  358. package/dist/console/runtime/components/invocation/index.ts +8 -0
  359. package/dist/console/runtime/components/invocation/internal/brand-icons.ts +65 -0
  360. package/dist/console/runtime/components/invocation/internal/channel-icon.ts +51 -0
  361. package/dist/console/runtime/components/invocation/internal/invocation-activity.ts +745 -0
  362. package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +173 -0
  363. package/dist/console/runtime/components/invocation/internal/invocation-conversation.ts +167 -0
  364. package/dist/console/runtime/components/invocation/internal/invocation-page-changes.ts +64 -0
  365. package/dist/console/runtime/components/invocation/internal/payload-text.ts +27 -0
  366. package/dist/console/runtime/components/invocation/internal/url.ts +8 -0
  367. package/dist/console/runtime/components/invocation/invocation-display.ts +56 -0
  368. package/dist/console/runtime/components/invocation/invocation.css +2789 -0
  369. package/dist/console/runtime/components/invocation/types.ts +97 -0
  370. package/dist/console/runtime/console-route.d.ts +15 -9
  371. package/dist/console/runtime/console-route.js +2 -37
  372. package/dist/console/runtime/definitions.d.ts +2 -2
  373. package/dist/console/runtime/definitions.js +2 -15
  374. package/dist/console/runtime/diagnostics.ts +287 -0
  375. package/dist/console/runtime/mcp-client.d.ts +2 -0
  376. package/dist/console/runtime/mcp-client.js +2 -0
  377. package/dist/console/runtime/page/loader.js +142 -0
  378. package/dist/console/runtime/page-tool/page-tool.js +10 -0
  379. package/dist/console/runtime/public/skills/index.json +47 -0
  380. package/dist/console/runtime/public/skills/vitehub/SKILL.md +99 -0
  381. package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +4 -0
  382. package/dist/console/runtime/public/skills/vitehub/references/agent-definitions.md +36 -0
  383. package/dist/console/runtime/public/skills/vitehub/references/bundle.md +57 -0
  384. package/dist/console/runtime/public/skills/vitehub/references/capabilities-authority.md +30 -0
  385. package/dist/console/runtime/public/skills/vitehub/references/channels-triggers.md +27 -0
  386. package/dist/console/runtime/public/skills/vitehub/references/framework-composition.md +29 -0
  387. package/dist/console/runtime/public/skills/vitehub/references/preview-contract.md +36 -0
  388. package/dist/console/runtime/public/skills/vitehub/references/primitives/auth.md +14 -0
  389. package/dist/console/runtime/public/skills/vitehub/references/primitives/blob.md +13 -0
  390. package/dist/console/runtime/public/skills/vitehub/references/primitives/browser.md +17 -0
  391. package/dist/console/runtime/public/skills/vitehub/references/primitives/cache.md +13 -0
  392. package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +11 -0
  393. package/dist/console/runtime/public/skills/vitehub/references/primitives/connections.md +14 -0
  394. package/dist/console/runtime/public/skills/vitehub/references/primitives/content.md +13 -0
  395. package/dist/console/runtime/public/skills/vitehub/references/primitives/database.md +15 -0
  396. package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +11 -0
  397. package/dist/console/runtime/public/skills/vitehub/references/primitives/env.md +13 -0
  398. package/dist/console/runtime/public/skills/vitehub/references/primitives/kv.md +13 -0
  399. package/dist/console/runtime/public/skills/vitehub/references/primitives/markdown-template.md +13 -0
  400. package/dist/console/runtime/public/skills/vitehub/references/primitives/queue.md +14 -0
  401. package/dist/console/runtime/public/skills/vitehub/references/primitives/rate-limit.md +11 -0
  402. package/dist/console/runtime/public/skills/vitehub/references/primitives/realtime.md +19 -0
  403. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox-task.md +11 -0
  404. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox.md +13 -0
  405. package/dist/console/runtime/public/skills/vitehub/references/primitives/schedule.md +11 -0
  406. package/dist/console/runtime/public/skills/vitehub/references/primitives/shell.md +11 -0
  407. package/dist/console/runtime/public/skills/vitehub/references/primitives/source.md +11 -0
  408. package/dist/console/runtime/public/skills/vitehub/references/primitives/workflow.md +11 -0
  409. package/dist/console/runtime/public/skills/vitehub/references/primitives/workspace.md +11 -0
  410. package/dist/console/runtime/public/skills/vitehub/references/project-patterns.md +19 -0
  411. package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +81 -0
  412. package/dist/console/runtime/public/skills/vitehub/references/proof-recovery.md +31 -0
  413. package/dist/console/runtime/public/skills/vitehub/references/sandboxes-hosts.md +26 -0
  414. package/dist/console/runtime/public/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
  415. package/dist/console/runtime/public/skills/vitehub/references/server-primitives.md +39 -0
  416. package/dist/console/runtime/public/skills/vitehub/references/workspaces-sources-access.md +26 -0
  417. package/dist/console/runtime/rpc.d.ts +2 -35
  418. package/dist/console/runtime/rpc.js +2 -16
  419. package/dist/console/runtime/sections.d.ts +2 -2
  420. package/dist/console/runtime/sections.js +2 -126
  421. package/dist/console/runtime/server/access-policy.d.ts +2 -0
  422. package/dist/console/runtime/server/access-policy.js +2 -0
  423. package/dist/console/runtime/server/agents.get.d.ts +10 -5
  424. package/dist/console/runtime/server/agents.get.js +18 -10
  425. package/dist/console/runtime/server/auth.d.ts +2 -0
  426. package/dist/console/runtime/server/auth.js +81 -0
  427. package/dist/console/runtime/server/blob.d.ts +2 -2
  428. package/dist/console/runtime/server/blob.js +2 -18
  429. package/dist/console/runtime/server/channel-replay.d.ts +23 -0
  430. package/dist/console/runtime/server/channel-replay.js +52 -0
  431. package/dist/console/runtime/server/database.d.ts +1 -1
  432. package/dist/console/runtime/server/database.get.d.ts +34 -6
  433. package/dist/console/runtime/server/database.get.js +77 -40
  434. package/dist/console/runtime/server/database.js +1 -16
  435. package/dist/console/runtime/server/definitions.d.ts +2 -2
  436. package/dist/console/runtime/server/definitions.get.d.ts +10 -9
  437. package/dist/console/runtime/server/definitions.get.js +76 -15
  438. package/dist/console/runtime/server/definitions.js +2 -22
  439. package/dist/console/runtime/server/development.d.ts +2 -0
  440. package/dist/console/runtime/server/development.js +2 -0
  441. package/dist/console/runtime/server/documents.d.ts +2 -0
  442. package/dist/console/runtime/server/documents.js +3 -0
  443. package/dist/console/runtime/server/env.d.ts +6 -0
  444. package/dist/console/runtime/server/env.get.d.ts +9 -0
  445. package/dist/console/runtime/server/env.get.js +16 -0
  446. package/dist/console/runtime/server/env.js +2 -0
  447. package/dist/console/runtime/server/invocation-capabilities.get.d.ts +6 -5
  448. package/dist/console/runtime/server/invocation-capabilities.get.js +14 -11
  449. package/dist/console/runtime/server/invocation-workspace.get.d.ts +8 -0
  450. package/dist/console/runtime/server/invocation-workspace.get.js +77 -0
  451. package/dist/console/runtime/server/invocation.get.d.ts +36 -25
  452. package/dist/console/runtime/server/invocation.get.js +140 -25
  453. package/dist/console/runtime/server/invocations.get.d.ts +12 -5
  454. package/dist/console/runtime/server/invocations.get.js +56 -69
  455. package/dist/console/runtime/server/logs.get.d.ts +16 -0
  456. package/dist/console/runtime/server/logs.get.js +56 -0
  457. package/dist/console/runtime/server/mcp-client-operations.d.ts +5 -0
  458. package/dist/console/runtime/server/mcp-client-operations.js +139 -0
  459. package/dist/console/runtime/server/operation-contributions.d.ts +2 -0
  460. package/dist/console/runtime/server/operation-contributions.js +2 -0
  461. package/dist/console/runtime/server/page-auth.d.ts +18 -0
  462. package/dist/console/runtime/server/page-auth.js +44 -0
  463. package/dist/console/runtime/server/page-session.d.ts +2 -0
  464. package/dist/console/runtime/server/page-session.js +5 -0
  465. package/dist/console/runtime/server/page-tool.d.ts +2 -0
  466. package/dist/console/runtime/server/page-tool.js +105 -0
  467. package/dist/console/runtime/server/rpc.d.ts +27 -0
  468. package/dist/console/runtime/server/rpc.js +222 -0
  469. package/dist/console/runtime/server/runtime.d.ts +2 -0
  470. package/dist/console/runtime/server/runtime.js +2 -0
  471. package/dist/console/runtime/server/search.get.d.ts +2 -6
  472. package/dist/console/runtime/server/search.get.js +97 -2
  473. package/dist/console/runtime/server/sections.d.ts +6 -2
  474. package/dist/console/runtime/server/sections.get.d.ts +2 -9
  475. package/dist/console/runtime/server/sections.get.js +47 -9
  476. package/dist/console/runtime/server/sections.js +7 -16
  477. package/dist/console/runtime/server/setup.d.ts +5 -0
  478. package/dist/console/runtime/server/setup.js +5 -0
  479. package/dist/console/runtime/server/site-entry.d.ts +24 -0
  480. package/dist/console/runtime/server/site-entry.js +142 -0
  481. package/dist/console/runtime/server/site-session.d.ts +85 -0
  482. package/dist/console/runtime/server/site-session.js +2 -0
  483. package/dist/console/runtime/server/status.get.d.ts +16 -0
  484. package/dist/console/runtime/server/status.get.js +30 -0
  485. package/dist/console/runtime/server/tickets.d.ts +2 -0
  486. package/dist/console/runtime/server/tickets.js +2 -0
  487. package/dist/console/runtime/server/usage.get.d.ts +7 -3
  488. package/dist/console/runtime/server/usage.get.js +74 -26
  489. package/dist/console/runtime/server/workspace-files.get.d.ts +12 -0
  490. package/dist/console/runtime/server/workspace-files.get.js +55 -0
  491. package/dist/console/runtime/site-access.d.ts +2 -0
  492. package/dist/console/runtime/site-access.js +2 -0
  493. package/dist/console/runtime/skills.d.ts +18 -0
  494. package/dist/console/runtime/skills.js +17 -0
  495. package/dist/console/server.d.ts +33 -7
  496. package/dist/console/server.js +9 -28
  497. package/dist/console/ui.d.ts +217 -0
  498. package/dist/console/ui.js +3233 -0
  499. package/dist/console-lazy-views-DXnIkdyd.js +2 -0
  500. package/dist/console-route-COvNB_Xj.js +49 -0
  501. package/dist/console.d.ts +3 -2
  502. package/dist/content/client.d.ts +1 -0
  503. package/dist/content/client.js +2 -0
  504. package/dist/content/collections.d.ts +1 -0
  505. package/dist/content/collections.js +2 -0
  506. package/dist/content/database.d.ts +1 -0
  507. package/dist/content/database.js +2 -0
  508. package/dist/content/editor.d.ts +1 -0
  509. package/dist/content/editor.js +2 -0
  510. package/dist/content/markdown.d.ts +1 -0
  511. package/dist/content/markdown.js +2 -0
  512. package/dist/content/preview.d.ts +1 -0
  513. package/dist/content/preview.js +2 -0
  514. package/dist/content/realtime.d.ts +1 -0
  515. package/dist/content/realtime.js +2 -0
  516. package/dist/content/sqlite.d.ts +1 -0
  517. package/dist/content/sqlite.js +2 -0
  518. package/dist/content.d.ts +1 -0
  519. package/dist/content.js +2 -0
  520. package/dist/database-BVyhAxq-.d.ts +6 -0
  521. package/dist/database-J7M0B3ED.js +17 -0
  522. package/dist/decisions/vue.d.ts +1 -0
  523. package/dist/decisions/vue.js +2 -0
  524. package/dist/decisions.d.ts +1 -0
  525. package/dist/decisions.js +2 -0
  526. package/dist/definitions-BDRkT5-f.js +336 -0
  527. package/dist/definitions-CGTWTj67.d.ts +19 -0
  528. package/dist/definitions-CxDT8D8Y.d.ts +243 -0
  529. package/dist/definitions-bepsXY5G.js +98 -0
  530. package/dist/dev-peer-am78OsHH.js +472 -0
  531. package/dist/development-BzeSHZGH.js +18 -0
  532. package/dist/development-DgaQ05jw.d.ts +9 -0
  533. package/dist/device/vue.d.ts +1 -0
  534. package/dist/device/vue.js +2 -0
  535. package/dist/device.d.ts +1 -0
  536. package/dist/device.js +2 -0
  537. package/dist/diagnostics-CjGiniKb.d.ts +11 -0
  538. package/dist/diagnostics-D0DefmQj.js +79 -0
  539. package/dist/docs/assistant.d.ts +1 -0
  540. package/dist/docs/assistant.js +2 -0
  541. package/dist/docs/nuxt.d.ts +3 -0
  542. package/dist/docs/nuxt.js +3 -0
  543. package/dist/docs/server.d.ts +1 -0
  544. package/dist/docs/server.js +2 -0
  545. package/dist/docs.d.ts +1 -0
  546. package/dist/docs.js +2 -0
  547. package/dist/doctor.d.ts +13 -0
  548. package/dist/doctor.js +3096 -0
  549. package/dist/documents-8US1nUgK.js +547 -0
  550. package/dist/documents-C97WMaJZ.d.ts +474 -0
  551. package/dist/documents-DwPfR-fz.js +136 -0
  552. package/dist/documents-RVHsQKFw.d.ts +87 -0
  553. package/dist/durability/operations.d.ts +5 -0
  554. package/dist/durability/operations.js +28 -0
  555. package/dist/email/test.d.ts +1 -0
  556. package/dist/email/test.js +2 -0
  557. package/dist/entries-D48wVEaS.js +142 -0
  558. package/dist/env/bridge.d.ts +1 -0
  559. package/dist/env/bridge.js +2 -0
  560. package/dist/env/database.d.ts +1 -0
  561. package/dist/env/database.js +2 -0
  562. package/dist/env/seal.d.ts +1 -0
  563. package/dist/env/seal.js +2 -0
  564. package/dist/env-Dg1I_DWr.js +11 -0
  565. package/dist/error-diagnostics-C2rjmOlX.js +630 -0
  566. package/dist/error-diagnostics.ts +639 -0
  567. package/dist/forge.d.ts +1 -0
  568. package/dist/forge.js +2 -0
  569. package/dist/format-BOYlanIZ.js +304 -0
  570. package/dist/forms/client.d.ts +1 -0
  571. package/dist/forms/client.js +2 -0
  572. package/dist/forms/database.d.ts +1 -0
  573. package/dist/forms/database.js +2 -0
  574. package/dist/forms/formisch.d.ts +1 -0
  575. package/dist/forms/formisch.js +2 -0
  576. package/dist/forms/operations.d.ts +1 -0
  577. package/dist/forms/operations.js +2 -0
  578. package/dist/forms/runtime.d.ts +1 -0
  579. package/dist/forms/runtime.js +2 -0
  580. package/dist/forms/vue.d.ts +1 -0
  581. package/dist/forms/vue.js +2 -0
  582. package/dist/forms.d.ts +1 -0
  583. package/dist/forms.js +2 -0
  584. package/dist/gateways/ai-sdk.d.ts +1 -0
  585. package/dist/gateways/ai-sdk.js +2 -0
  586. package/dist/gateways.d.ts +1 -0
  587. package/dist/gateways.js +2 -0
  588. package/dist/host-CkL0jjBq.js +11 -0
  589. package/dist/http-error-Bs6e8_-8.js +30 -0
  590. package/dist/i18n/runtime.d.ts +1 -0
  591. package/dist/i18n/runtime.js +2 -0
  592. package/dist/i18n/server.d.ts +1 -0
  593. package/dist/i18n/server.js +2 -0
  594. package/dist/i18n/vue.d.ts +1 -0
  595. package/dist/i18n/vue.js +2 -0
  596. package/dist/i18n.d.ts +1 -0
  597. package/dist/i18n.js +2 -0
  598. package/dist/index.d.ts +7 -2
  599. package/dist/index.js +39 -3
  600. package/dist/inspect-CDw7e0vK.js +127 -0
  601. package/dist/internal/agent-invocations-libsql.d.ts +2 -0
  602. package/dist/internal/agent-invocations-libsql.js +2 -0
  603. package/dist/internal/disabled-redis-driver.d.ts +3 -0
  604. package/dist/internal/disabled-redis-driver.js +7 -0
  605. package/dist/internal/disabled-upstash-driver.d.ts +3 -0
  606. package/dist/internal/disabled-upstash-driver.js +7 -0
  607. package/dist/internal/test-loader.d.ts +8 -0
  608. package/dist/internal/test-loader.js +75 -0
  609. package/dist/internal/test-server.d.ts +1 -0
  610. package/dist/internal/test-server.js +84 -0
  611. package/dist/internal-BP_O70ic.d.ts +59 -0
  612. package/dist/internal-BreyUsQ6.js +31 -0
  613. package/dist/invariant-DolT9EEx.js +22 -0
  614. package/dist/invocation-page-undo-BkUau8X7.js +54 -0
  615. package/dist/invocations-CsucCJuq.js +86 -0
  616. package/dist/limits-BUlwWYQE.js +34 -0
  617. package/dist/logs/host.d.ts +6 -0
  618. package/dist/logs/host.js +2 -0
  619. package/dist/logs/memory.d.ts +2 -0
  620. package/dist/logs/memory.js +2 -0
  621. package/dist/logs/source.d.ts +2 -0
  622. package/dist/logs/source.js +2 -0
  623. package/dist/logs.d.ts +3 -0
  624. package/dist/logs.js +3 -0
  625. package/dist/markdown-template/file.d.ts +1 -0
  626. package/dist/markdown-template/file.js +2 -0
  627. package/dist/mcp-client-CTbTbn7d.js +10 -0
  628. package/dist/mcp-client-C_sEmyQw.d.ts +118 -0
  629. package/dist/mcp-client-D0mUt18v.js +1024 -0
  630. package/dist/mcp.d.ts +1 -0
  631. package/dist/mcp.js +2 -0
  632. package/dist/media-library-BChf8XOd.js +279 -0
  633. package/dist/media-library-CEo-Ye2B.d.ts +212 -0
  634. package/dist/media-uKX4Wy-c.d.ts +74 -0
  635. package/dist/media-wZMY6f2M.js +478 -0
  636. package/dist/memory-2bbl4hcV.d.ts +19 -0
  637. package/dist/memory-DhirB6SA.js +86 -0
  638. package/dist/nuxt-server-imports-Lnaf5Fe-.js +97 -0
  639. package/dist/nuxt.d.ts +14 -60
  640. package/dist/nuxt.js +966 -374
  641. package/dist/object-D8pRdprI.js +15 -0
  642. package/dist/operation-contributions-DflAv5AC.js +50 -0
  643. package/dist/operation-contributions-fZyVo662.d.ts +21 -0
  644. package/dist/operation-definition-Bn8V2hab.js +430 -0
  645. package/dist/operation-registry-BogGwk_I.js +22 -0
  646. package/dist/operation-rpc-DI9txNxK.js +158 -0
  647. package/dist/operations-B6N-ja8x.js +863 -0
  648. package/dist/operations-DX9EkHwb.d.ts +153 -0
  649. package/dist/operations-Dj_cp-UK.js +235 -0
  650. package/dist/operations-H9q0QB2C.js +2 -0
  651. package/dist/operations.d.ts +1 -0
  652. package/dist/operations.js +2 -0
  653. package/dist/optional-owners-Crm6kVS5.js +889 -0
  654. package/dist/owned-paths-BnjT0FhU.js +15 -0
  655. package/dist/page/pill.iife.js +70 -0
  656. package/dist/page-tool-BCRyx3pM.d.ts +68 -0
  657. package/dist/page-tools-BkSSBFoi.js +444 -0
  658. package/dist/page-tools-shared-D3fFoEV2.js +122 -0
  659. package/dist/page-tools-sw4I-Nqx.d.ts +23 -0
  660. package/dist/plugins-5uDXr9Km.d.ts +2124 -0
  661. package/dist/plugins-DQ8pF-38.js +11325 -0
  662. package/dist/presets/babysitter/server.d.ts +1 -0
  663. package/dist/presets/babysitter/server.js +2 -0
  664. package/dist/presets/babysitter.d.ts +1 -0
  665. package/dist/presets/babysitter.js +2 -0
  666. package/dist/presets/labeller.d.ts +1 -0
  667. package/dist/presets/labeller.js +2 -0
  668. package/dist/presets/workspace.d.ts +3 -0
  669. package/dist/presets/workspace.js +3 -0
  670. package/dist/project-5EN7JaXI.d.ts +26 -0
  671. package/dist/project-C2dnB9Kf.js +30 -0
  672. package/dist/project-DOeM0zg3.js +57 -0
  673. package/dist/project-link-D_XQvBOC.d.ts +94 -0
  674. package/dist/project-link-Qi7nltHM.js +149 -0
  675. package/dist/project-root-v6ba4tn7.js +12 -0
  676. package/dist/projects-CAcXztf4.js +154 -0
  677. package/dist/projects-Ddvl9EJp.d.ts +66 -0
  678. package/dist/rate-limit/drivers/cloudflare.d.ts +1 -0
  679. package/dist/rate-limit/drivers/cloudflare.js +2 -0
  680. package/dist/rate-limit/drivers/kv.d.ts +1 -0
  681. package/dist/rate-limit/drivers/kv.js +2 -0
  682. package/dist/rate-limit/drivers/memory.d.ts +1 -0
  683. package/dist/rate-limit/drivers/memory.js +2 -0
  684. package/dist/realtime/agent.d.ts +1 -0
  685. package/dist/realtime/agent.js +2 -0
  686. package/dist/realtime/bus.d.ts +1 -0
  687. package/dist/realtime/bus.js +2 -0
  688. package/dist/realtime/client.d.ts +1 -0
  689. package/dist/realtime/client.js +2 -0
  690. package/dist/registry-CDKLACCZ.js +16 -0
  691. package/dist/registry-zw6aE2N9.js +18 -0
  692. package/dist/request-BUYAlAJl.js +162 -0
  693. package/dist/request-D7h3SQ92.d.ts +21 -0
  694. package/dist/request-origin-Bq7mDQG9.js +23 -0
  695. package/dist/request-yCybBeqT.js +468 -0
  696. package/dist/route-query-CRVWXIrc.js +222 -0
  697. package/dist/rpc-7nlHSv3y.d.ts +37 -0
  698. package/dist/rpc-DIUA61pv.js +4 -0
  699. package/dist/runtime/durability.d.ts +1 -0
  700. package/dist/runtime/durability.js +2 -0
  701. package/dist/runtime-B_btezs1.d.ts +7 -0
  702. package/dist/runtime-DG34DLXc.js +55 -0
  703. package/dist/runtime-DM8Z6KLT.js +10 -0
  704. package/dist/runtime-DxfJOfCd.js +25 -0
  705. package/dist/runtime-YLWfdrtO.js +65 -0
  706. package/dist/runtime-feature-guard-rpZz1eMF.js +55 -0
  707. package/dist/sandbox/ssh.d.ts +1 -0
  708. package/dist/sandbox/ssh.js +2 -0
  709. package/dist/sandbox/task.d.ts +1 -0
  710. package/dist/sandbox/task.js +2 -0
  711. package/dist/scan-module-BTeOuZsp.js +2 -0
  712. package/dist/scan-module-DlHQ8a0X.js +148 -0
  713. package/dist/schedule/os.d.ts +1 -0
  714. package/dist/schedule/os.js +2 -0
  715. package/dist/schedule/runtime/kv.d.ts +1 -0
  716. package/dist/schedule/runtime/kv.js +2 -0
  717. package/dist/schema-form-C-fy3xaU.d.ts +79 -0
  718. package/dist/secret-AZLhaNyr.js +44 -0
  719. package/dist/sections-4xyBoiar.d.ts +159 -0
  720. package/dist/sections-ACHVTCWn.d.ts +10 -0
  721. package/dist/sections-BriKrBgN.d.ts +57 -0
  722. package/dist/sections-C83x0slv.js +13 -0
  723. package/dist/sections-CUJyQA9d.js +122 -0
  724. package/dist/sections-D6AM5Gy5.js +369 -0
  725. package/dist/sections.get-1lHjyKCI.d.ts +20 -0
  726. package/dist/seo/runtime.d.ts +64 -0
  727. package/dist/seo/runtime.js +123 -0
  728. package/dist/seo-CtLywyRx.d.ts +24 -0
  729. package/dist/seo.d.ts +2 -0
  730. package/dist/seo.js +17 -0
  731. package/dist/server-DbjFYSeU.js +18 -0
  732. package/dist/setup-C-5nB7aY.js +22 -0
  733. package/dist/setup-DLZFzuLv.d.ts +12 -0
  734. package/dist/site-access-Bhsty_v4.js +2 -0
  735. package/dist/site-access-BycrwM2v.js +18 -0
  736. package/dist/site-access-CyRtc0gZ.js +292 -0
  737. package/dist/site-access-DxfdOel1.d.ts +55 -0
  738. package/dist/site-session-Jf21TVw8.js +272 -0
  739. package/dist/skills/operations.d.ts +17 -0
  740. package/dist/skills/operations.js +51 -0
  741. package/dist/skills-DdpSMiCI.js +500 -0
  742. package/dist/skills.d.ts +197 -0
  743. package/dist/skills.get-CHQMzSD_.js +48 -0
  744. package/dist/skills.js +2 -0
  745. package/dist/source/drizzle.d.ts +1 -0
  746. package/dist/source/drizzle.js +2 -0
  747. package/dist/source/server.d.ts +1 -24
  748. package/dist/source/server.js +1 -24
  749. package/dist/source/vite.d.ts +1 -8
  750. package/dist/source/vite.js +2 -18
  751. package/dist/source-S-LChQvw.d.ts +59 -0
  752. package/dist/source-w9BHUwyO.js +60 -0
  753. package/dist/source.d.ts +1 -66
  754. package/dist/source.js +1 -103
  755. package/dist/stored-Dhv2qsQv.js +40 -0
  756. package/dist/sync/client.d.ts +1 -0
  757. package/dist/sync/client.js +2 -0
  758. package/dist/sync/database.d.ts +1 -0
  759. package/dist/sync/database.js +2 -0
  760. package/dist/sync/operations.d.ts +1 -0
  761. package/dist/sync/operations.js +2 -0
  762. package/dist/sync/runtime.d.ts +1 -0
  763. package/dist/sync/runtime.js +2 -0
  764. package/dist/sync/vue.d.ts +1 -0
  765. package/dist/sync/vue.js +2 -0
  766. package/dist/sync.d.ts +1 -0
  767. package/dist/sync.js +2 -0
  768. package/dist/task/operations.d.ts +22 -0
  769. package/dist/task/operations.js +36 -0
  770. package/dist/test/register.d.ts +1 -0
  771. package/dist/test/register.js +68 -0
  772. package/dist/test.d.ts +175 -0
  773. package/dist/test.js +49 -0
  774. package/dist/ticket-Pr_8ZtXW.d.ts +14 -0
  775. package/dist/ticket-RKQF6Wy9.js +31 -0
  776. package/dist/tickets-CfJhT7d0.js +358 -0
  777. package/dist/ui/markdown-editor.d.ts +1 -0
  778. package/dist/ui/markdown-editor.js +2 -0
  779. package/dist/ui/playground.d.ts +1 -0
  780. package/dist/ui/playground.js +2 -0
  781. package/dist/ui/styles.css +2 -2562
  782. package/dist/ui/theme.css +2 -0
  783. package/dist/ui/theme.d.ts +1 -0
  784. package/dist/ui/theme.js +2 -0
  785. package/dist/ui/workspace.d.ts +1 -0
  786. package/dist/ui/workspace.js +2 -0
  787. package/dist/usage-Bc0YY_ka.js +569 -0
  788. package/dist/usage-CoQXs5nW.d.ts +22 -0
  789. package/dist/usage-index-CMMT4cXQ.js +335 -0
  790. package/dist/version-DDRL_OYz.js +1080 -0
  791. package/dist/vue-router-C68IU1jM.d.ts +1914 -0
  792. package/dist/web-container/connect.d.ts +1 -0
  793. package/dist/web-container/connect.js +2 -0
  794. package/dist/web-container/env.d.ts +1 -0
  795. package/dist/web-container/env.js +2 -0
  796. package/dist/web-container/snapshot.d.ts +1 -0
  797. package/dist/web-container/snapshot.js +2 -0
  798. package/dist/web-container.d.ts +1 -0
  799. package/dist/web-container.js +2 -0
  800. package/dist/webhooks/database.d.ts +1 -0
  801. package/dist/webhooks/database.js +2 -0
  802. package/dist/webhooks/operations.d.ts +1 -0
  803. package/dist/webhooks/operations.js +2 -0
  804. package/dist/webhooks/runtime.d.ts +1 -0
  805. package/dist/webhooks/runtime.js +2 -0
  806. package/dist/webhooks.d.ts +1 -0
  807. package/dist/webhooks.js +2 -0
  808. package/dist/workflow/openworkflow.d.ts +1 -0
  809. package/dist/workflow/openworkflow.js +2 -0
  810. package/dist/workspace/blob-database.d.ts +1 -0
  811. package/dist/workspace/blob-database.js +2 -0
  812. package/dist/workspace/checkout.d.ts +1 -0
  813. package/dist/workspace/checkout.js +2 -0
  814. package/dist/workspace/files.d.ts +1 -0
  815. package/dist/workspace/files.js +2 -0
  816. package/dist/workspace/lineage.d.ts +1 -0
  817. package/dist/workspace/lineage.js +2 -0
  818. package/dist/workspace-history-CeVwBB6Q.d.ts +52 -0
  819. package/dist/workspace-history-l47NPVSy.js +248 -0
  820. package/package.json +1320 -207
  821. package/dist/_internal/agent/cloudflare/state.d.ts +0 -1
  822. package/dist/_internal/agent/cloudflare/state.js +0 -2
  823. package/dist/_internal/agent/cloudflare.d.ts +0 -1
  824. package/dist/_internal/agent/cloudflare.js +0 -2
  825. package/dist/_internal/agent/eve.d.ts +0 -1
  826. package/dist/_internal/agent/eve.js +0 -2
  827. package/dist/_internal/agent/runtime/workflow.d.ts +0 -1
  828. package/dist/_internal/agent/runtime/workflow.js +0 -2
  829. package/dist/_internal/agent/server/internal.d.ts +0 -1
  830. package/dist/_internal/agent/server/internal.js +0 -2
  831. package/dist/_internal/agent/server/workspace.d.ts +0 -1
  832. package/dist/_internal/agent/server/workspace.js +0 -2
  833. package/dist/_internal/agent/server.d.ts +0 -1
  834. package/dist/_internal/agent/server.js +0 -2
  835. package/dist/_internal/agent/state/sqlite.d.ts +0 -1
  836. package/dist/_internal/agent/state/sqlite.js +0 -2
  837. package/dist/_internal/agent.d.ts +0 -1
  838. package/dist/_internal/agent.js +0 -2
  839. package/dist/_internal/blob/runtime/state.d.ts +0 -1
  840. package/dist/_internal/blob/runtime/state.js +0 -2
  841. package/dist/_internal/blob.d.ts +0 -1
  842. package/dist/_internal/blob.js +0 -2
  843. package/dist/_internal/database/runtime/state.d.ts +0 -4
  844. package/dist/_internal/database/runtime/state.js +0 -5
  845. package/dist/_internal/kv/runtime/disabled-upstash.d.ts +0 -4
  846. package/dist/_internal/kv/runtime/disabled-upstash.js +0 -6
  847. package/dist/_internal/kv.d.ts +0 -1
  848. package/dist/_internal/kv.js +0 -2
  849. package/dist/_internal/markdown-template.d.ts +0 -2
  850. package/dist/_internal/markdown-template.js +0 -2
  851. package/dist/_internal/rate-limit/runtime.d.ts +0 -1
  852. package/dist/_internal/rate-limit/runtime.js +0 -2
  853. package/dist/_internal/sandbox/runtime/state.d.ts +0 -1
  854. package/dist/_internal/sandbox/runtime/state.js +0 -2
  855. package/dist/_internal/schedule/runtime/driver.d.ts +0 -1
  856. package/dist/_internal/schedule/runtime/driver.js +0 -2
  857. package/dist/_internal/schedule/runtime/process.d.ts +0 -1
  858. package/dist/_internal/schedule/runtime/process.js +0 -2
  859. package/dist/_internal/schedule/runtime/static.d.ts +0 -1
  860. package/dist/_internal/schedule/runtime/static.js +0 -2
  861. package/dist/_internal/schedule/runtime.d.ts +0 -1
  862. package/dist/_internal/schedule/runtime.js +0 -2
  863. package/dist/_internal/schedule.d.ts +0 -1
  864. package/dist/_internal/schedule.js +0 -2
  865. package/dist/_internal/workflow/runtime/cloudflare-runner.d.ts +0 -1
  866. package/dist/_internal/workflow/runtime/cloudflare-runner.js +0 -2
  867. package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +0 -1
  868. package/dist/_internal/workflow/runtime/cloudflare-vite.js +0 -2
  869. package/dist/_internal/workflow/runtime/execute.d.ts +0 -1
  870. package/dist/_internal/workflow/runtime/execute.js +0 -2
  871. package/dist/_internal/workflow/runtime/state.d.ts +0 -1
  872. package/dist/_internal/workflow/runtime/state.js +0 -2
  873. package/dist/_internal/workflow/runtime/vercel-vite.d.ts +0 -1
  874. package/dist/_internal/workflow/runtime/vercel-vite.js +0 -2
  875. package/dist/_internal/workflow.d.ts +0 -1
  876. package/dist/_internal/workflow.js +0 -2
  877. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.d.ts +0 -1
  878. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.js +0 -2
  879. package/dist/_internal/workspace/internal/runtime/hosted.d.ts +0 -1
  880. package/dist/_internal/workspace/internal/runtime/hosted.js +0 -2
  881. package/dist/_internal/workspace/internal/runtime/state.d.ts +0 -1
  882. package/dist/_internal/workspace/internal/runtime/state.js +0 -2
  883. package/dist/_internal/workspace/runtime.d.ts +0 -1
  884. package/dist/_internal/workspace/runtime.js +0 -2
  885. package/dist/_internal/workspace.d.ts +0 -1
  886. package/dist/_internal/workspace.js +0 -2
  887. package/dist/agent/invocations/sqlite.d.ts +0 -1
  888. package/dist/agent/invocations/sqlite.js +0 -2
  889. package/dist/agent/runtime/process.d.ts +0 -1
  890. package/dist/agent/runtime/process.js +0 -2
  891. package/dist/agent/state/sqlite.d.ts +0 -1
  892. package/dist/agent/state/sqlite.js +0 -2
  893. package/dist/agents-DGL-2SS3.js +0 -53
  894. package/dist/blob/content-type.d.ts +0 -1
  895. package/dist/blob/content-type.js +0 -2
  896. package/dist/blob-_CeYUuZh.d.ts +0 -8
  897. package/dist/box.d.ts +0 -1
  898. package/dist/box.js +0 -2
  899. package/dist/browser/actions.d.ts +0 -1
  900. package/dist/browser/actions.js +0 -2
  901. package/dist/console/runtime/client/time.d.ts +0 -4
  902. package/dist/console/runtime/client/time.js +0 -8
  903. package/dist/console/runtime/components/console-brand.vue +0 -37
  904. package/dist/console/runtime/components/console-health-model.ts +0 -54
  905. package/dist/console/runtime/components/console-health.vue +0 -236
  906. package/dist/console/runtime/components/console-primitive-switcher.vue +0 -69
  907. package/dist/console/runtime/components/console-provider.vue +0 -12
  908. package/dist/console/runtime/pages/agents.vue +0 -58
  909. package/dist/console/runtime/pages/blob.vue +0 -30
  910. package/dist/console/runtime/pages/databases.vue +0 -67
  911. package/dist/console/runtime/pages/index.vue +0 -29
  912. package/dist/console/runtime/pages/kv.vue +0 -68
  913. package/dist/console/runtime/pages/queues.vue +0 -30
  914. package/dist/console/runtime/pages/rate-limits.vue +0 -30
  915. package/dist/console/runtime/pages/sandboxes.vue +0 -27
  916. package/dist/console/runtime/pages/schedules.vue +0 -30
  917. package/dist/console/runtime/pages/workflows.vue +0 -30
  918. package/dist/console/runtime/pages/workspaces.vue +0 -30
  919. package/dist/console/runtime/public/console/chunks/ChatMessage-CVruGJWM.js +0 -1
  920. package/dist/console/runtime/public/console/chunks/ChatPrompt-BmTjPf5_.js +0 -1
  921. package/dist/console/runtime/public/console/chunks/ChatPromptSubmit-DcxguvaS.js +0 -1
  922. package/dist/console/runtime/public/console/chunks/ChatReasoning-DIMO2K2F.js +0 -1
  923. package/dist/console/runtime/public/console/chunks/ChatShimmer-C613EbHI.js +0 -1
  924. package/dist/console/runtime/public/console/chunks/ChatTool-DDmc-ZK6.js +0 -1
  925. package/dist/console/runtime/public/console/chunks/Collapsible-C0CXnWpw.js +0 -1
  926. package/dist/console/runtime/public/console/chunks/CollapsibleTrigger-CmJucLnT.js +0 -1
  927. package/dist/console/runtime/public/console/chunks/Icon-D-AnqCok.js +0 -1
  928. package/dist/console/runtime/public/console/chunks/abap-LtYK6g-v-CLvhMVsD.js +0 -1
  929. package/dist/console/runtime/public/console/chunks/actionscript-3-Czo0lKSf--17pq3dv.js +0 -1
  930. package/dist/console/runtime/public/console/chunks/ada-twHwrVWN-C5qYipkI.js +0 -1
  931. package/dist/console/runtime/public/console/chunks/andromeeda-DnSv6o6l-vGVdxbeo.js +0 -1
  932. package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +0 -1
  933. package/dist/console/runtime/public/console/chunks/angular-html-Ct-40ew8-D8X9MCxo.js +0 -1
  934. package/dist/console/runtime/public/console/chunks/angular-html-DTyieMYv.js +0 -1
  935. package/dist/console/runtime/public/console/chunks/angular-ts-D3gV1N-x.js +0 -1
  936. package/dist/console/runtime/public/console/chunks/angular-ts-D6akBVit-CAEqTior.js +0 -1
  937. package/dist/console/runtime/public/console/chunks/apache-BIl2qPOf-U0d_L8uA.js +0 -1
  938. package/dist/console/runtime/public/console/chunks/apex-BkQQFAhi-VAyPSnFM.js +0 -1
  939. package/dist/console/runtime/public/console/chunks/apl-Cxjn4xYu-QUZjoXcb.js +0 -1
  940. package/dist/console/runtime/public/console/chunks/applescript-CJ80B5XJ-CCn79oCD.js +0 -1
  941. package/dist/console/runtime/public/console/chunks/ara-IxnQjO6j-4CJ0cIlV.js +0 -1
  942. package/dist/console/runtime/public/console/chunks/asciidoc-Dsw6zvwf-DE70LPWp.js +0 -1
  943. package/dist/console/runtime/public/console/chunks/asm-wBDSgBbA-Cmm7eHzH.js +0 -1
  944. package/dist/console/runtime/public/console/chunks/astro-BPVTb8uX-BMHg0UsI.js +0 -1
  945. package/dist/console/runtime/public/console/chunks/astro-CLAWI0Fn.js +0 -1
  946. package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +0 -1
  947. package/dist/console/runtime/public/console/chunks/aurora-x-XJ5I8rFc-CDeNXAV0.js +0 -1
  948. package/dist/console/runtime/public/console/chunks/awk-D6dA05Ye-BWXHIvNe.js +0 -1
  949. package/dist/console/runtime/public/console/chunks/ayu-dark-CBRGL64--DluEY0Gj.js +0 -1
  950. package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +0 -1
  951. package/dist/console/runtime/public/console/chunks/ayu-light-BlrCS3Ih-C3h-C4tm.js +0 -1
  952. package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +0 -1
  953. package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +0 -1
  954. package/dist/console/runtime/public/console/chunks/ayu-mirage-CqpTmLcF-Bqwy1Gya.js +0 -1
  955. package/dist/console/runtime/public/console/chunks/ballerina-DIdXD2KH-B7ZEbQpA.js +0 -1
  956. package/dist/console/runtime/public/console/chunks/bat-hQslfzu--Bo4NYOV-.js +0 -1
  957. package/dist/console/runtime/public/console/chunks/beancount-CXtOQ8oS-D-usSTwE.js +0 -1
  958. package/dist/console/runtime/public/console/chunks/berry-CgA2ea0_-DKpUyyne.js +0 -1
  959. package/dist/console/runtime/public/console/chunks/bibtex-BzgdqG3s-Ci_nEsc7.js +0 -1
  960. package/dist/console/runtime/public/console/chunks/bicep-CZ338dSk-CUHmPFLl.js +0 -1
  961. package/dist/console/runtime/public/console/chunks/bird2-GLyzhwkD-C6vDhewU.js +0 -1
  962. package/dist/console/runtime/public/console/chunks/blade-0LMawyyw-CZBPwR53.js +0 -1
  963. package/dist/console/runtime/public/console/chunks/blade-CP_mgflB.js +0 -1
  964. package/dist/console/runtime/public/console/chunks/bsl-0NWGiiFE-mk7PqslV.js +0 -1
  965. package/dist/console/runtime/public/console/chunks/bundle-web-DTJmdyvB.js +0 -13
  966. package/dist/console/runtime/public/console/chunks/c-BhmuwSav.js +0 -1
  967. package/dist/console/runtime/public/console/chunks/c-Dc0_AVM6-CjS7AEt5.js +0 -1
  968. package/dist/console/runtime/public/console/chunks/c3-BLXk7BLN-BFHwR3_K.js +0 -1
  969. package/dist/console/runtime/public/console/chunks/cadence-B1ELWULD-CQ2zXKGN.js +0 -1
  970. package/dist/console/runtime/public/console/chunks/cairo-DjG4M3vq-xb-J0v0e.js +0 -1
  971. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-3VR1Za6u.js +0 -1
  972. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-COUg_LSX-3VR1Za6u.js +0 -1
  973. package/dist/console/runtime/public/console/chunks/catppuccin-latte-DwIHMF0Q.js +0 -1
  974. package/dist/console/runtime/public/console/chunks/catppuccin-latte-r30LFfsa-DwIHMF0Q.js +0 -1
  975. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-D-EwZyPh-DYnBP6_5.js +0 -1
  976. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-DYnBP6_5.js +0 -1
  977. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-C6RD5yh3-DYhrFGRu.js +0 -1
  978. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DYhrFGRu.js +0 -1
  979. package/dist/console/runtime/public/console/chunks/chunk-DK3Fl9T5.js +0 -1
  980. package/dist/console/runtime/public/console/chunks/clarity-2iIoRiLx-SemFz856.js +0 -1
  981. package/dist/console/runtime/public/console/chunks/clojure-DDsQ0FaV-DqKBuwfJ.js +0 -1
  982. package/dist/console/runtime/public/console/chunks/cmake-DPsCB_V6-Bj61d0ZC.js +0 -1
  983. package/dist/console/runtime/public/console/chunks/cobol-CocL1RYn-DoHa8rFw.js +0 -1
  984. package/dist/console/runtime/public/console/chunks/codeowners-CxEKPWu0-C8r90Shi.js +0 -1
  985. package/dist/console/runtime/public/console/chunks/codeql-BwdvwJnv-oeQT6MSM.js +0 -1
  986. package/dist/console/runtime/public/console/chunks/coffee-DtqnQNu5-Ca3s2Keu.js +0 -1
  987. package/dist/console/runtime/public/console/chunks/coffee-PUiKoj8Q.js +0 -1
  988. package/dist/console/runtime/public/console/chunks/common-lisp-DJtwvW4V-Cv5bFMCO.js +0 -1
  989. package/dist/console/runtime/public/console/chunks/coq-Ds6Ye5el-BrsZFFmf.js +0 -1
  990. package/dist/console/runtime/public/console/chunks/cpp-CxycoGSa.js +0 -1
  991. package/dist/console/runtime/public/console/chunks/cpp-Mb4ikSI3-tLY9dtiu.js +0 -1
  992. package/dist/console/runtime/public/console/chunks/crystal-D4OMbAh_-C9omPlZ-.js +0 -1
  993. package/dist/console/runtime/public/console/chunks/csharp-CFKaLbHg-oqKa8noW.js +0 -1
  994. package/dist/console/runtime/public/console/chunks/css-DLlZbWMi.js +0 -1
  995. package/dist/console/runtime/public/console/chunks/css-DTzmO9U0-CbxoEllx.js +0 -1
  996. package/dist/console/runtime/public/console/chunks/csv-DqIVFkK7-Dx-8-gkx.js +0 -1
  997. package/dist/console/runtime/public/console/chunks/csv-Dx-8-gkx.js +0 -1
  998. package/dist/console/runtime/public/console/chunks/cue-B5KneM5p-CE9AQfxI.js +0 -1
  999. package/dist/console/runtime/public/console/chunks/cypher-D8Bb8Cq2-ClKdZ_lG.js +0 -1
  1000. package/dist/console/runtime/public/console/chunks/d-BQY8TDgQ-qD-0Kul2.js +0 -1
  1001. package/dist/console/runtime/public/console/chunks/dark-plus-BCxGtnt0-Cs2F2srj.js +0 -1
  1002. package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +0 -1
  1003. package/dist/console/runtime/public/console/chunks/dart-C6DUdjib-CnvKMtbv.js +0 -1
  1004. package/dist/console/runtime/public/console/chunks/dax-S-Noo-ku-BkyTk9wS.js +0 -1
  1005. package/dist/console/runtime/public/console/chunks/desktop-BgOb7Aj4-Dlh5hvp9.js +0 -1
  1006. package/dist/console/runtime/public/console/chunks/diff-Blb4MjsC-woXpYk--.js +0 -1
  1007. package/dist/console/runtime/public/console/chunks/docker-PC1tuYpa-IyjqRm3v.js +0 -1
  1008. package/dist/console/runtime/public/console/chunks/dotenv-Dkdv7Sm2-_5a1GRtc.js +0 -1
  1009. package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +0 -1
  1010. package/dist/console/runtime/public/console/chunks/dracula-fPErIccy-BHWKrbxM.js +0 -1
  1011. package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +0 -1
  1012. package/dist/console/runtime/public/console/chunks/dracula-soft-BrQbqXs8-5eyTD99u.js +0 -1
  1013. package/dist/console/runtime/public/console/chunks/dream-maker-CngiPd8U-DW3nJb8Q.js +0 -1
  1014. package/dist/console/runtime/public/console/chunks/edge-DrFNu-N9-BY3pzybO.js +0 -1
  1015. package/dist/console/runtime/public/console/chunks/elixir-OpZyQ8Ht-CwWfuiQ1.js +0 -1
  1016. package/dist/console/runtime/public/console/chunks/elm-CjX_545P-Dn-DqM39.js +0 -1
  1017. package/dist/console/runtime/public/console/chunks/emacs-lisp-DxhFFVu_-B4R74twV.js +0 -1
  1018. package/dist/console/runtime/public/console/chunks/erb-trZRdc47-DRBdWH-D.js +0 -1
  1019. package/dist/console/runtime/public/console/chunks/erlang-BJeTH9QH-BfDtvnHZ.js +0 -1
  1020. package/dist/console/runtime/public/console/chunks/everforest-dark-gTeBQCos-sB-x3p7T.js +0 -1
  1021. package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +0 -1
  1022. package/dist/console/runtime/public/console/chunks/everforest-light-DUjxsp-2-Df2xbC6M.js +0 -1
  1023. package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +0 -1
  1024. package/dist/console/runtime/public/console/chunks/fennel-B3wtZRne-DQxkIbk2.js +0 -1
  1025. package/dist/console/runtime/public/console/chunks/fish-D7qAeWQz-BJitypiv.js +0 -1
  1026. package/dist/console/runtime/public/console/chunks/fluent-BjfpB34g-C03EYrpw.js +0 -1
  1027. package/dist/console/runtime/public/console/chunks/fortran-fixed-form-B_eBTsj9-C2-rkbip.js +0 -1
  1028. package/dist/console/runtime/public/console/chunks/fortran-free-form-yxJ7igsv-CYNrtFtB.js +0 -1
  1029. package/dist/console/runtime/public/console/chunks/fsharp-UvrT6oWG-LCdvSpj6.js +0 -1
  1030. package/dist/console/runtime/public/console/chunks/gdresource-Dl9wvKCd-C3MGX-jo.js +0 -1
  1031. package/dist/console/runtime/public/console/chunks/gdscript-jjgTGGzd-Cp2uCuqX.js +0 -1
  1032. package/dist/console/runtime/public/console/chunks/gdshader-D7JfdFV3-CBce3t8t.js +0 -1
  1033. package/dist/console/runtime/public/console/chunks/genie-DnK2KWIP-CV2tkWYe.js +0 -1
  1034. package/dist/console/runtime/public/console/chunks/gherkin-D6Lr12YQ-DExj1W_8.js +0 -1
  1035. package/dist/console/runtime/public/console/chunks/git-commit-2LMniMoO-CfgJCLX7.js +0 -1
  1036. package/dist/console/runtime/public/console/chunks/git-rebase-DUOURRPN-DbPsFIae.js +0 -1
  1037. package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +0 -1
  1038. package/dist/console/runtime/public/console/chunks/github-dark-Dg1hl_QD-C-LZuMrd.js +0 -1
  1039. package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.js +0 -1
  1040. package/dist/console/runtime/public/console/chunks/github-dark-default-Dym2P842-DXG-b-1a.js +0 -1
  1041. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-7iDMx266-Bx1FflLF.js +0 -1
  1042. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +0 -1
  1043. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +0 -1
  1044. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-DkV2fyPG-B_tTalzw.js +0 -1
  1045. package/dist/console/runtime/public/console/chunks/github-light-BQKYgor9-EUqPIrTm.js +0 -1
  1046. package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +0 -1
  1047. package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +0 -1
  1048. package/dist/console/runtime/public/console/chunks/github-light-default-BZhIfzqQ-BXViO-2h.js +0 -1
  1049. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +0 -1
  1050. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-C7zHfx4C-B68TUdTA.js +0 -1
  1051. package/dist/console/runtime/public/console/chunks/gleam-CTllUdfC-CSRkHgEL.js +0 -1
  1052. package/dist/console/runtime/public/console/chunks/glimmer-js-D_32hFh8-Dv_1Q6fk.js +0 -1
  1053. package/dist/console/runtime/public/console/chunks/glimmer-ts-CVt002zd-PmMLyqBp.js +0 -1
  1054. package/dist/console/runtime/public/console/chunks/glsl-8MDrjpMp.js +0 -1
  1055. package/dist/console/runtime/public/console/chunks/glsl-pHhzolba-D3h1XPFw.js +0 -1
  1056. package/dist/console/runtime/public/console/chunks/gn-DDjbVPF4-ilITqXS6.js +0 -1
  1057. package/dist/console/runtime/public/console/chunks/gnuplot-DgWvVXI8-7GGW24-e.js +0 -1
  1058. package/dist/console/runtime/public/console/chunks/go-aXtTCanQ-rLFTqkRN.js +0 -1
  1059. package/dist/console/runtime/public/console/chunks/graphql-BjqekQIR-CtUxCAnJ.js +0 -1
  1060. package/dist/console/runtime/public/console/chunks/graphql-C4iAGs1_.js +0 -1
  1061. package/dist/console/runtime/public/console/chunks/groovy-Bw2Ku4bU-CacY0gHj.js +0 -1
  1062. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +0 -1
  1063. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-CQiwpF03-C820rvS2.js +0 -1
  1064. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BKe6XKBS-BPjhmG05.js +0 -1
  1065. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +0 -1
  1066. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-Cz6U6pa4-MrdJrrXF.js +0 -1
  1067. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +0 -1
  1068. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +0 -1
  1069. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-DgU_i19B-BC_s9l72.js +0 -1
  1070. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +0 -1
  1071. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-D64I06ER-BAWPOn9u.js +0 -1
  1072. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-B-YxAs1L-BSMLrYjP.js +0 -1
  1073. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +0 -1
  1074. package/dist/console/runtime/public/console/chunks/hack-BITNGzgt-BwY4KWmq.js +0 -1
  1075. package/dist/console/runtime/public/console/chunks/haml-BJGeH8A5.js +0 -1
  1076. package/dist/console/runtime/public/console/chunks/haml-DVwRP8W9-C4Ue42xj.js +0 -1
  1077. package/dist/console/runtime/public/console/chunks/handlebars-OC1LcHwO.js +0 -1
  1078. package/dist/console/runtime/public/console/chunks/handlebars-T3TJj8Il-BLQCwuJT.js +0 -1
  1079. package/dist/console/runtime/public/console/chunks/haskell-CfGsE1Cf-D8IpX4py.js +0 -1
  1080. package/dist/console/runtime/public/console/chunks/haxe-B0odltAZ-OTjmBuCE.js +0 -1
  1081. package/dist/console/runtime/public/console/chunks/hcl-DHg_Osgo-Dh228itO.js +0 -1
  1082. package/dist/console/runtime/public/console/chunks/hjson-Cuaphql8-CxZEssPk.js +0 -1
  1083. package/dist/console/runtime/public/console/chunks/hlsl-BJLUNfne-Cvrh5tZx.js +0 -1
  1084. package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +0 -1
  1085. package/dist/console/runtime/public/console/chunks/horizon-DYoumREk-CE9ld1lL.js +0 -1
  1086. package/dist/console/runtime/public/console/chunks/horizon-bright-CPyV7XIA-DSNQnXHK.js +0 -1
  1087. package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +0 -1
  1088. package/dist/console/runtime/public/console/chunks/houston-B3NWfq0V-CsvMBhTu.js +0 -1
  1089. package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +0 -1
  1090. package/dist/console/runtime/public/console/chunks/html-CamevgpM-BbT95zHF.js +0 -1
  1091. package/dist/console/runtime/public/console/chunks/html-Cs160JwT.js +0 -1
  1092. package/dist/console/runtime/public/console/chunks/html-derivative-GiQ9zDJU.js +0 -1
  1093. package/dist/console/runtime/public/console/chunks/html-derivative-jMOJf6rB-Kh3SdD3S.js +0 -1
  1094. package/dist/console/runtime/public/console/chunks/http-BEHztmFP-BxphIJE7.js +0 -1
  1095. package/dist/console/runtime/public/console/chunks/http-Cgwuv9UR.js +0 -1
  1096. package/dist/console/runtime/public/console/chunks/hurl-DMKCZZMv.js +0 -1
  1097. package/dist/console/runtime/public/console/chunks/hurl-LmFBxrwm-CGo4dqUD.js +0 -1
  1098. package/dist/console/runtime/public/console/chunks/hxml-BQ4V4Tez-BaHUc7lX.js +0 -1
  1099. package/dist/console/runtime/public/console/chunks/hy-CJKxDzbh-CZbG8q4J.js +0 -1
  1100. package/dist/console/runtime/public/console/chunks/imba-96qKoJCa-DsUTQ-LC.js +0 -1
  1101. package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +0 -1
  1102. package/dist/console/runtime/public/console/chunks/ini-C24lZfdM-B5eOa1yu.js +0 -1
  1103. package/dist/console/runtime/public/console/chunks/java-CUcXVav_.js +0 -1
  1104. package/dist/console/runtime/public/console/chunks/java-Cfowl-Ex-BnGnzH2k.js +0 -1
  1105. package/dist/console/runtime/public/console/chunks/javascript-C4sF7sej-B29qPxDa.js +0 -1
  1106. package/dist/console/runtime/public/console/chunks/javascript-DrVpc-sp.js +0 -1
  1107. package/dist/console/runtime/public/console/chunks/jinja-C17UUgXU.js +0 -1
  1108. package/dist/console/runtime/public/console/chunks/jinja-CCAEwzP4-PaInFpq5.js +0 -1
  1109. package/dist/console/runtime/public/console/chunks/jison-BKCoBkyT-BRL7eVgb.js +0 -1
  1110. package/dist/console/runtime/public/console/chunks/jison-ByjIV4zh.js +0 -1
  1111. package/dist/console/runtime/public/console/chunks/json-E4f3l6hr-DuNL0Aj9.js +0 -1
  1112. package/dist/console/runtime/public/console/chunks/json-qhed-kSA.js +0 -1
  1113. package/dist/console/runtime/public/console/chunks/json5-BR5RXkoi.js +0 -1
  1114. package/dist/console/runtime/public/console/chunks/json5-xULSgPQI-BR5RXkoi.js +0 -1
  1115. package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +0 -1
  1116. package/dist/console/runtime/public/console/chunks/jsonc-Cu6rqcrJ-CYpm1nAK.js +0 -1
  1117. package/dist/console/runtime/public/console/chunks/jsonl-Bp0qqr10-CmCQp5Yx.js +0 -1
  1118. package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +0 -1
  1119. package/dist/console/runtime/public/console/chunks/jsonnet-BafgE6cE-CJTPZ8u_.js +0 -1
  1120. package/dist/console/runtime/public/console/chunks/jssm-Dx5A5sBR-DXw9l8Rf.js +0 -1
  1121. package/dist/console/runtime/public/console/chunks/jsx-BZjOirBP-Dga5sQe3.js +0 -1
  1122. package/dist/console/runtime/public/console/chunks/jsx-C-HlKHLe.js +0 -1
  1123. package/dist/console/runtime/public/console/chunks/julia-Ca_tGyZB.js +0 -1
  1124. package/dist/console/runtime/public/console/chunks/julia-nEdJo0dp-CJRta6ZT.js +0 -1
  1125. package/dist/console/runtime/public/console/chunks/just-Brtw3q7S-DmytbepJ.js +0 -1
  1126. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-CXtmUGW6.js +0 -1
  1127. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DExkuQAs-CXtmUGW6.js +0 -1
  1128. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BN08jTvb.js +0 -1
  1129. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-qdYh7_RY-BN08jTvb.js +0 -1
  1130. package/dist/console/runtime/public/console/chunks/kanagawa-wave-CSW_hADG-CTweb8Dz.js +0 -1
  1131. package/dist/console/runtime/public/console/chunks/kanagawa-wave-CTweb8Dz.js +0 -1
  1132. package/dist/console/runtime/public/console/chunks/kdl-DkTyxPcj-CsD5j6eV.js +0 -1
  1133. package/dist/console/runtime/public/console/chunks/kotlin-BHE8CoV9-DhhofPvG.js +0 -1
  1134. package/dist/console/runtime/public/console/chunks/kusto-6FdaWTzR-C7mF5XQf.js +0 -1
  1135. package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +0 -1
  1136. package/dist/console/runtime/public/console/chunks/laserwave-DkfjiLxA-C_8bwKvT.js +0 -1
  1137. package/dist/console/runtime/public/console/chunks/latex-QHQNiZDD-fcyJN6QK.js +0 -1
  1138. package/dist/console/runtime/public/console/chunks/lean-BwOKScIt-CewbzKMR.js +0 -1
  1139. package/dist/console/runtime/public/console/chunks/less-BzbdhFUi-DVTAwKKz.js +0 -1
  1140. package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +0 -1
  1141. package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +0 -1
  1142. package/dist/console/runtime/public/console/chunks/light-plus-DuO6rXxZ-DVQuIRkW.js +0 -1
  1143. package/dist/console/runtime/public/console/chunks/liquid-DYQ7uW5u-JGNMHTpg.js +0 -1
  1144. package/dist/console/runtime/public/console/chunks/llvm-uY68ROGz-Cm23YOpf.js +0 -1
  1145. package/dist/console/runtime/public/console/chunks/log-Dad54gsi-BNLmms1o.js +0 -1
  1146. package/dist/console/runtime/public/console/chunks/logo-DTXV8SKw-Cluzi2Zq.js +0 -1
  1147. package/dist/console/runtime/public/console/chunks/lua-BhkUWs1q-CVcL4bwV.js +0 -1
  1148. package/dist/console/runtime/public/console/chunks/luau-YC4aaMmR-FMPmPwt6.js +0 -1
  1149. package/dist/console/runtime/public/console/chunks/make-B2ukzWs3-Dixweg8N.js +0 -1
  1150. package/dist/console/runtime/public/console/chunks/markdown-BYOwaDjH.js +0 -1
  1151. package/dist/console/runtime/public/console/chunks/markdown-CkmxmzqY-BYOwaDjH.js +0 -1
  1152. package/dist/console/runtime/public/console/chunks/marko-BHWvxp04-U7nYXRKW.js +0 -1
  1153. package/dist/console/runtime/public/console/chunks/marko-DmV4Eg2F.js +0 -1
  1154. package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +0 -1
  1155. package/dist/console/runtime/public/console/chunks/material-theme-C_YrwKEa-Bm3Qr25_.js +0 -1
  1156. package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +0 -1
  1157. package/dist/console/runtime/public/console/chunks/material-theme-darker-DB3YVCla-2IIEA8gg.js +0 -1
  1158. package/dist/console/runtime/public/console/chunks/material-theme-lighter-D2fgNrBK-uhdI0v04.js +0 -1
  1159. package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +0 -1
  1160. package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +0 -1
  1161. package/dist/console/runtime/public/console/chunks/material-theme-ocean-DVy172Rs-CHQ94UKr.js +0 -1
  1162. package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +0 -1
  1163. package/dist/console/runtime/public/console/chunks/material-theme-palenight-uMMwIfpG-B5W6OYN7.js +0 -1
  1164. package/dist/console/runtime/public/console/chunks/matlab-CfRK6IMC-D7qyCx1q.js +0 -1
  1165. package/dist/console/runtime/public/console/chunks/mdc-BVkdQPZX.js +0 -1
  1166. package/dist/console/runtime/public/console/chunks/mdc-Dg7VPYLa-CshLRYP7.js +0 -1
  1167. package/dist/console/runtime/public/console/chunks/mdx-BK9ZufRc-DQZ5AkYe.js +0 -1
  1168. package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.js +0 -1
  1169. package/dist/console/runtime/public/console/chunks/mermaid-r7OoIYpE-Bk4SNUv9.js +0 -1
  1170. package/dist/console/runtime/public/console/chunks/min-dark-BSWPekZh.js +0 -1
  1171. package/dist/console/runtime/public/console/chunks/min-dark-C7Ec8I_2-BSWPekZh.js +0 -1
  1172. package/dist/console/runtime/public/console/chunks/min-light-Be6foA7m-DDpmG2fV.js +0 -1
  1173. package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +0 -1
  1174. package/dist/console/runtime/public/console/chunks/mipsasm-EL46Y4Xg-BMqwQI7S.js +0 -1
  1175. package/dist/console/runtime/public/console/chunks/mojo-YCzvCoMT-BgCJLMeH.js +0 -1
  1176. package/dist/console/runtime/public/console/chunks/monokai-CREPpJ3k-CdkpiU2Y.js +0 -1
  1177. package/dist/console/runtime/public/console/chunks/monokai-CdkpiU2Y.js +0 -1
  1178. package/dist/console/runtime/public/console/chunks/moonbit-B_9L5rST-CaWjb8XO.js +0 -1
  1179. package/dist/console/runtime/public/console/chunks/move-Dqi5fhOb-B1IS1UjX.js +0 -1
  1180. package/dist/console/runtime/public/console/chunks/narrat-D9rrR0H5-_X_XdTYD.js +0 -1
  1181. package/dist/console/runtime/public/console/chunks/nextflow-CgUAk9iA-CTMUe4Ca.js +0 -1
  1182. package/dist/console/runtime/public/console/chunks/nextflow-groovy-CdFFX-gF-DJMQeKeT.js +0 -1
  1183. package/dist/console/runtime/public/console/chunks/nginx-Q-E8IJvs-DiQO9reH.js +0 -1
  1184. package/dist/console/runtime/public/console/chunks/night-owl-CqqbiLON-DhmEMT88.js +0 -1
  1185. package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +0 -1
  1186. package/dist/console/runtime/public/console/chunks/night-owl-light-B9vYgGRt-eJ-hLW7d.js +0 -1
  1187. package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +0 -1
  1188. package/dist/console/runtime/public/console/chunks/nim-CNcTuF14-W9Ucwkhx.js +0 -1
  1189. package/dist/console/runtime/public/console/chunks/nix-Bm1Ax-Z3-IvuFDN5E.js +0 -1
  1190. package/dist/console/runtime/public/console/chunks/nord-BZ9DVmcN-Cb4Vim4T.js +0 -1
  1191. package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.js +0 -1
  1192. package/dist/console/runtime/public/console/chunks/nushell-r7hBzeS_-DcLAeLz5.js +0 -1
  1193. package/dist/console/runtime/public/console/chunks/objective-c-6dJF64Dt-D1A_Heim.js +0 -1
  1194. package/dist/console/runtime/public/console/chunks/objective-cpp-_ooRQ-PY-BsSzOQcm.js +0 -1
  1195. package/dist/console/runtime/public/console/chunks/ocaml-vm1Y8An6-O90oeIOV.js +0 -1
  1196. package/dist/console/runtime/public/console/chunks/odin-vjOJSyfV-B1RWQWA5.js +0 -1
  1197. package/dist/console/runtime/public/console/chunks/one-dark-pro-CLwyXe_n.js +0 -1
  1198. package/dist/console/runtime/public/console/chunks/one-dark-pro-Ev8UPkf4-CLwyXe_n.js +0 -1
  1199. package/dist/console/runtime/public/console/chunks/one-light-CzxBC38_-D7Lr4KcI.js +0 -1
  1200. package/dist/console/runtime/public/console/chunks/one-light-D7Lr4KcI.js +0 -1
  1201. package/dist/console/runtime/public/console/chunks/openscad-jn-f1Ocl-BUDT5pXO.js +0 -1
  1202. package/dist/console/runtime/public/console/chunks/pascal-D8-gNZ2I-4ZHwLPI5.js +0 -1
  1203. package/dist/console/runtime/public/console/chunks/perl-Bbgb6Twx-CHGXAzGq.js +0 -1
  1204. package/dist/console/runtime/public/console/chunks/php-CBOR45_G-D5pyod9R.js +0 -1
  1205. package/dist/console/runtime/public/console/chunks/php-J5BBb-PR.js +0 -1
  1206. package/dist/console/runtime/public/console/chunks/pierre-code-view-DYpF5M8R-BiohFcCD.js +0 -1511
  1207. package/dist/console/runtime/public/console/chunks/pierre-dark-DDWDl8g6-CpLgRqie.js +0 -1
  1208. package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +0 -1
  1209. package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +0 -1
  1210. package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +0 -1
  1211. package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +0 -1
  1212. package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +0 -1
  1213. package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +0 -1
  1214. package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +0 -1
  1215. package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +0 -1
  1216. package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +0 -1
  1217. package/dist/console/runtime/public/console/chunks/pkl-C7lWzykI-ot-7Btpt.js +0 -1
  1218. package/dist/console/runtime/public/console/chunks/plastic-BGkJ2das-DQwYfKfQ.js +0 -1
  1219. package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +0 -1
  1220. package/dist/console/runtime/public/console/chunks/plsql-DCNXypXO-DGHpHOYJ.js +0 -1
  1221. package/dist/console/runtime/public/console/chunks/po-IjpR1yHO-BiJDBrnU.js +0 -1
  1222. package/dist/console/runtime/public/console/chunks/poimandres-CpnMgZuc-DRFjx7u4.js +0 -1
  1223. package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +0 -1
  1224. package/dist/console/runtime/public/console/chunks/polar-4pN1JrJ8-C7UOKdEL.js +0 -1
  1225. package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +0 -1
  1226. package/dist/console/runtime/public/console/chunks/postcss-D1gKt4z_-BXeXVLqQ.js +0 -1
  1227. package/dist/console/runtime/public/console/chunks/powerquery-SrvS_NBM-DNMTfnFr.js +0 -1
  1228. package/dist/console/runtime/public/console/chunks/powershell-CpTLv_ai-DshXNtvi.js +0 -1
  1229. package/dist/console/runtime/public/console/chunks/prisma-BWfa4-tI-BsRQq5mF.js +0 -1
  1230. package/dist/console/runtime/public/console/chunks/prolog-Bacii3Ue-iXnhIJG7.js +0 -1
  1231. package/dist/console/runtime/public/console/chunks/proto-ClkOcAW0-DB4EqR-F.js +0 -1
  1232. package/dist/console/runtime/public/console/chunks/pug-CfJcGJfh.js +0 -1
  1233. package/dist/console/runtime/public/console/chunks/pug-Cn_U_o_I-Cw4zFEpZ.js +0 -1
  1234. package/dist/console/runtime/public/console/chunks/puppet-CQlPp728-CDv2pdJW.js +0 -1
  1235. package/dist/console/runtime/public/console/chunks/purescript-CLpaGMbw-9MfHhQsQ.js +0 -1
  1236. package/dist/console/runtime/public/console/chunks/python-BjnOIxPe-gzcpVVnB.js +0 -1
  1237. package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +0 -1
  1238. package/dist/console/runtime/public/console/chunks/qml-DNlrbxJT-B_IzAFFX.js +0 -1
  1239. package/dist/console/runtime/public/console/chunks/qmldir-Dz8ttxjf-DCQb3MpD.js +0 -1
  1240. package/dist/console/runtime/public/console/chunks/qss-Iltvkn1C-Fe1Jh2GI.js +0 -1
  1241. package/dist/console/runtime/public/console/chunks/r-Dzep-lPg.js +0 -1
  1242. package/dist/console/runtime/public/console/chunks/r-VqTZMNY_-EnO4GoeC.js +0 -1
  1243. package/dist/console/runtime/public/console/chunks/racket-DRv7j6nv-DcIDlBhZ.js +0 -1
  1244. package/dist/console/runtime/public/console/chunks/raku-DI9yGpeW-B3gFvitq.js +0 -1
  1245. package/dist/console/runtime/public/console/chunks/razor-Bw2un3e8-CtGvw0jo.js +0 -1
  1246. package/dist/console/runtime/public/console/chunks/red-CJ3rzSJv.js +0 -1
  1247. package/dist/console/runtime/public/console/chunks/red-EHiRGXSv-CJ3rzSJv.js +0 -1
  1248. package/dist/console/runtime/public/console/chunks/reg-DpJf71oO-CRGYupPL.js +0 -1
  1249. package/dist/console/runtime/public/console/chunks/regexp-5HbFqwky-C3xQXL6t.js +0 -1
  1250. package/dist/console/runtime/public/console/chunks/regexp-R83qIIH_.js +0 -1
  1251. package/dist/console/runtime/public/console/chunks/rel-BT0iIKKw-BtDbiS_P.js +0 -1
  1252. package/dist/console/runtime/public/console/chunks/riscv-CvzikGLb-Ckw8ddFX.js +0 -1
  1253. package/dist/console/runtime/public/console/chunks/ron-DzAo6FTJ-VUp2lXgN.js +0 -1
  1254. package/dist/console/runtime/public/console/chunks/rose-pine-BthvhNj6.js +0 -1
  1255. package/dist/console/runtime/public/console/chunks/rose-pine-DTI-z1Qp-BthvhNj6.js +0 -1
  1256. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-BIiGXpWs-Dg85fqjY.js +0 -1
  1257. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-Dg85fqjY.js +0 -1
  1258. package/dist/console/runtime/public/console/chunks/rose-pine-moon-DU4wt90U-hon4tzzS.js +0 -1
  1259. package/dist/console/runtime/public/console/chunks/rose-pine-moon-hon4tzzS.js +0 -1
  1260. package/dist/console/runtime/public/console/chunks/rosmsg-CyYq6XdT-CAekHB0j.js +0 -1
  1261. package/dist/console/runtime/public/console/chunks/rst-BZPDb03W-BDIwqmQR.js +0 -1
  1262. package/dist/console/runtime/public/console/chunks/ruby-BbVp0_gQ-BUOn3oxT.js +0 -1
  1263. package/dist/console/runtime/public/console/chunks/rust-COBzcmTx-Cfkwpbl8.js +0 -1
  1264. package/dist/console/runtime/public/console/chunks/sas-DSkdG4wF-BE4zxtJ7.js +0 -1
  1265. package/dist/console/runtime/public/console/chunks/sass-DI2zJwx7-DXrisJhu.js +0 -1
  1266. package/dist/console/runtime/public/console/chunks/sass-DXrisJhu.js +0 -1
  1267. package/dist/console/runtime/public/console/chunks/scala-CtSYTRYT-DKOlJaKm.js +0 -1
  1268. package/dist/console/runtime/public/console/chunks/scheme-D3A2QBtM-DQCgrYNe.js +0 -1
  1269. package/dist/console/runtime/public/console/chunks/scss-BQ7uffpQ-D2aPazKS.js +0 -1
  1270. package/dist/console/runtime/public/console/chunks/scss-DTeHeodw.js +0 -1
  1271. package/dist/console/runtime/public/console/chunks/sdbl-CdQg5gu1-bTVj8UrX.js +0 -1
  1272. package/dist/console/runtime/public/console/chunks/shaderlab-CWP9wBCf-C6U2tjWC.js +0 -1
  1273. package/dist/console/runtime/public/console/chunks/shellscript-B42c0JAn-D5OxpxEd.js +0 -1
  1274. package/dist/console/runtime/public/console/chunks/shellscript-CLZ0U2zV.js +0 -1
  1275. package/dist/console/runtime/public/console/chunks/shellsession-Oc9-NqAv-C1K_F4Is.js +0 -1
  1276. package/dist/console/runtime/public/console/chunks/slack-dark-BS2AOOdo-DnToyrRv.js +0 -1
  1277. package/dist/console/runtime/public/console/chunks/slack-dark-DnToyrRv.js +0 -1
  1278. package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +0 -1
  1279. package/dist/console/runtime/public/console/chunks/slack-ochin-Nc7Cucwk-B2OO5cIa.js +0 -1
  1280. package/dist/console/runtime/public/console/chunks/smalltalk-BEQkVl4K-B16xEiuN.js +0 -1
  1281. package/dist/console/runtime/public/console/chunks/snazzy-light-4G7pJPwS.js +0 -1
  1282. package/dist/console/runtime/public/console/chunks/snazzy-light-C2ghKZXY-4G7pJPwS.js +0 -1
  1283. package/dist/console/runtime/public/console/chunks/solarized-dark-DV17i1UV.js +0 -1
  1284. package/dist/console/runtime/public/console/chunks/solarized-dark-UHgjRWhr-DV17i1UV.js +0 -1
  1285. package/dist/console/runtime/public/console/chunks/solarized-light-B-Zcwve2-DSh2HLQt.js +0 -1
  1286. package/dist/console/runtime/public/console/chunks/solarized-light-DSh2HLQt.js +0 -1
  1287. package/dist/console/runtime/public/console/chunks/solidity-lB9VjfB9-CKzVLygQ.js +0 -1
  1288. package/dist/console/runtime/public/console/chunks/soy-tgh9u9aW-Cm_LtJoW.js +0 -1
  1289. package/dist/console/runtime/public/console/chunks/sparql-B4t0ZbEe-CXgkFCv7.js +0 -1
  1290. package/dist/console/runtime/public/console/chunks/splunk-xP_ZjUH2-BC2Px7Mm.js +0 -1
  1291. package/dist/console/runtime/public/console/chunks/sql-C7n9abzK.js +0 -1
  1292. package/dist/console/runtime/public/console/chunks/sql-CrPlEQn4-COghB3-E.js +0 -1
  1293. package/dist/console/runtime/public/console/chunks/ssh-config-DXFPABYp-BgfXC-Er.js +0 -1
  1294. package/dist/console/runtime/public/console/chunks/stata-D_KqT8cj-oQQpG6t_.js +0 -1
  1295. package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.js +0 -1
  1296. package/dist/console/runtime/public/console/chunks/stylus-ZZDn1yUO-B6D30XZt.js +0 -1
  1297. package/dist/console/runtime/public/console/chunks/surrealql-C0KhgoyZ-DqXNFH_A.js +0 -1
  1298. package/dist/console/runtime/public/console/chunks/svelte-CRpWSJAY.js +0 -1
  1299. package/dist/console/runtime/public/console/chunks/svelte-DuHT0xxw-Bs0TxuUS.js +0 -1
  1300. package/dist/console/runtime/public/console/chunks/swift-BTPQlRLK-DonLKvLd.js +0 -1
  1301. package/dist/console/runtime/public/console/chunks/synthwave-84-CPtGYwOz-nFMaYfgc.js +0 -1
  1302. package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +0 -1
  1303. package/dist/console/runtime/public/console/chunks/system-verilog-BEoxaBuU-DJ5XKQeo.js +0 -1
  1304. package/dist/console/runtime/public/console/chunks/systemd-DFbUltlW-BxMlprV5.js +0 -1
  1305. package/dist/console/runtime/public/console/chunks/talonscript-CLxaFu-b-CohzipZa.js +0 -1
  1306. package/dist/console/runtime/public/console/chunks/tasl-_AAbKiWM-DMoTqEGO.js +0 -1
  1307. package/dist/console/runtime/public/console/chunks/tcl-DLe0Tsfm-CZd0xW_V.js +0 -1
  1308. package/dist/console/runtime/public/console/chunks/templ-DF54artD-BPb_zNLV.js +0 -1
  1309. package/dist/console/runtime/public/console/chunks/terraform-v0KN9QQh-DswuEJGm.js +0 -1
  1310. package/dist/console/runtime/public/console/chunks/tex-Bbhb8xAP-9R8lE_en.js +0 -1
  1311. package/dist/console/runtime/public/console/chunks/tokyo-night-BKYoawWu-oM2G3aXe.js +0 -1
  1312. package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +0 -1
  1313. package/dist/console/runtime/public/console/chunks/toml-B7BHZIqX-CcmNWLt0.js +0 -1
  1314. package/dist/console/runtime/public/console/chunks/ts-tags-DH1AB-Ri-CgEe3BFX.js +0 -1
  1315. package/dist/console/runtime/public/console/chunks/ts-tags-DJjZLMnt.js +0 -1
  1316. package/dist/console/runtime/public/console/chunks/tsv-BorGVq2Z-sltzmVWM.js +0 -1
  1317. package/dist/console/runtime/public/console/chunks/tsx-B7QamQLF.js +0 -1
  1318. package/dist/console/runtime/public/console/chunks/tsx-BR8s1Lhs-DiW36VFk.js +0 -1
  1319. package/dist/console/runtime/public/console/chunks/turtle-BEG5g_eT-ByJddavk.js +0 -1
  1320. package/dist/console/runtime/public/console/chunks/tv-WsfYJXat.js +0 -1
  1321. package/dist/console/runtime/public/console/chunks/twig-DziFF7iU-DLOFbR4k.js +0 -1
  1322. package/dist/console/runtime/public/console/chunks/typescript-D8TR6ff2-CCKRkaRI.js +0 -1
  1323. package/dist/console/runtime/public/console/chunks/typescript-DzLO-qqB.js +0 -1
  1324. package/dist/console/runtime/public/console/chunks/typespec-C_R5TbvO-BRdr0IET.js +0 -1
  1325. package/dist/console/runtime/public/console/chunks/typst-BV9w0z8--DI99ib-x.js +0 -1
  1326. package/dist/console/runtime/public/console/chunks/v-DfbeXLo8-DETTlOr0.js +0 -1
  1327. package/dist/console/runtime/public/console/chunks/vala-BnnASFsX-zf12oZj6.js +0 -1
  1328. package/dist/console/runtime/public/console/chunks/vb-DU29mvss-Djn5o6TS.js +0 -1
  1329. package/dist/console/runtime/public/console/chunks/verilog-BW5U03XW-CiiDBU1e.js +0 -1
  1330. package/dist/console/runtime/public/console/chunks/vesper-ClvmKzqD-DdrHHSXu.js +0 -1
  1331. package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +0 -1
  1332. package/dist/console/runtime/public/console/chunks/vhdl-Co2XFKY7-BroJfC0k.js +0 -1
  1333. package/dist/console/runtime/public/console/chunks/viml-BReTXeDA-DvXPmvsu.js +0 -1
  1334. package/dist/console/runtime/public/console/chunks/vitesse-black-BY6Qtyq--fwtXNY1n.js +0 -1
  1335. package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +0 -1
  1336. package/dist/console/runtime/public/console/chunks/vitesse-dark-BT-v_EgR-BZCL-v6S.js +0 -1
  1337. package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +0 -1
  1338. package/dist/console/runtime/public/console/chunks/vitesse-light-Box8ZFz6-VbXTXTou.js +0 -1
  1339. package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +0 -1
  1340. package/dist/console/runtime/public/console/chunks/vue-BRy8iDCZ-CL7P9CNz.js +0 -1
  1341. package/dist/console/runtime/public/console/chunks/vue-CQQ6_PvN.js +0 -1
  1342. package/dist/console/runtime/public/console/chunks/vue-html-B24bjO_3-BY2skbNe.js +0 -1
  1343. package/dist/console/runtime/public/console/chunks/vue-html-Ce5SCNOK.js +0 -1
  1344. package/dist/console/runtime/public/console/chunks/vue-vine-DKH1_YEZ.js +0 -1
  1345. package/dist/console/runtime/public/console/chunks/vue-vine-l7O7Mg81-CFWzX3HC.js +0 -1
  1346. package/dist/console/runtime/public/console/chunks/vue.runtime.esm-bundler-COh-O3z7.js +0 -3
  1347. package/dist/console/runtime/public/console/chunks/vyper-C6KGx0YU-CgoNMtux.js +0 -1
  1348. package/dist/console/runtime/public/console/chunks/wasm-BRCjOXGL-BnjxR4X6.js +0 -1
  1349. package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +0 -1
  1350. package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +0 -1
  1351. package/dist/console/runtime/public/console/chunks/wasm-gNIKwGlD-ByWQv1Qj.js +0 -1
  1352. package/dist/console/runtime/public/console/chunks/wenyan-BeysbCrW-C8pVoKbM.js +0 -1
  1353. package/dist/console/runtime/public/console/chunks/wgsl-1s5rV5xS-BsKzXJz4.js +0 -1
  1354. package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +0 -1
  1355. package/dist/console/runtime/public/console/chunks/wikitext-wjhjmmzD-ClFFjSW2.js +0 -1
  1356. package/dist/console/runtime/public/console/chunks/wit-CeQiCbz_-DdvCle-K.js +0 -1
  1357. package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +0 -1
  1358. package/dist/console/runtime/public/console/chunks/wolfram-CcZPfnLd-DLL8P-h_.js +0 -1
  1359. package/dist/console/runtime/public/console/chunks/xml-CduVPlYa-BZCwbgEk.js +0 -1
  1360. package/dist/console/runtime/public/console/chunks/xml-G-voesMw.js +0 -1
  1361. package/dist/console/runtime/public/console/chunks/xsl-BeH_vLTK-DeKk-5KU.js +0 -1
  1362. package/dist/console/runtime/public/console/chunks/yaml-Cb0uRU1q-CkSC4c4u.js +0 -1
  1363. package/dist/console/runtime/public/console/chunks/yaml-rwi0_p6S.js +0 -1
  1364. package/dist/console/runtime/public/console/chunks/zenscript-BoijL7rl-BnlCZFoB.js +0 -1
  1365. package/dist/console/runtime/public/console/chunks/zig-lTQvxhLD-CMLA9XwU.js +0 -1
  1366. package/dist/console/runtime/public/console/console-Bwq3z75a.css +0 -3
  1367. package/dist/console/runtime/public/console/console-Cl-xrMah.js +0 -1371
  1368. package/dist/console/runtime/server/blob.get.d.ts +0 -25
  1369. package/dist/console/runtime/server/blob.get.js +0 -74
  1370. package/dist/console/runtime/server/devframe.d.ts +0 -13
  1371. package/dist/console/runtime/server/devframe.js +0 -133
  1372. package/dist/console/runtime/server/kv.d.ts +0 -2
  1373. package/dist/console/runtime/server/kv.get.d.ts +0 -24
  1374. package/dist/console/runtime/server/kv.get.js +0 -236
  1375. package/dist/console/runtime/server/kv.js +0 -18
  1376. package/dist/console/runtime/server/page.get.d.ts +0 -6
  1377. package/dist/console/runtime/server/page.get.js +0 -33
  1378. package/dist/database/drizzle.d.ts +0 -16
  1379. package/dist/database/drizzle.js +0 -9
  1380. package/dist/database-CW-WjW4u.d.ts +0 -8
  1381. package/dist/definitions-BHmB22eM.d.ts +0 -7
  1382. package/dist/definitions-CfSmoS5G.d.ts +0 -17
  1383. package/dist/email/server.d.ts +0 -1
  1384. package/dist/email/server.js +0 -2
  1385. package/dist/env/presets.d.ts +0 -1
  1386. package/dist/env/presets.js +0 -2
  1387. package/dist/env/provider.d.ts +0 -1
  1388. package/dist/env/provider.js +0 -2
  1389. package/dist/env/schema.d.ts +0 -1
  1390. package/dist/env/schema.js +0 -2
  1391. package/dist/env/secret.d.ts +0 -1
  1392. package/dist/env/secret.js +0 -2
  1393. package/dist/index-B072hyCd.d.ts +0 -59
  1394. package/dist/internal-12r-XCbk.d.ts +0 -20
  1395. package/dist/internal-DzLLx0iR.js +0 -304
  1396. package/dist/invocations-qwMRTSy7.js +0 -364
  1397. package/dist/kv-DLGscNQ_.d.ts +0 -8
  1398. package/dist/request-DxBwxGnk.js +0 -72
  1399. package/dist/request-NErg_P5m.d.ts +0 -43
  1400. package/dist/runtime/node.d.ts +0 -1
  1401. package/dist/runtime/node.js +0 -2
  1402. package/dist/schedule/runtime/driver.d.ts +0 -1
  1403. package/dist/schedule/runtime/driver.js +0 -2
  1404. package/dist/search.get-ClTCn-mh.js +0 -100
  1405. package/dist/sections-7HoMOIGH.d.ts +0 -9
  1406. package/dist/sections-DVsqeLAF.d.ts +0 -100
  1407. package/dist/server-BFxDhCzA.d.ts +0 -78
  1408. package/dist/shell/providers/cloudflare.d.ts +0 -1
  1409. package/dist/shell/providers/cloudflare.js +0 -2
  1410. package/dist/source/content/client.d.ts +0 -1
  1411. package/dist/source/content/client.js +0 -2
  1412. package/dist/source/content.d.ts +0 -1
  1413. package/dist/source/content.js +0 -2
  1414. package/dist/source/file.d.ts +0 -1
  1415. package/dist/source/file.js +0 -2
  1416. package/dist/source/github.d.ts +0 -1
  1417. package/dist/source/github.js +0 -2
  1418. package/dist/source/glob.d.ts +0 -1
  1419. package/dist/source/glob.js +0 -2
  1420. package/dist/source/markdown.d.ts +0 -1
  1421. package/dist/source/markdown.js +0 -2
  1422. package/dist/src-XEJGHDr9.js +0 -5247
  1423. package/dist/types-BucGTJnk.js +0 -168
  1424. package/dist/ui/nuxt.d.ts +0 -3
  1425. package/dist/ui/nuxt.js +0 -3
  1426. package/dist/usage-CoZa_8fx.js +0 -361
  1427. package/dist/workspace/collections/client.d.ts +0 -1
  1428. package/dist/workspace/collections/client.js +0 -2
  1429. package/dist/workspace/collections.d.ts +0 -1
  1430. package/dist/workspace/collections.js +0 -2
  1431. package/dist/workspace/publish.d.ts +0 -1
  1432. package/dist/workspace/publish.js +0 -2
@@ -0,0 +1,2124 @@
1
+ import { PluginOption } from "vite";
2
+ import { MaybePromise as MaybePromise$1, RuntimeDiagnosticError, TraceEventContentPolicy, TraceEventLogEntry } from "@vite-hub/runtime";
3
+ import { EnvOptions, EnvOptions as EnvOptions$1, EnvRuntimeConfigOptions, EnvVariableDeclaration } from "@vite-hub/env";
4
+ //#region ../internal/dist/deployment.d.ts
5
+ //#region src/deployment.d.ts
6
+ /** The host that ViteHub builds for: the `host` option of `vitehub()` and the value of `VITEHUB_HOST`. */
7
+ type ViteHubHost = "cloudflare" | "deno" | "netlify" | "node" | "vercel";
8
+ /**
9
+ * Returns the ViteHub host that this process builds or runs on, or `undefined` when no variable names a host.
10
+ * The order is `VITEHUB_HOST`, `NITRO_PRESET`, `SERVER_PRESET`, then the provider variables:
11
+ * `WORKERS_CI` (Cloudflare Workers Builds), `NETLIFY`, `NOW_BUILDER`, `VERCEL` or `VERCEL_ENV`, then `DENO_DEPLOY` or `DENO_DEPLOYMENT_ID`.
12
+ * `vitehub()` uses this result when `host` is omitted, and `"node"` when it is `undefined`.
13
+ */
14
+ declare function detectHost(env?: Record<string, string | undefined>): ViteHubHost | undefined;
15
+ //#endregion
16
+ //#region src/cache-storage.d.ts
17
+ /** Storage for Nitro's `cache` mount, used by `defineCachedFunction()` and `defineCachedEventHandler()`. */
18
+ type CacheOptions = {
19
+ driver: "cloudflare";
20
+ binding?: string;
21
+ namespaceId?: string;
22
+ } | {
23
+ driver: "kv";
24
+ base?: string;
25
+ } | {
26
+ driver: "deno-kv";
27
+ base?: string;
28
+ } | {
29
+ driver: "fs-lite";
30
+ base?: string;
31
+ } | {
32
+ driver: "vercel";
33
+ };
34
+ //#endregion
35
+ //#region ../database/dist/types-CKHGU06S.d.ts
36
+ interface RuntimeEnvDeclarationLike {
37
+ default?: unknown;
38
+ kind: "env-variable";
39
+ source?: {
40
+ kind: string;
41
+ name?: string;
42
+ names?: string[];
43
+ };
44
+ }
45
+ type DatabaseConfigValue = string | RuntimeEnvDeclarationLike;
46
+ interface CloudflareD1HttpConfig {
47
+ authToken?: DatabaseConfigValue;
48
+ url?: DatabaseConfigValue;
49
+ }
50
+ interface CloudflareD1BindingConfig {
51
+ binding?: string;
52
+ databaseId?: DatabaseConfigValue;
53
+ http?: true | CloudflareD1HttpConfig;
54
+ previewDatabaseId?: DatabaseConfigValue;
55
+ databaseName?: DatabaseConfigValue;
56
+ migrationsTable?: string;
57
+ /**
58
+ * Read from D1 read replicas through the Sessions API. Each request gets one D1 session. A request with a method
59
+ * other than GET, HEAD, or OPTIONS starts on the primary and returns a bookmark cookie, so the same client reads its
60
+ * own writes next. Only native D1 bindings use it. D1 over HTTP and SQLite ignore it.
61
+ */
62
+ readReplication?: boolean;
63
+ }
64
+ interface DatabaseConnectionConfig {
65
+ authToken?: DatabaseConfigValue;
66
+ url?: DatabaseConfigValue;
67
+ }
68
+ interface DatabaseLocalRuntimeOptions {
69
+ filename?: string;
70
+ }
71
+ interface DatabaseRuntimeD1Options {
72
+ binding?: string;
73
+ databaseId?: DatabaseConfigValue;
74
+ databaseName?: DatabaseConfigValue;
75
+ cloudflare?: Pick<CloudflareD1BindingConfig, "http">;
76
+ driver: "cloudflare";
77
+ local?: DatabaseLocalRuntimeOptions;
78
+ migrationsTable?: string;
79
+ previewDatabaseId?: DatabaseConfigValue;
80
+ /** Read from D1 read replicas. See `CloudflareD1BindingConfig.readReplication`. */
81
+ readReplication?: boolean;
82
+ }
83
+ interface MigrationBackupOptions {
84
+ /** The folder of the copies. A relative path starts at the server's working directory. Defaults to `backups` beside the database file. */
85
+ dir?: string;
86
+ /** The number of copies to keep for each database file, including the new one. Defaults to 3. */
87
+ keep?: number;
88
+ }
89
+ interface DatabaseIntegrationOptions {
90
+ cli?: false | {
91
+ drop?: false;
92
+ export?: false;
93
+ generate?: false;
94
+ migrate?: false;
95
+ reset?: false;
96
+ seed?: false;
97
+ sql?: false;
98
+ up?: false;
99
+ };
100
+ /**
101
+ * Applies pending migrations when a Node server build starts, before it handles requests. It uses the ledger and
102
+ * data loss check of `vitehub database migrate`, and a failed migration stops the server.
103
+ *
104
+ * Unset, Postgres databases of a Node build migrate on start and other databases do not. Postgres migrations hold an
105
+ * advisory lock, so several instances can start together. `true` also migrates local SQLite files, one server
106
+ * process per file. `false` turns it off.
107
+ */
108
+ migrateOnStart?: boolean | {
109
+ /** Apply migrations that drop tables or columns or delete rows. */
110
+ allowDataLoss?: boolean;
111
+ /**
112
+ * Copies each local SQLite file with `VACUUM INTO` before the server applies its pending migrations. A start with no
113
+ * pending migration, or an empty database, makes no copy. A failed copy stops the start before any migration.
114
+ * Postgres and remote libSQL fail with `DATABASE_MIGRATION_BACKUP_UNSUPPORTED`. `true` keeps the 3 newest copies in
115
+ * a `backups` folder beside the database file.
116
+ */
117
+ backup?: boolean | MigrationBackupOptions;
118
+ };
119
+ /**
120
+ * Applies the pending migrations of each Cloudflare D1 binding as part of the deploy, before the Worker deploys. The
121
+ * generated deploy command in `nitro.json` runs `wrangler d1 migrations apply <binding> --remote` first, so
122
+ * `nitro deploy --prebuilt`, Workers Builds and `vitehub deploy` stop when a migration fails. The build fails with
123
+ * `DATABASE_MIGRATE_ON_DEPLOY_UNSUPPORTED` for another host, or for a database without a D1 binding.
124
+ */
125
+ migrateOnDeploy?: boolean;
126
+ projectRoot?: string;
127
+ }
128
+ type DatabaseNuxtIntegrationOptions = false | DatabaseIntegrationOptions & Partial<DatabaseRuntimeD1Options> & {
129
+ connection?: DatabaseConnectionConfig;
130
+ };
131
+ type DatabaseOptions = false | DatabaseIntegrationOptions & Partial<DatabaseRuntimeD1Options> & {
132
+ connection?: DatabaseConnectionConfig;
133
+ };
134
+ //#endregion
135
+ //#region ../comments/dist/vite.d.ts
136
+ //#endregion
137
+ //#region src/live-vite.d.ts
138
+ /** Module paths that generated files import. The `vite-hub` distribution passes its own subpaths. */
139
+ interface CommentsImports {
140
+ /** Exports `defineCommentsPlugin`, `createCommentsHandler`, and `viteHubPageSessionHandler`. */
141
+ runtime: string;
142
+ /** Exports `commentsRealtime`. */
143
+ realtime: string;
144
+ /** Exports `commentsAuthSession`. */
145
+ auth: string;
146
+ /** Exports `commentsSchema`. */
147
+ database: string;
148
+ /** Exports `databases`, the runtime Database registry. */
149
+ databases: string;
150
+ /** Exports `parseContentField`. */
151
+ contentClient: string;
152
+ /** Exports `connectDatabase`, for Workers. Its `/node` subpath also opens SQLite files. */
153
+ connect: string;
154
+ /** Exports `blob`, the Blob store that attachments go to when the app has Blob. */
155
+ blob: string;
156
+ /** Exports `checkRateLimit`, which counts guest writes when Rate Limit counts in a shared KV store. */
157
+ rateLimit: string;
158
+ }
159
+ /** Options of `comments()`, for apps that use Comments without `vite-hub`. */
160
+ interface CommentsOptions {
161
+ /**
162
+ * Where threads are stored. Comments creates its tables there on first use, so there is no migration.
163
+ *
164
+ * - Not set: `DATABASE_URL`, else `TURSO_DATABASE_URL`, else the Cloudflare D1 binding `DB`, read at runtime.
165
+ * - `"d1:COMMENTS"`: the Cloudflare D1 binding `COMMENTS`. Comments adds it to the Wrangler config.
166
+ * - `"env:COMMENTS_DATABASE_URL"`: the libSQL URL in that variable, with its token in `COMMENTS_AUTH_TOKEN`.
167
+ * - `"file:./data/comments.sqlite"`: a SQLite file on Node, relative to the server's working directory.
168
+ *
169
+ * The development server uses `.vitehub/data/comments.sqlite`, unless `database` is a file or a set variable. Under a
170
+ * Nitro Cloudflare preset, it runs in workerd, which cannot open that file, so it uses a local D1 binding `COMMENTS`
171
+ * instead, unless `database` names another location. An unset `env:` variable falls back to that local D1 database.
172
+ */
173
+ database?: string;
174
+ }
175
+ interface CommentsVitePluginOptions {
176
+ /**
177
+ * `true` turns Comments on without `server/comments.ts`, with the default `defineComments()`. `vitehub({ comments })`
178
+ * sets it. Default: Comments is on when the app has the file.
179
+ */
180
+ enabled?: boolean;
181
+ /** Whether the app configures ViteHub Auth, so Comments reads its session. Default `false`. */
182
+ auth?: boolean;
183
+ imports?: Partial<CommentsImports>;
184
+ /**
185
+ * Comments without `vite-hub`, as `comments()` sets it: it turns on without `server/comments.ts`, keeps threads in a
186
+ * SQLite file that it opens itself, and signs people in with GitHub.
187
+ */
188
+ standalone?: CommentsOptions;
189
+ /** The Database Definition that receives the tables. Default: `defineComments({ database })`, else the default or only Database. */
190
+ database?: string;
191
+ /** SQL dialect of that Database. `postgresql` uses the Postgres tables. Default `sqlite`: SQLite, libSQL, and D1. */
192
+ dialect?: "postgresql" | "sqlite";
193
+ /** Store attachments in the app's Blob store. Default `false`: uploads need `defineComments({ storeAttachment })`. */
194
+ blob?: boolean;
195
+ /**
196
+ * `false` leaves the overlay out: no `comments` page tool. The API, the operations, and the Console stay.
197
+ * `{ presence: false }` keeps the overlay without its faces and cursors, for an app that shows its own presence.
198
+ */
199
+ overlay?: false | {
200
+ presence?: false;
201
+ };
202
+ /**
203
+ * ViteHub Rate Limit counts in a KV store that every server process shares: count the guest writes of
204
+ * `defineComments({ rateLimit })` there too. Default `false`: each process counts in its memory.
205
+ */
206
+ rateLimit?: boolean;
207
+ }
208
+ //#endregion
209
+ //#region src/vite.d.ts
210
+ type HubCommentsOptions = CommentsVitePluginOptions & {
211
+ /** Import paths of the comment operations. `vite-hub` passes its own subpaths. */
212
+ operationsImports?: {
213
+ operations?: string;
214
+ };
215
+ };
216
+ //#endregion
217
+ //#region src/health-vite.d.ts
218
+ interface HealthOptions {
219
+ /** The route that answers the health check. Default: `/api/_vitehub/health`. */
220
+ route?: string;
221
+ }
222
+ //#endregion
223
+ //#region src/deploy-options.d.ts
224
+ interface DeployOptions {
225
+ /**
226
+ * Paths that `vitehub deploy` requests on the deployed URL after each deploy, such as `["/", "/api/products"]`. Each
227
+ * one must answer with a 2xx status, or the deploy exits with `SETUP_DEPLOY_CHECK_FAILED` and prints the command
228
+ * that rolls production back. With `health`, the health route is checked too.
229
+ */
230
+ check?: string | readonly string[];
231
+ /**
232
+ * After each production deploy that passes its checks, `vitehub deploy` sends the URLs of `<publicUrl>/sitemap.xml`
233
+ * to IndexNow, so Bing, Yandex, Seznam, Naver, and Yep crawl them again. The build serves the IndexNow key file.
234
+ * Needs a string `publicUrl`. Default: `false`.
235
+ */
236
+ indexNow?: boolean;
237
+ }
238
+ //#endregion
239
+ //#region src/seo/vite.d.ts
240
+ /** `vitehub({ seo })`. */
241
+ interface SeoOptions {
242
+ /**
243
+ * Serve `/sitemap.xml`: the Nuxt pages without a dynamic part and the static prerender routes, the published Content
244
+ * pages with a URL, and the entries of `server/sitemap.ts`. URLs start with `publicUrl`, or the request origin without
245
+ * it. `exclude` lists path prefixes to leave out, such as `/admin`. `pages: false` lists no Nuxt pages or prerender
246
+ * routes, so the list is Content and `server/sitemap.ts` only.
247
+ */
248
+ sitemap?: boolean | {
249
+ exclude?: readonly string[];
250
+ pages?: boolean;
251
+ };
252
+ /**
253
+ * `/robots.txt`, which ViteHub serves with `sitemap` unless the app has its own. It allows every crawler and names the
254
+ * sitemap. `disallow` lists paths to keep crawlers out of, such as `/api/`. Setting `robots` alone serves it too.
255
+ * `false` serves none.
256
+ */
257
+ robots?: boolean | {
258
+ disallow?: readonly string[];
259
+ };
260
+ }
261
+ //#endregion
262
+ //#region src/security-vite.d.ts
263
+ /** The headers that built output sends by default. */
264
+ declare const defaultSecurityHeaders: {
265
+ readonly "Strict-Transport-Security": "max-age=31536000";
266
+ readonly "X-Content-Type-Options": "nosniff";
267
+ readonly "Referrer-Policy": "strict-origin-when-cross-origin";
268
+ };
269
+ /**
270
+ * Response headers for `security.headers`. A key is a header name. A string replaces the default value or adds a
271
+ * header, such as `"X-Robots-Tag": "noindex"`. `false` removes a default header.
272
+ */
273
+ type SecurityHeaders = { [Name in keyof typeof defaultSecurityHeaders]?: string | false; } & Record<string, string | false>;
274
+ type ByteUnit = "b" | "kb" | "mb" | "gb" | "B" | "KB" | "MB" | "GB";
275
+ /** `security` options of `vitehub()`. */
276
+ interface SecurityOptions {
277
+ /**
278
+ * Response headers for every response that does not set them itself. By default, built output sends
279
+ * `Strict-Transport-Security: max-age=31536000`, `X-Content-Type-Options: nosniff`, and
280
+ * `Referrer-Policy: strict-origin-when-cross-origin`. An object changes, adds, or removes (`false`) one header, such as
281
+ * `"X-Frame-Options": "SAMEORIGIN"`. `false` sends no headers. When you set `headers`, `vite dev` also sends them,
282
+ * without `Strict-Transport-Security`. Static files on Cloudflare, Netlify, and Vercel get the same headers from the
283
+ * host's header config. Default: the three headers above, in built output only.
284
+ */
285
+ headers?: boolean | SecurityHeaders;
286
+ /**
287
+ * The largest request body, as bytes or a size such as `"1mb"` or `"500kb"` (1kb is 1024 bytes). A larger body gets
288
+ * 413 with the code `VITE_HUB_REQUEST_BODY_TOO_LARGE`. It applies to every route. Default: no limit.
289
+ */
290
+ maxBodySize?: number | `${number}${ByteUnit}`;
291
+ }
292
+ //#endregion
293
+ //#region src/request-policy-vite.d.ts
294
+ /** `sameOriginWrites` options of `vitehub()`. */
295
+ interface SameOriginWritesOptions {
296
+ /**
297
+ * Path prefixes that take writes from other sites, such as `/api/forms/contact` for a Form with `origins`. A prefix
298
+ * matches the path itself and the paths below it.
299
+ */
300
+ exclude?: string[];
301
+ }
302
+ //#endregion
303
+ //#region src/redirects-vite.d.ts
304
+ /** `redirects` options of `vitehub()`. */
305
+ interface RedirectsOptions {
306
+ /**
307
+ * The canonical host name, such as `"example.com"`. A request to another host, such as `www.example.com`, is
308
+ * redirected to this host with the same path and query. Local names, IP addresses, and `previewHosts` keep their host.
309
+ */
310
+ host?: string;
311
+ /** Redirect `http:` requests to `https:`. Local names, IP addresses, and `previewHosts` keep their scheme. */
312
+ https?: boolean;
313
+ /**
314
+ * `"remove"` redirects `/pricing/` to `/pricing`. `"add"` redirects `/pricing` to `/pricing/`. It applies to page
315
+ * requests only: `GET` and `HEAD`, not under `/api/` or `/_`, and without a file extension.
316
+ */
317
+ trailingSlash?: "add" | "remove";
318
+ /**
319
+ * More hosts that keep their host and scheme, such as `"staging.example.com"`. `*.` matches every subdomain. The
320
+ * preview hosts of each host always do: `*.workers.dev`, `*.pages.dev`, `*.vercel.app`, `*.netlify.app`,
321
+ * `*.deno.dev`, and `*.deno.net`.
322
+ */
323
+ previewHosts?: string[];
324
+ }
325
+ //#endregion
326
+ //#region ../auth/dist/types-CNaeH2Fd.d.ts
327
+ /** Where the Nuxt page guard sends visitors. */
328
+ interface AuthRedirects {
329
+ /** The login page for `auth: 'user'` pages. The guard adds `?redirect=<the page>`. Default `/login`. */
330
+ login?: string;
331
+ /** Where signed-in users go from `auth: 'guest'` pages. Default `/`. */
332
+ guest?: string;
333
+ }
334
+ //#endregion
335
+ //#region src/types.d.ts
336
+ declare global {
337
+ namespace ViteHub {
338
+ interface AuthRuntimeEnv extends Record<string, unknown> {}
339
+ /** Generated declarations set `definition` to the type of the app's Auth Definition. */
340
+ interface AuthRegistry {}
341
+ }
342
+ }
343
+ interface AuthObjectOptions {
344
+ /** Where the Nuxt page guard of `definePageMeta({ auth })` sends visitors. Vite apps without Nuxt ignore it. */
345
+ redirects?: AuthRedirects;
346
+ }
347
+ type AuthOptions = false | AuthObjectOptions;
348
+ //#endregion
349
+ //#region src/console/vite.d.ts
350
+ /**
351
+ * The Console options. `console: true` is the same as `console: {}`.
352
+ * The app serves one Console route, `POST /_vitehub/rpc`. It takes only requests that the ViteHub Console or the CLI
353
+ * signed with an Ed25519 key whose public key is in a `VITEHUB_CONSOLE_KEY_<NAME>` runtime env var.
354
+ */
355
+ interface ConsoleOptions {
356
+ /**
357
+ * `false` takes calls without a signature, from this machine only, for `vite dev`. A production build fails. Leave it
358
+ * out to take only signed calls.
359
+ */
360
+ auth?: false;
361
+ /**
362
+ * Server file that default-exports `defineConsoleAuthorize()`. Every Console call runs it after the signature check.
363
+ * It returns `true`, `false`, a `Response`, or `{ sections }` to allow only some Console sections.
364
+ */
365
+ authorize?: string;
366
+ /**
367
+ * Let Console administrators open the app as one of its users. Off by default. It needs app Auth with Better Auth's
368
+ * `admin` plugin and `events.store`, so that every start and stop is recorded.
369
+ */
370
+ impersonation?: boolean;
371
+ /** Let the Console start Agent Invocations and run manual Schedules. Defaults to `true` in development and `false` in production builds. */
372
+ invoke?: boolean;
373
+ /**
374
+ * Sections to leave out of this Console, such as `{ content: false }`. A hidden section has no navigation entry and
375
+ * no Console routes. It does not change the primitive itself: the app still reads and writes its content.
376
+ */
377
+ sections?: Readonly<Record<string, false>>;
378
+ /**
379
+ * `false` leaves the **Console** link out of the page tools pill. Then HTML pages get no page tools script, unless
380
+ * another page tool, such as Comments, is on. Site access needs the pill, so the Console has no Site access section.
381
+ */
382
+ pill?: false;
383
+ /**
384
+ * Show the MCP client section: it connects to MCP servers as the person who signed in to the Console, with OAuth or a
385
+ * token. It lists the servers that the app announces in its RFC 9728 metadata, such as its own `/mcp`.
386
+ */
387
+ mcpClient?: boolean;
388
+ }
389
+ //#endregion
390
+ //#region src/systemd.d.ts
391
+ /** `systemd` options of `vitehub()`. */
392
+ interface SystemdOptions {
393
+ /** The unit name without `.service`. Defaults to the deployment name: `vitehub({ name })`, else the package.json name. */
394
+ name?: string;
395
+ /** `User=` of a system unit. Omit it for a user unit (`systemctl --user`). */
396
+ user?: string;
397
+ /** `Group=` of a system unit. */
398
+ group?: string;
399
+ /**
400
+ * Absolute app directory on the server, where the unit starts the server entry and where relative data paths resolve.
401
+ * Defaults to the project root of the build.
402
+ */
403
+ workingDirectory?: string;
404
+ /** Optional environment file, relative to `workingDirectory`. Defaults to `.env`. `false` reads no file. */
405
+ environmentFile?: string | false;
406
+ /** `Environment=` variables, such as `{ PORT: "3000" }`. */
407
+ environment?: Record<string, string>;
408
+ }
409
+ //#endregion
410
+ //#region src/observability-vite.d.ts
411
+ /** Self-contained options for the evlog Nitro module. */
412
+ interface ObservabilityEvlogOptions {
413
+ enabled?: boolean;
414
+ pretty?: boolean;
415
+ silent?: boolean;
416
+ env?: Partial<Record<"service" | "environment" | "version" | "commitHash" | "region", string>>;
417
+ include?: string[];
418
+ exclude?: string[];
419
+ routes?: Record<string, {
420
+ service: string;
421
+ }>;
422
+ minLevel?: "debug" | "info" | "warn" | "error";
423
+ dev?: "evlog" | "nitro" | "both" | {
424
+ frameworkOverlay?: boolean;
425
+ prettyError?: {
426
+ snippet?: boolean;
427
+ stackDepth?: number;
428
+ compact?: boolean;
429
+ detail?: "full" | "guidance";
430
+ };
431
+ };
432
+ sampling?: {
433
+ rates?: Partial<Record<"debug" | "info" | "warn" | "error", number>>;
434
+ keep?: Array<{
435
+ status?: number;
436
+ duration?: number;
437
+ path?: string;
438
+ }>;
439
+ };
440
+ redact?: boolean | {
441
+ paths?: string[];
442
+ patterns?: RegExp[];
443
+ builtins?: false | Array<"creditCard" | "email" | "ipv4" | "phone" | "jwt" | "bearer" | "iban">;
444
+ replacement?: string | ((matched: unknown, context: {
445
+ path: string;
446
+ key: string;
447
+ groups?: Array<string | undefined>;
448
+ }) => string);
449
+ transform?: (event: Record<string, unknown> & {
450
+ timestamp: string;
451
+ level: "trace" | "debug" | "info" | "warn" | "error" | "fatal";
452
+ service: string;
453
+ environment: string;
454
+ version?: string;
455
+ commitHash?: string;
456
+ region?: string;
457
+ duration?: string;
458
+ durationMs?: number;
459
+ }) => void;
460
+ };
461
+ }
462
+ /** Where the Console and `vitehub logs` read logs. */
463
+ type ObservabilityLogsOptions = {
464
+ source: string;
465
+ } | {
466
+ maxEntries?: number;
467
+ maxEntryBytes?: number;
468
+ };
469
+ interface ObservabilityOptions {
470
+ /**
471
+ * Service name on every event and log. Set it to install `useObservability()`: Agent telemetry, PostHog export, and
472
+ * papercut reports.
473
+ */
474
+ service?: string;
475
+ /** Defaults to `NODE_ENV`, then `development`. */
476
+ environment?: string;
477
+ /** Export events, exceptions, and failed request logs to PostHog. Requires `service`. */
478
+ posthog?: {
479
+ /** Server Env reference, for example `env({ secret: true, source: env.source("POSTHOG_API_KEY") })`. */
480
+ apiKey: EnvVariableDeclaration | string;
481
+ /** Defaults to `https://us.i.posthog.com`. */
482
+ host?: string;
483
+ };
484
+ /** Options for the evlog Nitro module, such as `sampling`, `redact`, and `pretty`. */
485
+ evlog?: ObservabilityEvlogOptions;
486
+ /** Durable papercut reports, backed by the Console invocation journal. Requires `service`. */
487
+ papercuts?: true | {
488
+ eventPrefix?: string;
489
+ uuidNamespace?: string;
490
+ intervalMs?: number;
491
+ };
492
+ /** Queue bound for best-effort events and for the log buffer. Defaults to 1,000. */
493
+ maxPending?: number;
494
+ /**
495
+ * Read logs in the Console and with `vitehub logs`. `true` keeps a bounded Evlog buffer in `vite dev`. A production
496
+ * build needs `{ source }`, which reads an existing backend and starts no logger unless `service` is set.
497
+ */
498
+ logs?: boolean | ObservabilityLogsOptions;
499
+ /**
500
+ * Send uncaught browser errors to `POST /api/_vitehub/browser-errors`. The server logs each one as an error on the
501
+ * request's Evlog event. Same origin only, 16 KiB at most, and 20 reports a minute for each address.
502
+ */
503
+ browserErrors?: boolean;
504
+ }
505
+ //#endregion
506
+ //#region ../workspace/dist/types-BbtwmBZ5.d.ts
507
+ //#region src/core/types.d.ts
508
+ type WorkspaceContent = string | Uint8Array;
509
+ type WorkspaceContentStream = ReadableStream<Uint8Array> | AsyncIterable<Uint8Array>;
510
+ interface ReadFileOptions {
511
+ encoding?: "utf8" | "binary";
512
+ }
513
+ type ReadFileResult<TOptions extends ReadFileOptions | undefined = undefined> = TOptions extends {
514
+ encoding: "binary";
515
+ } ? Uint8Array : string;
516
+ interface ListOptions {
517
+ exclude?: string[];
518
+ recursive?: boolean;
519
+ }
520
+ interface GlobOptions {
521
+ /** Workspace-relative directory to match patterns within. Result paths remain relative to the Workspace root. */
522
+ cwd?: string;
523
+ }
524
+ interface MkdirOptions {
525
+ recursive?: boolean;
526
+ }
527
+ interface RmOptions {
528
+ recursive?: boolean;
529
+ force?: boolean;
530
+ /** Remove only when the current file digest matches. */
531
+ ifDigest?: string | null;
532
+ }
533
+ /** The person that a snapshot or a history commit records as its author. */
534
+ interface WorkspaceAuthor {
535
+ name: string;
536
+ email: string;
537
+ }
538
+ interface SnapshotOptions {
539
+ name?: string;
540
+ /**
541
+ * Who made the change, such as the signed-in user. The GitHub and Cloudflare Artifacts Stores write it as the Git
542
+ * commit author. Stores with retained history keep it as `metadata.author` of the revision.
543
+ */
544
+ author?: WorkspaceAuthor;
545
+ }
546
+ interface DiffOptions {
547
+ from?: WorkspaceSnapshot;
548
+ }
549
+ declare global {
550
+ interface ViteHubWorkspaceNameMap {}
551
+ interface ViteHubWorkspaceAssetMap {}
552
+ interface ViteHubWorkspaceSourceResolutionContextMap {}
553
+ interface ViteHubWorkspaceScopeNameMap {}
554
+ }
555
+ interface WorkspaceFile {
556
+ path: string;
557
+ content: WorkspaceContent;
558
+ mediaType?: string;
559
+ /** JSON-safe file attributes: plain objects, dense arrays, strings, booleans, null, and finite numbers except negative zero. `source` is reserved for a string Source name. */
560
+ metadata?: Record<string, unknown>;
561
+ }
562
+ interface WorkspaceStreamFile {
563
+ path: string;
564
+ content: WorkspaceContentStream;
565
+ mediaType?: string;
566
+ /** JSON-safe file attributes: plain objects, dense arrays, strings, booleans, null, and finite numbers except negative zero. `source` is reserved for a string Source name. */
567
+ metadata?: Record<string, unknown>;
568
+ }
569
+ interface WorkspaceEntry {
570
+ path: string;
571
+ type: "file" | "directory";
572
+ size?: number;
573
+ mtime?: number;
574
+ mediaType?: string;
575
+ metadata?: Record<string, unknown>;
576
+ digest?: string;
577
+ }
578
+ interface WorkspaceStat extends WorkspaceEntry {
579
+ /** Opaque stored-file version. Must change on modification or recreation, even when bytes are unchanged. */
580
+ revision?: string;
581
+ type: "file" | "directory";
582
+ }
583
+ interface WorkspaceSnapshot {
584
+ id: string;
585
+ name?: string;
586
+ createdAt: string;
587
+ entries: Record<string, {
588
+ type: "file" | "directory";
589
+ digest?: string;
590
+ metadata?: Record<string, unknown>;
591
+ size?: number;
592
+ }>;
593
+ }
594
+ interface WorkspaceRevision {
595
+ id: string;
596
+ /** The history ref this revision was committed to. */
597
+ ref: string;
598
+ parentId: string | null;
599
+ createdAt: string;
600
+ message?: string;
601
+ metadata?: Record<string, unknown>;
602
+ /**
603
+ * How many files the revision has, and their total size. The GitHub Store leaves both out of `list()` and `head()`,
604
+ * because counting needs one more request per commit. `open(id)` reports them.
605
+ */
606
+ files?: number;
607
+ bytes?: number;
608
+ }
609
+ interface WorkspaceHistoryRefOptions {
610
+ /** Named history line inside the Workspace. Defaults to `main`. */
611
+ ref?: string;
612
+ }
613
+ interface WorkspaceHistoryCommitBase extends WorkspaceHistoryRefOptions {
614
+ /** The expected head of `ref`. Use null for the first revision on the ref. */
615
+ ifHead: string | null;
616
+ /** Expected heads of other refs that must remain unchanged for the commit. */
617
+ ifHeads?: Record<string, string | null>;
618
+ /**
619
+ * With `ifHead: null`, start the new ref from this revision instead of from the ref that `history.forksFrom(ref)`
620
+ * names. Only Stores with `forksFrom` accept it. The caller has read the files of that revision.
621
+ */
622
+ startFrom?: string;
623
+ message?: string;
624
+ metadata?: Record<string, unknown>;
625
+ }
626
+ /** Store commits receive normalized files after rules, validators, hooks, and Source grants pass. */
627
+ type WorkspaceStoreHistoryCommitOptions = WorkspaceHistoryCommitBase & ({
628
+ files: Record<string, WorkspaceFile>;
629
+ changes?: never;
630
+ } | {
631
+ changes: {
632
+ put?: Record<string, WorkspaceFile>;
633
+ delete?: string[];
634
+ };
635
+ files?: never;
636
+ });
637
+ interface WorkspaceHistoryListOptions extends WorkspaceHistoryRefOptions {
638
+ cursor?: string;
639
+ limit?: number;
640
+ /** Return revisions whose file manifest changed at this file or folder path. */
641
+ path?: string;
642
+ }
643
+ interface WorkspaceHistoryListResult {
644
+ revisions: WorkspaceRevision[];
645
+ cursor?: string;
646
+ }
647
+ interface WorkspaceHistoryRef {
648
+ name: string;
649
+ head: WorkspaceRevision;
650
+ }
651
+ interface WorkspaceRevisionView {
652
+ readonly revision: WorkspaceRevision;
653
+ /** File digests, when provided, are the digests of the retained bytes: SHA-256, or the Git blob sha for the GitHub Store. Compute one with `history.digest`. */
654
+ list(path?: string, options?: ListOptions): Promise<WorkspaceEntry[]>;
655
+ stat(path: string): Promise<WorkspaceStat>;
656
+ readFile<TOptions extends ReadFileOptions | undefined = undefined>(path: string, options?: TOptions): Promise<ReadFileResult<TOptions>>;
657
+ /**
658
+ * Read many files of the revision at once, so that `readFile()` of each path needs no request. The GitHub Store reads
659
+ * them from one archive of the commit. Stores without it read each file on its own.
660
+ */
661
+ preload?(paths: readonly string[]): Promise<void>;
662
+ }
663
+ /** An open pull request on a forge, for a Store whose refs are branches. */
664
+ interface WorkspacePullRequest {
665
+ number: number;
666
+ url: string;
667
+ title: string;
668
+ /** The ref of the branch that the pull request merges. */
669
+ head: string;
670
+ /** The ref that it merges into. */
671
+ base: string;
672
+ /** Common ancestor of the head and base, for comparing all changes in the pull request. */
673
+ mergeBase?: string;
674
+ }
675
+ interface WorkspaceOpenPullRequestOptions {
676
+ /** The ref to merge. */
677
+ head: string;
678
+ /** The ref to merge into. */
679
+ base: string;
680
+ title: string;
681
+ body?: string;
682
+ draft?: boolean;
683
+ /** Delete the head ref after GitHub definitively rejects the pull request. Unknown outcomes keep it for recovery. */
684
+ deleteHeadOnFailure?: boolean;
685
+ /** Exclude overlapping open PRs across Store instances. Ambiguous requests retain their reservations until reconciled. */
686
+ reservation?: {
687
+ headPrefix: string;
688
+ paths: string[];
689
+ };
690
+ }
691
+ /** A file that both refs changed in different ways. Digests are the Store's (`history.digest`); null means deleted. */
692
+ interface WorkspaceMergeConflict {
693
+ /** The Workspace path. */
694
+ path: string;
695
+ /** The digest on the ref that receives the merge. */
696
+ ours: string | null;
697
+ /** The digest on the ref that is merged in. */
698
+ theirs: string | null;
699
+ /** The digest at the merge base of both refs. Null when the file did not exist there. */
700
+ base: string | null;
701
+ }
702
+ /** What `onConflict` can use while it resolves conflicts. */
703
+ interface WorkspaceMergeConflictContext {
704
+ /** Reads the bytes of a digest that a conflict names. */
705
+ read(digest: string): Promise<Uint8Array>;
706
+ }
707
+ /** What `onConflict` decided. */
708
+ interface WorkspaceMergeResolution {
709
+ /** Metadata for the merge commit. It is added to `metadata`. */
710
+ metadata?: Record<string, unknown>;
711
+ /**
712
+ * Merged text of conflicting files, by Workspace path. The merge commit writes it instead of the receiving ref's
713
+ * version. A path that is not one of the conflicts throws.
714
+ */
715
+ files?: Record<string, string>;
716
+ }
717
+ interface WorkspaceMergeOptions {
718
+ /**
719
+ * Called when the Store's own merge conflicts. With it, the Store merges everything else and calls this with the
720
+ * files that both refs changed. Each file keeps the receiving ref's version unless the resolution gives its merged
721
+ * text. Without it, a conflict throws `WORKSPACE_CONFLICT`.
722
+ */
723
+ onConflict?(conflicts: WorkspaceMergeConflict[], context: WorkspaceMergeConflictContext): WorkspaceMergeResolution | Promise<WorkspaceMergeResolution>;
724
+ /** The ref to bring in. */
725
+ from: string;
726
+ /** The ref that receives the merge. */
727
+ into: string;
728
+ /** The message of the merge commit. */
729
+ message?: string;
730
+ /** Revision metadata, kept like the metadata of a commit. */
731
+ metadata?: Record<string, unknown>;
732
+ }
733
+ interface WorkspaceHistoryReader {
734
+ /**
735
+ * The open pull requests whose head ref starts with `headPrefix`, newest first, for a Store that has them. The GitHub
736
+ * Store finds the branches with that prefix first, so it requires `headPrefix`.
737
+ */
738
+ pullRequests?(options?: {
739
+ headPrefix?: string;
740
+ }): Promise<WorkspacePullRequest[]>;
741
+ /**
742
+ * The digest of file bytes, as `WorkspaceEntry.digest` reports it for this Store: SHA-256 by default, the Git blob sha
743
+ * for the GitHub Store. Compare digests only with this function.
744
+ */
745
+ digest?(bytes: Uint8Array): Promise<string>;
746
+ /**
747
+ * The ref that a missing `ref` starts from when a commit creates it with `ifHead: null`, or undefined when the ref
748
+ * starts empty. The GitHub Store starts `draft` from the head of `published`.
749
+ */
750
+ forksFrom?(ref: string): Promise<string | undefined>;
751
+ head(options?: WorkspaceHistoryRefOptions): Promise<WorkspaceRevision | null>;
752
+ list(options?: WorkspaceHistoryListOptions): Promise<WorkspaceHistoryListResult>;
753
+ /** Refs that have at least one revision, sorted by name. */
754
+ refs(): Promise<WorkspaceHistoryRef[]>;
755
+ open(id: string): Promise<WorkspaceRevisionView>;
756
+ /** Unique uncompressed file bytes retained across committed revisions on every ref. */
757
+ usage(): Promise<{
758
+ bytes: number;
759
+ objects: number;
760
+ }>;
761
+ }
762
+ /** Writes that only some Stores have. A Store without them leaves the members out. */
763
+ interface WorkspaceHistoryExtensions {
764
+ /** Merge `from` into `into` with a merge commit. Returns null when `into` already has everything in `from`. A merge that conflicts throws `WORKSPACE_CONFLICT`. */
765
+ merge?(options: WorkspaceMergeOptions): Promise<WorkspaceRevision | null>;
766
+ /** Open a pull request from one ref into another. */
767
+ openPullRequest?(options: WorkspaceOpenPullRequestOptions): Promise<WorkspacePullRequest>;
768
+ }
769
+ /** Run the Workspace commit policy on a prepared merge before the Store advances its destination ref. */
770
+ type WorkspaceMergeCommit = (options: WorkspaceStoreHistoryCommitOptions, apply: (checked: WorkspaceStoreHistoryCommitOptions) => Promise<WorkspaceRevision>) => Promise<WorkspaceRevision>;
771
+ interface WorkspaceStoreHistory extends WorkspaceHistoryReader, Omit<WorkspaceHistoryExtensions, "merge"> {
772
+ merge?(options: WorkspaceMergeOptions, commit?: WorkspaceMergeCommit): Promise<WorkspaceRevision | null>;
773
+ commit(options: WorkspaceStoreHistoryCommitOptions): Promise<WorkspaceRevision>;
774
+ }
775
+ interface WorkspaceDiffEntry {
776
+ path: string;
777
+ type: "added" | "modified" | "removed";
778
+ before?: WorkspaceSnapshot["entries"][string];
779
+ after?: WorkspaceSnapshot["entries"][string];
780
+ }
781
+ interface WorkspaceDiff {
782
+ from?: string;
783
+ to: string;
784
+ entries: WorkspaceDiffEntry[];
785
+ }
786
+ interface WorkspaceRebaseOptions {
787
+ takeRemote?: string[];
788
+ }
789
+ interface WorkspaceStore {
790
+ history?: WorkspaceStoreHistory;
791
+ readFile(path: string): Promise<WorkspaceFile | undefined>;
792
+ writeFile(path: string, file: WorkspaceFile): Promise<void>;
793
+ writeFileConditional?(path: string, file: WorkspaceFile, ifDigest: string | null): Promise<void>;
794
+ writeFileStream?(path: string, file: WorkspaceStreamFile): Promise<WorkspaceStat & {
795
+ digest: string;
796
+ }>;
797
+ list(prefix?: string, options?: ListOptions): Promise<WorkspaceEntry[]>;
798
+ glob(pattern: string | string[], options?: GlobOptions): Promise<WorkspaceEntry[]>;
799
+ stat(path: string): Promise<WorkspaceStat | undefined>;
800
+ mkdir(path: string, options?: MkdirOptions): Promise<void>;
801
+ rm(path: string, options?: RmOptions): Promise<void>;
802
+ removeEmptyDirectory?(path: string): Promise<void>;
803
+ snapshot(options?: SnapshotOptions): Promise<WorkspaceSnapshot>;
804
+ rebase?(options?: WorkspaceRebaseOptions): Promise<void>;
805
+ diff(options?: DiffOptions): Promise<WorkspaceDiff>;
806
+ getMeta?(key: string): Promise<unknown>;
807
+ setMeta?(key: string, value: unknown, capability?: symbol): Promise<void>;
808
+ }
809
+ interface LocalWorkspaceStoreOptions {
810
+ /**
811
+ * `"git"` hides `.git` and paths that Git ignores, such as dependencies and build output, from
812
+ * listings, snapshots, and diffs. The root must be a Git checkout.
813
+ */
814
+ ignore?: "git";
815
+ /**
816
+ * Path lock scope. `"filesystem"` (default) coordinates every process that shares the root
817
+ * through lock directories under `.vitehub/locks`. `"process"` keeps the same per-path read and
818
+ * write locks in memory. Use it only when one process owns the root.
819
+ */
820
+ locks?: "filesystem" | "process";
821
+ driver?: "local";
822
+ root?: string;
823
+ }
824
+ interface MemoryWorkspaceStoreOptions {
825
+ driver: "memory";
826
+ }
827
+ interface CloudflareArtifactsWorkspaceStoreOptions {
828
+ driver: "cloudflare";
829
+ binding?: string;
830
+ namespace?: string;
831
+ repo?: string;
832
+ repoPrefix?: string;
833
+ branch?: string;
834
+ }
835
+ interface VercelBlobWorkspaceStoreOptions {
836
+ driver: "vercel";
837
+ token?: string;
838
+ /**
839
+ * A namespace under `_vitehub/workspaces/`. For example, `handbook`
840
+ * stores Workspace files under `_vitehub/workspaces/handbook/`.
841
+ */
842
+ prefix?: string;
843
+ access?: "private" | "public";
844
+ }
845
+ type GitHubWorkspaceOption = string | (() => string | undefined);
846
+ /**
847
+ * Branch names for the history refs `published` and `draft`. A history call on `published` reads or writes
848
+ * `refs.published`, and revisions on that branch report the ref `published`. A ref without an alias is its own branch name.
849
+ */
850
+ interface GitHubWorkspaceRefs {
851
+ published?: string;
852
+ draft?: string;
853
+ }
854
+ interface GitHubWorkspaceStoreOptions {
855
+ driver: "github";
856
+ branch?: GitHubWorkspaceOption;
857
+ /**
858
+ * An opaque value that the store target carries for consumers that keep their own rows next to the Workspace, such as a
859
+ * Drizzle Database. The store does not use it.
860
+ */
861
+ database?: unknown;
862
+ refs?: GitHubWorkspaceRefs;
863
+ repo?: GitHubWorkspaceOption;
864
+ repository?: GitHubWorkspaceOption;
865
+ /** The folder of the Workspace in the repository. An empty string is the repository root. Defaults to `.vitehub/workspaces/<workspace>`. */
866
+ root?: GitHubWorkspaceOption;
867
+ token?: GitHubWorkspaceOption;
868
+ }
869
+ type WorkspaceStoreOptions = LocalWorkspaceStoreOptions | MemoryWorkspaceStoreOptions | CloudflareArtifactsWorkspaceStoreOptions | VercelBlobWorkspaceStoreOptions | GitHubWorkspaceStoreOptions | WorkspaceStore;
870
+ interface WorkspaceOptions {
871
+ root?: string;
872
+ projectRoot?: string;
873
+ assets?: boolean | string[];
874
+ store?: WorkspaceStoreOptions;
875
+ }
876
+ //#endregion
877
+ //#region ../sandbox/dist/index-DsoQAUb7.d.ts
878
+ //#region src/internal/network-policy.d.ts
879
+ /**
880
+ * The outbound network of a Sandbox. The `vercel` and `cloudflare` runtimes take this form.
881
+ * - `"allow-all"`: no limit. This is the default.
882
+ * - `"deny-all"`: no network exit.
883
+ * - `{ allow }`: HTTP and HTTPS only to these hostnames. `"*.example.com"` matches subdomains only.
884
+ * Other protocols have no exit.
885
+ */
886
+ type SandboxNetworkPolicy = "allow-all" | "deny-all" | {
887
+ allow: readonly string[];
888
+ };
889
+ //#endregion
890
+ //#region src/vercel.d.ts
891
+ type VercelSandboxSource = {
892
+ depth?: number;
893
+ revision?: string;
894
+ type: "git";
895
+ url: string;
896
+ } | {
897
+ password: string;
898
+ username: string;
899
+ depth?: number;
900
+ revision?: string;
901
+ type: "git";
902
+ url: string;
903
+ } | {
904
+ snapshotId: string;
905
+ type: "snapshot";
906
+ } | {
907
+ type: "tarball";
908
+ url: string;
909
+ };
910
+ type VercelSandboxNetworkPolicy = "allow-all" | "deny-all" | {
911
+ allow?: readonly string[] | Readonly<Record<string, readonly unknown[]>>;
912
+ subnets?: {
913
+ allow?: readonly string[];
914
+ deny?: readonly string[];
915
+ };
916
+ };
917
+ //#endregion
918
+ //#region ../agent/dist/types-EtgX4dic.d.ts
919
+ //#endregion
920
+ //#region src/agent-invocation.d.ts
921
+ type AgentInvocationStatus = "pending" | "running" | "completed" | "failed" | "cancelled";
922
+ type AgentInvocationAnnotationValue = boolean | number | string | null;
923
+ type AgentInvocationRecordStatus = AgentInvocationStatus;
924
+ interface AgentInvocationWorkflowBinding {
925
+ name: string;
926
+ provider: string;
927
+ /** Absent while provider acknowledgement is unknown. */
928
+ id?: string;
929
+ }
930
+ interface AgentInvocationRecord {
931
+ /** Durable provider dispatch intent and acknowledged physical identity. */
932
+ workflow?: AgentInvocationWorkflowBinding;
933
+ agentName?: string;
934
+ annotations?: Record<string, AgentInvocationAnnotationValue>;
935
+ /** Capability IDs observed during this Invocation, including uses omitted from a truncated trace. */
936
+ capabilityIds?: readonly string[];
937
+ cancelledAt?: string;
938
+ /** Driver that received this Invocation but cannot enforce a cancellation request. */
939
+ cancelNotEnforcedBy?: string;
940
+ /** True while the custom Driver dispatch state has not been durably verified. */
941
+ cancelWarningPending?: boolean;
942
+ /** Execution owner whose custom Driver dispatch is unverified. */
943
+ cancelWarningOwnerId?: string;
944
+ /** Time of the first cancellation request. The run that holds the Invocation reads it within the claim renewal interval. */
945
+ cancelRequestedAt?: string;
946
+ channelId?: string;
947
+ completedAt?: string;
948
+ createdAt: string;
949
+ cursor: string;
950
+ error?: RuntimeDiagnosticError;
951
+ failedAt?: string;
952
+ /** A failed queued attempt has another retry and can still be cancelled. */
953
+ retryPending?: boolean;
954
+ id: string;
955
+ /**
956
+ * What the Invocation did, in order. Every Driver records `agent.invocation.start` (with `input.prompt`,
957
+ * `input.messages` or `input.data`) and `agent.invocation.finish` (with `result.text`, or `result.output` for a
958
+ * structured result such as `driver.ask` answers). `driver.ask` adds `agent.tool.*` per question and
959
+ * `agent.usage.recorded` per Jev request; see `AgentAskDriver`.
960
+ *
961
+ * An Invocation started while another one runs its Driver or an outcome hook, such as `runAgent()` in
962
+ * `agent:finish`, is its child. The parent records `agent.invocation.child.start` and `agent.invocation.child.finish`
963
+ * with `agent.invocation.child.id` (the child's record `id`), `.run.id` and `.agent.name`, and on finish `.status`
964
+ * and `.durationMs`. The child's `agent.invocation.start` carries the same `agent.invocation.parent.*` attributes.
965
+ */
966
+ observations: readonly TraceEventLogEntry[];
967
+ /** Resolved retention limits for this durable Invocation. */
968
+ observationLimits?: Required<AgentInvocationObservationOptions>;
969
+ /** True when the journal dropped one or more observations. */
970
+ observationsTruncated?: boolean;
971
+ origin?: string;
972
+ startedAt?: string;
973
+ status: AgentInvocationRecordStatus;
974
+ threadId?: string;
975
+ /** A bounded title projected from retained public title observations. */
976
+ title?: string;
977
+ /** Sequence of the projected title, preserved when its observation is evicted. */
978
+ titleSequence?: number;
979
+ /**
980
+ * Shared by an Invocation and the children it starts without a trace of their own.
981
+ * The observations of a child carry `trace.parentId`, the record `id` of its parent.
982
+ */
983
+ traceId: string;
984
+ updatedAt: string;
985
+ }
986
+ interface AgentInvocationListOptions {
987
+ agentName?: string;
988
+ capabilityId?: string;
989
+ cursor?: string;
990
+ limit?: number;
991
+ search?: string;
992
+ status?: AgentInvocationRecordStatus | readonly AgentInvocationRecordStatus[];
993
+ triggeredBy?: string;
994
+ /** ISO timestamp; keeps invocations whose `updatedAt` is at or after it. Stores without an index for it may ignore it. */
995
+ updatedSince?: string;
996
+ }
997
+ /** Read options of `get()`. The record fields stay the same; only `observations` changes. */
998
+ interface AgentInvocationGetOptions {
999
+ /**
1000
+ * Returns only observations with a sequence greater than this value. Pass the sequence of the last observation
1001
+ * that you read to read only new observations. `0` returns all observations. It must be a non-negative safe integer.
1002
+ */
1003
+ afterSequence?: number;
1004
+ /** Returns only observations with these exact names. An empty list returns no observations. */
1005
+ observationNames?: readonly string[];
1006
+ }
1007
+ type AgentInvocationSummary = Omit<AgentInvocationRecord, "observations">;
1008
+ interface AgentInvocationListResult {
1009
+ cursor?: string;
1010
+ invocations: readonly AgentInvocationSummary[];
1011
+ remainingStatuses?: readonly AgentInvocationRecordStatus[];
1012
+ }
1013
+ type AgentInvocationStoreCreateInput = Omit<AgentInvocationRecord, "cursor">;
1014
+ interface AgentInvocationStoreCreateResult {
1015
+ created: boolean;
1016
+ record: AgentInvocationRecord;
1017
+ }
1018
+ interface AgentInvocationStoreUpdateInput {
1019
+ workflow?: AgentInvocationWorkflowBinding;
1020
+ /** Append with a stable observation identity and a sequence assigned atomically by the store. */
1021
+ appendObservation?: Omit<TraceEventLogEntry, "sequence">;
1022
+ annotations?: AgentInvocationRecord["annotations"];
1023
+ /** Current Driver that cannot enforce cancellation. `null` clears a previous Driver's marker. */
1024
+ cancelNotEnforcedBy?: string | null;
1025
+ /** Whether custom Driver dispatch is unverified. `false` clears the pending state. */
1026
+ cancelWarningPending?: boolean;
1027
+ /** Execution owner for the pending custom Driver marker. */
1028
+ cancelWarningOwnerId?: string;
1029
+ /** Requests cancellation. A failed record with retryPending becomes cancelled; other terminal records ignore it. */
1030
+ cancelRequestedAt?: string;
1031
+ capabilityIds?: readonly string[];
1032
+ channelId?: string;
1033
+ origin?: string;
1034
+ threadId?: string;
1035
+ error?: AgentInvocationRecord["error"];
1036
+ observation?: TraceEventLogEntry;
1037
+ observationsTruncated?: boolean;
1038
+ /** Returns a `failed` record to `pending` for another attempt of the same run. Other records ignore it. */
1039
+ reopen?: true;
1040
+ /** Whether a failed queued attempt has another retry. Cleared when the record is reopened. */
1041
+ retryPending?: boolean;
1042
+ status?: AgentInvocationRecordStatus;
1043
+ timestamp: string;
1044
+ }
1045
+ interface AgentInvocationStore {
1046
+ /**
1047
+ * Prepares a store that connects on first use, such as one that loads its database client and runs migrations.
1048
+ * The journal calls it once before its first operation and waits up to 10 seconds, outside `storeTimeoutMs`.
1049
+ * Concurrent callers share the underlying open, even after a wait times out. Only a rejected open is retried.
1050
+ */
1051
+ open?(): MaybePromise$1<void>;
1052
+ claim(id: string, claimId: string, leaseMs: number, options?: {
1053
+ /** Atomically rotate only an absent claim or one of these owned generations, unless replaceExisting is true. */
1054
+ expectedClaimIds?: readonly string[];
1055
+ replaceClaimToken?: string;
1056
+ /** Requires the claimed record to have this stable identity. */
1057
+ expectedTraceId?: string;
1058
+ /** Requires the claimed record to be the observed store generation. */
1059
+ expectedCursor?: string;
1060
+ replaceExisting?: boolean;
1061
+ }): MaybePromise$1<boolean>;
1062
+ create(input: AgentInvocationStoreCreateInput): MaybePromise$1<AgentInvocationStoreCreateResult>;
1063
+ get(id: string, options?: AgentInvocationGetOptions): MaybePromise$1<AgentInvocationRecord | undefined>;
1064
+ /** Reads invocation metadata without observation payloads. */
1065
+ getSummary(id: string): MaybePromise$1<AgentInvocationSummary | undefined>;
1066
+ getClaimToken(id: string): MaybePromise$1<string | undefined>;
1067
+ list(options?: AgentInvocationListOptions): MaybePromise$1<AgentInvocationListResult>;
1068
+ listAgentNames?(): MaybePromise$1<readonly string[]>;
1069
+ listCapabilityIds?(agentName?: string): MaybePromise$1<readonly string[]>;
1070
+ listTriggeredBy?(agentName?: string): MaybePromise$1<readonly string[]>;
1071
+ release(id: string, claimId: string): MaybePromise$1<void>;
1072
+ /** Deletes one terminal record and the claim the store keeps for it. Pending and running records remain. */
1073
+ delete?(id: string): MaybePromise$1<AgentInvocationDeleteOutcome>;
1074
+ /** Deletes terminal records selected by `updatedBefore`, or by the store's configured retention when it is omitted. */
1075
+ prune?(options: AgentInvocationStorePruneOptions): MaybePromise$1<AgentInvocationPruneResult>;
1076
+ /** Updates are idempotent for observations carrying the ViteHub observation identity attribute. */
1077
+ update(id: string, input: AgentInvocationStoreUpdateInput, claimId?: string): MaybePromise$1<AgentInvocationRecord | undefined>;
1078
+ }
1079
+ /** `not-terminal` means the record is pending or running and was kept. */
1080
+ type AgentInvocationDeleteOutcome = "deleted" | "not-found" | "not-terminal";
1081
+ interface AgentInvocationStorePruneOptions {
1082
+ /** Report the selected record IDs without deleting them. */
1083
+ dryRun?: boolean;
1084
+ /** ISO timestamp. Selects terminal records last updated before this time. */
1085
+ updatedBefore?: string;
1086
+ }
1087
+ interface AgentInvocationPruneResult {
1088
+ /** True when the store reported the selection without deleting it. */
1089
+ dryRun: boolean;
1090
+ /** Deleted record IDs, or the IDs a dry run selected. */
1091
+ ids: readonly string[];
1092
+ /**
1093
+ * Set when the store applies a maxSize limit. Bytes are the live data of the database, without free pages.
1094
+ * `afterBytes` above `budgetBytes` means that only pending or running records remain to delete.
1095
+ */
1096
+ size?: {
1097
+ beforeBytes: number;
1098
+ afterBytes: number;
1099
+ budgetBytes: number;
1100
+ };
1101
+ }
1102
+ interface AgentInvocationObservationOptions {
1103
+ /** Retained observations, including lifecycle outcomes. Default 32768; maximum 32768. */
1104
+ maxCount?: number;
1105
+ /** Maximum content string length in UTF-16 code units. Default 65536; maximum 1048576. */
1106
+ maxStringLength?: number;
1107
+ /** Maximum UTF-8 bytes of the serialized observations array. Default 16 MiB; maximum 64 MiB. Updates fail if configuration truncation evidence cannot fit. */
1108
+ maxBytes?: number;
1109
+ /** Time to drain queued observations before terminal recovery. Default 1000 ms; maximum 60000 ms. */
1110
+ flushTimeoutMs?: number;
1111
+ }
1112
+ interface AgentInvocationsOptions {
1113
+ /** Retain resolved instructions and tool contracts independently of other trace content. Defaults to metadata. */
1114
+ configuration?: TraceEventContentPolicy;
1115
+ content?: TraceEventContentPolicy;
1116
+ /**
1117
+ * How journal storage failures affect a run. Defaults to `"best-effort"`.
1118
+ * `"best-effort"`: a run starts when the store does not confirm its claim, running state, or first cancellation check. It stops only when the store reports another owner or a cancellation request.
1119
+ * `"strict"`: a run does not start until the store confirms these writes and reads.
1120
+ * Channel replay is always strict, because the journal claim is its duplicate protection.
1121
+ */
1122
+ enforcement?: "best-effort" | "strict";
1123
+ metadataContent?: readonly string[];
1124
+ observations?: AgentInvocationObservationOptions;
1125
+ /** Rewrite an observation after the content policy and before the store receives it. Return undefined to drop it. A throwing hook drops the observation. */
1126
+ redact?: (observation: AgentInvocationRecord["observations"][number]) => AgentInvocationRecord["observations"][number] | undefined;
1127
+ /** Rewrite the error stored on a failed invocation. Return undefined to store no error details. A throwing hook stores no error details. */
1128
+ redactError?: (error: NonNullable<AgentInvocationRecord["error"]>) => AgentInvocationRecord["error"];
1129
+ store: AgentInvocationStore;
1130
+ /** Time to wait for one store operation before the journal treats it as unconfirmed. Default 1000 ms; maximum 60000 ms. Raise it for a store in a distant region. */
1131
+ storeTimeoutMs?: number;
1132
+ }
1133
+ //#endregion
1134
+ //#region src/retention.d.ts
1135
+ /** Units of a retention duration string: milliseconds, seconds, minutes, hours, days, and weeks. */
1136
+ type AgentRetentionDurationUnit = "ms" | "s" | "m" | "h" | "d" | "w";
1137
+ /** A duration such as `"14d"`, `"12h"`, `"30m"`, or `"1.5h"`. */
1138
+ type AgentRetentionDuration = `${number}${AgentRetentionDurationUnit}`;
1139
+ /** Units of a retention size string. They are 1024-based and case-insensitive: `1KB` is 1024 bytes. */
1140
+ type AgentRetentionSizeUnit = "B" | "KB" | "MB" | "GB" | "TB" | "b" | "kb" | "mb" | "gb" | "tb";
1141
+ /**
1142
+ * A size such as `"500MB"` or `"3 GB"`, or a percent such as `"45%"`.
1143
+ * A percent is a share of the capacity of the volume that holds the store. It counts only the store's own bytes.
1144
+ */
1145
+ type AgentRetentionSize = `${number}${AgentRetentionSizeUnit}` | `${number} ${AgentRetentionSizeUnit}` | `${number}%`;
1146
+ /**
1147
+ * Retention limits for stored data. All limits that are set apply together: the oldest data that can be removed goes first,
1148
+ * until every limit holds. `false` disables a limit. An omitted limit uses the store's default.
1149
+ * Pending and running Agent Invocations are never removed by retention.
1150
+ */
1151
+ interface AgentRetentionPolicy {
1152
+ /** Maximum age, measured from the last update. A number is milliseconds. A string is a duration such as `"14d"`. */
1153
+ maxAge?: false | number | AgentRetentionDuration;
1154
+ /** Maximum number of records. Stores may apply it periodically, so the count can briefly exceed it. */
1155
+ maxRecords?: false | number;
1156
+ /**
1157
+ * Maximum size. A number is bytes. A string is a size such as `"500MB"`, or a percent of the volume such as `"45%"`.
1158
+ * Stores apply it periodically, so the size can briefly exceed it. Not every store supports it.
1159
+ */
1160
+ maxSize?: false | number | AgentRetentionSize;
1161
+ }
1162
+ //#endregion
1163
+ //#region src/invocations/app.d.ts
1164
+ /** Built-in Invocation journal stores. `database` uses the app's ViteHub Database. `memory` keeps records in the server process. */
1165
+ type AgentInvocationsStoreName = "database" | "memory";
1166
+ type AgentInvocationsJournalOptions = Omit<AgentInvocationsOptions, "store">;
1167
+ /**
1168
+ * Options of the default journal, which ViteHub installs for Agents that set no journal.
1169
+ * It is local SQLite at `.vitehub/data/agent-invocations.sqlite`, or D1 in a Cloudflare production build.
1170
+ */
1171
+ interface AgentInvocationsDefaultJournal {
1172
+ /**
1173
+ * A `file:` or libSQL URL for the journal. A relative `file:` path resolves from the ViteHub project root.
1174
+ * `VITEHUB_AGENT_INVOCATIONS_DATABASE_URL` overrides it at runtime.
1175
+ */
1176
+ databaseUrl?: string;
1177
+ /** Observation count, string length, byte budget, and flush timeout of each record. */
1178
+ observations?: AgentInvocationObservationOptions;
1179
+ /**
1180
+ * Remove old terminal records by `maxAge`, `maxRecords`, or `maxSize`. SQLite and libSQL keep every record by default.
1181
+ * The D1 journal defaults to 30 days and 10,000 records, and does not support `maxSize`.
1182
+ */
1183
+ retention?: AgentRetentionPolicy;
1184
+ database?: never;
1185
+ store?: never;
1186
+ }
1187
+ /**
1188
+ * The app-wide `agent.invocations` value. Omit it, or pass the default journal options, for the default journal.
1189
+ * `false` records no journal. Function options, such as `redact`, belong in a per-Agent setting.
1190
+ */
1191
+ type AgentInvocationsDefault = AgentInvocationsStoreName | false | AgentInvocationsDefaultJournal | Omit<AgentInvocationsJournalOptions, "redact" | "redactError"> & ({
1192
+ store: "database";
1193
+ database?: string;
1194
+ } | {
1195
+ store: "memory";
1196
+ database?: never;
1197
+ });
1198
+ //#endregion
1199
+ //#region src/types.d.ts
1200
+ type AgentRuntimeName = "cloudflare-agents" | "deno" | "unknown" | "vercel" | "vite";
1201
+ type AgentRuntime = "auto" | AgentRuntimeName;
1202
+ type AgentExecution = "inline" | "sandbox" | "workflow";
1203
+ /** Agent State in libSQL. `auto` also selects Cloudflare state on Cloudflare when no `url` is set. */
1204
+ interface AgentSqlStateProviderOptions {
1205
+ /**
1206
+ * The libSQL auth token. Declare where it comes from, so the token stays out of the server bundle:
1207
+ * `env({ secret: true, source: env.source("TURSO_AUTH_TOKEN") })`. `VITEHUB_AGENT_STATE_AUTH_TOKEN` wins when it is set.
1208
+ */
1209
+ authToken?: EnvVariableDeclaration;
1210
+ driver?: "auto" | "libsql" | "sqlite";
1211
+ /** Persistent file databases default to WAL. Select delete for network-backed volumes. */
1212
+ journalMode?: "wal" | "delete";
1213
+ tablePrefix?: string;
1214
+ url?: string;
1215
+ }
1216
+ /** Agent State in a Cloudflare Durable Object. */
1217
+ interface AgentCloudflareStateProviderOptions {
1218
+ driver: "cloudflare";
1219
+ }
1220
+ /** Agent State in process memory. It does not survive a restart. */
1221
+ interface AgentMemoryStateProviderOptions {
1222
+ driver: "memory";
1223
+ }
1224
+ type AgentStateProviderOptions = AgentSqlStateProviderOptions | AgentCloudflareStateProviderOptions | AgentMemoryStateProviderOptions;
1225
+ interface AgentProvidersOptions {
1226
+ state?: AgentStateProviderOptions;
1227
+ }
1228
+ interface AgentEvalOptions {
1229
+ cache?: boolean;
1230
+ forceRerunTriggers?: string[];
1231
+ hideTable?: boolean;
1232
+ maxConcurrency?: number;
1233
+ scoreThreshold?: number;
1234
+ server?: {
1235
+ port?: number;
1236
+ };
1237
+ setupFiles?: string[];
1238
+ testTimeout?: number;
1239
+ trialCount?: number;
1240
+ }
1241
+ type AgentCliOptions = Record<never, never>;
1242
+ type AgentRouteOption = boolean | string;
1243
+ interface AgentWebhookAlias {
1244
+ agent: string;
1245
+ webhook: string;
1246
+ }
1247
+ interface AgentRoutesOptions {
1248
+ /** Additional public paths handled by an existing Agent webhook, without an HTTP proxy. */
1249
+ aliases?: Record<string, AgentWebhookAlias>;
1250
+ discordGateway?: AgentRouteOption;
1251
+ inspection?: AgentRouteOption;
1252
+ }
1253
+ interface AgentPreparationOptions {
1254
+ workspace: string;
1255
+ requireNonEmpty?: boolean;
1256
+ retryDelayMs?: number;
1257
+ /** Readiness probe path. Defaults to /api/_vitehub/ready. */
1258
+ route?: string;
1259
+ }
1260
+ interface AgentShutdownOptions {
1261
+ /**
1262
+ * Default for `VITEHUB_SHUTDOWN_DRAIN_MS`, the shared budget of every ViteHub shutdown drain,
1263
+ * such as inline Chat invocations and active webhook queue deliveries. The variable wins when
1264
+ * it is set. Defaults to 0, which interrupts the work at once.
1265
+ */
1266
+ drainMs?: number;
1267
+ }
1268
+ interface AgentChannelsOptions {
1269
+ /**
1270
+ * In `vite dev`, run the Slack, Discord, Teams, and Telegram Channels on a simulated chat with no provider
1271
+ * credentials. Each Channel's webhook route then accepts AI SDK chat requests and streams the reply.
1272
+ * The plugin sets `VITEHUB_CHANNELS=simulate` in `vite dev` only; the runtime ignores it when `NODE_ENV` is `production`.
1273
+ */
1274
+ simulate?: boolean;
1275
+ }
1276
+ interface AgentOptions$1 {
1277
+ /** Prepare startup Workspace sources on a persistent Nitro host. */
1278
+ preparation?: AgentPreparationOptions;
1279
+ channels?: AgentChannelsOptions;
1280
+ cli?: false | AgentCliOptions;
1281
+ execution?: AgentExecution;
1282
+ eval?: AgentEvalOptions;
1283
+ imports?: boolean;
1284
+ providers?: AgentProvidersOptions;
1285
+ routes?: AgentRoutesOptions;
1286
+ runtime?: AgentRuntime;
1287
+ /**
1288
+ * Drain inline Chat invocations when a persistent server stops. ViteHub shutdown runs the
1289
+ * drain on SIGTERM and SIGINT. Set `false` to interrupt them without a drain.
1290
+ */
1291
+ shutdown?: false | AgentShutdownOptions;
1292
+ }
1293
+ //#endregion
1294
+ //#region ../blob/dist/types-CcPFXhpt.d.ts
1295
+ /**
1296
+ * Built-in transformer names. `auto` picks the Cloudflare Images binding, then sharp, then passthrough. `photon` uses
1297
+ * `@cf-wasm/photon` on every host and is never picked by `auto`.
1298
+ */
1299
+ type BlobImageTransformerName = "auto" | "cloudflare-images" | "passthrough" | "photon" | "sharp";
1300
+ /** `blob.images` options. Variants are on by default with the `auto` transformer. */
1301
+ interface BlobImagesOptions {
1302
+ /** Cloudflare Images binding name. Defaults to `IMAGES`. */
1303
+ binding?: string;
1304
+ /**
1305
+ * Largest source, in pixels, that the `photon` transformer decodes. Defaults to 4,000,000. Each megapixel costs
1306
+ * about 17 MB of WebAssembly memory, and a Worker has 128 MB, so keep it at 6,000,000 or less on Cloudflare.
1307
+ */
1308
+ maxPixels?: number;
1309
+ /** Default quality for lossy formats, from 1 to 100. Defaults to 75. */
1310
+ quality?: number;
1311
+ /** Sizes that variant widths and heights snap to. Defaults to 16 through 3840. */
1312
+ sizes?: number[];
1313
+ /** Defaults to `auto`. */
1314
+ transformer?: BlobImageTransformerName;
1315
+ }
1316
+ //#endregion
1317
+ //#region ../blob/dist/types-CNahKNos.d.ts
1318
+ /**
1319
+ * Cloudflare R2 jurisdiction that keeps bucket data in one region.
1320
+ * @see https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions
1321
+ */
1322
+ type CloudflareR2Jurisdiction = "eu" | "fedramp" | "us";
1323
+ interface HostedBlobStoreConfig {
1324
+ /**
1325
+ * In `vite dev`, use this hosted store instead of the local `fs` store, so writes change real data. Without it,
1326
+ * `vite dev` never picks a hosted store from env or the host preset. An explicit `driver` is always used. Builds ignore it.
1327
+ */
1328
+ remote?: boolean;
1329
+ }
1330
+ interface CloudflareR2BlobStoreConfig extends HostedBlobStoreConfig {
1331
+ accountId?: string;
1332
+ accessKeyId?: string;
1333
+ binding?: string;
1334
+ bucketName?: string;
1335
+ defaultUrlExpiresIn?: number;
1336
+ driver: "cloudflare";
1337
+ /** Jurisdiction of the bucket. Sets the wrangler binding, the provisioning request, and the S3 API host. */
1338
+ jurisdiction?: CloudflareR2Jurisdiction;
1339
+ publicBaseUrl?: string;
1340
+ secretAccessKey?: string;
1341
+ }
1342
+ interface FsBlobStoreConfig {
1343
+ base?: string;
1344
+ driver: "fs";
1345
+ /** A local store cannot be remote: `remote: true` fails with `BLOB_C0018`. */
1346
+ remote?: boolean;
1347
+ /**
1348
+ * Origin of the links that `sign()` returns, such as `https://app.example`. Add the base URL of the app when it has
1349
+ * one, such as `https://app.example/app`. Without it, the links start with `/_vitehub/blob/signed/`.
1350
+ */
1351
+ urlBaseUrl?: string;
1352
+ }
1353
+ interface VercelBlobStoreConfig extends HostedBlobStoreConfig {
1354
+ access?: "private" | "public";
1355
+ allowOverwrite?: boolean;
1356
+ downloadTimeoutMs?: number;
1357
+ driver: "vercel";
1358
+ token?: string;
1359
+ }
1360
+ interface S3BlobStoreConfig extends HostedBlobStoreConfig {
1361
+ bucket: string;
1362
+ credentials?: {
1363
+ accessKeyId: string;
1364
+ secretAccessKey: string;
1365
+ sessionToken?: string;
1366
+ };
1367
+ defaultUrlExpiresIn?: number;
1368
+ driver: "s3";
1369
+ endpoint?: string;
1370
+ forcePathStyle?: boolean;
1371
+ publicBaseUrl?: string;
1372
+ region?: string;
1373
+ }
1374
+ interface GcsBlobStoreConfig extends HostedBlobStoreConfig {
1375
+ bucket: string;
1376
+ credentials?: {
1377
+ client_email: string;
1378
+ private_key: string;
1379
+ };
1380
+ defaultUrlExpiresIn?: number;
1381
+ driver: "gcs";
1382
+ keyFilename?: string;
1383
+ projectId?: string;
1384
+ publicBaseUrl?: string;
1385
+ }
1386
+ interface AzureBlobStoreConfig extends HostedBlobStoreConfig {
1387
+ accountKey?: string;
1388
+ accountName?: string;
1389
+ connectionString?: string;
1390
+ container: string;
1391
+ defaultUrlExpiresIn?: number;
1392
+ driver: "azure";
1393
+ endpoint?: string;
1394
+ publicBaseUrl?: string;
1395
+ sasToken?: string;
1396
+ }
1397
+ interface NetlifyBlobsStoreConfig extends HostedBlobStoreConfig {
1398
+ consistency?: "eventual" | "strong";
1399
+ deployScoped?: boolean;
1400
+ driver: "netlify-blobs";
1401
+ name: string;
1402
+ siteID?: string;
1403
+ token?: string;
1404
+ }
1405
+ type BlobStoreConfig = AzureBlobStoreConfig | CloudflareR2BlobStoreConfig | FsBlobStoreConfig | GcsBlobStoreConfig | MinioBlobStoreConfig | NetlifyBlobsStoreConfig | S3BlobStoreConfig | VercelBlobStoreConfig;
1406
+ interface MinioBlobStoreConfig extends HostedBlobStoreConfig {
1407
+ accessKeyId?: string;
1408
+ bucket?: string;
1409
+ defaultUrlExpiresIn?: number;
1410
+ driver: "minio";
1411
+ endpoint?: string;
1412
+ forcePathStyle?: boolean;
1413
+ publicBaseUrl?: string;
1414
+ region?: string;
1415
+ secretAccessKey?: string;
1416
+ }
1417
+ interface ResolvedCloudflareR2BlobStoreConfig extends CloudflareR2BlobStoreConfig, ResolvedBlobStoreSecrets {
1418
+ binding: string;
1419
+ /** Set only in `vite dev` for a store that the Cloudflare preset picks: without the R2 binding, the store uses this local store. */
1420
+ localFallback?: ResolvedFsBlobStoreConfig;
1421
+ }
1422
+ interface ResolvedFsBlobStoreConfig extends FsBlobStoreConfig {
1423
+ base: string;
1424
+ }
1425
+ interface ResolvedBlobStoreSecrets {
1426
+ /** The env variable that holds each credential option, by option path. The resolved config has the mask in place of the value. */
1427
+ secretEnv?: Record<string, string>;
1428
+ }
1429
+ interface BlobServeRouteOptions {
1430
+ headers?: Record<string, string>;
1431
+ publicBaseUrl?: string;
1432
+ route?: string;
1433
+ /** A key of `blob.stores`. Defaults to `"default"`. */
1434
+ store?: string;
1435
+ }
1436
+ /** Serves every object of the store to anyone who has its URL, without sign-in. */
1437
+ interface BlobPublicServeOptions extends BlobServeRouteOptions {
1438
+ access: "public";
1439
+ anonymous?: never;
1440
+ authorize?: never;
1441
+ }
1442
+ /** Serves an object only when the request passes Auth, and the `authorize` export of `server/blob.ts` when it exists. */
1443
+ interface BlobAuthorizedServeOptions extends BlobServeRouteOptions {
1444
+ /** Requires a signed-in Auth session. Export `authorize` from `server/blob.ts` to also decide each request. */
1445
+ authorize: true;
1446
+ /**
1447
+ * Also runs the `authorize` export for signed-out callers, with `session` and `user` set to `null`.
1448
+ * Requires an `authorize` export (type `BlobServeAnonymousAuthorize`).
1449
+ */
1450
+ anonymous?: boolean;
1451
+ access?: never;
1452
+ }
1453
+ /** The serve route. Choose `access: "public"` or `authorize: true`: ViteHub does not pick public access for you. */
1454
+ type BlobServeOptions = BlobPublicServeOptions | BlobAuthorizedServeOptions;
1455
+ interface BlobModuleBaseOptions {
1456
+ /** Image variants of served objects. Set `false` to always serve originals. */
1457
+ images?: false | BlobImagesOptions;
1458
+ serve?: false | BlobServeOptions;
1459
+ }
1460
+ interface BlobStoresConfig extends BlobModuleBaseOptions {
1461
+ stores: Record<string, BlobStoreConfig>;
1462
+ }
1463
+ type BlobOptions = false | BlobStoresConfig | (BlobModuleBaseOptions & HostedBlobStoreConfig & {
1464
+ driver?: undefined;
1465
+ } & Partial<Pick<ResolvedCloudflareR2BlobStoreConfig, "binding" | "bucketName" | "jurisdiction">>) | (BlobModuleBaseOptions & HostedBlobStoreConfig & {
1466
+ driver?: undefined;
1467
+ } & Partial<Pick<NetlifyBlobsStoreConfig, "name">>) | (BlobModuleBaseOptions & BlobStoreConfig);
1468
+ //#endregion
1469
+ //#region ../browser/dist/types-lA5LsVzt.d.ts
1470
+ //#region src/types.d.ts
1471
+ type BrowserEngine = "chromium" | "kitesurf";
1472
+ //#endregion
1473
+ //#region ../browser/dist/vite.d.ts
1474
+ //#endregion
1475
+ //#region src/vite.d.ts
1476
+ interface BrowserOptions {
1477
+ binding?: string;
1478
+ engine?: BrowserEngine;
1479
+ remote?: boolean;
1480
+ }
1481
+ //#endregion
1482
+ //#region ../channels/dist/vite.d.ts
1483
+ interface ChannelsOptions {
1484
+ projectRoot?: string;
1485
+ }
1486
+ //#endregion
1487
+ //#region ../connections/dist/types-M5OXTk-z.d.ts
1488
+ /**
1489
+ * How long the database keeps Connection activity. Connections write one activity event per
1490
+ * provider request. Each limit is a positive integer.
1491
+ */
1492
+ interface ConnectionActivityRetention {
1493
+ /** Delete events older than this many milliseconds. Defaults to 14 days. */
1494
+ maxAgeMs?: number;
1495
+ /** Keep at most this many events, the newest first. Defaults to 10,000. */
1496
+ maxRecords?: number;
1497
+ }
1498
+ //#endregion
1499
+ //#region ../connections/dist/vite.d.ts
1500
+ interface ConnectionsVitePluginOptions {
1501
+ /** Agent name used to select a function-form `vitehub({ publicUrl })` origin. */
1502
+ agentName?: string;
1503
+ /**
1504
+ * How long the database keeps Connection activity, one event per provider request. Defaults to
1505
+ * 14 days and at most 10,000 events. `false` keeps all activity.
1506
+ */
1507
+ activityRetention?: ConnectionActivityRetention | false;
1508
+ /**
1509
+ * Module whose default export is the access policy of the management API, in development and
1510
+ * production. Export a function that authenticates the `Request` and returns `user:<id>`, or
1511
+ * `undefined` to deny it. Export `"development"` to allow the development server without Auth.
1512
+ * Without this module, development uses `"development"`.
1513
+ */
1514
+ actor?: string;
1515
+ /** Module that exports the ViteHub Databases as `db` and `databases`. Set `false` when the app has no database. */
1516
+ database?: string | false;
1517
+ /** The Database that stores grants, approvals, and activity. Defaults to `default`. */
1518
+ databaseName?: string;
1519
+ /** Package that the generated handler imports from. */
1520
+ importBase?: string;
1521
+ /**
1522
+ * Mount the management API in production. The development server always mounts it.
1523
+ * Production requires an actor module, from `actor` or `management.actor`.
1524
+ */
1525
+ management?: boolean | {
1526
+ actor: string;
1527
+ };
1528
+ /**
1529
+ * Folder that receives `.vitehub/types/connections.d.ts`, relative to the project root. Turning Connections off
1530
+ * removes the declaration from the project root only: another app can share a custom folder, so delete a custom
1531
+ * folder's declaration by hand when no app uses it any more.
1532
+ */
1533
+ projectRoot?: string;
1534
+ }
1535
+ //#endregion
1536
+ //#region ../email/dist/vite.d.ts
1537
+ type EmailDriverName = "cloudflare" | "log" | "resend";
1538
+ /** Development outbox options. The outbox is active only in `vite dev`. */
1539
+ interface EmailOutboxOptions {
1540
+ /**
1541
+ * Number of messages to keep in memory. The oldest message is removed first. The value must be an integer from 1
1542
+ * to 1000.
1543
+ * @default 50
1544
+ */
1545
+ limit?: number;
1546
+ }
1547
+ interface EmailOptions {
1548
+ driver: EmailDriverName;
1549
+ options?: EnvRuntimeConfigOptions;
1550
+ /**
1551
+ * Development outbox. In `vite dev`, `email.send()` records each message. `false` disables the outbox, and then
1552
+ * `remote: true` is required. Build output never contains the outbox.
1553
+ * @default { limit: 50 }
1554
+ */
1555
+ outbox?: false | EmailOutboxOptions;
1556
+ /**
1557
+ * `true` makes `vite dev` send each message through the provider, after the outbox records it. Without it, a dev
1558
+ * send stays in the outbox, returns an `outbox-<n>` id with `driver: "outbox"`, and makes no provider request.
1559
+ * Builds ignore `remote`.
1560
+ * @default false
1561
+ */
1562
+ remote?: boolean;
1563
+ }
1564
+ //#endregion
1565
+ //#region ../kv/dist/types-DEiKew_3.d.ts
1566
+ interface CloudflareKVStoreConfig {
1567
+ driver: "cloudflare";
1568
+ binding?: string;
1569
+ /**
1570
+ * In `vite dev`, use the real namespace: ViteHub writes `remote: true` on the Wrangler binding and does not fall back
1571
+ * to the local `fs-lite` store. Writes change real data. Builds ignore it.
1572
+ */
1573
+ remote?: boolean;
1574
+ /** Cloudflare KV namespace id. When omitted, the build reads the id recorded by `vitehub provision run`. */
1575
+ namespaceId?: string;
1576
+ /** Cloudflare KV namespace title that `vitehub provision run` finds or creates when `namespaceId` is not set. */
1577
+ namespaceName?: string;
1578
+ }
1579
+ interface UpstashKVStoreConfig {
1580
+ driver: "upstash";
1581
+ /** An Upstash store is always remote, in `vite dev` too. */
1582
+ remote?: true;
1583
+ token?: string;
1584
+ url?: string;
1585
+ /**
1586
+ * Prefix of every key in Upstash. Default `vitehub:kv:<store>`, as for a Redis store, so `kv.clear()` and `kv.keys()`
1587
+ * stay inside the store. An empty value uses the default.
1588
+ */
1589
+ base?: string;
1590
+ }
1591
+ interface RedisKVStoreConfig {
1592
+ driver: "redis";
1593
+ /**
1594
+ * The Redis URL, such as `redis://user:password@host:6379`. Default `env:REDIS_URL`: the server reads `REDIS_URL`
1595
+ * when the store starts, not at build time. `env:<NAME>` reads another variable. A literal URL goes into the build
1596
+ * output, so keep passwords in a variable.
1597
+ */
1598
+ url?: string;
1599
+ /**
1600
+ * Prefix of every key in Redis. Default `vitehub:kv:<store>`, which keeps keys that are not ViteHub's apart.
1601
+ * The generated store segment escapes `%`, `:`, `/`, `\`, and `?`; an empty store name uses `%`.
1602
+ * Two ViteHub apps on one Redis database share this default, so give each app its own database or `base`.
1603
+ * An empty value uses the default.
1604
+ */
1605
+ base?: string;
1606
+ /** A Redis store uses the server that `url` points to, in `vite dev` too. */
1607
+ remote?: never;
1608
+ }
1609
+ interface DatabaseKVStoreConfig {
1610
+ driver: "database";
1611
+ /**
1612
+ * The Database that keeps the keys, in the table `vitehub_kv`. Default `"default"`. The store creates the table when
1613
+ * it is missing. Postgres and libSQL work. D1 does not.
1614
+ */
1615
+ database?: string;
1616
+ /** A Database store uses the Database of the app, in `vite dev` too. */
1617
+ remote?: never;
1618
+ }
1619
+ interface DenoKVStoreConfig {
1620
+ driver: "deno-kv";
1621
+ path?: string;
1622
+ /** A Deno KV store is local. */
1623
+ remote?: false;
1624
+ }
1625
+ interface FsLiteKVStoreConfig {
1626
+ driver: "fs-lite";
1627
+ base?: string;
1628
+ /** An `fs-lite` store is local. */
1629
+ remote?: false;
1630
+ }
1631
+ /** A store without `driver`. ViteHub infers the driver from the host and the env. */
1632
+ interface InferredKVStoreConfig {
1633
+ driver?: undefined;
1634
+ /**
1635
+ * In `vite dev`, the inferred store is local unless this is `true`: Upstash env and the Vercel host do not select
1636
+ * Upstash, and the Cloudflare host uses the local `fs-lite` store when the dev runtime has no KV binding. With
1637
+ * `true`, `vite dev` uses the real store, so writes change real data. Builds ignore it.
1638
+ */
1639
+ remote?: boolean;
1640
+ }
1641
+ type KVStoreConfig = CloudflareKVStoreConfig | DatabaseKVStoreConfig | DenoKVStoreConfig | FsLiteKVStoreConfig | RedisKVStoreConfig | UpstashKVStoreConfig;
1642
+ interface KVStoresConfig {
1643
+ stores: Record<string, KVStoreConfig>;
1644
+ }
1645
+ type KVOptions = KVStoreConfig | InferredKVStoreConfig | KVStoresConfig | false;
1646
+ //#endregion
1647
+ //#region ../mcp/dist/index-C1-UBQYi.d.ts
1648
+ /** An icon that clients show for the server. `src` is an `https:` or `data:` URI. */
1649
+ interface McpIcon {
1650
+ src: string;
1651
+ mimeType?: string;
1652
+ /** Sizes such as `"48x48"`, or `"any"` for a scalable image. */
1653
+ sizes?: string[];
1654
+ theme?: "light" | "dark";
1655
+ }
1656
+ //#endregion
1657
+ //#region src/index.d.ts
1658
+ declare global {
1659
+ namespace ViteHub {
1660
+ /** Generated declarations set `hooks` to the type of the default export of `server/mcp.ts`. */
1661
+ interface McpRegistry {}
1662
+ }
1663
+ }
1664
+ /** The `serverInfo` that MCP clients show. An icon `src` or `websiteUrl` that starts with `/` is a path on the request origin. */
1665
+ interface McpServerInfoOptions {
1666
+ /** Defaults to the app name. */
1667
+ name?: string;
1668
+ /** Defaults to `name`. */
1669
+ title?: string;
1670
+ /** Defaults to `"1"`. */
1671
+ version?: string;
1672
+ description?: string;
1673
+ websiteUrl?: string;
1674
+ icons?: McpIcon[];
1675
+ }
1676
+ /** Options of `vitehub({ mcp })`. */
1677
+ interface McpOptions {
1678
+ /** The route of the MCP server. Defaults to `/mcp`. */
1679
+ route?: string;
1680
+ /**
1681
+ * Require an OAuth access token from `mcpOAuth()` of `vite-hub/auth/mcp`. Defaults to `true`, and then the app needs
1682
+ * `auth`. Set `false` to let anyone call every tool, or to check callers in each handler. Set `"optional"` to serve
1683
+ * one route to everyone: anyone may list the tools and call those with `public: true`, and a call to another tool
1684
+ * without a token returns a tool error with an `mcp/www_authenticate` challenge, so ChatGPT asks the person to sign in.
1685
+ */
1686
+ auth?: boolean | "optional";
1687
+ /**
1688
+ * A second route, such as `/mcp`, that serves only the tools with `public: true`, with no sign-in. MCP clients do not
1689
+ * sign in on a route that answers without a token, so the tools that need a person stay on `route`. Needs `auth: true`.
1690
+ */
1691
+ publicRoute?: string;
1692
+ /** What `initialize` tells the Agent about the server, such as which tool to call first. Defaults to a short generic text. */
1693
+ instructions?: string;
1694
+ /** The name, title, version, description, website, and icons that MCP clients show. */
1695
+ serverInfo?: McpServerInfoOptions;
1696
+ }
1697
+ //#endregion
1698
+ //#region ../rate-limit/dist/types-CMyR1JeW.d.ts
1699
+ /**
1700
+ * `kv` counts in the default KV store, shared by every server process when KV uses `redis`, `database`, or `upstash`.
1701
+ * With another KV driver, it counts in process memory and prints a warning at boot.
1702
+ */
1703
+ type RateLimitDriverName = "auto" | "cloudflare" | "kv" | "memory";
1704
+ interface RateLimitOptions {
1705
+ /** The driver of the counters. Defaults to `auto`. */
1706
+ driver?: RateLimitDriverName;
1707
+ namespace?: string;
1708
+ projectRoot?: string;
1709
+ scanDirs?: string[];
1710
+ }
1711
+ //#endregion
1712
+ //#region ../realtime/dist/types-1DVVG5ro.d.ts
1713
+ interface RealtimeOptions {
1714
+ /**
1715
+ * The driver that runs the rooms. `auto` (default) picks Durable Objects on Cloudflare and memory on the dev server. A
1716
+ * Node build picks when the server starts: Redis with `REDIS_URL`, else Postgres on the connection of the Default
1717
+ * Database when it is on Postgres (`REALTIME_POSTGRES_URL` overrides it), else memory. `postgres` and `redis` require
1718
+ * their connection. `memory` keeps rooms in one process.
1719
+ */
1720
+ driver?: "auto" | "cloudflare" | "memory" | "postgres" | "redis";
1721
+ /**
1722
+ * Keeps the rooms of this app apart from other apps on the same Redis or Postgres. Defaults to the `name` of
1723
+ * `vitehub()`, else the `name` in the root `package.json`, else the root folder name. `REALTIME_NAMESPACE` replaces
1724
+ * it when the server starts.
1725
+ */
1726
+ namespace?: string;
1727
+ projectRoot?: string;
1728
+ }
1729
+ //#endregion
1730
+ //#region ../sandbox/dist/module-types-DCeJbS9Z.d.ts
1731
+ //#endregion
1732
+ //#region src/task/size.d.ts
1733
+ /** The size of the machine that runs every Sandbox Task. Both values are minimums. */
1734
+ interface SandboxTaskSizeOptions {
1735
+ /** Minimum vCPUs. ViteHub picks the smallest provider size that gives at least this many. */
1736
+ cpu?: number;
1737
+ /** Minimum memory in MiB. ViteHub picks the smallest provider size that gives at least this much. */
1738
+ memory?: number;
1739
+ }
1740
+ interface CloudflareSandboxTaskOptions {
1741
+ sleepAfter?: string | number;
1742
+ keepAlive?: boolean;
1743
+ normalizeId?: boolean;
1744
+ }
1745
+ interface VercelSandboxTaskDriverOptions extends SandboxTaskSizeOptions {
1746
+ driver: 'vercel';
1747
+ runtime?: string;
1748
+ ports?: number[];
1749
+ source?: VercelSandboxSource;
1750
+ /** `"allow-all"` (default), `"deny-all"`, or `{ allow: hostnames }`. Vercel also takes `subnets`. */
1751
+ networkPolicy?: VercelSandboxNetworkPolicy;
1752
+ token?: string;
1753
+ teamId?: string;
1754
+ projectId?: string;
1755
+ }
1756
+ interface CloudflareSandboxTaskDefinitionDriverOptions extends SandboxTaskSizeOptions {
1757
+ driver: 'cloudflare';
1758
+ /** Maximum number of Containers that run at once. Defaults to 12. */
1759
+ maxInstances?: number;
1760
+ binding?: string;
1761
+ className?: string;
1762
+ migrationTag?: string;
1763
+ name?: string;
1764
+ sandboxId?: string;
1765
+ sleepAfter?: CloudflareSandboxTaskOptions['sleepAfter'];
1766
+ keepAlive?: CloudflareSandboxTaskOptions['keepAlive'];
1767
+ normalizeId?: CloudflareSandboxTaskOptions['normalizeId'];
1768
+ /** `"allow-all"` (default), `"deny-all"`, or `{ allow: hostnames }`. Applies when the Container starts. */
1769
+ networkPolicy?: SandboxNetworkPolicy;
1770
+ }
1771
+ type SandboxTaskDefinitionDriverOptions = VercelSandboxTaskDriverOptions | CloudflareSandboxTaskDefinitionDriverOptions;
1772
+ type AgentSandboxTaskConfig = SandboxTaskDefinitionDriverOptions | ({
1773
+ driver?: undefined;
1774
+ name?: string;
1775
+ } & SandboxTaskSizeOptions);
1776
+ //#endregion
1777
+ //#region ../sandbox/dist/task/vite.d.ts
1778
+ //#endregion
1779
+ //#region src/task/vite.d.ts
1780
+ type SandboxTaskOptions = AgentSandboxTaskConfig | false;
1781
+ //#endregion
1782
+ //#region ../schedule/dist/vite.d.ts
1783
+ interface ScheduleProcessRuntimeOptions {
1784
+ catchUpMs?: number;
1785
+ concurrency?: number;
1786
+ driver: "process";
1787
+ intervalMs?: number;
1788
+ /** Milliseconds that a server holds an occurrence after it stops, before another server may run it. Defaults to `60000`. */
1789
+ leaseTtlMs?: number;
1790
+ prefix?: string;
1791
+ }
1792
+ interface ScheduleOptions {
1793
+ /**
1794
+ * Cron per Schedule name for this build's host, in place of the cron that the Schedule declares. Set it in the
1795
+ * host's build config, such as `{ cleanup: "0 0 * * *" }` for Vercel Hobby, which runs cron jobs at most once a day.
1796
+ */
1797
+ cron?: Readonly<Record<string, string>>;
1798
+ providerOutput?: "auto" | "standalone" | "nitro" | false;
1799
+ projectRoot?: string;
1800
+ runtime?: ScheduleProcessRuntimeOptions;
1801
+ }
1802
+ //#endregion
1803
+ //#region ../workflow/dist/types-CnKVDnEp.d.ts
1804
+ interface WorkflowSharedOptions {
1805
+ binding?: string;
1806
+ name?: string;
1807
+ }
1808
+ interface CloudflareWorkflowDriverOptions extends WorkflowSharedOptions {
1809
+ driver: "cloudflare";
1810
+ }
1811
+ interface VercelWorkflowDriverOptions extends WorkflowSharedOptions {
1812
+ driver: "vercel";
1813
+ }
1814
+ interface OpenWorkflowPostgresOptions {
1815
+ namespaceId?: string;
1816
+ runMigrations?: boolean;
1817
+ schema?: string;
1818
+ url?: WorkflowRuntimeConfigValue;
1819
+ }
1820
+ interface WorkflowRuntimeEnvDeclarationLike {
1821
+ default?: unknown;
1822
+ kind: "env-variable";
1823
+ source?: {
1824
+ kind: "env";
1825
+ name: string;
1826
+ names?: string[];
1827
+ };
1828
+ }
1829
+ type WorkflowRuntimeConfigValue = string | WorkflowRuntimeEnvDeclarationLike;
1830
+ interface OpenWorkflowSqliteOptions {
1831
+ namespaceId?: string;
1832
+ path?: WorkflowRuntimeConfigValue;
1833
+ runMigrations?: boolean;
1834
+ }
1835
+ interface OpenWorkflowWorkerOptions {
1836
+ /** How many runs one worker executes at once. Defaults to 10. Each Agent turn uses two runs. */
1837
+ concurrency?: number;
1838
+ }
1839
+ /**
1840
+ * The OpenWorkflow worker that the Nitro server starts. `false` keeps the server from starting it, for apps that run
1841
+ * a separate worker process with `startOpenWorkflowWorker()`.
1842
+ */
1843
+ type OpenWorkflowWorkerOption = false | OpenWorkflowWorkerOptions;
1844
+ interface OpenWorkflowDriverOptions extends WorkflowSharedOptions {
1845
+ postgres?: OpenWorkflowPostgresOptions;
1846
+ driver: "openworkflow";
1847
+ /**
1848
+ * `vite dev` keeps runs in the local SQLite file, even when `DATABASE_URL` or `OPENWORKFLOW_POSTGRES_URL` is set.
1849
+ * `true` lets it use that storage, so the dev server can run the runs of a shared database. Builds ignore it.
1850
+ */
1851
+ remote?: boolean;
1852
+ sqlite?: OpenWorkflowSqliteOptions;
1853
+ worker?: OpenWorkflowWorkerOption;
1854
+ }
1855
+ interface InferredWorkflowDriverOptions extends WorkflowSharedOptions {
1856
+ postgres?: OpenWorkflowPostgresOptions;
1857
+ driver?: undefined;
1858
+ /** See `OpenWorkflowProviderOptions.remote`. */
1859
+ remote?: boolean;
1860
+ sqlite?: OpenWorkflowSqliteOptions;
1861
+ worker?: OpenWorkflowWorkerOption;
1862
+ }
1863
+ type WorkflowDriverOptions = CloudflareWorkflowDriverOptions | OpenWorkflowDriverOptions | VercelWorkflowDriverOptions;
1864
+ type WorkflowModuleDriverOptions = InferredWorkflowDriverOptions | WorkflowDriverOptions;
1865
+ type WorkflowOptions = false | WorkflowModuleDriverOptions;
1866
+ //#endregion
1867
+ //#region ../i18n/dist/locales-DIWHfY3L.d.ts
1868
+ //#region src/locales.d.ts
1869
+ /** The `i18n` option of `vitehub()` and `vite-hub/nuxt`. */
1870
+ interface I18nOptions {
1871
+ /**
1872
+ * Locales of the app, as BCP 47 tags. The first one is the source locale: the language that you write in the code.
1873
+ * @example ["en", "es", "de"]
1874
+ */
1875
+ locales: readonly string[];
1876
+ /**
1877
+ * Cookie that stores the locale that a user picks with `setLocale()`.
1878
+ * @default "locale"
1879
+ */
1880
+ cookie?: string;
1881
+ /**
1882
+ * Name of a Workspace with retained history that stores the translations. The server reads its `published` ref,
1883
+ * so a published translation is live without a deploy. Without it, translations are records in `locales/<locale>/`.
1884
+ * @example "translations"
1885
+ */
1886
+ workspace?: string;
1887
+ }
1888
+ //#endregion
1889
+ //#region ../queue/dist/types-BD-8U9zS.d.ts
1890
+ interface QueueSharedOptions {
1891
+ cache?: boolean;
1892
+ }
1893
+ interface CloudflareQueueModuleDriverOptions extends QueueSharedOptions {
1894
+ binding?: string;
1895
+ namePrefix?: string;
1896
+ driver: "cloudflare";
1897
+ }
1898
+ interface VercelQueueModuleDriverOptions extends QueueSharedOptions {
1899
+ driver: "vercel";
1900
+ region?: string;
1901
+ }
1902
+ interface LocalQueueModuleDriverOptions extends QueueSharedOptions {
1903
+ /** Directory of the stored jobs, relative to the working directory. Defaults to `.vitehub/data/queue`. */
1904
+ base?: string;
1905
+ driver: "local";
1906
+ }
1907
+ interface PostgresQueueModuleDriverOptions extends QueueSharedOptions {
1908
+ driver: "postgres";
1909
+ }
1910
+ type QueueModuleDriverOptions = CloudflareQueueModuleDriverOptions | LocalQueueModuleDriverOptions | PostgresQueueModuleDriverOptions | VercelQueueModuleDriverOptions;
1911
+ type QueueOptions = false | (QueueSharedOptions & {
1912
+ base?: string;
1913
+ namePrefix?: string;
1914
+ driver?: undefined;
1915
+ }) | QueueModuleDriverOptions;
1916
+ //#endregion
1917
+ //#region src/plugins.d.ts
1918
+ /** Agent options of `vitehub()`. */
1919
+ interface AgentOptions extends AgentOptions$1 {
1920
+ /**
1921
+ * Invocation journal for Agent Definitions from `vite-hub/agent` that do not set `invocations`. The Console reads it.
1922
+ * Omit it, or pass `{ databaseUrl, observations, retention }`, for the default journal: local SQLite at
1923
+ * `.vitehub/data/agent-invocations.sqlite`, or the D1 binding of the default Database in a Cloudflare production build.
1924
+ * `"database"` uses the app's ViteHub Database. `"memory"` keeps records in the server process. `false` records no journal.
1925
+ * Requires Nitro-hosted Agents. Netlify and `runtime: "deno"` require `false` and journals on each Agent Definition.
1926
+ */
1927
+ invocations?: AgentInvocationsDefault;
1928
+ }
1929
+ /** `connections` options of `vitehub()`. */
1930
+ type ConnectionsOptions = Omit<ConnectionsVitePluginOptions, "database" | "databaseName" | "importBase"> & {
1931
+ /** The Database that stores grants, approvals, and activity, such as `"users"`. Defaults to `default`. */
1932
+ database?: string;
1933
+ };
1934
+ /** Options of the Nuxt client plugin of `@vite-hub/device`. */
1935
+ interface ViteHubDeviceOptions {
1936
+ /** The `version` of `openDevice()`. A change deletes the stored copies. Default: none, so a deploy keeps them. */
1937
+ version?: string;
1938
+ /** `false`: the plugin does not name the account from Auth, and the app calls `setDeviceAccount()`. */
1939
+ account?: false;
1940
+ }
1941
+ interface ViteHubNodeOptions {
1942
+ /**
1943
+ * The number of server instances that run this build. The server fails at boot when it is greater than 1 and a
1944
+ * primitive keeps its state in one process or on one host, such as the `fs-lite` KV store or the memory Rate Limit.
1945
+ * `VITEHUB_INSTANCES` overrides it when the server starts. Default: 1.
1946
+ */
1947
+ instances?: number;
1948
+ }
1949
+ interface ViteHubOptions {
1950
+ /** Local storage defaults for a Node host with a persistent filesystem. Relative to the working directory. */
1951
+ dataDir?: string;
1952
+ /**
1953
+ * The host to build for. When omitted, `detectHost()` reads it from `VITEHUB_HOST`, `NITRO_PRESET`,
1954
+ * `SERVER_PRESET`, or the provider variables of Cloudflare Workers Builds, Netlify, Vercel, and Deno Deploy.
1955
+ * Without any of them, ViteHub builds for `"node"`. `vitehub deploy --host` overrides it for its build.
1956
+ */
1957
+ host?: ViteHubHost;
1958
+ /**
1959
+ * The name of the app. Host resources, such as the Cloudflare Worker, use it in lower case with dashes, and the
1960
+ * Console shows it as written. Default: the `name` in `package.json`.
1961
+ */
1962
+ name?: string;
1963
+ /**
1964
+ * Public origin of the deployed application, such as `https://agents.example.com`.
1965
+ * Console links, GitHub activity links, telemetry session links, the Auth base URL, and Connections OAuth callbacks use it.
1966
+ * A function receives each discovered Agent name. Builds only; `vite dev` uses the request origin.
1967
+ * Server code reads it with `resolvePublicUrl()` from `vite-hub/runtime`. A string is also the default `--url` of
1968
+ * `vitehub channels sync` and `channels history`, and on the `cloudflare` host it adds the custom-domain route
1969
+ * unless the app configures Worker routing.
1970
+ */
1971
+ publicUrl?: string | ((agentName: string) => string);
1972
+ /**
1973
+ * Redirect every request to one canonical address. `host` sends other hosts, such as `www.example.com`, to
1974
+ * `example.com`. `https` sends `http:` to `https:`. `trailingSlash` adds or removes the slash at the end of page paths.
1975
+ * One redirect fixes all three: 301 for `GET` and `HEAD`, 308 for other methods. Local names, IP addresses, and
1976
+ * preview hosts such as `*.workers.dev` keep their host and scheme. `vite dev` never redirects. On Cloudflare, static
1977
+ * files run the Worker first so they redirect too. Redirect moved pages with Nitro `routeRules`. Default: off.
1978
+ */
1979
+ redirects?: RedirectsOptions;
1980
+ /**
1981
+ * Trust the `X-Forwarded-Proto` header of a proxy that ends TLS, such as Caddy or nginx. When its first value is
1982
+ * `https` and the server sees `http:`, the request URL becomes `https:` before any middleware or route runs, so URLs
1983
+ * built from the request start with `https://`. It never reads `X-Forwarded-Host`. Turn it on only when a proxy that
1984
+ * you run sets the header. Default: `false`.
1985
+ */
1986
+ trustProxy?: boolean;
1987
+ /**
1988
+ * Refuse browser writes from other origins that carry cookies, with 403, before any middleware or route runs. A
1989
+ * request is refused when its method is not GET, HEAD, or OPTIONS, it has a `Cookie` header, and its
1990
+ * `Sec-Fetch-Site` is `same-site` or `cross-site`, or its `Origin` is not the app's origin. Requests without cookies,
1991
+ * such as bearer-token clients and webhooks, pass. `exclude` lists path prefixes that take writes from other sites.
1992
+ * Default: `false`.
1993
+ */
1994
+ sameOriginWrites?: boolean | SameOriginWritesOptions;
1995
+ /**
1996
+ * Response headers and a request body limit for every route. By default, built output sends
1997
+ * `Strict-Transport-Security: max-age=31536000`, `X-Content-Type-Options: nosniff`, and
1998
+ * `Referrer-Policy: strict-origin-when-cross-origin` on each response that does not set them itself, and on static
1999
+ * files on Cloudflare, Netlify, and Vercel. `{ headers: false }` turns them off. `{ maxBodySize: "1mb" }` answers 413
2000
+ * to a larger request body. It adds no Content Security Policy.
2001
+ */
2002
+ security?: SecurityOptions;
2003
+ agent?: boolean | AgentOptions;
2004
+ auth?: boolean | AuthOptions;
2005
+ blob?: boolean | BlobOptions;
2006
+ browser?: boolean | BrowserOptions;
2007
+ /**
2008
+ * Storage for Nitro's `cache` mount, which `defineCachedFunction()` and `defineCachedEventHandler()` use.
2009
+ * `true` selects the host's store: Workers KV binding `CACHE`, Vercel Runtime Cache, Deno KV, or `.vitehub/data/cache` on Node.
2010
+ * Development uses `.vitehub/data/cache`.
2011
+ * `{ driver: "kv" }` stores the cache in the app's default KV store under the `nitro-cache:` prefix, in development too. It requires `kv`.
2012
+ */
2013
+ cache?: boolean | CacheOptions;
2014
+ channels?: boolean | ChannelsOptions;
2015
+ /** Options for the `node` host. Other hosts ignore them. */
2016
+ node?: ViteHubNodeOptions;
2017
+ /**
2018
+ * App-owned OAuth and API key Connections in `server/connections/`. They store grants in the `default` Database, or
2019
+ * in the Database that `database` names, and enable `database` when it is unset.
2020
+ */
2021
+ connections?: boolean | ConnectionsOptions;
2022
+ /**
2023
+ * The Console endpoint, `POST /_vitehub/rpc`, which the ViteHub Console at console.vitehub.dev and the CLI call with
2024
+ * signed requests. Off by default, but `vite dev` still serves the operation RPC for the CLI. `false` turns that RPC off too.
2025
+ * `true` takes calls signed with a key in `VITEHUB_CONSOLE_KEY_<NAME>`.
2026
+ * `{ auth: false }` takes calls without a signature, for development only.
2027
+ */
2028
+ console?: boolean | ConsoleOptions;
2029
+ /**
2030
+ * Writes a bundle report of each production build to `.vitehub/bundle/`: client and server size, the code that loads
2031
+ * at startup, and why each package is there. Read it with `vitehub bundle`. Off by default.
2032
+ */
2033
+ bundle?: boolean;
2034
+ /** Drizzle Databases in `server/databases/`. Without a Database Definition, an enabled database is one empty default Database. */
2035
+ database?: boolean | DatabaseOptions;
2036
+ /**
2037
+ * Stored reads in Nuxt, when the app installs `@vite-hub/device`. A client plugin opens the device: after hydration on
2038
+ * a page that the server rendered, else before the app mounts. With Auth, it names the account of `useUserSession()`
2039
+ * and waits for the copies to go on `signOut()`. `useStoredData`, `useStoredFetch`, `setDeviceAccount`, `clearDevice`,
2040
+ * and `inspectDevice` are auto-imported. `version` deletes the copies of another version. `account: false` leaves the
2041
+ * account to the app. `false` turns it off. A Vite app calls `openDevice()` itself.
2042
+ */
2043
+ device?: false | ViteHubDeviceOptions;
2044
+ email?: boolean | EmailOptions;
2045
+ /**
2046
+ * Public Env, Server Env, and build-time replacements in `public`, `server`, and `define`, with the options that resolve
2047
+ * them. On by default. `false` turns Env off.
2048
+ */
2049
+ env?: false | EnvOptions;
2050
+ /**
2051
+ * A health route for load balancers and container health checks, at `/api/_vitehub/health` unless `route` moves it.
2052
+ * It answers `{ ok, version, commit, vitehub }` and checks each Database, KV store, and Blob store of the app in `checks`. It
2053
+ * answers 503 when one fails, and never shows error text.
2054
+ */
2055
+ health?: boolean | HealthOptions;
2056
+ /**
2057
+ * What `vitehub deploy` does after it uploads the build: `check` lists paths that must answer with a 2xx status on
2058
+ * the deployed URL, and `indexNow: true` sends the sitemap URLs to IndexNow after a production deploy. With `health`,
2059
+ * the health route is checked too.
2060
+ */
2061
+ deploy?: DeployOptions;
2062
+ kv?: boolean | KVOptions;
2063
+ /**
2064
+ * The app MCP server at `/mcp`, with one tool per file in `server/mcp/tools/`. MCP clients sign in with `mcpOAuth()`
2065
+ * from `vite-hub/auth/mcp`, so it needs `auth`, unless `mcp: { auth: false }` lets anyone call every tool. Needs
2066
+ * `@vite-hub/mcp`.
2067
+ */
2068
+ mcp?: boolean | McpOptions;
2069
+ /**
2070
+ * Request logs through Evlog, the logs that the Console and `vitehub logs` read with `logs`, and, with `service`, Agent
2071
+ * telemetry and papercut reports through `useObservability()`.
2072
+ */
2073
+ observability?: boolean | ObservabilityOptions;
2074
+ /**
2075
+ * Queue Definitions in `server/queues/`. On Node, `true` uses Postgres with a Postgres Default Database, else local
2076
+ * files. An object sets Queue options, such as `cache`, or selects the Node driver with `driver`.
2077
+ */
2078
+ queue?: boolean | QueueOptions;
2079
+ /**
2080
+ * Messages in the source language, translated per request: `{ i18n: { locales: ["en", "es"] } }`. The first locale is
2081
+ * the language of the code. Write ``t`Save` `` in templates, and import `t` from `vite-hub/i18n` in scripts and server
2082
+ * code. Translations are records in `locales/<locale>/`, and `vitehub i18n status` shows what is missing. Needs
2083
+ * Nitro 3: Nuxt 5, or Vite with Nitro 3.
2084
+ */
2085
+ i18n?: I18nOptions;
2086
+ /**
2087
+ * Comments on the app's pages. `true`, or an object with the Database, the SQL dialect, or `overlay: false` (no page
2088
+ * tool), turns it on, with `server/comments.ts` or else the default `defineComments()`, and turns the Database on
2089
+ * when `database` is unset. Default: on when the app has `server/comments.ts`. The Console does not turn it on.
2090
+ * `false` turns it off.
2091
+ */
2092
+ comments?: boolean | Pick<HubCommentsOptions, "database" | "dialect" | "overlay">;
2093
+ rateLimit?: boolean | RateLimitOptions;
2094
+ realtime?: boolean | RealtimeOptions;
2095
+ /**
2096
+ * A systemd unit for the server, written to `.output/<name>.service` by production builds on the `node` host. On by
2097
+ * default. It starts `node .output/server/index.mjs` in the project root, reads `.env` when it exists, and waits for the
2098
+ * Agent drain budget plus 30 seconds on stop. An object sets the name, user, directory, and environment. `false` writes
2099
+ * no unit. Other hosts ignore it.
2100
+ */
2101
+ systemd?: boolean | SystemdOptions;
2102
+ /**
2103
+ * Sandbox Tasks in `server/sandbox-tasks/` and `*.sandbox-task.ts` files. Each run starts an isolated Cloudflare or
2104
+ * Vercel Sandbox. `true` uses the Sandbox of the host. An object sets the driver options, such as
2105
+ * `{ driver: "cloudflare", keepAlive: true, migrationTag: "v2" }` or `{ driver: "vercel", networkPolicy: "deny-all" }`.
2106
+ * `driver: "vercel"` also works on hosts without a Sandbox, such as `node`, with Vercel credentials.
2107
+ */
2108
+ sandboxTask?: boolean | ViteHubSandboxTaskOptions;
2109
+ schedule?: boolean | ScheduleOptions;
2110
+ /**
2111
+ * Search engine files. `seo: { sitemap: true }` serves `/sitemap.xml` with the Nuxt pages without a dynamic part, the
2112
+ * static prerender routes, the published Content pages with a URL, and the entries of `server/sitemap.ts`, and
2113
+ * `/robots.txt` that names it unless the app has its own. URLs start with `publicUrl`, else the request origin.
2114
+ */
2115
+ seo?: SeoOptions;
2116
+ workflow?: boolean | WorkflowOptions;
2117
+ workspace?: boolean | WorkspaceOptions;
2118
+ }
2119
+ /** Queue options accepted by the framework distribution. */
2120
+ type ViteHubQueueOptions = QueueOptions;
2121
+ /** Sandbox Task options accepted by the framework distribution: the options of `hubSandboxTask()`. */
2122
+ type ViteHubSandboxTaskOptions = Exclude<SandboxTaskOptions, false>;
2123
+ //#endregion
2124
+ export { SameOriginWritesOptions as A, detectHost as B, ObservabilityEvlogOptions as C, ConsoleOptions as D, SystemdOptions as E, HealthOptions as F, DatabaseNuxtIntegrationOptions as I, DatabaseOptions as L, SecurityOptions as M, SeoOptions as N, AuthOptions as O, DeployOptions as P, CacheOptions as R, WorkspaceOptions as S, ObservabilityOptions as T, ChannelsOptions as _, ViteHubNodeOptions as a, AgentInvocationsDefault as b, QueueOptions as c, ScheduleOptions as d, SandboxTaskOptions as f, EmailOptions as g, KVOptions as h, ViteHubDeviceOptions as i, SecurityHeaders as j, RedirectsOptions as k, I18nOptions as l, RateLimitOptions as m, ConnectionsOptions as n, ViteHubOptions as o, RealtimeOptions as p, EnvOptions$1 as r, ViteHubQueueOptions as s, AgentOptions as t, WorkflowOptions as u, BrowserOptions as v, ObservabilityLogsOptions as w, AgentInvocationsDefaultJournal as x, BlobOptions as y, ViteHubHost as z };