@zonease/aiworker-cli 0.12.2 → 0.13.1

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 (117) hide show
  1. package/README.md +158 -350
  2. package/aiworker-bun.js +614 -694
  3. package/drizzle/worker/0000_polite_stellaris.sql +219 -0
  4. package/drizzle/worker/0001_red_lady_mastermind.sql +29 -0
  5. package/drizzle/worker/0002_concerned_slyde.sql +45 -0
  6. package/drizzle/worker/meta/0000_snapshot.json +1055 -194
  7. package/drizzle/worker/meta/0001_snapshot.json +1244 -222
  8. package/drizzle/worker/meta/0002_snapshot.json +1557 -273
  9. package/drizzle/worker/meta/_journal.json +6 -48
  10. package/official-apps/aiworker-hr/README.md +16 -0
  11. package/official-apps/aiworker-hr/capabilities/candidate-screen/prompt.md +3 -0
  12. package/official-apps/aiworker-hr/capabilities/candidate-screen/review.md +5 -0
  13. package/official-apps/aiworker-hr/capabilities/person-profile/prompt.md +3 -0
  14. package/official-apps/aiworker-hr/capabilities/person-profile/review.md +5 -0
  15. package/official-apps/aiworker-hr/dist/host-mounted.js +15677 -0
  16. package/official-apps/aiworker-hr/dist/index.js +15411 -0
  17. package/official-apps/aiworker-hr/dist/standalone.js +15451 -0
  18. package/official-apps/aiworker-hr/migrations/0001_hr.sql +2 -0
  19. package/official-apps/aiworker-hr/package.json +31 -0
  20. package/official-apps/aiworker-hr/packs/hr-recruiting/SOUL.md +7 -0
  21. package/official-apps/aiworker-hr/review/candidate-screen.md +5 -0
  22. package/official-apps/aiworker-hr/review/person-profile.md +5 -0
  23. package/official-apps/aiworker-hr/schemas/candidate-screen.schema.json +50 -0
  24. package/official-apps/aiworker-hr/schemas/person-profile.schema.json +50 -0
  25. package/official-apps/aiworker-hr/soul-app.manifest.json +374 -0
  26. package/official-apps/aiworker-hr/src/api.ts +1 -0
  27. package/official-apps/aiworker-hr/src/host-mounted.ts +308 -0
  28. package/official-apps/aiworker-hr/src/index.ts +152 -0
  29. package/official-apps/aiworker-hr/src/protocol/artifact.ts +2 -0
  30. package/official-apps/aiworker-hr/src/protocol/connectors.ts +2 -0
  31. package/official-apps/aiworker-hr/src/protocol/lifecycle.ts +2 -0
  32. package/official-apps/aiworker-hr/src/protocol/review.ts +2 -0
  33. package/official-apps/aiworker-hr/src/protocol/runtime.ts +2 -0
  34. package/official-apps/aiworker-hr/src/protocol/ui.ts +2 -0
  35. package/official-apps/aiworker-hr/src/standalone.ts +43 -0
  36. package/official-apps/aiworker-hr/src/ui/candidate-screen-preview.tsx +2 -0
  37. package/official-apps/aiworker-hr/src/ui/hr-route.tsx +1 -0
  38. package/official-apps/aiworker-hr/src/ui/people-widget.tsx +1 -0
  39. package/official-apps/aiworker-hr/src/ui/person-profile-preview.tsx +2 -0
  40. package/official-apps/aiworker-hr/src/ui/profile-panel.tsx +1 -0
  41. package/official-apps/aiworker-hr/src/ui/review-panel.tsx +1 -0
  42. package/official-apps/aiworker-hr/tsconfig.json +20 -0
  43. package/official-apps/aiworker-qa/README.md +14 -0
  44. package/official-apps/aiworker-qa/capabilities/regression-matrix/prompt.md +3 -0
  45. package/official-apps/aiworker-qa/capabilities/regression-matrix/review.md +5 -0
  46. package/official-apps/aiworker-qa/capabilities/release-gate/prompt.md +3 -0
  47. package/official-apps/aiworker-qa/capabilities/release-gate/review.md +5 -0
  48. package/official-apps/aiworker-qa/dist/host-mounted.js +15655 -0
  49. package/official-apps/aiworker-qa/dist/index.js +15395 -0
  50. package/official-apps/aiworker-qa/dist/standalone.js +15435 -0
  51. package/official-apps/aiworker-qa/migrations/0001_qa.sql +2 -0
  52. package/official-apps/aiworker-qa/package.json +31 -0
  53. package/official-apps/aiworker-qa/packs/qa-reviewer/SOUL.md +7 -0
  54. package/official-apps/aiworker-qa/review/regression-matrix.md +5 -0
  55. package/official-apps/aiworker-qa/review/release-gate.md +5 -0
  56. package/official-apps/aiworker-qa/schemas/regression-matrix.schema.json +50 -0
  57. package/official-apps/aiworker-qa/schemas/release-gate.schema.json +50 -0
  58. package/official-apps/aiworker-qa/soul-app.manifest.json +356 -0
  59. package/official-apps/aiworker-qa/src/api.ts +1 -0
  60. package/official-apps/aiworker-qa/src/host-mounted.ts +302 -0
  61. package/official-apps/aiworker-qa/src/index.ts +152 -0
  62. package/official-apps/aiworker-qa/src/protocol/artifact.ts +2 -0
  63. package/official-apps/aiworker-qa/src/protocol/connectors.ts +2 -0
  64. package/official-apps/aiworker-qa/src/protocol/lifecycle.ts +2 -0
  65. package/official-apps/aiworker-qa/src/protocol/review.ts +2 -0
  66. package/official-apps/aiworker-qa/src/protocol/runtime.ts +2 -0
  67. package/official-apps/aiworker-qa/src/protocol/ui.ts +2 -0
  68. package/official-apps/aiworker-qa/src/standalone.ts +43 -0
  69. package/official-apps/aiworker-qa/src/ui/qa-route.tsx +1 -0
  70. package/official-apps/aiworker-qa/src/ui/regression-matrix-preview.tsx +2 -0
  71. package/official-apps/aiworker-qa/src/ui/release-gate-preview.tsx +2 -0
  72. package/official-apps/aiworker-qa/src/ui/release-panel.tsx +1 -0
  73. package/official-apps/aiworker-qa/src/ui/release-review-panel.tsx +1 -0
  74. package/official-apps/aiworker-qa/src/ui/release-widget.tsx +1 -0
  75. package/official-apps/aiworker-qa/src/ui/review-panel.tsx +1 -0
  76. package/official-apps/aiworker-qa/tsconfig.json +20 -0
  77. package/package.json +5 -4
  78. package/web/worker/assets/index-K-y56wrL.css +2 -0
  79. package/web/worker/assets/index-YNnnk64n.js +18 -0
  80. package/web/worker/assets/markdown-preview-DFe-rfff.js +29 -0
  81. package/web/worker/assets/people-workbench-BzWwSc2I.js +1 -0
  82. package/web/worker/engine-icons/claude.svg +1 -0
  83. package/web/worker/engine-icons/cursor.svg +1 -0
  84. package/web/worker/engine-icons/gemini.svg +1 -0
  85. package/web/worker/engine-icons/hermesagent.svg +1 -0
  86. package/web/worker/engine-icons/openai.svg +1 -0
  87. package/web/worker/engine-icons/opencode.svg +1 -0
  88. package/web/worker/engine-icons/qwen.svg +1 -0
  89. package/web/worker/fonts/inter-latin-wght-normal.woff2 +0 -0
  90. package/web/worker/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  91. package/web/worker/fonts/nunito-latin-wght-normal.woff2 +0 -0
  92. package/web/worker/index.html +8 -4
  93. package/web/worker/logo.svg +8 -0
  94. package/drizzle/fleet/0000_fine_havok.sql +0 -23
  95. package/drizzle/fleet/meta/0000_snapshot.json +0 -165
  96. package/drizzle/fleet/meta/_journal.json +0 -13
  97. package/drizzle/worker/0000_spooky_kat_farrell.sql +0 -112
  98. package/drizzle/worker/0001_secret_dagger.sql +0 -1
  99. package/drizzle/worker/0002_jazzy_moondragon.sql +0 -13
  100. package/drizzle/worker/0003_rare_cloak.sql +0 -7
  101. package/drizzle/worker/0004_daffy_thing.sql +0 -26
  102. package/drizzle/worker/0005_worthless_whiplash.sql +0 -20
  103. package/drizzle/worker/0006_fair_jetstream.sql +0 -34
  104. package/drizzle/worker/0007_solid_bromley.sql +0 -11
  105. package/drizzle/worker/0008_peaceful_titanium_man.sql +0 -14
  106. package/drizzle/worker/meta/0003_snapshot.json +0 -873
  107. package/drizzle/worker/meta/0004_snapshot.json +0 -1058
  108. package/drizzle/worker/meta/0005_snapshot.json +0 -1192
  109. package/drizzle/worker/meta/0006_snapshot.json +0 -1420
  110. package/drizzle/worker/meta/0007_snapshot.json +0 -1489
  111. package/drizzle/worker/meta/0008_snapshot.json +0 -1593
  112. package/web/fleet/assets/index-BTknRPEg.js +0 -1372
  113. package/web/fleet/assets/index-lu-9OhC0.css +0 -2
  114. package/web/fleet/favicon.svg +0 -4
  115. package/web/fleet/index.html +0 -14
  116. package/web/worker/assets/index-DuxsPbd7.js +0 -1382
  117. package/web/worker/assets/index-lu-9OhC0.css +0 -2
