mcp-probe-kit 3.3.0 → 3.6.1
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 +781 -765
- package/build/index.js +198 -191
- package/build/lib/__tests__/agents-md-template.unit.test.js +1 -0
- package/build/lib/__tests__/dev-workflow.unit.test.d.ts +1 -0
- package/build/lib/__tests__/dev-workflow.unit.test.js +22 -0
- package/build/lib/__tests__/handles.unit.test.d.ts +1 -0
- package/build/lib/__tests__/handles.unit.test.js +19 -0
- package/build/lib/__tests__/mcp-apps.unit.test.d.ts +1 -0
- package/build/lib/__tests__/mcp-apps.unit.test.js +52 -0
- package/build/lib/__tests__/mcp-tool-skill-registry.unit.test.d.ts +1 -0
- package/build/lib/__tests__/mcp-tool-skill-registry.unit.test.js +18 -0
- package/build/lib/__tests__/memory-client.unit.test.js +105 -0
- package/build/lib/__tests__/spec-gate.unit.test.d.ts +1 -0
- package/build/lib/__tests__/spec-gate.unit.test.js +54 -0
- package/build/lib/__tests__/task-defaults.unit.test.d.ts +1 -0
- package/build/lib/__tests__/task-defaults.unit.test.js +27 -0
- package/build/lib/__tests__/workflow-skill-installer.unit.test.d.ts +1 -0
- package/build/lib/__tests__/workflow-skill-installer.unit.test.js +110 -0
- package/build/lib/__tests__/workspace-root.unit.test.d.ts +1 -0
- package/build/lib/__tests__/workspace-root.unit.test.js +31 -0
- package/build/lib/agents-md-template.js +10 -2
- package/build/lib/dev-workflow.d.ts +36 -0
- package/build/lib/dev-workflow.js +497 -0
- package/build/lib/handles.d.ts +31 -0
- package/build/lib/handles.js +36 -0
- package/build/lib/mcp-apps.d.ts +14 -0
- package/build/lib/mcp-apps.js +234 -0
- package/build/lib/mcp-tool-skill-registry.d.ts +46 -0
- package/build/lib/mcp-tool-skill-registry.js +256 -0
- package/build/lib/memory-client.d.ts +19 -0
- package/build/lib/memory-client.js +69 -0
- package/build/lib/memory-orchestration.d.ts +5 -0
- package/build/lib/memory-orchestration.js +20 -0
- package/build/lib/merge-agents-md.d.ts +2 -2
- package/build/lib/merge-agents-md.js +7 -4
- package/build/lib/output-schema-registry.d.ts +11 -0
- package/build/lib/output-schema-registry.js +80 -0
- package/build/lib/spec-gate.d.ts +32 -0
- package/build/lib/spec-gate.js +83 -0
- package/build/lib/task-defaults.d.ts +6 -0
- package/build/lib/task-defaults.js +20 -0
- package/build/lib/tool-annotations.js +3 -0
- package/build/lib/toolset-manager.js +2 -0
- package/build/lib/workflow-skill-installer.d.ts +40 -0
- package/build/lib/workflow-skill-installer.js +172 -0
- package/build/lib/workflow-skill-template.d.ts +9 -0
- package/build/lib/workflow-skill-template.js +85 -0
- package/build/lib/workflow-skill-version.d.ts +15 -0
- package/build/lib/workflow-skill-version.js +68 -0
- package/build/lib/workspace-root.d.ts +4 -0
- package/build/lib/workspace-root.js +33 -0
- package/build/schemas/basic-tools.d.ts +4 -0
- package/build/schemas/basic-tools.js +4 -0
- package/build/schemas/index.d.ts +114 -0
- package/build/schemas/index.js +1 -0
- package/build/schemas/memory-tools.d.ts +83 -0
- package/build/schemas/memory-tools.js +43 -0
- package/build/schemas/orchestration-tools.d.ts +8 -0
- package/build/schemas/orchestration-tools.js +8 -0
- package/build/schemas/output/code-insight-tools.d.ts +65 -0
- package/build/schemas/output/code-insight-tools.js +42 -0
- package/build/schemas/output/memory-tools.d.ts +576 -0
- package/build/schemas/output/memory-tools.js +148 -0
- package/build/schemas/project-tools.d.ts +19 -0
- package/build/schemas/project-tools.js +20 -0
- package/build/tools/__tests__/delete_memory_asset.unit.test.d.ts +1 -0
- package/build/tools/__tests__/delete_memory_asset.unit.test.js +87 -0
- package/build/tools/__tests__/search_memory.unit.test.js +1 -0
- package/build/tools/__tests__/start_bugfix.unit.test.js +34 -1
- package/build/tools/__tests__/update_memory_asset.unit.test.d.ts +1 -0
- package/build/tools/__tests__/update_memory_asset.unit.test.js +82 -0
- package/build/tools/__tests__/workflow.unit.test.d.ts +1 -0
- package/build/tools/__tests__/workflow.unit.test.js +24 -0
- package/build/tools/code_insight.js +5 -1
- package/build/tools/delete_memory_asset.d.ts +7 -0
- package/build/tools/delete_memory_asset.js +57 -0
- package/build/tools/index.d.ts +3 -0
- package/build/tools/index.js +3 -0
- package/build/tools/init_project.js +170 -158
- package/build/tools/search_memory.js +5 -2
- package/build/tools/start_bugfix.js +37 -4
- package/build/tools/start_feature.js +4 -3
- package/build/tools/start_ui.js +5 -4
- package/build/tools/update_memory_asset.d.ts +7 -0
- package/build/tools/update_memory_asset.js +98 -0
- package/build/tools/workflow.d.ts +13 -0
- package/build/tools/workflow.js +69 -0
- package/package.json +5 -3
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 记忆工具结构化输出 Schema
|
|
3
|
+
*/
|
|
4
|
+
export declare const MemorySearchSchema: {
|
|
5
|
+
readonly type: "object";
|
|
6
|
+
readonly properties: {
|
|
7
|
+
readonly enabled: {
|
|
8
|
+
readonly type: "boolean";
|
|
9
|
+
};
|
|
10
|
+
readonly query: {
|
|
11
|
+
readonly type: "string";
|
|
12
|
+
};
|
|
13
|
+
readonly count: {
|
|
14
|
+
readonly type: "number";
|
|
15
|
+
};
|
|
16
|
+
readonly results: {
|
|
17
|
+
readonly type: "array";
|
|
18
|
+
readonly items: {
|
|
19
|
+
readonly type: "object";
|
|
20
|
+
readonly properties: {
|
|
21
|
+
readonly id: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
};
|
|
24
|
+
readonly score: {
|
|
25
|
+
readonly type: "number";
|
|
26
|
+
};
|
|
27
|
+
readonly name: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
};
|
|
30
|
+
readonly type: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
};
|
|
33
|
+
readonly description: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
};
|
|
36
|
+
readonly summary: {
|
|
37
|
+
readonly type: "string";
|
|
38
|
+
};
|
|
39
|
+
readonly content: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
};
|
|
42
|
+
readonly tags: {
|
|
43
|
+
readonly type: "array";
|
|
44
|
+
readonly items: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly sourcePath: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
readonly required: readonly ["id"];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
readonly handles: {
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly properties: {
|
|
58
|
+
readonly memory_assets: {
|
|
59
|
+
readonly type: "array";
|
|
60
|
+
readonly items: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly properties: {
|
|
63
|
+
readonly id: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly description: "记忆资产 ID";
|
|
66
|
+
};
|
|
67
|
+
readonly tool: {
|
|
68
|
+
readonly type: "string";
|
|
69
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
70
|
+
readonly description: "建议调用的 MCP 工具";
|
|
71
|
+
};
|
|
72
|
+
readonly name: {
|
|
73
|
+
readonly type: "string";
|
|
74
|
+
};
|
|
75
|
+
readonly type: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
};
|
|
78
|
+
readonly summary: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly required: readonly ["id", "tool"];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly graph_snapshot: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
88
|
+
};
|
|
89
|
+
readonly graph_resource: {
|
|
90
|
+
readonly type: "string";
|
|
91
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly additionalProperties: false;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly required: readonly ["enabled", "results"];
|
|
98
|
+
};
|
|
99
|
+
export declare const MemoryAssetDetailSchema: {
|
|
100
|
+
readonly type: "object";
|
|
101
|
+
readonly properties: {
|
|
102
|
+
readonly enabled: {
|
|
103
|
+
readonly type: "boolean";
|
|
104
|
+
};
|
|
105
|
+
readonly asset: {
|
|
106
|
+
readonly type: "object";
|
|
107
|
+
readonly properties: {
|
|
108
|
+
readonly id: {
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
};
|
|
111
|
+
readonly name: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
};
|
|
114
|
+
readonly type: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
};
|
|
117
|
+
readonly description: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
};
|
|
120
|
+
readonly summary: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly content: {
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
};
|
|
126
|
+
readonly tags: {
|
|
127
|
+
readonly type: "array";
|
|
128
|
+
readonly items: {
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly confidence: {
|
|
133
|
+
readonly type: "number";
|
|
134
|
+
};
|
|
135
|
+
readonly createdAt: {
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
};
|
|
138
|
+
readonly updatedAt: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
readonly required: readonly ["id", "name"];
|
|
143
|
+
};
|
|
144
|
+
readonly handles: {
|
|
145
|
+
readonly type: "object";
|
|
146
|
+
readonly properties: {
|
|
147
|
+
readonly memory_assets: {
|
|
148
|
+
readonly type: "array";
|
|
149
|
+
readonly items: {
|
|
150
|
+
readonly type: "object";
|
|
151
|
+
readonly properties: {
|
|
152
|
+
readonly id: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly description: "记忆资产 ID";
|
|
155
|
+
};
|
|
156
|
+
readonly tool: {
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
159
|
+
readonly description: "建议调用的 MCP 工具";
|
|
160
|
+
};
|
|
161
|
+
readonly name: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
};
|
|
164
|
+
readonly type: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
};
|
|
167
|
+
readonly summary: {
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
readonly required: readonly ["id", "tool"];
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
readonly graph_snapshot: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
177
|
+
};
|
|
178
|
+
readonly graph_resource: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly additionalProperties: false;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
readonly required: readonly ["enabled"];
|
|
187
|
+
};
|
|
188
|
+
export declare const MemorizeResultSchema: {
|
|
189
|
+
readonly type: "object";
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly enabled: {
|
|
192
|
+
readonly type: "boolean";
|
|
193
|
+
};
|
|
194
|
+
readonly stored: {
|
|
195
|
+
readonly type: "boolean";
|
|
196
|
+
};
|
|
197
|
+
readonly asset: {
|
|
198
|
+
readonly type: "object";
|
|
199
|
+
readonly properties: {
|
|
200
|
+
readonly id: {
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
};
|
|
203
|
+
readonly name: {
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
};
|
|
206
|
+
readonly type: {
|
|
207
|
+
readonly type: "string";
|
|
208
|
+
};
|
|
209
|
+
readonly description: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
};
|
|
212
|
+
readonly summary: {
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
};
|
|
215
|
+
readonly content: {
|
|
216
|
+
readonly type: "string";
|
|
217
|
+
};
|
|
218
|
+
readonly tags: {
|
|
219
|
+
readonly type: "array";
|
|
220
|
+
readonly items: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
readonly confidence: {
|
|
225
|
+
readonly type: "number";
|
|
226
|
+
};
|
|
227
|
+
readonly createdAt: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
};
|
|
230
|
+
readonly updatedAt: {
|
|
231
|
+
readonly type: "string";
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
readonly required: readonly ["id", "name"];
|
|
235
|
+
};
|
|
236
|
+
readonly warnings: {
|
|
237
|
+
readonly type: "array";
|
|
238
|
+
readonly items: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
readonly handles: {
|
|
243
|
+
readonly type: "object";
|
|
244
|
+
readonly properties: {
|
|
245
|
+
readonly memory_assets: {
|
|
246
|
+
readonly type: "array";
|
|
247
|
+
readonly items: {
|
|
248
|
+
readonly type: "object";
|
|
249
|
+
readonly properties: {
|
|
250
|
+
readonly id: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly description: "记忆资产 ID";
|
|
253
|
+
};
|
|
254
|
+
readonly tool: {
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
257
|
+
readonly description: "建议调用的 MCP 工具";
|
|
258
|
+
};
|
|
259
|
+
readonly name: {
|
|
260
|
+
readonly type: "string";
|
|
261
|
+
};
|
|
262
|
+
readonly type: {
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
};
|
|
265
|
+
readonly summary: {
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly required: readonly ["id", "tool"];
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
readonly graph_snapshot: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
275
|
+
};
|
|
276
|
+
readonly graph_resource: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
readonly additionalProperties: false;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly required: readonly ["enabled", "stored"];
|
|
285
|
+
};
|
|
286
|
+
export declare const DeleteMemoryResultSchema: {
|
|
287
|
+
readonly type: "object";
|
|
288
|
+
readonly properties: {
|
|
289
|
+
readonly enabled: {
|
|
290
|
+
readonly type: "boolean";
|
|
291
|
+
};
|
|
292
|
+
readonly deleted: {
|
|
293
|
+
readonly type: "boolean";
|
|
294
|
+
};
|
|
295
|
+
readonly requires_confirmation: {
|
|
296
|
+
readonly type: "boolean";
|
|
297
|
+
readonly description: "为 true 时表示仅预览,需 confirm=true 再删";
|
|
298
|
+
};
|
|
299
|
+
readonly preview: {
|
|
300
|
+
readonly type: "object";
|
|
301
|
+
readonly properties: {
|
|
302
|
+
readonly id: {
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
};
|
|
305
|
+
readonly name: {
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
};
|
|
308
|
+
readonly type: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
};
|
|
311
|
+
readonly summary: {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly asset: {
|
|
317
|
+
readonly type: "object";
|
|
318
|
+
readonly properties: {
|
|
319
|
+
readonly id: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
};
|
|
322
|
+
readonly name: {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
};
|
|
325
|
+
readonly type: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
};
|
|
328
|
+
readonly description: {
|
|
329
|
+
readonly type: "string";
|
|
330
|
+
};
|
|
331
|
+
readonly summary: {
|
|
332
|
+
readonly type: "string";
|
|
333
|
+
};
|
|
334
|
+
readonly content: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
};
|
|
337
|
+
readonly tags: {
|
|
338
|
+
readonly type: "array";
|
|
339
|
+
readonly items: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly confidence: {
|
|
344
|
+
readonly type: "number";
|
|
345
|
+
};
|
|
346
|
+
readonly createdAt: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
};
|
|
349
|
+
readonly updatedAt: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
readonly required: readonly ["id", "name"];
|
|
354
|
+
};
|
|
355
|
+
readonly handles: {
|
|
356
|
+
readonly type: "object";
|
|
357
|
+
readonly properties: {
|
|
358
|
+
readonly memory_assets: {
|
|
359
|
+
readonly type: "array";
|
|
360
|
+
readonly items: {
|
|
361
|
+
readonly type: "object";
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly id: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "记忆资产 ID";
|
|
366
|
+
};
|
|
367
|
+
readonly tool: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
370
|
+
readonly description: "建议调用的 MCP 工具";
|
|
371
|
+
};
|
|
372
|
+
readonly name: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
};
|
|
375
|
+
readonly type: {
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
};
|
|
378
|
+
readonly summary: {
|
|
379
|
+
readonly type: "string";
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
readonly required: readonly ["id", "tool"];
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly graph_snapshot: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
388
|
+
};
|
|
389
|
+
readonly graph_resource: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
readonly additionalProperties: false;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
readonly required: readonly ["enabled", "deleted"];
|
|
398
|
+
};
|
|
399
|
+
export declare const UpdateMemoryResultSchema: {
|
|
400
|
+
readonly type: "object";
|
|
401
|
+
readonly properties: {
|
|
402
|
+
readonly enabled: {
|
|
403
|
+
readonly type: "boolean";
|
|
404
|
+
};
|
|
405
|
+
readonly updated: {
|
|
406
|
+
readonly type: "boolean";
|
|
407
|
+
};
|
|
408
|
+
readonly asset: {
|
|
409
|
+
readonly type: "object";
|
|
410
|
+
readonly properties: {
|
|
411
|
+
readonly id: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
};
|
|
414
|
+
readonly name: {
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
};
|
|
417
|
+
readonly type: {
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
};
|
|
420
|
+
readonly description: {
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
};
|
|
423
|
+
readonly summary: {
|
|
424
|
+
readonly type: "string";
|
|
425
|
+
};
|
|
426
|
+
readonly content: {
|
|
427
|
+
readonly type: "string";
|
|
428
|
+
};
|
|
429
|
+
readonly tags: {
|
|
430
|
+
readonly type: "array";
|
|
431
|
+
readonly items: {
|
|
432
|
+
readonly type: "string";
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
readonly confidence: {
|
|
436
|
+
readonly type: "number";
|
|
437
|
+
};
|
|
438
|
+
readonly createdAt: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
};
|
|
441
|
+
readonly updatedAt: {
|
|
442
|
+
readonly type: "string";
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
readonly required: readonly ["id", "name"];
|
|
446
|
+
};
|
|
447
|
+
readonly warnings: {
|
|
448
|
+
readonly type: "array";
|
|
449
|
+
readonly items: {
|
|
450
|
+
readonly type: "string";
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
readonly handles: {
|
|
454
|
+
readonly type: "object";
|
|
455
|
+
readonly properties: {
|
|
456
|
+
readonly memory_assets: {
|
|
457
|
+
readonly type: "array";
|
|
458
|
+
readonly items: {
|
|
459
|
+
readonly type: "object";
|
|
460
|
+
readonly properties: {
|
|
461
|
+
readonly id: {
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
readonly description: "记忆资产 ID";
|
|
464
|
+
};
|
|
465
|
+
readonly tool: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
468
|
+
readonly description: "建议调用的 MCP 工具";
|
|
469
|
+
};
|
|
470
|
+
readonly name: {
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
};
|
|
473
|
+
readonly type: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
};
|
|
476
|
+
readonly summary: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly required: readonly ["id", "tool"];
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
readonly graph_snapshot: {
|
|
484
|
+
readonly type: "string";
|
|
485
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
486
|
+
};
|
|
487
|
+
readonly graph_resource: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
readonly additionalProperties: false;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
readonly required: readonly ["enabled", "updated"];
|
|
496
|
+
};
|
|
497
|
+
export declare const PatternExtractionSchema: {
|
|
498
|
+
readonly type: "object";
|
|
499
|
+
readonly properties: {
|
|
500
|
+
readonly summary: {
|
|
501
|
+
readonly type: "string";
|
|
502
|
+
};
|
|
503
|
+
readonly scannedFiles: {
|
|
504
|
+
readonly type: "number";
|
|
505
|
+
};
|
|
506
|
+
readonly candidates: {
|
|
507
|
+
readonly type: "array";
|
|
508
|
+
readonly items: {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly properties: {
|
|
511
|
+
readonly name: {
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
};
|
|
514
|
+
readonly type: {
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
};
|
|
517
|
+
readonly filePath: {
|
|
518
|
+
readonly type: "string";
|
|
519
|
+
};
|
|
520
|
+
readonly summary: {
|
|
521
|
+
readonly type: "string";
|
|
522
|
+
};
|
|
523
|
+
readonly tags: {
|
|
524
|
+
readonly type: "array";
|
|
525
|
+
readonly items: {
|
|
526
|
+
readonly type: "string";
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
readonly required: readonly ["name", "filePath"];
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
readonly handles: {
|
|
534
|
+
readonly type: "object";
|
|
535
|
+
readonly properties: {
|
|
536
|
+
readonly memory_assets: {
|
|
537
|
+
readonly type: "array";
|
|
538
|
+
readonly items: {
|
|
539
|
+
readonly type: "object";
|
|
540
|
+
readonly properties: {
|
|
541
|
+
readonly id: {
|
|
542
|
+
readonly type: "string";
|
|
543
|
+
readonly description: "记忆资产 ID";
|
|
544
|
+
};
|
|
545
|
+
readonly tool: {
|
|
546
|
+
readonly type: "string";
|
|
547
|
+
readonly enum: readonly ["read_memory_asset", "update_memory_asset", "delete_memory_asset"];
|
|
548
|
+
readonly description: "建议调用的 MCP 工具";
|
|
549
|
+
};
|
|
550
|
+
readonly name: {
|
|
551
|
+
readonly type: "string";
|
|
552
|
+
};
|
|
553
|
+
readonly type: {
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
};
|
|
556
|
+
readonly summary: {
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
readonly required: readonly ["id", "tool"];
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
readonly graph_snapshot: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
readonly description: "图谱快照 URI(probe://graph/...)";
|
|
566
|
+
};
|
|
567
|
+
readonly graph_resource: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
readonly description: "图谱资源 URI,通常为 probe://graph/latest";
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
readonly additionalProperties: false;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly required: readonly ["summary", "candidates"];
|
|
576
|
+
};
|