@engenty/wizards-runtime 0.0.0-stage → 0.7.6

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 (523) hide show
  1. package/LICENSE +110 -0
  2. package/README.md +214 -2
  3. package/apps/runtime/dist/agents/architect.js +444 -0
  4. package/apps/runtime/dist/agents/studio-assistant.js +883 -0
  5. package/apps/runtime/dist/agents/subscription.js +207 -0
  6. package/apps/runtime/dist/agents/thought.js +21 -0
  7. package/apps/runtime/dist/agents/website.js +480 -0
  8. package/apps/runtime/dist/app.js +359 -0
  9. package/apps/runtime/dist/apple/wizards-apple +0 -0
  10. package/apps/runtime/dist/assistant/browser.js +26 -0
  11. package/apps/runtime/dist/assistant/docs.js +158 -0
  12. package/apps/runtime/dist/assistant/knows.js +353 -0
  13. package/apps/runtime/dist/assistant/primer.js +26 -0
  14. package/apps/runtime/dist/assistant/runs.js +24 -0
  15. package/apps/runtime/dist/auth/account.js +175 -0
  16. package/apps/runtime/dist/auth/device.js +112 -0
  17. package/apps/runtime/dist/auth/index.js +358 -0
  18. package/apps/runtime/dist/auth/keys.js +55 -0
  19. package/apps/runtime/dist/auth/local-ticket.js +26 -0
  20. package/apps/runtime/dist/authoring/example.js +74 -0
  21. package/apps/runtime/dist/authoring/guide.js +433 -0
  22. package/apps/runtime/dist/authoring/ops.js +117 -0
  23. package/apps/runtime/dist/browser/fast/action-space.js +160 -0
  24. package/apps/runtime/dist/browser/fast/classifier.js +91 -0
  25. package/apps/runtime/dist/browser/fast/decide.js +171 -0
  26. package/apps/runtime/dist/browser/fast/driver.js +141 -0
  27. package/apps/runtime/dist/browser/fast/instructions.js +33 -0
  28. package/apps/runtime/dist/browser/fast/run.js +249 -0
  29. package/apps/runtime/dist/browser/fast/span-picker.js +153 -0
  30. package/apps/runtime/dist/browser/fast/text-helper.js +178 -0
  31. package/apps/runtime/dist/browser/snapshot.js +335 -0
  32. package/apps/runtime/dist/cli/account.js +385 -0
  33. package/apps/runtime/dist/cli/autostart.js +182 -0
  34. package/apps/runtime/dist/cli/autoupdate.js +221 -0
  35. package/apps/runtime/dist/cli/clients.js +44 -0
  36. package/apps/runtime/dist/cli/connect.js +540 -0
  37. package/apps/runtime/dist/cli/environment.js +95 -0
  38. package/apps/runtime/dist/cli/exec.js +45 -0
  39. package/apps/runtime/dist/cli/features.js +50 -0
  40. package/apps/runtime/dist/cli/home.js +88 -0
  41. package/apps/runtime/dist/cli/install-env.js +33 -0
  42. package/apps/runtime/dist/cli/machine.js +107 -0
  43. package/apps/runtime/dist/cli/main.js +231 -0
  44. package/apps/runtime/dist/cli/mcp.js +136 -0
  45. package/apps/runtime/dist/cli/menu.js +202 -0
  46. package/apps/runtime/dist/cli/processes.js +72 -0
  47. package/apps/runtime/dist/cli/report.js +66 -0
  48. package/apps/runtime/dist/cli/sandbox.js +77 -0
  49. package/apps/runtime/dist/cli/setup.js +335 -0
  50. package/apps/runtime/dist/cli/start.js +276 -0
  51. package/apps/runtime/dist/cli/status.js +212 -0
  52. package/apps/runtime/dist/cli/ui.js +59 -0
  53. package/apps/runtime/dist/cli/uninstall-main.js +20 -0
  54. package/apps/runtime/dist/cli/uninstall.js +231 -0
  55. package/apps/runtime/dist/cli/update.js +86 -0
  56. package/apps/runtime/dist/cli/validate.js +75 -0
  57. package/apps/runtime/dist/cli/versions.js +123 -0
  58. package/apps/runtime/dist/connectors/builtin.js +86 -0
  59. package/apps/runtime/dist/connectors/external.js +409 -0
  60. package/apps/runtime/dist/connectors/gmail.js +107 -0
  61. package/apps/runtime/dist/connectors/imap.js +261 -0
  62. package/apps/runtime/dist/connectors/index.js +325 -0
  63. package/apps/runtime/dist/connectors/mail.js +72 -0
  64. package/apps/runtime/dist/connectors/outlook.js +90 -0
  65. package/apps/runtime/dist/connectors/plugin-connections.js +343 -0
  66. package/apps/runtime/dist/connectors/via-account.js +65 -0
  67. package/apps/runtime/dist/credits/credits.js +100 -0
  68. package/apps/runtime/dist/credits/estimate.js +152 -0
  69. package/apps/runtime/dist/db/adopt.js +149 -0
  70. package/apps/runtime/dist/db/client.js +173 -0
  71. package/apps/runtime/dist/db/control-schema.js +133 -0
  72. package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +47 -0
  73. package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +41 -0
  74. package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +1 -0
  75. package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +3 -0
  76. package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +6 -0
  77. package/apps/runtime/dist/db/migrations/control/0005_chilly_oracle.sql +1 -0
  78. package/apps/runtime/dist/db/migrations/control/0006_sleepy_mojo.sql +1 -0
  79. package/apps/runtime/dist/db/migrations/control/0007_common_the_hand.sql +15 -0
  80. package/apps/runtime/dist/db/migrations/control/0008_runner.sql +8 -0
  81. package/apps/runtime/dist/db/migrations/control/0009_plugin_claim.sql +9 -0
  82. package/apps/runtime/dist/db/migrations/control/0010_tan_snowbird.sql +6 -0
  83. package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +311 -0
  84. package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +599 -0
  85. package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +607 -0
  86. package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +311 -0
  87. package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +350 -0
  88. package/apps/runtime/dist/db/migrations/control/meta/0005_snapshot.json +358 -0
  89. package/apps/runtime/dist/db/migrations/control/meta/0006_snapshot.json +365 -0
  90. package/apps/runtime/dist/db/migrations/control/meta/0007_snapshot.json +460 -0
  91. package/apps/runtime/dist/db/migrations/control/meta/0008_snapshot.json +505 -0
  92. package/apps/runtime/dist/db/migrations/control/meta/0009_snapshot.json +561 -0
  93. package/apps/runtime/dist/db/migrations/control/meta/0010_snapshot.json +600 -0
  94. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +83 -0
  95. package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +188 -0
  96. package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +1 -0
  97. package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +1 -0
  98. package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +52 -0
  99. package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +6 -0
  100. package/apps/runtime/dist/db/migrations/tenant/0005_reflective_forgotten_one.sql +2 -0
  101. package/apps/runtime/dist/db/migrations/tenant/0006_hard_war_machine.sql +30 -0
  102. package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +43 -0
  103. package/apps/runtime/dist/db/migrations/tenant/0008_run_event_note.sql +1 -0
  104. package/apps/runtime/dist/db/migrations/tenant/0009_knowledge.sql +104 -0
  105. package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +15 -0
  106. package/apps/runtime/dist/db/migrations/tenant/0011_runners.sql +2 -0
  107. package/apps/runtime/dist/db/migrations/tenant/0012_assistant_chat.sql +40 -0
  108. package/apps/runtime/dist/db/migrations/tenant/0013_run_origin.sql +1 -0
  109. package/apps/runtime/dist/db/migrations/tenant/0014_run_answer.sql +2 -0
  110. package/apps/runtime/dist/db/migrations/tenant/0015_device_calls.sql +13 -0
  111. package/apps/runtime/dist/db/migrations/tenant/0016_even_trish_tilby.sql +12 -0
  112. package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +1323 -0
  113. package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +1330 -0
  114. package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +1337 -0
  115. package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +1605 -0
  116. package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +1645 -0
  117. package/apps/runtime/dist/db/migrations/tenant/meta/0005_snapshot.json +1659 -0
  118. package/apps/runtime/dist/db/migrations/tenant/meta/0006_snapshot.json +1696 -0
  119. package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +2012 -0
  120. package/apps/runtime/dist/db/migrations/tenant/meta/0008_snapshot.json +2019 -0
  121. package/apps/runtime/dist/db/migrations/tenant/meta/0009_snapshot.json +2837 -0
  122. package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +2942 -0
  123. package/apps/runtime/dist/db/migrations/tenant/meta/0011_snapshot.json +2956 -0
  124. package/apps/runtime/dist/db/migrations/tenant/meta/0012_snapshot.json +3132 -0
  125. package/apps/runtime/dist/db/migrations/tenant/meta/0013_snapshot.json +3139 -0
  126. package/apps/runtime/dist/db/migrations/tenant/meta/0014_snapshot.json +3154 -0
  127. package/apps/runtime/dist/db/migrations/tenant/meta/0015_snapshot.json +3243 -0
  128. package/apps/runtime/dist/db/migrations/tenant/meta/0016_snapshot.json +3326 -0
  129. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +125 -0
  130. package/apps/runtime/dist/db/schema.js +602 -0
  131. package/apps/runtime/dist/debug.js +197 -0
  132. package/apps/runtime/dist/docs/dev/index.md +41 -0
  133. package/apps/runtime/dist/docs/dev/meta.json +7 -0
  134. package/apps/runtime/dist/docs/dev/plugins/connections.md +74 -0
  135. package/apps/runtime/dist/docs/dev/plugins/events.md +89 -0
  136. package/apps/runtime/dist/docs/dev/plugins/examples.md +101 -0
  137. package/apps/runtime/dist/docs/dev/plugins/index.md +78 -0
  138. package/apps/runtime/dist/docs/dev/plugins/layout.md +90 -0
  139. package/apps/runtime/dist/docs/dev/plugins/meta.json +28 -0
  140. package/apps/runtime/dist/docs/dev/plugins/quick-start.md +94 -0
  141. package/apps/runtime/dist/docs/dev/plugins/reference.md +348 -0
  142. package/apps/runtime/dist/docs/dev/plugins/reloading.md +76 -0
  143. package/apps/runtime/dist/docs/dev/plugins/routes.md +185 -0
  144. package/apps/runtime/dist/docs/dev/plugins/runners.md +230 -0
  145. package/apps/runtime/dist/docs/dev/plugins/server.md +281 -0
  146. package/apps/runtime/dist/docs/dev/plugins/shipping.md +79 -0
  147. package/apps/runtime/dist/docs/dev/plugins/space.md +297 -0
  148. package/apps/runtime/dist/docs/dev/plugins/starters.md +70 -0
  149. package/apps/runtime/dist/docs/dev/plugins/studio.md +363 -0
  150. package/apps/runtime/dist/docs/dev/plugins/styling.md +129 -0
  151. package/apps/runtime/dist/docs/dev/plugins/tables.md +104 -0
  152. package/apps/runtime/dist/docs/dev/plugins/tools.md +139 -0
  153. package/apps/runtime/dist/docs/dev/wizard-format.md +125 -0
  154. package/apps/runtime/dist/docs/meta.json +3 -0
  155. package/apps/runtime/dist/docs/user/ai-apps.md +112 -0
  156. package/apps/runtime/dist/docs/user/assistant.md +77 -0
  157. package/apps/runtime/dist/docs/user/build-a-wizard.md +116 -0
  158. package/apps/runtime/dist/docs/user/command-line.md +86 -0
  159. package/apps/runtime/dist/docs/user/connectors.md +90 -0
  160. package/apps/runtime/dist/docs/user/create-account.md +52 -0
  161. package/apps/runtime/dist/docs/user/data.md +66 -0
  162. package/apps/runtime/dist/docs/user/first-start.md +60 -0
  163. package/apps/runtime/dist/docs/user/index.md +49 -0
  164. package/apps/runtime/dist/docs/user/install.md +123 -0
  165. package/apps/runtime/dist/docs/user/local-only.md +42 -0
  166. package/apps/runtime/dist/docs/user/meta.json +32 -0
  167. package/apps/runtime/dist/docs/user/models.md +156 -0
  168. package/apps/runtime/dist/docs/user/plugins.md +71 -0
  169. package/apps/runtime/dist/docs/user/run.md +98 -0
  170. package/apps/runtime/dist/docs/user/server.md +52 -0
  171. package/apps/runtime/dist/docs/user/space.md +126 -0
  172. package/apps/runtime/dist/docs/user/steps.md +220 -0
  173. package/apps/runtime/dist/docs/user/test-and-share.md +224 -0
  174. package/apps/runtime/dist/docs/user/troubleshooting.md +67 -0
  175. package/apps/runtime/dist/docs/user/wordpress.md +121 -0
  176. package/apps/runtime/dist/documents/parse.js +246 -0
  177. package/apps/runtime/dist/engenty/connections-external/build-connector.js +193 -0
  178. package/apps/runtime/dist/engenty/connections-external/errors.js +11 -0
  179. package/apps/runtime/dist/engenty/connections-external/import-service.js +270 -0
  180. package/apps/runtime/dist/engenty/connections-external/importer/classify.js +34 -0
  181. package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +185 -0
  182. package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +63 -0
  183. package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +130 -0
  184. package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +143 -0
  185. package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +143 -0
  186. package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +119 -0
  187. package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +88 -0
  188. package/apps/runtime/dist/engenty/connections-external/registry-client.js +336 -0
  189. package/apps/runtime/dist/engenty/connections-external/registry-source.js +82 -0
  190. package/apps/runtime/dist/engenty/connections-external/types.js +7 -0
  191. package/apps/runtime/dist/engenty/connections-github/connector.js +209 -0
  192. package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +381 -0
  193. package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +94 -0
  194. package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +290 -0
  195. package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +567 -0
  196. package/apps/runtime/dist/engenty/connections-google/definitions.js +11 -0
  197. package/apps/runtime/dist/engenty/connections-google/shared.js +73 -0
  198. package/apps/runtime/dist/engenty/connections-hubspot/connector.js +140 -0
  199. package/apps/runtime/dist/engenty/connections-microsoft/action.js +17 -0
  200. package/apps/runtime/dist/engenty/connections-microsoft/graph.js +114 -0
  201. package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +286 -0
  202. package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +492 -0
  203. package/apps/runtime/dist/engenty/connections-s3/s3.js +328 -0
  204. package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +86 -0
  205. package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +150 -0
  206. package/apps/runtime/dist/engenty/connections-sdk/registry.js +89 -0
  207. package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +84 -0
  208. package/apps/runtime/dist/engenty/connections-sdk/types.js +30 -0
  209. package/apps/runtime/dist/engenty/connections-slack/connector.js +360 -0
  210. package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +178 -0
  211. package/apps/runtime/dist/engenty/csv-import/import-sources.js +87 -0
  212. package/apps/runtime/dist/engenty/csv-import/parse-csv.js +129 -0
  213. package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +20 -0
  214. package/apps/runtime/dist/engenty/csv-import/types.js +1 -0
  215. package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +159 -0
  216. package/apps/runtime/dist/engenty/doc-converter/interface.js +9 -0
  217. package/apps/runtime/dist/engenty/doc-converter/page-break.js +92 -0
  218. package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +72 -0
  219. package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +30 -0
  220. package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +4 -0
  221. package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +73 -0
  222. package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +63 -0
  223. package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +40 -0
  224. package/apps/runtime/dist/engenty/search-index/chunks.js +164 -0
  225. package/apps/runtime/dist/engenty/search-index/contracts.js +9 -0
  226. package/apps/runtime/dist/engenty/shims/connections-sdk.js +39 -0
  227. package/apps/runtime/dist/engenty/shims/plugin-sdk.js +1 -0
  228. package/apps/runtime/dist/engenty/shims/web-ingest.js +19 -0
  229. package/apps/runtime/dist/engenty/web-ingest/ssrf.js +277 -0
  230. package/apps/runtime/dist/engine/asks.js +82 -0
  231. package/apps/runtime/dist/engine/decide.js +82 -0
  232. package/apps/runtime/dist/engine/device.js +194 -0
  233. package/apps/runtime/dist/engine/events.js +128 -0
  234. package/apps/runtime/dist/engine/input.js +208 -0
  235. package/apps/runtime/dist/engine/owner.js +32 -0
  236. package/apps/runtime/dist/engine/prepare.js +90 -0
  237. package/apps/runtime/dist/engine/push.js +58 -0
  238. package/apps/runtime/dist/engine/requirements.js +355 -0
  239. package/apps/runtime/dist/engine/resources.js +198 -0
  240. package/apps/runtime/dist/engine/runner.js +970 -0
  241. package/apps/runtime/dist/engine/steps.js +1000 -0
  242. package/apps/runtime/dist/engine/surface.js +91 -0
  243. package/apps/runtime/dist/engine/template.js +240 -0
  244. package/apps/runtime/dist/engine/types.js +4 -0
  245. package/apps/runtime/dist/env.js +279 -0
  246. package/apps/runtime/dist/features.js +123 -0
  247. package/apps/runtime/dist/files/blobs.js +22 -0
  248. package/apps/runtime/dist/files/objects.js +86 -0
  249. package/apps/runtime/dist/files/storage.js +120 -0
  250. package/apps/runtime/dist/files/web-images.js +101 -0
  251. package/apps/runtime/dist/film/project.js +257 -0
  252. package/apps/runtime/dist/film/skills.js +91 -0
  253. package/apps/runtime/dist/film/sounds.js +122 -0
  254. package/apps/runtime/dist/film/step.js +289 -0
  255. package/apps/runtime/dist/film/tools.js +99 -0
  256. package/apps/runtime/dist/geocode.js +58 -0
  257. package/apps/runtime/dist/harness/antigravity.js +129 -0
  258. package/apps/runtime/dist/harness/apple.js +270 -0
  259. package/apps/runtime/dist/harness/claude.js +147 -0
  260. package/apps/runtime/dist/harness/codex.js +229 -0
  261. package/apps/runtime/dist/harness/cursor.js +93 -0
  262. package/apps/runtime/dist/harness/env.js +124 -0
  263. package/apps/runtime/dist/harness/index.js +95 -0
  264. package/apps/runtime/dist/harness/model.js +279 -0
  265. package/apps/runtime/dist/harness/prompt.js +121 -0
  266. package/apps/runtime/dist/harness/terminal.js +194 -0
  267. package/apps/runtime/dist/harness/types.js +7 -0
  268. package/apps/runtime/dist/index.js +113 -0
  269. package/apps/runtime/dist/limits.js +81 -0
  270. package/apps/runtime/dist/link-preview.js +60 -0
  271. package/apps/runtime/dist/log.js +106 -0
  272. package/apps/runtime/dist/manage.js +249 -0
  273. package/apps/runtime/dist/mcp/auth.js +161 -0
  274. package/apps/runtime/dist/mcp/bridge.js +59 -0
  275. package/apps/runtime/dist/mcp/flow-app.js +97 -0
  276. package/apps/runtime/dist/mcp/handler.js +54 -0
  277. package/apps/runtime/dist/mcp/scopes.js +14 -0
  278. package/apps/runtime/dist/mcp/seen.js +65 -0
  279. package/apps/runtime/dist/mcp/tools.js +572 -0
  280. package/apps/runtime/dist/media/conversation.js +167 -0
  281. package/apps/runtime/dist/media/ffmpeg.js +121 -0
  282. package/apps/runtime/dist/media/generate.js +120 -0
  283. package/apps/runtime/dist/media/marking.js +121 -0
  284. package/apps/runtime/dist/media/transcribe.js +198 -0
  285. package/apps/runtime/dist/model-errors.js +42 -0
  286. package/apps/runtime/dist/models.js +1164 -0
  287. package/apps/runtime/dist/plugin.js +61 -0
  288. package/apps/runtime/dist/plugins/channels.js +78 -0
  289. package/apps/runtime/dist/plugins/claims.js +56 -0
  290. package/apps/runtime/dist/plugins/discovery.js +155 -0
  291. package/apps/runtime/dist/plugins/events.js +63 -0
  292. package/apps/runtime/dist/plugins/jobs.js +64 -0
  293. package/apps/runtime/dist/plugins/loader.js +508 -0
  294. package/apps/runtime/dist/plugins/migrations.js +69 -0
  295. package/apps/runtime/dist/plugins/pro-keys.js +34 -0
  296. package/apps/runtime/dist/plugins/pro-state.js +83 -0
  297. package/apps/runtime/dist/plugins/pro.js +310 -0
  298. package/apps/runtime/dist/plugins/public.js +44 -0
  299. package/apps/runtime/dist/plugins/registry.js +122 -0
  300. package/apps/runtime/dist/plugins/runs.js +210 -0
  301. package/apps/runtime/dist/render/browser-path.js +54 -0
  302. package/apps/runtime/dist/render/chromium.js +98 -0
  303. package/apps/runtime/dist/render/convert.js +158 -0
  304. package/apps/runtime/dist/render/downloads.js +299 -0
  305. package/apps/runtime/dist/render/guard.js +25 -0
  306. package/apps/runtime/dist/render/shaped.js +137 -0
  307. package/apps/runtime/dist/routes/api.js +440 -0
  308. package/apps/runtime/dist/routes/debug.js +42 -0
  309. package/apps/runtime/dist/routes/delivery.js +90 -0
  310. package/apps/runtime/dist/routes/internal.js +81 -0
  311. package/apps/runtime/dist/routes/lang.js +25 -0
  312. package/apps/runtime/dist/routes/marketplace.js +43 -0
  313. package/apps/runtime/dist/routes/plugin-public.js +113 -0
  314. package/apps/runtime/dist/routes/plugins.js +212 -0
  315. package/apps/runtime/dist/routes/runs.js +1422 -0
  316. package/apps/runtime/dist/routes/studio.js +1629 -0
  317. package/apps/runtime/dist/routes/wizard-stream.js +30 -0
  318. package/apps/runtime/dist/running.js +39 -0
  319. package/apps/runtime/dist/sandbox/agentos-package.js +73 -0
  320. package/apps/runtime/dist/sandbox/agentos.js +162 -0
  321. package/apps/runtime/dist/sandbox/docker.js +45 -0
  322. package/apps/runtime/dist/sandbox/index.js +52 -0
  323. package/apps/runtime/dist/sandbox/install.js +122 -0
  324. package/apps/runtime/dist/sandbox/mastra.js +71 -0
  325. package/apps/runtime/dist/sandbox/types.js +1 -0
  326. package/apps/runtime/dist/secrets/crypto.js +28 -0
  327. package/apps/runtime/dist/secrets/signing.js +52 -0
  328. package/apps/runtime/dist/secrets/vault.js +59 -0
  329. package/apps/runtime/dist/services/access.js +88 -0
  330. package/apps/runtime/dist/services/api.js +248 -0
  331. package/apps/runtime/dist/services/architect.js +95 -0
  332. package/apps/runtime/dist/services/assistant-chats.js +311 -0
  333. package/apps/runtime/dist/services/brand.js +85 -0
  334. package/apps/runtime/dist/services/cloud.js +456 -0
  335. package/apps/runtime/dist/services/draft-events.js +27 -0
  336. package/apps/runtime/dist/services/engenty-shapes.js +71 -0
  337. package/apps/runtime/dist/services/errors.js +29 -0
  338. package/apps/runtime/dist/services/files.js +178 -0
  339. package/apps/runtime/dist/services/knowledge-model.js +559 -0
  340. package/apps/runtime/dist/services/knowledge.js +721 -0
  341. package/apps/runtime/dist/services/links.js +16 -0
  342. package/apps/runtime/dist/services/marketplace.js +492 -0
  343. package/apps/runtime/dist/services/onboarding.js +152 -0
  344. package/apps/runtime/dist/services/package-file.js +82 -0
  345. package/apps/runtime/dist/services/package.js +170 -0
  346. package/apps/runtime/dist/services/profile.js +51 -0
  347. package/apps/runtime/dist/services/project-files.js +439 -0
  348. package/apps/runtime/dist/services/project-index.js +707 -0
  349. package/apps/runtime/dist/services/projects.js +387 -0
  350. package/apps/runtime/dist/services/relevance.js +58 -0
  351. package/apps/runtime/dist/services/runners.js +178 -0
  352. package/apps/runtime/dist/services/runs.js +524 -0
  353. package/apps/runtime/dist/services/shares.js +130 -0
  354. package/apps/runtime/dist/services/site.js +270 -0
  355. package/apps/runtime/dist/services/space-categories.js +861 -0
  356. package/apps/runtime/dist/services/space-data.js +792 -0
  357. package/apps/runtime/dist/services/space-origin.js +207 -0
  358. package/apps/runtime/dist/services/spaces.js +657 -0
  359. package/apps/runtime/dist/services/translations.js +306 -0
  360. package/apps/runtime/dist/services/widgets.js +34 -0
  361. package/apps/runtime/dist/services/wizard-icon.js +157 -0
  362. package/apps/runtime/dist/services/wizards.js +420 -0
  363. package/apps/runtime/dist/settings.js +16 -0
  364. package/apps/runtime/dist/store/errors.js +4 -0
  365. package/apps/runtime/dist/store/index.js +299 -0
  366. package/apps/runtime/dist/store/shared-lists.js +123 -0
  367. package/apps/runtime/dist/tenants/control.js +238 -0
  368. package/apps/runtime/dist/tenants/tenant.js +26 -0
  369. package/apps/runtime/dist/texts.js +207 -0
  370. package/apps/runtime/dist/tools/browser.js +703 -0
  371. package/apps/runtime/dist/tools/connector.js +204 -0
  372. package/apps/runtime/dist/tools/index.js +291 -0
  373. package/apps/runtime/dist/tools/mail.js +104 -0
  374. package/apps/runtime/dist/tools/net-guard.js +170 -0
  375. package/apps/runtime/dist/tools/pages.js +81 -0
  376. package/apps/runtime/dist/tools/plugin.js +180 -0
  377. package/apps/runtime/dist/tools/project.js +154 -0
  378. package/apps/runtime/dist/tools/shared.js +69 -0
  379. package/apps/runtime/dist/tools/store.js +238 -0
  380. package/apps/runtime/dist/update.js +113 -0
  381. package/apps/runtime/dist/widgets/bundle.js +99 -0
  382. package/apps/runtime/dist/widgets/render.js +329 -0
  383. package/apps/runtime/dist/widgets/runtime.js +108 -0
  384. package/apps/runtime/dist/widgets/script.js +30 -0
  385. package/apps/runtime/dist/widgets/step.js +223 -0
  386. package/apps/web/dist/ai-labels/ai-black.svg +20 -0
  387. package/apps/web/dist/ai-labels/ai-generated-black.svg +31 -0
  388. package/apps/web/dist/ai-labels/ai-generated-white.svg +32 -0
  389. package/apps/web/dist/ai-labels/ai-modified-black.svg +30 -0
  390. package/apps/web/dist/ai-labels/ai-modified-white.svg +31 -0
  391. package/apps/web/dist/ai-labels/ai-white.svg +21 -0
  392. package/apps/web/dist/assets/AboutDialog-DYgXPagX.js +1 -0
  393. package/apps/web/dist/assets/ChangelogDialog-BXqBW8j3.js +1 -0
  394. package/apps/web/dist/assets/ChatView-CK2--tsE.js +10 -0
  395. package/apps/web/dist/assets/EditorPage-jvcwyXbU.js +3 -0
  396. package/apps/web/dist/assets/FlowPreview-CusP7ci9.js +1 -0
  397. package/apps/web/dist/assets/Harness-BrP-ENHg.css +1 -0
  398. package/apps/web/dist/assets/Harness-CV9uYzbv.js +16 -0
  399. package/apps/web/dist/assets/NewWizardChannels-BakW5q6s.js +1 -0
  400. package/apps/web/dist/assets/NewWizardPage-BoA-LJuW.js +7 -0
  401. package/apps/web/dist/assets/OnboardingPage-DaD1XnOe.js +1 -0
  402. package/apps/web/dist/assets/ProjectPage-BFgk1DEv.js +1 -0
  403. package/apps/web/dist/assets/PublicRunner-C9MwEvxy.js +1 -0
  404. package/apps/web/dist/assets/ReadOnly-DC2Kp7l8.js +1 -0
  405. package/apps/web/dist/assets/RunDrawer-CY6NZSrI.js +4 -0
  406. package/apps/web/dist/assets/RunnerView-BT26XgcY.js +1 -0
  407. package/apps/web/dist/assets/SettingsPage-AFt9IDLt.js +1 -0
  408. package/apps/web/dist/assets/SetupPage-DtFYAbwJ.js +1 -0
  409. package/apps/web/dist/assets/SharePage-t2xwNS61.js +1 -0
  410. package/apps/web/dist/assets/changelog-CATQFxCQ.js +1 -0
  411. package/apps/web/dist/assets/engenty-eXZ-EAwd.js +1 -0
  412. package/apps/web/dist/assets/esm-DXeMu8Lb.js +7 -0
  413. package/apps/web/dist/assets/fluffy-engenty-ClRou7yu.js +456 -0
  414. package/apps/web/dist/assets/index-AfUa8xKD.css +1 -0
  415. package/apps/web/dist/assets/index-Drw7FMTQ.js +14 -0
  416. package/apps/web/dist/assets/jsx-runtime-BNakU3Ej.js +1 -0
  417. package/apps/web/dist/assets/lock-R_CfU0Xo.js +1 -0
  418. package/apps/web/dist/assets/oss-credits-cZ9NUaLZ.js +1 -0
  419. package/apps/web/dist/assets/pdfmake-Cx9scTbD.js +228 -0
  420. package/apps/web/dist/assets/phone-CgrIS4_-.js +1 -0
  421. package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +1 -0
  422. package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +98 -0
  423. package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +1 -0
  424. package/apps/web/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
  425. package/apps/web/dist/assets/settings-menu-2IMOOlLl.js +1 -0
  426. package/apps/web/dist/assets/ui-dzGvc3xk.js +137 -0
  427. package/apps/web/dist/assets/upload-BSuTilFF.js +1 -0
  428. package/apps/web/dist/assets/vfs_fonts-DllDSYt1.js +1 -0
  429. package/apps/web/dist/embed.js +266 -0
  430. package/apps/web/dist/favicon.svg +1 -0
  431. package/apps/web/dist/icons/apple-touch-icon.png +0 -0
  432. package/apps/web/dist/icons/icon-192.png +0 -0
  433. package/apps/web/dist/icons/icon-512.png +0 -0
  434. package/apps/web/dist/icons/icon-maskable-512.png +0 -0
  435. package/apps/web/dist/index.html +48 -0
  436. package/apps/web/dist/install.sh +577 -0
  437. package/apps/web/dist/manifest.webmanifest +21 -0
  438. package/apps/web/dist/mcp/flow.html +980 -0
  439. package/apps/web/dist/sw.js +15 -0
  440. package/bin/wizards.mjs +288 -0
  441. package/modules/README.md +15 -0
  442. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1150 -0
  443. package/node_modules/@engenty/wizards/dist/plugin/index.js +4 -0
  444. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +322 -0
  445. package/node_modules/@engenty/wizards/dist/plugin/studio.js +4 -0
  446. package/node_modules/@engenty/wizards/dist/plugin/thread.d.ts +174 -0
  447. package/node_modules/@engenty/wizards/dist/plugin/thread.js +821 -0
  448. package/node_modules/@engenty/wizards/package.json +11 -0
  449. package/node_modules/@engenty-wizards/shared/dist/assistant.d.ts +174 -0
  450. package/node_modules/@engenty-wizards/shared/dist/assistant.js +65 -0
  451. package/node_modules/@engenty-wizards/shared/dist/changes.d.ts +22 -0
  452. package/node_modules/@engenty-wizards/shared/dist/changes.js +61 -0
  453. package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +77 -0
  454. package/node_modules/@engenty-wizards/shared/dist/connectors.js +2 -0
  455. package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +76 -0
  456. package/node_modules/@engenty-wizards/shared/dist/decision.js +147 -0
  457. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +2922 -0
  458. package/node_modules/@engenty-wizards/shared/dist/definition.js +1920 -0
  459. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +5 -0
  460. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +132 -0
  461. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +11 -0
  462. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +209 -0
  463. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +532 -0
  464. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +217 -0
  465. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +3 -0
  466. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +3 -0
  467. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +14 -0
  468. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +166 -0
  469. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +33 -0
  470. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +99 -0
  471. package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +78 -0
  472. package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +70 -0
  473. package/node_modules/@engenty-wizards/shared/dist/features.d.ts +41 -0
  474. package/node_modules/@engenty-wizards/shared/dist/features.js +89 -0
  475. package/node_modules/@engenty-wizards/shared/dist/fit.d.ts +71 -0
  476. package/node_modules/@engenty-wizards/shared/dist/fit.js +382 -0
  477. package/node_modules/@engenty-wizards/shared/dist/json-schema.d.ts +14 -0
  478. package/node_modules/@engenty-wizards/shared/dist/json-schema.js +66 -0
  479. package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +199 -0
  480. package/node_modules/@engenty-wizards/shared/dist/knowledge.js +68 -0
  481. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +35 -0
  482. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +107 -0
  483. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +20 -0
  484. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +136 -0
  485. package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +227 -0
  486. package/node_modules/@engenty-wizards/shared/dist/marketplace.js +354 -0
  487. package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +7 -0
  488. package/node_modules/@engenty-wizards/shared/dist/merge.js +40 -0
  489. package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +24 -0
  490. package/node_modules/@engenty-wizards/shared/dist/numbers.js +54 -0
  491. package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +224 -0
  492. package/node_modules/@engenty-wizards/shared/dist/projects.js +319 -0
  493. package/node_modules/@engenty-wizards/shared/dist/providers.d.ts +101 -0
  494. package/node_modules/@engenty-wizards/shared/dist/providers.js +390 -0
  495. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +680 -0
  496. package/node_modules/@engenty-wizards/shared/dist/run.js +620 -0
  497. package/node_modules/@engenty-wizards/shared/dist/runner-texts.d.ts +546 -0
  498. package/node_modules/@engenty-wizards/shared/dist/runner-texts.js +523 -0
  499. package/node_modules/@engenty-wizards/shared/dist/runners.d.ts +93 -0
  500. package/node_modules/@engenty-wizards/shared/dist/runners.js +146 -0
  501. package/node_modules/@engenty-wizards/shared/dist/shape.d.ts +102 -0
  502. package/node_modules/@engenty-wizards/shared/dist/shape.js +318 -0
  503. package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +89 -0
  504. package/node_modules/@engenty-wizards/shared/dist/space-data.js +47 -0
  505. package/node_modules/@engenty-wizards/shared/dist/store.d.ts +117 -0
  506. package/node_modules/@engenty-wizards/shared/dist/store.js +81 -0
  507. package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +115 -0
  508. package/node_modules/@engenty-wizards/shared/dist/surface.js +442 -0
  509. package/node_modules/@engenty-wizards/shared/dist/texts.d.ts +45 -0
  510. package/node_modules/@engenty-wizards/shared/dist/texts.js +54 -0
  511. package/node_modules/@engenty-wizards/shared/dist/translation.d.ts +23 -0
  512. package/node_modules/@engenty-wizards/shared/dist/translation.js +154 -0
  513. package/node_modules/@engenty-wizards/shared/dist/wizard-package.d.ts +48 -0
  514. package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +49 -0
  515. package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +16 -0
  516. package/node_modules/@engenty-wizards/shared/dist/workspace.js +51 -0
  517. package/node_modules/@engenty-wizards/shared/package.json +10 -0
  518. package/package.json +77 -4
  519. package/plugin/.claude-plugin/plugin.json +9 -0
  520. package/plugin/.mcp.json +8 -0
  521. package/plugin/commands/wizard.md +8 -0
  522. package/plugin/skills/build-wizard/SKILL.md +27 -0
  523. package/plugin/skills/use-wizard/SKILL.md +18 -0