@@ -1,873 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "443428fd-77b8-41e0-807b-8eb63208b773",
5
- "prevId": "04e965fd-7c52-418b-bbc2-112abee2aa22",
6
- "tables": {
7
- "agent_tasks": {
8
- "name": "agent_tasks",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "prompt": {
18
- "name": "prompt",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "status": {
25
- "name": "status",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- },
31
- "conversation_id": {
32
- "name": "conversation_id",
33
- "type": "text",
34
- "primaryKey": false,
35
- "notNull": false,
36
- "autoincrement": false
37
- },
38
- "created_at": {
39
- "name": "created_at",
40
- "type": "text",
41
- "primaryKey": false,
42
- "notNull": true,
43
- "autoincrement": false
44
- },
45
- "finished_at": {
46
- "name": "finished_at",
47
- "type": "text",
48
- "primaryKey": false,
49
- "notNull": false,
50
- "autoincrement": false
51
- },
52
- "result": {
53
- "name": "result",
54
- "type": "text",
55
- "primaryKey": false,
56
- "notNull": false,
57
- "autoincrement": false
58
- },
59
- "error": {
60
- "name": "error",
61
- "type": "text",
62
- "primaryKey": false,
63
- "notNull": false,
64
- "autoincrement": false
65
- }
66
- },
67
- "indexes": {
68
- "agent_tasks_created_at_idx": {
69
- "name": "agent_tasks_created_at_idx",
70
- "columns": [
71
- "created_at"
72
- ],
73
- "isUnique": false
74
- }
75
- },
76
- "foreignKeys": {},
77
- "compositePrimaryKeys": {},
78
- "uniqueConstraints": {},
79
- "checkConstraints": {}
80
- },
81
- "conversations": {
82
- "name": "conversations",
83
- "columns": {
84
- "id": {
85
- "name": "id",
86
- "type": "text",
87
- "primaryKey": true,
88
- "notNull": true,
89
- "autoincrement": false
90
- },
91
- "task_id": {
92
- "name": "task_id",
93
- "type": "text",
94
- "primaryKey": false,
95
- "notNull": false,
96
- "autoincrement": false
97
- },
98
- "channel": {
99
- "name": "channel",
100
- "type": "text",
101
- "primaryKey": false,
102
- "notNull": true,
103
- "autoincrement": false
104
- },
105
- "chat_id": {
106
- "name": "chat_id",
107
- "type": "text",
108
- "primaryKey": false,
109
- "notNull": true,
110
- "autoincrement": false
111
- },
112
- "thread_id": {
113
- "name": "thread_id",
114
- "type": "text",
115
- "primaryKey": false,
116
- "notNull": false,
117
- "autoincrement": false
118
- },
119
- "status": {
120
- "name": "status",
121
- "type": "text",
122
- "primaryKey": false,
123
- "notNull": true,
124
- "autoincrement": false,
125
- "default": "'open'"
126
- },
127
- "summary": {
128
- "name": "summary",
129
- "type": "text",
130
- "primaryKey": false,
131
- "notNull": false,
132
- "autoincrement": false
133
- },
134
- "started_at": {
135
- "name": "started_at",
136
- "type": "text",
137
- "primaryKey": false,
138
- "notNull": true,
139
- "autoincrement": false
140
- },
141
- "last_active_at": {
142
- "name": "last_active_at",
143
- "type": "text",
144
- "primaryKey": false,
145
- "notNull": true,
146
- "autoincrement": false
147
- },
148
- "closed_at": {
149
- "name": "closed_at",
150
- "type": "text",
151
- "primaryKey": false,
152
- "notNull": false,
153
- "autoincrement": false
154
- }
155
- },
156
- "indexes": {
157
- "conversations_lookup_idx": {
158
- "name": "conversations_lookup_idx",
159
- "columns": [
160
- "channel",
161
- "chat_id",
162
- "thread_id",
163
- "status"
164
- ],
165
- "isUnique": false
166
- },
167
- "conversations_last_active_at_idx": {
168
- "name": "conversations_last_active_at_idx",
169
- "columns": [
170
- "last_active_at"
171
- ],
172
- "isUnique": false
173
- }
174
- },
175
- "foreignKeys": {
176
- "conversations_task_id_agent_tasks_id_fk": {
177
- "name": "conversations_task_id_agent_tasks_id_fk",
178
- "tableFrom": "conversations",
179
- "tableTo": "agent_tasks",
180
- "columnsFrom": [
181
- "task_id"
182
- ],
183
- "columnsTo": [
184
- "id"
185
- ],
186
- "onDelete": "no action",
187
- "onUpdate": "no action"
188
- }
189
- },
190
- "compositePrimaryKeys": {},
191
- "uniqueConstraints": {},
192
- "checkConstraints": {}
193
- },
194
- "cron_jobs": {
195
- "name": "cron_jobs",
196
- "columns": {
197
- "id": {
198
- "name": "id",
199
- "type": "text",
200
- "primaryKey": true,
201
- "notNull": true,
202
- "autoincrement": false
203
- },
204
- "expression": {
205
- "name": "expression",
206
- "type": "text",
207
- "primaryKey": false,
208
- "notNull": true,
209
- "autoincrement": false
210
- },
211
- "prompt": {
212
- "name": "prompt",
213
- "type": "text",
214
- "primaryKey": false,
215
- "notNull": true,
216
- "autoincrement": false
217
- },
218
- "channel": {
219
- "name": "channel",
220
- "type": "text",
221
- "primaryKey": false,
222
- "notNull": true,
223
- "autoincrement": false
224
- },
225
- "chat_id": {
226
- "name": "chat_id",
227
- "type": "text",
228
- "primaryKey": false,
229
- "notNull": true,
230
- "autoincrement": false
231
- },
232
- "account_id": {
233
- "name": "account_id",
234
- "type": "text",
235
- "primaryKey": false,
236
- "notNull": true,
237
- "autoincrement": false
238
- },
239
- "enabled": {
240
- "name": "enabled",
241
- "type": "integer",
242
- "primaryKey": false,
243
- "notNull": true,
244
- "autoincrement": false,
245
- "default": true
246
- },
247
- "last_run_at": {
248
- "name": "last_run_at",
249
- "type": "text",
250
- "primaryKey": false,
251
- "notNull": false,
252
- "autoincrement": false
253
- },
254
- "next_run_at": {
255
- "name": "next_run_at",
256
- "type": "text",
257
- "primaryKey": false,
258
- "notNull": false,
259
- "autoincrement": false
260
- },
261
- "created_at": {
262
- "name": "created_at",
263
- "type": "text",
264
- "primaryKey": false,
265
- "notNull": true,
266
- "autoincrement": false
267
- },
268
- "updated_at": {
269
- "name": "updated_at",
270
- "type": "text",
271
- "primaryKey": false,
272
- "notNull": true,
273
- "autoincrement": false
274
- }
275
- },
276
- "indexes": {
277
- "cron_jobs_due_idx": {
278
- "name": "cron_jobs_due_idx",
279
- "columns": [
280
- "enabled",
281
- "next_run_at"
282
- ],
283
- "isUnique": false
284
- }
285
- },
286
- "foreignKeys": {},
287
- "compositePrimaryKeys": {},
288
- "uniqueConstraints": {},
289
- "checkConstraints": {}
290
- },
291
- "evolution_observations": {
292
- "name": "evolution_observations",
293
- "columns": {
294
- "id": {
295
- "name": "id",
296
- "type": "integer",
297
- "primaryKey": true,
298
- "notNull": true,
299
- "autoincrement": true
300
- },
301
- "conversation_id": {
302
- "name": "conversation_id",
303
- "type": "text",
304
- "primaryKey": false,
305
- "notNull": false,
306
- "autoincrement": false
307
- },
308
- "kind": {
309
- "name": "kind",
310
- "type": "text",
311
- "primaryKey": false,
312
- "notNull": true,
313
- "autoincrement": false
314
- },
315
- "payload": {
316
- "name": "payload",
317
- "type": "text",
318
- "primaryKey": false,
319
- "notNull": true,
320
- "autoincrement": false
321
- },
322
- "noticed_at": {
323
- "name": "noticed_at",
324
- "type": "text",
325
- "primaryKey": false,
326
- "notNull": true,
327
- "autoincrement": false
328
- }
329
- },
330
- "indexes": {
331
- "evolution_observations_noticed_at_idx": {
332
- "name": "evolution_observations_noticed_at_idx",
333
- "columns": [
334
- "noticed_at"
335
- ],
336
- "isUnique": false
337
- }
338
- },
339
- "foreignKeys": {},
340
- "compositePrimaryKeys": {},
341
- "uniqueConstraints": {},
342
- "checkConstraints": {}
343
- },
344
- "execution_logs": {
345
- "name": "execution_logs",
346
- "columns": {
347
- "id": {
348
- "name": "id",
349
- "type": "integer",
350
- "primaryKey": true,
351
- "notNull": true,
352
- "autoincrement": true
353
- },
354
- "conversation_id": {
355
- "name": "conversation_id",
356
- "type": "text",
357
- "primaryKey": false,
358
- "notNull": false,
359
- "autoincrement": false
360
- },
361
- "tool_name": {
362
- "name": "tool_name",
363
- "type": "text",
364
- "primaryKey": false,
365
- "notNull": true,
366
- "autoincrement": false
367
- },
368
- "params": {
369
- "name": "params",
370
- "type": "text",
371
- "primaryKey": false,
372
- "notNull": false,
373
- "autoincrement": false
374
- },
375
- "result": {
376
- "name": "result",
377
- "type": "text",
378
- "primaryKey": false,
379
- "notNull": false,
380
- "autoincrement": false
381
- },
382
- "duration": {
383
- "name": "duration",
384
- "type": "integer",
385
- "primaryKey": false,
386
- "notNull": false,
387
- "autoincrement": false
388
- },
389
- "created_at": {
390
- "name": "created_at",
391
- "type": "text",
392
- "primaryKey": false,
393
- "notNull": true,
394
- "autoincrement": false
395
- }
396
- },
397
- "indexes": {
398
- "execution_logs_conversation_id_idx": {
399
- "name": "execution_logs_conversation_id_idx",
400
- "columns": [
401
- "conversation_id"
402
- ],
403
- "isUnique": false
404
- }
405
- },
406
- "foreignKeys": {},
407
- "compositePrimaryKeys": {},
408
- "uniqueConstraints": {},
409
- "checkConstraints": {}
410
- },
411
- "messages": {
412
- "name": "messages",
413
- "columns": {
414
- "id": {
415
- "name": "id",
416
- "type": "integer",
417
- "primaryKey": true,
418
- "notNull": true,
419
- "autoincrement": true
420
- },
421
- "conversation_id": {
422
- "name": "conversation_id",
423
- "type": "text",
424
- "primaryKey": false,
425
- "notNull": true,
426
- "autoincrement": false
427
- },
428
- "role": {
429
- "name": "role",
430
- "type": "text",
431
- "primaryKey": false,
432
- "notNull": true,
433
- "autoincrement": false
434
- },
435
- "content": {
436
- "name": "content",
437
- "type": "text",
438
- "primaryKey": false,
439
- "notNull": true,
440
- "autoincrement": false
441
- },
442
- "tool_calls": {
443
- "name": "tool_calls",
444
- "type": "text",
445
- "primaryKey": false,
446
- "notNull": false,
447
- "autoincrement": false
448
- },
449
- "tool_call_id": {
450
- "name": "tool_call_id",
451
- "type": "text",
452
- "primaryKey": false,
453
- "notNull": false,
454
- "autoincrement": false
455
- },
456
- "tokens_in": {
457
- "name": "tokens_in",
458
- "type": "integer",
459
- "primaryKey": false,
460
- "notNull": false,
461
- "autoincrement": false
462
- },
463
- "tokens_out": {
464
- "name": "tokens_out",
465
- "type": "integer",
466
- "primaryKey": false,
467
- "notNull": false,
468
- "autoincrement": false
469
- },
470
- "rich_metadata": {
471
- "name": "rich_metadata",
472
- "type": "text",
473
- "primaryKey": false,
474
- "notNull": false,
475
- "autoincrement": false
476
- },
477
- "created_at": {
478
- "name": "created_at",
479
- "type": "text",
480
- "primaryKey": false,
481
- "notNull": true,
482
- "autoincrement": false
483
- }
484
- },
485
- "indexes": {
486
- "messages_conversation_id_idx": {
487
- "name": "messages_conversation_id_idx",
488
- "columns": [
489
- "conversation_id"
490
- ],
491
- "isUnique": false
492
- }
493
- },
494
- "foreignKeys": {
495
- "messages_conversation_id_conversations_id_fk": {
496
- "name": "messages_conversation_id_conversations_id_fk",
497
- "tableFrom": "messages",
498
- "tableTo": "conversations",
499
- "columnsFrom": [
500
- "conversation_id"
501
- ],
502
- "columnsTo": [
503
- "id"
504
- ],
505
- "onDelete": "cascade",
506
- "onUpdate": "no action"
507
- }
508
- },
509
- "compositePrimaryKeys": {},
510
- "uniqueConstraints": {},
511
- "checkConstraints": {}
512
- },
513
- "skill_bindings": {
514
- "name": "skill_bindings",
515
- "columns": {
516
- "id": {
517
- "name": "id",
518
- "type": "integer",
519
- "primaryKey": true,
520
- "notNull": true,
521
- "autoincrement": true
522
- },
523
- "source": {
524
- "name": "source",
525
- "type": "text",
526
- "primaryKey": false,
527
- "notNull": true,
528
- "autoincrement": false
529
- },
530
- "brain_name": {
531
- "name": "brain_name",
532
- "type": "text",
533
- "primaryKey": false,
534
- "notNull": false,
535
- "autoincrement": false
536
- },
537
- "skill_name": {
538
- "name": "skill_name",
539
- "type": "text",
540
- "primaryKey": false,
541
- "notNull": true,
542
- "autoincrement": false
543
- },
544
- "enabled": {
545
- "name": "enabled",
546
- "type": "integer",
547
- "primaryKey": false,
548
- "notNull": true,
549
- "autoincrement": false,
550
- "default": true
551
- },
552
- "priority": {
553
- "name": "priority",
554
- "type": "integer",
555
- "primaryKey": false,
556
- "notNull": true,
557
- "autoincrement": false,
558
- "default": 0
559
- },
560
- "config": {
561
- "name": "config",
562
- "type": "text",
563
- "primaryKey": false,
564
- "notNull": false,
565
- "autoincrement": false
566
- },
567
- "created_at": {
568
- "name": "created_at",
569
- "type": "text",
570
- "primaryKey": false,
571
- "notNull": true,
572
- "autoincrement": false
573
- },
574
- "updated_at": {
575
- "name": "updated_at",
576
- "type": "text",
577
- "primaryKey": false,
578
- "notNull": true,
579
- "autoincrement": false
580
- }
581
- },
582
- "indexes": {
583
- "skill_bindings_source_brain_name_idx": {
584
- "name": "skill_bindings_source_brain_name_idx",
585
- "columns": [
586
- "source",
587
- "brain_name",
588
- "skill_name"
589
- ],
590
- "isUnique": true
591
- }
592
- },
593
- "foreignKeys": {},
594
- "compositePrimaryKeys": {},
595
- "uniqueConstraints": {},
596
- "checkConstraints": {}
597
- },
598
- "skill_drafts": {
599
- "name": "skill_drafts",
600
- "columns": {
601
- "id": {
602
- "name": "id",
603
- "type": "integer",
604
- "primaryKey": true,
605
- "notNull": true,
606
- "autoincrement": true
607
- },
608
- "proposed_name": {
609
- "name": "proposed_name",
610
- "type": "text",
611
- "primaryKey": false,
612
- "notNull": true,
613
- "autoincrement": false
614
- },
615
- "source": {
616
- "name": "source",
617
- "type": "text",
618
- "primaryKey": false,
619
- "notNull": true,
620
- "autoincrement": false
621
- },
622
- "body_markdown": {
623
- "name": "body_markdown",
624
- "type": "text",
625
- "primaryKey": false,
626
- "notNull": true,
627
- "autoincrement": false
628
- },
629
- "rationale": {
630
- "name": "rationale",
631
- "type": "text",
632
- "primaryKey": false,
633
- "notNull": true,
634
- "autoincrement": false,
635
- "default": "''"
636
- },
637
- "status": {
638
- "name": "status",
639
- "type": "text",
640
- "primaryKey": false,
641
- "notNull": true,
642
- "autoincrement": false,
643
- "default": "'pending'"
644
- },
645
- "created_at": {
646
- "name": "created_at",
647
- "type": "text",
648
- "primaryKey": false,
649
- "notNull": true,
650
- "autoincrement": false
651
- },
652
- "decided_at": {
653
- "name": "decided_at",
654
- "type": "text",
655
- "primaryKey": false,
656
- "notNull": false,
657
- "autoincrement": false
658
- },
659
- "decided_by": {
660
- "name": "decided_by",
661
- "type": "text",
662
- "primaryKey": false,
663
- "notNull": false,
664
- "autoincrement": false
665
- }
666
- },
667
- "indexes": {},
668
- "foreignKeys": {},
669
- "compositePrimaryKeys": {},
670
- "uniqueConstraints": {},
671
- "checkConstraints": {}
672
- },
673
- "worker_config": {
674
- "name": "worker_config",
675
- "columns": {
676
- "pk": {
677
- "name": "pk",
678
- "type": "text",
679
- "primaryKey": true,
680
- "notNull": true,
681
- "autoincrement": false,
682
- "default": "'default'"
683
- },
684
- "config_json": {
685
- "name": "config_json",
686
- "type": "text",
687
- "primaryKey": false,
688
- "notNull": true,
689
- "autoincrement": false
690
- },
691
- "version": {
692
- "name": "version",
693
- "type": "integer",
694
- "primaryKey": false,
695
- "notNull": true,
696
- "autoincrement": false,
697
- "default": 1
698
- },
699
- "updated_at": {
700
- "name": "updated_at",
701
- "type": "text",
702
- "primaryKey": false,
703
- "notNull": true,
704
- "autoincrement": false
705
- },
706
- "updated_by": {
707
- "name": "updated_by",
708
- "type": "text",
709
- "primaryKey": false,
710
- "notNull": false,
711
- "autoincrement": false
712
- }
713
- },
714
- "indexes": {},
715
- "foreignKeys": {},
716
- "compositePrimaryKeys": {},
717
- "uniqueConstraints": {},
718
- "checkConstraints": {}
719
- },
720
- "worker_identity": {
721
- "name": "worker_identity",
722
- "columns": {
723
- "pk": {
724
- "name": "pk",
725
- "type": "text",
726
- "primaryKey": true,
727
- "notNull": true,
728
- "autoincrement": false,
729
- "default": "'default'"
730
- },
731
- "worker_id": {
732
- "name": "worker_id",
733
- "type": "text",
734
- "primaryKey": false,
735
- "notNull": true,
736
- "autoincrement": false
737
- },
738
- "api_token_enc": {
739
- "name": "api_token_enc",
740
- "type": "text",
741
- "primaryKey": false,
742
- "notNull": true,
743
- "autoincrement": false
744
- },
745
- "nonce": {
746
- "name": "nonce",
747
- "type": "text",
748
- "primaryKey": false,
749
- "notNull": true,
750
- "autoincrement": false
751
- },
752
- "auth_tag": {
753
- "name": "auth_tag",
754
- "type": "text",
755
- "primaryKey": false,
756
- "notNull": true,
757
- "autoincrement": false
758
- },
759
- "bootstrap_shown_at": {
760
- "name": "bootstrap_shown_at",
761
- "type": "text",
762
- "primaryKey": false,
763
- "notNull": true,
764
- "autoincrement": false
765
- },
766
- "created_at": {
767
- "name": "created_at",
768
- "type": "text",
769
- "primaryKey": false,
770
- "notNull": true,
771
- "autoincrement": false
772
- },
773
- "rotated_at": {
774
- "name": "rotated_at",
775
- "type": "text",
776
- "primaryKey": false,
777
- "notNull": false,
778
- "autoincrement": false
779
- }
780
- },
781
- "indexes": {
782
- "worker_identity_worker_id_unique": {
783
- "name": "worker_identity_worker_id_unique",
784
- "columns": [
785
- "worker_id"
786
- ],
787
- "isUnique": true
788
- }
789
- },
790
- "foreignKeys": {},
791
- "compositePrimaryKeys": {},
792
- "uniqueConstraints": {},
793
- "checkConstraints": {}
794
- },
795
- "worker_secrets": {
796
- "name": "worker_secrets",
797
- "columns": {
798
- "id": {
799
- "name": "id",
800
- "type": "integer",
801
- "primaryKey": true,
802
- "notNull": true,
803
- "autoincrement": true
804
- },
805
- "key": {
806
- "name": "key",
807
- "type": "text",
808
- "primaryKey": false,
809
- "notNull": true,
810
- "autoincrement": false
811
- },
812
- "value_enc": {
813
- "name": "value_enc",
814
- "type": "text",
815
- "primaryKey": false,
816
- "notNull": true,
817
- "autoincrement": false
818
- },
819
- "nonce": {
820
- "name": "nonce",
821
- "type": "text",
822
- "primaryKey": false,
823
- "notNull": true,
824
- "autoincrement": false
825
- },
826
- "auth_tag": {
827
- "name": "auth_tag",
828
- "type": "text",
829
- "primaryKey": false,
830
- "notNull": true,
831
- "autoincrement": false
832
- },
833
- "created_at": {
834
- "name": "created_at",
835
- "type": "text",
836
- "primaryKey": false,
837
- "notNull": true,
838
- "autoincrement": false
839
- },
840
- "updated_at": {
841
- "name": "updated_at",
842
- "type": "text",
843
- "primaryKey": false,
844
- "notNull": true,
845
- "autoincrement": false
846
- }
847
- },
848
- "indexes": {
849
- "worker_secrets_key_unique": {
850
- "name": "worker_secrets_key_unique",
851
- "columns": [
852
- "key"
853
- ],
854
- "isUnique": true
855
- }
856
- },
857
- "foreignKeys": {},
858
- "compositePrimaryKeys": {},
859
- "uniqueConstraints": {},
860
- "checkConstraints": {}
861
- }
862
- },
863
- "views": {},
864
- "enums": {},
865
- "_meta": {
866
- "schemas": {},
867
- "tables": {},
868
- "columns": {}
869
- },
870
- "internal": {
871
- "indexes": {}
872
- }
873
- }