@engenty/wizards-runtime 0.16.0 → 0.16.2

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 (102) hide show
  1. package/apps/runtime/dist/assistant/knows.js +3 -1
  2. package/apps/runtime/dist/cli/move-files.js +27 -11
  3. package/apps/runtime/dist/db/control-schema.js +7 -0
  4. package/apps/runtime/dist/db/migrations/control/0014_run_index_generation.sql +1 -0
  5. package/apps/runtime/dist/db/migrations/control/0015_run_index_wake.sql +3 -0
  6. package/apps/runtime/dist/db/migrations/control/meta/0014_snapshot.json +629 -0
  7. package/apps/runtime/dist/db/migrations/control/meta/0015_snapshot.json +650 -0
  8. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +14 -0
  9. package/apps/runtime/dist/db/migrations/tenant/0056_run_claim_rev.sql +2 -0
  10. package/apps/runtime/dist/db/migrations/tenant/0057_run_wake_at.sql +1 -0
  11. package/apps/runtime/dist/db/migrations/tenant/meta/0056_snapshot.json +6520 -0
  12. package/apps/runtime/dist/db/migrations/tenant/meta/0057_snapshot.json +6527 -0
  13. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +14 -0
  14. package/apps/runtime/dist/db/schema.js +17 -3
  15. package/apps/runtime/dist/documents/parse.js +9 -0
  16. package/apps/runtime/dist/elements/knowledge.js +1 -0
  17. package/apps/runtime/dist/engine/runner.js +344 -52
  18. package/apps/runtime/dist/env.js +18 -0
  19. package/apps/runtime/dist/mounts/mounts.js +3 -0
  20. package/apps/runtime/dist/plugins/runs.js +3 -0
  21. package/apps/runtime/dist/prompts/mcp.md +3 -0
  22. package/apps/runtime/dist/routes/runs.js +17 -14
  23. package/apps/runtime/dist/services/api.js +1 -1
  24. package/apps/runtime/dist/services/knowledge.js +2 -1
  25. package/apps/runtime/dist/services/manage-reports.js +2 -0
  26. package/apps/runtime/dist/services/query-vectors.js +60 -0
  27. package/apps/runtime/dist/services/relevance.js +12 -0
  28. package/apps/runtime/dist/services/runs.js +16 -2
  29. package/apps/runtime/dist/services/space-index.js +22 -6
  30. package/apps/runtime/dist/services/work-files.js +25 -1
  31. package/apps/runtime/dist/sharing/index.js +3 -0
  32. package/apps/runtime/dist/tenants/control.js +46 -14
  33. package/apps/web/dist/assets/{AboutDialog-0q4P80yv.js → AboutDialog-BCcD8hKm.js} +1 -1
  34. package/apps/web/dist/assets/{BlockEditor-CUYFH_CU.js → BlockEditor-DgaUm2pR.js} +1 -1
  35. package/apps/web/dist/assets/CapabilitiesPage-DuJJV1ll.js +2 -0
  36. package/apps/web/dist/assets/{ChangelogDialog-CDN7kMs1.js → ChangelogDialog-B08elwyr.js} +1 -1
  37. package/apps/web/dist/assets/{CodeEditor-D-Y16fdk.js → CodeEditor-BiyOk_SC.js} +1 -1
  38. package/apps/web/dist/assets/EditorPage-EMFTHEYD.js +3 -0
  39. package/apps/web/dist/assets/{FlowPreview-DXnk7m9P.js → FlowPreview-DF_6TvZ0.js} +1 -1
  40. package/apps/web/dist/assets/{LangSwitch-Dkd0FBIH.js → LangSwitch-Ba4OWLzJ.js} +1 -1
  41. package/apps/web/dist/assets/Marketplace-DqziLf66.js +2 -0
  42. package/apps/web/dist/assets/{NewWizardChannels-Czool7s1.js → NewWizardChannels-CsIGp0nZ.js} +1 -1
  43. package/apps/web/dist/assets/NewWizardPage-CzQAkKMy.js +7 -0
  44. package/apps/web/dist/assets/OnboardingPage-B9gr2OX5.js +1 -0
  45. package/apps/web/dist/assets/PreviewPane-DSOV3o-1.js +7 -0
  46. package/apps/web/dist/assets/PublicRunner-BVs8-Vu3.js +1 -0
  47. package/apps/web/dist/assets/{ReadOnly-B7MUySpC.js → ReadOnly--4CIJCDD.js} +1 -1
  48. package/apps/web/dist/assets/SettingsPage-z2u8lSe2.js +2 -0
  49. package/apps/web/dist/assets/SetupPage-9Zk-KUGA.js +1 -0
  50. package/apps/web/dist/assets/{SharePage-UwEJBIzq.js → SharePage-D_Ab0gjr.js} +1 -1
  51. package/apps/web/dist/assets/SkillEditor-DvtameHg.js +1 -0
  52. package/apps/web/dist/assets/{Skills-Bv6XbKxc.js → Skills-Cf1Kl4Fy.js} +6 -6
  53. package/apps/web/dist/assets/SpacePage-CyqVzX9b.js +2 -0
  54. package/apps/web/dist/assets/{UpdateCheck-C7I43zFZ.js → UpdateCheck-DweZBVP6.js} +2 -2
  55. package/apps/web/dist/assets/changelog-C85v9OWg.js +1 -0
  56. package/apps/web/dist/assets/{code-editor-Ca5EAxmd.js → code-editor-B1RbFTAZ.js} +2 -2
  57. package/apps/web/dist/assets/connection-sign-in-CaVvh5GQ.js +1 -0
  58. package/apps/web/dist/assets/{host-D5hNHbhF.js → host-CKS5U5Vg.js} +18 -18
  59. package/apps/web/dist/assets/i18n-Bymk5Ev-.js +55 -0
  60. package/apps/web/dist/assets/{index-CyBrvupM.js → index-Ckcn5vy7.js} +4 -4
  61. package/apps/web/dist/assets/{read-aloud-Bfp9_bUY.js → read-aloud-Bq88XUHC.js} +1 -1
  62. package/apps/web/dist/assets/{runners-CUpBpSji.js → runners-DvYVe9Dt.js} +1 -1
  63. package/apps/web/dist/assets/session-D2bjiA3P.js +2 -0
  64. package/apps/web/dist/assets/theme-CNJIC2be.js +12 -0
  65. package/apps/web/dist/assets/ui-Mplfhz_Z.js +16 -0
  66. package/apps/web/dist/assets/{useMutation-1fV4Nnxq.js → useMutation-8QRM-z4M.js} +1 -1
  67. package/apps/web/dist/assets/{viewers-ChriFcRy.js → viewers-CEocUV_2.js} +2 -2
  68. package/apps/web/dist/index.html +11 -11
  69. package/apps/web/dist/mcp/flow.html +65 -65
  70. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +8 -2
  71. package/node_modules/@engenty/wizards/dist/plugin/thread.js +30 -0
  72. package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +168 -0
  73. package/node_modules/@engenty/wizards-shared/dist/definition.js +52 -0
  74. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +6 -0
  75. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +6 -0
  76. package/node_modules/@engenty/wizards-shared/dist/fit.d.ts +2 -0
  77. package/node_modules/@engenty/wizards-shared/dist/fit.js +4 -0
  78. package/node_modules/@engenty/wizards-shared/dist/knowledge.d.ts +5 -0
  79. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +8 -1
  80. package/node_modules/@engenty/wizards-shared/dist/run.js +8 -0
  81. package/node_modules/@engenty/wizards-shared/dist/runner-texts.d.ts +7 -1
  82. package/node_modules/@engenty/wizards-shared/dist/runner-texts.js +6 -0
  83. package/package.json +1 -1
  84. package/plugin/.claude-plugin/plugin.json +1 -1
  85. package/plugin/plugin.json +1 -1
  86. package/apps/web/dist/assets/CapabilitiesPage-BlZP8DYb.js +0 -2
  87. package/apps/web/dist/assets/EditorPage-CrMVsgUt.js +0 -3
  88. package/apps/web/dist/assets/Marketplace-Cty40VwG.js +0 -2
  89. package/apps/web/dist/assets/NewWizardPage-CfVe_4a2.js +0 -7
  90. package/apps/web/dist/assets/OnboardingPage-D3SEpTmt.js +0 -1
  91. package/apps/web/dist/assets/PreviewPane-CQDKQO6z.js +0 -7
  92. package/apps/web/dist/assets/PublicRunner-BDZNnlQw.js +0 -1
  93. package/apps/web/dist/assets/SettingsPage-Bgurv3l2.js +0 -2
  94. package/apps/web/dist/assets/SetupPage-C3km8vqv.js +0 -1
  95. package/apps/web/dist/assets/SkillEditor-BaEiqqXl.js +0 -1
  96. package/apps/web/dist/assets/SpacePage-D9PXLSU_.js +0 -2
  97. package/apps/web/dist/assets/changelog-DwgWiSZb.js +0 -1
  98. package/apps/web/dist/assets/connection-sign-in-hI3HXhq4.js +0 -1
  99. package/apps/web/dist/assets/i18n-BBzMbGoo.js +0 -55
  100. package/apps/web/dist/assets/session-CMQo8P-G.js +0 -2
  101. package/apps/web/dist/assets/theme-CdX0marK.js +0 -11
  102. package/apps/web/dist/assets/ui-BCfu5sia.js +0 -16
