@brain-protocol/mcp 0.6.3 → 0.7.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/README.md +24 -1
- package/dist/auth/device-login.d.ts +11 -0
- package/dist/auth/device-login.d.ts.map +1 -0
- package/dist/auth/device-login.js +123 -0
- package/dist/auth/device-login.js.map +1 -0
- package/dist/cli.d.ts +4 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +13 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -4
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +17 -2
- package/dist/server.js.map +1 -1
- package/dist/store/adapter.d.ts +6 -0
- package/dist/store/adapter.d.ts.map +1 -1
- package/dist/store/cloud.d.ts +12 -0
- package/dist/store/cloud.d.ts.map +1 -1
- package/dist/store/cloud.js +59 -5
- package/dist/store/cloud.js.map +1 -1
- package/dist/tools/brains.d.ts +15 -0
- package/dist/tools/brains.d.ts.map +1 -0
- package/dist/tools/brains.js +23 -0
- package/dist/tools/brains.js.map +1 -0
- package/dist/tools/index.d.ts +101 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +262 -54
- package/dist/tools/index.js.map +1 -1
- package/package.json +1 -1
package/dist/store/cloud.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import { BrainClient, withRetry } from "@brain-protocol/sdk";
|
|
2
|
-
import { CircuitBreaker } from "./circuit-breaker.js";
|
|
2
|
+
import { CircuitBreaker, } from "./circuit-breaker.js";
|
|
3
3
|
export class CloudStore {
|
|
4
4
|
mode = "cloud";
|
|
5
5
|
client;
|
|
6
6
|
breaker;
|
|
7
7
|
retryConfig;
|
|
8
|
+
defaultBrainId = null;
|
|
9
|
+
apiKey;
|
|
8
10
|
constructor(baseUrl, apiKey, options) {
|
|
9
11
|
this.client = new BrainClient({
|
|
10
12
|
baseUrl,
|
|
11
13
|
apiKey,
|
|
12
14
|
});
|
|
15
|
+
this.apiKey = apiKey;
|
|
13
16
|
this.breaker = new CircuitBreaker(options?.circuitBreaker);
|
|
14
17
|
this.retryConfig = options?.retry ?? {};
|
|
15
18
|
}
|
|
19
|
+
/** The personal brain ID resolved during auto-onboarding */
|
|
20
|
+
get personalBrainId() {
|
|
21
|
+
return this.defaultBrainId;
|
|
22
|
+
}
|
|
16
23
|
/** Circuit breaker state for observability */
|
|
17
24
|
get circuitState() {
|
|
18
25
|
return this.breaker.state;
|
|
@@ -29,15 +36,29 @@ export class CloudStore {
|
|
|
29
36
|
}
|
|
30
37
|
// Reset breaker on successful init
|
|
31
38
|
this.breaker.reset();
|
|
39
|
+
// Auto-onboarding: if authenticated, ensure personal brain exists
|
|
40
|
+
if (this.apiKey) {
|
|
41
|
+
try {
|
|
42
|
+
const result = await this.client.onboarding.setup();
|
|
43
|
+
if (result.personal_brain?.id) {
|
|
44
|
+
this.defaultBrainId = result.personal_brain.id;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
// Non-fatal: onboarding may fail for read-only keys or older servers
|
|
49
|
+
}
|
|
50
|
+
}
|
|
32
51
|
}
|
|
33
52
|
async close() {
|
|
34
53
|
// No-op for HTTP client
|
|
35
54
|
}
|
|
36
55
|
async query(options) {
|
|
37
|
-
|
|
56
|
+
const opts = this.withDefaultBrain(options);
|
|
57
|
+
return this.resilient(() => this.client.knowledge.query(opts));
|
|
38
58
|
}
|
|
39
59
|
async create(input) {
|
|
40
|
-
|
|
60
|
+
const data = this.withDefaultBrain(input);
|
|
61
|
+
return this.resilient(() => this.client.knowledge.create(data));
|
|
41
62
|
}
|
|
42
63
|
async getById(id) {
|
|
43
64
|
return this.resilient(() => this.client.knowledge.get(id));
|
|
@@ -47,7 +68,9 @@ export class CloudStore {
|
|
|
47
68
|
return await this.resilient(() => this.client.knowledge.update(id, input));
|
|
48
69
|
}
|
|
49
70
|
catch (err) {
|
|
50
|
-
if (err instanceof Error &&
|
|
71
|
+
if (err instanceof Error &&
|
|
72
|
+
"status" in err &&
|
|
73
|
+
err.status === 404) {
|
|
51
74
|
return null;
|
|
52
75
|
}
|
|
53
76
|
throw err;
|
|
@@ -63,7 +86,19 @@ export class CloudStore {
|
|
|
63
86
|
return this.resilient(() => this.client.graph.traverse(entryId, depth));
|
|
64
87
|
}
|
|
65
88
|
async getStats() {
|
|
66
|
-
|
|
89
|
+
const raw = await this.resilient(() => this.client.stats());
|
|
90
|
+
// API returns { knowledge: { total_entries, total_edges, ... } }
|
|
91
|
+
// Map to StoreStats camelCase shape
|
|
92
|
+
const data = raw;
|
|
93
|
+
const k = (data.knowledge ?? data);
|
|
94
|
+
return {
|
|
95
|
+
totalEntries: (k.total_entries ?? k.totalEntries ?? 0),
|
|
96
|
+
totalEdges: (k.total_edges ?? k.totalEdges ?? 0),
|
|
97
|
+
categories: (k.entries_by_category ?? k.categories ?? {}),
|
|
98
|
+
avgConfidence: (k.avg_confidence ?? k.avgConfidence ?? 0),
|
|
99
|
+
oldestEntry: null,
|
|
100
|
+
newestEntry: (k.latest_entry_at ?? k.newestEntry ?? null),
|
|
101
|
+
};
|
|
67
102
|
}
|
|
68
103
|
async exportAll() {
|
|
69
104
|
const result = await this.resilient(() => this.client.export());
|
|
@@ -178,5 +213,24 @@ export class CloudStore {
|
|
|
178
213
|
async linkProofToEntry(proofEntryId, targetEntryId, edgeType = "validates") {
|
|
179
214
|
return this.resilient(() => this.client.giza.linkProofToEntry(proofEntryId, targetEntryId, edgeType));
|
|
180
215
|
}
|
|
216
|
+
// --- Billing ---
|
|
217
|
+
async getSubscription() {
|
|
218
|
+
return this.resilient(() => this.client.billing.subscription());
|
|
219
|
+
}
|
|
220
|
+
// --- Brain management ---
|
|
221
|
+
async listBrains() {
|
|
222
|
+
return this.resilient(() => this.client.brains.list());
|
|
223
|
+
}
|
|
224
|
+
async createBrain(input) {
|
|
225
|
+
return this.resilient(() => this.client.brains.create(input));
|
|
226
|
+
}
|
|
227
|
+
// --- Helpers ---
|
|
228
|
+
/** Inject defaultBrainId into options if no brain_id is specified */
|
|
229
|
+
withDefaultBrain(options) {
|
|
230
|
+
if (!options.brain_id && this.defaultBrainId) {
|
|
231
|
+
return { ...options, brain_id: this.defaultBrainId };
|
|
232
|
+
}
|
|
233
|
+
return options;
|
|
234
|
+
}
|
|
181
235
|
}
|
|
182
236
|
//# sourceMappingURL=cloud.js.map
|
package/dist/store/cloud.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud.js","sourceRoot":"","sources":["../../src/store/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,
|
|
1
|
+
{"version":3,"file":"cloud.js","sourceRoot":"","sources":["../../src/store/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EACL,cAAc,GAEf,MAAM,sBAAsB,CAAC;AAyB9B,MAAM,OAAO,UAAU;IACZ,IAAI,GAAG,OAAgB,CAAC;IACzB,MAAM,CAAc;IACpB,OAAO,CAAiB;IACxB,WAAW,CAAuB;IAClC,cAAc,GAAkB,IAAI,CAAC;IACrC,MAAM,CAAqB;IAEnC,YAAY,OAAe,EAAE,MAAe,EAAE,OAA2B;QACvE,IAAI,CAAC,MAAM,GAAG,IAAI,WAAW,CAAC;YAC5B,OAAO;YACP,MAAM;SACP,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,IAAI,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC3D,IAAI,CAAC,WAAW,GAAG,OAAO,EAAE,KAAK,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,4DAA4D;IAC5D,IAAI,eAAe;QACjB,OAA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CAAC;IACzD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAGjB;QACC,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,kBAAkB;IAElB,qEAAqE;IAC7D,gBAAgB,CAAkC,OAAU;QAClE,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;YAC7C,OAAO,EAAE,GAAG,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { StoreAdapter } from "../store/adapter.js";
|
|
3
|
+
export declare const createBrainSchema: z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export declare function listBrains(store: StoreAdapter): Promise<unknown>;
|
|
14
|
+
export declare function createBrain(store: StoreAdapter, args: Record<string, unknown>): Promise<unknown>;
|
|
15
|
+
//# sourceMappingURL=brains.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brains.d.ts","sourceRoot":"","sources":["../../src/tools/brains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH,wBAAsB,UAAU,CAAC,KAAK,EAAE,YAAY,oBAQnD;AAED,wBAAsB,WAAW,CAC/B,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,oBAU9B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const createBrainSchema = z.object({
|
|
3
|
+
name: z.string().min(1).max(100),
|
|
4
|
+
description: z.string().max(500).optional(),
|
|
5
|
+
});
|
|
6
|
+
export async function listBrains(store) {
|
|
7
|
+
if (!store.listBrains) {
|
|
8
|
+
return {
|
|
9
|
+
error: "Brain management requires cloud mode. Set BRAIN_API_URL to enable.",
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
return store.listBrains();
|
|
13
|
+
}
|
|
14
|
+
export async function createBrain(store, args) {
|
|
15
|
+
if (!store.createBrain) {
|
|
16
|
+
return {
|
|
17
|
+
error: "Brain management requires cloud mode. Set BRAIN_API_URL to enable.",
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
const input = createBrainSchema.parse(args);
|
|
21
|
+
return store.createBrain(input);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=brains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brains.js","sourceRoot":"","sources":["../../src/tools/brains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAEH,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,KAAmB;IAClD,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;QACtB,OAAO;YACL,KAAK,EACH,oEAAoE;SACvE,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC;AAC5B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,KAAmB,EACnB,IAA6B;IAE7B,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QACvB,OAAO;YACL,KAAK,EACH,oEAAoE;SACvE,CAAC;IACJ,CAAC;IACD,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC5C,OAAO,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAClC,CAAC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export declare const toolDefinitions: ({
|
|
|
88
88
|
graph_depth?: undefined;
|
|
89
89
|
period?: undefined;
|
|
90
90
|
resolution?: undefined;
|
|
91
|
+
name?: undefined;
|
|
91
92
|
};
|
|
92
93
|
required?: undefined;
|
|
93
94
|
};
|
|
@@ -185,6 +186,7 @@ export declare const toolDefinitions: ({
|
|
|
185
186
|
graph_depth?: undefined;
|
|
186
187
|
period?: undefined;
|
|
187
188
|
resolution?: undefined;
|
|
189
|
+
name?: undefined;
|
|
188
190
|
};
|
|
189
191
|
required: string[];
|
|
190
192
|
};
|
|
@@ -285,6 +287,7 @@ export declare const toolDefinitions: ({
|
|
|
285
287
|
graph_depth?: undefined;
|
|
286
288
|
period?: undefined;
|
|
287
289
|
resolution?: undefined;
|
|
290
|
+
name?: undefined;
|
|
288
291
|
};
|
|
289
292
|
required: string[];
|
|
290
293
|
};
|
|
@@ -358,6 +361,7 @@ export declare const toolDefinitions: ({
|
|
|
358
361
|
graph_depth?: undefined;
|
|
359
362
|
period?: undefined;
|
|
360
363
|
resolution?: undefined;
|
|
364
|
+
name?: undefined;
|
|
361
365
|
};
|
|
362
366
|
required: string[];
|
|
363
367
|
};
|
|
@@ -440,6 +444,7 @@ export declare const toolDefinitions: ({
|
|
|
440
444
|
graph_depth?: undefined;
|
|
441
445
|
period?: undefined;
|
|
442
446
|
resolution?: undefined;
|
|
447
|
+
name?: undefined;
|
|
443
448
|
};
|
|
444
449
|
required: string[];
|
|
445
450
|
};
|
|
@@ -516,6 +521,7 @@ export declare const toolDefinitions: ({
|
|
|
516
521
|
graph_depth?: undefined;
|
|
517
522
|
period?: undefined;
|
|
518
523
|
resolution?: undefined;
|
|
524
|
+
name?: undefined;
|
|
519
525
|
};
|
|
520
526
|
required: string[];
|
|
521
527
|
};
|
|
@@ -586,6 +592,7 @@ export declare const toolDefinitions: ({
|
|
|
586
592
|
graph_depth?: undefined;
|
|
587
593
|
period?: undefined;
|
|
588
594
|
resolution?: undefined;
|
|
595
|
+
name?: undefined;
|
|
589
596
|
};
|
|
590
597
|
required?: undefined;
|
|
591
598
|
};
|
|
@@ -659,6 +666,7 @@ export declare const toolDefinitions: ({
|
|
|
659
666
|
graph_depth?: undefined;
|
|
660
667
|
period?: undefined;
|
|
661
668
|
resolution?: undefined;
|
|
669
|
+
name?: undefined;
|
|
662
670
|
};
|
|
663
671
|
required: string[];
|
|
664
672
|
};
|
|
@@ -732,6 +740,7 @@ export declare const toolDefinitions: ({
|
|
|
732
740
|
graph_depth?: undefined;
|
|
733
741
|
period?: undefined;
|
|
734
742
|
resolution?: undefined;
|
|
743
|
+
name?: undefined;
|
|
735
744
|
};
|
|
736
745
|
required?: undefined;
|
|
737
746
|
};
|
|
@@ -814,6 +823,7 @@ export declare const toolDefinitions: ({
|
|
|
814
823
|
graph_depth?: undefined;
|
|
815
824
|
period?: undefined;
|
|
816
825
|
resolution?: undefined;
|
|
826
|
+
name?: undefined;
|
|
817
827
|
};
|
|
818
828
|
required: string[];
|
|
819
829
|
};
|
|
@@ -917,6 +927,7 @@ export declare const toolDefinitions: ({
|
|
|
917
927
|
graph_depth?: undefined;
|
|
918
928
|
period?: undefined;
|
|
919
929
|
resolution?: undefined;
|
|
930
|
+
name?: undefined;
|
|
920
931
|
};
|
|
921
932
|
required: string[];
|
|
922
933
|
};
|
|
@@ -993,6 +1004,7 @@ export declare const toolDefinitions: ({
|
|
|
993
1004
|
graph_depth?: undefined;
|
|
994
1005
|
period?: undefined;
|
|
995
1006
|
resolution?: undefined;
|
|
1007
|
+
name?: undefined;
|
|
996
1008
|
};
|
|
997
1009
|
required: string[];
|
|
998
1010
|
};
|
|
@@ -1069,6 +1081,7 @@ export declare const toolDefinitions: ({
|
|
|
1069
1081
|
graph_depth?: undefined;
|
|
1070
1082
|
period?: undefined;
|
|
1071
1083
|
resolution?: undefined;
|
|
1084
|
+
name?: undefined;
|
|
1072
1085
|
};
|
|
1073
1086
|
required: string[];
|
|
1074
1087
|
};
|
|
@@ -1142,6 +1155,7 @@ export declare const toolDefinitions: ({
|
|
|
1142
1155
|
graph_depth?: undefined;
|
|
1143
1156
|
period?: undefined;
|
|
1144
1157
|
resolution?: undefined;
|
|
1158
|
+
name?: undefined;
|
|
1145
1159
|
};
|
|
1146
1160
|
required?: undefined;
|
|
1147
1161
|
};
|
|
@@ -1261,6 +1275,7 @@ export declare const toolDefinitions: ({
|
|
|
1261
1275
|
graph_depth?: undefined;
|
|
1262
1276
|
period?: undefined;
|
|
1263
1277
|
resolution?: undefined;
|
|
1278
|
+
name?: undefined;
|
|
1264
1279
|
};
|
|
1265
1280
|
required: string[];
|
|
1266
1281
|
};
|
|
@@ -1346,6 +1361,7 @@ export declare const toolDefinitions: ({
|
|
|
1346
1361
|
graph_depth?: undefined;
|
|
1347
1362
|
period?: undefined;
|
|
1348
1363
|
resolution?: undefined;
|
|
1364
|
+
name?: undefined;
|
|
1349
1365
|
};
|
|
1350
1366
|
required?: undefined;
|
|
1351
1367
|
};
|
|
@@ -1425,6 +1441,7 @@ export declare const toolDefinitions: ({
|
|
|
1425
1441
|
graph_depth?: undefined;
|
|
1426
1442
|
period?: undefined;
|
|
1427
1443
|
resolution?: undefined;
|
|
1444
|
+
name?: undefined;
|
|
1428
1445
|
};
|
|
1429
1446
|
required: string[];
|
|
1430
1447
|
};
|
|
@@ -1534,6 +1551,7 @@ export declare const toolDefinitions: ({
|
|
|
1534
1551
|
graph_depth?: undefined;
|
|
1535
1552
|
period?: undefined;
|
|
1536
1553
|
resolution?: undefined;
|
|
1554
|
+
name?: undefined;
|
|
1537
1555
|
};
|
|
1538
1556
|
required: string[];
|
|
1539
1557
|
};
|
|
@@ -1613,6 +1631,7 @@ export declare const toolDefinitions: ({
|
|
|
1613
1631
|
graph_depth?: undefined;
|
|
1614
1632
|
period?: undefined;
|
|
1615
1633
|
resolution?: undefined;
|
|
1634
|
+
name?: undefined;
|
|
1616
1635
|
};
|
|
1617
1636
|
required: string[];
|
|
1618
1637
|
};
|
|
@@ -1707,6 +1726,7 @@ export declare const toolDefinitions: ({
|
|
|
1707
1726
|
graph_depth?: undefined;
|
|
1708
1727
|
period?: undefined;
|
|
1709
1728
|
resolution?: undefined;
|
|
1729
|
+
name?: undefined;
|
|
1710
1730
|
};
|
|
1711
1731
|
required?: undefined;
|
|
1712
1732
|
};
|
|
@@ -1786,6 +1806,7 @@ export declare const toolDefinitions: ({
|
|
|
1786
1806
|
dry_run?: undefined;
|
|
1787
1807
|
period?: undefined;
|
|
1788
1808
|
resolution?: undefined;
|
|
1809
|
+
name?: undefined;
|
|
1789
1810
|
};
|
|
1790
1811
|
required: string[];
|
|
1791
1812
|
};
|
|
@@ -1859,6 +1880,7 @@ export declare const toolDefinitions: ({
|
|
|
1859
1880
|
dry_run?: undefined;
|
|
1860
1881
|
graph_depth?: undefined;
|
|
1861
1882
|
resolution?: undefined;
|
|
1883
|
+
name?: undefined;
|
|
1862
1884
|
};
|
|
1863
1885
|
required?: undefined;
|
|
1864
1886
|
};
|
|
@@ -1935,6 +1957,7 @@ export declare const toolDefinitions: ({
|
|
|
1935
1957
|
graph_depth?: undefined;
|
|
1936
1958
|
period?: undefined;
|
|
1937
1959
|
resolution?: undefined;
|
|
1960
|
+
name?: undefined;
|
|
1938
1961
|
};
|
|
1939
1962
|
required: string[];
|
|
1940
1963
|
};
|
|
@@ -2011,6 +2034,84 @@ export declare const toolDefinitions: ({
|
|
|
2011
2034
|
dry_run?: undefined;
|
|
2012
2035
|
graph_depth?: undefined;
|
|
2013
2036
|
period?: undefined;
|
|
2037
|
+
name?: undefined;
|
|
2038
|
+
};
|
|
2039
|
+
required: string[];
|
|
2040
|
+
};
|
|
2041
|
+
} | {
|
|
2042
|
+
name: string;
|
|
2043
|
+
description: string;
|
|
2044
|
+
inputSchema: {
|
|
2045
|
+
type: "object";
|
|
2046
|
+
properties: {
|
|
2047
|
+
name: {
|
|
2048
|
+
type: string;
|
|
2049
|
+
description: string;
|
|
2050
|
+
};
|
|
2051
|
+
description: {
|
|
2052
|
+
type: string;
|
|
2053
|
+
description: string;
|
|
2054
|
+
};
|
|
2055
|
+
q?: undefined;
|
|
2056
|
+
category?: undefined;
|
|
2057
|
+
author?: undefined;
|
|
2058
|
+
tags?: undefined;
|
|
2059
|
+
limit?: undefined;
|
|
2060
|
+
offset?: undefined;
|
|
2061
|
+
brain_id?: undefined;
|
|
2062
|
+
content?: undefined;
|
|
2063
|
+
content_type?: undefined;
|
|
2064
|
+
confidence?: undefined;
|
|
2065
|
+
is_public?: undefined;
|
|
2066
|
+
id?: undefined;
|
|
2067
|
+
source_id?: undefined;
|
|
2068
|
+
target_id?: undefined;
|
|
2069
|
+
edge_type?: undefined;
|
|
2070
|
+
entry_id?: undefined;
|
|
2071
|
+
depth?: undefined;
|
|
2072
|
+
format?: undefined;
|
|
2073
|
+
entries?: undefined;
|
|
2074
|
+
edges?: undefined;
|
|
2075
|
+
agent_name?: undefined;
|
|
2076
|
+
task_type?: undefined;
|
|
2077
|
+
model?: undefined;
|
|
2078
|
+
provider?: undefined;
|
|
2079
|
+
prompt_tokens?: undefined;
|
|
2080
|
+
completion_tokens?: undefined;
|
|
2081
|
+
total_tokens?: undefined;
|
|
2082
|
+
cost_usd?: undefined;
|
|
2083
|
+
latency_ms?: undefined;
|
|
2084
|
+
status?: undefined;
|
|
2085
|
+
metadata?: undefined;
|
|
2086
|
+
code?: undefined;
|
|
2087
|
+
file_type?: undefined;
|
|
2088
|
+
context?: undefined;
|
|
2089
|
+
days?: undefined;
|
|
2090
|
+
proof_id?: undefined;
|
|
2091
|
+
model_id?: undefined;
|
|
2092
|
+
version_id?: undefined;
|
|
2093
|
+
input_hash?: undefined;
|
|
2094
|
+
output_value?: undefined;
|
|
2095
|
+
proof_tx?: undefined;
|
|
2096
|
+
verified?: undefined;
|
|
2097
|
+
timestamp?: undefined;
|
|
2098
|
+
attester_signatures?: undefined;
|
|
2099
|
+
proof_entry_id?: undefined;
|
|
2100
|
+
target_entry_id?: undefined;
|
|
2101
|
+
decision?: undefined;
|
|
2102
|
+
options?: undefined;
|
|
2103
|
+
chosen?: undefined;
|
|
2104
|
+
rationale?: undefined;
|
|
2105
|
+
chain_id?: undefined;
|
|
2106
|
+
task_description?: undefined;
|
|
2107
|
+
date_before?: undefined;
|
|
2108
|
+
date_after?: undefined;
|
|
2109
|
+
ids?: undefined;
|
|
2110
|
+
confidence_max?: undefined;
|
|
2111
|
+
dry_run?: undefined;
|
|
2112
|
+
graph_depth?: undefined;
|
|
2113
|
+
period?: undefined;
|
|
2114
|
+
resolution?: undefined;
|
|
2014
2115
|
};
|
|
2015
2116
|
required: string[];
|
|
2016
2117
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAkCxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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