wizards 0.1.9

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 (308) hide show
  1. package/LICENSE +110 -0
  2. package/README.md +170 -0
  3. package/apps/runtime/dist/agents/architect.js +453 -0
  4. package/apps/runtime/dist/agents/project-assistant.js +354 -0
  5. package/apps/runtime/dist/agents/subscription.js +206 -0
  6. package/apps/runtime/dist/agents/thought.js +21 -0
  7. package/apps/runtime/dist/agents/website.js +197 -0
  8. package/apps/runtime/dist/app.js +153 -0
  9. package/apps/runtime/dist/auth/account.js +121 -0
  10. package/apps/runtime/dist/auth/index.js +329 -0
  11. package/apps/runtime/dist/auth/keys.js +55 -0
  12. package/apps/runtime/dist/auth/local-ticket.js +23 -0
  13. package/apps/runtime/dist/authoring/example.js +73 -0
  14. package/apps/runtime/dist/authoring/guide.js +259 -0
  15. package/apps/runtime/dist/authoring/ops.js +117 -0
  16. package/apps/runtime/dist/cli/autostart.js +134 -0
  17. package/apps/runtime/dist/cli/clients.js +44 -0
  18. package/apps/runtime/dist/cli/environment.js +81 -0
  19. package/apps/runtime/dist/cli/exec.js +45 -0
  20. package/apps/runtime/dist/cli/home.js +74 -0
  21. package/apps/runtime/dist/cli/machine.js +145 -0
  22. package/apps/runtime/dist/cli/main.js +125 -0
  23. package/apps/runtime/dist/cli/setup.js +273 -0
  24. package/apps/runtime/dist/cli/start.js +190 -0
  25. package/apps/runtime/dist/cli/status.js +120 -0
  26. package/apps/runtime/dist/cli/ui.js +12 -0
  27. package/apps/runtime/dist/cli/update.js +58 -0
  28. package/apps/runtime/dist/connectors/builtin.js +70 -0
  29. package/apps/runtime/dist/connectors/external.js +400 -0
  30. package/apps/runtime/dist/connectors/gmail.js +107 -0
  31. package/apps/runtime/dist/connectors/imap.js +217 -0
  32. package/apps/runtime/dist/connectors/index.js +266 -0
  33. package/apps/runtime/dist/connectors/mail.js +72 -0
  34. package/apps/runtime/dist/connectors/outlook.js +90 -0
  35. package/apps/runtime/dist/credits/credits.js +103 -0
  36. package/apps/runtime/dist/credits/estimate.js +132 -0
  37. package/apps/runtime/dist/db/adopt.js +149 -0
  38. package/apps/runtime/dist/db/client.js +146 -0
  39. package/apps/runtime/dist/db/control-schema.js +70 -0
  40. package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +47 -0
  41. package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +41 -0
  42. package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +1 -0
  43. package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +3 -0
  44. package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +6 -0
  45. package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +311 -0
  46. package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +599 -0
  47. package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +607 -0
  48. package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +311 -0
  49. package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +350 -0
  50. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +41 -0
  51. package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +188 -0
  52. package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +1 -0
  53. package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +1 -0
  54. package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +52 -0
  55. package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +6 -0
  56. package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +1323 -0
  57. package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +1330 -0
  58. package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +1337 -0
  59. package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +1605 -0
  60. package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +1645 -0
  61. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +41 -0
  62. package/apps/runtime/dist/db/schema.js +278 -0
  63. package/apps/runtime/dist/documents/parse.js +230 -0
  64. package/apps/runtime/dist/engenty/connections-external/build-connector.js +193 -0
  65. package/apps/runtime/dist/engenty/connections-external/errors.js +11 -0
  66. package/apps/runtime/dist/engenty/connections-external/import-service.js +270 -0
  67. package/apps/runtime/dist/engenty/connections-external/importer/classify.js +34 -0
  68. package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +185 -0
  69. package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +63 -0
  70. package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +130 -0
  71. package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +143 -0
  72. package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +143 -0
  73. package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +119 -0
  74. package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +88 -0
  75. package/apps/runtime/dist/engenty/connections-external/registry-client.js +336 -0
  76. package/apps/runtime/dist/engenty/connections-external/registry-source.js +82 -0
  77. package/apps/runtime/dist/engenty/connections-external/types.js +7 -0
  78. package/apps/runtime/dist/engenty/connections-github/connector.js +209 -0
  79. package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +359 -0
  80. package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +94 -0
  81. package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +290 -0
  82. package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +567 -0
  83. package/apps/runtime/dist/engenty/connections-google/definitions.js +11 -0
  84. package/apps/runtime/dist/engenty/connections-google/shared.js +73 -0
  85. package/apps/runtime/dist/engenty/connections-hubspot/connector.js +140 -0
  86. package/apps/runtime/dist/engenty/connections-microsoft/action.js +17 -0
  87. package/apps/runtime/dist/engenty/connections-microsoft/graph.js +114 -0
  88. package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +286 -0
  89. package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +464 -0
  90. package/apps/runtime/dist/engenty/connections-s3/s3.js +328 -0
  91. package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +86 -0
  92. package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +150 -0
  93. package/apps/runtime/dist/engenty/connections-sdk/registry.js +89 -0
  94. package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +84 -0
  95. package/apps/runtime/dist/engenty/connections-sdk/types.js +30 -0
  96. package/apps/runtime/dist/engenty/connections-slack/connector.js +360 -0
  97. package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +178 -0
  98. package/apps/runtime/dist/engenty/csv-import/import-sources.js +87 -0
  99. package/apps/runtime/dist/engenty/csv-import/parse-csv.js +129 -0
  100. package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +20 -0
  101. package/apps/runtime/dist/engenty/csv-import/types.js +1 -0
  102. package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +159 -0
  103. package/apps/runtime/dist/engenty/doc-converter/interface.js +9 -0
  104. package/apps/runtime/dist/engenty/doc-converter/page-break.js +92 -0
  105. package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +72 -0
  106. package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +30 -0
  107. package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +4 -0
  108. package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +73 -0
  109. package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +63 -0
  110. package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +40 -0
  111. package/apps/runtime/dist/engenty/search-index/chunks.js +164 -0
  112. package/apps/runtime/dist/engenty/search-index/contracts.js +9 -0
  113. package/apps/runtime/dist/engenty/shims/connections-sdk.js +39 -0
  114. package/apps/runtime/dist/engenty/shims/plugin-sdk.js +1 -0
  115. package/apps/runtime/dist/engenty/shims/web-ingest.js +3 -0
  116. package/apps/runtime/dist/engenty/web-ingest/ssrf.js +277 -0
  117. package/apps/runtime/dist/engine/asks.js +60 -0
  118. package/apps/runtime/dist/engine/events.js +46 -0
  119. package/apps/runtime/dist/engine/input.js +170 -0
  120. package/apps/runtime/dist/engine/prepare.js +51 -0
  121. package/apps/runtime/dist/engine/requirements.js +124 -0
  122. package/apps/runtime/dist/engine/resources.js +89 -0
  123. package/apps/runtime/dist/engine/runner.js +560 -0
  124. package/apps/runtime/dist/engine/steps.js +598 -0
  125. package/apps/runtime/dist/engine/template.js +183 -0
  126. package/apps/runtime/dist/engine/types.js +3 -0
  127. package/apps/runtime/dist/env.js +224 -0
  128. package/apps/runtime/dist/files/blobs.js +22 -0
  129. package/apps/runtime/dist/files/objects.js +86 -0
  130. package/apps/runtime/dist/files/storage.js +95 -0
  131. package/apps/runtime/dist/geocode.js +58 -0
  132. package/apps/runtime/dist/harness/claude.js +138 -0
  133. package/apps/runtime/dist/harness/codex.js +228 -0
  134. package/apps/runtime/dist/harness/cursor.js +93 -0
  135. package/apps/runtime/dist/harness/env.js +124 -0
  136. package/apps/runtime/dist/harness/gemini.js +126 -0
  137. package/apps/runtime/dist/harness/index.js +99 -0
  138. package/apps/runtime/dist/harness/model.js +267 -0
  139. package/apps/runtime/dist/harness/prompt.js +121 -0
  140. package/apps/runtime/dist/harness/terminal.js +193 -0
  141. package/apps/runtime/dist/harness/types.js +7 -0
  142. package/apps/runtime/dist/index.js +76 -0
  143. package/apps/runtime/dist/limits.js +57 -0
  144. package/apps/runtime/dist/link-preview.js +59 -0
  145. package/apps/runtime/dist/manage.js +151 -0
  146. package/apps/runtime/dist/mcp/auth.js +102 -0
  147. package/apps/runtime/dist/mcp/bridge.js +59 -0
  148. package/apps/runtime/dist/mcp/handler.js +42 -0
  149. package/apps/runtime/dist/mcp/scopes.js +5 -0
  150. package/apps/runtime/dist/mcp/tools.js +401 -0
  151. package/apps/runtime/dist/media/ffmpeg.js +121 -0
  152. package/apps/runtime/dist/media/generate.js +120 -0
  153. package/apps/runtime/dist/media/marking.js +121 -0
  154. package/apps/runtime/dist/media/transcribe.js +30 -0
  155. package/apps/runtime/dist/model-errors.js +3 -0
  156. package/apps/runtime/dist/models.js +489 -0
  157. package/apps/runtime/dist/plugin.js +61 -0
  158. package/apps/runtime/dist/render/chromium.js +85 -0
  159. package/apps/runtime/dist/render/convert.js +161 -0
  160. package/apps/runtime/dist/render/downloads.js +277 -0
  161. package/apps/runtime/dist/render/guard.js +25 -0
  162. package/apps/runtime/dist/routes/api.js +74 -0
  163. package/apps/runtime/dist/routes/delivery.js +52 -0
  164. package/apps/runtime/dist/routes/internal.js +49 -0
  165. package/apps/runtime/dist/routes/marketplace.js +36 -0
  166. package/apps/runtime/dist/routes/runs.js +805 -0
  167. package/apps/runtime/dist/routes/studio.js +702 -0
  168. package/apps/runtime/dist/routes/wizard-stream.js +30 -0
  169. package/apps/runtime/dist/running.js +39 -0
  170. package/apps/runtime/dist/sandbox/agentos.js +191 -0
  171. package/apps/runtime/dist/sandbox/docker.js +77 -0
  172. package/apps/runtime/dist/sandbox/index.js +30 -0
  173. package/apps/runtime/dist/sandbox/types.js +1 -0
  174. package/apps/runtime/dist/secrets/crypto.js +28 -0
  175. package/apps/runtime/dist/secrets/signing.js +34 -0
  176. package/apps/runtime/dist/secrets/vault.js +59 -0
  177. package/apps/runtime/dist/services/architect.js +92 -0
  178. package/apps/runtime/dist/services/brand.js +20 -0
  179. package/apps/runtime/dist/services/cloud.js +52 -0
  180. package/apps/runtime/dist/services/draft-events.js +27 -0
  181. package/apps/runtime/dist/services/errors.js +24 -0
  182. package/apps/runtime/dist/services/files.js +129 -0
  183. package/apps/runtime/dist/services/links.js +16 -0
  184. package/apps/runtime/dist/services/marketplace.js +292 -0
  185. package/apps/runtime/dist/services/package.js +202 -0
  186. package/apps/runtime/dist/services/profile.js +23 -0
  187. package/apps/runtime/dist/services/project-files.js +266 -0
  188. package/apps/runtime/dist/services/project-index.js +109 -0
  189. package/apps/runtime/dist/services/projects.js +181 -0
  190. package/apps/runtime/dist/services/runs.js +224 -0
  191. package/apps/runtime/dist/services/shares.js +129 -0
  192. package/apps/runtime/dist/services/widgets.js +34 -0
  193. package/apps/runtime/dist/services/wizards.js +342 -0
  194. package/apps/runtime/dist/settings.js +16 -0
  195. package/apps/runtime/dist/store/index.js +279 -0
  196. package/apps/runtime/dist/tenants/control.js +106 -0
  197. package/apps/runtime/dist/tenants/tenant.js +26 -0
  198. package/apps/runtime/dist/tools/browser.js +380 -0
  199. package/apps/runtime/dist/tools/connector.js +204 -0
  200. package/apps/runtime/dist/tools/index.js +234 -0
  201. package/apps/runtime/dist/tools/mail.js +104 -0
  202. package/apps/runtime/dist/tools/net-guard.js +59 -0
  203. package/apps/runtime/dist/tools/project.js +53 -0
  204. package/apps/runtime/dist/tools/shared.js +42 -0
  205. package/apps/runtime/dist/tools/store.js +238 -0
  206. package/apps/runtime/dist/update.js +118 -0
  207. package/apps/runtime/dist/widgets/bundle.js +99 -0
  208. package/apps/runtime/dist/widgets/render.js +312 -0
  209. package/apps/runtime/dist/widgets/runtime.js +84 -0
  210. package/apps/runtime/dist/widgets/script.js +30 -0
  211. package/apps/runtime/dist/widgets/step.js +192 -0
  212. package/apps/web/dist/ai-labels/ai-black.svg +20 -0
  213. package/apps/web/dist/ai-labels/ai-generated-black.svg +31 -0
  214. package/apps/web/dist/ai-labels/ai-generated-white.svg +32 -0
  215. package/apps/web/dist/ai-labels/ai-modified-black.svg +30 -0
  216. package/apps/web/dist/ai-labels/ai-modified-white.svg +31 -0
  217. package/apps/web/dist/ai-labels/ai-white.svg +21 -0
  218. package/apps/web/dist/assets/ChangelogDialog-O00vEnbm.js +1 -0
  219. package/apps/web/dist/assets/ChatPanel-CH9ry0Hp.js +1 -0
  220. package/apps/web/dist/assets/CreditsDialog-DRzecwUw.js +1 -0
  221. package/apps/web/dist/assets/EditorPage-BRnBf02Q.js +2 -0
  222. package/apps/web/dist/assets/FlowPreview-DDOj8IAH.js +1 -0
  223. package/apps/web/dist/assets/HomePage-CAGTTG3N.js +1 -0
  224. package/apps/web/dist/assets/ImportWizard-0RRrAnX3.js +1 -0
  225. package/apps/web/dist/assets/LocalRuntime-BrP-ENHg.css +1 -0
  226. package/apps/web/dist/assets/LocalRuntime-C-TBYrzs.js +16 -0
  227. package/apps/web/dist/assets/NewWizardPage-kI90h3_9.js +2 -0
  228. package/apps/web/dist/assets/PublicRunner-CKRDeIVd.js +1 -0
  229. package/apps/web/dist/assets/RunnerView-Rc4H8wYH.js +2 -0
  230. package/apps/web/dist/assets/SettingsPage-CESMuZxq.js +2 -0
  231. package/apps/web/dist/assets/SetupPage-D1rrYU14.js +1 -0
  232. package/apps/web/dist/assets/SharePage-COTAmOgh.js +1 -0
  233. package/apps/web/dist/assets/api-BY28cjGY.js +10 -0
  234. package/apps/web/dist/assets/arrow-left-UpjOBfQp.js +1 -0
  235. package/apps/web/dist/assets/arrow-right-CucQycEy.js +1 -0
  236. package/apps/web/dist/assets/changelog-p3wsaDDS.js +1 -0
  237. package/apps/web/dist/assets/check-Bjx41xbB.js +1 -0
  238. package/apps/web/dist/assets/createLucideIcon-DBu2Ovxj.js +1 -0
  239. package/apps/web/dist/assets/definition-cy7uvY5L.js +55 -0
  240. package/apps/web/dist/assets/engenty-CWIFpgKq.js +1 -0
  241. package/apps/web/dist/assets/esm-D1OEhjTK.js +7 -0
  242. package/apps/web/dist/assets/external-link-CRg6DVdO.js +1 -0
  243. package/apps/web/dist/assets/fluffy-engenty-CJ3wCQgT.js +456 -0
  244. package/apps/web/dist/assets/index-CQ_q9iMO.css +1 -0
  245. package/apps/web/dist/assets/index-D0gxh90t.js +10 -0
  246. package/apps/web/dist/assets/jsx-runtime-Dk72oS4N.js +1 -0
  247. package/apps/web/dist/assets/meta-BbSdtTUa.js +1 -0
  248. package/apps/web/dist/assets/mic-CeqQ89Dj.js +1 -0
  249. package/apps/web/dist/assets/oss-credits-cPuZUFHD.js +1 -0
  250. package/apps/web/dist/assets/outputs-D6pxH6ve.js +69 -0
  251. package/apps/web/dist/assets/plus-HA210wXA.js +1 -0
  252. package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +1 -0
  253. package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +98 -0
  254. package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +1 -0
  255. package/apps/web/dist/assets/type-BzYgVWKL.js +1 -0
  256. package/apps/web/dist/assets/ui-Ddwl35A6.js +1 -0
  257. package/apps/web/dist/assets/upload-DsgLfQ3U.js +1 -0
  258. package/apps/web/dist/assets/video-Dk1fuTDl.js +1 -0
  259. package/apps/web/dist/assets/wand-sparkles-Bf97fs8T.js +1 -0
  260. package/apps/web/dist/embed.js +102 -0
  261. package/apps/web/dist/favicon.svg +1 -0
  262. package/apps/web/dist/icons/apple-touch-icon.png +0 -0
  263. package/apps/web/dist/icons/icon-192.png +0 -0
  264. package/apps/web/dist/icons/icon-512.png +0 -0
  265. package/apps/web/dist/icons/icon-maskable-512.png +0 -0
  266. package/apps/web/dist/index.html +46 -0
  267. package/apps/web/dist/install.sh +532 -0
  268. package/apps/web/dist/manifest.webmanifest +20 -0
  269. package/apps/web/dist/sw.js +15 -0
  270. package/bin/wizards.mjs +13 -0
  271. package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +77 -0
  272. package/node_modules/@engenty-wizards/shared/dist/connectors.js +2 -0
  273. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +1415 -0
  274. package/node_modules/@engenty-wizards/shared/dist/definition.js +762 -0
  275. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +5 -0
  276. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +132 -0
  277. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +11 -0
  278. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +209 -0
  279. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +532 -0
  280. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +216 -0
  281. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +3 -0
  282. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +3 -0
  283. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +14 -0
  284. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +166 -0
  285. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +33 -0
  286. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +99 -0
  287. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +35 -0
  288. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +86 -0
  289. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +20 -0
  290. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +133 -0
  291. package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +298 -0
  292. package/node_modules/@engenty-wizards/shared/dist/marketplace.js +211 -0
  293. package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +7 -0
  294. package/node_modules/@engenty-wizards/shared/dist/merge.js +40 -0
  295. package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +74 -0
  296. package/node_modules/@engenty-wizards/shared/dist/projects.js +96 -0
  297. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +219 -0
  298. package/node_modules/@engenty-wizards/shared/dist/run.js +1 -0
  299. package/node_modules/@engenty-wizards/shared/dist/store.d.ts +100 -0
  300. package/node_modules/@engenty-wizards/shared/dist/store.js +44 -0
  301. package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +16 -0
  302. package/node_modules/@engenty-wizards/shared/dist/workspace.js +51 -0
  303. package/node_modules/@engenty-wizards/shared/package.json +10 -0
  304. package/package.json +62 -0
  305. package/plugin/.claude-plugin/plugin.json +9 -0
  306. package/plugin/.mcp.json +8 -0
  307. package/plugin/commands/wizard.md +8 -0
  308. package/plugin/skills/build-wizard/SKILL.md +27 -0
