@adhd/agent-mcp 2.1.0 → 2.1.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.
@@ -0,0 +1,658 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "4f72cfdf-e131-4e3b-ade1-751113c50d1a",
5
+ "prevId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
6
+ "tables": {
7
+ "agents": {
8
+ "name": "agents",
9
+ "columns": {
10
+ "name": {
11
+ "name": "name",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "version": {
18
+ "name": "version",
19
+ "type": "integer",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false,
23
+ "default": 1
24
+ },
25
+ "data": {
26
+ "name": "data",
27
+ "type": "text",
28
+ "primaryKey": false,
29
+ "notNull": true,
30
+ "autoincrement": false
31
+ },
32
+ "created_at": {
33
+ "name": "created_at",
34
+ "type": "text",
35
+ "primaryKey": false,
36
+ "notNull": true,
37
+ "autoincrement": false
38
+ },
39
+ "updated_at": {
40
+ "name": "updated_at",
41
+ "type": "text",
42
+ "primaryKey": false,
43
+ "notNull": true,
44
+ "autoincrement": false
45
+ }
46
+ },
47
+ "indexes": {},
48
+ "foreignKeys": {},
49
+ "compositePrimaryKeys": {},
50
+ "uniqueConstraints": {},
51
+ "checkConstraints": {}
52
+ },
53
+ "composed_prompts": {
54
+ "name": "composed_prompts",
55
+ "columns": {
56
+ "id": {
57
+ "name": "id",
58
+ "type": "text",
59
+ "primaryKey": true,
60
+ "notNull": true,
61
+ "autoincrement": false
62
+ },
63
+ "agent_slug": {
64
+ "name": "agent_slug",
65
+ "type": "text",
66
+ "primaryKey": false,
67
+ "notNull": true,
68
+ "autoincrement": false
69
+ },
70
+ "context_hash": {
71
+ "name": "context_hash",
72
+ "type": "text",
73
+ "primaryKey": false,
74
+ "notNull": true,
75
+ "autoincrement": false
76
+ },
77
+ "content": {
78
+ "name": "content",
79
+ "type": "text",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "autoincrement": false
83
+ },
84
+ "component_versions": {
85
+ "name": "component_versions",
86
+ "type": "text",
87
+ "primaryKey": false,
88
+ "notNull": true,
89
+ "autoincrement": false
90
+ },
91
+ "created_at": {
92
+ "name": "created_at",
93
+ "type": "text",
94
+ "primaryKey": false,
95
+ "notNull": true,
96
+ "autoincrement": false
97
+ }
98
+ },
99
+ "indexes": {
100
+ "idx_composed_prompts_agent_ctx": {
101
+ "name": "idx_composed_prompts_agent_ctx",
102
+ "columns": [
103
+ "agent_slug",
104
+ "context_hash"
105
+ ],
106
+ "isUnique": true
107
+ }
108
+ },
109
+ "foreignKeys": {},
110
+ "compositePrimaryKeys": {},
111
+ "uniqueConstraints": {},
112
+ "checkConstraints": {}
113
+ },
114
+ "experiment_assignments": {
115
+ "name": "experiment_assignments",
116
+ "columns": {
117
+ "id": {
118
+ "name": "id",
119
+ "type": "text",
120
+ "primaryKey": true,
121
+ "notNull": true,
122
+ "autoincrement": false
123
+ },
124
+ "session_id": {
125
+ "name": "session_id",
126
+ "type": "text",
127
+ "primaryKey": false,
128
+ "notNull": true,
129
+ "autoincrement": false
130
+ },
131
+ "experiment_slug": {
132
+ "name": "experiment_slug",
133
+ "type": "text",
134
+ "primaryKey": false,
135
+ "notNull": true,
136
+ "autoincrement": false
137
+ },
138
+ "variant": {
139
+ "name": "variant",
140
+ "type": "text",
141
+ "primaryKey": false,
142
+ "notNull": true,
143
+ "autoincrement": false
144
+ },
145
+ "created_at": {
146
+ "name": "created_at",
147
+ "type": "text",
148
+ "primaryKey": false,
149
+ "notNull": true,
150
+ "autoincrement": false
151
+ }
152
+ },
153
+ "indexes": {},
154
+ "foreignKeys": {
155
+ "experiment_assignments_session_id_sessions_id_fk": {
156
+ "name": "experiment_assignments_session_id_sessions_id_fk",
157
+ "tableFrom": "experiment_assignments",
158
+ "tableTo": "sessions",
159
+ "columnsFrom": [
160
+ "session_id"
161
+ ],
162
+ "columnsTo": [
163
+ "id"
164
+ ],
165
+ "onDelete": "cascade",
166
+ "onUpdate": "no action"
167
+ }
168
+ },
169
+ "compositePrimaryKeys": {},
170
+ "uniqueConstraints": {},
171
+ "checkConstraints": {}
172
+ },
173
+ "messages": {
174
+ "name": "messages",
175
+ "columns": {
176
+ "id": {
177
+ "name": "id",
178
+ "type": "text",
179
+ "primaryKey": true,
180
+ "notNull": true,
181
+ "autoincrement": false
182
+ },
183
+ "session_id": {
184
+ "name": "session_id",
185
+ "type": "text",
186
+ "primaryKey": false,
187
+ "notNull": true,
188
+ "autoincrement": false
189
+ },
190
+ "role": {
191
+ "name": "role",
192
+ "type": "text",
193
+ "primaryKey": false,
194
+ "notNull": true,
195
+ "autoincrement": false
196
+ },
197
+ "content": {
198
+ "name": "content",
199
+ "type": "text",
200
+ "primaryKey": false,
201
+ "notNull": false,
202
+ "autoincrement": false
203
+ },
204
+ "tool_calls": {
205
+ "name": "tool_calls",
206
+ "type": "text",
207
+ "primaryKey": false,
208
+ "notNull": false,
209
+ "autoincrement": false
210
+ },
211
+ "tool_results": {
212
+ "name": "tool_results",
213
+ "type": "text",
214
+ "primaryKey": false,
215
+ "notNull": false,
216
+ "autoincrement": false
217
+ },
218
+ "created_at": {
219
+ "name": "created_at",
220
+ "type": "text",
221
+ "primaryKey": false,
222
+ "notNull": true,
223
+ "autoincrement": false
224
+ }
225
+ },
226
+ "indexes": {},
227
+ "foreignKeys": {
228
+ "messages_session_id_sessions_id_fk": {
229
+ "name": "messages_session_id_sessions_id_fk",
230
+ "tableFrom": "messages",
231
+ "tableTo": "sessions",
232
+ "columnsFrom": [
233
+ "session_id"
234
+ ],
235
+ "columnsTo": [
236
+ "id"
237
+ ],
238
+ "onDelete": "cascade",
239
+ "onUpdate": "no action"
240
+ }
241
+ },
242
+ "compositePrimaryKeys": {},
243
+ "uniqueConstraints": {},
244
+ "checkConstraints": {}
245
+ },
246
+ "sessions": {
247
+ "name": "sessions",
248
+ "columns": {
249
+ "id": {
250
+ "name": "id",
251
+ "type": "text",
252
+ "primaryKey": true,
253
+ "notNull": true,
254
+ "autoincrement": false
255
+ },
256
+ "agent_name": {
257
+ "name": "agent_name",
258
+ "type": "text",
259
+ "primaryKey": false,
260
+ "notNull": true,
261
+ "autoincrement": false
262
+ },
263
+ "agent_version": {
264
+ "name": "agent_version",
265
+ "type": "integer",
266
+ "primaryKey": false,
267
+ "notNull": true,
268
+ "autoincrement": false
269
+ },
270
+ "agent_data": {
271
+ "name": "agent_data",
272
+ "type": "text",
273
+ "primaryKey": false,
274
+ "notNull": true,
275
+ "autoincrement": false
276
+ },
277
+ "status": {
278
+ "name": "status",
279
+ "type": "text",
280
+ "primaryKey": false,
281
+ "notNull": true,
282
+ "autoincrement": false,
283
+ "default": "'active'"
284
+ },
285
+ "created_at": {
286
+ "name": "created_at",
287
+ "type": "text",
288
+ "primaryKey": false,
289
+ "notNull": true,
290
+ "autoincrement": false
291
+ },
292
+ "updated_at": {
293
+ "name": "updated_at",
294
+ "type": "text",
295
+ "primaryKey": false,
296
+ "notNull": true,
297
+ "autoincrement": false
298
+ },
299
+ "closed_at": {
300
+ "name": "closed_at",
301
+ "type": "text",
302
+ "primaryKey": false,
303
+ "notNull": false,
304
+ "autoincrement": false
305
+ },
306
+ "composed_prompt_id": {
307
+ "name": "composed_prompt_id",
308
+ "type": "text",
309
+ "primaryKey": false,
310
+ "notNull": false,
311
+ "autoincrement": false
312
+ }
313
+ },
314
+ "indexes": {},
315
+ "foreignKeys": {},
316
+ "compositePrimaryKeys": {},
317
+ "uniqueConstraints": {},
318
+ "checkConstraints": {}
319
+ },
320
+ "task_events": {
321
+ "name": "task_events",
322
+ "columns": {
323
+ "id": {
324
+ "name": "id",
325
+ "type": "text",
326
+ "primaryKey": true,
327
+ "notNull": true,
328
+ "autoincrement": false
329
+ },
330
+ "task_id": {
331
+ "name": "task_id",
332
+ "type": "text",
333
+ "primaryKey": false,
334
+ "notNull": true,
335
+ "autoincrement": false
336
+ },
337
+ "type": {
338
+ "name": "type",
339
+ "type": "text",
340
+ "primaryKey": false,
341
+ "notNull": true,
342
+ "autoincrement": false
343
+ },
344
+ "payload": {
345
+ "name": "payload",
346
+ "type": "text",
347
+ "primaryKey": false,
348
+ "notNull": false,
349
+ "autoincrement": false
350
+ },
351
+ "created_at": {
352
+ "name": "created_at",
353
+ "type": "text",
354
+ "primaryKey": false,
355
+ "notNull": true,
356
+ "autoincrement": false
357
+ }
358
+ },
359
+ "indexes": {},
360
+ "foreignKeys": {
361
+ "task_events_task_id_tasks_id_fk": {
362
+ "name": "task_events_task_id_tasks_id_fk",
363
+ "tableFrom": "task_events",
364
+ "tableTo": "tasks",
365
+ "columnsFrom": [
366
+ "task_id"
367
+ ],
368
+ "columnsTo": [
369
+ "id"
370
+ ],
371
+ "onDelete": "cascade",
372
+ "onUpdate": "no action"
373
+ }
374
+ },
375
+ "compositePrimaryKeys": {},
376
+ "uniqueConstraints": {},
377
+ "checkConstraints": {}
378
+ },
379
+ "task_usage": {
380
+ "name": "task_usage",
381
+ "columns": {
382
+ "task_id": {
383
+ "name": "task_id",
384
+ "type": "text",
385
+ "primaryKey": true,
386
+ "notNull": true,
387
+ "autoincrement": false
388
+ },
389
+ "root_task_id": {
390
+ "name": "root_task_id",
391
+ "type": "text",
392
+ "primaryKey": false,
393
+ "notNull": false,
394
+ "autoincrement": false
395
+ },
396
+ "agent_name": {
397
+ "name": "agent_name",
398
+ "type": "text",
399
+ "primaryKey": false,
400
+ "notNull": true,
401
+ "autoincrement": false
402
+ },
403
+ "provider_type": {
404
+ "name": "provider_type",
405
+ "type": "text",
406
+ "primaryKey": false,
407
+ "notNull": true,
408
+ "autoincrement": false
409
+ },
410
+ "model": {
411
+ "name": "model",
412
+ "type": "text",
413
+ "primaryKey": false,
414
+ "notNull": true,
415
+ "autoincrement": false
416
+ },
417
+ "input_tokens": {
418
+ "name": "input_tokens",
419
+ "type": "integer",
420
+ "primaryKey": false,
421
+ "notNull": true,
422
+ "autoincrement": false,
423
+ "default": 0
424
+ },
425
+ "output_tokens": {
426
+ "name": "output_tokens",
427
+ "type": "integer",
428
+ "primaryKey": false,
429
+ "notNull": true,
430
+ "autoincrement": false,
431
+ "default": 0
432
+ },
433
+ "tool_call_count": {
434
+ "name": "tool_call_count",
435
+ "type": "integer",
436
+ "primaryKey": false,
437
+ "notNull": true,
438
+ "autoincrement": false,
439
+ "default": 0
440
+ },
441
+ "model_calls": {
442
+ "name": "model_calls",
443
+ "type": "integer",
444
+ "primaryKey": false,
445
+ "notNull": true,
446
+ "autoincrement": false,
447
+ "default": 0
448
+ },
449
+ "latency_ms": {
450
+ "name": "latency_ms",
451
+ "type": "integer",
452
+ "primaryKey": false,
453
+ "notNull": true,
454
+ "autoincrement": false,
455
+ "default": 0
456
+ },
457
+ "is_complete": {
458
+ "name": "is_complete",
459
+ "type": "integer",
460
+ "primaryKey": false,
461
+ "notNull": true,
462
+ "autoincrement": false,
463
+ "default": 0
464
+ },
465
+ "stop_reason": {
466
+ "name": "stop_reason",
467
+ "type": "text",
468
+ "primaryKey": false,
469
+ "notNull": false,
470
+ "autoincrement": false
471
+ },
472
+ "max_tokens": {
473
+ "name": "max_tokens",
474
+ "type": "integer",
475
+ "primaryKey": false,
476
+ "notNull": false,
477
+ "autoincrement": false
478
+ },
479
+ "cache_read_input_tokens": {
480
+ "name": "cache_read_input_tokens",
481
+ "type": "integer",
482
+ "primaryKey": false,
483
+ "notNull": false,
484
+ "autoincrement": false
485
+ },
486
+ "cache_creation_input_tokens": {
487
+ "name": "cache_creation_input_tokens",
488
+ "type": "integer",
489
+ "primaryKey": false,
490
+ "notNull": false,
491
+ "autoincrement": false
492
+ },
493
+ "created_at": {
494
+ "name": "created_at",
495
+ "type": "text",
496
+ "primaryKey": false,
497
+ "notNull": true,
498
+ "autoincrement": false
499
+ }
500
+ },
501
+ "indexes": {
502
+ "idx_task_usage_root_task_id": {
503
+ "name": "idx_task_usage_root_task_id",
504
+ "columns": [
505
+ "root_task_id"
506
+ ],
507
+ "isUnique": false
508
+ }
509
+ },
510
+ "foreignKeys": {},
511
+ "compositePrimaryKeys": {},
512
+ "uniqueConstraints": {},
513
+ "checkConstraints": {}
514
+ },
515
+ "tasks": {
516
+ "name": "tasks",
517
+ "columns": {
518
+ "id": {
519
+ "name": "id",
520
+ "type": "text",
521
+ "primaryKey": true,
522
+ "notNull": true,
523
+ "autoincrement": false
524
+ },
525
+ "session_id": {
526
+ "name": "session_id",
527
+ "type": "text",
528
+ "primaryKey": false,
529
+ "notNull": false,
530
+ "autoincrement": false
531
+ },
532
+ "parent_task_id": {
533
+ "name": "parent_task_id",
534
+ "type": "text",
535
+ "primaryKey": false,
536
+ "notNull": false,
537
+ "autoincrement": false
538
+ },
539
+ "is_ephemeral": {
540
+ "name": "is_ephemeral",
541
+ "type": "integer",
542
+ "primaryKey": false,
543
+ "notNull": true,
544
+ "autoincrement": false,
545
+ "default": 0
546
+ },
547
+ "recursion_depth": {
548
+ "name": "recursion_depth",
549
+ "type": "integer",
550
+ "primaryKey": false,
551
+ "notNull": true,
552
+ "autoincrement": false,
553
+ "default": 0
554
+ },
555
+ "status": {
556
+ "name": "status",
557
+ "type": "text",
558
+ "primaryKey": false,
559
+ "notNull": true,
560
+ "autoincrement": false,
561
+ "default": "'pending'"
562
+ },
563
+ "prompt": {
564
+ "name": "prompt",
565
+ "type": "text",
566
+ "primaryKey": false,
567
+ "notNull": true,
568
+ "autoincrement": false
569
+ },
570
+ "result": {
571
+ "name": "result",
572
+ "type": "text",
573
+ "primaryKey": false,
574
+ "notNull": false,
575
+ "autoincrement": false
576
+ },
577
+ "error": {
578
+ "name": "error",
579
+ "type": "text",
580
+ "primaryKey": false,
581
+ "notNull": false,
582
+ "autoincrement": false
583
+ },
584
+ "created_at": {
585
+ "name": "created_at",
586
+ "type": "text",
587
+ "primaryKey": false,
588
+ "notNull": true,
589
+ "autoincrement": false
590
+ },
591
+ "updated_at": {
592
+ "name": "updated_at",
593
+ "type": "text",
594
+ "primaryKey": false,
595
+ "notNull": true,
596
+ "autoincrement": false
597
+ },
598
+ "completed_at": {
599
+ "name": "completed_at",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": false,
603
+ "autoincrement": false
604
+ },
605
+ "cancelled_at": {
606
+ "name": "cancelled_at",
607
+ "type": "text",
608
+ "primaryKey": false,
609
+ "notNull": false,
610
+ "autoincrement": false
611
+ },
612
+ "depends_on": {
613
+ "name": "depends_on",
614
+ "type": "text",
615
+ "primaryKey": false,
616
+ "notNull": false,
617
+ "autoincrement": false
618
+ },
619
+ "on_upstream_failure": {
620
+ "name": "on_upstream_failure",
621
+ "type": "text",
622
+ "primaryKey": false,
623
+ "notNull": false,
624
+ "autoincrement": false
625
+ },
626
+ "inputs": {
627
+ "name": "inputs",
628
+ "type": "text",
629
+ "primaryKey": false,
630
+ "notNull": false,
631
+ "autoincrement": false
632
+ },
633
+ "resume_token": {
634
+ "name": "resume_token",
635
+ "type": "text",
636
+ "primaryKey": false,
637
+ "notNull": false,
638
+ "autoincrement": false
639
+ }
640
+ },
641
+ "indexes": {},
642
+ "foreignKeys": {},
643
+ "compositePrimaryKeys": {},
644
+ "uniqueConstraints": {},
645
+ "checkConstraints": {}
646
+ }
647
+ },
648
+ "views": {},
649
+ "enums": {},
650
+ "_meta": {
651
+ "schemas": {},
652
+ "tables": {},
653
+ "columns": {}
654
+ },
655
+ "internal": {
656
+ "indexes": {}
657
+ }
658
+ }