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,1605 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "2842e317-b0f1-4603-906e-8f766611c9fe",
5
+ "prevId": "ad5ef12b-6ce7-4dd4-85eb-697a5ffa868d",
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
+ "facts": {
129
+ "name": "facts",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": true,
133
+ "autoincrement": false,
134
+ "default": "'[]'"
135
+ },
136
+ "mcp_servers": {
137
+ "name": "mcp_servers",
138
+ "type": "text",
139
+ "primaryKey": false,
140
+ "notNull": true,
141
+ "autoincrement": false,
142
+ "default": "'[]'"
143
+ },
144
+ "created_at": {
145
+ "name": "created_at",
146
+ "type": "integer",
147
+ "primaryKey": false,
148
+ "notNull": true,
149
+ "autoincrement": false,
150
+ "default": "(unixepoch() * 1000)"
151
+ },
152
+ "updated_at": {
153
+ "name": "updated_at",
154
+ "type": "integer",
155
+ "primaryKey": false,
156
+ "notNull": true,
157
+ "autoincrement": false,
158
+ "default": "(unixepoch() * 1000)"
159
+ }
160
+ },
161
+ "indexes": {
162
+ "project_tenant": {
163
+ "name": "project_tenant",
164
+ "columns": [
165
+ "tenant_id"
166
+ ],
167
+ "isUnique": false
168
+ }
169
+ },
170
+ "foreignKeys": {},
171
+ "compositePrimaryKeys": {},
172
+ "uniqueConstraints": {},
173
+ "checkConstraints": {}
174
+ },
175
+ "project_chunk": {
176
+ "name": "project_chunk",
177
+ "columns": {
178
+ "id": {
179
+ "name": "id",
180
+ "type": "integer",
181
+ "primaryKey": true,
182
+ "notNull": true,
183
+ "autoincrement": true
184
+ },
185
+ "project_id": {
186
+ "name": "project_id",
187
+ "type": "text",
188
+ "primaryKey": false,
189
+ "notNull": true,
190
+ "autoincrement": false
191
+ },
192
+ "file_id": {
193
+ "name": "file_id",
194
+ "type": "text",
195
+ "primaryKey": false,
196
+ "notNull": true,
197
+ "autoincrement": false
198
+ },
199
+ "idx": {
200
+ "name": "idx",
201
+ "type": "integer",
202
+ "primaryKey": false,
203
+ "notNull": true,
204
+ "autoincrement": false
205
+ },
206
+ "text": {
207
+ "name": "text",
208
+ "type": "text",
209
+ "primaryKey": false,
210
+ "notNull": true,
211
+ "autoincrement": false
212
+ },
213
+ "embedding": {
214
+ "name": "embedding",
215
+ "type": "blob",
216
+ "primaryKey": false,
217
+ "notNull": false,
218
+ "autoincrement": false
219
+ },
220
+ "model": {
221
+ "name": "model",
222
+ "type": "text",
223
+ "primaryKey": false,
224
+ "notNull": false,
225
+ "autoincrement": false
226
+ }
227
+ },
228
+ "indexes": {
229
+ "project_chunk_project": {
230
+ "name": "project_chunk_project",
231
+ "columns": [
232
+ "project_id",
233
+ "model"
234
+ ],
235
+ "isUnique": false
236
+ },
237
+ "project_chunk_file": {
238
+ "name": "project_chunk_file",
239
+ "columns": [
240
+ "file_id"
241
+ ],
242
+ "isUnique": false
243
+ }
244
+ },
245
+ "foreignKeys": {
246
+ "project_chunk_project_id_project_id_fk": {
247
+ "name": "project_chunk_project_id_project_id_fk",
248
+ "tableFrom": "project_chunk",
249
+ "tableTo": "project",
250
+ "columnsFrom": [
251
+ "project_id"
252
+ ],
253
+ "columnsTo": [
254
+ "id"
255
+ ],
256
+ "onDelete": "cascade",
257
+ "onUpdate": "no action"
258
+ },
259
+ "project_chunk_file_id_project_file_id_fk": {
260
+ "name": "project_chunk_file_id_project_file_id_fk",
261
+ "tableFrom": "project_chunk",
262
+ "tableTo": "project_file",
263
+ "columnsFrom": [
264
+ "file_id"
265
+ ],
266
+ "columnsTo": [
267
+ "id"
268
+ ],
269
+ "onDelete": "cascade",
270
+ "onUpdate": "no action"
271
+ }
272
+ },
273
+ "compositePrimaryKeys": {},
274
+ "uniqueConstraints": {},
275
+ "checkConstraints": {}
276
+ },
277
+ "project_connector": {
278
+ "name": "project_connector",
279
+ "columns": {
280
+ "project_id": {
281
+ "name": "project_id",
282
+ "type": "text",
283
+ "primaryKey": false,
284
+ "notNull": true,
285
+ "autoincrement": false
286
+ },
287
+ "id": {
288
+ "name": "id",
289
+ "type": "text",
290
+ "primaryKey": false,
291
+ "notNull": true,
292
+ "autoincrement": false
293
+ },
294
+ "record": {
295
+ "name": "record",
296
+ "type": "text",
297
+ "primaryKey": false,
298
+ "notNull": true,
299
+ "autoincrement": false
300
+ },
301
+ "created_at": {
302
+ "name": "created_at",
303
+ "type": "integer",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false,
307
+ "default": "(unixepoch() * 1000)"
308
+ },
309
+ "updated_at": {
310
+ "name": "updated_at",
311
+ "type": "integer",
312
+ "primaryKey": false,
313
+ "notNull": true,
314
+ "autoincrement": false,
315
+ "default": "(unixepoch() * 1000)"
316
+ }
317
+ },
318
+ "indexes": {},
319
+ "foreignKeys": {
320
+ "project_connector_project_id_project_id_fk": {
321
+ "name": "project_connector_project_id_project_id_fk",
322
+ "tableFrom": "project_connector",
323
+ "tableTo": "project",
324
+ "columnsFrom": [
325
+ "project_id"
326
+ ],
327
+ "columnsTo": [
328
+ "id"
329
+ ],
330
+ "onDelete": "cascade",
331
+ "onUpdate": "no action"
332
+ }
333
+ },
334
+ "compositePrimaryKeys": {
335
+ "project_connector_project_id_id_pk": {
336
+ "columns": [
337
+ "project_id",
338
+ "id"
339
+ ],
340
+ "name": "project_connector_project_id_id_pk"
341
+ }
342
+ },
343
+ "uniqueConstraints": {},
344
+ "checkConstraints": {}
345
+ },
346
+ "project_file": {
347
+ "name": "project_file",
348
+ "columns": {
349
+ "id": {
350
+ "name": "id",
351
+ "type": "text",
352
+ "primaryKey": true,
353
+ "notNull": true,
354
+ "autoincrement": false
355
+ },
356
+ "project_id": {
357
+ "name": "project_id",
358
+ "type": "text",
359
+ "primaryKey": false,
360
+ "notNull": true,
361
+ "autoincrement": false
362
+ },
363
+ "kind": {
364
+ "name": "kind",
365
+ "type": "text",
366
+ "primaryKey": false,
367
+ "notNull": true,
368
+ "autoincrement": false
369
+ },
370
+ "name": {
371
+ "name": "name",
372
+ "type": "text",
373
+ "primaryKey": false,
374
+ "notNull": true,
375
+ "autoincrement": false
376
+ },
377
+ "mime": {
378
+ "name": "mime",
379
+ "type": "text",
380
+ "primaryKey": false,
381
+ "notNull": true,
382
+ "autoincrement": false
383
+ },
384
+ "size": {
385
+ "name": "size",
386
+ "type": "integer",
387
+ "primaryKey": false,
388
+ "notNull": true,
389
+ "autoincrement": false
390
+ },
391
+ "description": {
392
+ "name": "description",
393
+ "type": "text",
394
+ "primaryKey": false,
395
+ "notNull": true,
396
+ "autoincrement": false,
397
+ "default": "''"
398
+ },
399
+ "source": {
400
+ "name": "source",
401
+ "type": "text",
402
+ "primaryKey": false,
403
+ "notNull": false,
404
+ "autoincrement": false
405
+ },
406
+ "position": {
407
+ "name": "position",
408
+ "type": "integer",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "autoincrement": false,
412
+ "default": 0
413
+ },
414
+ "status": {
415
+ "name": "status",
416
+ "type": "text",
417
+ "primaryKey": false,
418
+ "notNull": true,
419
+ "autoincrement": false,
420
+ "default": "'ready'"
421
+ },
422
+ "error": {
423
+ "name": "error",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": false,
427
+ "autoincrement": false
428
+ },
429
+ "text_hash": {
430
+ "name": "text_hash",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": false,
434
+ "autoincrement": false
435
+ },
436
+ "pages": {
437
+ "name": "pages",
438
+ "type": "integer",
439
+ "primaryKey": false,
440
+ "notNull": false,
441
+ "autoincrement": false
442
+ },
443
+ "chars": {
444
+ "name": "chars",
445
+ "type": "integer",
446
+ "primaryKey": false,
447
+ "notNull": false,
448
+ "autoincrement": false
449
+ },
450
+ "indexed": {
451
+ "name": "indexed",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": false,
455
+ "autoincrement": false
456
+ },
457
+ "created_at": {
458
+ "name": "created_at",
459
+ "type": "integer",
460
+ "primaryKey": false,
461
+ "notNull": true,
462
+ "autoincrement": false,
463
+ "default": "(unixepoch() * 1000)"
464
+ },
465
+ "updated_at": {
466
+ "name": "updated_at",
467
+ "type": "integer",
468
+ "primaryKey": false,
469
+ "notNull": true,
470
+ "autoincrement": false,
471
+ "default": "(unixepoch() * 1000)"
472
+ }
473
+ },
474
+ "indexes": {
475
+ "project_file_project": {
476
+ "name": "project_file_project",
477
+ "columns": [
478
+ "project_id",
479
+ "kind",
480
+ "position"
481
+ ],
482
+ "isUnique": false
483
+ }
484
+ },
485
+ "foreignKeys": {
486
+ "project_file_project_id_project_id_fk": {
487
+ "name": "project_file_project_id_project_id_fk",
488
+ "tableFrom": "project_file",
489
+ "tableTo": "project",
490
+ "columnsFrom": [
491
+ "project_id"
492
+ ],
493
+ "columnsTo": [
494
+ "id"
495
+ ],
496
+ "onDelete": "cascade",
497
+ "onUpdate": "no action"
498
+ }
499
+ },
500
+ "compositePrimaryKeys": {},
501
+ "uniqueConstraints": {},
502
+ "checkConstraints": {}
503
+ },
504
+ "run": {
505
+ "name": "run",
506
+ "columns": {
507
+ "id": {
508
+ "name": "id",
509
+ "type": "text",
510
+ "primaryKey": true,
511
+ "notNull": true,
512
+ "autoincrement": false
513
+ },
514
+ "wizard_id": {
515
+ "name": "wizard_id",
516
+ "type": "text",
517
+ "primaryKey": false,
518
+ "notNull": true,
519
+ "autoincrement": false
520
+ },
521
+ "tenant_id": {
522
+ "name": "tenant_id",
523
+ "type": "text",
524
+ "primaryKey": false,
525
+ "notNull": true,
526
+ "autoincrement": false
527
+ },
528
+ "definition": {
529
+ "name": "definition",
530
+ "type": "text",
531
+ "primaryKey": false,
532
+ "notNull": true,
533
+ "autoincrement": false
534
+ },
535
+ "files": {
536
+ "name": "files",
537
+ "type": "text",
538
+ "primaryKey": false,
539
+ "notNull": true,
540
+ "autoincrement": false,
541
+ "default": "'[]'"
542
+ },
543
+ "version": {
544
+ "name": "version",
545
+ "type": "integer",
546
+ "primaryKey": false,
547
+ "notNull": false,
548
+ "autoincrement": false
549
+ },
550
+ "mode": {
551
+ "name": "mode",
552
+ "type": "text",
553
+ "primaryKey": false,
554
+ "notNull": true,
555
+ "autoincrement": false
556
+ },
557
+ "visitor_id": {
558
+ "name": "visitor_id",
559
+ "type": "text",
560
+ "primaryKey": false,
561
+ "notNull": false,
562
+ "autoincrement": false
563
+ },
564
+ "user_id": {
565
+ "name": "user_id",
566
+ "type": "text",
567
+ "primaryKey": false,
568
+ "notNull": false,
569
+ "autoincrement": false
570
+ },
571
+ "ip_hash": {
572
+ "name": "ip_hash",
573
+ "type": "text",
574
+ "primaryKey": false,
575
+ "notNull": false,
576
+ "autoincrement": false
577
+ },
578
+ "status": {
579
+ "name": "status",
580
+ "type": "text",
581
+ "primaryKey": false,
582
+ "notNull": true,
583
+ "autoincrement": false
584
+ },
585
+ "cursor": {
586
+ "name": "cursor",
587
+ "type": "text",
588
+ "primaryKey": false,
589
+ "notNull": false,
590
+ "autoincrement": false
591
+ },
592
+ "state": {
593
+ "name": "state",
594
+ "type": "text",
595
+ "primaryKey": false,
596
+ "notNull": true,
597
+ "autoincrement": false
598
+ },
599
+ "error": {
600
+ "name": "error",
601
+ "type": "text",
602
+ "primaryKey": false,
603
+ "notNull": false,
604
+ "autoincrement": false
605
+ },
606
+ "ask": {
607
+ "name": "ask",
608
+ "type": "text",
609
+ "primaryKey": false,
610
+ "notNull": false,
611
+ "autoincrement": false
612
+ },
613
+ "cost_micros": {
614
+ "name": "cost_micros",
615
+ "type": "integer",
616
+ "primaryKey": false,
617
+ "notNull": true,
618
+ "autoincrement": false,
619
+ "default": 0
620
+ },
621
+ "share_token": {
622
+ "name": "share_token",
623
+ "type": "text",
624
+ "primaryKey": false,
625
+ "notNull": false,
626
+ "autoincrement": false
627
+ },
628
+ "shared_at": {
629
+ "name": "shared_at",
630
+ "type": "integer",
631
+ "primaryKey": false,
632
+ "notNull": false,
633
+ "autoincrement": false
634
+ },
635
+ "expires_at": {
636
+ "name": "expires_at",
637
+ "type": "integer",
638
+ "primaryKey": false,
639
+ "notNull": false,
640
+ "autoincrement": false
641
+ },
642
+ "created_at": {
643
+ "name": "created_at",
644
+ "type": "integer",
645
+ "primaryKey": false,
646
+ "notNull": true,
647
+ "autoincrement": false,
648
+ "default": "(unixepoch() * 1000)"
649
+ },
650
+ "updated_at": {
651
+ "name": "updated_at",
652
+ "type": "integer",
653
+ "primaryKey": false,
654
+ "notNull": true,
655
+ "autoincrement": false,
656
+ "default": "(unixepoch() * 1000)"
657
+ }
658
+ },
659
+ "indexes": {
660
+ "run_share_token": {
661
+ "name": "run_share_token",
662
+ "columns": [
663
+ "share_token"
664
+ ],
665
+ "isUnique": true
666
+ },
667
+ "run_expires": {
668
+ "name": "run_expires",
669
+ "columns": [
670
+ "expires_at"
671
+ ],
672
+ "isUnique": false
673
+ },
674
+ "run_wizard": {
675
+ "name": "run_wizard",
676
+ "columns": [
677
+ "wizard_id",
678
+ "created_at"
679
+ ],
680
+ "isUnique": false
681
+ },
682
+ "run_visitor": {
683
+ "name": "run_visitor",
684
+ "columns": [
685
+ "visitor_id",
686
+ "created_at"
687
+ ],
688
+ "isUnique": false
689
+ },
690
+ "run_status": {
691
+ "name": "run_status",
692
+ "columns": [
693
+ "status"
694
+ ],
695
+ "isUnique": false
696
+ }
697
+ },
698
+ "foreignKeys": {
699
+ "run_wizard_id_wizard_id_fk": {
700
+ "name": "run_wizard_id_wizard_id_fk",
701
+ "tableFrom": "run",
702
+ "tableTo": "wizard",
703
+ "columnsFrom": [
704
+ "wizard_id"
705
+ ],
706
+ "columnsTo": [
707
+ "id"
708
+ ],
709
+ "onDelete": "cascade",
710
+ "onUpdate": "no action"
711
+ }
712
+ },
713
+ "compositePrimaryKeys": {},
714
+ "uniqueConstraints": {},
715
+ "checkConstraints": {}
716
+ },
717
+ "run_cost": {
718
+ "name": "run_cost",
719
+ "columns": {
720
+ "run_id": {
721
+ "name": "run_id",
722
+ "type": "text",
723
+ "primaryKey": false,
724
+ "notNull": true,
725
+ "autoincrement": false
726
+ },
727
+ "step_id": {
728
+ "name": "step_id",
729
+ "type": "text",
730
+ "primaryKey": false,
731
+ "notNull": true,
732
+ "autoincrement": false
733
+ },
734
+ "micros": {
735
+ "name": "micros",
736
+ "type": "integer",
737
+ "primaryKey": false,
738
+ "notNull": true,
739
+ "autoincrement": false,
740
+ "default": 0
741
+ }
742
+ },
743
+ "indexes": {},
744
+ "foreignKeys": {
745
+ "run_cost_run_id_run_id_fk": {
746
+ "name": "run_cost_run_id_run_id_fk",
747
+ "tableFrom": "run_cost",
748
+ "tableTo": "run",
749
+ "columnsFrom": [
750
+ "run_id"
751
+ ],
752
+ "columnsTo": [
753
+ "id"
754
+ ],
755
+ "onDelete": "cascade",
756
+ "onUpdate": "no action"
757
+ }
758
+ },
759
+ "compositePrimaryKeys": {
760
+ "run_cost_run_id_step_id_pk": {
761
+ "columns": [
762
+ "run_id",
763
+ "step_id"
764
+ ],
765
+ "name": "run_cost_run_id_step_id_pk"
766
+ }
767
+ },
768
+ "uniqueConstraints": {},
769
+ "checkConstraints": {}
770
+ },
771
+ "run_event": {
772
+ "name": "run_event",
773
+ "columns": {
774
+ "id": {
775
+ "name": "id",
776
+ "type": "integer",
777
+ "primaryKey": true,
778
+ "notNull": true,
779
+ "autoincrement": true
780
+ },
781
+ "run_id": {
782
+ "name": "run_id",
783
+ "type": "text",
784
+ "primaryKey": false,
785
+ "notNull": true,
786
+ "autoincrement": false
787
+ },
788
+ "step_id": {
789
+ "name": "step_id",
790
+ "type": "text",
791
+ "primaryKey": false,
792
+ "notNull": false,
793
+ "autoincrement": false
794
+ },
795
+ "type": {
796
+ "name": "type",
797
+ "type": "text",
798
+ "primaryKey": false,
799
+ "notNull": true,
800
+ "autoincrement": false
801
+ },
802
+ "message": {
803
+ "name": "message",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true,
807
+ "autoincrement": false
808
+ },
809
+ "asset_id": {
810
+ "name": "asset_id",
811
+ "type": "text",
812
+ "primaryKey": false,
813
+ "notNull": false,
814
+ "autoincrement": false
815
+ },
816
+ "created_at": {
817
+ "name": "created_at",
818
+ "type": "integer",
819
+ "primaryKey": false,
820
+ "notNull": true,
821
+ "autoincrement": false,
822
+ "default": "(unixepoch() * 1000)"
823
+ }
824
+ },
825
+ "indexes": {
826
+ "run_event_run": {
827
+ "name": "run_event_run",
828
+ "columns": [
829
+ "run_id",
830
+ "id"
831
+ ],
832
+ "isUnique": false
833
+ }
834
+ },
835
+ "foreignKeys": {
836
+ "run_event_run_id_run_id_fk": {
837
+ "name": "run_event_run_id_run_id_fk",
838
+ "tableFrom": "run_event",
839
+ "tableTo": "run",
840
+ "columnsFrom": [
841
+ "run_id"
842
+ ],
843
+ "columnsTo": [
844
+ "id"
845
+ ],
846
+ "onDelete": "cascade",
847
+ "onUpdate": "no action"
848
+ }
849
+ },
850
+ "compositePrimaryKeys": {},
851
+ "uniqueConstraints": {},
852
+ "checkConstraints": {}
853
+ },
854
+ "store_file": {
855
+ "name": "store_file",
856
+ "columns": {
857
+ "wizard_id": {
858
+ "name": "wizard_id",
859
+ "type": "text",
860
+ "primaryKey": false,
861
+ "notNull": true,
862
+ "autoincrement": false
863
+ },
864
+ "holder": {
865
+ "name": "holder",
866
+ "type": "text",
867
+ "primaryKey": false,
868
+ "notNull": true,
869
+ "autoincrement": false
870
+ },
871
+ "path": {
872
+ "name": "path",
873
+ "type": "text",
874
+ "primaryKey": false,
875
+ "notNull": true,
876
+ "autoincrement": false
877
+ },
878
+ "hash": {
879
+ "name": "hash",
880
+ "type": "text",
881
+ "primaryKey": false,
882
+ "notNull": true,
883
+ "autoincrement": false
884
+ },
885
+ "mime": {
886
+ "name": "mime",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": true,
890
+ "autoincrement": false
891
+ },
892
+ "size": {
893
+ "name": "size",
894
+ "type": "integer",
895
+ "primaryKey": false,
896
+ "notNull": true,
897
+ "autoincrement": false
898
+ },
899
+ "source": {
900
+ "name": "source",
901
+ "type": "text",
902
+ "primaryKey": false,
903
+ "notNull": false,
904
+ "autoincrement": false
905
+ },
906
+ "updated_at": {
907
+ "name": "updated_at",
908
+ "type": "integer",
909
+ "primaryKey": false,
910
+ "notNull": true,
911
+ "autoincrement": false,
912
+ "default": "(unixepoch() * 1000)"
913
+ }
914
+ },
915
+ "indexes": {},
916
+ "foreignKeys": {
917
+ "store_file_wizard_id_wizard_id_fk": {
918
+ "name": "store_file_wizard_id_wizard_id_fk",
919
+ "tableFrom": "store_file",
920
+ "tableTo": "wizard",
921
+ "columnsFrom": [
922
+ "wizard_id"
923
+ ],
924
+ "columnsTo": [
925
+ "id"
926
+ ],
927
+ "onDelete": "cascade",
928
+ "onUpdate": "no action"
929
+ }
930
+ },
931
+ "compositePrimaryKeys": {
932
+ "store_file_wizard_id_holder_path_pk": {
933
+ "columns": [
934
+ "wizard_id",
935
+ "holder",
936
+ "path"
937
+ ],
938
+ "name": "store_file_wizard_id_holder_path_pk"
939
+ }
940
+ },
941
+ "uniqueConstraints": {},
942
+ "checkConstraints": {}
943
+ },
944
+ "store_holder": {
945
+ "name": "store_holder",
946
+ "columns": {
947
+ "wizard_id": {
948
+ "name": "wizard_id",
949
+ "type": "text",
950
+ "primaryKey": false,
951
+ "notNull": true,
952
+ "autoincrement": false
953
+ },
954
+ "holder": {
955
+ "name": "holder",
956
+ "type": "text",
957
+ "primaryKey": false,
958
+ "notNull": true,
959
+ "autoincrement": false
960
+ },
961
+ "used_at": {
962
+ "name": "used_at",
963
+ "type": "integer",
964
+ "primaryKey": false,
965
+ "notNull": true,
966
+ "autoincrement": false,
967
+ "default": "(unixepoch() * 1000)"
968
+ }
969
+ },
970
+ "indexes": {
971
+ "store_holder_used": {
972
+ "name": "store_holder_used",
973
+ "columns": [
974
+ "used_at"
975
+ ],
976
+ "isUnique": false
977
+ }
978
+ },
979
+ "foreignKeys": {
980
+ "store_holder_wizard_id_wizard_id_fk": {
981
+ "name": "store_holder_wizard_id_wizard_id_fk",
982
+ "tableFrom": "store_holder",
983
+ "tableTo": "wizard",
984
+ "columnsFrom": [
985
+ "wizard_id"
986
+ ],
987
+ "columnsTo": [
988
+ "id"
989
+ ],
990
+ "onDelete": "cascade",
991
+ "onUpdate": "no action"
992
+ }
993
+ },
994
+ "compositePrimaryKeys": {
995
+ "store_holder_wizard_id_holder_pk": {
996
+ "columns": [
997
+ "wizard_id",
998
+ "holder"
999
+ ],
1000
+ "name": "store_holder_wizard_id_holder_pk"
1001
+ }
1002
+ },
1003
+ "uniqueConstraints": {},
1004
+ "checkConstraints": {}
1005
+ },
1006
+ "store_row": {
1007
+ "name": "store_row",
1008
+ "columns": {
1009
+ "id": {
1010
+ "name": "id",
1011
+ "type": "text",
1012
+ "primaryKey": true,
1013
+ "notNull": true,
1014
+ "autoincrement": false
1015
+ },
1016
+ "wizard_id": {
1017
+ "name": "wizard_id",
1018
+ "type": "text",
1019
+ "primaryKey": false,
1020
+ "notNull": true,
1021
+ "autoincrement": false
1022
+ },
1023
+ "holder": {
1024
+ "name": "holder",
1025
+ "type": "text",
1026
+ "primaryKey": false,
1027
+ "notNull": true,
1028
+ "autoincrement": false
1029
+ },
1030
+ "list": {
1031
+ "name": "list",
1032
+ "type": "text",
1033
+ "primaryKey": false,
1034
+ "notNull": true,
1035
+ "autoincrement": false
1036
+ },
1037
+ "key": {
1038
+ "name": "key",
1039
+ "type": "text",
1040
+ "primaryKey": false,
1041
+ "notNull": false,
1042
+ "autoincrement": false
1043
+ },
1044
+ "cells": {
1045
+ "name": "cells",
1046
+ "type": "text",
1047
+ "primaryKey": false,
1048
+ "notNull": true,
1049
+ "autoincrement": false
1050
+ },
1051
+ "created_at": {
1052
+ "name": "created_at",
1053
+ "type": "integer",
1054
+ "primaryKey": false,
1055
+ "notNull": true,
1056
+ "autoincrement": false,
1057
+ "default": "(unixepoch() * 1000)"
1058
+ },
1059
+ "updated_at": {
1060
+ "name": "updated_at",
1061
+ "type": "integer",
1062
+ "primaryKey": false,
1063
+ "notNull": true,
1064
+ "autoincrement": false,
1065
+ "default": "(unixepoch() * 1000)"
1066
+ }
1067
+ },
1068
+ "indexes": {
1069
+ "store_row_key": {
1070
+ "name": "store_row_key",
1071
+ "columns": [
1072
+ "wizard_id",
1073
+ "holder",
1074
+ "list",
1075
+ "key"
1076
+ ],
1077
+ "isUnique": true
1078
+ },
1079
+ "store_row_list": {
1080
+ "name": "store_row_list",
1081
+ "columns": [
1082
+ "wizard_id",
1083
+ "holder",
1084
+ "list",
1085
+ "created_at"
1086
+ ],
1087
+ "isUnique": false
1088
+ }
1089
+ },
1090
+ "foreignKeys": {
1091
+ "store_row_wizard_id_wizard_id_fk": {
1092
+ "name": "store_row_wizard_id_wizard_id_fk",
1093
+ "tableFrom": "store_row",
1094
+ "tableTo": "wizard",
1095
+ "columnsFrom": [
1096
+ "wizard_id"
1097
+ ],
1098
+ "columnsTo": [
1099
+ "id"
1100
+ ],
1101
+ "onDelete": "cascade",
1102
+ "onUpdate": "no action"
1103
+ }
1104
+ },
1105
+ "compositePrimaryKeys": {},
1106
+ "uniqueConstraints": {},
1107
+ "checkConstraints": {}
1108
+ },
1109
+ "store_secret": {
1110
+ "name": "store_secret",
1111
+ "columns": {
1112
+ "id": {
1113
+ "name": "id",
1114
+ "type": "text",
1115
+ "primaryKey": true,
1116
+ "notNull": true,
1117
+ "autoincrement": false
1118
+ },
1119
+ "wizard_id": {
1120
+ "name": "wizard_id",
1121
+ "type": "text",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "autoincrement": false
1125
+ },
1126
+ "holder": {
1127
+ "name": "holder",
1128
+ "type": "text",
1129
+ "primaryKey": false,
1130
+ "notNull": true,
1131
+ "autoincrement": false
1132
+ },
1133
+ "slot": {
1134
+ "name": "slot",
1135
+ "type": "text",
1136
+ "primaryKey": false,
1137
+ "notNull": true,
1138
+ "autoincrement": false
1139
+ },
1140
+ "provider": {
1141
+ "name": "provider",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "autoincrement": false
1146
+ },
1147
+ "label": {
1148
+ "name": "label",
1149
+ "type": "text",
1150
+ "primaryKey": false,
1151
+ "notNull": true,
1152
+ "autoincrement": false
1153
+ },
1154
+ "data": {
1155
+ "name": "data",
1156
+ "type": "text",
1157
+ "primaryKey": false,
1158
+ "notNull": true,
1159
+ "autoincrement": false
1160
+ },
1161
+ "created_at": {
1162
+ "name": "created_at",
1163
+ "type": "integer",
1164
+ "primaryKey": false,
1165
+ "notNull": true,
1166
+ "autoincrement": false,
1167
+ "default": "(unixepoch() * 1000)"
1168
+ },
1169
+ "updated_at": {
1170
+ "name": "updated_at",
1171
+ "type": "integer",
1172
+ "primaryKey": false,
1173
+ "notNull": true,
1174
+ "autoincrement": false,
1175
+ "default": "(unixepoch() * 1000)"
1176
+ }
1177
+ },
1178
+ "indexes": {
1179
+ "store_secret_slot": {
1180
+ "name": "store_secret_slot",
1181
+ "columns": [
1182
+ "wizard_id",
1183
+ "holder",
1184
+ "slot"
1185
+ ],
1186
+ "isUnique": true
1187
+ }
1188
+ },
1189
+ "foreignKeys": {
1190
+ "store_secret_wizard_id_wizard_id_fk": {
1191
+ "name": "store_secret_wizard_id_wizard_id_fk",
1192
+ "tableFrom": "store_secret",
1193
+ "tableTo": "wizard",
1194
+ "columnsFrom": [
1195
+ "wizard_id"
1196
+ ],
1197
+ "columnsTo": [
1198
+ "id"
1199
+ ],
1200
+ "onDelete": "cascade",
1201
+ "onUpdate": "no action"
1202
+ }
1203
+ },
1204
+ "compositePrimaryKeys": {},
1205
+ "uniqueConstraints": {},
1206
+ "checkConstraints": {}
1207
+ },
1208
+ "wizard": {
1209
+ "name": "wizard",
1210
+ "columns": {
1211
+ "id": {
1212
+ "name": "id",
1213
+ "type": "text",
1214
+ "primaryKey": true,
1215
+ "notNull": true,
1216
+ "autoincrement": false
1217
+ },
1218
+ "project_id": {
1219
+ "name": "project_id",
1220
+ "type": "text",
1221
+ "primaryKey": false,
1222
+ "notNull": true,
1223
+ "autoincrement": false
1224
+ },
1225
+ "tenant_id": {
1226
+ "name": "tenant_id",
1227
+ "type": "text",
1228
+ "primaryKey": false,
1229
+ "notNull": true,
1230
+ "autoincrement": false
1231
+ },
1232
+ "title": {
1233
+ "name": "title",
1234
+ "type": "text",
1235
+ "primaryKey": false,
1236
+ "notNull": true,
1237
+ "autoincrement": false
1238
+ },
1239
+ "draft": {
1240
+ "name": "draft",
1241
+ "type": "text",
1242
+ "primaryKey": false,
1243
+ "notNull": true,
1244
+ "autoincrement": false
1245
+ },
1246
+ "published_version": {
1247
+ "name": "published_version",
1248
+ "type": "integer",
1249
+ "primaryKey": false,
1250
+ "notNull": false,
1251
+ "autoincrement": false
1252
+ },
1253
+ "share_token": {
1254
+ "name": "share_token",
1255
+ "type": "text",
1256
+ "primaryKey": false,
1257
+ "notNull": true,
1258
+ "autoincrement": false
1259
+ },
1260
+ "share_enabled": {
1261
+ "name": "share_enabled",
1262
+ "type": "integer",
1263
+ "primaryKey": false,
1264
+ "notNull": true,
1265
+ "autoincrement": false,
1266
+ "default": true
1267
+ },
1268
+ "daily_run_limit": {
1269
+ "name": "daily_run_limit",
1270
+ "type": "integer",
1271
+ "primaryKey": false,
1272
+ "notNull": true,
1273
+ "autoincrement": false,
1274
+ "default": 50
1275
+ },
1276
+ "starter": {
1277
+ "name": "starter",
1278
+ "type": "text",
1279
+ "primaryKey": false,
1280
+ "notNull": false,
1281
+ "autoincrement": false
1282
+ },
1283
+ "starter_revision": {
1284
+ "name": "starter_revision",
1285
+ "type": "integer",
1286
+ "primaryKey": false,
1287
+ "notNull": false,
1288
+ "autoincrement": false
1289
+ },
1290
+ "revision": {
1291
+ "name": "revision",
1292
+ "type": "integer",
1293
+ "primaryKey": false,
1294
+ "notNull": true,
1295
+ "autoincrement": false,
1296
+ "default": 0
1297
+ },
1298
+ "created_at": {
1299
+ "name": "created_at",
1300
+ "type": "integer",
1301
+ "primaryKey": false,
1302
+ "notNull": true,
1303
+ "autoincrement": false,
1304
+ "default": "(unixepoch() * 1000)"
1305
+ },
1306
+ "updated_at": {
1307
+ "name": "updated_at",
1308
+ "type": "integer",
1309
+ "primaryKey": false,
1310
+ "notNull": true,
1311
+ "autoincrement": false,
1312
+ "default": "(unixepoch() * 1000)"
1313
+ }
1314
+ },
1315
+ "indexes": {
1316
+ "wizard_share_token": {
1317
+ "name": "wizard_share_token",
1318
+ "columns": [
1319
+ "share_token"
1320
+ ],
1321
+ "isUnique": true
1322
+ },
1323
+ "wizard_project": {
1324
+ "name": "wizard_project",
1325
+ "columns": [
1326
+ "project_id"
1327
+ ],
1328
+ "isUnique": false
1329
+ }
1330
+ },
1331
+ "foreignKeys": {
1332
+ "wizard_project_id_project_id_fk": {
1333
+ "name": "wizard_project_id_project_id_fk",
1334
+ "tableFrom": "wizard",
1335
+ "tableTo": "project",
1336
+ "columnsFrom": [
1337
+ "project_id"
1338
+ ],
1339
+ "columnsTo": [
1340
+ "id"
1341
+ ],
1342
+ "onDelete": "cascade",
1343
+ "onUpdate": "no action"
1344
+ }
1345
+ },
1346
+ "compositePrimaryKeys": {},
1347
+ "uniqueConstraints": {},
1348
+ "checkConstraints": {}
1349
+ },
1350
+ "wizard_file": {
1351
+ "name": "wizard_file",
1352
+ "columns": {
1353
+ "wizard_id": {
1354
+ "name": "wizard_id",
1355
+ "type": "text",
1356
+ "primaryKey": false,
1357
+ "notNull": true,
1358
+ "autoincrement": false
1359
+ },
1360
+ "path": {
1361
+ "name": "path",
1362
+ "type": "text",
1363
+ "primaryKey": false,
1364
+ "notNull": true,
1365
+ "autoincrement": false
1366
+ },
1367
+ "hash": {
1368
+ "name": "hash",
1369
+ "type": "text",
1370
+ "primaryKey": false,
1371
+ "notNull": true,
1372
+ "autoincrement": false
1373
+ },
1374
+ "mime": {
1375
+ "name": "mime",
1376
+ "type": "text",
1377
+ "primaryKey": false,
1378
+ "notNull": true,
1379
+ "autoincrement": false
1380
+ },
1381
+ "size": {
1382
+ "name": "size",
1383
+ "type": "integer",
1384
+ "primaryKey": false,
1385
+ "notNull": true,
1386
+ "autoincrement": false
1387
+ },
1388
+ "updated_at": {
1389
+ "name": "updated_at",
1390
+ "type": "integer",
1391
+ "primaryKey": false,
1392
+ "notNull": true,
1393
+ "autoincrement": false,
1394
+ "default": "(unixepoch() * 1000)"
1395
+ }
1396
+ },
1397
+ "indexes": {},
1398
+ "foreignKeys": {
1399
+ "wizard_file_wizard_id_wizard_id_fk": {
1400
+ "name": "wizard_file_wizard_id_wizard_id_fk",
1401
+ "tableFrom": "wizard_file",
1402
+ "tableTo": "wizard",
1403
+ "columnsFrom": [
1404
+ "wizard_id"
1405
+ ],
1406
+ "columnsTo": [
1407
+ "id"
1408
+ ],
1409
+ "onDelete": "cascade",
1410
+ "onUpdate": "no action"
1411
+ }
1412
+ },
1413
+ "compositePrimaryKeys": {
1414
+ "wizard_file_wizard_id_path_pk": {
1415
+ "columns": [
1416
+ "wizard_id",
1417
+ "path"
1418
+ ],
1419
+ "name": "wizard_file_wizard_id_path_pk"
1420
+ }
1421
+ },
1422
+ "uniqueConstraints": {},
1423
+ "checkConstraints": {}
1424
+ },
1425
+ "wizard_message": {
1426
+ "name": "wizard_message",
1427
+ "columns": {
1428
+ "id": {
1429
+ "name": "id",
1430
+ "type": "text",
1431
+ "primaryKey": true,
1432
+ "notNull": true,
1433
+ "autoincrement": false
1434
+ },
1435
+ "wizard_id": {
1436
+ "name": "wizard_id",
1437
+ "type": "text",
1438
+ "primaryKey": false,
1439
+ "notNull": true,
1440
+ "autoincrement": false
1441
+ },
1442
+ "role": {
1443
+ "name": "role",
1444
+ "type": "text",
1445
+ "primaryKey": false,
1446
+ "notNull": true,
1447
+ "autoincrement": false
1448
+ },
1449
+ "content": {
1450
+ "name": "content",
1451
+ "type": "text",
1452
+ "primaryKey": false,
1453
+ "notNull": true,
1454
+ "autoincrement": false
1455
+ },
1456
+ "changed": {
1457
+ "name": "changed",
1458
+ "type": "integer",
1459
+ "primaryKey": false,
1460
+ "notNull": true,
1461
+ "autoincrement": false,
1462
+ "default": false
1463
+ },
1464
+ "source": {
1465
+ "name": "source",
1466
+ "type": "text",
1467
+ "primaryKey": false,
1468
+ "notNull": true,
1469
+ "autoincrement": false,
1470
+ "default": "'studio'"
1471
+ },
1472
+ "client": {
1473
+ "name": "client",
1474
+ "type": "text",
1475
+ "primaryKey": false,
1476
+ "notNull": false,
1477
+ "autoincrement": false
1478
+ },
1479
+ "created_at": {
1480
+ "name": "created_at",
1481
+ "type": "integer",
1482
+ "primaryKey": false,
1483
+ "notNull": true,
1484
+ "autoincrement": false,
1485
+ "default": "(unixepoch() * 1000)"
1486
+ }
1487
+ },
1488
+ "indexes": {
1489
+ "wizard_message_wizard": {
1490
+ "name": "wizard_message_wizard",
1491
+ "columns": [
1492
+ "wizard_id",
1493
+ "created_at"
1494
+ ],
1495
+ "isUnique": false
1496
+ }
1497
+ },
1498
+ "foreignKeys": {
1499
+ "wizard_message_wizard_id_wizard_id_fk": {
1500
+ "name": "wizard_message_wizard_id_wizard_id_fk",
1501
+ "tableFrom": "wizard_message",
1502
+ "tableTo": "wizard",
1503
+ "columnsFrom": [
1504
+ "wizard_id"
1505
+ ],
1506
+ "columnsTo": [
1507
+ "id"
1508
+ ],
1509
+ "onDelete": "cascade",
1510
+ "onUpdate": "no action"
1511
+ }
1512
+ },
1513
+ "compositePrimaryKeys": {},
1514
+ "uniqueConstraints": {},
1515
+ "checkConstraints": {}
1516
+ },
1517
+ "wizard_version": {
1518
+ "name": "wizard_version",
1519
+ "columns": {
1520
+ "id": {
1521
+ "name": "id",
1522
+ "type": "text",
1523
+ "primaryKey": true,
1524
+ "notNull": true,
1525
+ "autoincrement": false
1526
+ },
1527
+ "wizard_id": {
1528
+ "name": "wizard_id",
1529
+ "type": "text",
1530
+ "primaryKey": false,
1531
+ "notNull": true,
1532
+ "autoincrement": false
1533
+ },
1534
+ "version": {
1535
+ "name": "version",
1536
+ "type": "integer",
1537
+ "primaryKey": false,
1538
+ "notNull": true,
1539
+ "autoincrement": false
1540
+ },
1541
+ "definition": {
1542
+ "name": "definition",
1543
+ "type": "text",
1544
+ "primaryKey": false,
1545
+ "notNull": true,
1546
+ "autoincrement": false
1547
+ },
1548
+ "files": {
1549
+ "name": "files",
1550
+ "type": "text",
1551
+ "primaryKey": false,
1552
+ "notNull": true,
1553
+ "autoincrement": false,
1554
+ "default": "'[]'"
1555
+ },
1556
+ "created_at": {
1557
+ "name": "created_at",
1558
+ "type": "integer",
1559
+ "primaryKey": false,
1560
+ "notNull": true,
1561
+ "autoincrement": false,
1562
+ "default": "(unixepoch() * 1000)"
1563
+ }
1564
+ },
1565
+ "indexes": {
1566
+ "wizard_version_n": {
1567
+ "name": "wizard_version_n",
1568
+ "columns": [
1569
+ "wizard_id",
1570
+ "version"
1571
+ ],
1572
+ "isUnique": true
1573
+ }
1574
+ },
1575
+ "foreignKeys": {
1576
+ "wizard_version_wizard_id_wizard_id_fk": {
1577
+ "name": "wizard_version_wizard_id_wizard_id_fk",
1578
+ "tableFrom": "wizard_version",
1579
+ "tableTo": "wizard",
1580
+ "columnsFrom": [
1581
+ "wizard_id"
1582
+ ],
1583
+ "columnsTo": [
1584
+ "id"
1585
+ ],
1586
+ "onDelete": "cascade",
1587
+ "onUpdate": "no action"
1588
+ }
1589
+ },
1590
+ "compositePrimaryKeys": {},
1591
+ "uniqueConstraints": {},
1592
+ "checkConstraints": {}
1593
+ }
1594
+ },
1595
+ "views": {},
1596
+ "enums": {},
1597
+ "_meta": {
1598
+ "schemas": {},
1599
+ "tables": {},
1600
+ "columns": {}
1601
+ },
1602
+ "internal": {
1603
+ "indexes": {}
1604
+ }
1605
+ }