@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.
- package/dist/cli/index.js +38 -48
- package/dist/cli/index.js.map +3 -3
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/index.js.map +1 -1
- package/package.json +1 -1
- package/drizzle-brain/20260301230215_workable_spitfire/migration.sql +0 -68
- package/drizzle-brain/20260301230215_workable_spitfire/snapshot.json +0 -651
- package/drizzle-brain/20260302050325_unknown_justin_hammer/migration.sql +0 -23
- package/drizzle-brain/20260302050325_unknown_justin_hammer/snapshot.json +0 -884
- package/drizzle-brain/20260302061755_unusual_jamie_braddock/migration.sql +0 -2
- package/drizzle-brain/20260302061755_unusual_jamie_braddock/snapshot.json +0 -908
- package/drizzle-brain/20260302193548_luxuriant_glorian/migration.sql +0 -20
- package/drizzle-brain/20260302193548_luxuriant_glorian/snapshot.json +0 -1078
- package/drizzle-brain/20260304045002_white_thunderbolt_ross/migration.sql +0 -16
- package/drizzle-brain/20260304045002_white_thunderbolt_ross/snapshot.json +0 -1233
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `brain_decisions` (
|
|
2
|
-
`id` text PRIMARY KEY,
|
|
3
|
-
`type` text NOT NULL,
|
|
4
|
-
`decision` text NOT NULL,
|
|
5
|
-
`rationale` text NOT NULL,
|
|
6
|
-
`confidence` text NOT NULL,
|
|
7
|
-
`outcome` text,
|
|
8
|
-
`alternatives_json` text,
|
|
9
|
-
`context_epic_id` text,
|
|
10
|
-
`context_task_id` text,
|
|
11
|
-
`context_phase` text,
|
|
12
|
-
`created_at` text DEFAULT (datetime('now')) NOT NULL,
|
|
13
|
-
`updated_at` text
|
|
14
|
-
);
|
|
15
|
-
--> statement-breakpoint
|
|
16
|
-
CREATE TABLE `brain_learnings` (
|
|
17
|
-
`id` text PRIMARY KEY,
|
|
18
|
-
`insight` text NOT NULL,
|
|
19
|
-
`source` text NOT NULL,
|
|
20
|
-
`confidence` real NOT NULL,
|
|
21
|
-
`actionable` integer DEFAULT false NOT NULL,
|
|
22
|
-
`application` text,
|
|
23
|
-
`applicable_types_json` text,
|
|
24
|
-
`created_at` text DEFAULT (datetime('now')) NOT NULL,
|
|
25
|
-
`updated_at` text
|
|
26
|
-
);
|
|
27
|
-
--> statement-breakpoint
|
|
28
|
-
CREATE TABLE `brain_memory_links` (
|
|
29
|
-
`memory_type` text NOT NULL,
|
|
30
|
-
`memory_id` text NOT NULL,
|
|
31
|
-
`task_id` text NOT NULL,
|
|
32
|
-
`link_type` text NOT NULL,
|
|
33
|
-
`created_at` text DEFAULT (datetime('now')) NOT NULL,
|
|
34
|
-
CONSTRAINT `brain_memory_links_pk` PRIMARY KEY(`memory_type`, `memory_id`, `task_id`, `link_type`)
|
|
35
|
-
);
|
|
36
|
-
--> statement-breakpoint
|
|
37
|
-
CREATE TABLE `brain_patterns` (
|
|
38
|
-
`id` text PRIMARY KEY,
|
|
39
|
-
`type` text NOT NULL,
|
|
40
|
-
`pattern` text NOT NULL,
|
|
41
|
-
`context` text NOT NULL,
|
|
42
|
-
`frequency` integer DEFAULT 1 NOT NULL,
|
|
43
|
-
`success_rate` real,
|
|
44
|
-
`impact` text,
|
|
45
|
-
`anti_pattern` text,
|
|
46
|
-
`mitigation` text,
|
|
47
|
-
`examples_json` text DEFAULT '[]',
|
|
48
|
-
`extracted_at` text DEFAULT (datetime('now')) NOT NULL,
|
|
49
|
-
`updated_at` text
|
|
50
|
-
);
|
|
51
|
-
--> statement-breakpoint
|
|
52
|
-
CREATE TABLE `brain_schema_meta` (
|
|
53
|
-
`key` text PRIMARY KEY,
|
|
54
|
-
`value` text NOT NULL
|
|
55
|
-
);
|
|
56
|
-
--> statement-breakpoint
|
|
57
|
-
CREATE INDEX `idx_brain_decisions_type` ON `brain_decisions` (`type`);--> statement-breakpoint
|
|
58
|
-
CREATE INDEX `idx_brain_decisions_confidence` ON `brain_decisions` (`confidence`);--> statement-breakpoint
|
|
59
|
-
CREATE INDEX `idx_brain_decisions_outcome` ON `brain_decisions` (`outcome`);--> statement-breakpoint
|
|
60
|
-
CREATE INDEX `idx_brain_decisions_context_epic` ON `brain_decisions` (`context_epic_id`);--> statement-breakpoint
|
|
61
|
-
CREATE INDEX `idx_brain_decisions_context_task` ON `brain_decisions` (`context_task_id`);--> statement-breakpoint
|
|
62
|
-
CREATE INDEX `idx_brain_learnings_confidence` ON `brain_learnings` (`confidence`);--> statement-breakpoint
|
|
63
|
-
CREATE INDEX `idx_brain_learnings_actionable` ON `brain_learnings` (`actionable`);--> statement-breakpoint
|
|
64
|
-
CREATE INDEX `idx_brain_links_task` ON `brain_memory_links` (`task_id`);--> statement-breakpoint
|
|
65
|
-
CREATE INDEX `idx_brain_links_memory` ON `brain_memory_links` (`memory_type`,`memory_id`);--> statement-breakpoint
|
|
66
|
-
CREATE INDEX `idx_brain_patterns_type` ON `brain_patterns` (`type`);--> statement-breakpoint
|
|
67
|
-
CREATE INDEX `idx_brain_patterns_impact` ON `brain_patterns` (`impact`);--> statement-breakpoint
|
|
68
|
-
CREATE INDEX `idx_brain_patterns_frequency` ON `brain_patterns` (`frequency`);
|