@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,908 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "id": "a4f01f6b-7d40-4489-a633-1e12066a0eb0",
5
- "prevIds": [
6
- "702518e3-127a-4617-a25b-c014563d9f34"
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": "text",
415
- "notNull": false,
416
- "autoincrement": false,
417
- "default": null,
418
- "generated": null,
419
- "name": "content_hash",
420
- "entityType": "columns",
421
- "table": "brain_observations"
422
- },
423
- {
424
- "type": "integer",
425
- "notNull": false,
426
- "autoincrement": false,
427
- "default": null,
428
- "generated": null,
429
- "name": "discovery_tokens",
430
- "entityType": "columns",
431
- "table": "brain_observations"
432
- },
433
- {
434
- "type": "text",
435
- "notNull": true,
436
- "autoincrement": false,
437
- "default": "(datetime('now'))",
438
- "generated": null,
439
- "name": "created_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": "updated_at",
450
- "entityType": "columns",
451
- "table": "brain_observations"
452
- },
453
- {
454
- "type": "text",
455
- "notNull": false,
456
- "autoincrement": false,
457
- "default": null,
458
- "generated": null,
459
- "name": "id",
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": "type",
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": "pattern",
480
- "entityType": "columns",
481
- "table": "brain_patterns"
482
- },
483
- {
484
- "type": "text",
485
- "notNull": true,
486
- "autoincrement": false,
487
- "default": null,
488
- "generated": null,
489
- "name": "context",
490
- "entityType": "columns",
491
- "table": "brain_patterns"
492
- },
493
- {
494
- "type": "integer",
495
- "notNull": true,
496
- "autoincrement": false,
497
- "default": "1",
498
- "generated": null,
499
- "name": "frequency",
500
- "entityType": "columns",
501
- "table": "brain_patterns"
502
- },
503
- {
504
- "type": "real",
505
- "notNull": false,
506
- "autoincrement": false,
507
- "default": null,
508
- "generated": null,
509
- "name": "success_rate",
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": "impact",
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": "anti_pattern",
530
- "entityType": "columns",
531
- "table": "brain_patterns"
532
- },
533
- {
534
- "type": "text",
535
- "notNull": false,
536
- "autoincrement": false,
537
- "default": null,
538
- "generated": null,
539
- "name": "mitigation",
540
- "entityType": "columns",
541
- "table": "brain_patterns"
542
- },
543
- {
544
- "type": "text",
545
- "notNull": false,
546
- "autoincrement": false,
547
- "default": "'[]'",
548
- "generated": null,
549
- "name": "examples_json",
550
- "entityType": "columns",
551
- "table": "brain_patterns"
552
- },
553
- {
554
- "type": "text",
555
- "notNull": true,
556
- "autoincrement": false,
557
- "default": "(datetime('now'))",
558
- "generated": null,
559
- "name": "extracted_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": "updated_at",
570
- "entityType": "columns",
571
- "table": "brain_patterns"
572
- },
573
- {
574
- "type": "text",
575
- "notNull": false,
576
- "autoincrement": false,
577
- "default": null,
578
- "generated": null,
579
- "name": "key",
580
- "entityType": "columns",
581
- "table": "brain_schema_meta"
582
- },
583
- {
584
- "type": "text",
585
- "notNull": true,
586
- "autoincrement": false,
587
- "default": null,
588
- "generated": null,
589
- "name": "value",
590
- "entityType": "columns",
591
- "table": "brain_schema_meta"
592
- },
593
- {
594
- "columns": [
595
- "memory_type",
596
- "memory_id",
597
- "task_id",
598
- "link_type"
599
- ],
600
- "nameExplicit": false,
601
- "name": "brain_memory_links_pk",
602
- "entityType": "pks",
603
- "table": "brain_memory_links"
604
- },
605
- {
606
- "columns": [
607
- "id"
608
- ],
609
- "nameExplicit": false,
610
- "name": "brain_decisions_pk",
611
- "table": "brain_decisions",
612
- "entityType": "pks"
613
- },
614
- {
615
- "columns": [
616
- "id"
617
- ],
618
- "nameExplicit": false,
619
- "name": "brain_learnings_pk",
620
- "table": "brain_learnings",
621
- "entityType": "pks"
622
- },
623
- {
624
- "columns": [
625
- "id"
626
- ],
627
- "nameExplicit": false,
628
- "name": "brain_observations_pk",
629
- "table": "brain_observations",
630
- "entityType": "pks"
631
- },
632
- {
633
- "columns": [
634
- "id"
635
- ],
636
- "nameExplicit": false,
637
- "name": "brain_patterns_pk",
638
- "table": "brain_patterns",
639
- "entityType": "pks"
640
- },
641
- {
642
- "columns": [
643
- "key"
644
- ],
645
- "nameExplicit": false,
646
- "name": "brain_schema_meta_pk",
647
- "table": "brain_schema_meta",
648
- "entityType": "pks"
649
- },
650
- {
651
- "columns": [
652
- {
653
- "value": "type",
654
- "isExpression": false
655
- }
656
- ],
657
- "isUnique": false,
658
- "where": null,
659
- "origin": "manual",
660
- "name": "idx_brain_decisions_type",
661
- "entityType": "indexes",
662
- "table": "brain_decisions"
663
- },
664
- {
665
- "columns": [
666
- {
667
- "value": "confidence",
668
- "isExpression": false
669
- }
670
- ],
671
- "isUnique": false,
672
- "where": null,
673
- "origin": "manual",
674
- "name": "idx_brain_decisions_confidence",
675
- "entityType": "indexes",
676
- "table": "brain_decisions"
677
- },
678
- {
679
- "columns": [
680
- {
681
- "value": "outcome",
682
- "isExpression": false
683
- }
684
- ],
685
- "isUnique": false,
686
- "where": null,
687
- "origin": "manual",
688
- "name": "idx_brain_decisions_outcome",
689
- "entityType": "indexes",
690
- "table": "brain_decisions"
691
- },
692
- {
693
- "columns": [
694
- {
695
- "value": "context_epic_id",
696
- "isExpression": false
697
- }
698
- ],
699
- "isUnique": false,
700
- "where": null,
701
- "origin": "manual",
702
- "name": "idx_brain_decisions_context_epic",
703
- "entityType": "indexes",
704
- "table": "brain_decisions"
705
- },
706
- {
707
- "columns": [
708
- {
709
- "value": "context_task_id",
710
- "isExpression": false
711
- }
712
- ],
713
- "isUnique": false,
714
- "where": null,
715
- "origin": "manual",
716
- "name": "idx_brain_decisions_context_task",
717
- "entityType": "indexes",
718
- "table": "brain_decisions"
719
- },
720
- {
721
- "columns": [
722
- {
723
- "value": "confidence",
724
- "isExpression": false
725
- }
726
- ],
727
- "isUnique": false,
728
- "where": null,
729
- "origin": "manual",
730
- "name": "idx_brain_learnings_confidence",
731
- "entityType": "indexes",
732
- "table": "brain_learnings"
733
- },
734
- {
735
- "columns": [
736
- {
737
- "value": "actionable",
738
- "isExpression": false
739
- }
740
- ],
741
- "isUnique": false,
742
- "where": null,
743
- "origin": "manual",
744
- "name": "idx_brain_learnings_actionable",
745
- "entityType": "indexes",
746
- "table": "brain_learnings"
747
- },
748
- {
749
- "columns": [
750
- {
751
- "value": "task_id",
752
- "isExpression": false
753
- }
754
- ],
755
- "isUnique": false,
756
- "where": null,
757
- "origin": "manual",
758
- "name": "idx_brain_links_task",
759
- "entityType": "indexes",
760
- "table": "brain_memory_links"
761
- },
762
- {
763
- "columns": [
764
- {
765
- "value": "memory_type",
766
- "isExpression": false
767
- },
768
- {
769
- "value": "memory_id",
770
- "isExpression": false
771
- }
772
- ],
773
- "isUnique": false,
774
- "where": null,
775
- "origin": "manual",
776
- "name": "idx_brain_links_memory",
777
- "entityType": "indexes",
778
- "table": "brain_memory_links"
779
- },
780
- {
781
- "columns": [
782
- {
783
- "value": "type",
784
- "isExpression": false
785
- }
786
- ],
787
- "isUnique": false,
788
- "where": null,
789
- "origin": "manual",
790
- "name": "idx_brain_observations_type",
791
- "entityType": "indexes",
792
- "table": "brain_observations"
793
- },
794
- {
795
- "columns": [
796
- {
797
- "value": "project",
798
- "isExpression": false
799
- }
800
- ],
801
- "isUnique": false,
802
- "where": null,
803
- "origin": "manual",
804
- "name": "idx_brain_observations_project",
805
- "entityType": "indexes",
806
- "table": "brain_observations"
807
- },
808
- {
809
- "columns": [
810
- {
811
- "value": "created_at",
812
- "isExpression": false
813
- }
814
- ],
815
- "isUnique": false,
816
- "where": null,
817
- "origin": "manual",
818
- "name": "idx_brain_observations_created_at",
819
- "entityType": "indexes",
820
- "table": "brain_observations"
821
- },
822
- {
823
- "columns": [
824
- {
825
- "value": "source_type",
826
- "isExpression": false
827
- }
828
- ],
829
- "isUnique": false,
830
- "where": null,
831
- "origin": "manual",
832
- "name": "idx_brain_observations_source_type",
833
- "entityType": "indexes",
834
- "table": "brain_observations"
835
- },
836
- {
837
- "columns": [
838
- {
839
- "value": "source_session_id",
840
- "isExpression": false
841
- }
842
- ],
843
- "isUnique": false,
844
- "where": null,
845
- "origin": "manual",
846
- "name": "idx_brain_observations_source_session",
847
- "entityType": "indexes",
848
- "table": "brain_observations"
849
- },
850
- {
851
- "columns": [
852
- {
853
- "value": "content_hash",
854
- "isExpression": false
855
- }
856
- ],
857
- "isUnique": false,
858
- "where": null,
859
- "origin": "manual",
860
- "name": "idx_brain_observations_content_hash",
861
- "entityType": "indexes",
862
- "table": "brain_observations"
863
- },
864
- {
865
- "columns": [
866
- {
867
- "value": "type",
868
- "isExpression": false
869
- }
870
- ],
871
- "isUnique": false,
872
- "where": null,
873
- "origin": "manual",
874
- "name": "idx_brain_patterns_type",
875
- "entityType": "indexes",
876
- "table": "brain_patterns"
877
- },
878
- {
879
- "columns": [
880
- {
881
- "value": "impact",
882
- "isExpression": false
883
- }
884
- ],
885
- "isUnique": false,
886
- "where": null,
887
- "origin": "manual",
888
- "name": "idx_brain_patterns_impact",
889
- "entityType": "indexes",
890
- "table": "brain_patterns"
891
- },
892
- {
893
- "columns": [
894
- {
895
- "value": "frequency",
896
- "isExpression": false
897
- }
898
- ],
899
- "isUnique": false,
900
- "where": null,
901
- "origin": "manual",
902
- "name": "idx_brain_patterns_frequency",
903
- "entityType": "indexes",
904
- "table": "brain_patterns"
905
- }
906
- ],
907
- "renames": []
908
- }