@@ -0,0 +1,1330 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "a533012b-e758-48fb-a6fc-cc76e381598b",
5
+ "prevId": "68ce46b3-ed73-4a57-a103-497c0730d7f2",
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
+ "project": {
97
+ "name": "project",
98
+ "columns": {
99
+ "id": {
100
+ "name": "id",
101
+ "type": "text",
102
+ "primaryKey": true,
103
+ "notNull": true,
104
+ "autoincrement": false
105
+ },
106
+ "tenant_id": {
107
+ "name": "tenant_id",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": true,
111
+ "autoincrement": false
112
+ },
113
+ "name": {
114
+ "name": "name",
115
+ "type": "text",
116
+ "primaryKey": false,
117
+ "notNull": true,
118
+ "autoincrement": false
119
+ },
120
+ "brand": {
121
+ "name": "brand",
122
+ "type": "text",
123
+ "primaryKey": false,
124
+ "notNull": true,
125
+ "autoincrement": false,
126
+ "default": "'{}'"
127
+ },
128
+ "mcp_servers": {
129
+ "name": "mcp_servers",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": true,
133
+ "autoincrement": false,
134
+ "default": "'[]'"
135
+ },
136
+ "created_at": {
137
+ "name": "created_at",
138
+ "type": "integer",
139
+ "primaryKey": false,
140
+ "notNull": true,
141
+ "autoincrement": false,
142
+ "default": "(unixepoch() * 1000)"
143
+ },
144
+ "updated_at": {
145
+ "name": "updated_at",
146
+ "type": "integer",
147
+ "primaryKey": false,
148
+ "notNull": true,
149
+ "autoincrement": false,
150
+ "default": "(unixepoch() * 1000)"
151
+ }
152
+ },
153
+ "indexes": {
154
+ "project_tenant": {
155
+ "name": "project_tenant",
156
+ "columns": [
157
+ "tenant_id"
158
+ ],
159
+ "isUnique": false
160
+ }
161
+ },
162
+ "foreignKeys": {},
163
+ "compositePrimaryKeys": {},
164
+ "uniqueConstraints": {},
165
+ "checkConstraints": {}
166
+ },
167
+ "project_connector": {
168
+ "name": "project_connector",
169
+ "columns": {
170
+ "project_id": {
171
+ "name": "project_id",
172
+ "type": "text",
173
+ "primaryKey": false,
174
+ "notNull": true,
175
+ "autoincrement": false
176
+ },
177
+ "id": {
178
+ "name": "id",
179
+ "type": "text",
180
+ "primaryKey": false,
181
+ "notNull": true,
182
+ "autoincrement": false
183
+ },
184
+ "record": {
185
+ "name": "record",
186
+ "type": "text",
187
+ "primaryKey": false,
188
+ "notNull": true,
189
+ "autoincrement": false
190
+ },
191
+ "created_at": {
192
+ "name": "created_at",
193
+ "type": "integer",
194
+ "primaryKey": false,
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": "(unixepoch() * 1000)"
198
+ },
199
+ "updated_at": {
200
+ "name": "updated_at",
201
+ "type": "integer",
202
+ "primaryKey": false,
203
+ "notNull": true,
204
+ "autoincrement": false,
205
+ "default": "(unixepoch() * 1000)"
206
+ }
207
+ },
208
+ "indexes": {},
209
+ "foreignKeys": {
210
+ "project_connector_project_id_project_id_fk": {
211
+ "name": "project_connector_project_id_project_id_fk",
212
+ "tableFrom": "project_connector",
213
+ "tableTo": "project",
214
+ "columnsFrom": [
215
+ "project_id"
216
+ ],
217
+ "columnsTo": [
218
+ "id"
219
+ ],
220
+ "onDelete": "cascade",
221
+ "onUpdate": "no action"
222
+ }
223
+ },
224
+ "compositePrimaryKeys": {
225
+ "project_connector_project_id_id_pk": {
226
+ "columns": [
227
+ "project_id",
228
+ "id"
229
+ ],
230
+ "name": "project_connector_project_id_id_pk"
231
+ }
232
+ },
233
+ "uniqueConstraints": {},
234
+ "checkConstraints": {}
235
+ },
236
+ "run": {
237
+ "name": "run",
238
+ "columns": {
239
+ "id": {
240
+ "name": "id",
241
+ "type": "text",
242
+ "primaryKey": true,
243
+ "notNull": true,
244
+ "autoincrement": false
245
+ },
246
+ "wizard_id": {
247
+ "name": "wizard_id",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": true,
251
+ "autoincrement": false
252
+ },
253
+ "tenant_id": {
254
+ "name": "tenant_id",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": true,
258
+ "autoincrement": false
259
+ },
260
+ "definition": {
261
+ "name": "definition",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": true,
265
+ "autoincrement": false
266
+ },
267
+ "files": {
268
+ "name": "files",
269
+ "type": "text",
270
+ "primaryKey": false,
271
+ "notNull": true,
272
+ "autoincrement": false,
273
+ "default": "'[]'"
274
+ },
275
+ "version": {
276
+ "name": "version",
277
+ "type": "integer",
278
+ "primaryKey": false,
279
+ "notNull": false,
280
+ "autoincrement": false
281
+ },
282
+ "mode": {
283
+ "name": "mode",
284
+ "type": "text",
285
+ "primaryKey": false,
286
+ "notNull": true,
287
+ "autoincrement": false
288
+ },
289
+ "visitor_id": {
290
+ "name": "visitor_id",
291
+ "type": "text",
292
+ "primaryKey": false,
293
+ "notNull": false,
294
+ "autoincrement": false
295
+ },
296
+ "user_id": {
297
+ "name": "user_id",
298
+ "type": "text",
299
+ "primaryKey": false,
300
+ "notNull": false,
301
+ "autoincrement": false
302
+ },
303
+ "ip_hash": {
304
+ "name": "ip_hash",
305
+ "type": "text",
306
+ "primaryKey": false,
307
+ "notNull": false,
308
+ "autoincrement": false
309
+ },
310
+ "status": {
311
+ "name": "status",
312
+ "type": "text",
313
+ "primaryKey": false,
314
+ "notNull": true,
315
+ "autoincrement": false
316
+ },
317
+ "cursor": {
318
+ "name": "cursor",
319
+ "type": "text",
320
+ "primaryKey": false,
321
+ "notNull": false,
322
+ "autoincrement": false
323
+ },
324
+ "state": {
325
+ "name": "state",
326
+ "type": "text",
327
+ "primaryKey": false,
328
+ "notNull": true,
329
+ "autoincrement": false
330
+ },
331
+ "error": {
332
+ "name": "error",
333
+ "type": "text",
334
+ "primaryKey": false,
335
+ "notNull": false,
336
+ "autoincrement": false
337
+ },
338
+ "ask": {
339
+ "name": "ask",
340
+ "type": "text",
341
+ "primaryKey": false,
342
+ "notNull": false,
343
+ "autoincrement": false
344
+ },
345
+ "cost_micros": {
346
+ "name": "cost_micros",
347
+ "type": "integer",
348
+ "primaryKey": false,
349
+ "notNull": true,
350
+ "autoincrement": false,
351
+ "default": 0
352
+ },
353
+ "share_token": {
354
+ "name": "share_token",
355
+ "type": "text",
356
+ "primaryKey": false,
357
+ "notNull": false,
358
+ "autoincrement": false
359
+ },
360
+ "shared_at": {
361
+ "name": "shared_at",
362
+ "type": "integer",
363
+ "primaryKey": false,
364
+ "notNull": false,
365
+ "autoincrement": false
366
+ },
367
+ "expires_at": {
368
+ "name": "expires_at",
369
+ "type": "integer",
370
+ "primaryKey": false,
371
+ "notNull": false,
372
+ "autoincrement": false
373
+ },
374
+ "created_at": {
375
+ "name": "created_at",
376
+ "type": "integer",
377
+ "primaryKey": false,
378
+ "notNull": true,
379
+ "autoincrement": false,
380
+ "default": "(unixepoch() * 1000)"
381
+ },
382
+ "updated_at": {
383
+ "name": "updated_at",
384
+ "type": "integer",
385
+ "primaryKey": false,
386
+ "notNull": true,
387
+ "autoincrement": false,
388
+ "default": "(unixepoch() * 1000)"
389
+ }
390
+ },
391
+ "indexes": {
392
+ "run_share_token": {
393
+ "name": "run_share_token",
394
+ "columns": [
395
+ "share_token"
396
+ ],
397
+ "isUnique": true
398
+ },
399
+ "run_expires": {
400
+ "name": "run_expires",
401
+ "columns": [
402
+ "expires_at"
403
+ ],
404
+ "isUnique": false
405
+ },
406
+ "run_wizard": {
407
+ "name": "run_wizard",
408
+ "columns": [
409
+ "wizard_id",
410
+ "created_at"
411
+ ],
412
+ "isUnique": false
413
+ },
414
+ "run_visitor": {
415
+ "name": "run_visitor",
416
+ "columns": [
417
+ "visitor_id",
418
+ "created_at"
419
+ ],
420
+ "isUnique": false
421
+ },
422
+ "run_status": {
423
+ "name": "run_status",
424
+ "columns": [
425
+ "status"
426
+ ],
427
+ "isUnique": false
428
+ }
429
+ },
430
+ "foreignKeys": {
431
+ "run_wizard_id_wizard_id_fk": {
432
+ "name": "run_wizard_id_wizard_id_fk",
433
+ "tableFrom": "run",
434
+ "tableTo": "wizard",
435
+ "columnsFrom": [
436
+ "wizard_id"
437
+ ],
438
+ "columnsTo": [
439
+ "id"
440
+ ],
441
+ "onDelete": "cascade",
442
+ "onUpdate": "no action"
443
+ }
444
+ },
445
+ "compositePrimaryKeys": {},
446
+ "uniqueConstraints": {},
447
+ "checkConstraints": {}
448
+ },
449
+ "run_cost": {
450
+ "name": "run_cost",
451
+ "columns": {
452
+ "run_id": {
453
+ "name": "run_id",
454
+ "type": "text",
455
+ "primaryKey": false,
456
+ "notNull": true,
457
+ "autoincrement": false
458
+ },
459
+ "step_id": {
460
+ "name": "step_id",
461
+ "type": "text",
462
+ "primaryKey": false,
463
+ "notNull": true,
464
+ "autoincrement": false
465
+ },
466
+ "micros": {
467
+ "name": "micros",
468
+ "type": "integer",
469
+ "primaryKey": false,
470
+ "notNull": true,
471
+ "autoincrement": false,
472
+ "default": 0
473
+ }
474
+ },
475
+ "indexes": {},
476
+ "foreignKeys": {
477
+ "run_cost_run_id_run_id_fk": {
478
+ "name": "run_cost_run_id_run_id_fk",
479
+ "tableFrom": "run_cost",
480
+ "tableTo": "run",
481
+ "columnsFrom": [
482
+ "run_id"
483
+ ],
484
+ "columnsTo": [
485
+ "id"
486
+ ],
487
+ "onDelete": "cascade",
488
+ "onUpdate": "no action"
489
+ }
490
+ },
491
+ "compositePrimaryKeys": {
492
+ "run_cost_run_id_step_id_pk": {
493
+ "columns": [
494
+ "run_id",
495
+ "step_id"
496
+ ],
497
+ "name": "run_cost_run_id_step_id_pk"
498
+ }
499
+ },
500
+ "uniqueConstraints": {},
501
+ "checkConstraints": {}
502
+ },
503
+ "run_event": {
504
+ "name": "run_event",
505
+ "columns": {
506
+ "id": {
507
+ "name": "id",
508
+ "type": "integer",
509
+ "primaryKey": true,
510
+ "notNull": true,
511
+ "autoincrement": true
512
+ },
513
+ "run_id": {
514
+ "name": "run_id",
515
+ "type": "text",
516
+ "primaryKey": false,
517
+ "notNull": true,
518
+ "autoincrement": false
519
+ },
520
+ "step_id": {
521
+ "name": "step_id",
522
+ "type": "text",
523
+ "primaryKey": false,
524
+ "notNull": false,
525
+ "autoincrement": false
526
+ },
527
+ "type": {
528
+ "name": "type",
529
+ "type": "text",
530
+ "primaryKey": false,
531
+ "notNull": true,
532
+ "autoincrement": false
533
+ },
534
+ "message": {
535
+ "name": "message",
536
+ "type": "text",
537
+ "primaryKey": false,
538
+ "notNull": true,
539
+ "autoincrement": false
540
+ },
541
+ "asset_id": {
542
+ "name": "asset_id",
543
+ "type": "text",
544
+ "primaryKey": false,
545
+ "notNull": false,
546
+ "autoincrement": false
547
+ },
548
+ "created_at": {
549
+ "name": "created_at",
550
+ "type": "integer",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "autoincrement": false,
554
+ "default": "(unixepoch() * 1000)"
555
+ }
556
+ },
557
+ "indexes": {
558
+ "run_event_run": {
559
+ "name": "run_event_run",
560
+ "columns": [
561
+ "run_id",
562
+ "id"
563
+ ],
564
+ "isUnique": false
565
+ }
566
+ },
567
+ "foreignKeys": {
568
+ "run_event_run_id_run_id_fk": {
569
+ "name": "run_event_run_id_run_id_fk",
570
+ "tableFrom": "run_event",
571
+ "tableTo": "run",
572
+ "columnsFrom": [
573
+ "run_id"
574
+ ],
575
+ "columnsTo": [
576
+ "id"
577
+ ],
578
+ "onDelete": "cascade",
579
+ "onUpdate": "no action"
580
+ }
581
+ },
582
+ "compositePrimaryKeys": {},
583
+ "uniqueConstraints": {},
584
+ "checkConstraints": {}
585
+ },
586
+ "store_file": {
587
+ "name": "store_file",
588
+ "columns": {
589
+ "wizard_id": {
590
+ "name": "wizard_id",
591
+ "type": "text",
592
+ "primaryKey": false,
593
+ "notNull": true,
594
+ "autoincrement": false
595
+ },
596
+ "holder": {
597
+ "name": "holder",
598
+ "type": "text",
599
+ "primaryKey": false,
600
+ "notNull": true,
601
+ "autoincrement": false
602
+ },
603
+ "path": {
604
+ "name": "path",
605
+ "type": "text",
606
+ "primaryKey": false,
607
+ "notNull": true,
608
+ "autoincrement": false
609
+ },
610
+ "hash": {
611
+ "name": "hash",
612
+ "type": "text",
613
+ "primaryKey": false,
614
+ "notNull": true,
615
+ "autoincrement": false
616
+ },
617
+ "mime": {
618
+ "name": "mime",
619
+ "type": "text",
620
+ "primaryKey": false,
621
+ "notNull": true,
622
+ "autoincrement": false
623
+ },
624
+ "size": {
625
+ "name": "size",
626
+ "type": "integer",
627
+ "primaryKey": false,
628
+ "notNull": true,
629
+ "autoincrement": false
630
+ },
631
+ "source": {
632
+ "name": "source",
633
+ "type": "text",
634
+ "primaryKey": false,
635
+ "notNull": false,
636
+ "autoincrement": false
637
+ },
638
+ "updated_at": {
639
+ "name": "updated_at",
640
+ "type": "integer",
641
+ "primaryKey": false,
642
+ "notNull": true,
643
+ "autoincrement": false,
644
+ "default": "(unixepoch() * 1000)"
645
+ }
646
+ },
647
+ "indexes": {},
648
+ "foreignKeys": {
649
+ "store_file_wizard_id_wizard_id_fk": {
650
+ "name": "store_file_wizard_id_wizard_id_fk",
651
+ "tableFrom": "store_file",
652
+ "tableTo": "wizard",
653
+ "columnsFrom": [
654
+ "wizard_id"
655
+ ],
656
+ "columnsTo": [
657
+ "id"
658
+ ],
659
+ "onDelete": "cascade",
660
+ "onUpdate": "no action"
661
+ }
662
+ },
663
+ "compositePrimaryKeys": {
664
+ "store_file_wizard_id_holder_path_pk": {
665
+ "columns": [
666
+ "wizard_id",
667
+ "holder",
668
+ "path"
669
+ ],
670
+ "name": "store_file_wizard_id_holder_path_pk"
671
+ }
672
+ },
673
+ "uniqueConstraints": {},
674
+ "checkConstraints": {}
675
+ },
676
+ "store_holder": {
677
+ "name": "store_holder",
678
+ "columns": {
679
+ "wizard_id": {
680
+ "name": "wizard_id",
681
+ "type": "text",
682
+ "primaryKey": false,
683
+ "notNull": true,
684
+ "autoincrement": false
685
+ },
686
+ "holder": {
687
+ "name": "holder",
688
+ "type": "text",
689
+ "primaryKey": false,
690
+ "notNull": true,
691
+ "autoincrement": false
692
+ },
693
+ "used_at": {
694
+ "name": "used_at",
695
+ "type": "integer",
696
+ "primaryKey": false,
697
+ "notNull": true,
698
+ "autoincrement": false,
699
+ "default": "(unixepoch() * 1000)"
700
+ }
701
+ },
702
+ "indexes": {
703
+ "store_holder_used": {
704
+ "name": "store_holder_used",
705
+ "columns": [
706
+ "used_at"
707
+ ],
708
+ "isUnique": false
709
+ }
710
+ },
711
+ "foreignKeys": {
712
+ "store_holder_wizard_id_wizard_id_fk": {
713
+ "name": "store_holder_wizard_id_wizard_id_fk",
714
+ "tableFrom": "store_holder",
715
+ "tableTo": "wizard",
716
+ "columnsFrom": [
717
+ "wizard_id"
718
+ ],
719
+ "columnsTo": [
720
+ "id"
721
+ ],
722
+ "onDelete": "cascade",
723
+ "onUpdate": "no action"
724
+ }
725
+ },
726
+ "compositePrimaryKeys": {
727
+ "store_holder_wizard_id_holder_pk": {
728
+ "columns": [
729
+ "wizard_id",
730
+ "holder"
731
+ ],
732
+ "name": "store_holder_wizard_id_holder_pk"
733
+ }
734
+ },
735
+ "uniqueConstraints": {},
736
+ "checkConstraints": {}
737
+ },
738
+ "store_row": {
739
+ "name": "store_row",
740
+ "columns": {
741
+ "id": {
742
+ "name": "id",
743
+ "type": "text",
744
+ "primaryKey": true,
745
+ "notNull": true,
746
+ "autoincrement": false
747
+ },
748
+ "wizard_id": {
749
+ "name": "wizard_id",
750
+ "type": "text",
751
+ "primaryKey": false,
752
+ "notNull": true,
753
+ "autoincrement": false
754
+ },
755
+ "holder": {
756
+ "name": "holder",
757
+ "type": "text",
758
+ "primaryKey": false,
759
+ "notNull": true,
760
+ "autoincrement": false
761
+ },
762
+ "list": {
763
+ "name": "list",
764
+ "type": "text",
765
+ "primaryKey": false,
766
+ "notNull": true,
767
+ "autoincrement": false
768
+ },
769
+ "key": {
770
+ "name": "key",
771
+ "type": "text",
772
+ "primaryKey": false,
773
+ "notNull": false,
774
+ "autoincrement": false
775
+ },
776
+ "cells": {
777
+ "name": "cells",
778
+ "type": "text",
779
+ "primaryKey": false,
780
+ "notNull": true,
781
+ "autoincrement": false
782
+ },
783
+ "created_at": {
784
+ "name": "created_at",
785
+ "type": "integer",
786
+ "primaryKey": false,
787
+ "notNull": true,
788
+ "autoincrement": false,
789
+ "default": "(unixepoch() * 1000)"
790
+ },
791
+ "updated_at": {
792
+ "name": "updated_at",
793
+ "type": "integer",
794
+ "primaryKey": false,
795
+ "notNull": true,
796
+ "autoincrement": false,
797
+ "default": "(unixepoch() * 1000)"
798
+ }
799
+ },
800
+ "indexes": {
801
+ "store_row_key": {
802
+ "name": "store_row_key",
803
+ "columns": [
804
+ "wizard_id",
805
+ "holder",
806
+ "list",
807
+ "key"
808
+ ],
809
+ "isUnique": true
810
+ },
811
+ "store_row_list": {
812
+ "name": "store_row_list",
813
+ "columns": [
814
+ "wizard_id",
815
+ "holder",
816
+ "list",
817
+ "created_at"
818
+ ],
819
+ "isUnique": false
820
+ }
821
+ },
822
+ "foreignKeys": {
823
+ "store_row_wizard_id_wizard_id_fk": {
824
+ "name": "store_row_wizard_id_wizard_id_fk",
825
+ "tableFrom": "store_row",
826
+ "tableTo": "wizard",
827
+ "columnsFrom": [
828
+ "wizard_id"
829
+ ],
830
+ "columnsTo": [
831
+ "id"
832
+ ],
833
+ "onDelete": "cascade",
834
+ "onUpdate": "no action"
835
+ }
836
+ },
837
+ "compositePrimaryKeys": {},
838
+ "uniqueConstraints": {},
839
+ "checkConstraints": {}
840
+ },
841
+ "store_secret": {
842
+ "name": "store_secret",
843
+ "columns": {
844
+ "id": {
845
+ "name": "id",
846
+ "type": "text",
847
+ "primaryKey": true,
848
+ "notNull": true,
849
+ "autoincrement": false
850
+ },
851
+ "wizard_id": {
852
+ "name": "wizard_id",
853
+ "type": "text",
854
+ "primaryKey": false,
855
+ "notNull": true,
856
+ "autoincrement": false
857
+ },
858
+ "holder": {
859
+ "name": "holder",
860
+ "type": "text",
861
+ "primaryKey": false,
862
+ "notNull": true,
863
+ "autoincrement": false
864
+ },
865
+ "slot": {
866
+ "name": "slot",
867
+ "type": "text",
868
+ "primaryKey": false,
869
+ "notNull": true,
870
+ "autoincrement": false
871
+ },
872
+ "provider": {
873
+ "name": "provider",
874
+ "type": "text",
875
+ "primaryKey": false,
876
+ "notNull": true,
877
+ "autoincrement": false
878
+ },
879
+ "label": {
880
+ "name": "label",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": true,
884
+ "autoincrement": false
885
+ },
886
+ "data": {
887
+ "name": "data",
888
+ "type": "text",
889
+ "primaryKey": false,
890
+ "notNull": true,
891
+ "autoincrement": false
892
+ },
893
+ "created_at": {
894
+ "name": "created_at",
895
+ "type": "integer",
896
+ "primaryKey": false,
897
+ "notNull": true,
898
+ "autoincrement": false,
899
+ "default": "(unixepoch() * 1000)"
900
+ },
901
+ "updated_at": {
902
+ "name": "updated_at",
903
+ "type": "integer",
904
+ "primaryKey": false,
905
+ "notNull": true,
906
+ "autoincrement": false,
907
+ "default": "(unixepoch() * 1000)"
908
+ }
909
+ },
910
+ "indexes": {
911
+ "store_secret_slot": {
912
+ "name": "store_secret_slot",
913
+ "columns": [
914
+ "wizard_id",
915
+ "holder",
916
+ "slot"
917
+ ],
918
+ "isUnique": true
919
+ }
920
+ },
921
+ "foreignKeys": {
922
+ "store_secret_wizard_id_wizard_id_fk": {
923
+ "name": "store_secret_wizard_id_wizard_id_fk",
924
+ "tableFrom": "store_secret",
925
+ "tableTo": "wizard",
926
+ "columnsFrom": [
927
+ "wizard_id"
928
+ ],
929
+ "columnsTo": [
930
+ "id"
931
+ ],
932
+ "onDelete": "cascade",
933
+ "onUpdate": "no action"
934
+ }
935
+ },
936
+ "compositePrimaryKeys": {},
937
+ "uniqueConstraints": {},
938
+ "checkConstraints": {}
939
+ },
940
+ "wizard": {
941
+ "name": "wizard",
942
+ "columns": {
943
+ "id": {
944
+ "name": "id",
945
+ "type": "text",
946
+ "primaryKey": true,
947
+ "notNull": true,
948
+ "autoincrement": false
949
+ },
950
+ "project_id": {
951
+ "name": "project_id",
952
+ "type": "text",
953
+ "primaryKey": false,
954
+ "notNull": true,
955
+ "autoincrement": false
956
+ },
957
+ "tenant_id": {
958
+ "name": "tenant_id",
959
+ "type": "text",
960
+ "primaryKey": false,
961
+ "notNull": true,
962
+ "autoincrement": false
963
+ },
964
+ "title": {
965
+ "name": "title",
966
+ "type": "text",
967
+ "primaryKey": false,
968
+ "notNull": true,
969
+ "autoincrement": false
970
+ },
971
+ "draft": {
972
+ "name": "draft",
973
+ "type": "text",
974
+ "primaryKey": false,
975
+ "notNull": true,
976
+ "autoincrement": false
977
+ },
978
+ "published_version": {
979
+ "name": "published_version",
980
+ "type": "integer",
981
+ "primaryKey": false,
982
+ "notNull": false,
983
+ "autoincrement": false
984
+ },
985
+ "share_token": {
986
+ "name": "share_token",
987
+ "type": "text",
988
+ "primaryKey": false,
989
+ "notNull": true,
990
+ "autoincrement": false
991
+ },
992
+ "share_enabled": {
993
+ "name": "share_enabled",
994
+ "type": "integer",
995
+ "primaryKey": false,
996
+ "notNull": true,
997
+ "autoincrement": false,
998
+ "default": true
999
+ },
1000
+ "daily_run_limit": {
1001
+ "name": "daily_run_limit",
1002
+ "type": "integer",
1003
+ "primaryKey": false,
1004
+ "notNull": true,
1005
+ "autoincrement": false,
1006
+ "default": 50
1007
+ },
1008
+ "starter": {
1009
+ "name": "starter",
1010
+ "type": "text",
1011
+ "primaryKey": false,
1012
+ "notNull": false,
1013
+ "autoincrement": false
1014
+ },
1015
+ "revision": {
1016
+ "name": "revision",
1017
+ "type": "integer",
1018
+ "primaryKey": false,
1019
+ "notNull": true,
1020
+ "autoincrement": false,
1021
+ "default": 0
1022
+ },
1023
+ "created_at": {
1024
+ "name": "created_at",
1025
+ "type": "integer",
1026
+ "primaryKey": false,
1027
+ "notNull": true,
1028
+ "autoincrement": false,
1029
+ "default": "(unixepoch() * 1000)"
1030
+ },
1031
+ "updated_at": {
1032
+ "name": "updated_at",
1033
+ "type": "integer",
1034
+ "primaryKey": false,
1035
+ "notNull": true,
1036
+ "autoincrement": false,
1037
+ "default": "(unixepoch() * 1000)"
1038
+ }
1039
+ },
1040
+ "indexes": {
1041
+ "wizard_share_token": {
1042
+ "name": "wizard_share_token",
1043
+ "columns": [
1044
+ "share_token"
1045
+ ],
1046
+ "isUnique": true
1047
+ },
1048
+ "wizard_project": {
1049
+ "name": "wizard_project",
1050
+ "columns": [
1051
+ "project_id"
1052
+ ],
1053
+ "isUnique": false
1054
+ }
1055
+ },
1056
+ "foreignKeys": {
1057
+ "wizard_project_id_project_id_fk": {
1058
+ "name": "wizard_project_id_project_id_fk",
1059
+ "tableFrom": "wizard",
1060
+ "tableTo": "project",
1061
+ "columnsFrom": [
1062
+ "project_id"
1063
+ ],
1064
+ "columnsTo": [
1065
+ "id"
1066
+ ],
1067
+ "onDelete": "cascade",
1068
+ "onUpdate": "no action"
1069
+ }
1070
+ },
1071
+ "compositePrimaryKeys": {},
1072
+ "uniqueConstraints": {},
1073
+ "checkConstraints": {}
1074
+ },
1075
+ "wizard_file": {
1076
+ "name": "wizard_file",
1077
+ "columns": {
1078
+ "wizard_id": {
1079
+ "name": "wizard_id",
1080
+ "type": "text",
1081
+ "primaryKey": false,
1082
+ "notNull": true,
1083
+ "autoincrement": false
1084
+ },
1085
+ "path": {
1086
+ "name": "path",
1087
+ "type": "text",
1088
+ "primaryKey": false,
1089
+ "notNull": true,
1090
+ "autoincrement": false
1091
+ },
1092
+ "hash": {
1093
+ "name": "hash",
1094
+ "type": "text",
1095
+ "primaryKey": false,
1096
+ "notNull": true,
1097
+ "autoincrement": false
1098
+ },
1099
+ "mime": {
1100
+ "name": "mime",
1101
+ "type": "text",
1102
+ "primaryKey": false,
1103
+ "notNull": true,
1104
+ "autoincrement": false
1105
+ },
1106
+ "size": {
1107
+ "name": "size",
1108
+ "type": "integer",
1109
+ "primaryKey": false,
1110
+ "notNull": true,
1111
+ "autoincrement": false
1112
+ },
1113
+ "updated_at": {
1114
+ "name": "updated_at",
1115
+ "type": "integer",
1116
+ "primaryKey": false,
1117
+ "notNull": true,
1118
+ "autoincrement": false,
1119
+ "default": "(unixepoch() * 1000)"
1120
+ }
1121
+ },
1122
+ "indexes": {},
1123
+ "foreignKeys": {
1124
+ "wizard_file_wizard_id_wizard_id_fk": {
1125
+ "name": "wizard_file_wizard_id_wizard_id_fk",
1126
+ "tableFrom": "wizard_file",
1127
+ "tableTo": "wizard",
1128
+ "columnsFrom": [
1129
+ "wizard_id"
1130
+ ],
1131
+ "columnsTo": [
1132
+ "id"
1133
+ ],
1134
+ "onDelete": "cascade",
1135
+ "onUpdate": "no action"
1136
+ }
1137
+ },
1138
+ "compositePrimaryKeys": {
1139
+ "wizard_file_wizard_id_path_pk": {
1140
+ "columns": [
1141
+ "wizard_id",
1142
+ "path"
1143
+ ],
1144
+ "name": "wizard_file_wizard_id_path_pk"
1145
+ }
1146
+ },
1147
+ "uniqueConstraints": {},
1148
+ "checkConstraints": {}
1149
+ },
1150
+ "wizard_message": {
1151
+ "name": "wizard_message",
1152
+ "columns": {
1153
+ "id": {
1154
+ "name": "id",
1155
+ "type": "text",
1156
+ "primaryKey": true,
1157
+ "notNull": true,
1158
+ "autoincrement": false
1159
+ },
1160
+ "wizard_id": {
1161
+ "name": "wizard_id",
1162
+ "type": "text",
1163
+ "primaryKey": false,
1164
+ "notNull": true,
1165
+ "autoincrement": false
1166
+ },
1167
+ "role": {
1168
+ "name": "role",
1169
+ "type": "text",
1170
+ "primaryKey": false,
1171
+ "notNull": true,
1172
+ "autoincrement": false
1173
+ },
1174
+ "content": {
1175
+ "name": "content",
1176
+ "type": "text",
1177
+ "primaryKey": false,
1178
+ "notNull": true,
1179
+ "autoincrement": false
1180
+ },
1181
+ "changed": {
1182
+ "name": "changed",
1183
+ "type": "integer",
1184
+ "primaryKey": false,
1185
+ "notNull": true,
1186
+ "autoincrement": false,
1187
+ "default": false
1188
+ },
1189
+ "source": {
1190
+ "name": "source",
1191
+ "type": "text",
1192
+ "primaryKey": false,
1193
+ "notNull": true,
1194
+ "autoincrement": false,
1195
+ "default": "'studio'"
1196
+ },
1197
+ "client": {
1198
+ "name": "client",
1199
+ "type": "text",
1200
+ "primaryKey": false,
1201
+ "notNull": false,
1202
+ "autoincrement": false
1203
+ },
1204
+ "created_at": {
1205
+ "name": "created_at",
1206
+ "type": "integer",
1207
+ "primaryKey": false,
1208
+ "notNull": true,
1209
+ "autoincrement": false,
1210
+ "default": "(unixepoch() * 1000)"
1211
+ }
1212
+ },
1213
+ "indexes": {
1214
+ "wizard_message_wizard": {
1215
+ "name": "wizard_message_wizard",
1216
+ "columns": [
1217
+ "wizard_id",
1218
+ "created_at"
1219
+ ],
1220
+ "isUnique": false
1221
+ }
1222
+ },
1223
+ "foreignKeys": {
1224
+ "wizard_message_wizard_id_wizard_id_fk": {
1225
+ "name": "wizard_message_wizard_id_wizard_id_fk",
1226
+ "tableFrom": "wizard_message",
1227
+ "tableTo": "wizard",
1228
+ "columnsFrom": [
1229
+ "wizard_id"
1230
+ ],
1231
+ "columnsTo": [
1232
+ "id"
1233
+ ],
1234
+ "onDelete": "cascade",
1235
+ "onUpdate": "no action"
1236
+ }
1237
+ },
1238
+ "compositePrimaryKeys": {},
1239
+ "uniqueConstraints": {},
1240
+ "checkConstraints": {}
1241
+ },
1242
+ "wizard_version": {
1243
+ "name": "wizard_version",
1244
+ "columns": {
1245
+ "id": {
1246
+ "name": "id",
1247
+ "type": "text",
1248
+ "primaryKey": true,
1249
+ "notNull": true,
1250
+ "autoincrement": false
1251
+ },
1252
+ "wizard_id": {
1253
+ "name": "wizard_id",
1254
+ "type": "text",
1255
+ "primaryKey": false,
1256
+ "notNull": true,
1257
+ "autoincrement": false
1258
+ },
1259
+ "version": {
1260
+ "name": "version",
1261
+ "type": "integer",
1262
+ "primaryKey": false,
1263
+ "notNull": true,
1264
+ "autoincrement": false
1265
+ },
1266
+ "definition": {
1267
+ "name": "definition",
1268
+ "type": "text",
1269
+ "primaryKey": false,
1270
+ "notNull": true,
1271
+ "autoincrement": false
1272
+ },
1273
+ "files": {
1274
+ "name": "files",
1275
+ "type": "text",
1276
+ "primaryKey": false,
1277
+ "notNull": true,
1278
+ "autoincrement": false,
1279
+ "default": "'[]'"
1280
+ },
1281
+ "created_at": {
1282
+ "name": "created_at",
1283
+ "type": "integer",
1284
+ "primaryKey": false,
1285
+ "notNull": true,
1286
+ "autoincrement": false,
1287
+ "default": "(unixepoch() * 1000)"
1288
+ }
1289
+ },
1290
+ "indexes": {
1291
+ "wizard_version_n": {
1292
+ "name": "wizard_version_n",
1293
+ "columns": [
1294
+ "wizard_id",
1295
+ "version"
1296
+ ],
1297
+ "isUnique": true
1298
+ }
1299
+ },
1300
+ "foreignKeys": {
1301
+ "wizard_version_wizard_id_wizard_id_fk": {
1302
+ "name": "wizard_version_wizard_id_wizard_id_fk",
1303
+ "tableFrom": "wizard_version",
1304
+ "tableTo": "wizard",
1305
+ "columnsFrom": [
1306
+ "wizard_id"
1307
+ ],
1308
+ "columnsTo": [
1309
+ "id"
1310
+ ],
1311
+ "onDelete": "cascade",
1312
+ "onUpdate": "no action"
1313
+ }
1314
+ },
1315
+ "compositePrimaryKeys": {},
1316
+ "uniqueConstraints": {},
1317
+ "checkConstraints": {}
1318
+ }
1319
+ },
1320
+ "views": {},
1321
+ "enums": {},
1322
+ "_meta": {
1323
+ "schemas": {},
1324
+ "tables": {},
1325
+ "columns": {}
1326
+ },
1327
+ "internal": {
1328
+ "indexes": {}
1329
+ }
1330
+ }