opencode-supertask 0.1.25 → 0.1.27

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.
@@ -0,0 +1,575 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "1195c6ce-ca97-44dd-9985-4a158ea8ab95",
5
+ "prevId": "8191b4b6-0d86-410a-a34a-fa148a70b169",
6
+ "tables": {
7
+ "task_runs": {
8
+ "name": "task_runs",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "integer",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": true
16
+ },
17
+ "task_id": {
18
+ "name": "task_id",
19
+ "type": "integer",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "session_id": {
25
+ "name": "session_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "model": {
32
+ "name": "model",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "status": {
39
+ "name": "status",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false,
44
+ "default": "'running'"
45
+ },
46
+ "started_at": {
47
+ "name": "started_at",
48
+ "type": "integer",
49
+ "primaryKey": false,
50
+ "notNull": false,
51
+ "autoincrement": false
52
+ },
53
+ "finished_at": {
54
+ "name": "finished_at",
55
+ "type": "integer",
56
+ "primaryKey": false,
57
+ "notNull": false,
58
+ "autoincrement": false
59
+ },
60
+ "log": {
61
+ "name": "log",
62
+ "type": "text",
63
+ "primaryKey": false,
64
+ "notNull": false,
65
+ "autoincrement": false
66
+ },
67
+ "locked_at": {
68
+ "name": "locked_at",
69
+ "type": "integer",
70
+ "primaryKey": false,
71
+ "notNull": false,
72
+ "autoincrement": false
73
+ },
74
+ "locked_by": {
75
+ "name": "locked_by",
76
+ "type": "text",
77
+ "primaryKey": false,
78
+ "notNull": false,
79
+ "autoincrement": false
80
+ },
81
+ "heartbeat_at": {
82
+ "name": "heartbeat_at",
83
+ "type": "integer",
84
+ "primaryKey": false,
85
+ "notNull": false,
86
+ "autoincrement": false
87
+ },
88
+ "worker_pid": {
89
+ "name": "worker_pid",
90
+ "type": "integer",
91
+ "primaryKey": false,
92
+ "notNull": false,
93
+ "autoincrement": false
94
+ },
95
+ "child_pid": {
96
+ "name": "child_pid",
97
+ "type": "integer",
98
+ "primaryKey": false,
99
+ "notNull": false,
100
+ "autoincrement": false
101
+ },
102
+ "launch_protocol": {
103
+ "name": "launch_protocol",
104
+ "type": "text",
105
+ "primaryKey": false,
106
+ "notNull": false,
107
+ "autoincrement": false
108
+ }
109
+ },
110
+ "indexes": {
111
+ "task_runs_task_started_idx": {
112
+ "name": "task_runs_task_started_idx",
113
+ "columns": [
114
+ "task_id",
115
+ "started_at",
116
+ "id"
117
+ ],
118
+ "isUnique": false
119
+ },
120
+ "task_runs_status_heartbeat_idx": {
121
+ "name": "task_runs_status_heartbeat_idx",
122
+ "columns": [
123
+ "status",
124
+ "heartbeat_at"
125
+ ],
126
+ "isUnique": false
127
+ }
128
+ },
129
+ "foreignKeys": {
130
+ "task_runs_task_id_tasks_id_fk": {
131
+ "name": "task_runs_task_id_tasks_id_fk",
132
+ "tableFrom": "task_runs",
133
+ "tableTo": "tasks",
134
+ "columnsFrom": [
135
+ "task_id"
136
+ ],
137
+ "columnsTo": [
138
+ "id"
139
+ ],
140
+ "onDelete": "cascade",
141
+ "onUpdate": "no action"
142
+ }
143
+ },
144
+ "compositePrimaryKeys": {},
145
+ "uniqueConstraints": {},
146
+ "checkConstraints": {}
147
+ },
148
+ "task_templates": {
149
+ "name": "task_templates",
150
+ "columns": {
151
+ "id": {
152
+ "name": "id",
153
+ "type": "integer",
154
+ "primaryKey": true,
155
+ "notNull": true,
156
+ "autoincrement": true
157
+ },
158
+ "name": {
159
+ "name": "name",
160
+ "type": "text",
161
+ "primaryKey": false,
162
+ "notNull": true,
163
+ "autoincrement": false
164
+ },
165
+ "agent": {
166
+ "name": "agent",
167
+ "type": "text",
168
+ "primaryKey": false,
169
+ "notNull": true,
170
+ "autoincrement": false
171
+ },
172
+ "model": {
173
+ "name": "model",
174
+ "type": "text",
175
+ "primaryKey": false,
176
+ "notNull": false,
177
+ "autoincrement": false,
178
+ "default": "'default'"
179
+ },
180
+ "prompt": {
181
+ "name": "prompt",
182
+ "type": "text",
183
+ "primaryKey": false,
184
+ "notNull": true,
185
+ "autoincrement": false
186
+ },
187
+ "cwd": {
188
+ "name": "cwd",
189
+ "type": "text",
190
+ "primaryKey": false,
191
+ "notNull": false,
192
+ "autoincrement": false
193
+ },
194
+ "category": {
195
+ "name": "category",
196
+ "type": "text",
197
+ "primaryKey": false,
198
+ "notNull": false,
199
+ "autoincrement": false,
200
+ "default": "'general'"
201
+ },
202
+ "importance": {
203
+ "name": "importance",
204
+ "type": "integer",
205
+ "primaryKey": false,
206
+ "notNull": false,
207
+ "autoincrement": false,
208
+ "default": 3
209
+ },
210
+ "urgency": {
211
+ "name": "urgency",
212
+ "type": "integer",
213
+ "primaryKey": false,
214
+ "notNull": false,
215
+ "autoincrement": false,
216
+ "default": 3
217
+ },
218
+ "batch_id": {
219
+ "name": "batch_id",
220
+ "type": "text",
221
+ "primaryKey": false,
222
+ "notNull": false,
223
+ "autoincrement": false
224
+ },
225
+ "schedule_type": {
226
+ "name": "schedule_type",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": true,
230
+ "autoincrement": false
231
+ },
232
+ "cron_expr": {
233
+ "name": "cron_expr",
234
+ "type": "text",
235
+ "primaryKey": false,
236
+ "notNull": false,
237
+ "autoincrement": false
238
+ },
239
+ "interval_ms": {
240
+ "name": "interval_ms",
241
+ "type": "integer",
242
+ "primaryKey": false,
243
+ "notNull": false,
244
+ "autoincrement": false
245
+ },
246
+ "run_at": {
247
+ "name": "run_at",
248
+ "type": "integer",
249
+ "primaryKey": false,
250
+ "notNull": false,
251
+ "autoincrement": false
252
+ },
253
+ "max_instances": {
254
+ "name": "max_instances",
255
+ "type": "integer",
256
+ "primaryKey": false,
257
+ "notNull": false,
258
+ "autoincrement": false,
259
+ "default": 1
260
+ },
261
+ "max_retries": {
262
+ "name": "max_retries",
263
+ "type": "integer",
264
+ "primaryKey": false,
265
+ "notNull": false,
266
+ "autoincrement": false,
267
+ "default": 3
268
+ },
269
+ "retry_backoff_ms": {
270
+ "name": "retry_backoff_ms",
271
+ "type": "integer",
272
+ "primaryKey": false,
273
+ "notNull": false,
274
+ "autoincrement": false,
275
+ "default": 30000
276
+ },
277
+ "timeout_ms": {
278
+ "name": "timeout_ms",
279
+ "type": "integer",
280
+ "primaryKey": false,
281
+ "notNull": false,
282
+ "autoincrement": false
283
+ },
284
+ "last_run_at": {
285
+ "name": "last_run_at",
286
+ "type": "integer",
287
+ "primaryKey": false,
288
+ "notNull": false,
289
+ "autoincrement": false
290
+ },
291
+ "next_run_at": {
292
+ "name": "next_run_at",
293
+ "type": "integer",
294
+ "primaryKey": false,
295
+ "notNull": false,
296
+ "autoincrement": false
297
+ },
298
+ "enabled": {
299
+ "name": "enabled",
300
+ "type": "integer",
301
+ "primaryKey": false,
302
+ "notNull": false,
303
+ "autoincrement": false,
304
+ "default": true
305
+ },
306
+ "created_at": {
307
+ "name": "created_at",
308
+ "type": "integer",
309
+ "primaryKey": false,
310
+ "notNull": false,
311
+ "autoincrement": false,
312
+ "default": 0
313
+ },
314
+ "updated_at": {
315
+ "name": "updated_at",
316
+ "type": "integer",
317
+ "primaryKey": false,
318
+ "notNull": false,
319
+ "autoincrement": false,
320
+ "default": 0
321
+ }
322
+ },
323
+ "indexes": {
324
+ "task_templates_due_idx": {
325
+ "name": "task_templates_due_idx",
326
+ "columns": [
327
+ "enabled",
328
+ "next_run_at",
329
+ "id"
330
+ ],
331
+ "isUnique": false
332
+ }
333
+ },
334
+ "foreignKeys": {},
335
+ "compositePrimaryKeys": {},
336
+ "uniqueConstraints": {},
337
+ "checkConstraints": {}
338
+ },
339
+ "tasks": {
340
+ "name": "tasks",
341
+ "columns": {
342
+ "id": {
343
+ "name": "id",
344
+ "type": "integer",
345
+ "primaryKey": true,
346
+ "notNull": true,
347
+ "autoincrement": true
348
+ },
349
+ "name": {
350
+ "name": "name",
351
+ "type": "text",
352
+ "primaryKey": false,
353
+ "notNull": true,
354
+ "autoincrement": false
355
+ },
356
+ "agent": {
357
+ "name": "agent",
358
+ "type": "text",
359
+ "primaryKey": false,
360
+ "notNull": true,
361
+ "autoincrement": false
362
+ },
363
+ "model": {
364
+ "name": "model",
365
+ "type": "text",
366
+ "primaryKey": false,
367
+ "notNull": false,
368
+ "autoincrement": false,
369
+ "default": "'default'"
370
+ },
371
+ "prompt": {
372
+ "name": "prompt",
373
+ "type": "text",
374
+ "primaryKey": false,
375
+ "notNull": true,
376
+ "autoincrement": false
377
+ },
378
+ "cwd": {
379
+ "name": "cwd",
380
+ "type": "text",
381
+ "primaryKey": false,
382
+ "notNull": false,
383
+ "autoincrement": false
384
+ },
385
+ "category": {
386
+ "name": "category",
387
+ "type": "text",
388
+ "primaryKey": false,
389
+ "notNull": false,
390
+ "autoincrement": false,
391
+ "default": "'general'"
392
+ },
393
+ "importance": {
394
+ "name": "importance",
395
+ "type": "integer",
396
+ "primaryKey": false,
397
+ "notNull": false,
398
+ "autoincrement": false,
399
+ "default": 3
400
+ },
401
+ "urgency": {
402
+ "name": "urgency",
403
+ "type": "integer",
404
+ "primaryKey": false,
405
+ "notNull": false,
406
+ "autoincrement": false,
407
+ "default": 3
408
+ },
409
+ "batch_id": {
410
+ "name": "batch_id",
411
+ "type": "text",
412
+ "primaryKey": false,
413
+ "notNull": false,
414
+ "autoincrement": false
415
+ },
416
+ "depends_on": {
417
+ "name": "depends_on",
418
+ "type": "integer",
419
+ "primaryKey": false,
420
+ "notNull": false,
421
+ "autoincrement": false
422
+ },
423
+ "status": {
424
+ "name": "status",
425
+ "type": "text",
426
+ "primaryKey": false,
427
+ "notNull": false,
428
+ "autoincrement": false,
429
+ "default": "'pending'"
430
+ },
431
+ "created_at": {
432
+ "name": "created_at",
433
+ "type": "integer",
434
+ "primaryKey": false,
435
+ "notNull": false,
436
+ "autoincrement": false
437
+ },
438
+ "started_at": {
439
+ "name": "started_at",
440
+ "type": "integer",
441
+ "primaryKey": false,
442
+ "notNull": false,
443
+ "autoincrement": false
444
+ },
445
+ "finished_at": {
446
+ "name": "finished_at",
447
+ "type": "integer",
448
+ "primaryKey": false,
449
+ "notNull": false,
450
+ "autoincrement": false
451
+ },
452
+ "result_log": {
453
+ "name": "result_log",
454
+ "type": "text",
455
+ "primaryKey": false,
456
+ "notNull": false,
457
+ "autoincrement": false
458
+ },
459
+ "retry_count": {
460
+ "name": "retry_count",
461
+ "type": "integer",
462
+ "primaryKey": false,
463
+ "notNull": false,
464
+ "autoincrement": false,
465
+ "default": 0
466
+ },
467
+ "max_retries": {
468
+ "name": "max_retries",
469
+ "type": "integer",
470
+ "primaryKey": false,
471
+ "notNull": false,
472
+ "autoincrement": false,
473
+ "default": 3
474
+ },
475
+ "retry_backoff_ms": {
476
+ "name": "retry_backoff_ms",
477
+ "type": "integer",
478
+ "primaryKey": false,
479
+ "notNull": false,
480
+ "autoincrement": false,
481
+ "default": 30000
482
+ },
483
+ "retry_after": {
484
+ "name": "retry_after",
485
+ "type": "integer",
486
+ "primaryKey": false,
487
+ "notNull": false,
488
+ "autoincrement": false
489
+ },
490
+ "timeout_ms": {
491
+ "name": "timeout_ms",
492
+ "type": "integer",
493
+ "primaryKey": false,
494
+ "notNull": false,
495
+ "autoincrement": false
496
+ },
497
+ "template_id": {
498
+ "name": "template_id",
499
+ "type": "integer",
500
+ "primaryKey": false,
501
+ "notNull": false,
502
+ "autoincrement": false
503
+ },
504
+ "scheduled_at": {
505
+ "name": "scheduled_at",
506
+ "type": "integer",
507
+ "primaryKey": false,
508
+ "notNull": false,
509
+ "autoincrement": false
510
+ }
511
+ },
512
+ "indexes": {
513
+ "tasks_queue_idx": {
514
+ "name": "tasks_queue_idx",
515
+ "columns": [
516
+ "status",
517
+ "retry_after",
518
+ "urgency",
519
+ "importance",
520
+ "created_at",
521
+ "id"
522
+ ],
523
+ "isUnique": false
524
+ },
525
+ "tasks_batch_status_idx": {
526
+ "name": "tasks_batch_status_idx",
527
+ "columns": [
528
+ "batch_id",
529
+ "status"
530
+ ],
531
+ "isUnique": false
532
+ },
533
+ "tasks_template_status_idx": {
534
+ "name": "tasks_template_status_idx",
535
+ "columns": [
536
+ "template_id",
537
+ "status"
538
+ ],
539
+ "isUnique": false
540
+ },
541
+ "tasks_depends_on_status_idx": {
542
+ "name": "tasks_depends_on_status_idx",
543
+ "columns": [
544
+ "depends_on",
545
+ "status"
546
+ ],
547
+ "isUnique": false
548
+ },
549
+ "tasks_cleanup_idx": {
550
+ "name": "tasks_cleanup_idx",
551
+ "columns": [
552
+ "finished_at",
553
+ "id",
554
+ "status"
555
+ ],
556
+ "isUnique": false
557
+ }
558
+ },
559
+ "foreignKeys": {},
560
+ "compositePrimaryKeys": {},
561
+ "uniqueConstraints": {},
562
+ "checkConstraints": {}
563
+ }
564
+ },
565
+ "views": {},
566
+ "enums": {},
567
+ "_meta": {
568
+ "schemas": {},
569
+ "tables": {},
570
+ "columns": {}
571
+ },
572
+ "internal": {
573
+ "indexes": {}
574
+ }
575
+ }