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,1323 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "68ce46b3-ed73-4a57-a103-497c0730d7f2",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
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
+ "created_at": {
542
+ "name": "created_at",
543
+ "type": "integer",
544
+ "primaryKey": false,
545
+ "notNull": true,
546
+ "autoincrement": false,
547
+ "default": "(unixepoch() * 1000)"
548
+ }
549
+ },
550
+ "indexes": {
551
+ "run_event_run": {
552
+ "name": "run_event_run",
553
+ "columns": [
554
+ "run_id",
555
+ "id"
556
+ ],
557
+ "isUnique": false
558
+ }
559
+ },
560
+ "foreignKeys": {
561
+ "run_event_run_id_run_id_fk": {
562
+ "name": "run_event_run_id_run_id_fk",
563
+ "tableFrom": "run_event",
564
+ "tableTo": "run",
565
+ "columnsFrom": [
566
+ "run_id"
567
+ ],
568
+ "columnsTo": [
569
+ "id"
570
+ ],
571
+ "onDelete": "cascade",
572
+ "onUpdate": "no action"
573
+ }
574
+ },
575
+ "compositePrimaryKeys": {},
576
+ "uniqueConstraints": {},
577
+ "checkConstraints": {}
578
+ },
579
+ "store_file": {
580
+ "name": "store_file",
581
+ "columns": {
582
+ "wizard_id": {
583
+ "name": "wizard_id",
584
+ "type": "text",
585
+ "primaryKey": false,
586
+ "notNull": true,
587
+ "autoincrement": false
588
+ },
589
+ "holder": {
590
+ "name": "holder",
591
+ "type": "text",
592
+ "primaryKey": false,
593
+ "notNull": true,
594
+ "autoincrement": false
595
+ },
596
+ "path": {
597
+ "name": "path",
598
+ "type": "text",
599
+ "primaryKey": false,
600
+ "notNull": true,
601
+ "autoincrement": false
602
+ },
603
+ "hash": {
604
+ "name": "hash",
605
+ "type": "text",
606
+ "primaryKey": false,
607
+ "notNull": true,
608
+ "autoincrement": false
609
+ },
610
+ "mime": {
611
+ "name": "mime",
612
+ "type": "text",
613
+ "primaryKey": false,
614
+ "notNull": true,
615
+ "autoincrement": false
616
+ },
617
+ "size": {
618
+ "name": "size",
619
+ "type": "integer",
620
+ "primaryKey": false,
621
+ "notNull": true,
622
+ "autoincrement": false
623
+ },
624
+ "source": {
625
+ "name": "source",
626
+ "type": "text",
627
+ "primaryKey": false,
628
+ "notNull": false,
629
+ "autoincrement": false
630
+ },
631
+ "updated_at": {
632
+ "name": "updated_at",
633
+ "type": "integer",
634
+ "primaryKey": false,
635
+ "notNull": true,
636
+ "autoincrement": false,
637
+ "default": "(unixepoch() * 1000)"
638
+ }
639
+ },
640
+ "indexes": {},
641
+ "foreignKeys": {
642
+ "store_file_wizard_id_wizard_id_fk": {
643
+ "name": "store_file_wizard_id_wizard_id_fk",
644
+ "tableFrom": "store_file",
645
+ "tableTo": "wizard",
646
+ "columnsFrom": [
647
+ "wizard_id"
648
+ ],
649
+ "columnsTo": [
650
+ "id"
651
+ ],
652
+ "onDelete": "cascade",
653
+ "onUpdate": "no action"
654
+ }
655
+ },
656
+ "compositePrimaryKeys": {
657
+ "store_file_wizard_id_holder_path_pk": {
658
+ "columns": [
659
+ "wizard_id",
660
+ "holder",
661
+ "path"
662
+ ],
663
+ "name": "store_file_wizard_id_holder_path_pk"
664
+ }
665
+ },
666
+ "uniqueConstraints": {},
667
+ "checkConstraints": {}
668
+ },
669
+ "store_holder": {
670
+ "name": "store_holder",
671
+ "columns": {
672
+ "wizard_id": {
673
+ "name": "wizard_id",
674
+ "type": "text",
675
+ "primaryKey": false,
676
+ "notNull": true,
677
+ "autoincrement": false
678
+ },
679
+ "holder": {
680
+ "name": "holder",
681
+ "type": "text",
682
+ "primaryKey": false,
683
+ "notNull": true,
684
+ "autoincrement": false
685
+ },
686
+ "used_at": {
687
+ "name": "used_at",
688
+ "type": "integer",
689
+ "primaryKey": false,
690
+ "notNull": true,
691
+ "autoincrement": false,
692
+ "default": "(unixepoch() * 1000)"
693
+ }
694
+ },
695
+ "indexes": {
696
+ "store_holder_used": {
697
+ "name": "store_holder_used",
698
+ "columns": [
699
+ "used_at"
700
+ ],
701
+ "isUnique": false
702
+ }
703
+ },
704
+ "foreignKeys": {
705
+ "store_holder_wizard_id_wizard_id_fk": {
706
+ "name": "store_holder_wizard_id_wizard_id_fk",
707
+ "tableFrom": "store_holder",
708
+ "tableTo": "wizard",
709
+ "columnsFrom": [
710
+ "wizard_id"
711
+ ],
712
+ "columnsTo": [
713
+ "id"
714
+ ],
715
+ "onDelete": "cascade",
716
+ "onUpdate": "no action"
717
+ }
718
+ },
719
+ "compositePrimaryKeys": {
720
+ "store_holder_wizard_id_holder_pk": {
721
+ "columns": [
722
+ "wizard_id",
723
+ "holder"
724
+ ],
725
+ "name": "store_holder_wizard_id_holder_pk"
726
+ }
727
+ },
728
+ "uniqueConstraints": {},
729
+ "checkConstraints": {}
730
+ },
731
+ "store_row": {
732
+ "name": "store_row",
733
+ "columns": {
734
+ "id": {
735
+ "name": "id",
736
+ "type": "text",
737
+ "primaryKey": true,
738
+ "notNull": true,
739
+ "autoincrement": false
740
+ },
741
+ "wizard_id": {
742
+ "name": "wizard_id",
743
+ "type": "text",
744
+ "primaryKey": false,
745
+ "notNull": true,
746
+ "autoincrement": false
747
+ },
748
+ "holder": {
749
+ "name": "holder",
750
+ "type": "text",
751
+ "primaryKey": false,
752
+ "notNull": true,
753
+ "autoincrement": false
754
+ },
755
+ "list": {
756
+ "name": "list",
757
+ "type": "text",
758
+ "primaryKey": false,
759
+ "notNull": true,
760
+ "autoincrement": false
761
+ },
762
+ "key": {
763
+ "name": "key",
764
+ "type": "text",
765
+ "primaryKey": false,
766
+ "notNull": false,
767
+ "autoincrement": false
768
+ },
769
+ "cells": {
770
+ "name": "cells",
771
+ "type": "text",
772
+ "primaryKey": false,
773
+ "notNull": true,
774
+ "autoincrement": false
775
+ },
776
+ "created_at": {
777
+ "name": "created_at",
778
+ "type": "integer",
779
+ "primaryKey": false,
780
+ "notNull": true,
781
+ "autoincrement": false,
782
+ "default": "(unixepoch() * 1000)"
783
+ },
784
+ "updated_at": {
785
+ "name": "updated_at",
786
+ "type": "integer",
787
+ "primaryKey": false,
788
+ "notNull": true,
789
+ "autoincrement": false,
790
+ "default": "(unixepoch() * 1000)"
791
+ }
792
+ },
793
+ "indexes": {
794
+ "store_row_key": {
795
+ "name": "store_row_key",
796
+ "columns": [
797
+ "wizard_id",
798
+ "holder",
799
+ "list",
800
+ "key"
801
+ ],
802
+ "isUnique": true
803
+ },
804
+ "store_row_list": {
805
+ "name": "store_row_list",
806
+ "columns": [
807
+ "wizard_id",
808
+ "holder",
809
+ "list",
810
+ "created_at"
811
+ ],
812
+ "isUnique": false
813
+ }
814
+ },
815
+ "foreignKeys": {
816
+ "store_row_wizard_id_wizard_id_fk": {
817
+ "name": "store_row_wizard_id_wizard_id_fk",
818
+ "tableFrom": "store_row",
819
+ "tableTo": "wizard",
820
+ "columnsFrom": [
821
+ "wizard_id"
822
+ ],
823
+ "columnsTo": [
824
+ "id"
825
+ ],
826
+ "onDelete": "cascade",
827
+ "onUpdate": "no action"
828
+ }
829
+ },
830
+ "compositePrimaryKeys": {},
831
+ "uniqueConstraints": {},
832
+ "checkConstraints": {}
833
+ },
834
+ "store_secret": {
835
+ "name": "store_secret",
836
+ "columns": {
837
+ "id": {
838
+ "name": "id",
839
+ "type": "text",
840
+ "primaryKey": true,
841
+ "notNull": true,
842
+ "autoincrement": false
843
+ },
844
+ "wizard_id": {
845
+ "name": "wizard_id",
846
+ "type": "text",
847
+ "primaryKey": false,
848
+ "notNull": true,
849
+ "autoincrement": false
850
+ },
851
+ "holder": {
852
+ "name": "holder",
853
+ "type": "text",
854
+ "primaryKey": false,
855
+ "notNull": true,
856
+ "autoincrement": false
857
+ },
858
+ "slot": {
859
+ "name": "slot",
860
+ "type": "text",
861
+ "primaryKey": false,
862
+ "notNull": true,
863
+ "autoincrement": false
864
+ },
865
+ "provider": {
866
+ "name": "provider",
867
+ "type": "text",
868
+ "primaryKey": false,
869
+ "notNull": true,
870
+ "autoincrement": false
871
+ },
872
+ "label": {
873
+ "name": "label",
874
+ "type": "text",
875
+ "primaryKey": false,
876
+ "notNull": true,
877
+ "autoincrement": false
878
+ },
879
+ "data": {
880
+ "name": "data",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": true,
884
+ "autoincrement": false
885
+ },
886
+ "created_at": {
887
+ "name": "created_at",
888
+ "type": "integer",
889
+ "primaryKey": false,
890
+ "notNull": true,
891
+ "autoincrement": false,
892
+ "default": "(unixepoch() * 1000)"
893
+ },
894
+ "updated_at": {
895
+ "name": "updated_at",
896
+ "type": "integer",
897
+ "primaryKey": false,
898
+ "notNull": true,
899
+ "autoincrement": false,
900
+ "default": "(unixepoch() * 1000)"
901
+ }
902
+ },
903
+ "indexes": {
904
+ "store_secret_slot": {
905
+ "name": "store_secret_slot",
906
+ "columns": [
907
+ "wizard_id",
908
+ "holder",
909
+ "slot"
910
+ ],
911
+ "isUnique": true
912
+ }
913
+ },
914
+ "foreignKeys": {
915
+ "store_secret_wizard_id_wizard_id_fk": {
916
+ "name": "store_secret_wizard_id_wizard_id_fk",
917
+ "tableFrom": "store_secret",
918
+ "tableTo": "wizard",
919
+ "columnsFrom": [
920
+ "wizard_id"
921
+ ],
922
+ "columnsTo": [
923
+ "id"
924
+ ],
925
+ "onDelete": "cascade",
926
+ "onUpdate": "no action"
927
+ }
928
+ },
929
+ "compositePrimaryKeys": {},
930
+ "uniqueConstraints": {},
931
+ "checkConstraints": {}
932
+ },
933
+ "wizard": {
934
+ "name": "wizard",
935
+ "columns": {
936
+ "id": {
937
+ "name": "id",
938
+ "type": "text",
939
+ "primaryKey": true,
940
+ "notNull": true,
941
+ "autoincrement": false
942
+ },
943
+ "project_id": {
944
+ "name": "project_id",
945
+ "type": "text",
946
+ "primaryKey": false,
947
+ "notNull": true,
948
+ "autoincrement": false
949
+ },
950
+ "tenant_id": {
951
+ "name": "tenant_id",
952
+ "type": "text",
953
+ "primaryKey": false,
954
+ "notNull": true,
955
+ "autoincrement": false
956
+ },
957
+ "title": {
958
+ "name": "title",
959
+ "type": "text",
960
+ "primaryKey": false,
961
+ "notNull": true,
962
+ "autoincrement": false
963
+ },
964
+ "draft": {
965
+ "name": "draft",
966
+ "type": "text",
967
+ "primaryKey": false,
968
+ "notNull": true,
969
+ "autoincrement": false
970
+ },
971
+ "published_version": {
972
+ "name": "published_version",
973
+ "type": "integer",
974
+ "primaryKey": false,
975
+ "notNull": false,
976
+ "autoincrement": false
977
+ },
978
+ "share_token": {
979
+ "name": "share_token",
980
+ "type": "text",
981
+ "primaryKey": false,
982
+ "notNull": true,
983
+ "autoincrement": false
984
+ },
985
+ "share_enabled": {
986
+ "name": "share_enabled",
987
+ "type": "integer",
988
+ "primaryKey": false,
989
+ "notNull": true,
990
+ "autoincrement": false,
991
+ "default": true
992
+ },
993
+ "daily_run_limit": {
994
+ "name": "daily_run_limit",
995
+ "type": "integer",
996
+ "primaryKey": false,
997
+ "notNull": true,
998
+ "autoincrement": false,
999
+ "default": 50
1000
+ },
1001
+ "starter": {
1002
+ "name": "starter",
1003
+ "type": "text",
1004
+ "primaryKey": false,
1005
+ "notNull": false,
1006
+ "autoincrement": false
1007
+ },
1008
+ "revision": {
1009
+ "name": "revision",
1010
+ "type": "integer",
1011
+ "primaryKey": false,
1012
+ "notNull": true,
1013
+ "autoincrement": false,
1014
+ "default": 0
1015
+ },
1016
+ "created_at": {
1017
+ "name": "created_at",
1018
+ "type": "integer",
1019
+ "primaryKey": false,
1020
+ "notNull": true,
1021
+ "autoincrement": false,
1022
+ "default": "(unixepoch() * 1000)"
1023
+ },
1024
+ "updated_at": {
1025
+ "name": "updated_at",
1026
+ "type": "integer",
1027
+ "primaryKey": false,
1028
+ "notNull": true,
1029
+ "autoincrement": false,
1030
+ "default": "(unixepoch() * 1000)"
1031
+ }
1032
+ },
1033
+ "indexes": {
1034
+ "wizard_share_token": {
1035
+ "name": "wizard_share_token",
1036
+ "columns": [
1037
+ "share_token"
1038
+ ],
1039
+ "isUnique": true
1040
+ },
1041
+ "wizard_project": {
1042
+ "name": "wizard_project",
1043
+ "columns": [
1044
+ "project_id"
1045
+ ],
1046
+ "isUnique": false
1047
+ }
1048
+ },
1049
+ "foreignKeys": {
1050
+ "wizard_project_id_project_id_fk": {
1051
+ "name": "wizard_project_id_project_id_fk",
1052
+ "tableFrom": "wizard",
1053
+ "tableTo": "project",
1054
+ "columnsFrom": [
1055
+ "project_id"
1056
+ ],
1057
+ "columnsTo": [
1058
+ "id"
1059
+ ],
1060
+ "onDelete": "cascade",
1061
+ "onUpdate": "no action"
1062
+ }
1063
+ },
1064
+ "compositePrimaryKeys": {},
1065
+ "uniqueConstraints": {},
1066
+ "checkConstraints": {}
1067
+ },
1068
+ "wizard_file": {
1069
+ "name": "wizard_file",
1070
+ "columns": {
1071
+ "wizard_id": {
1072
+ "name": "wizard_id",
1073
+ "type": "text",
1074
+ "primaryKey": false,
1075
+ "notNull": true,
1076
+ "autoincrement": false
1077
+ },
1078
+ "path": {
1079
+ "name": "path",
1080
+ "type": "text",
1081
+ "primaryKey": false,
1082
+ "notNull": true,
1083
+ "autoincrement": false
1084
+ },
1085
+ "hash": {
1086
+ "name": "hash",
1087
+ "type": "text",
1088
+ "primaryKey": false,
1089
+ "notNull": true,
1090
+ "autoincrement": false
1091
+ },
1092
+ "mime": {
1093
+ "name": "mime",
1094
+ "type": "text",
1095
+ "primaryKey": false,
1096
+ "notNull": true,
1097
+ "autoincrement": false
1098
+ },
1099
+ "size": {
1100
+ "name": "size",
1101
+ "type": "integer",
1102
+ "primaryKey": false,
1103
+ "notNull": true,
1104
+ "autoincrement": false
1105
+ },
1106
+ "updated_at": {
1107
+ "name": "updated_at",
1108
+ "type": "integer",
1109
+ "primaryKey": false,
1110
+ "notNull": true,
1111
+ "autoincrement": false,
1112
+ "default": "(unixepoch() * 1000)"
1113
+ }
1114
+ },
1115
+ "indexes": {},
1116
+ "foreignKeys": {
1117
+ "wizard_file_wizard_id_wizard_id_fk": {
1118
+ "name": "wizard_file_wizard_id_wizard_id_fk",
1119
+ "tableFrom": "wizard_file",
1120
+ "tableTo": "wizard",
1121
+ "columnsFrom": [
1122
+ "wizard_id"
1123
+ ],
1124
+ "columnsTo": [
1125
+ "id"
1126
+ ],
1127
+ "onDelete": "cascade",
1128
+ "onUpdate": "no action"
1129
+ }
1130
+ },
1131
+ "compositePrimaryKeys": {
1132
+ "wizard_file_wizard_id_path_pk": {
1133
+ "columns": [
1134
+ "wizard_id",
1135
+ "path"
1136
+ ],
1137
+ "name": "wizard_file_wizard_id_path_pk"
1138
+ }
1139
+ },
1140
+ "uniqueConstraints": {},
1141
+ "checkConstraints": {}
1142
+ },
1143
+ "wizard_message": {
1144
+ "name": "wizard_message",
1145
+ "columns": {
1146
+ "id": {
1147
+ "name": "id",
1148
+ "type": "text",
1149
+ "primaryKey": true,
1150
+ "notNull": true,
1151
+ "autoincrement": false
1152
+ },
1153
+ "wizard_id": {
1154
+ "name": "wizard_id",
1155
+ "type": "text",
1156
+ "primaryKey": false,
1157
+ "notNull": true,
1158
+ "autoincrement": false
1159
+ },
1160
+ "role": {
1161
+ "name": "role",
1162
+ "type": "text",
1163
+ "primaryKey": false,
1164
+ "notNull": true,
1165
+ "autoincrement": false
1166
+ },
1167
+ "content": {
1168
+ "name": "content",
1169
+ "type": "text",
1170
+ "primaryKey": false,
1171
+ "notNull": true,
1172
+ "autoincrement": false
1173
+ },
1174
+ "changed": {
1175
+ "name": "changed",
1176
+ "type": "integer",
1177
+ "primaryKey": false,
1178
+ "notNull": true,
1179
+ "autoincrement": false,
1180
+ "default": false
1181
+ },
1182
+ "source": {
1183
+ "name": "source",
1184
+ "type": "text",
1185
+ "primaryKey": false,
1186
+ "notNull": true,
1187
+ "autoincrement": false,
1188
+ "default": "'studio'"
1189
+ },
1190
+ "client": {
1191
+ "name": "client",
1192
+ "type": "text",
1193
+ "primaryKey": false,
1194
+ "notNull": false,
1195
+ "autoincrement": false
1196
+ },
1197
+ "created_at": {
1198
+ "name": "created_at",
1199
+ "type": "integer",
1200
+ "primaryKey": false,
1201
+ "notNull": true,
1202
+ "autoincrement": false,
1203
+ "default": "(unixepoch() * 1000)"
1204
+ }
1205
+ },
1206
+ "indexes": {
1207
+ "wizard_message_wizard": {
1208
+ "name": "wizard_message_wizard",
1209
+ "columns": [
1210
+ "wizard_id",
1211
+ "created_at"
1212
+ ],
1213
+ "isUnique": false
1214
+ }
1215
+ },
1216
+ "foreignKeys": {
1217
+ "wizard_message_wizard_id_wizard_id_fk": {
1218
+ "name": "wizard_message_wizard_id_wizard_id_fk",
1219
+ "tableFrom": "wizard_message",
1220
+ "tableTo": "wizard",
1221
+ "columnsFrom": [
1222
+ "wizard_id"
1223
+ ],
1224
+ "columnsTo": [
1225
+ "id"
1226
+ ],
1227
+ "onDelete": "cascade",
1228
+ "onUpdate": "no action"
1229
+ }
1230
+ },
1231
+ "compositePrimaryKeys": {},
1232
+ "uniqueConstraints": {},
1233
+ "checkConstraints": {}
1234
+ },
1235
+ "wizard_version": {
1236
+ "name": "wizard_version",
1237
+ "columns": {
1238
+ "id": {
1239
+ "name": "id",
1240
+ "type": "text",
1241
+ "primaryKey": true,
1242
+ "notNull": true,
1243
+ "autoincrement": false
1244
+ },
1245
+ "wizard_id": {
1246
+ "name": "wizard_id",
1247
+ "type": "text",
1248
+ "primaryKey": false,
1249
+ "notNull": true,
1250
+ "autoincrement": false
1251
+ },
1252
+ "version": {
1253
+ "name": "version",
1254
+ "type": "integer",
1255
+ "primaryKey": false,
1256
+ "notNull": true,
1257
+ "autoincrement": false
1258
+ },
1259
+ "definition": {
1260
+ "name": "definition",
1261
+ "type": "text",
1262
+ "primaryKey": false,
1263
+ "notNull": true,
1264
+ "autoincrement": false
1265
+ },
1266
+ "files": {
1267
+ "name": "files",
1268
+ "type": "text",
1269
+ "primaryKey": false,
1270
+ "notNull": true,
1271
+ "autoincrement": false,
1272
+ "default": "'[]'"
1273
+ },
1274
+ "created_at": {
1275
+ "name": "created_at",
1276
+ "type": "integer",
1277
+ "primaryKey": false,
1278
+ "notNull": true,
1279
+ "autoincrement": false,
1280
+ "default": "(unixepoch() * 1000)"
1281
+ }
1282
+ },
1283
+ "indexes": {
1284
+ "wizard_version_n": {
1285
+ "name": "wizard_version_n",
1286
+ "columns": [
1287
+ "wizard_id",
1288
+ "version"
1289
+ ],
1290
+ "isUnique": true
1291
+ }
1292
+ },
1293
+ "foreignKeys": {
1294
+ "wizard_version_wizard_id_wizard_id_fk": {
1295
+ "name": "wizard_version_wizard_id_wizard_id_fk",
1296
+ "tableFrom": "wizard_version",
1297
+ "tableTo": "wizard",
1298
+ "columnsFrom": [
1299
+ "wizard_id"
1300
+ ],
1301
+ "columnsTo": [
1302
+ "id"
1303
+ ],
1304
+ "onDelete": "cascade",
1305
+ "onUpdate": "no action"
1306
+ }
1307
+ },
1308
+ "compositePrimaryKeys": {},
1309
+ "uniqueConstraints": {},
1310
+ "checkConstraints": {}
1311
+ }
1312
+ },
1313
+ "views": {},
1314
+ "enums": {},
1315
+ "_meta": {
1316
+ "schemas": {},
1317
+ "tables": {},
1318
+ "columns": {}
1319
+ },
1320
+ "internal": {
1321
+ "indexes": {}
1322
+ }
1323
+ }