@adhd/agent-store-tools 2.1.0
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/drizzle/0000_dry_roulette.sql +18 -0
- package/drizzle/0001_gray_talkback.sql +20 -0
- package/drizzle/0002_aberrant_blink.sql +7 -0
- package/drizzle/0003_foamy_otto_octavius.sql +10 -0
- package/drizzle/meta/0000_snapshot.json +129 -0
- package/drizzle/meta/0001_snapshot.json +251 -0
- package/drizzle/meta/0002_snapshot.json +298 -0
- package/drizzle/meta/0003_snapshot.json +358 -0
- package/drizzle/meta/_journal.json +34 -0
- package/package.json +50 -0
- package/src/db/client.d.ts +7 -0
- package/src/db/client.d.ts.map +1 -0
- package/src/db/client.js +18 -0
- package/src/db/client.js.map +1 -0
- package/src/db/migrate-runner.d.ts +30 -0
- package/src/db/migrate-runner.d.ts.map +1 -0
- package/src/db/migrate-runner.js +34 -0
- package/src/db/migrate-runner.js.map +1 -0
- package/src/db/migrate.d.ts +9 -0
- package/src/db/migrate.d.ts.map +1 -0
- package/src/db/migrate.js +13 -0
- package/src/db/migrate.js.map +1 -0
- package/src/db/schema.d.ts +584 -0
- package/src/db/schema.d.ts.map +1 -0
- package/src/db/schema.js +150 -0
- package/src/db/schema.js.map +1 -0
- package/src/index.d.ts +13 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +11 -0
- package/src/index.js.map +1 -0
- package/src/seed/bindings.d.ts +21 -0
- package/src/seed/bindings.d.ts.map +1 -0
- package/src/seed/bindings.js +167 -0
- package/src/seed/bindings.js.map +1 -0
- package/src/seed/index.d.ts +29 -0
- package/src/seed/index.d.ts.map +1 -0
- package/src/seed/index.js +80 -0
- package/src/seed/index.js.map +1 -0
- package/src/seed/platforms.d.ts +17 -0
- package/src/seed/platforms.d.ts.map +1 -0
- package/src/seed/platforms.js +48 -0
- package/src/seed/platforms.js.map +1 -0
- package/src/seed/tool-types.d.ts +15 -0
- package/src/seed/tool-types.d.ts.map +1 -0
- package/src/seed/tool-types.js +35 -0
- package/src/seed/tool-types.js.map +1 -0
- package/src/seed/tools.d.ts +18 -0
- package/src/seed/tools.d.ts.map +1 -0
- package/src/seed/tools.js +117 -0
- package/src/seed/tools.js.map +1 -0
- package/src/store/agent-tool-store.d.ts +63 -0
- package/src/store/agent-tool-store.d.ts.map +1 -0
- package/src/store/agent-tool-store.js +100 -0
- package/src/store/agent-tool-store.js.map +1 -0
- package/src/store/binding-store.d.ts +75 -0
- package/src/store/binding-store.d.ts.map +1 -0
- package/src/store/binding-store.js +144 -0
- package/src/store/binding-store.js.map +1 -0
- package/src/store/mcp-server-store.d.ts +46 -0
- package/src/store/mcp-server-store.d.ts.map +1 -0
- package/src/store/mcp-server-store.js +89 -0
- package/src/store/mcp-server-store.js.map +1 -0
- package/src/store/tool-store.d.ts +55 -0
- package/src/store/tool-store.d.ts.map +1 -0
- package/src/store/tool-store.js +115 -0
- package/src/store/tool-store.js.map +1 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "8abb19b4-83fe-4281-aef3-8fd675f3a71d",
|
|
5
|
+
"prevId": "5fc1cf5d-4101-429f-b2b1-b138abf4935e",
|
|
6
|
+
"tables": {
|
|
7
|
+
"mcp_servers": {
|
|
8
|
+
"name": "mcp_servers",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"transport": {
|
|
18
|
+
"name": "transport",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"name": "name",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"provided_tool_ids": {
|
|
32
|
+
"name": "provided_tool_ids",
|
|
33
|
+
"type": "text",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": true,
|
|
36
|
+
"autoincrement": false,
|
|
37
|
+
"default": "'[]'"
|
|
38
|
+
},
|
|
39
|
+
"config_schema": {
|
|
40
|
+
"name": "config_schema",
|
|
41
|
+
"type": "text",
|
|
42
|
+
"primaryKey": false,
|
|
43
|
+
"notNull": true,
|
|
44
|
+
"autoincrement": false,
|
|
45
|
+
"default": "'{}'"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"indexes": {},
|
|
49
|
+
"foreignKeys": {},
|
|
50
|
+
"compositePrimaryKeys": {},
|
|
51
|
+
"uniqueConstraints": {},
|
|
52
|
+
"checkConstraints": {}
|
|
53
|
+
},
|
|
54
|
+
"platforms": {
|
|
55
|
+
"name": "platforms",
|
|
56
|
+
"columns": {
|
|
57
|
+
"id": {
|
|
58
|
+
"name": "id",
|
|
59
|
+
"type": "text",
|
|
60
|
+
"primaryKey": true,
|
|
61
|
+
"notNull": true,
|
|
62
|
+
"autoincrement": false
|
|
63
|
+
},
|
|
64
|
+
"name": {
|
|
65
|
+
"name": "name",
|
|
66
|
+
"type": "text",
|
|
67
|
+
"primaryKey": false,
|
|
68
|
+
"notNull": true,
|
|
69
|
+
"autoincrement": false
|
|
70
|
+
},
|
|
71
|
+
"header_format": {
|
|
72
|
+
"name": "header_format",
|
|
73
|
+
"type": "text",
|
|
74
|
+
"primaryKey": false,
|
|
75
|
+
"notNull": true,
|
|
76
|
+
"autoincrement": false
|
|
77
|
+
},
|
|
78
|
+
"supports_tool_selection": {
|
|
79
|
+
"name": "supports_tool_selection",
|
|
80
|
+
"type": "integer",
|
|
81
|
+
"primaryKey": false,
|
|
82
|
+
"notNull": true,
|
|
83
|
+
"autoincrement": false,
|
|
84
|
+
"default": false
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"indexes": {},
|
|
88
|
+
"foreignKeys": {},
|
|
89
|
+
"compositePrimaryKeys": {},
|
|
90
|
+
"uniqueConstraints": {},
|
|
91
|
+
"checkConstraints": {}
|
|
92
|
+
},
|
|
93
|
+
"tool_platform_bindings": {
|
|
94
|
+
"name": "tool_platform_bindings",
|
|
95
|
+
"columns": {
|
|
96
|
+
"tool_name": {
|
|
97
|
+
"name": "tool_name",
|
|
98
|
+
"type": "text",
|
|
99
|
+
"primaryKey": false,
|
|
100
|
+
"notNull": true,
|
|
101
|
+
"autoincrement": false
|
|
102
|
+
},
|
|
103
|
+
"platform_id": {
|
|
104
|
+
"name": "platform_id",
|
|
105
|
+
"type": "text",
|
|
106
|
+
"primaryKey": false,
|
|
107
|
+
"notNull": true,
|
|
108
|
+
"autoincrement": false
|
|
109
|
+
},
|
|
110
|
+
"platform_tool_name": {
|
|
111
|
+
"name": "platform_tool_name",
|
|
112
|
+
"type": "text",
|
|
113
|
+
"primaryKey": false,
|
|
114
|
+
"notNull": true,
|
|
115
|
+
"autoincrement": false
|
|
116
|
+
},
|
|
117
|
+
"availability": {
|
|
118
|
+
"name": "availability",
|
|
119
|
+
"type": "text",
|
|
120
|
+
"primaryKey": false,
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"autoincrement": false
|
|
123
|
+
},
|
|
124
|
+
"requires_mcp": {
|
|
125
|
+
"name": "requires_mcp",
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"primaryKey": false,
|
|
128
|
+
"notNull": true,
|
|
129
|
+
"autoincrement": false,
|
|
130
|
+
"default": false
|
|
131
|
+
},
|
|
132
|
+
"invocation_note": {
|
|
133
|
+
"name": "invocation_note",
|
|
134
|
+
"type": "text",
|
|
135
|
+
"primaryKey": false,
|
|
136
|
+
"notNull": false,
|
|
137
|
+
"autoincrement": false
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"indexes": {
|
|
141
|
+
"idx_bindings_platform": {
|
|
142
|
+
"name": "idx_bindings_platform",
|
|
143
|
+
"columns": ["platform_id"],
|
|
144
|
+
"isUnique": false
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"foreignKeys": {
|
|
148
|
+
"tool_platform_bindings_tool_name_tools_name_fk": {
|
|
149
|
+
"name": "tool_platform_bindings_tool_name_tools_name_fk",
|
|
150
|
+
"tableFrom": "tool_platform_bindings",
|
|
151
|
+
"tableTo": "tools",
|
|
152
|
+
"columnsFrom": ["tool_name"],
|
|
153
|
+
"columnsTo": ["name"],
|
|
154
|
+
"onDelete": "no action",
|
|
155
|
+
"onUpdate": "no action"
|
|
156
|
+
},
|
|
157
|
+
"tool_platform_bindings_platform_id_platforms_id_fk": {
|
|
158
|
+
"name": "tool_platform_bindings_platform_id_platforms_id_fk",
|
|
159
|
+
"tableFrom": "tool_platform_bindings",
|
|
160
|
+
"tableTo": "platforms",
|
|
161
|
+
"columnsFrom": ["platform_id"],
|
|
162
|
+
"columnsTo": ["id"],
|
|
163
|
+
"onDelete": "no action",
|
|
164
|
+
"onUpdate": "no action"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"compositePrimaryKeys": {
|
|
168
|
+
"tool_platform_bindings_tool_name_platform_id_pk": {
|
|
169
|
+
"columns": ["tool_name", "platform_id"],
|
|
170
|
+
"name": "tool_platform_bindings_tool_name_platform_id_pk"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"uniqueConstraints": {},
|
|
174
|
+
"checkConstraints": {}
|
|
175
|
+
},
|
|
176
|
+
"tool_types": {
|
|
177
|
+
"name": "tool_types",
|
|
178
|
+
"columns": {
|
|
179
|
+
"slug": {
|
|
180
|
+
"name": "slug",
|
|
181
|
+
"type": "text",
|
|
182
|
+
"primaryKey": true,
|
|
183
|
+
"notNull": true,
|
|
184
|
+
"autoincrement": false
|
|
185
|
+
},
|
|
186
|
+
"description": {
|
|
187
|
+
"name": "description",
|
|
188
|
+
"type": "text",
|
|
189
|
+
"primaryKey": false,
|
|
190
|
+
"notNull": true,
|
|
191
|
+
"autoincrement": false
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"indexes": {},
|
|
195
|
+
"foreignKeys": {},
|
|
196
|
+
"compositePrimaryKeys": {},
|
|
197
|
+
"uniqueConstraints": {},
|
|
198
|
+
"checkConstraints": {}
|
|
199
|
+
},
|
|
200
|
+
"tools": {
|
|
201
|
+
"name": "tools",
|
|
202
|
+
"columns": {
|
|
203
|
+
"name": {
|
|
204
|
+
"name": "name",
|
|
205
|
+
"type": "text",
|
|
206
|
+
"primaryKey": true,
|
|
207
|
+
"notNull": true,
|
|
208
|
+
"autoincrement": false
|
|
209
|
+
},
|
|
210
|
+
"type": {
|
|
211
|
+
"name": "type",
|
|
212
|
+
"type": "text",
|
|
213
|
+
"primaryKey": false,
|
|
214
|
+
"notNull": true,
|
|
215
|
+
"autoincrement": false
|
|
216
|
+
},
|
|
217
|
+
"description": {
|
|
218
|
+
"name": "description",
|
|
219
|
+
"type": "text",
|
|
220
|
+
"primaryKey": false,
|
|
221
|
+
"notNull": true,
|
|
222
|
+
"autoincrement": false
|
|
223
|
+
},
|
|
224
|
+
"version": {
|
|
225
|
+
"name": "version",
|
|
226
|
+
"type": "integer",
|
|
227
|
+
"primaryKey": false,
|
|
228
|
+
"notNull": true,
|
|
229
|
+
"autoincrement": false,
|
|
230
|
+
"default": 1
|
|
231
|
+
},
|
|
232
|
+
"requires_approval": {
|
|
233
|
+
"name": "requires_approval",
|
|
234
|
+
"type": "integer",
|
|
235
|
+
"primaryKey": false,
|
|
236
|
+
"notNull": true,
|
|
237
|
+
"autoincrement": false,
|
|
238
|
+
"default": false
|
|
239
|
+
},
|
|
240
|
+
"is_destructive": {
|
|
241
|
+
"name": "is_destructive",
|
|
242
|
+
"type": "integer",
|
|
243
|
+
"primaryKey": false,
|
|
244
|
+
"notNull": true,
|
|
245
|
+
"autoincrement": false,
|
|
246
|
+
"default": false
|
|
247
|
+
},
|
|
248
|
+
"dependency_tool_ids": {
|
|
249
|
+
"name": "dependency_tool_ids",
|
|
250
|
+
"type": "text",
|
|
251
|
+
"primaryKey": false,
|
|
252
|
+
"notNull": true,
|
|
253
|
+
"autoincrement": false,
|
|
254
|
+
"default": "'[]'"
|
|
255
|
+
},
|
|
256
|
+
"capabilities": {
|
|
257
|
+
"name": "capabilities",
|
|
258
|
+
"type": "text",
|
|
259
|
+
"primaryKey": false,
|
|
260
|
+
"notNull": true,
|
|
261
|
+
"autoincrement": false,
|
|
262
|
+
"default": "'[]'"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"indexes": {
|
|
266
|
+
"idx_tools_type": {
|
|
267
|
+
"name": "idx_tools_type",
|
|
268
|
+
"columns": ["type"],
|
|
269
|
+
"isUnique": false
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"foreignKeys": {
|
|
273
|
+
"tools_type_tool_types_slug_fk": {
|
|
274
|
+
"name": "tools_type_tool_types_slug_fk",
|
|
275
|
+
"tableFrom": "tools",
|
|
276
|
+
"tableTo": "tool_types",
|
|
277
|
+
"columnsFrom": ["type"],
|
|
278
|
+
"columnsTo": ["slug"],
|
|
279
|
+
"onDelete": "no action",
|
|
280
|
+
"onUpdate": "no action"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"compositePrimaryKeys": {},
|
|
284
|
+
"uniqueConstraints": {},
|
|
285
|
+
"checkConstraints": {}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"views": {},
|
|
289
|
+
"enums": {},
|
|
290
|
+
"_meta": {
|
|
291
|
+
"schemas": {},
|
|
292
|
+
"tables": {},
|
|
293
|
+
"columns": {}
|
|
294
|
+
},
|
|
295
|
+
"internal": {
|
|
296
|
+
"indexes": {}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "2e49bbea-ae08-40c2-9a2e-8ae59b34e6fc",
|
|
5
|
+
"prevId": "8abb19b4-83fe-4281-aef3-8fd675f3a71d",
|
|
6
|
+
"tables": {
|
|
7
|
+
"agent_tools": {
|
|
8
|
+
"name": "agent_tools",
|
|
9
|
+
"columns": {
|
|
10
|
+
"agent_slug": {
|
|
11
|
+
"name": "agent_slug",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": false,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"tool_name": {
|
|
18
|
+
"name": "tool_name",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"permission": {
|
|
25
|
+
"name": "permission",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"context_condition": {
|
|
32
|
+
"name": "context_condition",
|
|
33
|
+
"type": "text",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": false,
|
|
36
|
+
"autoincrement": false,
|
|
37
|
+
"default": "'null'"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"indexes": {
|
|
41
|
+
"idx_agent_tools_agent_slug": {
|
|
42
|
+
"name": "idx_agent_tools_agent_slug",
|
|
43
|
+
"columns": ["agent_slug"],
|
|
44
|
+
"isUnique": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"foreignKeys": {
|
|
48
|
+
"agent_tools_tool_name_tools_name_fk": {
|
|
49
|
+
"name": "agent_tools_tool_name_tools_name_fk",
|
|
50
|
+
"tableFrom": "agent_tools",
|
|
51
|
+
"tableTo": "tools",
|
|
52
|
+
"columnsFrom": ["tool_name"],
|
|
53
|
+
"columnsTo": ["name"],
|
|
54
|
+
"onDelete": "no action",
|
|
55
|
+
"onUpdate": "no action"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"compositePrimaryKeys": {
|
|
59
|
+
"agent_tools_agent_slug_tool_name_pk": {
|
|
60
|
+
"columns": ["agent_slug", "tool_name"],
|
|
61
|
+
"name": "agent_tools_agent_slug_tool_name_pk"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"uniqueConstraints": {},
|
|
65
|
+
"checkConstraints": {}
|
|
66
|
+
},
|
|
67
|
+
"mcp_servers": {
|
|
68
|
+
"name": "mcp_servers",
|
|
69
|
+
"columns": {
|
|
70
|
+
"id": {
|
|
71
|
+
"name": "id",
|
|
72
|
+
"type": "text",
|
|
73
|
+
"primaryKey": true,
|
|
74
|
+
"notNull": true,
|
|
75
|
+
"autoincrement": false
|
|
76
|
+
},
|
|
77
|
+
"transport": {
|
|
78
|
+
"name": "transport",
|
|
79
|
+
"type": "text",
|
|
80
|
+
"primaryKey": false,
|
|
81
|
+
"notNull": true,
|
|
82
|
+
"autoincrement": false
|
|
83
|
+
},
|
|
84
|
+
"name": {
|
|
85
|
+
"name": "name",
|
|
86
|
+
"type": "text",
|
|
87
|
+
"primaryKey": false,
|
|
88
|
+
"notNull": true,
|
|
89
|
+
"autoincrement": false
|
|
90
|
+
},
|
|
91
|
+
"provided_tool_ids": {
|
|
92
|
+
"name": "provided_tool_ids",
|
|
93
|
+
"type": "text",
|
|
94
|
+
"primaryKey": false,
|
|
95
|
+
"notNull": true,
|
|
96
|
+
"autoincrement": false,
|
|
97
|
+
"default": "'[]'"
|
|
98
|
+
},
|
|
99
|
+
"config_schema": {
|
|
100
|
+
"name": "config_schema",
|
|
101
|
+
"type": "text",
|
|
102
|
+
"primaryKey": false,
|
|
103
|
+
"notNull": true,
|
|
104
|
+
"autoincrement": false,
|
|
105
|
+
"default": "'{}'"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"indexes": {},
|
|
109
|
+
"foreignKeys": {},
|
|
110
|
+
"compositePrimaryKeys": {},
|
|
111
|
+
"uniqueConstraints": {},
|
|
112
|
+
"checkConstraints": {}
|
|
113
|
+
},
|
|
114
|
+
"platforms": {
|
|
115
|
+
"name": "platforms",
|
|
116
|
+
"columns": {
|
|
117
|
+
"id": {
|
|
118
|
+
"name": "id",
|
|
119
|
+
"type": "text",
|
|
120
|
+
"primaryKey": true,
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"autoincrement": false
|
|
123
|
+
},
|
|
124
|
+
"name": {
|
|
125
|
+
"name": "name",
|
|
126
|
+
"type": "text",
|
|
127
|
+
"primaryKey": false,
|
|
128
|
+
"notNull": true,
|
|
129
|
+
"autoincrement": false
|
|
130
|
+
},
|
|
131
|
+
"header_format": {
|
|
132
|
+
"name": "header_format",
|
|
133
|
+
"type": "text",
|
|
134
|
+
"primaryKey": false,
|
|
135
|
+
"notNull": true,
|
|
136
|
+
"autoincrement": false
|
|
137
|
+
},
|
|
138
|
+
"supports_tool_selection": {
|
|
139
|
+
"name": "supports_tool_selection",
|
|
140
|
+
"type": "integer",
|
|
141
|
+
"primaryKey": false,
|
|
142
|
+
"notNull": true,
|
|
143
|
+
"autoincrement": false,
|
|
144
|
+
"default": false
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"indexes": {},
|
|
148
|
+
"foreignKeys": {},
|
|
149
|
+
"compositePrimaryKeys": {},
|
|
150
|
+
"uniqueConstraints": {},
|
|
151
|
+
"checkConstraints": {}
|
|
152
|
+
},
|
|
153
|
+
"tool_platform_bindings": {
|
|
154
|
+
"name": "tool_platform_bindings",
|
|
155
|
+
"columns": {
|
|
156
|
+
"tool_name": {
|
|
157
|
+
"name": "tool_name",
|
|
158
|
+
"type": "text",
|
|
159
|
+
"primaryKey": false,
|
|
160
|
+
"notNull": true,
|
|
161
|
+
"autoincrement": false
|
|
162
|
+
},
|
|
163
|
+
"platform_id": {
|
|
164
|
+
"name": "platform_id",
|
|
165
|
+
"type": "text",
|
|
166
|
+
"primaryKey": false,
|
|
167
|
+
"notNull": true,
|
|
168
|
+
"autoincrement": false
|
|
169
|
+
},
|
|
170
|
+
"platform_tool_name": {
|
|
171
|
+
"name": "platform_tool_name",
|
|
172
|
+
"type": "text",
|
|
173
|
+
"primaryKey": false,
|
|
174
|
+
"notNull": true,
|
|
175
|
+
"autoincrement": false
|
|
176
|
+
},
|
|
177
|
+
"availability": {
|
|
178
|
+
"name": "availability",
|
|
179
|
+
"type": "text",
|
|
180
|
+
"primaryKey": false,
|
|
181
|
+
"notNull": true,
|
|
182
|
+
"autoincrement": false
|
|
183
|
+
},
|
|
184
|
+
"requires_mcp": {
|
|
185
|
+
"name": "requires_mcp",
|
|
186
|
+
"type": "integer",
|
|
187
|
+
"primaryKey": false,
|
|
188
|
+
"notNull": true,
|
|
189
|
+
"autoincrement": false,
|
|
190
|
+
"default": false
|
|
191
|
+
},
|
|
192
|
+
"invocation_note": {
|
|
193
|
+
"name": "invocation_note",
|
|
194
|
+
"type": "text",
|
|
195
|
+
"primaryKey": false,
|
|
196
|
+
"notNull": false,
|
|
197
|
+
"autoincrement": false
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"indexes": {
|
|
201
|
+
"idx_bindings_platform": {
|
|
202
|
+
"name": "idx_bindings_platform",
|
|
203
|
+
"columns": ["platform_id"],
|
|
204
|
+
"isUnique": false
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"foreignKeys": {
|
|
208
|
+
"tool_platform_bindings_tool_name_tools_name_fk": {
|
|
209
|
+
"name": "tool_platform_bindings_tool_name_tools_name_fk",
|
|
210
|
+
"tableFrom": "tool_platform_bindings",
|
|
211
|
+
"tableTo": "tools",
|
|
212
|
+
"columnsFrom": ["tool_name"],
|
|
213
|
+
"columnsTo": ["name"],
|
|
214
|
+
"onDelete": "no action",
|
|
215
|
+
"onUpdate": "no action"
|
|
216
|
+
},
|
|
217
|
+
"tool_platform_bindings_platform_id_platforms_id_fk": {
|
|
218
|
+
"name": "tool_platform_bindings_platform_id_platforms_id_fk",
|
|
219
|
+
"tableFrom": "tool_platform_bindings",
|
|
220
|
+
"tableTo": "platforms",
|
|
221
|
+
"columnsFrom": ["platform_id"],
|
|
222
|
+
"columnsTo": ["id"],
|
|
223
|
+
"onDelete": "no action",
|
|
224
|
+
"onUpdate": "no action"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"compositePrimaryKeys": {
|
|
228
|
+
"tool_platform_bindings_tool_name_platform_id_pk": {
|
|
229
|
+
"columns": ["tool_name", "platform_id"],
|
|
230
|
+
"name": "tool_platform_bindings_tool_name_platform_id_pk"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"uniqueConstraints": {},
|
|
234
|
+
"checkConstraints": {}
|
|
235
|
+
},
|
|
236
|
+
"tool_types": {
|
|
237
|
+
"name": "tool_types",
|
|
238
|
+
"columns": {
|
|
239
|
+
"slug": {
|
|
240
|
+
"name": "slug",
|
|
241
|
+
"type": "text",
|
|
242
|
+
"primaryKey": true,
|
|
243
|
+
"notNull": true,
|
|
244
|
+
"autoincrement": false
|
|
245
|
+
},
|
|
246
|
+
"description": {
|
|
247
|
+
"name": "description",
|
|
248
|
+
"type": "text",
|
|
249
|
+
"primaryKey": false,
|
|
250
|
+
"notNull": true,
|
|
251
|
+
"autoincrement": false
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"indexes": {},
|
|
255
|
+
"foreignKeys": {},
|
|
256
|
+
"compositePrimaryKeys": {},
|
|
257
|
+
"uniqueConstraints": {},
|
|
258
|
+
"checkConstraints": {}
|
|
259
|
+
},
|
|
260
|
+
"tools": {
|
|
261
|
+
"name": "tools",
|
|
262
|
+
"columns": {
|
|
263
|
+
"name": {
|
|
264
|
+
"name": "name",
|
|
265
|
+
"type": "text",
|
|
266
|
+
"primaryKey": true,
|
|
267
|
+
"notNull": true,
|
|
268
|
+
"autoincrement": false
|
|
269
|
+
},
|
|
270
|
+
"type": {
|
|
271
|
+
"name": "type",
|
|
272
|
+
"type": "text",
|
|
273
|
+
"primaryKey": false,
|
|
274
|
+
"notNull": true,
|
|
275
|
+
"autoincrement": false
|
|
276
|
+
},
|
|
277
|
+
"description": {
|
|
278
|
+
"name": "description",
|
|
279
|
+
"type": "text",
|
|
280
|
+
"primaryKey": false,
|
|
281
|
+
"notNull": true,
|
|
282
|
+
"autoincrement": false
|
|
283
|
+
},
|
|
284
|
+
"version": {
|
|
285
|
+
"name": "version",
|
|
286
|
+
"type": "integer",
|
|
287
|
+
"primaryKey": false,
|
|
288
|
+
"notNull": true,
|
|
289
|
+
"autoincrement": false,
|
|
290
|
+
"default": 1
|
|
291
|
+
},
|
|
292
|
+
"requires_approval": {
|
|
293
|
+
"name": "requires_approval",
|
|
294
|
+
"type": "integer",
|
|
295
|
+
"primaryKey": false,
|
|
296
|
+
"notNull": true,
|
|
297
|
+
"autoincrement": false,
|
|
298
|
+
"default": false
|
|
299
|
+
},
|
|
300
|
+
"is_destructive": {
|
|
301
|
+
"name": "is_destructive",
|
|
302
|
+
"type": "integer",
|
|
303
|
+
"primaryKey": false,
|
|
304
|
+
"notNull": true,
|
|
305
|
+
"autoincrement": false,
|
|
306
|
+
"default": false
|
|
307
|
+
},
|
|
308
|
+
"dependency_tool_ids": {
|
|
309
|
+
"name": "dependency_tool_ids",
|
|
310
|
+
"type": "text",
|
|
311
|
+
"primaryKey": false,
|
|
312
|
+
"notNull": true,
|
|
313
|
+
"autoincrement": false,
|
|
314
|
+
"default": "'[]'"
|
|
315
|
+
},
|
|
316
|
+
"capabilities": {
|
|
317
|
+
"name": "capabilities",
|
|
318
|
+
"type": "text",
|
|
319
|
+
"primaryKey": false,
|
|
320
|
+
"notNull": true,
|
|
321
|
+
"autoincrement": false,
|
|
322
|
+
"default": "'[]'"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"indexes": {
|
|
326
|
+
"idx_tools_type": {
|
|
327
|
+
"name": "idx_tools_type",
|
|
328
|
+
"columns": ["type"],
|
|
329
|
+
"isUnique": false
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"foreignKeys": {
|
|
333
|
+
"tools_type_tool_types_slug_fk": {
|
|
334
|
+
"name": "tools_type_tool_types_slug_fk",
|
|
335
|
+
"tableFrom": "tools",
|
|
336
|
+
"tableTo": "tool_types",
|
|
337
|
+
"columnsFrom": ["type"],
|
|
338
|
+
"columnsTo": ["slug"],
|
|
339
|
+
"onDelete": "no action",
|
|
340
|
+
"onUpdate": "no action"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"compositePrimaryKeys": {},
|
|
344
|
+
"uniqueConstraints": {},
|
|
345
|
+
"checkConstraints": {}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"views": {},
|
|
349
|
+
"enums": {},
|
|
350
|
+
"_meta": {
|
|
351
|
+
"schemas": {},
|
|
352
|
+
"tables": {},
|
|
353
|
+
"columns": {}
|
|
354
|
+
},
|
|
355
|
+
"internal": {
|
|
356
|
+
"indexes": {}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"idx": 0,
|
|
7
|
+
"version": "6",
|
|
8
|
+
"when": 1782250713563,
|
|
9
|
+
"tag": "0000_dry_roulette",
|
|
10
|
+
"breakpoints": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"idx": 1,
|
|
14
|
+
"version": "6",
|
|
15
|
+
"when": 1782251442103,
|
|
16
|
+
"tag": "0001_gray_talkback",
|
|
17
|
+
"breakpoints": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"idx": 2,
|
|
21
|
+
"version": "6",
|
|
22
|
+
"when": 1782251789744,
|
|
23
|
+
"tag": "0002_aberrant_blink",
|
|
24
|
+
"breakpoints": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"idx": 3,
|
|
28
|
+
"version": "6",
|
|
29
|
+
"when": 1782252126371,
|
|
30
|
+
"tag": "0003_foamy_otto_octavius",
|
|
31
|
+
"breakpoints": true
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|