@cachly-dev/mcp-server 0.9.17 → 0.9.19
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/__tests__/brain-flow.test.d.ts +12 -0
- package/dist/__tests__/brain-flow.test.js +504 -0
- package/dist/__tests__/brain-flow.test.js.map +1 -0
- package/dist/ckg.d.ts +22 -0
- package/dist/ckg.js +40 -0
- package/dist/ckg.js.map +1 -0
- package/dist/confidence.d.ts +19 -0
- package/dist/confidence.js +38 -0
- package/dist/confidence.js.map +1 -0
- package/dist/embeddings.d.ts +48 -0
- package/dist/embeddings.js +213 -0
- package/dist/embeddings.js.map +1 -0
- package/dist/handlers/brain.d.ts +21 -0
- package/dist/handlers/brain.js +1322 -0
- package/dist/handlers/brain.js.map +1 -0
- package/dist/index.d.ts +1 -62
- package/dist/index.js +60 -5069
- package/dist/index.js.map +1 -1
- package/dist/search.d.ts +101 -0
- package/dist/search.js +1818 -0
- package/dist/search.js.map +1 -0
- package/dist/tools.d.ts +1955 -0
- package/dist/tools.js +1632 -0
- package/dist/tools.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/brain-flow.test.ts +608 -0
- package/src/ckg.ts +53 -0
- package/src/confidence.ts +38 -0
- package/src/embeddings.ts +217 -0
- package/src/handlers/brain.ts +1506 -0
- package/src/index.ts +40 -5261
- package/src/search.ts +1781 -0
- package/src/tools.ts +1723 -0
package/dist/tools.d.ts
ADDED
|
@@ -0,0 +1,1955 @@
|
|
|
1
|
+
declare const TOOLS: readonly [{
|
|
2
|
+
readonly name: "list_instances";
|
|
3
|
+
readonly description: string;
|
|
4
|
+
readonly inputSchema: {
|
|
5
|
+
readonly type: "object";
|
|
6
|
+
readonly properties: {};
|
|
7
|
+
readonly required: readonly [];
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "create_instance";
|
|
11
|
+
readonly description: string;
|
|
12
|
+
readonly inputSchema: {
|
|
13
|
+
readonly type: "object";
|
|
14
|
+
readonly properties: {
|
|
15
|
+
readonly name: {
|
|
16
|
+
readonly type: "string";
|
|
17
|
+
readonly description: "Unique name for the instance (min 3 chars)";
|
|
18
|
+
};
|
|
19
|
+
readonly tier: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly enum: readonly ["free", "dev", "pro", "speed", "business"];
|
|
22
|
+
readonly description: "Pricing tier. Start with \"free\" for testing.";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly required: readonly ["name", "tier"];
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "get_instance";
|
|
29
|
+
readonly description: string;
|
|
30
|
+
readonly inputSchema: {
|
|
31
|
+
readonly type: "object";
|
|
32
|
+
readonly properties: {
|
|
33
|
+
readonly instance_id: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
readonly description: "UUID of the instance (from list_instances)";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly required: readonly ["instance_id"];
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "get_connection_string";
|
|
42
|
+
readonly description: string;
|
|
43
|
+
readonly inputSchema: {
|
|
44
|
+
readonly type: "object";
|
|
45
|
+
readonly properties: {
|
|
46
|
+
readonly instance_id: {
|
|
47
|
+
readonly type: "string";
|
|
48
|
+
readonly description: "UUID of the instance";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly required: readonly ["instance_id"];
|
|
52
|
+
};
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "delete_instance";
|
|
55
|
+
readonly description: string;
|
|
56
|
+
readonly inputSchema: {
|
|
57
|
+
readonly type: "object";
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly instance_id: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly description: "UUID of the instance to delete";
|
|
62
|
+
};
|
|
63
|
+
readonly confirm: {
|
|
64
|
+
readonly type: "boolean";
|
|
65
|
+
readonly description: "Must be true to confirm deletion";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly required: readonly ["instance_id", "confirm"];
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "cache_get";
|
|
72
|
+
readonly description: string;
|
|
73
|
+
readonly inputSchema: {
|
|
74
|
+
readonly type: "object";
|
|
75
|
+
readonly properties: {
|
|
76
|
+
readonly instance_id: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly description: "UUID of the instance";
|
|
79
|
+
};
|
|
80
|
+
readonly key: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly description: "Cache key to retrieve";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly required: readonly ["instance_id", "key"];
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "cache_set";
|
|
89
|
+
readonly description: string;
|
|
90
|
+
readonly inputSchema: {
|
|
91
|
+
readonly type: "object";
|
|
92
|
+
readonly properties: {
|
|
93
|
+
readonly instance_id: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
readonly description: "UUID of the cache instance (from list_instances)";
|
|
96
|
+
};
|
|
97
|
+
readonly key: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
readonly description: "Cache key";
|
|
100
|
+
};
|
|
101
|
+
readonly value: {
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
readonly description: "Value to store (string or JSON)";
|
|
104
|
+
};
|
|
105
|
+
readonly ttl: {
|
|
106
|
+
readonly type: "number";
|
|
107
|
+
readonly description: "Time-to-live in seconds (optional, omit for no expiry)";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly required: readonly ["instance_id", "key", "value"];
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "cache_delete";
|
|
114
|
+
readonly description: string;
|
|
115
|
+
readonly inputSchema: {
|
|
116
|
+
readonly type: "object";
|
|
117
|
+
readonly properties: {
|
|
118
|
+
readonly instance_id: {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
readonly description: "UUID of the cache instance to delete keys from (get from list_instances)";
|
|
121
|
+
};
|
|
122
|
+
readonly keys: {
|
|
123
|
+
readonly type: "array";
|
|
124
|
+
readonly items: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
};
|
|
127
|
+
readonly description: "One or more cache keys to delete. Accepts exact keys only (no glob patterns — use cache_keys to list first).";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly required: readonly ["instance_id", "keys"];
|
|
131
|
+
};
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "cache_exists";
|
|
134
|
+
readonly description: string;
|
|
135
|
+
readonly inputSchema: {
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly instance_id: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly description: "UUID of the cache instance to check (get from list_instances)";
|
|
141
|
+
};
|
|
142
|
+
readonly keys: {
|
|
143
|
+
readonly type: "array";
|
|
144
|
+
readonly items: {
|
|
145
|
+
readonly type: "string";
|
|
146
|
+
};
|
|
147
|
+
readonly description: "Keys to check for existence. Accepts exact keys only (no glob patterns).";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly required: readonly ["instance_id", "keys"];
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "cache_ttl";
|
|
154
|
+
readonly description: string;
|
|
155
|
+
readonly inputSchema: {
|
|
156
|
+
readonly type: "object";
|
|
157
|
+
readonly properties: {
|
|
158
|
+
readonly instance_id: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly description: "UUID of the cache instance (from list_instances)";
|
|
161
|
+
};
|
|
162
|
+
readonly key: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
readonly description: "Cache key to inspect";
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly required: readonly ["instance_id", "key"];
|
|
168
|
+
};
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "cache_keys";
|
|
171
|
+
readonly description: string;
|
|
172
|
+
readonly inputSchema: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly properties: {
|
|
175
|
+
readonly instance_id: {
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
};
|
|
178
|
+
readonly pattern: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly description: "Glob pattern (default: *)";
|
|
181
|
+
};
|
|
182
|
+
readonly count: {
|
|
183
|
+
readonly type: "number";
|
|
184
|
+
readonly description: "Max keys to return (default: 50, max: 500)";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
readonly required: readonly ["instance_id"];
|
|
188
|
+
};
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "cache_stats";
|
|
191
|
+
readonly description: string;
|
|
192
|
+
readonly inputSchema: {
|
|
193
|
+
readonly type: "object";
|
|
194
|
+
readonly properties: {
|
|
195
|
+
readonly instance_id: {
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly description: "UUID of the cache instance (from list_instances)";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
readonly required: readonly ["instance_id"];
|
|
201
|
+
};
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "semantic_search";
|
|
204
|
+
readonly description: string;
|
|
205
|
+
readonly inputSchema: {
|
|
206
|
+
readonly type: "object";
|
|
207
|
+
readonly properties: {
|
|
208
|
+
readonly instance_id: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly description: "UUID of the cache instance (from list_instances)";
|
|
211
|
+
};
|
|
212
|
+
readonly query: {
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
readonly description: "Natural-language query to find similar cached content";
|
|
215
|
+
};
|
|
216
|
+
readonly threshold: {
|
|
217
|
+
readonly type: "number";
|
|
218
|
+
readonly description: "Minimum cosine similarity 0–1 (default: 0.82). Lower = broader matches.";
|
|
219
|
+
};
|
|
220
|
+
readonly namespace: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly description: "Semantic namespace to search in (default: cachly:sem)";
|
|
223
|
+
};
|
|
224
|
+
readonly top_k: {
|
|
225
|
+
readonly type: "number";
|
|
226
|
+
readonly description: "Maximum number of results to return (default: 5)";
|
|
227
|
+
};
|
|
228
|
+
readonly use_hybrid: {
|
|
229
|
+
readonly type: "boolean";
|
|
230
|
+
readonly description: string;
|
|
231
|
+
};
|
|
232
|
+
readonly auto_namespace: {
|
|
233
|
+
readonly type: "boolean";
|
|
234
|
+
readonly description: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
readonly required: readonly ["instance_id", "query"];
|
|
238
|
+
};
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "detect_namespace";
|
|
241
|
+
readonly description: string;
|
|
242
|
+
readonly inputSchema: {
|
|
243
|
+
readonly type: "object";
|
|
244
|
+
readonly properties: {
|
|
245
|
+
readonly prompt: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly description: "The text prompt to classify into a semantic namespace";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly required: readonly ["prompt"];
|
|
251
|
+
};
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "cache_warmup";
|
|
254
|
+
readonly description: string;
|
|
255
|
+
readonly inputSchema: {
|
|
256
|
+
readonly type: "object";
|
|
257
|
+
readonly properties: {
|
|
258
|
+
readonly instance_id: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly description: "UUID of the cache instance";
|
|
261
|
+
};
|
|
262
|
+
readonly entries: {
|
|
263
|
+
readonly type: "array";
|
|
264
|
+
readonly description: "List of prompt/value pairs to pre-warm into the cache";
|
|
265
|
+
readonly items: {
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
readonly properties: {
|
|
268
|
+
readonly prompt: {
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly description: "The query or question to cache";
|
|
271
|
+
};
|
|
272
|
+
readonly value: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly description: "The answer or response to store for this prompt";
|
|
275
|
+
};
|
|
276
|
+
readonly namespace: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly description: "Optional per-entry namespace override";
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
readonly required: readonly ["prompt", "value"];
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly namespace: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
readonly description: "Default namespace for all entries (default: cachly:sem)";
|
|
287
|
+
};
|
|
288
|
+
readonly ttl: {
|
|
289
|
+
readonly type: "number";
|
|
290
|
+
readonly description: "Time-to-live in seconds for warmed entries (omit for no expiry)";
|
|
291
|
+
};
|
|
292
|
+
readonly auto_namespace: {
|
|
293
|
+
readonly type: "boolean";
|
|
294
|
+
readonly description: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly required: readonly ["instance_id", "entries"];
|
|
298
|
+
};
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "index_project";
|
|
301
|
+
readonly description: string;
|
|
302
|
+
readonly inputSchema: {
|
|
303
|
+
readonly type: "object";
|
|
304
|
+
readonly properties: {
|
|
305
|
+
readonly instance_id: {
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
readonly description: "UUID of the cachly instance";
|
|
308
|
+
};
|
|
309
|
+
readonly dir: {
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
readonly description: "Absolute path to the directory to index (e.g. /Users/you/myproject/src)";
|
|
312
|
+
};
|
|
313
|
+
readonly extensions: {
|
|
314
|
+
readonly type: "array";
|
|
315
|
+
readonly items: {
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
};
|
|
318
|
+
readonly description: "File extensions to include (default: [\"ts\",\"js\",\"go\",\"py\",\"java\",\"rs\",\"md\",\"kt\",\"swift\"])";
|
|
319
|
+
};
|
|
320
|
+
readonly max_files: {
|
|
321
|
+
readonly type: "number";
|
|
322
|
+
readonly description: "Maximum number of files to index (default: 100)";
|
|
323
|
+
};
|
|
324
|
+
readonly ttl: {
|
|
325
|
+
readonly type: "number";
|
|
326
|
+
readonly description: "TTL in seconds for indexed entries (default: 86400 = 24 h)";
|
|
327
|
+
};
|
|
328
|
+
readonly summary_chars: {
|
|
329
|
+
readonly type: "number";
|
|
330
|
+
readonly description: "Characters to use as summary per file (default: 1200)";
|
|
331
|
+
};
|
|
332
|
+
readonly namespace: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
readonly description: "Semantic namespace to store under (default: cachly:sem:code)";
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
readonly required: readonly ["instance_id", "dir"];
|
|
338
|
+
};
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "cache_mset";
|
|
341
|
+
readonly description: string;
|
|
342
|
+
readonly inputSchema: {
|
|
343
|
+
readonly type: "object";
|
|
344
|
+
readonly properties: {
|
|
345
|
+
readonly instance_id: {
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
readonly description: "UUID of the cache instance";
|
|
348
|
+
};
|
|
349
|
+
readonly items: {
|
|
350
|
+
readonly type: "array";
|
|
351
|
+
readonly description: "Key-value pairs to set";
|
|
352
|
+
readonly items: {
|
|
353
|
+
readonly type: "object";
|
|
354
|
+
readonly properties: {
|
|
355
|
+
readonly key: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
readonly description: "Cache key";
|
|
358
|
+
};
|
|
359
|
+
readonly value: {
|
|
360
|
+
readonly description: "Value to store (JSON-serialised)";
|
|
361
|
+
};
|
|
362
|
+
readonly ttl: {
|
|
363
|
+
readonly type: "number";
|
|
364
|
+
readonly description: "Per-key TTL in seconds (optional)";
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
readonly required: readonly ["key", "value"];
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
readonly required: readonly ["instance_id", "items"];
|
|
372
|
+
};
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "cache_mget";
|
|
375
|
+
readonly description: string;
|
|
376
|
+
readonly inputSchema: {
|
|
377
|
+
readonly type: "object";
|
|
378
|
+
readonly properties: {
|
|
379
|
+
readonly instance_id: {
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
readonly description: "UUID of the cache instance";
|
|
382
|
+
};
|
|
383
|
+
readonly keys: {
|
|
384
|
+
readonly type: "array";
|
|
385
|
+
readonly items: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
};
|
|
388
|
+
readonly description: "List of keys to fetch";
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
readonly required: readonly ["instance_id", "keys"];
|
|
392
|
+
};
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "cache_lock_acquire";
|
|
395
|
+
readonly description: string;
|
|
396
|
+
readonly inputSchema: {
|
|
397
|
+
readonly type: "object";
|
|
398
|
+
readonly properties: {
|
|
399
|
+
readonly instance_id: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
readonly description: "UUID of the cache instance";
|
|
402
|
+
};
|
|
403
|
+
readonly key: {
|
|
404
|
+
readonly type: "string";
|
|
405
|
+
readonly description: "Lock resource identifier";
|
|
406
|
+
};
|
|
407
|
+
readonly ttl_ms: {
|
|
408
|
+
readonly type: "number";
|
|
409
|
+
readonly description: "Safety TTL in milliseconds (e.g. 5000)";
|
|
410
|
+
};
|
|
411
|
+
readonly retries: {
|
|
412
|
+
readonly type: "number";
|
|
413
|
+
readonly description: "Max acquire attempts (default: 3)";
|
|
414
|
+
};
|
|
415
|
+
readonly retry_delay_ms: {
|
|
416
|
+
readonly type: "number";
|
|
417
|
+
readonly description: "Milliseconds between retries (default: 50)";
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly required: readonly ["instance_id", "key", "ttl_ms"];
|
|
421
|
+
};
|
|
422
|
+
}, {
|
|
423
|
+
readonly name: "cache_lock_release";
|
|
424
|
+
readonly description: string;
|
|
425
|
+
readonly inputSchema: {
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly properties: {
|
|
428
|
+
readonly instance_id: {
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
readonly description: "UUID of the cache instance";
|
|
431
|
+
};
|
|
432
|
+
readonly key: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly description: "Lock resource identifier (same as in cache_lock_acquire)";
|
|
435
|
+
};
|
|
436
|
+
readonly token: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly description: "Fencing token returned by cache_lock_acquire";
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly required: readonly ["instance_id", "key", "token"];
|
|
442
|
+
};
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "get_api_status";
|
|
445
|
+
readonly description: string;
|
|
446
|
+
readonly inputSchema: {
|
|
447
|
+
readonly type: "object";
|
|
448
|
+
readonly properties: {};
|
|
449
|
+
readonly required: readonly [];
|
|
450
|
+
};
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "remember_context";
|
|
453
|
+
readonly description: string;
|
|
454
|
+
readonly inputSchema: {
|
|
455
|
+
readonly type: "object";
|
|
456
|
+
readonly properties: {
|
|
457
|
+
readonly instance_id: {
|
|
458
|
+
readonly type: "string";
|
|
459
|
+
readonly description: "UUID of the cache instance";
|
|
460
|
+
};
|
|
461
|
+
readonly key: {
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
readonly description: "Descriptive key like \"project_overview\", \"auth_architecture\", \"file:src/index.ts\"";
|
|
464
|
+
};
|
|
465
|
+
readonly content: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly description: "The context/summary/analysis to remember";
|
|
468
|
+
};
|
|
469
|
+
readonly category: {
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
readonly enum: readonly ["overview", "architecture", "file_summary", "dependency", "thinking", "custom"];
|
|
472
|
+
readonly description: "Category for organization (default: custom)";
|
|
473
|
+
};
|
|
474
|
+
readonly ttl: {
|
|
475
|
+
readonly type: "number";
|
|
476
|
+
readonly description: "Time-to-live in seconds (default: 86400 = 24h, use 0 for no expiry)";
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
readonly required: readonly ["instance_id", "key", "content"];
|
|
480
|
+
};
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "recall_context";
|
|
483
|
+
readonly description: string;
|
|
484
|
+
readonly inputSchema: {
|
|
485
|
+
readonly type: "object";
|
|
486
|
+
readonly properties: {
|
|
487
|
+
readonly instance_id: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
readonly description: "UUID of the cache instance";
|
|
490
|
+
};
|
|
491
|
+
readonly key: {
|
|
492
|
+
readonly type: "string";
|
|
493
|
+
readonly description: "The key to look up (supports glob pattern like \"file:*\")";
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
readonly required: readonly ["instance_id", "key"];
|
|
497
|
+
};
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "list_remembered";
|
|
500
|
+
readonly description: string;
|
|
501
|
+
readonly inputSchema: {
|
|
502
|
+
readonly type: "object";
|
|
503
|
+
readonly properties: {
|
|
504
|
+
readonly instance_id: {
|
|
505
|
+
readonly type: "string";
|
|
506
|
+
readonly description: "UUID of the cache instance";
|
|
507
|
+
};
|
|
508
|
+
readonly category: {
|
|
509
|
+
readonly type: "string";
|
|
510
|
+
readonly enum: readonly ["overview", "architecture", "file_summary", "dependency", "thinking", "custom", "all"];
|
|
511
|
+
readonly description: "Filter by category (default: all)";
|
|
512
|
+
};
|
|
513
|
+
readonly limit: {
|
|
514
|
+
readonly type: "number";
|
|
515
|
+
readonly description: "Max entries to return (default: 50)";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly required: readonly ["instance_id"];
|
|
519
|
+
};
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "forget_context";
|
|
522
|
+
readonly description: string;
|
|
523
|
+
readonly inputSchema: {
|
|
524
|
+
readonly type: "object";
|
|
525
|
+
readonly properties: {
|
|
526
|
+
readonly instance_id: {
|
|
527
|
+
readonly type: "string";
|
|
528
|
+
readonly description: "UUID of the cache instance";
|
|
529
|
+
};
|
|
530
|
+
readonly keys: {
|
|
531
|
+
readonly type: "array";
|
|
532
|
+
readonly items: {
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
};
|
|
535
|
+
readonly description: "Keys to delete (supports glob)";
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly required: readonly ["instance_id", "keys"];
|
|
539
|
+
};
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "learn_from_attempts";
|
|
542
|
+
readonly description: string;
|
|
543
|
+
readonly inputSchema: {
|
|
544
|
+
readonly type: "object";
|
|
545
|
+
readonly properties: {
|
|
546
|
+
readonly instance_id: {
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
readonly description: "UUID of the cache instance";
|
|
549
|
+
};
|
|
550
|
+
readonly topic: {
|
|
551
|
+
readonly type: "string";
|
|
552
|
+
readonly description: "Short slug, e.g. \"deploy:web\", \"debug:redis-tls\", \"fix:generate-series\"";
|
|
553
|
+
};
|
|
554
|
+
readonly outcome: {
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
readonly enum: readonly ["success", "failure", "partial"];
|
|
557
|
+
readonly description: "Did it work?";
|
|
558
|
+
};
|
|
559
|
+
readonly what_worked: {
|
|
560
|
+
readonly type: "string";
|
|
561
|
+
readonly description: "What solved the problem or what approach succeeded";
|
|
562
|
+
};
|
|
563
|
+
readonly what_failed: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
readonly description: "What did NOT work (optional but valuable)";
|
|
566
|
+
};
|
|
567
|
+
readonly context: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
readonly description: "Additional context, error messages, root cause (optional)";
|
|
570
|
+
};
|
|
571
|
+
readonly severity: {
|
|
572
|
+
readonly type: "string";
|
|
573
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
574
|
+
readonly description: "Impact severity: critical (blocks work/deploy), major (significant slowdown), minor (nice to know). Default: major.";
|
|
575
|
+
};
|
|
576
|
+
readonly file_paths: {
|
|
577
|
+
readonly type: "array";
|
|
578
|
+
readonly items: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
};
|
|
581
|
+
readonly description: "Files involved in this lesson (e.g. [\"infra/deploy.sh\", \".env\"])";
|
|
582
|
+
};
|
|
583
|
+
readonly commands: {
|
|
584
|
+
readonly type: "array";
|
|
585
|
+
readonly items: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
};
|
|
588
|
+
readonly description: "Commands that worked or failed (e.g. [\"rsync -avz ...\", \"docker compose up -d\"])";
|
|
589
|
+
};
|
|
590
|
+
readonly tags: {
|
|
591
|
+
readonly type: "array";
|
|
592
|
+
readonly items: {
|
|
593
|
+
readonly type: "string";
|
|
594
|
+
};
|
|
595
|
+
readonly description: "Topic tags for filtering (e.g. [\"bash\", \"deploy\", \"env\"])";
|
|
596
|
+
};
|
|
597
|
+
readonly depends_on: {
|
|
598
|
+
readonly type: "array";
|
|
599
|
+
readonly items: {
|
|
600
|
+
readonly type: "string";
|
|
601
|
+
};
|
|
602
|
+
readonly description: "Prerequisites this lesson depends on (e.g. [\"node:>=20\", \"docker:running\", \"wireguard:active\"]). When a dependency is marked stale, all dependent lessons get needs_review.";
|
|
603
|
+
};
|
|
604
|
+
readonly author: {
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly description: "Name or handle of the person storing this lesson (e.g. \"alice\", \"bob\"). Used for Team Telepathy — teammates see each other's lessons in session_start.";
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
readonly required: readonly ["instance_id", "topic", "outcome", "what_worked"];
|
|
610
|
+
};
|
|
611
|
+
}, {
|
|
612
|
+
readonly name: "recall_best_solution";
|
|
613
|
+
readonly description: string;
|
|
614
|
+
readonly inputSchema: {
|
|
615
|
+
readonly type: "object";
|
|
616
|
+
readonly properties: {
|
|
617
|
+
readonly instance_id: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly description: "UUID of the cache instance";
|
|
620
|
+
};
|
|
621
|
+
readonly topic: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly description: "Topic slug to look up, e.g. \"deploy:web\". Supports partial match.";
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly required: readonly ["instance_id", "topic"];
|
|
627
|
+
};
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "smart_recall";
|
|
630
|
+
readonly description: string;
|
|
631
|
+
readonly inputSchema: {
|
|
632
|
+
readonly type: "object";
|
|
633
|
+
readonly properties: {
|
|
634
|
+
readonly instance_id: {
|
|
635
|
+
readonly type: "string";
|
|
636
|
+
readonly description: "UUID of the cache instance";
|
|
637
|
+
};
|
|
638
|
+
readonly query: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly description: "Natural language query to find relevant cached context";
|
|
641
|
+
};
|
|
642
|
+
readonly threshold: {
|
|
643
|
+
readonly type: "number";
|
|
644
|
+
readonly description: "Similarity threshold 0-1 (default: 0.78)";
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
readonly required: readonly ["instance_id", "query"];
|
|
648
|
+
};
|
|
649
|
+
}, {
|
|
650
|
+
readonly name: "session_start";
|
|
651
|
+
readonly description: string;
|
|
652
|
+
readonly inputSchema: {
|
|
653
|
+
readonly type: "object";
|
|
654
|
+
readonly properties: {
|
|
655
|
+
readonly instance_id: {
|
|
656
|
+
readonly type: "string";
|
|
657
|
+
readonly description: "UUID of the cache instance";
|
|
658
|
+
};
|
|
659
|
+
readonly focus: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly description: "Keywords for what you plan to work on today (e.g. \"deploy infra api\"). Used to surface relevant lessons at the top.";
|
|
662
|
+
};
|
|
663
|
+
readonly author: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
readonly description: "Your name or handle (e.g. \"alice\"). Enables Team Telepathy — filters YOUR lessons vs TEAM lessons from past 7 days.";
|
|
666
|
+
};
|
|
667
|
+
readonly provider: {
|
|
668
|
+
readonly type: "string";
|
|
669
|
+
readonly description: "Current AI provider (e.g. \"claude-code\", \"copilot\", \"cursor\", \"windsurf\"). Shown in the briefing header and saved so the next provider can see who was last active.";
|
|
670
|
+
};
|
|
671
|
+
readonly workspace_path: {
|
|
672
|
+
readonly type: "string";
|
|
673
|
+
readonly description: "Absolute path to the project root. If no session_end was found (e.g. context limit hit), reads git log to reconstruct what happened since last session.";
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
readonly required: readonly ["instance_id"];
|
|
677
|
+
};
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "session_end";
|
|
680
|
+
readonly description: string;
|
|
681
|
+
readonly inputSchema: {
|
|
682
|
+
readonly type: "object";
|
|
683
|
+
readonly properties: {
|
|
684
|
+
readonly instance_id: {
|
|
685
|
+
readonly type: "string";
|
|
686
|
+
readonly description: "UUID of the cache instance";
|
|
687
|
+
};
|
|
688
|
+
readonly summary: {
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
readonly description: "Brief summary of what was accomplished this session (2-3 sentences)";
|
|
691
|
+
};
|
|
692
|
+
readonly files_changed: {
|
|
693
|
+
readonly type: "array";
|
|
694
|
+
readonly items: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
};
|
|
697
|
+
readonly description: "Key files changed this session (optional)";
|
|
698
|
+
};
|
|
699
|
+
readonly lessons_learned: {
|
|
700
|
+
readonly type: "number";
|
|
701
|
+
readonly description: "Number of new lessons stored this session (optional)";
|
|
702
|
+
};
|
|
703
|
+
readonly workspace_path: {
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
readonly description: "Absolute path to the project root (e.g. \"/Users/you/myproject\"). Enables Ambient Learning — reads git log since session start and auto-learns from commit messages.";
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
readonly required: readonly ["instance_id", "summary"];
|
|
709
|
+
};
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "session_handoff";
|
|
712
|
+
readonly description: string;
|
|
713
|
+
readonly inputSchema: {
|
|
714
|
+
readonly type: "object";
|
|
715
|
+
readonly properties: {
|
|
716
|
+
readonly instance_id: {
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
readonly description: "UUID of the cache instance";
|
|
719
|
+
};
|
|
720
|
+
readonly completed_tasks: {
|
|
721
|
+
readonly type: "array";
|
|
722
|
+
readonly items: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
};
|
|
725
|
+
readonly description: "Tasks that were fully completed (e.g. \"Implemented brainSearch() in JS SDK\")";
|
|
726
|
+
};
|
|
727
|
+
readonly remaining_tasks: {
|
|
728
|
+
readonly type: "array";
|
|
729
|
+
readonly items: {
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
};
|
|
732
|
+
readonly description: "Tasks NOT yet done — the next window MUST pick these up";
|
|
733
|
+
};
|
|
734
|
+
readonly files_changed: {
|
|
735
|
+
readonly type: "array";
|
|
736
|
+
readonly items: {
|
|
737
|
+
readonly type: "object";
|
|
738
|
+
readonly properties: {
|
|
739
|
+
readonly path: {
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
readonly description: "File path relative to project root";
|
|
742
|
+
};
|
|
743
|
+
readonly status: {
|
|
744
|
+
readonly type: "string";
|
|
745
|
+
readonly enum: readonly ["complete", "partial", "broken"];
|
|
746
|
+
readonly description: "State of this file";
|
|
747
|
+
};
|
|
748
|
+
readonly description: {
|
|
749
|
+
readonly type: "string";
|
|
750
|
+
readonly description: "What was changed and what still needs work";
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly required: readonly ["path", "status"];
|
|
754
|
+
};
|
|
755
|
+
readonly description: "Changed files with their current state — marks partial/broken files so next window knows to fix them";
|
|
756
|
+
};
|
|
757
|
+
readonly instructions: {
|
|
758
|
+
readonly type: "string";
|
|
759
|
+
readonly description: "Free-form instructions for the next assistant. Be specific: what to do next, what to avoid, what broke.";
|
|
760
|
+
};
|
|
761
|
+
readonly context_summary: {
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
readonly description: "Brief summary of what happened this session (architecture decisions, key findings, blockers)";
|
|
764
|
+
};
|
|
765
|
+
readonly blocked_on: {
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
readonly description: "If work is blocked, describe what is needed to unblock (e.g. \"waiting for API deploy\", \"needs user input on design\")";
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
readonly required: readonly ["instance_id", "completed_tasks", "remaining_tasks"];
|
|
771
|
+
};
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "session_ping";
|
|
774
|
+
readonly description: string;
|
|
775
|
+
readonly inputSchema: {
|
|
776
|
+
readonly type: "object";
|
|
777
|
+
readonly properties: {
|
|
778
|
+
readonly instance_id: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
readonly description: "UUID of the cache instance";
|
|
781
|
+
};
|
|
782
|
+
readonly task: {
|
|
783
|
+
readonly type: "string";
|
|
784
|
+
readonly description: "What you are currently working on (e.g. \"Implementing invite handler in handler/invite.go\")";
|
|
785
|
+
};
|
|
786
|
+
readonly files_touched: {
|
|
787
|
+
readonly type: "array";
|
|
788
|
+
readonly items: {
|
|
789
|
+
readonly type: "string";
|
|
790
|
+
};
|
|
791
|
+
readonly description: "Files modified so far this session";
|
|
792
|
+
};
|
|
793
|
+
readonly next_step: {
|
|
794
|
+
readonly type: "string";
|
|
795
|
+
readonly description: "What the NEXT step is after this checkpoint (helps next provider resume immediately)";
|
|
796
|
+
};
|
|
797
|
+
readonly provider: {
|
|
798
|
+
readonly type: "string";
|
|
799
|
+
readonly description: "Current AI provider (e.g. \"claude-code\", \"copilot\", \"cursor\", \"windsurf\")";
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
readonly required: readonly ["instance_id", "task"];
|
|
803
|
+
};
|
|
804
|
+
}, {
|
|
805
|
+
readonly name: "auto_learn_session";
|
|
806
|
+
readonly description: string;
|
|
807
|
+
readonly inputSchema: {
|
|
808
|
+
readonly type: "object";
|
|
809
|
+
readonly properties: {
|
|
810
|
+
readonly instance_id: {
|
|
811
|
+
readonly type: "string";
|
|
812
|
+
readonly description: "UUID of the cache instance";
|
|
813
|
+
};
|
|
814
|
+
readonly observations: {
|
|
815
|
+
readonly type: "array";
|
|
816
|
+
readonly description: "List of observations from this session";
|
|
817
|
+
readonly items: {
|
|
818
|
+
readonly type: "object";
|
|
819
|
+
readonly properties: {
|
|
820
|
+
readonly action: {
|
|
821
|
+
readonly type: "string";
|
|
822
|
+
readonly description: "What was tried (command, approach, code change)";
|
|
823
|
+
};
|
|
824
|
+
readonly outcome: {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly enum: readonly ["success", "failure", "partial"];
|
|
827
|
+
readonly description: "Result";
|
|
828
|
+
};
|
|
829
|
+
readonly details: {
|
|
830
|
+
readonly type: "string";
|
|
831
|
+
readonly description: "Error message, output, or explanation";
|
|
832
|
+
};
|
|
833
|
+
readonly topic: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
readonly description: "Optional topic key (auto-generated if omitted)";
|
|
836
|
+
};
|
|
837
|
+
readonly severity: {
|
|
838
|
+
readonly type: "string";
|
|
839
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
840
|
+
readonly description: "Severity (default: minor)";
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
readonly required: readonly ["action", "outcome"];
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
readonly required: readonly ["instance_id", "observations"];
|
|
848
|
+
};
|
|
849
|
+
}, {
|
|
850
|
+
readonly name: "sync_file_changes";
|
|
851
|
+
readonly description: string;
|
|
852
|
+
readonly inputSchema: {
|
|
853
|
+
readonly type: "object";
|
|
854
|
+
readonly properties: {
|
|
855
|
+
readonly instance_id: {
|
|
856
|
+
readonly type: "string";
|
|
857
|
+
readonly description: "UUID of the cache instance";
|
|
858
|
+
};
|
|
859
|
+
readonly changed_files: {
|
|
860
|
+
readonly type: "array";
|
|
861
|
+
readonly items: {
|
|
862
|
+
readonly type: "string";
|
|
863
|
+
};
|
|
864
|
+
readonly description: "List of changed file paths";
|
|
865
|
+
};
|
|
866
|
+
readonly git_diff_stat: {
|
|
867
|
+
readonly type: "string";
|
|
868
|
+
readonly description: "Output of `git diff --stat` (optional)";
|
|
869
|
+
};
|
|
870
|
+
readonly commit_msg: {
|
|
871
|
+
readonly type: "string";
|
|
872
|
+
readonly description: "Commit message (optional)";
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
readonly required: readonly ["instance_id", "changed_files"];
|
|
876
|
+
};
|
|
877
|
+
}, {
|
|
878
|
+
readonly name: "team_learn";
|
|
879
|
+
readonly description: string;
|
|
880
|
+
readonly inputSchema: {
|
|
881
|
+
readonly type: "object";
|
|
882
|
+
readonly properties: {
|
|
883
|
+
readonly instance_id: {
|
|
884
|
+
readonly type: "string";
|
|
885
|
+
readonly description: "UUID of the shared team brain instance";
|
|
886
|
+
};
|
|
887
|
+
readonly author: {
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly description: "Your name or handle (required for team attribution)";
|
|
890
|
+
};
|
|
891
|
+
readonly topic: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "Topic in category:keyword format (e.g. \"deploy:api\")";
|
|
894
|
+
};
|
|
895
|
+
readonly outcome: {
|
|
896
|
+
readonly type: "string";
|
|
897
|
+
readonly enum: readonly ["success", "failure", "partial"];
|
|
898
|
+
readonly description: "What happened";
|
|
899
|
+
};
|
|
900
|
+
readonly what_worked: {
|
|
901
|
+
readonly type: "string";
|
|
902
|
+
readonly description: "What worked (the solution)";
|
|
903
|
+
};
|
|
904
|
+
readonly what_failed: {
|
|
905
|
+
readonly type: "string";
|
|
906
|
+
readonly description: "What did NOT work (avoid this)";
|
|
907
|
+
};
|
|
908
|
+
readonly severity: {
|
|
909
|
+
readonly type: "string";
|
|
910
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
911
|
+
readonly description: "Impact level";
|
|
912
|
+
};
|
|
913
|
+
readonly file_paths: {
|
|
914
|
+
readonly type: "array";
|
|
915
|
+
readonly items: {
|
|
916
|
+
readonly type: "string";
|
|
917
|
+
};
|
|
918
|
+
readonly description: "Relevant file paths";
|
|
919
|
+
};
|
|
920
|
+
readonly commands: {
|
|
921
|
+
readonly type: "array";
|
|
922
|
+
readonly items: {
|
|
923
|
+
readonly type: "string";
|
|
924
|
+
};
|
|
925
|
+
readonly description: "Commands that worked";
|
|
926
|
+
};
|
|
927
|
+
readonly tags: {
|
|
928
|
+
readonly type: "array";
|
|
929
|
+
readonly items: {
|
|
930
|
+
readonly type: "string";
|
|
931
|
+
};
|
|
932
|
+
readonly description: "Tags for categorization";
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
readonly required: readonly ["instance_id", "author", "topic", "outcome", "what_worked"];
|
|
936
|
+
};
|
|
937
|
+
}, {
|
|
938
|
+
readonly name: "team_recall";
|
|
939
|
+
readonly description: string;
|
|
940
|
+
readonly inputSchema: {
|
|
941
|
+
readonly type: "object";
|
|
942
|
+
readonly properties: {
|
|
943
|
+
readonly instance_id: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly description: "UUID of the shared team brain instance";
|
|
946
|
+
};
|
|
947
|
+
readonly topic: {
|
|
948
|
+
readonly type: "string";
|
|
949
|
+
readonly description: "Topic or keyword to filter lessons (optional)";
|
|
950
|
+
};
|
|
951
|
+
readonly author: {
|
|
952
|
+
readonly type: "string";
|
|
953
|
+
readonly description: "Filter by author name (optional)";
|
|
954
|
+
};
|
|
955
|
+
readonly limit: {
|
|
956
|
+
readonly type: "number";
|
|
957
|
+
readonly description: "Max lessons to return (default: 10)";
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
readonly required: readonly ["instance_id"];
|
|
961
|
+
};
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "team_synthesize";
|
|
964
|
+
readonly description: string;
|
|
965
|
+
readonly inputSchema: {
|
|
966
|
+
readonly type: "object";
|
|
967
|
+
readonly properties: {
|
|
968
|
+
readonly instance_id: {
|
|
969
|
+
readonly type: "string";
|
|
970
|
+
readonly description: "UUID of the shared team brain instance";
|
|
971
|
+
};
|
|
972
|
+
readonly topic: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
readonly description: "Topic slug to synthesize (e.g. \"deploy:api\")";
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly required: readonly ["instance_id", "topic"];
|
|
978
|
+
};
|
|
979
|
+
}, {
|
|
980
|
+
readonly name: "memory_crystalize";
|
|
981
|
+
readonly description: string;
|
|
982
|
+
readonly inputSchema: {
|
|
983
|
+
readonly type: "object";
|
|
984
|
+
readonly properties: {
|
|
985
|
+
readonly instance_id: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
readonly description: "UUID of the cache instance";
|
|
988
|
+
};
|
|
989
|
+
readonly label: {
|
|
990
|
+
readonly type: "string";
|
|
991
|
+
readonly description: "Optional label for this crystal (e.g. \"Q1 2026\", \"v2 launch\"). Auto-generated from date if omitted.";
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
readonly required: readonly ["instance_id"];
|
|
995
|
+
};
|
|
996
|
+
}, {
|
|
997
|
+
readonly name: "roadmap_add";
|
|
998
|
+
readonly description: string;
|
|
999
|
+
readonly inputSchema: {
|
|
1000
|
+
readonly type: "object";
|
|
1001
|
+
readonly properties: {
|
|
1002
|
+
readonly instance_id: {
|
|
1003
|
+
readonly type: "string";
|
|
1004
|
+
readonly description: "UUID of the cache instance";
|
|
1005
|
+
};
|
|
1006
|
+
readonly title: {
|
|
1007
|
+
readonly type: "string";
|
|
1008
|
+
readonly description: "Short title of the task/feature (3–10 words)";
|
|
1009
|
+
};
|
|
1010
|
+
readonly description: {
|
|
1011
|
+
readonly type: "string";
|
|
1012
|
+
readonly description: "What needs to be done, acceptance criteria, context";
|
|
1013
|
+
};
|
|
1014
|
+
readonly priority: {
|
|
1015
|
+
readonly type: "string";
|
|
1016
|
+
readonly enum: readonly ["critical", "high", "medium", "low"];
|
|
1017
|
+
readonly description: "Priority level (default: medium)";
|
|
1018
|
+
};
|
|
1019
|
+
readonly tags: {
|
|
1020
|
+
readonly type: "array";
|
|
1021
|
+
readonly items: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
};
|
|
1024
|
+
readonly description: "Tags for filtering (e.g. [\"api\", \"web\", \"sdk\", \"infra\"])";
|
|
1025
|
+
};
|
|
1026
|
+
readonly milestone: {
|
|
1027
|
+
readonly type: "string";
|
|
1028
|
+
readonly description: "Milestone/epic this belongs to (optional)";
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
readonly required: readonly ["instance_id", "title"];
|
|
1032
|
+
};
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly name: "roadmap_update";
|
|
1035
|
+
readonly description: string;
|
|
1036
|
+
readonly inputSchema: {
|
|
1037
|
+
readonly type: "object";
|
|
1038
|
+
readonly properties: {
|
|
1039
|
+
readonly instance_id: {
|
|
1040
|
+
readonly type: "string";
|
|
1041
|
+
readonly description: "UUID of the cache instance";
|
|
1042
|
+
};
|
|
1043
|
+
readonly id: {
|
|
1044
|
+
readonly type: "string";
|
|
1045
|
+
readonly description: "Item ID returned by roadmap_add or roadmap_list";
|
|
1046
|
+
};
|
|
1047
|
+
readonly status: {
|
|
1048
|
+
readonly type: "string";
|
|
1049
|
+
readonly enum: readonly ["planned", "in-progress", "done", "blocked", "cancelled"];
|
|
1050
|
+
readonly description: "New status for the item";
|
|
1051
|
+
};
|
|
1052
|
+
readonly priority: {
|
|
1053
|
+
readonly type: "string";
|
|
1054
|
+
readonly enum: readonly ["critical", "high", "medium", "low"];
|
|
1055
|
+
readonly description: "Updated priority (optional)";
|
|
1056
|
+
};
|
|
1057
|
+
readonly notes: {
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
readonly description: "Progress notes, findings, or blockers (appended to existing notes)";
|
|
1060
|
+
};
|
|
1061
|
+
readonly title: {
|
|
1062
|
+
readonly type: "string";
|
|
1063
|
+
readonly description: "Updated title (optional)";
|
|
1064
|
+
};
|
|
1065
|
+
readonly description: {
|
|
1066
|
+
readonly type: "string";
|
|
1067
|
+
readonly description: "Updated description (optional)";
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
readonly required: readonly ["instance_id", "id"];
|
|
1071
|
+
};
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly name: "roadmap_list";
|
|
1074
|
+
readonly description: string;
|
|
1075
|
+
readonly inputSchema: {
|
|
1076
|
+
readonly type: "object";
|
|
1077
|
+
readonly properties: {
|
|
1078
|
+
readonly instance_id: {
|
|
1079
|
+
readonly type: "string";
|
|
1080
|
+
readonly description: "UUID of the cache instance";
|
|
1081
|
+
};
|
|
1082
|
+
readonly status: {
|
|
1083
|
+
readonly type: "string";
|
|
1084
|
+
readonly enum: readonly ["planned", "in-progress", "done", "blocked", "cancelled", "open"];
|
|
1085
|
+
readonly description: "Filter by status. Use 'open' to see planned+in-progress+blocked (default: open)";
|
|
1086
|
+
};
|
|
1087
|
+
readonly tag: {
|
|
1088
|
+
readonly type: "string";
|
|
1089
|
+
readonly description: "Filter by tag (optional)";
|
|
1090
|
+
};
|
|
1091
|
+
readonly milestone: {
|
|
1092
|
+
readonly type: "string";
|
|
1093
|
+
readonly description: "Filter by milestone (optional)";
|
|
1094
|
+
};
|
|
1095
|
+
readonly priority: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
readonly enum: readonly ["critical", "high", "medium", "low"];
|
|
1098
|
+
readonly description: "Filter by minimum priority (optional)";
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly required: readonly ["instance_id"];
|
|
1102
|
+
};
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly name: "roadmap_next";
|
|
1105
|
+
readonly description: string;
|
|
1106
|
+
readonly inputSchema: {
|
|
1107
|
+
readonly type: "object";
|
|
1108
|
+
readonly properties: {
|
|
1109
|
+
readonly instance_id: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
readonly description: "UUID of the cache instance";
|
|
1112
|
+
};
|
|
1113
|
+
readonly tag: {
|
|
1114
|
+
readonly type: "string";
|
|
1115
|
+
readonly description: "Filter by tag (optional)";
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
readonly required: readonly ["instance_id"];
|
|
1119
|
+
};
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly name: "brain_doctor";
|
|
1122
|
+
readonly description: string;
|
|
1123
|
+
readonly inputSchema: {
|
|
1124
|
+
readonly type: "object";
|
|
1125
|
+
readonly properties: {
|
|
1126
|
+
readonly instance_id: {
|
|
1127
|
+
readonly type: "string";
|
|
1128
|
+
readonly description: "UUID of the cache instance";
|
|
1129
|
+
};
|
|
1130
|
+
readonly workspace_path: {
|
|
1131
|
+
readonly type: "string";
|
|
1132
|
+
readonly description: "Absolute path to workspace root — enables package.json analysis for openclaw cross-promo (optional)";
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
readonly required: readonly ["instance_id"];
|
|
1136
|
+
};
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly name: "global_learn";
|
|
1139
|
+
readonly description: string;
|
|
1140
|
+
readonly inputSchema: {
|
|
1141
|
+
readonly type: "object";
|
|
1142
|
+
readonly properties: {
|
|
1143
|
+
readonly instance_id: {
|
|
1144
|
+
readonly type: "string";
|
|
1145
|
+
readonly description: "UUID of the cache instance (used for connection)";
|
|
1146
|
+
};
|
|
1147
|
+
readonly topic: {
|
|
1148
|
+
readonly type: "string";
|
|
1149
|
+
readonly description: "Topic key in format \"category:keyword\"";
|
|
1150
|
+
};
|
|
1151
|
+
readonly lesson: {
|
|
1152
|
+
readonly type: "string";
|
|
1153
|
+
readonly description: "The lesson content";
|
|
1154
|
+
};
|
|
1155
|
+
readonly severity: {
|
|
1156
|
+
readonly type: "string";
|
|
1157
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
1158
|
+
readonly description: "Severity (default: minor)";
|
|
1159
|
+
};
|
|
1160
|
+
readonly tags: {
|
|
1161
|
+
readonly type: "array";
|
|
1162
|
+
readonly items: {
|
|
1163
|
+
readonly type: "string";
|
|
1164
|
+
};
|
|
1165
|
+
readonly description: "Optional tags";
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
readonly required: readonly ["instance_id", "topic", "lesson"];
|
|
1169
|
+
};
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly name: "global_recall";
|
|
1172
|
+
readonly description: string;
|
|
1173
|
+
readonly inputSchema: {
|
|
1174
|
+
readonly type: "object";
|
|
1175
|
+
readonly properties: {
|
|
1176
|
+
readonly instance_id: {
|
|
1177
|
+
readonly type: "string";
|
|
1178
|
+
readonly description: "UUID of the cache instance (used for connection)";
|
|
1179
|
+
};
|
|
1180
|
+
readonly topic: {
|
|
1181
|
+
readonly type: "string";
|
|
1182
|
+
readonly description: "Topic or keyword filter (optional)";
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
readonly required: readonly ["instance_id"];
|
|
1186
|
+
};
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly name: "publish_lesson";
|
|
1189
|
+
readonly description: string;
|
|
1190
|
+
readonly inputSchema: {
|
|
1191
|
+
readonly type: "object";
|
|
1192
|
+
readonly properties: {
|
|
1193
|
+
readonly instance_id: {
|
|
1194
|
+
readonly type: "string";
|
|
1195
|
+
readonly description: "UUID of the cache instance";
|
|
1196
|
+
};
|
|
1197
|
+
readonly topic: {
|
|
1198
|
+
readonly type: "string";
|
|
1199
|
+
readonly description: "Topic key (used as public category)";
|
|
1200
|
+
};
|
|
1201
|
+
readonly lesson: {
|
|
1202
|
+
readonly type: "string";
|
|
1203
|
+
readonly description: "Lesson to publish (PII will be stripped)";
|
|
1204
|
+
};
|
|
1205
|
+
readonly framework: {
|
|
1206
|
+
readonly type: "string";
|
|
1207
|
+
readonly description: "Framework/platform tag (nextjs, fastapi, go, docker, etc.)";
|
|
1208
|
+
};
|
|
1209
|
+
readonly severity: {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
1212
|
+
readonly description: "Severity";
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
readonly required: readonly ["instance_id", "topic", "lesson"];
|
|
1216
|
+
};
|
|
1217
|
+
}, {
|
|
1218
|
+
readonly name: "import_public_brain";
|
|
1219
|
+
readonly description: string;
|
|
1220
|
+
readonly inputSchema: {
|
|
1221
|
+
readonly type: "object";
|
|
1222
|
+
readonly properties: {
|
|
1223
|
+
readonly instance_id: {
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
readonly description: "UUID of the cache instance to import into";
|
|
1226
|
+
};
|
|
1227
|
+
readonly framework: {
|
|
1228
|
+
readonly type: "string";
|
|
1229
|
+
readonly description: "Framework/platform to import lessons for";
|
|
1230
|
+
};
|
|
1231
|
+
readonly limit: {
|
|
1232
|
+
readonly type: "number";
|
|
1233
|
+
readonly description: "Max lessons to import (default: 20)";
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
readonly required: readonly ["instance_id", "framework"];
|
|
1237
|
+
};
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly name: "recall_at";
|
|
1240
|
+
readonly description: string;
|
|
1241
|
+
readonly inputSchema: {
|
|
1242
|
+
readonly type: "object";
|
|
1243
|
+
readonly properties: {
|
|
1244
|
+
readonly instance_id: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
readonly description: "UUID of the cache instance";
|
|
1247
|
+
};
|
|
1248
|
+
readonly topic: {
|
|
1249
|
+
readonly type: "string";
|
|
1250
|
+
readonly description: "Topic slug to look up, e.g. \"deploy:api\"";
|
|
1251
|
+
};
|
|
1252
|
+
readonly date: {
|
|
1253
|
+
readonly type: "string";
|
|
1254
|
+
readonly description: "ISO date string (e.g. \"2026-01-15\") — returns entries stored BEFORE this date";
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
readonly required: readonly ["instance_id", "topic", "date"];
|
|
1258
|
+
};
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly name: "trace_dependency";
|
|
1261
|
+
readonly description: string;
|
|
1262
|
+
readonly inputSchema: {
|
|
1263
|
+
readonly type: "object";
|
|
1264
|
+
readonly properties: {
|
|
1265
|
+
readonly instance_id: {
|
|
1266
|
+
readonly type: "string";
|
|
1267
|
+
readonly description: "UUID of the cache instance";
|
|
1268
|
+
};
|
|
1269
|
+
readonly dependency: {
|
|
1270
|
+
readonly type: "string";
|
|
1271
|
+
readonly description: "Dependency to trace (e.g. \"node:>=20\", \"docker:running\", \"wireguard:active\")";
|
|
1272
|
+
};
|
|
1273
|
+
readonly mark_review: {
|
|
1274
|
+
readonly type: "boolean";
|
|
1275
|
+
readonly description: "If true, marks all dependent lessons as needs_review (default: false)";
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
readonly required: readonly ["instance_id", "dependency"];
|
|
1279
|
+
};
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly name: "list_orgs";
|
|
1282
|
+
readonly description: string;
|
|
1283
|
+
readonly inputSchema: {
|
|
1284
|
+
readonly type: "object";
|
|
1285
|
+
readonly properties: {};
|
|
1286
|
+
readonly required: readonly [];
|
|
1287
|
+
};
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly name: "create_org";
|
|
1290
|
+
readonly description: string;
|
|
1291
|
+
readonly inputSchema: {
|
|
1292
|
+
readonly type: "object";
|
|
1293
|
+
readonly properties: {
|
|
1294
|
+
readonly name: {
|
|
1295
|
+
readonly type: "string";
|
|
1296
|
+
readonly description: "Organization display name (e.g. \"Acme Engineering\")";
|
|
1297
|
+
};
|
|
1298
|
+
readonly slug: {
|
|
1299
|
+
readonly type: "string";
|
|
1300
|
+
readonly description: "URL-safe slug (e.g. \"acme-eng\"). Auto-generated from name if omitted.";
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
readonly required: readonly ["name"];
|
|
1304
|
+
};
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly name: "invite_member";
|
|
1307
|
+
readonly description: string;
|
|
1308
|
+
readonly inputSchema: {
|
|
1309
|
+
readonly type: "object";
|
|
1310
|
+
readonly properties: {
|
|
1311
|
+
readonly org_id: {
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
readonly description: "UUID of the organization";
|
|
1314
|
+
};
|
|
1315
|
+
readonly email: {
|
|
1316
|
+
readonly type: "string";
|
|
1317
|
+
readonly description: "Email address to invite";
|
|
1318
|
+
};
|
|
1319
|
+
readonly role: {
|
|
1320
|
+
readonly type: "string";
|
|
1321
|
+
readonly enum: readonly ["admin", "member"];
|
|
1322
|
+
readonly description: "Role for the invited member (default: member)";
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
readonly required: readonly ["org_id", "email"];
|
|
1326
|
+
};
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly name: "get_org_plan";
|
|
1329
|
+
readonly description: string;
|
|
1330
|
+
readonly inputSchema: {
|
|
1331
|
+
readonly type: "object";
|
|
1332
|
+
readonly properties: {
|
|
1333
|
+
readonly org_id: {
|
|
1334
|
+
readonly type: "string";
|
|
1335
|
+
readonly description: "UUID of the organization";
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly required: readonly ["org_id"];
|
|
1339
|
+
};
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly name: "setup_ai_memory";
|
|
1342
|
+
readonly description: string;
|
|
1343
|
+
readonly inputSchema: {
|
|
1344
|
+
readonly type: "object";
|
|
1345
|
+
readonly properties: {
|
|
1346
|
+
readonly instance_id: {
|
|
1347
|
+
readonly type: "string";
|
|
1348
|
+
readonly description: "UUID of the cachly instance to use as the AI brain";
|
|
1349
|
+
};
|
|
1350
|
+
readonly project_dir: {
|
|
1351
|
+
readonly type: "string";
|
|
1352
|
+
readonly description: string;
|
|
1353
|
+
};
|
|
1354
|
+
readonly embed_provider: {
|
|
1355
|
+
readonly type: "string";
|
|
1356
|
+
readonly enum: readonly ["openai", "mistral", "cohere", "ollama", "gemini"];
|
|
1357
|
+
readonly description: string;
|
|
1358
|
+
};
|
|
1359
|
+
readonly project_description: {
|
|
1360
|
+
readonly type: "string";
|
|
1361
|
+
readonly description: "Short description of the project (used in the generated instructions)";
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
readonly required: readonly ["instance_id"];
|
|
1365
|
+
};
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly name: "cache_stream_set";
|
|
1368
|
+
readonly description: string;
|
|
1369
|
+
readonly inputSchema: {
|
|
1370
|
+
readonly type: "object";
|
|
1371
|
+
readonly properties: {
|
|
1372
|
+
readonly instance_id: {
|
|
1373
|
+
readonly type: "string";
|
|
1374
|
+
readonly description: "UUID of the cache instance";
|
|
1375
|
+
};
|
|
1376
|
+
readonly key: {
|
|
1377
|
+
readonly type: "string";
|
|
1378
|
+
readonly description: "Cache key";
|
|
1379
|
+
};
|
|
1380
|
+
readonly chunks: {
|
|
1381
|
+
readonly type: "array";
|
|
1382
|
+
readonly items: {
|
|
1383
|
+
readonly type: "string";
|
|
1384
|
+
};
|
|
1385
|
+
readonly description: "Ordered list of string chunks";
|
|
1386
|
+
};
|
|
1387
|
+
readonly ttl: {
|
|
1388
|
+
readonly type: "number";
|
|
1389
|
+
readonly description: "TTL in seconds for the stored list (optional)";
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
readonly required: readonly ["instance_id", "key", "chunks"];
|
|
1393
|
+
};
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly name: "cache_stream_get";
|
|
1396
|
+
readonly description: string;
|
|
1397
|
+
readonly inputSchema: {
|
|
1398
|
+
readonly type: "object";
|
|
1399
|
+
readonly properties: {
|
|
1400
|
+
readonly instance_id: {
|
|
1401
|
+
readonly type: "string";
|
|
1402
|
+
readonly description: "UUID of the cache instance";
|
|
1403
|
+
};
|
|
1404
|
+
readonly key: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly description: "Cache key";
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
readonly required: readonly ["instance_id", "key"];
|
|
1410
|
+
};
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly name: "memory_consolidate";
|
|
1413
|
+
readonly description: string;
|
|
1414
|
+
readonly inputSchema: {
|
|
1415
|
+
readonly type: "object";
|
|
1416
|
+
readonly properties: {
|
|
1417
|
+
readonly instance_id: {
|
|
1418
|
+
readonly type: "string";
|
|
1419
|
+
readonly description: "UUID of the cache instance";
|
|
1420
|
+
};
|
|
1421
|
+
readonly dry_run: {
|
|
1422
|
+
readonly type: "boolean";
|
|
1423
|
+
readonly description: "If true, report what would change without writing (default: false)";
|
|
1424
|
+
};
|
|
1425
|
+
readonly stale_days: {
|
|
1426
|
+
readonly type: "number";
|
|
1427
|
+
readonly description: "Lessons not recalled in this many days are flagged stale (default: 90)";
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
readonly required: readonly ["instance_id"];
|
|
1431
|
+
};
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly name: "brain_diff";
|
|
1434
|
+
readonly description: string;
|
|
1435
|
+
readonly inputSchema: {
|
|
1436
|
+
readonly type: "object";
|
|
1437
|
+
readonly properties: {
|
|
1438
|
+
readonly instance_id: {
|
|
1439
|
+
readonly type: "string";
|
|
1440
|
+
readonly description: "UUID of the cache instance";
|
|
1441
|
+
};
|
|
1442
|
+
readonly since: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
readonly description: "Time window: \"1d\", \"7d\", \"30d\", or ISO-8601 date (default: \"7d\")";
|
|
1445
|
+
};
|
|
1446
|
+
readonly format: {
|
|
1447
|
+
readonly type: "string";
|
|
1448
|
+
readonly enum: readonly ["summary", "detailed"];
|
|
1449
|
+
readonly description: "Output format (default: summary)";
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
readonly required: readonly ["instance_id"];
|
|
1453
|
+
};
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly name: "causal_trace";
|
|
1456
|
+
readonly description: string;
|
|
1457
|
+
readonly inputSchema: {
|
|
1458
|
+
readonly type: "object";
|
|
1459
|
+
readonly properties: {
|
|
1460
|
+
readonly instance_id: {
|
|
1461
|
+
readonly type: "string";
|
|
1462
|
+
readonly description: "UUID of the cache instance";
|
|
1463
|
+
};
|
|
1464
|
+
readonly problem: {
|
|
1465
|
+
readonly type: "string";
|
|
1466
|
+
readonly description: "Describe the problem or error you are seeing right now";
|
|
1467
|
+
};
|
|
1468
|
+
readonly max_depth: {
|
|
1469
|
+
readonly type: "number";
|
|
1470
|
+
readonly description: "Max causal chain depth to trace (default: 5)";
|
|
1471
|
+
};
|
|
1472
|
+
readonly tags: {
|
|
1473
|
+
readonly type: "array";
|
|
1474
|
+
readonly items: {
|
|
1475
|
+
readonly type: "string";
|
|
1476
|
+
};
|
|
1477
|
+
readonly description: "Optional: narrow search to these tags";
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
readonly required: readonly ["instance_id", "problem"];
|
|
1481
|
+
};
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly name: "knowledge_decay";
|
|
1484
|
+
readonly description: string;
|
|
1485
|
+
readonly inputSchema: {
|
|
1486
|
+
readonly type: "object";
|
|
1487
|
+
readonly properties: {
|
|
1488
|
+
readonly instance_id: {
|
|
1489
|
+
readonly type: "string";
|
|
1490
|
+
readonly description: "UUID of the cache instance";
|
|
1491
|
+
};
|
|
1492
|
+
readonly min_age_days: {
|
|
1493
|
+
readonly type: "number";
|
|
1494
|
+
readonly description: "Only include lessons older than N days (default: 0 = all)";
|
|
1495
|
+
};
|
|
1496
|
+
readonly show_top: {
|
|
1497
|
+
readonly type: "number";
|
|
1498
|
+
readonly description: "Number of entries to return, sorted by lowest confidence first (default: 20)";
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
readonly required: readonly ["instance_id"];
|
|
1502
|
+
};
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly name: "autopilot";
|
|
1505
|
+
readonly description: string;
|
|
1506
|
+
readonly inputSchema: {
|
|
1507
|
+
readonly type: "object";
|
|
1508
|
+
readonly properties: {
|
|
1509
|
+
readonly instance_id: {
|
|
1510
|
+
readonly type: "string";
|
|
1511
|
+
readonly description: "UUID of the cache instance";
|
|
1512
|
+
};
|
|
1513
|
+
readonly editor: {
|
|
1514
|
+
readonly type: "string";
|
|
1515
|
+
readonly enum: readonly ["claude", "cursor", "copilot", "windsurf", "gemini", "continue", "all"];
|
|
1516
|
+
readonly description: "Target editor (default: claude)";
|
|
1517
|
+
};
|
|
1518
|
+
readonly project_name: {
|
|
1519
|
+
readonly type: "string";
|
|
1520
|
+
readonly description: "Your project name (used in generated instructions)";
|
|
1521
|
+
};
|
|
1522
|
+
readonly style: {
|
|
1523
|
+
readonly type: "string";
|
|
1524
|
+
readonly enum: readonly ["minimal", "full"];
|
|
1525
|
+
readonly description: "minimal = just the hooks, full = full ruleset with examples (default: full)";
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
readonly required: readonly ["instance_id"];
|
|
1529
|
+
};
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly name: "syndicate";
|
|
1532
|
+
readonly description: string;
|
|
1533
|
+
readonly inputSchema: {
|
|
1534
|
+
readonly type: "object";
|
|
1535
|
+
readonly properties: {
|
|
1536
|
+
readonly topic: {
|
|
1537
|
+
readonly type: "string";
|
|
1538
|
+
readonly description: "Topic key in category:keyword format (e.g. \"fix:clickhouse-ipv6\", \"deploy:docker-compose\")";
|
|
1539
|
+
};
|
|
1540
|
+
readonly outcome: {
|
|
1541
|
+
readonly type: "string";
|
|
1542
|
+
readonly enum: readonly ["success", "failure", "partial"];
|
|
1543
|
+
readonly description: "Result of the attempt (default: success)";
|
|
1544
|
+
};
|
|
1545
|
+
readonly what_worked: {
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
readonly description: "Exact approach, command, or fix that worked. File paths are stripped automatically.";
|
|
1548
|
+
};
|
|
1549
|
+
readonly what_failed: {
|
|
1550
|
+
readonly type: "string";
|
|
1551
|
+
readonly description: "What failed or was wrong — helps others avoid the same trap.";
|
|
1552
|
+
};
|
|
1553
|
+
readonly severity: {
|
|
1554
|
+
readonly type: "string";
|
|
1555
|
+
readonly enum: readonly ["critical", "major", "minor"];
|
|
1556
|
+
readonly description: "How severe the issue was (default: minor)";
|
|
1557
|
+
};
|
|
1558
|
+
readonly tags: {
|
|
1559
|
+
readonly type: "array";
|
|
1560
|
+
readonly items: {
|
|
1561
|
+
readonly type: "string";
|
|
1562
|
+
};
|
|
1563
|
+
readonly description: "Up to 10 keywords for better discoverability";
|
|
1564
|
+
};
|
|
1565
|
+
readonly scope: {
|
|
1566
|
+
readonly type: "string";
|
|
1567
|
+
readonly enum: readonly ["public", "org"];
|
|
1568
|
+
readonly description: "Visibility: \"public\" = global commons (default), \"org\" = private to your org only";
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
readonly required: readonly ["topic", "what_worked"];
|
|
1572
|
+
};
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly name: "syndicate_search";
|
|
1575
|
+
readonly description: string;
|
|
1576
|
+
readonly inputSchema: {
|
|
1577
|
+
readonly type: "object";
|
|
1578
|
+
readonly properties: {
|
|
1579
|
+
readonly q: {
|
|
1580
|
+
readonly type: "string";
|
|
1581
|
+
readonly description: "Free-text search query (leave empty for most recent lessons)";
|
|
1582
|
+
};
|
|
1583
|
+
readonly category: {
|
|
1584
|
+
readonly type: "string";
|
|
1585
|
+
readonly description: "Filter by category prefix: \"fix\", \"deploy\", \"debug\", \"infra\", \"api\", \"web\"";
|
|
1586
|
+
};
|
|
1587
|
+
readonly scope: {
|
|
1588
|
+
readonly type: "string";
|
|
1589
|
+
readonly enum: readonly ["public", "org"];
|
|
1590
|
+
readonly description: "\"public\" = global commons (default), \"org\" = public + your org-private lessons";
|
|
1591
|
+
};
|
|
1592
|
+
readonly limit: {
|
|
1593
|
+
readonly type: "number";
|
|
1594
|
+
readonly description: "Max results to return (default: 20, max: 50)";
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
readonly required: readonly [];
|
|
1598
|
+
};
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly name: "syndicate_stats";
|
|
1601
|
+
readonly description: string;
|
|
1602
|
+
readonly inputSchema: {
|
|
1603
|
+
readonly type: "object";
|
|
1604
|
+
readonly properties: {};
|
|
1605
|
+
readonly required: readonly [];
|
|
1606
|
+
};
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly name: "syndicate_trending";
|
|
1609
|
+
readonly description: string;
|
|
1610
|
+
readonly inputSchema: {
|
|
1611
|
+
readonly type: "object";
|
|
1612
|
+
readonly properties: {
|
|
1613
|
+
readonly limit: {
|
|
1614
|
+
readonly type: "number";
|
|
1615
|
+
readonly description: "Max results (default: 10, max: 50)";
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1618
|
+
readonly required: readonly [];
|
|
1619
|
+
};
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly name: "brain_search";
|
|
1622
|
+
readonly description: string;
|
|
1623
|
+
readonly inputSchema: {
|
|
1624
|
+
readonly type: "object";
|
|
1625
|
+
readonly properties: {
|
|
1626
|
+
readonly instance_id: {
|
|
1627
|
+
readonly type: "string";
|
|
1628
|
+
readonly description: "Brain instance ID";
|
|
1629
|
+
};
|
|
1630
|
+
readonly query: {
|
|
1631
|
+
readonly type: "string";
|
|
1632
|
+
readonly description: "What to search for";
|
|
1633
|
+
};
|
|
1634
|
+
readonly limit: {
|
|
1635
|
+
readonly type: "number";
|
|
1636
|
+
readonly description: "Max results (default: 15)";
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
readonly required: readonly ["instance_id", "query"];
|
|
1640
|
+
};
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly name: "ckg_inspect";
|
|
1643
|
+
readonly description: string;
|
|
1644
|
+
readonly inputSchema: {
|
|
1645
|
+
readonly type: "object";
|
|
1646
|
+
readonly properties: {
|
|
1647
|
+
readonly instance_id: {
|
|
1648
|
+
readonly type: "string";
|
|
1649
|
+
readonly description: "Brain instance ID";
|
|
1650
|
+
};
|
|
1651
|
+
readonly concept: {
|
|
1652
|
+
readonly type: "string";
|
|
1653
|
+
readonly description: "Concept to inspect, e.g. \"fix:clickhouse-ipv6\" or \"docker\"";
|
|
1654
|
+
};
|
|
1655
|
+
readonly max_hops: {
|
|
1656
|
+
readonly type: "number";
|
|
1657
|
+
readonly description: "Traversal depth (default: 2)";
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
readonly required: readonly ["instance_id", "concept"];
|
|
1661
|
+
};
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly name: "brain_predict";
|
|
1664
|
+
readonly description: string;
|
|
1665
|
+
readonly inputSchema: {
|
|
1666
|
+
readonly type: "object";
|
|
1667
|
+
readonly properties: {
|
|
1668
|
+
readonly instance_id: {
|
|
1669
|
+
readonly type: "string";
|
|
1670
|
+
readonly description: "Brain instance ID";
|
|
1671
|
+
};
|
|
1672
|
+
readonly context: {
|
|
1673
|
+
readonly type: "string";
|
|
1674
|
+
readonly description: "What you're working on, e.g. \"upgrading Keycloak from 21 to 24\"";
|
|
1675
|
+
};
|
|
1676
|
+
readonly top_k: {
|
|
1677
|
+
readonly type: "number";
|
|
1678
|
+
readonly description: "Max predictions to return (default: 5)";
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
readonly required: readonly ["instance_id", "context"];
|
|
1682
|
+
};
|
|
1683
|
+
}, {
|
|
1684
|
+
readonly name: "madc_deliberate";
|
|
1685
|
+
readonly description: string;
|
|
1686
|
+
readonly inputSchema: {
|
|
1687
|
+
readonly type: "object";
|
|
1688
|
+
readonly properties: {
|
|
1689
|
+
readonly instance_id: {
|
|
1690
|
+
readonly type: "string";
|
|
1691
|
+
readonly description: "Brain instance ID";
|
|
1692
|
+
};
|
|
1693
|
+
readonly topic: {
|
|
1694
|
+
readonly type: "string";
|
|
1695
|
+
readonly description: "Topic to deliberate, e.g. \"fix:jwks-rotation\"";
|
|
1696
|
+
};
|
|
1697
|
+
readonly context: {
|
|
1698
|
+
readonly type: "string";
|
|
1699
|
+
readonly description: "Optional context for the deliberation";
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
readonly required: readonly ["instance_id", "topic"];
|
|
1703
|
+
};
|
|
1704
|
+
}, {
|
|
1705
|
+
readonly name: "cls_ingest";
|
|
1706
|
+
readonly description: string;
|
|
1707
|
+
readonly inputSchema: {
|
|
1708
|
+
readonly type: "object";
|
|
1709
|
+
readonly properties: {
|
|
1710
|
+
readonly instance_id: {
|
|
1711
|
+
readonly type: "string";
|
|
1712
|
+
readonly description: "Brain instance ID";
|
|
1713
|
+
};
|
|
1714
|
+
readonly source: {
|
|
1715
|
+
readonly type: "string";
|
|
1716
|
+
readonly enum: readonly ["git_commit", "ci_outcome", "ide_diagnostic"];
|
|
1717
|
+
readonly description: "Event source type";
|
|
1718
|
+
};
|
|
1719
|
+
readonly payload: {
|
|
1720
|
+
readonly type: "object";
|
|
1721
|
+
readonly description: string;
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
readonly required: readonly ["instance_id", "source", "payload"];
|
|
1725
|
+
};
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly name: "cls_install_hooks";
|
|
1728
|
+
readonly description: string;
|
|
1729
|
+
readonly inputSchema: {
|
|
1730
|
+
readonly type: "object";
|
|
1731
|
+
readonly properties: {
|
|
1732
|
+
readonly instance_id: {
|
|
1733
|
+
readonly type: "string";
|
|
1734
|
+
readonly description: "Brain instance ID";
|
|
1735
|
+
};
|
|
1736
|
+
readonly repo_path: {
|
|
1737
|
+
readonly type: "string";
|
|
1738
|
+
readonly description: "Path to repo root (default: current dir)";
|
|
1739
|
+
};
|
|
1740
|
+
readonly hooks: {
|
|
1741
|
+
readonly type: "array";
|
|
1742
|
+
readonly items: {
|
|
1743
|
+
readonly type: "string";
|
|
1744
|
+
readonly enum: readonly ["git", "ci"];
|
|
1745
|
+
};
|
|
1746
|
+
readonly description: "Which hooks to output (default: [\"git\", \"ci\"])";
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly required: readonly ["instance_id"];
|
|
1750
|
+
};
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly name: "fedbrain_contribute";
|
|
1753
|
+
readonly description: string;
|
|
1754
|
+
readonly inputSchema: {
|
|
1755
|
+
readonly type: "object";
|
|
1756
|
+
readonly properties: {
|
|
1757
|
+
readonly instance_id: {
|
|
1758
|
+
readonly type: "string";
|
|
1759
|
+
readonly description: "Brain instance ID";
|
|
1760
|
+
};
|
|
1761
|
+
readonly lesson_key: {
|
|
1762
|
+
readonly type: "string";
|
|
1763
|
+
readonly description: "Topic key to contribute, e.g. \"fix:clickhouse-ipv6\"";
|
|
1764
|
+
};
|
|
1765
|
+
readonly visibility: {
|
|
1766
|
+
readonly type: "string";
|
|
1767
|
+
readonly enum: readonly ["public", "org_private"];
|
|
1768
|
+
readonly description: "Visibility (default: public)";
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
readonly required: readonly ["instance_id", "lesson_key"];
|
|
1772
|
+
};
|
|
1773
|
+
}, {
|
|
1774
|
+
readonly name: "fedbrain_search";
|
|
1775
|
+
readonly description: string;
|
|
1776
|
+
readonly inputSchema: {
|
|
1777
|
+
readonly type: "object";
|
|
1778
|
+
readonly properties: {
|
|
1779
|
+
readonly instance_id: {
|
|
1780
|
+
readonly type: "string";
|
|
1781
|
+
readonly description: "Brain instance ID";
|
|
1782
|
+
};
|
|
1783
|
+
readonly query: {
|
|
1784
|
+
readonly type: "string";
|
|
1785
|
+
readonly description: "What to search for";
|
|
1786
|
+
};
|
|
1787
|
+
readonly context_hints: {
|
|
1788
|
+
readonly type: "array";
|
|
1789
|
+
readonly items: {
|
|
1790
|
+
readonly type: "string";
|
|
1791
|
+
};
|
|
1792
|
+
readonly description: "Your tech stack, e.g. [\"go\", \"kubernetes\", \"postgres\"]";
|
|
1793
|
+
};
|
|
1794
|
+
readonly limit: {
|
|
1795
|
+
readonly type: "number";
|
|
1796
|
+
readonly description: "Max results (default: 10)";
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
readonly required: readonly ["instance_id", "query"];
|
|
1800
|
+
};
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly name: "fedbrain_confirm";
|
|
1803
|
+
readonly description: string;
|
|
1804
|
+
readonly inputSchema: {
|
|
1805
|
+
readonly type: "object";
|
|
1806
|
+
readonly properties: {
|
|
1807
|
+
readonly instance_id: {
|
|
1808
|
+
readonly type: "string";
|
|
1809
|
+
readonly description: "Brain instance ID";
|
|
1810
|
+
};
|
|
1811
|
+
readonly topic: {
|
|
1812
|
+
readonly type: "string";
|
|
1813
|
+
readonly description: "Topic of the lesson to confirm";
|
|
1814
|
+
};
|
|
1815
|
+
readonly outcome: {
|
|
1816
|
+
readonly type: "string";
|
|
1817
|
+
readonly enum: readonly ["worked", "partially_worked", "did_not_work"];
|
|
1818
|
+
readonly description: "Did the lesson work for you?";
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
readonly required: readonly ["instance_id", "topic", "outcome"];
|
|
1822
|
+
};
|
|
1823
|
+
}, {
|
|
1824
|
+
readonly name: "fedbrain_status";
|
|
1825
|
+
readonly description: string;
|
|
1826
|
+
readonly inputSchema: {
|
|
1827
|
+
readonly type: "object";
|
|
1828
|
+
readonly properties: {
|
|
1829
|
+
readonly instance_id: {
|
|
1830
|
+
readonly type: "string";
|
|
1831
|
+
readonly description: "Brain instance ID";
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
readonly required: readonly ["instance_id"];
|
|
1835
|
+
};
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly name: "brain_federate";
|
|
1838
|
+
readonly description: string;
|
|
1839
|
+
readonly inputSchema: {
|
|
1840
|
+
readonly type: "object";
|
|
1841
|
+
readonly properties: {
|
|
1842
|
+
readonly instance_id: {
|
|
1843
|
+
readonly type: "string";
|
|
1844
|
+
readonly description: "Your brain instance ID (destination)";
|
|
1845
|
+
};
|
|
1846
|
+
readonly source: {
|
|
1847
|
+
readonly type: "string";
|
|
1848
|
+
readonly description: "Source brain instance ID to federate from";
|
|
1849
|
+
};
|
|
1850
|
+
readonly domain: {
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
readonly description: "Domain to transfer, e.g. \"billing\", \"auth\", \"deploy\", \"infra\". Use \"*\" for all domains.";
|
|
1853
|
+
};
|
|
1854
|
+
readonly min_confidence: {
|
|
1855
|
+
readonly type: "number";
|
|
1856
|
+
readonly description: "Minimum edge confidence to transfer (default: 0.6)";
|
|
1857
|
+
};
|
|
1858
|
+
readonly dry_run: {
|
|
1859
|
+
readonly type: "boolean";
|
|
1860
|
+
readonly description: "Preview what would be transferred without writing (default: false)";
|
|
1861
|
+
};
|
|
1862
|
+
};
|
|
1863
|
+
readonly required: readonly ["instance_id", "source", "domain"];
|
|
1864
|
+
};
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly name: "crystal_view";
|
|
1867
|
+
readonly description: string;
|
|
1868
|
+
readonly inputSchema: {
|
|
1869
|
+
readonly type: "object";
|
|
1870
|
+
readonly properties: {
|
|
1871
|
+
readonly instance_id: {
|
|
1872
|
+
readonly type: "string";
|
|
1873
|
+
readonly description: "Brain instance ID";
|
|
1874
|
+
};
|
|
1875
|
+
readonly show_raw: {
|
|
1876
|
+
readonly type: "boolean";
|
|
1877
|
+
readonly description: "Include raw JSON crystal data (default: false)";
|
|
1878
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
readonly required: readonly ["instance_id"];
|
|
1881
|
+
};
|
|
1882
|
+
}, {
|
|
1883
|
+
readonly name: "compact_recover";
|
|
1884
|
+
readonly description: string;
|
|
1885
|
+
readonly inputSchema: {
|
|
1886
|
+
readonly type: "object";
|
|
1887
|
+
readonly properties: {
|
|
1888
|
+
readonly instance_id: {
|
|
1889
|
+
readonly type: "string";
|
|
1890
|
+
readonly description: "Brain instance ID";
|
|
1891
|
+
};
|
|
1892
|
+
readonly focus: {
|
|
1893
|
+
readonly type: "string";
|
|
1894
|
+
readonly description: "What you were working on (helps filter relevant context)";
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
readonly required: readonly ["instance_id"];
|
|
1898
|
+
};
|
|
1899
|
+
}, {
|
|
1900
|
+
readonly name: "brain_from_git";
|
|
1901
|
+
readonly description: string;
|
|
1902
|
+
readonly inputSchema: {
|
|
1903
|
+
readonly type: "object";
|
|
1904
|
+
readonly properties: {
|
|
1905
|
+
readonly instance_id: {
|
|
1906
|
+
readonly type: "string";
|
|
1907
|
+
readonly description: "Brain instance ID";
|
|
1908
|
+
};
|
|
1909
|
+
readonly repo_path: {
|
|
1910
|
+
readonly type: "string";
|
|
1911
|
+
readonly description: "Path to git repository (default: current directory)";
|
|
1912
|
+
};
|
|
1913
|
+
readonly limit: {
|
|
1914
|
+
readonly type: "number";
|
|
1915
|
+
readonly description: "Max commits to process (default: 100, max: 500)";
|
|
1916
|
+
};
|
|
1917
|
+
readonly branch: {
|
|
1918
|
+
readonly type: "string";
|
|
1919
|
+
readonly description: "Git branch to parse (default: current branch / HEAD)";
|
|
1920
|
+
};
|
|
1921
|
+
readonly since: {
|
|
1922
|
+
readonly type: "string";
|
|
1923
|
+
readonly description: "Only commits after this date, e.g. \"2024-01-01\" (optional)";
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
readonly required: readonly ["instance_id"];
|
|
1927
|
+
};
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly name: "brain_predict_failures";
|
|
1930
|
+
readonly description: string;
|
|
1931
|
+
readonly inputSchema: {
|
|
1932
|
+
readonly type: "object";
|
|
1933
|
+
readonly properties: {
|
|
1934
|
+
readonly instance_id: {
|
|
1935
|
+
readonly type: "string";
|
|
1936
|
+
readonly description: "Brain instance ID";
|
|
1937
|
+
};
|
|
1938
|
+
readonly context: {
|
|
1939
|
+
readonly type: "string";
|
|
1940
|
+
readonly description: "What you are about to do, e.g. \"upgrading Keycloak 21 to 24\"";
|
|
1941
|
+
};
|
|
1942
|
+
readonly top_k: {
|
|
1943
|
+
readonly type: "number";
|
|
1944
|
+
readonly description: "Number of failure predictions to return (default: 5)";
|
|
1945
|
+
};
|
|
1946
|
+
readonly format: {
|
|
1947
|
+
readonly type: "string";
|
|
1948
|
+
readonly enum: readonly ["brief", "detailed"];
|
|
1949
|
+
readonly description: "Output format (default: detailed)";
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
readonly required: readonly ["instance_id", "context"];
|
|
1953
|
+
};
|
|
1954
|
+
}];
|
|
1955
|
+
export { TOOLS };
|