c64bridge 0.8.1 → 0.9.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/.github/prompts/steer.prompt.md +55 -0
- package/AGENTS.md +9 -7
- package/README.md +192 -154
- package/data/embeddings_asm.json +1 -1
- package/data/embeddings_basic.json +1 -1
- package/data/embeddings_hardware.json +1 -1
- package/data/embeddings_mixed.json +1 -1
- package/data/embeddings_other.json +1 -1
- package/data/graphics/petscii-style-guide.md +4 -4
- package/data/graphics/sprite-charset-best-practices.md +9 -9
- package/data/vice/vice-binary-monitor-spec.md +938 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/c64Client.js +76 -2
- package/dist/device.js +129 -13
- package/dist/mcp-server.js +1 -1
- package/dist/prompts/registry.js +27 -25
- package/dist/rag/indexer.js +18 -8
- package/dist/rag/knowledgeIndex.js +112 -79
- package/dist/rag/resourceUris.js +93 -0
- package/dist/sidwaveCompiler.js +1 -1
- package/dist/{assemblyConverter.js → tools/assember.js} +10 -1
- package/dist/tools/audio.js +11 -11
- package/dist/{basicConverter.js → tools/basicTokenizer.js} +1 -1
- package/dist/tools/debug.js +159 -6
- package/dist/tools/developer.js +13 -13
- package/dist/tools/disassembler.js +478 -0
- package/dist/tools/graphics.js +10 -10
- package/dist/tools/input.js +338 -0
- package/dist/tools/machineControl.js +5 -5
- package/dist/tools/memory.js +336 -12
- package/dist/tools/meta/index.js +1 -1
- package/dist/tools/printer.js +11 -12
- package/dist/tools/programRunners.js +61 -22
- package/dist/tools/rag.js +9 -9
- package/dist/tools/registry/batch.js +167 -0
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/disk.js +1 -1
- package/dist/tools/registry/drive.js +1 -1
- package/dist/tools/registry/extract.js +1 -1
- package/dist/tools/registry/graphics.js +102 -2
- package/dist/tools/registry/index.js +4 -0
- package/dist/tools/registry/input.js +2 -0
- package/dist/tools/registry/memory.js +62 -2
- package/dist/tools/registry/platform.js +1 -1
- package/dist/tools/registry/printer.js +1 -1
- package/dist/tools/registry/program.js +1 -1
- package/dist/tools/registry/rag.js +1 -1
- package/dist/tools/registry/sound.js +1 -1
- package/dist/tools/registry/stream.js +1 -1
- package/dist/tools/registry/system.js +1 -1
- package/dist/tools/schema.js +4 -5
- package/dist/tools/storage.js +15 -15
- package/dist/tools/streaming.js +3 -3
- package/dist/tools/symbolRegistry.js +49 -0
- package/dist/tools/types.js +56 -4
- package/dist/tools/vice.js +2 -5
- package/dist/vice/process.js +120 -2
- package/dist/vice/readiness.js +35 -0
- package/dist/vice/smokeOptions.js +44 -0
- package/dist/vice/viceClient.js +5 -1
- package/dist/viceRunner.js +2 -0
- package/doc/plans/prompts/README.md +7 -7
- package/mcp/prompts.json +42 -59
- package/mcp/protocol-examples.json +2 -2
- package/mcp/resources.json +179 -166
- package/mcp/schemas/c64_batch.schema.json +53 -0
- package/mcp/schemas/c64_config.schema.json +525 -283
- package/mcp/schemas/c64_debug.schema.json +763 -304
- package/mcp/schemas/c64_disk.schema.json +499 -243
- package/mcp/schemas/c64_drive.schema.json +165 -90
- package/mcp/schemas/c64_extract.schema.json +533 -274
- package/mcp/schemas/c64_graphics.schema.json +607 -295
- package/mcp/schemas/c64_input.schema.json +136 -0
- package/mcp/schemas/c64_memory.schema.json +637 -128
- package/mcp/schemas/c64_printer.schema.json +393 -196
- package/mcp/schemas/c64_program.schema.json +699 -340
- package/mcp/schemas/c64_rag.schema.json +100 -54
- package/mcp/schemas/c64_select_backend.schema.json +49 -23
- package/mcp/schemas/c64_sound.schema.json +1092 -577
- package/mcp/schemas/c64_stream.schema.json +89 -47
- package/mcp/schemas/c64_system.schema.json +351 -185
- package/mcp/schemas/c64_vice.schema.json +85 -47
- package/mcp/server.json +1 -1
- package/mcp/tools.json +7299 -3346
- package/mcp.json +3 -3
- package/package.json +17 -14
- package/scripts/fetch-external-sources.mjs +1 -2
- package/scripts/run-coverage.mjs +33 -1
- package/scripts/run-tests.mjs +2 -2
- package/scripts/run-tests.ts +275 -52
- package/scripts/update-readme.ts +132 -3
- package/server.json +2 -2
|
@@ -1,227 +1,393 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "object",
|
|
3
|
-
"
|
|
4
|
-
|
|
3
|
+
"properties": {
|
|
4
|
+
"op": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"pause",
|
|
8
|
+
"resume",
|
|
9
|
+
"reset",
|
|
10
|
+
"reboot",
|
|
11
|
+
"poweroff",
|
|
12
|
+
"menu",
|
|
13
|
+
"start_task",
|
|
14
|
+
"stop_task",
|
|
15
|
+
"stop_all_tasks",
|
|
16
|
+
"list_tasks",
|
|
17
|
+
"performance_report"
|
|
18
|
+
],
|
|
19
|
+
"description": "Selects the operation."
|
|
20
|
+
},
|
|
21
|
+
"name": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Unique task name",
|
|
24
|
+
"minLength": 1
|
|
25
|
+
},
|
|
26
|
+
"operation": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Operation name (e.g., read, read_screen)",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"arguments": {
|
|
32
|
+
"type": [
|
|
33
|
+
"object",
|
|
34
|
+
"null"
|
|
35
|
+
],
|
|
36
|
+
"description": "Operation-specific arguments",
|
|
37
|
+
"properties": {},
|
|
38
|
+
"additionalProperties": true,
|
|
39
|
+
"default": {}
|
|
40
|
+
},
|
|
41
|
+
"intervalMs": {
|
|
42
|
+
"type": [
|
|
43
|
+
"integer",
|
|
44
|
+
"null"
|
|
45
|
+
],
|
|
46
|
+
"description": "Interval milliseconds",
|
|
47
|
+
"minimum": 1,
|
|
48
|
+
"default": 1000
|
|
49
|
+
},
|
|
50
|
+
"maxIterations": {
|
|
51
|
+
"type": [
|
|
52
|
+
"integer",
|
|
53
|
+
"null"
|
|
54
|
+
],
|
|
55
|
+
"description": "Maximum number of iterations (omit for indefinite)",
|
|
56
|
+
"minimum": 1
|
|
57
|
+
},
|
|
58
|
+
"scope": {
|
|
59
|
+
"type": [
|
|
60
|
+
"string",
|
|
61
|
+
"null"
|
|
62
|
+
],
|
|
63
|
+
"description": "Which diagnostics session to summarize.",
|
|
64
|
+
"enum": [
|
|
65
|
+
"current",
|
|
66
|
+
"latest"
|
|
67
|
+
],
|
|
68
|
+
"default": "current"
|
|
69
|
+
},
|
|
70
|
+
"includeTimeline": {
|
|
71
|
+
"type": [
|
|
72
|
+
"boolean",
|
|
73
|
+
"null"
|
|
74
|
+
],
|
|
75
|
+
"description": "Include the tail of the event timeline.",
|
|
76
|
+
"default": true
|
|
77
|
+
},
|
|
78
|
+
"maxEntries": {
|
|
79
|
+
"type": [
|
|
80
|
+
"integer",
|
|
81
|
+
"null"
|
|
82
|
+
],
|
|
83
|
+
"description": "Maximum number of span and timeline entries to return.",
|
|
84
|
+
"minimum": 1,
|
|
85
|
+
"maximum": 200,
|
|
86
|
+
"default": 25
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"op"
|
|
91
|
+
],
|
|
92
|
+
"description": "System operations available via the c64_system tool.\n\nOperations:\n- pause: Pause the machine until resumed. Required inputs: none.\n- resume: Resume CPU execution after a pause. Required inputs: none.\n- reset: Issue a soft reset without cutting power. Required inputs: none.\n- reboot: Trigger a firmware reboot to recover from faults. Required inputs: none.\n- poweroff: Request a controlled shutdown via the Ultimate firmware. Required inputs: none.\n- menu: Toggle the Ultimate menu button for navigation. Required inputs: none.\n- start_task: Start a named background task that runs on an interval. Required inputs: name, operation. Optional inputs: arguments, intervalMs, maxIterations.\n- stop_task: Stop a specific background task and clear its timer. Required inputs: name.\n- stop_all_tasks: Stop every running background task and persist state. Required inputs: none.\n- list_tasks: List known background tasks with status metadata. Required inputs: none.\n- performance_report: Summarize diagnostics spans and tool latencies from the current or latest MCP session. Required inputs: none. Optional inputs: scope, includeTimeline, maxEntries.",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"x-c64bridge-operations": [
|
|
5
95
|
{
|
|
6
|
-
"
|
|
96
|
+
"op": "pause",
|
|
7
97
|
"description": "Pause the machine until resumed.",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
98
|
+
"required": [],
|
|
99
|
+
"optional": [],
|
|
100
|
+
"inputSchema": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"description": "Pause the machine until resumed.",
|
|
103
|
+
"properties": {
|
|
104
|
+
"op": {
|
|
105
|
+
"const": "pause"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"required": [
|
|
110
|
+
"op"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
17
113
|
},
|
|
18
114
|
{
|
|
19
|
-
"
|
|
115
|
+
"op": "resume",
|
|
20
116
|
"description": "Resume CPU execution after a pause.",
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
117
|
+
"required": [],
|
|
118
|
+
"optional": [],
|
|
119
|
+
"inputSchema": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"description": "Resume CPU execution after a pause.",
|
|
122
|
+
"properties": {
|
|
123
|
+
"op": {
|
|
124
|
+
"const": "resume"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"required": [
|
|
129
|
+
"op"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
30
132
|
},
|
|
31
133
|
{
|
|
32
|
-
"
|
|
134
|
+
"op": "reset",
|
|
33
135
|
"description": "Issue a soft reset without cutting power.",
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
136
|
+
"required": [],
|
|
137
|
+
"optional": [],
|
|
138
|
+
"inputSchema": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"description": "Issue a soft reset without cutting power.",
|
|
141
|
+
"properties": {
|
|
142
|
+
"op": {
|
|
143
|
+
"const": "reset"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"required": [
|
|
148
|
+
"op"
|
|
149
|
+
]
|
|
150
|
+
}
|
|
43
151
|
},
|
|
44
152
|
{
|
|
45
|
-
"
|
|
153
|
+
"op": "reboot",
|
|
46
154
|
"description": "Trigger a firmware reboot to recover from faults.",
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
155
|
+
"required": [],
|
|
156
|
+
"optional": [],
|
|
157
|
+
"inputSchema": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"description": "Trigger a firmware reboot to recover from faults.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"op": {
|
|
162
|
+
"const": "reboot"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"required": [
|
|
167
|
+
"op"
|
|
168
|
+
]
|
|
169
|
+
}
|
|
56
170
|
},
|
|
57
171
|
{
|
|
58
|
-
"
|
|
172
|
+
"op": "poweroff",
|
|
59
173
|
"description": "Request a controlled shutdown via the Ultimate firmware.",
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
174
|
+
"required": [],
|
|
175
|
+
"optional": [],
|
|
176
|
+
"inputSchema": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"description": "Request a controlled shutdown via the Ultimate firmware.",
|
|
179
|
+
"properties": {
|
|
180
|
+
"op": {
|
|
181
|
+
"const": "poweroff"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"additionalProperties": false,
|
|
185
|
+
"required": [
|
|
186
|
+
"op"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
69
189
|
},
|
|
70
190
|
{
|
|
71
|
-
"
|
|
191
|
+
"op": "menu",
|
|
72
192
|
"description": "Toggle the Ultimate menu button for navigation.",
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
193
|
+
"required": [],
|
|
194
|
+
"optional": [],
|
|
195
|
+
"inputSchema": {
|
|
196
|
+
"type": "object",
|
|
197
|
+
"description": "Toggle the Ultimate menu button for navigation.",
|
|
198
|
+
"properties": {
|
|
199
|
+
"op": {
|
|
200
|
+
"const": "menu"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"additionalProperties": false,
|
|
204
|
+
"required": [
|
|
205
|
+
"op"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
82
208
|
},
|
|
83
209
|
{
|
|
84
|
-
"
|
|
210
|
+
"op": "start_task",
|
|
85
211
|
"description": "Start a named background task that runs on an interval.",
|
|
86
|
-
"properties": {
|
|
87
|
-
"name": {
|
|
88
|
-
"type": "string",
|
|
89
|
-
"description": "Unique task name",
|
|
90
|
-
"minLength": 1
|
|
91
|
-
},
|
|
92
|
-
"operation": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"description": "Operation name (e.g., read, read_screen)",
|
|
95
|
-
"minLength": 1
|
|
96
|
-
},
|
|
97
|
-
"arguments": {
|
|
98
|
-
"type": [
|
|
99
|
-
"object",
|
|
100
|
-
"null"
|
|
101
|
-
],
|
|
102
|
-
"description": "Operation-specific arguments",
|
|
103
|
-
"properties": {},
|
|
104
|
-
"additionalProperties": true,
|
|
105
|
-
"default": {}
|
|
106
|
-
},
|
|
107
|
-
"intervalMs": {
|
|
108
|
-
"type": [
|
|
109
|
-
"integer",
|
|
110
|
-
"null"
|
|
111
|
-
],
|
|
112
|
-
"description": "Interval milliseconds",
|
|
113
|
-
"minimum": 1,
|
|
114
|
-
"default": 1000
|
|
115
|
-
},
|
|
116
|
-
"maxIterations": {
|
|
117
|
-
"type": [
|
|
118
|
-
"integer",
|
|
119
|
-
"null"
|
|
120
|
-
],
|
|
121
|
-
"description": "Maximum number of iterations (omit for indefinite)",
|
|
122
|
-
"minimum": 1
|
|
123
|
-
},
|
|
124
|
-
"op": {
|
|
125
|
-
"const": "start_task"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
212
|
"required": [
|
|
129
213
|
"name",
|
|
130
|
-
"operation"
|
|
131
|
-
|
|
214
|
+
"operation"
|
|
215
|
+
],
|
|
216
|
+
"optional": [
|
|
217
|
+
"arguments",
|
|
218
|
+
"intervalMs",
|
|
219
|
+
"maxIterations"
|
|
132
220
|
],
|
|
133
|
-
"
|
|
221
|
+
"inputSchema": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"description": "Start a named background task that runs on an interval.",
|
|
224
|
+
"properties": {
|
|
225
|
+
"name": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Unique task name",
|
|
228
|
+
"minLength": 1
|
|
229
|
+
},
|
|
230
|
+
"operation": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "Operation name (e.g., read, read_screen)",
|
|
233
|
+
"minLength": 1
|
|
234
|
+
},
|
|
235
|
+
"arguments": {
|
|
236
|
+
"type": [
|
|
237
|
+
"object",
|
|
238
|
+
"null"
|
|
239
|
+
],
|
|
240
|
+
"description": "Operation-specific arguments",
|
|
241
|
+
"properties": {},
|
|
242
|
+
"additionalProperties": true,
|
|
243
|
+
"default": {}
|
|
244
|
+
},
|
|
245
|
+
"intervalMs": {
|
|
246
|
+
"type": [
|
|
247
|
+
"integer",
|
|
248
|
+
"null"
|
|
249
|
+
],
|
|
250
|
+
"description": "Interval milliseconds",
|
|
251
|
+
"minimum": 1,
|
|
252
|
+
"default": 1000
|
|
253
|
+
},
|
|
254
|
+
"maxIterations": {
|
|
255
|
+
"type": [
|
|
256
|
+
"integer",
|
|
257
|
+
"null"
|
|
258
|
+
],
|
|
259
|
+
"description": "Maximum number of iterations (omit for indefinite)",
|
|
260
|
+
"minimum": 1
|
|
261
|
+
},
|
|
262
|
+
"op": {
|
|
263
|
+
"const": "start_task"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"name",
|
|
268
|
+
"operation",
|
|
269
|
+
"op"
|
|
270
|
+
],
|
|
271
|
+
"additionalProperties": false
|
|
272
|
+
}
|
|
134
273
|
},
|
|
135
274
|
{
|
|
136
|
-
"
|
|
275
|
+
"op": "stop_task",
|
|
137
276
|
"description": "Stop a specific background task and clear its timer.",
|
|
138
|
-
"properties": {
|
|
139
|
-
"name": {
|
|
140
|
-
"type": "string",
|
|
141
|
-
"description": "Task name",
|
|
142
|
-
"minLength": 1
|
|
143
|
-
},
|
|
144
|
-
"op": {
|
|
145
|
-
"const": "stop_task"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
277
|
"required": [
|
|
149
|
-
"name"
|
|
150
|
-
"op"
|
|
278
|
+
"name"
|
|
151
279
|
],
|
|
152
|
-
"
|
|
280
|
+
"optional": [],
|
|
281
|
+
"inputSchema": {
|
|
282
|
+
"type": "object",
|
|
283
|
+
"description": "Stop a specific background task and clear its timer.",
|
|
284
|
+
"properties": {
|
|
285
|
+
"name": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"description": "Task name",
|
|
288
|
+
"minLength": 1
|
|
289
|
+
},
|
|
290
|
+
"op": {
|
|
291
|
+
"const": "stop_task"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"name",
|
|
296
|
+
"op"
|
|
297
|
+
],
|
|
298
|
+
"additionalProperties": false
|
|
299
|
+
}
|
|
153
300
|
},
|
|
154
301
|
{
|
|
155
|
-
"
|
|
302
|
+
"op": "stop_all_tasks",
|
|
156
303
|
"description": "Stop every running background task and persist state.",
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
304
|
+
"required": [],
|
|
305
|
+
"optional": [],
|
|
306
|
+
"inputSchema": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"description": "Stop every running background task and persist state.",
|
|
309
|
+
"properties": {
|
|
310
|
+
"op": {
|
|
311
|
+
"const": "stop_all_tasks"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"additionalProperties": false,
|
|
315
|
+
"required": [
|
|
316
|
+
"op"
|
|
317
|
+
]
|
|
318
|
+
}
|
|
166
319
|
},
|
|
167
320
|
{
|
|
168
|
-
"
|
|
321
|
+
"op": "list_tasks",
|
|
169
322
|
"description": "List known background tasks with status metadata.",
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
323
|
+
"required": [],
|
|
324
|
+
"optional": [],
|
|
325
|
+
"inputSchema": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"description": "List known background tasks with status metadata.",
|
|
328
|
+
"properties": {
|
|
329
|
+
"op": {
|
|
330
|
+
"const": "list_tasks"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"additionalProperties": false,
|
|
334
|
+
"required": [
|
|
335
|
+
"op"
|
|
336
|
+
]
|
|
337
|
+
}
|
|
179
338
|
},
|
|
180
339
|
{
|
|
181
|
-
"
|
|
340
|
+
"op": "performance_report",
|
|
182
341
|
"description": "Summarize diagnostics spans and tool latencies from the current or latest MCP session.",
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
342
|
+
"required": [],
|
|
343
|
+
"optional": [
|
|
344
|
+
"scope",
|
|
345
|
+
"includeTimeline",
|
|
346
|
+
"maxEntries"
|
|
347
|
+
],
|
|
348
|
+
"inputSchema": {
|
|
349
|
+
"type": "object",
|
|
350
|
+
"description": "Summarize diagnostics spans and tool latencies from the current or latest MCP session.",
|
|
351
|
+
"properties": {
|
|
352
|
+
"scope": {
|
|
353
|
+
"type": [
|
|
354
|
+
"string",
|
|
355
|
+
"null"
|
|
356
|
+
],
|
|
357
|
+
"description": "Which diagnostics session to summarize.",
|
|
358
|
+
"enum": [
|
|
359
|
+
"current",
|
|
360
|
+
"latest"
|
|
361
|
+
],
|
|
362
|
+
"default": "current"
|
|
363
|
+
},
|
|
364
|
+
"includeTimeline": {
|
|
365
|
+
"type": [
|
|
366
|
+
"boolean",
|
|
367
|
+
"null"
|
|
368
|
+
],
|
|
369
|
+
"description": "Include the tail of the event timeline.",
|
|
370
|
+
"default": true
|
|
371
|
+
},
|
|
372
|
+
"maxEntries": {
|
|
373
|
+
"type": [
|
|
374
|
+
"integer",
|
|
375
|
+
"null"
|
|
376
|
+
],
|
|
377
|
+
"description": "Maximum number of span and timeline entries to return.",
|
|
378
|
+
"minimum": 1,
|
|
379
|
+
"maximum": 200,
|
|
380
|
+
"default": 25
|
|
381
|
+
},
|
|
382
|
+
"op": {
|
|
383
|
+
"const": "performance_report"
|
|
384
|
+
}
|
|
213
385
|
},
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"required": [
|
|
220
|
-
"op"
|
|
221
|
-
]
|
|
386
|
+
"additionalProperties": false,
|
|
387
|
+
"required": [
|
|
388
|
+
"op"
|
|
389
|
+
]
|
|
390
|
+
}
|
|
222
391
|
}
|
|
223
|
-
]
|
|
224
|
-
"discriminator": {
|
|
225
|
-
"propertyName": "op"
|
|
226
|
-
}
|
|
392
|
+
]
|
|
227
393
|
}
|