@@ -0,0 +1,629 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "1ac24d3e-d888-474d-8819-3dda58cbea4f",
5
+ "prevId": "bef85183-3c1f-4905-8c0e-5b58b35c8d4a",
6
+ "tables": {
7
+ "link": {
8
+ "name": "link",
9
+ "columns": {
10
+ "token": {
11
+ "name": "token",
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
+ "kind": {
25
+ "name": "kind",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "ref": {
32
+ "name": "ref",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "created_at": {
39
+ "name": "created_at",
40
+ "type": "integer",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false,
44
+ "default": "(unixepoch() * 1000)"
45
+ }
46
+ },
47
+ "indexes": {
48
+ "link_tenant": {
49
+ "name": "link_tenant",
50
+ "columns": [
51
+ "tenant_id"
52
+ ],
53
+ "isUnique": false
54
+ },
55
+ "link_ref": {
56
+ "name": "link_ref",
57
+ "columns": [
58
+ "kind",
59
+ "ref"
60
+ ],
61
+ "isUnique": false
62
+ }
63
+ },
64
+ "foreignKeys": {},
65
+ "compositePrimaryKeys": {},
66
+ "uniqueConstraints": {},
67
+ "checkConstraints": {}
68
+ },
69
+ "marketplace_cache": {
70
+ "name": "marketplace_cache",
71
+ "columns": {
72
+ "id": {
73
+ "name": "id",
74
+ "type": "text",
75
+ "primaryKey": true,
76
+ "notNull": true,
77
+ "autoincrement": false
78
+ },
79
+ "hash": {
80
+ "name": "hash",
81
+ "type": "text",
82
+ "primaryKey": false,
83
+ "notNull": true,
84
+ "autoincrement": false
85
+ },
86
+ "entry": {
87
+ "name": "entry",
88
+ "type": "text",
89
+ "primaryKey": false,
90
+ "notNull": true,
91
+ "autoincrement": false
92
+ },
93
+ "fetched_at": {
94
+ "name": "fetched_at",
95
+ "type": "integer",
96
+ "primaryKey": false,
97
+ "notNull": true,
98
+ "autoincrement": false,
99
+ "default": "(unixepoch() * 1000)"
100
+ }
101
+ },
102
+ "indexes": {},
103
+ "foreignKeys": {},
104
+ "compositePrimaryKeys": {},
105
+ "uniqueConstraints": {},
106
+ "checkConstraints": {}
107
+ },
108
+ "plugin_address": {
109
+ "name": "plugin_address",
110
+ "columns": {
111
+ "ref": {
112
+ "name": "ref",
113
+ "type": "text",
114
+ "primaryKey": true,
115
+ "notNull": true,
116
+ "autoincrement": false
117
+ },
118
+ "tenant_id": {
119
+ "name": "tenant_id",
120
+ "type": "text",
121
+ "primaryKey": false,
122
+ "notNull": true,
123
+ "autoincrement": false
124
+ },
125
+ "plugin": {
126
+ "name": "plugin",
127
+ "type": "text",
128
+ "primaryKey": false,
129
+ "notNull": true,
130
+ "autoincrement": false
131
+ },
132
+ "created_at": {
133
+ "name": "created_at",
134
+ "type": "integer",
135
+ "primaryKey": false,
136
+ "notNull": true,
137
+ "autoincrement": false,
138
+ "default": "(unixepoch() * 1000)"
139
+ }
140
+ },
141
+ "indexes": {
142
+ "plugin_address_tenant": {
143
+ "name": "plugin_address_tenant",
144
+ "columns": [
145
+ "tenant_id",
146
+ "plugin"
147
+ ],
148
+ "isUnique": true
149
+ }
150
+ },
151
+ "foreignKeys": {},
152
+ "compositePrimaryKeys": {},
153
+ "uniqueConstraints": {},
154
+ "checkConstraints": {}
155
+ },
156
+ "plugin_claim": {
157
+ "name": "plugin_claim",
158
+ "columns": {
159
+ "plugin": {
160
+ "name": "plugin",
161
+ "type": "text",
162
+ "primaryKey": false,
163
+ "notNull": true,
164
+ "autoincrement": false
165
+ },
166
+ "key": {
167
+ "name": "key",
168
+ "type": "text",
169
+ "primaryKey": false,
170
+ "notNull": true,
171
+ "autoincrement": false
172
+ },
173
+ "tenant_id": {
174
+ "name": "tenant_id",
175
+ "type": "text",
176
+ "primaryKey": false,
177
+ "notNull": true,
178
+ "autoincrement": false
179
+ },
180
+ "updated_at": {
181
+ "name": "updated_at",
182
+ "type": "integer",
183
+ "primaryKey": false,
184
+ "notNull": true,
185
+ "autoincrement": false,
186
+ "default": "(unixepoch() * 1000)"
187
+ }
188
+ },
189
+ "indexes": {
190
+ "plugin_claim_tenant": {
191
+ "name": "plugin_claim_tenant",
192
+ "columns": [
193
+ "tenant_id",
194
+ "plugin"
195
+ ],
196
+ "isUnique": false
197
+ }
198
+ },
199
+ "foreignKeys": {},
200
+ "compositePrimaryKeys": {
201
+ "plugin_claim_plugin_key_pk": {
202
+ "columns": [
203
+ "plugin",
204
+ "key"
205
+ ],
206
+ "name": "plugin_claim_plugin_key_pk"
207
+ }
208
+ },
209
+ "uniqueConstraints": {},
210
+ "checkConstraints": {}
211
+ },
212
+ "plugin_job": {
213
+ "name": "plugin_job",
214
+ "columns": {
215
+ "tenant_id": {
216
+ "name": "tenant_id",
217
+ "type": "text",
218
+ "primaryKey": false,
219
+ "notNull": true,
220
+ "autoincrement": false
221
+ },
222
+ "plugin": {
223
+ "name": "plugin",
224
+ "type": "text",
225
+ "primaryKey": false,
226
+ "notNull": true,
227
+ "autoincrement": false
228
+ },
229
+ "name": {
230
+ "name": "name",
231
+ "type": "text",
232
+ "primaryKey": false,
233
+ "notNull": true,
234
+ "autoincrement": false
235
+ },
236
+ "last_run_at": {
237
+ "name": "last_run_at",
238
+ "type": "integer",
239
+ "primaryKey": false,
240
+ "notNull": true,
241
+ "autoincrement": false
242
+ }
243
+ },
244
+ "indexes": {},
245
+ "foreignKeys": {},
246
+ "compositePrimaryKeys": {
247
+ "plugin_job_tenant_id_plugin_name_pk": {
248
+ "columns": [
249
+ "tenant_id",
250
+ "plugin",
251
+ "name"
252
+ ],
253
+ "name": "plugin_job_tenant_id_plugin_name_pk"
254
+ }
255
+ },
256
+ "uniqueConstraints": {},
257
+ "checkConstraints": {}
258
+ },
259
+ "run_index": {
260
+ "name": "run_index",
261
+ "columns": {
262
+ "run_id": {
263
+ "name": "run_id",
264
+ "type": "text",
265
+ "primaryKey": true,
266
+ "notNull": true,
267
+ "autoincrement": false
268
+ },
269
+ "tenant_id": {
270
+ "name": "tenant_id",
271
+ "type": "text",
272
+ "primaryKey": false,
273
+ "notNull": true,
274
+ "autoincrement": false
275
+ },
276
+ "visitor_id": {
277
+ "name": "visitor_id",
278
+ "type": "text",
279
+ "primaryKey": false,
280
+ "notNull": false,
281
+ "autoincrement": false
282
+ },
283
+ "ip_hash": {
284
+ "name": "ip_hash",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": false,
288
+ "autoincrement": false
289
+ },
290
+ "active": {
291
+ "name": "active",
292
+ "type": "integer",
293
+ "primaryKey": false,
294
+ "notNull": true,
295
+ "autoincrement": false,
296
+ "default": false
297
+ },
298
+ "owner": {
299
+ "name": "owner",
300
+ "type": "text",
301
+ "primaryKey": false,
302
+ "notNull": false,
303
+ "autoincrement": false
304
+ },
305
+ "seen": {
306
+ "name": "seen",
307
+ "type": "integer",
308
+ "primaryKey": false,
309
+ "notNull": false,
310
+ "autoincrement": false
311
+ },
312
+ "generation": {
313
+ "name": "generation",
314
+ "type": "integer",
315
+ "primaryKey": false,
316
+ "notNull": true,
317
+ "autoincrement": false,
318
+ "default": 0
319
+ },
320
+ "push": {
321
+ "name": "push",
322
+ "type": "text",
323
+ "primaryKey": false,
324
+ "notNull": false,
325
+ "autoincrement": false
326
+ },
327
+ "created_at": {
328
+ "name": "created_at",
329
+ "type": "integer",
330
+ "primaryKey": false,
331
+ "notNull": true,
332
+ "autoincrement": false,
333
+ "default": "(unixepoch() * 1000)"
334
+ }
335
+ },
336
+ "indexes": {
337
+ "run_index_visitor": {
338
+ "name": "run_index_visitor",
339
+ "columns": [
340
+ "visitor_id",
341
+ "created_at"
342
+ ],
343
+ "isUnique": false
344
+ },
345
+ "run_index_ip": {
346
+ "name": "run_index_ip",
347
+ "columns": [
348
+ "ip_hash",
349
+ "created_at"
350
+ ],
351
+ "isUnique": false
352
+ },
353
+ "run_index_active": {
354
+ "name": "run_index_active",
355
+ "columns": [
356
+ "active",
357
+ "tenant_id"
358
+ ],
359
+ "isUnique": false
360
+ }
361
+ },
362
+ "foreignKeys": {},
363
+ "compositePrimaryKeys": {},
364
+ "uniqueConstraints": {},
365
+ "checkConstraints": {}
366
+ },
367
+ "runner": {
368
+ "name": "runner",
369
+ "columns": {
370
+ "id": {
371
+ "name": "id",
372
+ "type": "text",
373
+ "primaryKey": true,
374
+ "notNull": true,
375
+ "autoincrement": false
376
+ },
377
+ "url": {
378
+ "name": "url",
379
+ "type": "text",
380
+ "primaryKey": false,
381
+ "notNull": false,
382
+ "autoincrement": false
383
+ },
384
+ "seen": {
385
+ "name": "seen",
386
+ "type": "integer",
387
+ "primaryKey": false,
388
+ "notNull": true,
389
+ "autoincrement": false
390
+ },
391
+ "line_at": {
392
+ "name": "line_at",
393
+ "type": "integer",
394
+ "primaryKey": false,
395
+ "notNull": false,
396
+ "autoincrement": false
397
+ }
398
+ },
399
+ "indexes": {},
400
+ "foreignKeys": {},
401
+ "compositePrimaryKeys": {},
402
+ "uniqueConstraints": {},
403
+ "checkConstraints": {}
404
+ },
405
+ "session": {
406
+ "name": "session",
407
+ "columns": {
408
+ "id": {
409
+ "name": "id",
410
+ "type": "text",
411
+ "primaryKey": true,
412
+ "notNull": true,
413
+ "autoincrement": false
414
+ },
415
+ "user_id": {
416
+ "name": "user_id",
417
+ "type": "text",
418
+ "primaryKey": false,
419
+ "notNull": true,
420
+ "autoincrement": false
421
+ },
422
+ "tenant_id": {
423
+ "name": "tenant_id",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false
428
+ },
429
+ "role": {
430
+ "name": "role",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": true,
434
+ "autoincrement": false
435
+ },
436
+ "name": {
437
+ "name": "name",
438
+ "type": "text",
439
+ "primaryKey": false,
440
+ "notNull": true,
441
+ "autoincrement": false
442
+ },
443
+ "email": {
444
+ "name": "email",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": true,
448
+ "autoincrement": false
449
+ },
450
+ "image": {
451
+ "name": "image",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": false,
455
+ "autoincrement": false
456
+ },
457
+ "refresh_token": {
458
+ "name": "refresh_token",
459
+ "type": "text",
460
+ "primaryKey": false,
461
+ "notNull": false,
462
+ "autoincrement": false
463
+ },
464
+ "claims_expire_at": {
465
+ "name": "claims_expire_at",
466
+ "type": "integer",
467
+ "primaryKey": false,
468
+ "notNull": true,
469
+ "autoincrement": false
470
+ },
471
+ "expires_at": {
472
+ "name": "expires_at",
473
+ "type": "integer",
474
+ "primaryKey": false,
475
+ "notNull": true,
476
+ "autoincrement": false
477
+ },
478
+ "impersonated_by": {
479
+ "name": "impersonated_by",
480
+ "type": "text",
481
+ "primaryKey": false,
482
+ "notNull": false,
483
+ "autoincrement": false
484
+ },
485
+ "impersonator_email": {
486
+ "name": "impersonator_email",
487
+ "type": "text",
488
+ "primaryKey": false,
489
+ "notNull": false,
490
+ "autoincrement": false
491
+ },
492
+ "created_at": {
493
+ "name": "created_at",
494
+ "type": "integer",
495
+ "primaryKey": false,
496
+ "notNull": true,
497
+ "autoincrement": false,
498
+ "default": "(unixepoch() * 1000)"
499
+ }
500
+ },
501
+ "indexes": {
502
+ "session_expires": {
503
+ "name": "session_expires",
504
+ "columns": [
505
+ "expires_at"
506
+ ],
507
+ "isUnique": false
508
+ }
509
+ },
510
+ "foreignKeys": {},
511
+ "compositePrimaryKeys": {},
512
+ "uniqueConstraints": {},
513
+ "checkConstraints": {}
514
+ },
515
+ "setting": {
516
+ "name": "setting",
517
+ "columns": {
518
+ "key": {
519
+ "name": "key",
520
+ "type": "text",
521
+ "primaryKey": true,
522
+ "notNull": true,
523
+ "autoincrement": false
524
+ },
525
+ "value": {
526
+ "name": "value",
527
+ "type": "text",
528
+ "primaryKey": false,
529
+ "notNull": true,
530
+ "autoincrement": false
531
+ }
532
+ },
533
+ "indexes": {},
534
+ "foreignKeys": {},
535
+ "compositePrimaryKeys": {},
536
+ "uniqueConstraints": {},
537
+ "checkConstraints": {}
538
+ },
539
+ "tenant": {
540
+ "name": "tenant",
541
+ "columns": {
542
+ "id": {
543
+ "name": "id",
544
+ "type": "text",
545
+ "primaryKey": true,
546
+ "notNull": true,
547
+ "autoincrement": false
548
+ },
549
+ "status": {
550
+ "name": "status",
551
+ "type": "text",
552
+ "primaryKey": false,
553
+ "notNull": true,
554
+ "autoincrement": false,
555
+ "default": "'active'"
556
+ },
557
+ "db_url": {
558
+ "name": "db_url",
559
+ "type": "text",
560
+ "primaryKey": false,
561
+ "notNull": false,
562
+ "autoincrement": false
563
+ },
564
+ "created_at": {
565
+ "name": "created_at",
566
+ "type": "integer",
567
+ "primaryKey": false,
568
+ "notNull": true,
569
+ "autoincrement": false,
570
+ "default": "(unixepoch() * 1000)"
571
+ }
572
+ },
573
+ "indexes": {},
574
+ "foreignKeys": {},
575
+ "compositePrimaryKeys": {},
576
+ "uniqueConstraints": {},
577
+ "checkConstraints": {}
578
+ },
579
+ "ui_translation": {
580
+ "name": "ui_translation",
581
+ "columns": {
582
+ "lang": {
583
+ "name": "lang",
584
+ "type": "text",
585
+ "primaryKey": true,
586
+ "notNull": true,
587
+ "autoincrement": false
588
+ },
589
+ "source": {
590
+ "name": "source",
591
+ "type": "text",
592
+ "primaryKey": false,
593
+ "notNull": true,
594
+ "autoincrement": false
595
+ },
596
+ "texts": {
597
+ "name": "texts",
598
+ "type": "text",
599
+ "primaryKey": false,
600
+ "notNull": true,
601
+ "autoincrement": false
602
+ },
603
+ "created_at": {
604
+ "name": "created_at",
605
+ "type": "integer",
606
+ "primaryKey": false,
607
+ "notNull": true,
608
+ "autoincrement": false,
609
+ "default": "(unixepoch() * 1000)"
610
+ }
611
+ },
612
+ "indexes": {},
613
+ "foreignKeys": {},
614
+ "compositePrimaryKeys": {},
615
+ "uniqueConstraints": {},
616
+ "checkConstraints": {}
617
+ }
618
+ },
619
+ "views": {},
620
+ "enums": {},
621
+ "_meta": {
622
+ "schemas": {},
623
+ "tables": {},
624
+ "columns": {}
625
+ },
626
+ "internal": {
627
+ "indexes": {}
628
+ }
629
+ }