@@ -0,0 +1,1645 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "13dc6cc9-52a3-4a98-9f38-3f43139d1ca4",
5
+ "prevId": "2842e317-b0f1-4603-906e-8f766611c9fe",
6
+ "tables": {
7
+ "asset": {
8
+ "name": "asset",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "tenant_id": {
18
+ "name": "tenant_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "run_id": {
25
+ "name": "run_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "step_id": {
32
+ "name": "step_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "kind": {
39
+ "name": "kind",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "mime": {
46
+ "name": "mime",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "name": {
53
+ "name": "name",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false
58
+ },
59
+ "path": {
60
+ "name": "path",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": true,
64
+ "autoincrement": false
65
+ },
66
+ "size": {
67
+ "name": "size",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false
72
+ },
73
+ "created_at": {
74
+ "name": "created_at",
75
+ "type": "integer",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "autoincrement": false,
79
+ "default": "(unixepoch() * 1000)"
80
+ }
81
+ },
82
+ "indexes": {
83
+ "asset_run": {
84
+ "name": "asset_run",
85
+ "columns": [
86
+ "run_id"
87
+ ],
88
+ "isUnique": false
89
+ }
90
+ },
91
+ "foreignKeys": {},
92
+ "compositePrimaryKeys": {},
93
+ "uniqueConstraints": {},
94
+ "checkConstraints": {}
95
+ },
96
+ "marketplace_star": {
97
+ "name": "marketplace_star",
98
+ "columns": {
99
+ "tenant_id": {
100
+ "name": "tenant_id",
101
+ "type": "text",
102
+ "primaryKey": false,
103
+ "notNull": true,
104
+ "autoincrement": false
105
+ },
106
+ "entry_id": {
107
+ "name": "entry_id",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": true,
111
+ "autoincrement": false
112
+ },
113
+ "created_at": {
114
+ "name": "created_at",
115
+ "type": "integer",
116
+ "primaryKey": false,
117
+ "notNull": true,
118
+ "autoincrement": false,
119
+ "default": "(unixepoch() * 1000)"
120
+ }
121
+ },
122
+ "indexes": {},
123
+ "foreignKeys": {},
124
+ "compositePrimaryKeys": {
125
+ "marketplace_star_tenant_id_entry_id_pk": {
126
+ "columns": [
127
+ "tenant_id",
128
+ "entry_id"
129
+ ],
130
+ "name": "marketplace_star_tenant_id_entry_id_pk"
131
+ }
132
+ },
133
+ "uniqueConstraints": {},
134
+ "checkConstraints": {}
135
+ },
136
+ "project": {
137
+ "name": "project",
138
+ "columns": {
139
+ "id": {
140
+ "name": "id",
141
+ "type": "text",
142
+ "primaryKey": true,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "tenant_id": {
147
+ "name": "tenant_id",
148
+ "type": "text",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ },
153
+ "name": {
154
+ "name": "name",
155
+ "type": "text",
156
+ "primaryKey": false,
157
+ "notNull": true,
158
+ "autoincrement": false
159
+ },
160
+ "brand": {
161
+ "name": "brand",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true,
165
+ "autoincrement": false,
166
+ "default": "'{}'"
167
+ },
168
+ "facts": {
169
+ "name": "facts",
170
+ "type": "text",
171
+ "primaryKey": false,
172
+ "notNull": true,
173
+ "autoincrement": false,
174
+ "default": "'[]'"
175
+ },
176
+ "mcp_servers": {
177
+ "name": "mcp_servers",
178
+ "type": "text",
179
+ "primaryKey": false,
180
+ "notNull": true,
181
+ "autoincrement": false,
182
+ "default": "'[]'"
183
+ },
184
+ "created_at": {
185
+ "name": "created_at",
186
+ "type": "integer",
187
+ "primaryKey": false,
188
+ "notNull": true,
189
+ "autoincrement": false,
190
+ "default": "(unixepoch() * 1000)"
191
+ },
192
+ "updated_at": {
193
+ "name": "updated_at",
194
+ "type": "integer",
195
+ "primaryKey": false,
196
+ "notNull": true,
197
+ "autoincrement": false,
198
+ "default": "(unixepoch() * 1000)"
199
+ }
200
+ },
201
+ "indexes": {
202
+ "project_tenant": {
203
+ "name": "project_tenant",
204
+ "columns": [
205
+ "tenant_id"
206
+ ],
207
+ "isUnique": false
208
+ }
209
+ },
210
+ "foreignKeys": {},
211
+ "compositePrimaryKeys": {},
212
+ "uniqueConstraints": {},
213
+ "checkConstraints": {}
214
+ },
215
+ "project_chunk": {
216
+ "name": "project_chunk",
217
+ "columns": {
218
+ "id": {
219
+ "name": "id",
220
+ "type": "integer",
221
+ "primaryKey": true,
222
+ "notNull": true,
223
+ "autoincrement": true
224
+ },
225
+ "project_id": {
226
+ "name": "project_id",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": true,
230
+ "autoincrement": false
231
+ },
232
+ "file_id": {
233
+ "name": "file_id",
234
+ "type": "text",
235
+ "primaryKey": false,
236
+ "notNull": true,
237
+ "autoincrement": false
238
+ },
239
+ "idx": {
240
+ "name": "idx",
241
+ "type": "integer",
242
+ "primaryKey": false,
243
+ "notNull": true,
244
+ "autoincrement": false
245
+ },
246
+ "text": {
247
+ "name": "text",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": true,
251
+ "autoincrement": false
252
+ },
253
+ "embedding": {
254
+ "name": "embedding",
255
+ "type": "blob",
256
+ "primaryKey": false,
257
+ "notNull": false,
258
+ "autoincrement": false
259
+ },
260
+ "model": {
261
+ "name": "model",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": false,
265
+ "autoincrement": false
266
+ }
267
+ },
268
+ "indexes": {
269
+ "project_chunk_project": {
270
+ "name": "project_chunk_project",
271
+ "columns": [
272
+ "project_id",
273
+ "model"
274
+ ],
275
+ "isUnique": false
276
+ },
277
+ "project_chunk_file": {
278
+ "name": "project_chunk_file",
279
+ "columns": [
280
+ "file_id"
281
+ ],
282
+ "isUnique": false
283
+ }
284
+ },
285
+ "foreignKeys": {
286
+ "project_chunk_project_id_project_id_fk": {
287
+ "name": "project_chunk_project_id_project_id_fk",
288
+ "tableFrom": "project_chunk",
289
+ "tableTo": "project",
290
+ "columnsFrom": [
291
+ "project_id"
292
+ ],
293
+ "columnsTo": [
294
+ "id"
295
+ ],
296
+ "onDelete": "cascade",
297
+ "onUpdate": "no action"
298
+ },
299
+ "project_chunk_file_id_project_file_id_fk": {
300
+ "name": "project_chunk_file_id_project_file_id_fk",
301
+ "tableFrom": "project_chunk",
302
+ "tableTo": "project_file",
303
+ "columnsFrom": [
304
+ "file_id"
305
+ ],
306
+ "columnsTo": [
307
+ "id"
308
+ ],
309
+ "onDelete": "cascade",
310
+ "onUpdate": "no action"
311
+ }
312
+ },
313
+ "compositePrimaryKeys": {},
314
+ "uniqueConstraints": {},
315
+ "checkConstraints": {}
316
+ },
317
+ "project_connector": {
318
+ "name": "project_connector",
319
+ "columns": {
320
+ "project_id": {
321
+ "name": "project_id",
322
+ "type": "text",
323
+ "primaryKey": false,
324
+ "notNull": true,
325
+ "autoincrement": false
326
+ },
327
+ "id": {
328
+ "name": "id",
329
+ "type": "text",
330
+ "primaryKey": false,
331
+ "notNull": true,
332
+ "autoincrement": false
333
+ },
334
+ "record": {
335
+ "name": "record",
336
+ "type": "text",
337
+ "primaryKey": false,
338
+ "notNull": true,
339
+ "autoincrement": false
340
+ },
341
+ "created_at": {
342
+ "name": "created_at",
343
+ "type": "integer",
344
+ "primaryKey": false,
345
+ "notNull": true,
346
+ "autoincrement": false,
347
+ "default": "(unixepoch() * 1000)"
348
+ },
349
+ "updated_at": {
350
+ "name": "updated_at",
351
+ "type": "integer",
352
+ "primaryKey": false,
353
+ "notNull": true,
354
+ "autoincrement": false,
355
+ "default": "(unixepoch() * 1000)"
356
+ }
357
+ },
358
+ "indexes": {},
359
+ "foreignKeys": {
360
+ "project_connector_project_id_project_id_fk": {
361
+ "name": "project_connector_project_id_project_id_fk",
362
+ "tableFrom": "project_connector",
363
+ "tableTo": "project",
364
+ "columnsFrom": [
365
+ "project_id"
366
+ ],
367
+ "columnsTo": [
368
+ "id"
369
+ ],
370
+ "onDelete": "cascade",
371
+ "onUpdate": "no action"
372
+ }
373
+ },
374
+ "compositePrimaryKeys": {
375
+ "project_connector_project_id_id_pk": {
376
+ "columns": [
377
+ "project_id",
378
+ "id"
379
+ ],
380
+ "name": "project_connector_project_id_id_pk"
381
+ }
382
+ },
383
+ "uniqueConstraints": {},
384
+ "checkConstraints": {}
385
+ },
386
+ "project_file": {
387
+ "name": "project_file",
388
+ "columns": {
389
+ "id": {
390
+ "name": "id",
391
+ "type": "text",
392
+ "primaryKey": true,
393
+ "notNull": true,
394
+ "autoincrement": false
395
+ },
396
+ "project_id": {
397
+ "name": "project_id",
398
+ "type": "text",
399
+ "primaryKey": false,
400
+ "notNull": true,
401
+ "autoincrement": false
402
+ },
403
+ "kind": {
404
+ "name": "kind",
405
+ "type": "text",
406
+ "primaryKey": false,
407
+ "notNull": true,
408
+ "autoincrement": false
409
+ },
410
+ "name": {
411
+ "name": "name",
412
+ "type": "text",
413
+ "primaryKey": false,
414
+ "notNull": true,
415
+ "autoincrement": false
416
+ },
417
+ "mime": {
418
+ "name": "mime",
419
+ "type": "text",
420
+ "primaryKey": false,
421
+ "notNull": true,
422
+ "autoincrement": false
423
+ },
424
+ "size": {
425
+ "name": "size",
426
+ "type": "integer",
427
+ "primaryKey": false,
428
+ "notNull": true,
429
+ "autoincrement": false
430
+ },
431
+ "description": {
432
+ "name": "description",
433
+ "type": "text",
434
+ "primaryKey": false,
435
+ "notNull": true,
436
+ "autoincrement": false,
437
+ "default": "''"
438
+ },
439
+ "source": {
440
+ "name": "source",
441
+ "type": "text",
442
+ "primaryKey": false,
443
+ "notNull": false,
444
+ "autoincrement": false
445
+ },
446
+ "position": {
447
+ "name": "position",
448
+ "type": "integer",
449
+ "primaryKey": false,
450
+ "notNull": true,
451
+ "autoincrement": false,
452
+ "default": 0
453
+ },
454
+ "status": {
455
+ "name": "status",
456
+ "type": "text",
457
+ "primaryKey": false,
458
+ "notNull": true,
459
+ "autoincrement": false,
460
+ "default": "'ready'"
461
+ },
462
+ "error": {
463
+ "name": "error",
464
+ "type": "text",
465
+ "primaryKey": false,
466
+ "notNull": false,
467
+ "autoincrement": false
468
+ },
469
+ "text_hash": {
470
+ "name": "text_hash",
471
+ "type": "text",
472
+ "primaryKey": false,
473
+ "notNull": false,
474
+ "autoincrement": false
475
+ },
476
+ "pages": {
477
+ "name": "pages",
478
+ "type": "integer",
479
+ "primaryKey": false,
480
+ "notNull": false,
481
+ "autoincrement": false
482
+ },
483
+ "chars": {
484
+ "name": "chars",
485
+ "type": "integer",
486
+ "primaryKey": false,
487
+ "notNull": false,
488
+ "autoincrement": false
489
+ },
490
+ "indexed": {
491
+ "name": "indexed",
492
+ "type": "text",
493
+ "primaryKey": false,
494
+ "notNull": false,
495
+ "autoincrement": false
496
+ },
497
+ "created_at": {
498
+ "name": "created_at",
499
+ "type": "integer",
500
+ "primaryKey": false,
501
+ "notNull": true,
502
+ "autoincrement": false,
503
+ "default": "(unixepoch() * 1000)"
504
+ },
505
+ "updated_at": {
506
+ "name": "updated_at",
507
+ "type": "integer",
508
+ "primaryKey": false,
509
+ "notNull": true,
510
+ "autoincrement": false,
511
+ "default": "(unixepoch() * 1000)"
512
+ }
513
+ },
514
+ "indexes": {
515
+ "project_file_project": {
516
+ "name": "project_file_project",
517
+ "columns": [
518
+ "project_id",
519
+ "kind",
520
+ "position"
521
+ ],
522
+ "isUnique": false
523
+ }
524
+ },
525
+ "foreignKeys": {
526
+ "project_file_project_id_project_id_fk": {
527
+ "name": "project_file_project_id_project_id_fk",
528
+ "tableFrom": "project_file",
529
+ "tableTo": "project",
530
+ "columnsFrom": [
531
+ "project_id"
532
+ ],
533
+ "columnsTo": [
534
+ "id"
535
+ ],
536
+ "onDelete": "cascade",
537
+ "onUpdate": "no action"
538
+ }
539
+ },
540
+ "compositePrimaryKeys": {},
541
+ "uniqueConstraints": {},
542
+ "checkConstraints": {}
543
+ },
544
+ "run": {
545
+ "name": "run",
546
+ "columns": {
547
+ "id": {
548
+ "name": "id",
549
+ "type": "text",
550
+ "primaryKey": true,
551
+ "notNull": true,
552
+ "autoincrement": false
553
+ },
554
+ "wizard_id": {
555
+ "name": "wizard_id",
556
+ "type": "text",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false
560
+ },
561
+ "tenant_id": {
562
+ "name": "tenant_id",
563
+ "type": "text",
564
+ "primaryKey": false,
565
+ "notNull": true,
566
+ "autoincrement": false
567
+ },
568
+ "definition": {
569
+ "name": "definition",
570
+ "type": "text",
571
+ "primaryKey": false,
572
+ "notNull": true,
573
+ "autoincrement": false
574
+ },
575
+ "files": {
576
+ "name": "files",
577
+ "type": "text",
578
+ "primaryKey": false,
579
+ "notNull": true,
580
+ "autoincrement": false,
581
+ "default": "'[]'"
582
+ },
583
+ "version": {
584
+ "name": "version",
585
+ "type": "integer",
586
+ "primaryKey": false,
587
+ "notNull": false,
588
+ "autoincrement": false
589
+ },
590
+ "mode": {
591
+ "name": "mode",
592
+ "type": "text",
593
+ "primaryKey": false,
594
+ "notNull": true,
595
+ "autoincrement": false
596
+ },
597
+ "visitor_id": {
598
+ "name": "visitor_id",
599
+ "type": "text",
600
+ "primaryKey": false,
601
+ "notNull": false,
602
+ "autoincrement": false
603
+ },
604
+ "user_id": {
605
+ "name": "user_id",
606
+ "type": "text",
607
+ "primaryKey": false,
608
+ "notNull": false,
609
+ "autoincrement": false
610
+ },
611
+ "ip_hash": {
612
+ "name": "ip_hash",
613
+ "type": "text",
614
+ "primaryKey": false,
615
+ "notNull": false,
616
+ "autoincrement": false
617
+ },
618
+ "status": {
619
+ "name": "status",
620
+ "type": "text",
621
+ "primaryKey": false,
622
+ "notNull": true,
623
+ "autoincrement": false
624
+ },
625
+ "cursor": {
626
+ "name": "cursor",
627
+ "type": "text",
628
+ "primaryKey": false,
629
+ "notNull": false,
630
+ "autoincrement": false
631
+ },
632
+ "state": {
633
+ "name": "state",
634
+ "type": "text",
635
+ "primaryKey": false,
636
+ "notNull": true,
637
+ "autoincrement": false
638
+ },
639
+ "error": {
640
+ "name": "error",
641
+ "type": "text",
642
+ "primaryKey": false,
643
+ "notNull": false,
644
+ "autoincrement": false
645
+ },
646
+ "ask": {
647
+ "name": "ask",
648
+ "type": "text",
649
+ "primaryKey": false,
650
+ "notNull": false,
651
+ "autoincrement": false
652
+ },
653
+ "cost_micros": {
654
+ "name": "cost_micros",
655
+ "type": "integer",
656
+ "primaryKey": false,
657
+ "notNull": true,
658
+ "autoincrement": false,
659
+ "default": 0
660
+ },
661
+ "share_token": {
662
+ "name": "share_token",
663
+ "type": "text",
664
+ "primaryKey": false,
665
+ "notNull": false,
666
+ "autoincrement": false
667
+ },
668
+ "shared_at": {
669
+ "name": "shared_at",
670
+ "type": "integer",
671
+ "primaryKey": false,
672
+ "notNull": false,
673
+ "autoincrement": false
674
+ },
675
+ "expires_at": {
676
+ "name": "expires_at",
677
+ "type": "integer",
678
+ "primaryKey": false,
679
+ "notNull": false,
680
+ "autoincrement": false
681
+ },
682
+ "created_at": {
683
+ "name": "created_at",
684
+ "type": "integer",
685
+ "primaryKey": false,
686
+ "notNull": true,
687
+ "autoincrement": false,
688
+ "default": "(unixepoch() * 1000)"
689
+ },
690
+ "updated_at": {
691
+ "name": "updated_at",
692
+ "type": "integer",
693
+ "primaryKey": false,
694
+ "notNull": true,
695
+ "autoincrement": false,
696
+ "default": "(unixepoch() * 1000)"
697
+ }
698
+ },
699
+ "indexes": {
700
+ "run_share_token": {
701
+ "name": "run_share_token",
702
+ "columns": [
703
+ "share_token"
704
+ ],
705
+ "isUnique": true
706
+ },
707
+ "run_expires": {
708
+ "name": "run_expires",
709
+ "columns": [
710
+ "expires_at"
711
+ ],
712
+ "isUnique": false
713
+ },
714
+ "run_wizard": {
715
+ "name": "run_wizard",
716
+ "columns": [
717
+ "wizard_id",
718
+ "created_at"
719
+ ],
720
+ "isUnique": false
721
+ },
722
+ "run_visitor": {
723
+ "name": "run_visitor",
724
+ "columns": [
725
+ "visitor_id",
726
+ "created_at"
727
+ ],
728
+ "isUnique": false
729
+ },
730
+ "run_status": {
731
+ "name": "run_status",
732
+ "columns": [
733
+ "status"
734
+ ],
735
+ "isUnique": false
736
+ }
737
+ },
738
+ "foreignKeys": {
739
+ "run_wizard_id_wizard_id_fk": {
740
+ "name": "run_wizard_id_wizard_id_fk",
741
+ "tableFrom": "run",
742
+ "tableTo": "wizard",
743
+ "columnsFrom": [
744
+ "wizard_id"
745
+ ],
746
+ "columnsTo": [
747
+ "id"
748
+ ],
749
+ "onDelete": "cascade",
750
+ "onUpdate": "no action"
751
+ }
752
+ },
753
+ "compositePrimaryKeys": {},
754
+ "uniqueConstraints": {},
755
+ "checkConstraints": {}
756
+ },
757
+ "run_cost": {
758
+ "name": "run_cost",
759
+ "columns": {
760
+ "run_id": {
761
+ "name": "run_id",
762
+ "type": "text",
763
+ "primaryKey": false,
764
+ "notNull": true,
765
+ "autoincrement": false
766
+ },
767
+ "step_id": {
768
+ "name": "step_id",
769
+ "type": "text",
770
+ "primaryKey": false,
771
+ "notNull": true,
772
+ "autoincrement": false
773
+ },
774
+ "micros": {
775
+ "name": "micros",
776
+ "type": "integer",
777
+ "primaryKey": false,
778
+ "notNull": true,
779
+ "autoincrement": false,
780
+ "default": 0
781
+ }
782
+ },
783
+ "indexes": {},
784
+ "foreignKeys": {
785
+ "run_cost_run_id_run_id_fk": {
786
+ "name": "run_cost_run_id_run_id_fk",
787
+ "tableFrom": "run_cost",
788
+ "tableTo": "run",
789
+ "columnsFrom": [
790
+ "run_id"
791
+ ],
792
+ "columnsTo": [
793
+ "id"
794
+ ],
795
+ "onDelete": "cascade",
796
+ "onUpdate": "no action"
797
+ }
798
+ },
799
+ "compositePrimaryKeys": {
800
+ "run_cost_run_id_step_id_pk": {
801
+ "columns": [
802
+ "run_id",
803
+ "step_id"
804
+ ],
805
+ "name": "run_cost_run_id_step_id_pk"
806
+ }
807
+ },
808
+ "uniqueConstraints": {},
809
+ "checkConstraints": {}
810
+ },
811
+ "run_event": {
812
+ "name": "run_event",
813
+ "columns": {
814
+ "id": {
815
+ "name": "id",
816
+ "type": "integer",
817
+ "primaryKey": true,
818
+ "notNull": true,
819
+ "autoincrement": true
820
+ },
821
+ "run_id": {
822
+ "name": "run_id",
823
+ "type": "text",
824
+ "primaryKey": false,
825
+ "notNull": true,
826
+ "autoincrement": false
827
+ },
828
+ "step_id": {
829
+ "name": "step_id",
830
+ "type": "text",
831
+ "primaryKey": false,
832
+ "notNull": false,
833
+ "autoincrement": false
834
+ },
835
+ "type": {
836
+ "name": "type",
837
+ "type": "text",
838
+ "primaryKey": false,
839
+ "notNull": true,
840
+ "autoincrement": false
841
+ },
842
+ "message": {
843
+ "name": "message",
844
+ "type": "text",
845
+ "primaryKey": false,
846
+ "notNull": true,
847
+ "autoincrement": false
848
+ },
849
+ "asset_id": {
850
+ "name": "asset_id",
851
+ "type": "text",
852
+ "primaryKey": false,
853
+ "notNull": false,
854
+ "autoincrement": false
855
+ },
856
+ "created_at": {
857
+ "name": "created_at",
858
+ "type": "integer",
859
+ "primaryKey": false,
860
+ "notNull": true,
861
+ "autoincrement": false,
862
+ "default": "(unixepoch() * 1000)"
863
+ }
864
+ },
865
+ "indexes": {
866
+ "run_event_run": {
867
+ "name": "run_event_run",
868
+ "columns": [
869
+ "run_id",
870
+ "id"
871
+ ],
872
+ "isUnique": false
873
+ }
874
+ },
875
+ "foreignKeys": {
876
+ "run_event_run_id_run_id_fk": {
877
+ "name": "run_event_run_id_run_id_fk",
878
+ "tableFrom": "run_event",
879
+ "tableTo": "run",
880
+ "columnsFrom": [
881
+ "run_id"
882
+ ],
883
+ "columnsTo": [
884
+ "id"
885
+ ],
886
+ "onDelete": "cascade",
887
+ "onUpdate": "no action"
888
+ }
889
+ },
890
+ "compositePrimaryKeys": {},
891
+ "uniqueConstraints": {},
892
+ "checkConstraints": {}
893
+ },
894
+ "store_file": {
895
+ "name": "store_file",
896
+ "columns": {
897
+ "wizard_id": {
898
+ "name": "wizard_id",
899
+ "type": "text",
900
+ "primaryKey": false,
901
+ "notNull": true,
902
+ "autoincrement": false
903
+ },
904
+ "holder": {
905
+ "name": "holder",
906
+ "type": "text",
907
+ "primaryKey": false,
908
+ "notNull": true,
909
+ "autoincrement": false
910
+ },
911
+ "path": {
912
+ "name": "path",
913
+ "type": "text",
914
+ "primaryKey": false,
915
+ "notNull": true,
916
+ "autoincrement": false
917
+ },
918
+ "hash": {
919
+ "name": "hash",
920
+ "type": "text",
921
+ "primaryKey": false,
922
+ "notNull": true,
923
+ "autoincrement": false
924
+ },
925
+ "mime": {
926
+ "name": "mime",
927
+ "type": "text",
928
+ "primaryKey": false,
929
+ "notNull": true,
930
+ "autoincrement": false
931
+ },
932
+ "size": {
933
+ "name": "size",
934
+ "type": "integer",
935
+ "primaryKey": false,
936
+ "notNull": true,
937
+ "autoincrement": false
938
+ },
939
+ "source": {
940
+ "name": "source",
941
+ "type": "text",
942
+ "primaryKey": false,
943
+ "notNull": false,
944
+ "autoincrement": false
945
+ },
946
+ "updated_at": {
947
+ "name": "updated_at",
948
+ "type": "integer",
949
+ "primaryKey": false,
950
+ "notNull": true,
951
+ "autoincrement": false,
952
+ "default": "(unixepoch() * 1000)"
953
+ }
954
+ },
955
+ "indexes": {},
956
+ "foreignKeys": {
957
+ "store_file_wizard_id_wizard_id_fk": {
958
+ "name": "store_file_wizard_id_wizard_id_fk",
959
+ "tableFrom": "store_file",
960
+ "tableTo": "wizard",
961
+ "columnsFrom": [
962
+ "wizard_id"
963
+ ],
964
+ "columnsTo": [
965
+ "id"
966
+ ],
967
+ "onDelete": "cascade",
968
+ "onUpdate": "no action"
969
+ }
970
+ },
971
+ "compositePrimaryKeys": {
972
+ "store_file_wizard_id_holder_path_pk": {
973
+ "columns": [
974
+ "wizard_id",
975
+ "holder",
976
+ "path"
977
+ ],
978
+ "name": "store_file_wizard_id_holder_path_pk"
979
+ }
980
+ },
981
+ "uniqueConstraints": {},
982
+ "checkConstraints": {}
983
+ },
984
+ "store_holder": {
985
+ "name": "store_holder",
986
+ "columns": {
987
+ "wizard_id": {
988
+ "name": "wizard_id",
989
+ "type": "text",
990
+ "primaryKey": false,
991
+ "notNull": true,
992
+ "autoincrement": false
993
+ },
994
+ "holder": {
995
+ "name": "holder",
996
+ "type": "text",
997
+ "primaryKey": false,
998
+ "notNull": true,
999
+ "autoincrement": false
1000
+ },
1001
+ "used_at": {
1002
+ "name": "used_at",
1003
+ "type": "integer",
1004
+ "primaryKey": false,
1005
+ "notNull": true,
1006
+ "autoincrement": false,
1007
+ "default": "(unixepoch() * 1000)"
1008
+ }
1009
+ },
1010
+ "indexes": {
1011
+ "store_holder_used": {
1012
+ "name": "store_holder_used",
1013
+ "columns": [
1014
+ "used_at"
1015
+ ],
1016
+ "isUnique": false
1017
+ }
1018
+ },
1019
+ "foreignKeys": {
1020
+ "store_holder_wizard_id_wizard_id_fk": {
1021
+ "name": "store_holder_wizard_id_wizard_id_fk",
1022
+ "tableFrom": "store_holder",
1023
+ "tableTo": "wizard",
1024
+ "columnsFrom": [
1025
+ "wizard_id"
1026
+ ],
1027
+ "columnsTo": [
1028
+ "id"
1029
+ ],
1030
+ "onDelete": "cascade",
1031
+ "onUpdate": "no action"
1032
+ }
1033
+ },
1034
+ "compositePrimaryKeys": {
1035
+ "store_holder_wizard_id_holder_pk": {
1036
+ "columns": [
1037
+ "wizard_id",
1038
+ "holder"
1039
+ ],
1040
+ "name": "store_holder_wizard_id_holder_pk"
1041
+ }
1042
+ },
1043
+ "uniqueConstraints": {},
1044
+ "checkConstraints": {}
1045
+ },
1046
+ "store_row": {
1047
+ "name": "store_row",
1048
+ "columns": {
1049
+ "id": {
1050
+ "name": "id",
1051
+ "type": "text",
1052
+ "primaryKey": true,
1053
+ "notNull": true,
1054
+ "autoincrement": false
1055
+ },
1056
+ "wizard_id": {
1057
+ "name": "wizard_id",
1058
+ "type": "text",
1059
+ "primaryKey": false,
1060
+ "notNull": true,
1061
+ "autoincrement": false
1062
+ },
1063
+ "holder": {
1064
+ "name": "holder",
1065
+ "type": "text",
1066
+ "primaryKey": false,
1067
+ "notNull": true,
1068
+ "autoincrement": false
1069
+ },
1070
+ "list": {
1071
+ "name": "list",
1072
+ "type": "text",
1073
+ "primaryKey": false,
1074
+ "notNull": true,
1075
+ "autoincrement": false
1076
+ },
1077
+ "key": {
1078
+ "name": "key",
1079
+ "type": "text",
1080
+ "primaryKey": false,
1081
+ "notNull": false,
1082
+ "autoincrement": false
1083
+ },
1084
+ "cells": {
1085
+ "name": "cells",
1086
+ "type": "text",
1087
+ "primaryKey": false,
1088
+ "notNull": true,
1089
+ "autoincrement": false
1090
+ },
1091
+ "created_at": {
1092
+ "name": "created_at",
1093
+ "type": "integer",
1094
+ "primaryKey": false,
1095
+ "notNull": true,
1096
+ "autoincrement": false,
1097
+ "default": "(unixepoch() * 1000)"
1098
+ },
1099
+ "updated_at": {
1100
+ "name": "updated_at",
1101
+ "type": "integer",
1102
+ "primaryKey": false,
1103
+ "notNull": true,
1104
+ "autoincrement": false,
1105
+ "default": "(unixepoch() * 1000)"
1106
+ }
1107
+ },
1108
+ "indexes": {
1109
+ "store_row_key": {
1110
+ "name": "store_row_key",
1111
+ "columns": [
1112
+ "wizard_id",
1113
+ "holder",
1114
+ "list",
1115
+ "key"
1116
+ ],
1117
+ "isUnique": true
1118
+ },
1119
+ "store_row_list": {
1120
+ "name": "store_row_list",
1121
+ "columns": [
1122
+ "wizard_id",
1123
+ "holder",
1124
+ "list",
1125
+ "created_at"
1126
+ ],
1127
+ "isUnique": false
1128
+ }
1129
+ },
1130
+ "foreignKeys": {
1131
+ "store_row_wizard_id_wizard_id_fk": {
1132
+ "name": "store_row_wizard_id_wizard_id_fk",
1133
+ "tableFrom": "store_row",
1134
+ "tableTo": "wizard",
1135
+ "columnsFrom": [
1136
+ "wizard_id"
1137
+ ],
1138
+ "columnsTo": [
1139
+ "id"
1140
+ ],
1141
+ "onDelete": "cascade",
1142
+ "onUpdate": "no action"
1143
+ }
1144
+ },
1145
+ "compositePrimaryKeys": {},
1146
+ "uniqueConstraints": {},
1147
+ "checkConstraints": {}
1148
+ },
1149
+ "store_secret": {
1150
+ "name": "store_secret",
1151
+ "columns": {
1152
+ "id": {
1153
+ "name": "id",
1154
+ "type": "text",
1155
+ "primaryKey": true,
1156
+ "notNull": true,
1157
+ "autoincrement": false
1158
+ },
1159
+ "wizard_id": {
1160
+ "name": "wizard_id",
1161
+ "type": "text",
1162
+ "primaryKey": false,
1163
+ "notNull": true,
1164
+ "autoincrement": false
1165
+ },
1166
+ "holder": {
1167
+ "name": "holder",
1168
+ "type": "text",
1169
+ "primaryKey": false,
1170
+ "notNull": true,
1171
+ "autoincrement": false
1172
+ },
1173
+ "slot": {
1174
+ "name": "slot",
1175
+ "type": "text",
1176
+ "primaryKey": false,
1177
+ "notNull": true,
1178
+ "autoincrement": false
1179
+ },
1180
+ "provider": {
1181
+ "name": "provider",
1182
+ "type": "text",
1183
+ "primaryKey": false,
1184
+ "notNull": true,
1185
+ "autoincrement": false
1186
+ },
1187
+ "label": {
1188
+ "name": "label",
1189
+ "type": "text",
1190
+ "primaryKey": false,
1191
+ "notNull": true,
1192
+ "autoincrement": false
1193
+ },
1194
+ "data": {
1195
+ "name": "data",
1196
+ "type": "text",
1197
+ "primaryKey": false,
1198
+ "notNull": true,
1199
+ "autoincrement": false
1200
+ },
1201
+ "created_at": {
1202
+ "name": "created_at",
1203
+ "type": "integer",
1204
+ "primaryKey": false,
1205
+ "notNull": true,
1206
+ "autoincrement": false,
1207
+ "default": "(unixepoch() * 1000)"
1208
+ },
1209
+ "updated_at": {
1210
+ "name": "updated_at",
1211
+ "type": "integer",
1212
+ "primaryKey": false,
1213
+ "notNull": true,
1214
+ "autoincrement": false,
1215
+ "default": "(unixepoch() * 1000)"
1216
+ }
1217
+ },
1218
+ "indexes": {
1219
+ "store_secret_slot": {
1220
+ "name": "store_secret_slot",
1221
+ "columns": [
1222
+ "wizard_id",
1223
+ "holder",
1224
+ "slot"
1225
+ ],
1226
+ "isUnique": true
1227
+ }
1228
+ },
1229
+ "foreignKeys": {
1230
+ "store_secret_wizard_id_wizard_id_fk": {
1231
+ "name": "store_secret_wizard_id_wizard_id_fk",
1232
+ "tableFrom": "store_secret",
1233
+ "tableTo": "wizard",
1234
+ "columnsFrom": [
1235
+ "wizard_id"
1236
+ ],
1237
+ "columnsTo": [
1238
+ "id"
1239
+ ],
1240
+ "onDelete": "cascade",
1241
+ "onUpdate": "no action"
1242
+ }
1243
+ },
1244
+ "compositePrimaryKeys": {},
1245
+ "uniqueConstraints": {},
1246
+ "checkConstraints": {}
1247
+ },
1248
+ "wizard": {
1249
+ "name": "wizard",
1250
+ "columns": {
1251
+ "id": {
1252
+ "name": "id",
1253
+ "type": "text",
1254
+ "primaryKey": true,
1255
+ "notNull": true,
1256
+ "autoincrement": false
1257
+ },
1258
+ "project_id": {
1259
+ "name": "project_id",
1260
+ "type": "text",
1261
+ "primaryKey": false,
1262
+ "notNull": true,
1263
+ "autoincrement": false
1264
+ },
1265
+ "tenant_id": {
1266
+ "name": "tenant_id",
1267
+ "type": "text",
1268
+ "primaryKey": false,
1269
+ "notNull": true,
1270
+ "autoincrement": false
1271
+ },
1272
+ "title": {
1273
+ "name": "title",
1274
+ "type": "text",
1275
+ "primaryKey": false,
1276
+ "notNull": true,
1277
+ "autoincrement": false
1278
+ },
1279
+ "draft": {
1280
+ "name": "draft",
1281
+ "type": "text",
1282
+ "primaryKey": false,
1283
+ "notNull": true,
1284
+ "autoincrement": false
1285
+ },
1286
+ "published_version": {
1287
+ "name": "published_version",
1288
+ "type": "integer",
1289
+ "primaryKey": false,
1290
+ "notNull": false,
1291
+ "autoincrement": false
1292
+ },
1293
+ "share_token": {
1294
+ "name": "share_token",
1295
+ "type": "text",
1296
+ "primaryKey": false,
1297
+ "notNull": true,
1298
+ "autoincrement": false
1299
+ },
1300
+ "share_enabled": {
1301
+ "name": "share_enabled",
1302
+ "type": "integer",
1303
+ "primaryKey": false,
1304
+ "notNull": true,
1305
+ "autoincrement": false,
1306
+ "default": true
1307
+ },
1308
+ "daily_run_limit": {
1309
+ "name": "daily_run_limit",
1310
+ "type": "integer",
1311
+ "primaryKey": false,
1312
+ "notNull": true,
1313
+ "autoincrement": false,
1314
+ "default": 50
1315
+ },
1316
+ "starter": {
1317
+ "name": "starter",
1318
+ "type": "text",
1319
+ "primaryKey": false,
1320
+ "notNull": false,
1321
+ "autoincrement": false
1322
+ },
1323
+ "starter_revision": {
1324
+ "name": "starter_revision",
1325
+ "type": "integer",
1326
+ "primaryKey": false,
1327
+ "notNull": false,
1328
+ "autoincrement": false
1329
+ },
1330
+ "revision": {
1331
+ "name": "revision",
1332
+ "type": "integer",
1333
+ "primaryKey": false,
1334
+ "notNull": true,
1335
+ "autoincrement": false,
1336
+ "default": 0
1337
+ },
1338
+ "created_at": {
1339
+ "name": "created_at",
1340
+ "type": "integer",
1341
+ "primaryKey": false,
1342
+ "notNull": true,
1343
+ "autoincrement": false,
1344
+ "default": "(unixepoch() * 1000)"
1345
+ },
1346
+ "updated_at": {
1347
+ "name": "updated_at",
1348
+ "type": "integer",
1349
+ "primaryKey": false,
1350
+ "notNull": true,
1351
+ "autoincrement": false,
1352
+ "default": "(unixepoch() * 1000)"
1353
+ }
1354
+ },
1355
+ "indexes": {
1356
+ "wizard_share_token": {
1357
+ "name": "wizard_share_token",
1358
+ "columns": [
1359
+ "share_token"
1360
+ ],
1361
+ "isUnique": true
1362
+ },
1363
+ "wizard_project": {
1364
+ "name": "wizard_project",
1365
+ "columns": [
1366
+ "project_id"
1367
+ ],
1368
+ "isUnique": false
1369
+ }
1370
+ },
1371
+ "foreignKeys": {
1372
+ "wizard_project_id_project_id_fk": {
1373
+ "name": "wizard_project_id_project_id_fk",
1374
+ "tableFrom": "wizard",
1375
+ "tableTo": "project",
1376
+ "columnsFrom": [
1377
+ "project_id"
1378
+ ],
1379
+ "columnsTo": [
1380
+ "id"
1381
+ ],
1382
+ "onDelete": "cascade",
1383
+ "onUpdate": "no action"
1384
+ }
1385
+ },
1386
+ "compositePrimaryKeys": {},
1387
+ "uniqueConstraints": {},
1388
+ "checkConstraints": {}
1389
+ },
1390
+ "wizard_file": {
1391
+ "name": "wizard_file",
1392
+ "columns": {
1393
+ "wizard_id": {
1394
+ "name": "wizard_id",
1395
+ "type": "text",
1396
+ "primaryKey": false,
1397
+ "notNull": true,
1398
+ "autoincrement": false
1399
+ },
1400
+ "path": {
1401
+ "name": "path",
1402
+ "type": "text",
1403
+ "primaryKey": false,
1404
+ "notNull": true,
1405
+ "autoincrement": false
1406
+ },
1407
+ "hash": {
1408
+ "name": "hash",
1409
+ "type": "text",
1410
+ "primaryKey": false,
1411
+ "notNull": true,
1412
+ "autoincrement": false
1413
+ },
1414
+ "mime": {
1415
+ "name": "mime",
1416
+ "type": "text",
1417
+ "primaryKey": false,
1418
+ "notNull": true,
1419
+ "autoincrement": false
1420
+ },
1421
+ "size": {
1422
+ "name": "size",
1423
+ "type": "integer",
1424
+ "primaryKey": false,
1425
+ "notNull": true,
1426
+ "autoincrement": false
1427
+ },
1428
+ "updated_at": {
1429
+ "name": "updated_at",
1430
+ "type": "integer",
1431
+ "primaryKey": false,
1432
+ "notNull": true,
1433
+ "autoincrement": false,
1434
+ "default": "(unixepoch() * 1000)"
1435
+ }
1436
+ },
1437
+ "indexes": {},
1438
+ "foreignKeys": {
1439
+ "wizard_file_wizard_id_wizard_id_fk": {
1440
+ "name": "wizard_file_wizard_id_wizard_id_fk",
1441
+ "tableFrom": "wizard_file",
1442
+ "tableTo": "wizard",
1443
+ "columnsFrom": [
1444
+ "wizard_id"
1445
+ ],
1446
+ "columnsTo": [
1447
+ "id"
1448
+ ],
1449
+ "onDelete": "cascade",
1450
+ "onUpdate": "no action"
1451
+ }
1452
+ },
1453
+ "compositePrimaryKeys": {
1454
+ "wizard_file_wizard_id_path_pk": {
1455
+ "columns": [
1456
+ "wizard_id",
1457
+ "path"
1458
+ ],
1459
+ "name": "wizard_file_wizard_id_path_pk"
1460
+ }
1461
+ },
1462
+ "uniqueConstraints": {},
1463
+ "checkConstraints": {}
1464
+ },
1465
+ "wizard_message": {
1466
+ "name": "wizard_message",
1467
+ "columns": {
1468
+ "id": {
1469
+ "name": "id",
1470
+ "type": "text",
1471
+ "primaryKey": true,
1472
+ "notNull": true,
1473
+ "autoincrement": false
1474
+ },
1475
+ "wizard_id": {
1476
+ "name": "wizard_id",
1477
+ "type": "text",
1478
+ "primaryKey": false,
1479
+ "notNull": true,
1480
+ "autoincrement": false
1481
+ },
1482
+ "role": {
1483
+ "name": "role",
1484
+ "type": "text",
1485
+ "primaryKey": false,
1486
+ "notNull": true,
1487
+ "autoincrement": false
1488
+ },
1489
+ "content": {
1490
+ "name": "content",
1491
+ "type": "text",
1492
+ "primaryKey": false,
1493
+ "notNull": true,
1494
+ "autoincrement": false
1495
+ },
1496
+ "changed": {
1497
+ "name": "changed",
1498
+ "type": "integer",
1499
+ "primaryKey": false,
1500
+ "notNull": true,
1501
+ "autoincrement": false,
1502
+ "default": false
1503
+ },
1504
+ "source": {
1505
+ "name": "source",
1506
+ "type": "text",
1507
+ "primaryKey": false,
1508
+ "notNull": true,
1509
+ "autoincrement": false,
1510
+ "default": "'studio'"
1511
+ },
1512
+ "client": {
1513
+ "name": "client",
1514
+ "type": "text",
1515
+ "primaryKey": false,
1516
+ "notNull": false,
1517
+ "autoincrement": false
1518
+ },
1519
+ "created_at": {
1520
+ "name": "created_at",
1521
+ "type": "integer",
1522
+ "primaryKey": false,
1523
+ "notNull": true,
1524
+ "autoincrement": false,
1525
+ "default": "(unixepoch() * 1000)"
1526
+ }
1527
+ },
1528
+ "indexes": {
1529
+ "wizard_message_wizard": {
1530
+ "name": "wizard_message_wizard",
1531
+ "columns": [
1532
+ "wizard_id",
1533
+ "created_at"
1534
+ ],
1535
+ "isUnique": false
1536
+ }
1537
+ },
1538
+ "foreignKeys": {
1539
+ "wizard_message_wizard_id_wizard_id_fk": {
1540
+ "name": "wizard_message_wizard_id_wizard_id_fk",
1541
+ "tableFrom": "wizard_message",
1542
+ "tableTo": "wizard",
1543
+ "columnsFrom": [
1544
+ "wizard_id"
1545
+ ],
1546
+ "columnsTo": [
1547
+ "id"
1548
+ ],
1549
+ "onDelete": "cascade",
1550
+ "onUpdate": "no action"
1551
+ }
1552
+ },
1553
+ "compositePrimaryKeys": {},
1554
+ "uniqueConstraints": {},
1555
+ "checkConstraints": {}
1556
+ },
1557
+ "wizard_version": {
1558
+ "name": "wizard_version",
1559
+ "columns": {
1560
+ "id": {
1561
+ "name": "id",
1562
+ "type": "text",
1563
+ "primaryKey": true,
1564
+ "notNull": true,
1565
+ "autoincrement": false
1566
+ },
1567
+ "wizard_id": {
1568
+ "name": "wizard_id",
1569
+ "type": "text",
1570
+ "primaryKey": false,
1571
+ "notNull": true,
1572
+ "autoincrement": false
1573
+ },
1574
+ "version": {
1575
+ "name": "version",
1576
+ "type": "integer",
1577
+ "primaryKey": false,
1578
+ "notNull": true,
1579
+ "autoincrement": false
1580
+ },
1581
+ "definition": {
1582
+ "name": "definition",
1583
+ "type": "text",
1584
+ "primaryKey": false,
1585
+ "notNull": true,
1586
+ "autoincrement": false
1587
+ },
1588
+ "files": {
1589
+ "name": "files",
1590
+ "type": "text",
1591
+ "primaryKey": false,
1592
+ "notNull": true,
1593
+ "autoincrement": false,
1594
+ "default": "'[]'"
1595
+ },
1596
+ "created_at": {
1597
+ "name": "created_at",
1598
+ "type": "integer",
1599
+ "primaryKey": false,
1600
+ "notNull": true,
1601
+ "autoincrement": false,
1602
+ "default": "(unixepoch() * 1000)"
1603
+ }
1604
+ },
1605
+ "indexes": {
1606
+ "wizard_version_n": {
1607
+ "name": "wizard_version_n",
1608
+ "columns": [
1609
+ "wizard_id",
1610
+ "version"
1611
+ ],
1612
+ "isUnique": true
1613
+ }
1614
+ },
1615
+ "foreignKeys": {
1616
+ "wizard_version_wizard_id_wizard_id_fk": {
1617
+ "name": "wizard_version_wizard_id_wizard_id_fk",
1618
+ "tableFrom": "wizard_version",
1619
+ "tableTo": "wizard",
1620
+ "columnsFrom": [
1621
+ "wizard_id"
1622
+ ],
1623
+ "columnsTo": [
1624
+ "id"
1625
+ ],
1626
+ "onDelete": "cascade",
1627
+ "onUpdate": "no action"
1628
+ }
1629
+ },
1630
+ "compositePrimaryKeys": {},
1631
+ "uniqueConstraints": {},
1632
+ "checkConstraints": {}
1633
+ }
1634
+ },
1635
+ "views": {},
1636
+ "enums": {},
1637
+ "_meta": {
1638
+ "schemas": {},
1639
+ "tables": {},
1640
+ "columns": {}
1641
+ },
1642
+ "internal": {
1643
+ "indexes": {}
1644
+ }
1645
+ }