@cleocode/cleo 2026.3.19 → 2026.3.20

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.
@@ -1,884 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "id": "702518e3-127a-4617-a25b-c014563d9f34",
5
- "prevIds": [
6
- "2b8b63be-1c35-42d0-aabd-71d94ead02ff"
7
- ],
8
- "ddl": [
9
- {
10
- "name": "brain_decisions",
11
- "entityType": "tables"
12
- },
13
- {
14
- "name": "brain_learnings",
15
- "entityType": "tables"
16
- },
17
- {
18
- "name": "brain_memory_links",
19
- "entityType": "tables"
20
- },
21
- {
22
- "name": "brain_observations",
23
- "entityType": "tables"
24
- },
25
- {
26
- "name": "brain_patterns",
27
- "entityType": "tables"
28
- },
29
- {
30
- "name": "brain_schema_meta",
31
- "entityType": "tables"
32
- },
33
- {
34
- "type": "text",
35
- "notNull": false,
36
- "autoincrement": false,
37
- "default": null,
38
- "generated": null,
39
- "name": "id",
40
- "entityType": "columns",
41
- "table": "brain_decisions"
42
- },
43
- {
44
- "type": "text",
45
- "notNull": true,
46
- "autoincrement": false,
47
- "default": null,
48
- "generated": null,
49
- "name": "type",
50
- "entityType": "columns",
51
- "table": "brain_decisions"
52
- },
53
- {
54
- "type": "text",
55
- "notNull": true,
56
- "autoincrement": false,
57
- "default": null,
58
- "generated": null,
59
- "name": "decision",
60
- "entityType": "columns",
61
- "table": "brain_decisions"
62
- },
63
- {
64
- "type": "text",
65
- "notNull": true,
66
- "autoincrement": false,
67
- "default": null,
68
- "generated": null,
69
- "name": "rationale",
70
- "entityType": "columns",
71
- "table": "brain_decisions"
72
- },
73
- {
74
- "type": "text",
75
- "notNull": true,
76
- "autoincrement": false,
77
- "default": null,
78
- "generated": null,
79
- "name": "confidence",
80
- "entityType": "columns",
81
- "table": "brain_decisions"
82
- },
83
- {
84
- "type": "text",
85
- "notNull": false,
86
- "autoincrement": false,
87
- "default": null,
88
- "generated": null,
89
- "name": "outcome",
90
- "entityType": "columns",
91
- "table": "brain_decisions"
92
- },
93
- {
94
- "type": "text",
95
- "notNull": false,
96
- "autoincrement": false,
97
- "default": null,
98
- "generated": null,
99
- "name": "alternatives_json",
100
- "entityType": "columns",
101
- "table": "brain_decisions"
102
- },
103
- {
104
- "type": "text",
105
- "notNull": false,
106
- "autoincrement": false,
107
- "default": null,
108
- "generated": null,
109
- "name": "context_epic_id",
110
- "entityType": "columns",
111
- "table": "brain_decisions"
112
- },
113
- {
114
- "type": "text",
115
- "notNull": false,
116
- "autoincrement": false,
117
- "default": null,
118
- "generated": null,
119
- "name": "context_task_id",
120
- "entityType": "columns",
121
- "table": "brain_decisions"
122
- },
123
- {
124
- "type": "text",
125
- "notNull": false,
126
- "autoincrement": false,
127
- "default": null,
128
- "generated": null,
129
- "name": "context_phase",
130
- "entityType": "columns",
131
- "table": "brain_decisions"
132
- },
133
- {
134
- "type": "text",
135
- "notNull": true,
136
- "autoincrement": false,
137
- "default": "(datetime('now'))",
138
- "generated": null,
139
- "name": "created_at",
140
- "entityType": "columns",
141
- "table": "brain_decisions"
142
- },
143
- {
144
- "type": "text",
145
- "notNull": false,
146
- "autoincrement": false,
147
- "default": null,
148
- "generated": null,
149
- "name": "updated_at",
150
- "entityType": "columns",
151
- "table": "brain_decisions"
152
- },
153
- {
154
- "type": "text",
155
- "notNull": false,
156
- "autoincrement": false,
157
- "default": null,
158
- "generated": null,
159
- "name": "id",
160
- "entityType": "columns",
161
- "table": "brain_learnings"
162
- },
163
- {
164
- "type": "text",
165
- "notNull": true,
166
- "autoincrement": false,
167
- "default": null,
168
- "generated": null,
169
- "name": "insight",
170
- "entityType": "columns",
171
- "table": "brain_learnings"
172
- },
173
- {
174
- "type": "text",
175
- "notNull": true,
176
- "autoincrement": false,
177
- "default": null,
178
- "generated": null,
179
- "name": "source",
180
- "entityType": "columns",
181
- "table": "brain_learnings"
182
- },
183
- {
184
- "type": "real",
185
- "notNull": true,
186
- "autoincrement": false,
187
- "default": null,
188
- "generated": null,
189
- "name": "confidence",
190
- "entityType": "columns",
191
- "table": "brain_learnings"
192
- },
193
- {
194
- "type": "integer",
195
- "notNull": true,
196
- "autoincrement": false,
197
- "default": "false",
198
- "generated": null,
199
- "name": "actionable",
200
- "entityType": "columns",
201
- "table": "brain_learnings"
202
- },
203
- {
204
- "type": "text",
205
- "notNull": false,
206
- "autoincrement": false,
207
- "default": null,
208
- "generated": null,
209
- "name": "application",
210
- "entityType": "columns",
211
- "table": "brain_learnings"
212
- },
213
- {
214
- "type": "text",
215
- "notNull": false,
216
- "autoincrement": false,
217
- "default": null,
218
- "generated": null,
219
- "name": "applicable_types_json",
220
- "entityType": "columns",
221
- "table": "brain_learnings"
222
- },
223
- {
224
- "type": "text",
225
- "notNull": true,
226
- "autoincrement": false,
227
- "default": "(datetime('now'))",
228
- "generated": null,
229
- "name": "created_at",
230
- "entityType": "columns",
231
- "table": "brain_learnings"
232
- },
233
- {
234
- "type": "text",
235
- "notNull": false,
236
- "autoincrement": false,
237
- "default": null,
238
- "generated": null,
239
- "name": "updated_at",
240
- "entityType": "columns",
241
- "table": "brain_learnings"
242
- },
243
- {
244
- "type": "text",
245
- "notNull": true,
246
- "autoincrement": false,
247
- "default": null,
248
- "generated": null,
249
- "name": "memory_type",
250
- "entityType": "columns",
251
- "table": "brain_memory_links"
252
- },
253
- {
254
- "type": "text",
255
- "notNull": true,
256
- "autoincrement": false,
257
- "default": null,
258
- "generated": null,
259
- "name": "memory_id",
260
- "entityType": "columns",
261
- "table": "brain_memory_links"
262
- },
263
- {
264
- "type": "text",
265
- "notNull": true,
266
- "autoincrement": false,
267
- "default": null,
268
- "generated": null,
269
- "name": "task_id",
270
- "entityType": "columns",
271
- "table": "brain_memory_links"
272
- },
273
- {
274
- "type": "text",
275
- "notNull": true,
276
- "autoincrement": false,
277
- "default": null,
278
- "generated": null,
279
- "name": "link_type",
280
- "entityType": "columns",
281
- "table": "brain_memory_links"
282
- },
283
- {
284
- "type": "text",
285
- "notNull": true,
286
- "autoincrement": false,
287
- "default": "(datetime('now'))",
288
- "generated": null,
289
- "name": "created_at",
290
- "entityType": "columns",
291
- "table": "brain_memory_links"
292
- },
293
- {
294
- "type": "text",
295
- "notNull": false,
296
- "autoincrement": false,
297
- "default": null,
298
- "generated": null,
299
- "name": "id",
300
- "entityType": "columns",
301
- "table": "brain_observations"
302
- },
303
- {
304
- "type": "text",
305
- "notNull": true,
306
- "autoincrement": false,
307
- "default": null,
308
- "generated": null,
309
- "name": "type",
310
- "entityType": "columns",
311
- "table": "brain_observations"
312
- },
313
- {
314
- "type": "text",
315
- "notNull": true,
316
- "autoincrement": false,
317
- "default": null,
318
- "generated": null,
319
- "name": "title",
320
- "entityType": "columns",
321
- "table": "brain_observations"
322
- },
323
- {
324
- "type": "text",
325
- "notNull": false,
326
- "autoincrement": false,
327
- "default": null,
328
- "generated": null,
329
- "name": "subtitle",
330
- "entityType": "columns",
331
- "table": "brain_observations"
332
- },
333
- {
334
- "type": "text",
335
- "notNull": false,
336
- "autoincrement": false,
337
- "default": null,
338
- "generated": null,
339
- "name": "narrative",
340
- "entityType": "columns",
341
- "table": "brain_observations"
342
- },
343
- {
344
- "type": "text",
345
- "notNull": false,
346
- "autoincrement": false,
347
- "default": null,
348
- "generated": null,
349
- "name": "facts_json",
350
- "entityType": "columns",
351
- "table": "brain_observations"
352
- },
353
- {
354
- "type": "text",
355
- "notNull": false,
356
- "autoincrement": false,
357
- "default": null,
358
- "generated": null,
359
- "name": "concepts_json",
360
- "entityType": "columns",
361
- "table": "brain_observations"
362
- },
363
- {
364
- "type": "text",
365
- "notNull": false,
366
- "autoincrement": false,
367
- "default": null,
368
- "generated": null,
369
- "name": "project",
370
- "entityType": "columns",
371
- "table": "brain_observations"
372
- },
373
- {
374
- "type": "text",
375
- "notNull": false,
376
- "autoincrement": false,
377
- "default": null,
378
- "generated": null,
379
- "name": "files_read_json",
380
- "entityType": "columns",
381
- "table": "brain_observations"
382
- },
383
- {
384
- "type": "text",
385
- "notNull": false,
386
- "autoincrement": false,
387
- "default": null,
388
- "generated": null,
389
- "name": "files_modified_json",
390
- "entityType": "columns",
391
- "table": "brain_observations"
392
- },
393
- {
394
- "type": "text",
395
- "notNull": false,
396
- "autoincrement": false,
397
- "default": null,
398
- "generated": null,
399
- "name": "source_session_id",
400
- "entityType": "columns",
401
- "table": "brain_observations"
402
- },
403
- {
404
- "type": "text",
405
- "notNull": true,
406
- "autoincrement": false,
407
- "default": "'agent'",
408
- "generated": null,
409
- "name": "source_type",
410
- "entityType": "columns",
411
- "table": "brain_observations"
412
- },
413
- {
414
- "type": "integer",
415
- "notNull": false,
416
- "autoincrement": false,
417
- "default": null,
418
- "generated": null,
419
- "name": "discovery_tokens",
420
- "entityType": "columns",
421
- "table": "brain_observations"
422
- },
423
- {
424
- "type": "text",
425
- "notNull": true,
426
- "autoincrement": false,
427
- "default": "(datetime('now'))",
428
- "generated": null,
429
- "name": "created_at",
430
- "entityType": "columns",
431
- "table": "brain_observations"
432
- },
433
- {
434
- "type": "text",
435
- "notNull": false,
436
- "autoincrement": false,
437
- "default": null,
438
- "generated": null,
439
- "name": "updated_at",
440
- "entityType": "columns",
441
- "table": "brain_observations"
442
- },
443
- {
444
- "type": "text",
445
- "notNull": false,
446
- "autoincrement": false,
447
- "default": null,
448
- "generated": null,
449
- "name": "id",
450
- "entityType": "columns",
451
- "table": "brain_patterns"
452
- },
453
- {
454
- "type": "text",
455
- "notNull": true,
456
- "autoincrement": false,
457
- "default": null,
458
- "generated": null,
459
- "name": "type",
460
- "entityType": "columns",
461
- "table": "brain_patterns"
462
- },
463
- {
464
- "type": "text",
465
- "notNull": true,
466
- "autoincrement": false,
467
- "default": null,
468
- "generated": null,
469
- "name": "pattern",
470
- "entityType": "columns",
471
- "table": "brain_patterns"
472
- },
473
- {
474
- "type": "text",
475
- "notNull": true,
476
- "autoincrement": false,
477
- "default": null,
478
- "generated": null,
479
- "name": "context",
480
- "entityType": "columns",
481
- "table": "brain_patterns"
482
- },
483
- {
484
- "type": "integer",
485
- "notNull": true,
486
- "autoincrement": false,
487
- "default": "1",
488
- "generated": null,
489
- "name": "frequency",
490
- "entityType": "columns",
491
- "table": "brain_patterns"
492
- },
493
- {
494
- "type": "real",
495
- "notNull": false,
496
- "autoincrement": false,
497
- "default": null,
498
- "generated": null,
499
- "name": "success_rate",
500
- "entityType": "columns",
501
- "table": "brain_patterns"
502
- },
503
- {
504
- "type": "text",
505
- "notNull": false,
506
- "autoincrement": false,
507
- "default": null,
508
- "generated": null,
509
- "name": "impact",
510
- "entityType": "columns",
511
- "table": "brain_patterns"
512
- },
513
- {
514
- "type": "text",
515
- "notNull": false,
516
- "autoincrement": false,
517
- "default": null,
518
- "generated": null,
519
- "name": "anti_pattern",
520
- "entityType": "columns",
521
- "table": "brain_patterns"
522
- },
523
- {
524
- "type": "text",
525
- "notNull": false,
526
- "autoincrement": false,
527
- "default": null,
528
- "generated": null,
529
- "name": "mitigation",
530
- "entityType": "columns",
531
- "table": "brain_patterns"
532
- },
533
- {
534
- "type": "text",
535
- "notNull": false,
536
- "autoincrement": false,
537
- "default": "'[]'",
538
- "generated": null,
539
- "name": "examples_json",
540
- "entityType": "columns",
541
- "table": "brain_patterns"
542
- },
543
- {
544
- "type": "text",
545
- "notNull": true,
546
- "autoincrement": false,
547
- "default": "(datetime('now'))",
548
- "generated": null,
549
- "name": "extracted_at",
550
- "entityType": "columns",
551
- "table": "brain_patterns"
552
- },
553
- {
554
- "type": "text",
555
- "notNull": false,
556
- "autoincrement": false,
557
- "default": null,
558
- "generated": null,
559
- "name": "updated_at",
560
- "entityType": "columns",
561
- "table": "brain_patterns"
562
- },
563
- {
564
- "type": "text",
565
- "notNull": false,
566
- "autoincrement": false,
567
- "default": null,
568
- "generated": null,
569
- "name": "key",
570
- "entityType": "columns",
571
- "table": "brain_schema_meta"
572
- },
573
- {
574
- "type": "text",
575
- "notNull": true,
576
- "autoincrement": false,
577
- "default": null,
578
- "generated": null,
579
- "name": "value",
580
- "entityType": "columns",
581
- "table": "brain_schema_meta"
582
- },
583
- {
584
- "columns": [
585
- "memory_type",
586
- "memory_id",
587
- "task_id",
588
- "link_type"
589
- ],
590
- "nameExplicit": false,
591
- "name": "brain_memory_links_pk",
592
- "entityType": "pks",
593
- "table": "brain_memory_links"
594
- },
595
- {
596
- "columns": [
597
- "id"
598
- ],
599
- "nameExplicit": false,
600
- "name": "brain_decisions_pk",
601
- "table": "brain_decisions",
602
- "entityType": "pks"
603
- },
604
- {
605
- "columns": [
606
- "id"
607
- ],
608
- "nameExplicit": false,
609
- "name": "brain_learnings_pk",
610
- "table": "brain_learnings",
611
- "entityType": "pks"
612
- },
613
- {
614
- "columns": [
615
- "id"
616
- ],
617
- "nameExplicit": false,
618
- "name": "brain_observations_pk",
619
- "table": "brain_observations",
620
- "entityType": "pks"
621
- },
622
- {
623
- "columns": [
624
- "id"
625
- ],
626
- "nameExplicit": false,
627
- "name": "brain_patterns_pk",
628
- "table": "brain_patterns",
629
- "entityType": "pks"
630
- },
631
- {
632
- "columns": [
633
- "key"
634
- ],
635
- "nameExplicit": false,
636
- "name": "brain_schema_meta_pk",
637
- "table": "brain_schema_meta",
638
- "entityType": "pks"
639
- },
640
- {
641
- "columns": [
642
- {
643
- "value": "type",
644
- "isExpression": false
645
- }
646
- ],
647
- "isUnique": false,
648
- "where": null,
649
- "origin": "manual",
650
- "name": "idx_brain_decisions_type",
651
- "entityType": "indexes",
652
- "table": "brain_decisions"
653
- },
654
- {
655
- "columns": [
656
- {
657
- "value": "confidence",
658
- "isExpression": false
659
- }
660
- ],
661
- "isUnique": false,
662
- "where": null,
663
- "origin": "manual",
664
- "name": "idx_brain_decisions_confidence",
665
- "entityType": "indexes",
666
- "table": "brain_decisions"
667
- },
668
- {
669
- "columns": [
670
- {
671
- "value": "outcome",
672
- "isExpression": false
673
- }
674
- ],
675
- "isUnique": false,
676
- "where": null,
677
- "origin": "manual",
678
- "name": "idx_brain_decisions_outcome",
679
- "entityType": "indexes",
680
- "table": "brain_decisions"
681
- },
682
- {
683
- "columns": [
684
- {
685
- "value": "context_epic_id",
686
- "isExpression": false
687
- }
688
- ],
689
- "isUnique": false,
690
- "where": null,
691
- "origin": "manual",
692
- "name": "idx_brain_decisions_context_epic",
693
- "entityType": "indexes",
694
- "table": "brain_decisions"
695
- },
696
- {
697
- "columns": [
698
- {
699
- "value": "context_task_id",
700
- "isExpression": false
701
- }
702
- ],
703
- "isUnique": false,
704
- "where": null,
705
- "origin": "manual",
706
- "name": "idx_brain_decisions_context_task",
707
- "entityType": "indexes",
708
- "table": "brain_decisions"
709
- },
710
- {
711
- "columns": [
712
- {
713
- "value": "confidence",
714
- "isExpression": false
715
- }
716
- ],
717
- "isUnique": false,
718
- "where": null,
719
- "origin": "manual",
720
- "name": "idx_brain_learnings_confidence",
721
- "entityType": "indexes",
722
- "table": "brain_learnings"
723
- },
724
- {
725
- "columns": [
726
- {
727
- "value": "actionable",
728
- "isExpression": false
729
- }
730
- ],
731
- "isUnique": false,
732
- "where": null,
733
- "origin": "manual",
734
- "name": "idx_brain_learnings_actionable",
735
- "entityType": "indexes",
736
- "table": "brain_learnings"
737
- },
738
- {
739
- "columns": [
740
- {
741
- "value": "task_id",
742
- "isExpression": false
743
- }
744
- ],
745
- "isUnique": false,
746
- "where": null,
747
- "origin": "manual",
748
- "name": "idx_brain_links_task",
749
- "entityType": "indexes",
750
- "table": "brain_memory_links"
751
- },
752
- {
753
- "columns": [
754
- {
755
- "value": "memory_type",
756
- "isExpression": false
757
- },
758
- {
759
- "value": "memory_id",
760
- "isExpression": false
761
- }
762
- ],
763
- "isUnique": false,
764
- "where": null,
765
- "origin": "manual",
766
- "name": "idx_brain_links_memory",
767
- "entityType": "indexes",
768
- "table": "brain_memory_links"
769
- },
770
- {
771
- "columns": [
772
- {
773
- "value": "type",
774
- "isExpression": false
775
- }
776
- ],
777
- "isUnique": false,
778
- "where": null,
779
- "origin": "manual",
780
- "name": "idx_brain_observations_type",
781
- "entityType": "indexes",
782
- "table": "brain_observations"
783
- },
784
- {
785
- "columns": [
786
- {
787
- "value": "project",
788
- "isExpression": false
789
- }
790
- ],
791
- "isUnique": false,
792
- "where": null,
793
- "origin": "manual",
794
- "name": "idx_brain_observations_project",
795
- "entityType": "indexes",
796
- "table": "brain_observations"
797
- },
798
- {
799
- "columns": [
800
- {
801
- "value": "created_at",
802
- "isExpression": false
803
- }
804
- ],
805
- "isUnique": false,
806
- "where": null,
807
- "origin": "manual",
808
- "name": "idx_brain_observations_created_at",
809
- "entityType": "indexes",
810
- "table": "brain_observations"
811
- },
812
- {
813
- "columns": [
814
- {
815
- "value": "source_type",
816
- "isExpression": false
817
- }
818
- ],
819
- "isUnique": false,
820
- "where": null,
821
- "origin": "manual",
822
- "name": "idx_brain_observations_source_type",
823
- "entityType": "indexes",
824
- "table": "brain_observations"
825
- },
826
- {
827
- "columns": [
828
- {
829
- "value": "source_session_id",
830
- "isExpression": false
831
- }
832
- ],
833
- "isUnique": false,
834
- "where": null,
835
- "origin": "manual",
836
- "name": "idx_brain_observations_source_session",
837
- "entityType": "indexes",
838
- "table": "brain_observations"
839
- },
840
- {
841
- "columns": [
842
- {
843
- "value": "type",
844
- "isExpression": false
845
- }
846
- ],
847
- "isUnique": false,
848
- "where": null,
849
- "origin": "manual",
850
- "name": "idx_brain_patterns_type",
851
- "entityType": "indexes",
852
- "table": "brain_patterns"
853
- },
854
- {
855
- "columns": [
856
- {
857
- "value": "impact",
858
- "isExpression": false
859
- }
860
- ],
861
- "isUnique": false,
862
- "where": null,
863
- "origin": "manual",
864
- "name": "idx_brain_patterns_impact",
865
- "entityType": "indexes",
866
- "table": "brain_patterns"
867
- },
868
- {
869
- "columns": [
870
- {
871
- "value": "frequency",
872
- "isExpression": false
873
- }
874
- ],
875
- "isUnique": false,
876
- "where": null,
877
- "origin": "manual",
878
- "name": "idx_brain_patterns_frequency",
879
- "entityType": "indexes",
880
- "table": "brain_patterns"
881
- }
882
- ],
883
- "renames": []
884
- }