c64bridge 1.0.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/skills/assembly-program/SKILL.md +37 -0
- package/.github/skills/basic-program/SKILL.md +40 -0
- package/.github/skills/cross-platform-demo/SKILL.md +32 -0
- package/.github/skills/drive-manager/SKILL.md +33 -0
- package/.github/skills/graphics-demo/SKILL.md +30 -0
- package/.github/skills/hello-world/SKILL.md +36 -0
- package/.github/skills/memory-debug/SKILL.md +32 -0
- package/.github/skills/pr-converge/SKILL.md +33 -0
- package/.github/skills/printer-job/SKILL.md +30 -0
- package/.github/skills/sid-music/SKILL.md +35 -0
- package/.github/skills/software-launch/SKILL.md +31 -0
- package/.github/skills/stream-control/SKILL.md +29 -0
- package/.github/skills/system-control/SKILL.md +32 -0
- package/AGENTS.md +28 -7
- package/README.md +70 -15
- package/data/assembly/assembly-spec.md +2 -0
- package/dist/c64Client.js +238 -60
- package/dist/chargen.js +0 -4
- package/dist/config.js +53 -28
- package/dist/device.js +92 -37
- package/dist/diagnostics.js +66 -5
- package/dist/hostPaths.js +128 -0
- package/dist/logger.js +3 -2
- package/dist/loggingHttpClient.js +71 -2
- package/dist/mcp-server.js +416 -291
- package/dist/numericArg.js +55 -0
- package/dist/petscii.js +13 -6
- package/dist/platform.js +12 -3
- package/dist/prompts/registry.js +6 -1
- package/dist/redact.js +166 -0
- package/dist/tools/access.js +66 -0
- package/dist/tools/debug.js +6 -0
- package/dist/tools/developer.js +77 -36
- package/dist/tools/errors.js +54 -3
- package/dist/tools/input.js +25 -8
- package/dist/tools/machineControl.js +113 -21
- package/dist/tools/memory.js +135 -30
- package/dist/tools/meta/artifacts.js +5 -5
- package/dist/tools/meta/background.js +216 -54
- package/dist/tools/meta/compilation.js +6 -5
- package/dist/tools/meta/config.js +20 -10
- package/dist/tools/meta/configInventory.js +25 -2
- package/dist/tools/meta/diagnostics.js +2 -1
- package/dist/tools/meta/filesystem.js +16 -14
- package/dist/tools/meta/graphics.js +48 -20
- package/dist/tools/meta/memory.js +45 -19
- package/dist/tools/meta/program.js +10 -7
- package/dist/tools/meta/screen.js +116 -25
- package/dist/tools/pauseGuard.js +23 -0
- package/dist/tools/pollValidator.js +53 -8
- package/dist/tools/programRunners.js +62 -18
- package/dist/tools/registry/batch.js +17 -11
- package/dist/tools/registry/config.js +9 -2
- package/dist/tools/registry/disk.js +12 -2
- package/dist/tools/registry/drive.js +3 -0
- package/dist/tools/registry/extract.js +3 -0
- package/dist/tools/registry/graphics.js +59 -6
- package/dist/tools/registry/index.js +17 -1
- package/dist/tools/registry/memory.js +11 -1
- package/dist/tools/registry/platform.js +4 -1
- package/dist/tools/registry/printer.js +2 -1
- package/dist/tools/registry/program.js +5 -1
- package/dist/tools/registry/rag.js +1 -0
- package/dist/tools/registry/sound.js +12 -1
- package/dist/tools/registry/stream.js +2 -1
- package/dist/tools/registry/system.js +8 -1
- package/dist/tools/schema.js +7 -7
- package/dist/tools/streaming.js +34 -4
- package/dist/tools/translation/assembler.js +247 -24
- package/dist/tools/translation/basicDetokenizer.js +80 -0
- package/dist/tools/translation/basicTokenizer.js +8 -3
- package/dist/tools/translation/disassembler.js +14 -0
- package/dist/tools/types.js +258 -7
- package/dist/tools/vice.js +5 -16
- package/dist/vicBitmap.js +1 -1
- package/dist/vice/mockServer.js +3 -0
- package/dist/vice/process.js +19 -0
- package/dist/vice/resourcePolicy.js +36 -0
- package/dist/vice/viceClient.js +22 -5
- package/doc/vice/support-matrix.md +17 -11
- package/mcp/schemas/c64_batch.schema.json +2 -1
- package/mcp/schemas/c64_config.schema.json +33 -466
- package/mcp/schemas/c64_debug.schema.json +3 -602
- package/mcp/schemas/c64_disk.schema.json +17 -344
- package/mcp/schemas/c64_drive.schema.json +2 -157
- package/mcp/schemas/c64_extract.schema.json +10 -364
- package/mcp/schemas/c64_graphics.schema.json +19 -426
- package/mcp/schemas/c64_input.schema.json +5 -318
- package/mcp/schemas/c64_memory.schema.json +23 -491
- package/mcp/schemas/c64_printer.schema.json +3 -258
- package/mcp/schemas/c64_program.schema.json +16 -491
- package/mcp/schemas/c64_rag.schema.json +1 -81
- package/mcp/schemas/c64_select_backend.schema.json +2 -36
- package/mcp/schemas/c64_sound.schema.json +20 -822
- package/mcp/schemas/c64_stream.schema.json +4 -75
- package/mcp/schemas/c64_system.schema.json +28 -348
- package/mcp/schemas/c64_vice.schema.json +2 -71
- package/mcp/server.json +1 -1
- package/mcp/tools.json +1990 -6900
- package/mcp.json +21 -1
- package/package.json +19 -8
- package/scripts/mockC64Server.mjs +44 -0
- package/scripts/run-coverage.mjs +27 -1
- package/scripts/smoke-run.sh +3 -2
- package/scripts/start.mjs +23 -1
- package/server.json +53 -3
- package/dist/.tsbuildinfo +0 -1
- package/doc/agent-state-spec.md +0 -243
- package/doc/plans/bun/baseline-metrics.md +0 -16
- package/doc/plans/bun/migration-checklist.md +0 -55
- package/doc/plans/bun/migration.md +0 -83
- package/doc/plans/improve-knowledge/notes.md +0 -43
- package/doc/plans/improve-knowledge/plan.md +0 -121
- package/doc/plans/improve-knowledge/rollout.md +0 -110
- package/doc/plans/meta-tools/README.md +0 -110
- package/doc/plans/meta-tools/analysis.md +0 -272
- package/doc/plans/meta-tools/catalog.md +0 -435
- package/doc/plans/meta-tools/notes.md +0 -192
- package/doc/plans/meta-tools/rollout.md +0 -368
- package/doc/plans/prompts/README.md +0 -96
- package/doc/plans/prompts/user-prompt-ideas.md +0 -147
- package/doc/plans/tool-consolidation/notes.md +0 -28
- package/doc/plans/tool-consolidation/plan.md +0 -169
- package/doc/plans/tool-consolidation/rollout.md +0 -104
- package/doc/plans/vice-backend-switch/plan.md +0 -486
- package/doc/plans/vice-backend-switch-2/plan.md +0 -48
- package/doc/plans/vice-support/notes.md +0 -63
- package/doc/plans/vice-support/plan.md +0 -88
- package/doc/plans/vice-support/rollout.md +0 -99
- package/doc/reviews/audit.md +0 -143
- package/doc/reviews/hardening/01-fable/prompt-handover.md +0 -125
- package/doc/reviews/hardening/01-fable/prompt.md +0 -98
- package/doc/reviews/hardening/01-fable/review-prompt.md +0 -468
- package/doc/reviews/hardening/01-fable/review.md +0 -1234
- package/doc/reviews/vice-support-review.md +0 -185
- package/scripts/compare-rest/rest-compare-2025-11-01T00-25-21-830Z.json +0 -2513
|
@@ -23,8 +23,11 @@
|
|
|
23
23
|
"description": "Selects the operation."
|
|
24
24
|
},
|
|
25
25
|
"category": {
|
|
26
|
-
"type":
|
|
27
|
-
|
|
26
|
+
"type": [
|
|
27
|
+
"string",
|
|
28
|
+
"null"
|
|
29
|
+
],
|
|
30
|
+
"description": "Configuration category reported by the Ultimate firmware (e.g. 'Audio'). Limits depend on op.",
|
|
28
31
|
"minLength": 1
|
|
29
32
|
},
|
|
30
33
|
"item": {
|
|
@@ -32,16 +35,39 @@
|
|
|
32
35
|
"string",
|
|
33
36
|
"null"
|
|
34
37
|
],
|
|
35
|
-
"description": "Specific configuration item inside the selected category (e.g. 'Volume').",
|
|
38
|
+
"description": "Specific configuration item inside the selected category (e.g. 'Volume'). Limits depend on op.",
|
|
36
39
|
"minLength": 1
|
|
37
40
|
},
|
|
41
|
+
"includeSecretValues": {
|
|
42
|
+
"type": [
|
|
43
|
+
"boolean",
|
|
44
|
+
"null"
|
|
45
|
+
],
|
|
46
|
+
"description": "Return credential values (network password, FTP/Telnet passwords, Wi-Fi keys) in plain text. Default false: those values are replaced with ***.",
|
|
47
|
+
"default": false
|
|
48
|
+
},
|
|
38
49
|
"value": {
|
|
39
|
-
"description": "Primitive configuration value (string, number, or boolean).",
|
|
40
50
|
"type": [
|
|
41
51
|
"string",
|
|
42
52
|
"number",
|
|
43
53
|
"boolean"
|
|
44
|
-
]
|
|
54
|
+
],
|
|
55
|
+
"description": "Primitive configuration value (string, number, or boolean). Limits depend on op."
|
|
56
|
+
},
|
|
57
|
+
"updates": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"description": "Categories mapped to item/value pairs (primitive values only), for example {\"Audio\": {\"Volume\": 80}}.",
|
|
60
|
+
"additionalProperties": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"description": "Item/value pairs of one category (primitive values only).",
|
|
63
|
+
"additionalProperties": {
|
|
64
|
+
"type": [
|
|
65
|
+
"string",
|
|
66
|
+
"number",
|
|
67
|
+
"boolean"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
45
71
|
},
|
|
46
72
|
"path": {
|
|
47
73
|
"type": "string",
|
|
@@ -128,465 +154,6 @@
|
|
|
128
154
|
"required": [
|
|
129
155
|
"op"
|
|
130
156
|
],
|
|
131
|
-
"description": "Configuration operations available via the c64_config tool.\n\nOperations:\n- list: List configuration categories reported by the firmware. Required inputs: none.\n- get: Read a configuration category or specific item. Required inputs: category. Optional inputs: item.\n- set: Write a configuration value in the selected category. Required inputs: category, item, value.\n- batch_update: Apply multiple configuration updates in a single request. Required inputs: none.\n- load_flash: Load configuration from flash storage. Required inputs: none.\n- save_flash: Persist the current configuration to flash storage. Required inputs: none.\n- reset_defaults: Reset firmware configuration to factory defaults. Required inputs: none.\n- read_debugreg: Read the Ultimate debug register ($D7FF). Required inputs: none.\n- write_debugreg: Write a hex value to the Ultimate debug register ($D7FF). Required inputs: value.\n- info: Retrieve Ultimate hardware information and status. Required inputs: none.\n- version: Fetch firmware version details. Required inputs: none.\n- snapshot: Snapshot configuration to disk for later restore or diff. Required inputs: path.\n- restore: Restore configuration from a snapshot file. Required inputs: path. Optional inputs: applyToFlash.\n- diff: Compare the current configuration with a snapshot. Required inputs: path.\n- shuffle: Discover PRG/CRT files and run each with optional screen capture. Required inputs: none. Optional inputs: root, extensions, durationMs, captureScreen, maxPrograms, outputPath, resetDelayMs.",
|
|
132
|
-
"additionalProperties": false
|
|
133
|
-
"x-c64bridge-operations": [
|
|
134
|
-
{
|
|
135
|
-
"op": "list",
|
|
136
|
-
"description": "List configuration categories reported by the firmware.",
|
|
137
|
-
"required": [],
|
|
138
|
-
"optional": [],
|
|
139
|
-
"inputSchema": {
|
|
140
|
-
"type": "object",
|
|
141
|
-
"description": "List configuration categories reported by the firmware.",
|
|
142
|
-
"properties": {
|
|
143
|
-
"op": {
|
|
144
|
-
"const": "list"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"additionalProperties": false,
|
|
148
|
-
"required": [
|
|
149
|
-
"op"
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"op": "get",
|
|
155
|
-
"description": "Read a configuration category or specific item.",
|
|
156
|
-
"required": [
|
|
157
|
-
"category"
|
|
158
|
-
],
|
|
159
|
-
"optional": [
|
|
160
|
-
"item"
|
|
161
|
-
],
|
|
162
|
-
"inputSchema": {
|
|
163
|
-
"type": "object",
|
|
164
|
-
"description": "Read a configuration category or specific item.",
|
|
165
|
-
"properties": {
|
|
166
|
-
"category": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"description": "Configuration category reported by the Ultimate firmware (e.g. 'Audio').",
|
|
169
|
-
"minLength": 1
|
|
170
|
-
},
|
|
171
|
-
"item": {
|
|
172
|
-
"type": [
|
|
173
|
-
"string",
|
|
174
|
-
"null"
|
|
175
|
-
],
|
|
176
|
-
"description": "Specific configuration item inside the selected category (e.g. 'Volume').",
|
|
177
|
-
"minLength": 1
|
|
178
|
-
},
|
|
179
|
-
"op": {
|
|
180
|
-
"const": "get"
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"required": [
|
|
184
|
-
"category",
|
|
185
|
-
"op"
|
|
186
|
-
],
|
|
187
|
-
"additionalProperties": false
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"op": "set",
|
|
192
|
-
"description": "Write a configuration value in the selected category.",
|
|
193
|
-
"required": [
|
|
194
|
-
"category",
|
|
195
|
-
"item",
|
|
196
|
-
"value"
|
|
197
|
-
],
|
|
198
|
-
"optional": [],
|
|
199
|
-
"inputSchema": {
|
|
200
|
-
"type": "object",
|
|
201
|
-
"description": "Write a configuration value in the selected category.",
|
|
202
|
-
"properties": {
|
|
203
|
-
"category": {
|
|
204
|
-
"type": "string",
|
|
205
|
-
"description": "Configuration category reported by the Ultimate firmware (e.g. 'Audio').",
|
|
206
|
-
"minLength": 1
|
|
207
|
-
},
|
|
208
|
-
"item": {
|
|
209
|
-
"type": "string",
|
|
210
|
-
"description": "Configuration item name inside the category.",
|
|
211
|
-
"minLength": 1
|
|
212
|
-
},
|
|
213
|
-
"value": {
|
|
214
|
-
"description": "Primitive configuration value (string, number, or boolean).",
|
|
215
|
-
"type": [
|
|
216
|
-
"string",
|
|
217
|
-
"number",
|
|
218
|
-
"boolean"
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
|
-
"op": {
|
|
222
|
-
"const": "set"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"required": [
|
|
226
|
-
"category",
|
|
227
|
-
"item",
|
|
228
|
-
"value",
|
|
229
|
-
"op"
|
|
230
|
-
],
|
|
231
|
-
"additionalProperties": false
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"op": "batch_update",
|
|
236
|
-
"description": "Apply multiple configuration updates in a single request.",
|
|
237
|
-
"required": [],
|
|
238
|
-
"optional": [],
|
|
239
|
-
"inputSchema": {
|
|
240
|
-
"description": "Apply multiple configuration updates in a single request.",
|
|
241
|
-
"type": "object",
|
|
242
|
-
"additionalProperties": {
|
|
243
|
-
"type": "object",
|
|
244
|
-
"additionalProperties": {
|
|
245
|
-
"type": [
|
|
246
|
-
"string",
|
|
247
|
-
"number",
|
|
248
|
-
"boolean"
|
|
249
|
-
]
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"properties": {
|
|
253
|
-
"op": {
|
|
254
|
-
"const": "batch_update"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"required": [
|
|
258
|
-
"op"
|
|
259
|
-
]
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"op": "load_flash",
|
|
264
|
-
"description": "Load configuration from flash storage.",
|
|
265
|
-
"required": [],
|
|
266
|
-
"optional": [],
|
|
267
|
-
"inputSchema": {
|
|
268
|
-
"type": "object",
|
|
269
|
-
"description": "Load configuration from flash storage.",
|
|
270
|
-
"properties": {
|
|
271
|
-
"op": {
|
|
272
|
-
"const": "load_flash"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"additionalProperties": false,
|
|
276
|
-
"required": [
|
|
277
|
-
"op"
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"op": "save_flash",
|
|
283
|
-
"description": "Persist the current configuration to flash storage.",
|
|
284
|
-
"required": [],
|
|
285
|
-
"optional": [],
|
|
286
|
-
"inputSchema": {
|
|
287
|
-
"type": "object",
|
|
288
|
-
"description": "Persist the current configuration to flash storage.",
|
|
289
|
-
"properties": {
|
|
290
|
-
"op": {
|
|
291
|
-
"const": "save_flash"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
"additionalProperties": false,
|
|
295
|
-
"required": [
|
|
296
|
-
"op"
|
|
297
|
-
]
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"op": "reset_defaults",
|
|
302
|
-
"description": "Reset firmware configuration to factory defaults.",
|
|
303
|
-
"required": [],
|
|
304
|
-
"optional": [],
|
|
305
|
-
"inputSchema": {
|
|
306
|
-
"type": "object",
|
|
307
|
-
"description": "Reset firmware configuration to factory defaults.",
|
|
308
|
-
"properties": {
|
|
309
|
-
"op": {
|
|
310
|
-
"const": "reset_defaults"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"additionalProperties": false,
|
|
314
|
-
"required": [
|
|
315
|
-
"op"
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"op": "read_debugreg",
|
|
321
|
-
"description": "Read the Ultimate debug register ($D7FF).",
|
|
322
|
-
"required": [],
|
|
323
|
-
"optional": [],
|
|
324
|
-
"inputSchema": {
|
|
325
|
-
"type": "object",
|
|
326
|
-
"description": "Read the Ultimate debug register ($D7FF).",
|
|
327
|
-
"properties": {
|
|
328
|
-
"op": {
|
|
329
|
-
"const": "read_debugreg"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"additionalProperties": false,
|
|
333
|
-
"required": [
|
|
334
|
-
"op"
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"op": "write_debugreg",
|
|
340
|
-
"description": "Write a hex value to the Ultimate debug register ($D7FF).",
|
|
341
|
-
"required": [
|
|
342
|
-
"value"
|
|
343
|
-
],
|
|
344
|
-
"optional": [],
|
|
345
|
-
"inputSchema": {
|
|
346
|
-
"type": "object",
|
|
347
|
-
"description": "Write a hex value to the Ultimate debug register ($D7FF).",
|
|
348
|
-
"properties": {
|
|
349
|
-
"value": {
|
|
350
|
-
"type": "string",
|
|
351
|
-
"description": "Hex value (00-FF) to write to the debug register.",
|
|
352
|
-
"minLength": 1,
|
|
353
|
-
"maxLength": 2,
|
|
354
|
-
"pattern": "^[0-9A-Fa-f]{1,2}$"
|
|
355
|
-
},
|
|
356
|
-
"op": {
|
|
357
|
-
"const": "write_debugreg"
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
"required": [
|
|
361
|
-
"value",
|
|
362
|
-
"op"
|
|
363
|
-
],
|
|
364
|
-
"additionalProperties": false
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"op": "info",
|
|
369
|
-
"description": "Retrieve Ultimate hardware information and status.",
|
|
370
|
-
"required": [],
|
|
371
|
-
"optional": [],
|
|
372
|
-
"inputSchema": {
|
|
373
|
-
"type": "object",
|
|
374
|
-
"description": "Retrieve Ultimate hardware information and status.",
|
|
375
|
-
"properties": {
|
|
376
|
-
"op": {
|
|
377
|
-
"const": "info"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
"additionalProperties": false,
|
|
381
|
-
"required": [
|
|
382
|
-
"op"
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"op": "version",
|
|
388
|
-
"description": "Fetch firmware version details.",
|
|
389
|
-
"required": [],
|
|
390
|
-
"optional": [],
|
|
391
|
-
"inputSchema": {
|
|
392
|
-
"type": "object",
|
|
393
|
-
"description": "Fetch firmware version details.",
|
|
394
|
-
"properties": {
|
|
395
|
-
"op": {
|
|
396
|
-
"const": "version"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"additionalProperties": false,
|
|
400
|
-
"required": [
|
|
401
|
-
"op"
|
|
402
|
-
]
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"op": "snapshot",
|
|
407
|
-
"description": "Snapshot configuration to disk for later restore or diff.",
|
|
408
|
-
"required": [
|
|
409
|
-
"path"
|
|
410
|
-
],
|
|
411
|
-
"optional": [],
|
|
412
|
-
"inputSchema": {
|
|
413
|
-
"type": "object",
|
|
414
|
-
"description": "Snapshot configuration to disk for later restore or diff.",
|
|
415
|
-
"properties": {
|
|
416
|
-
"path": {
|
|
417
|
-
"type": "string",
|
|
418
|
-
"description": "Absolute or workspace-relative path where the snapshot file will be written.",
|
|
419
|
-
"minLength": 1
|
|
420
|
-
},
|
|
421
|
-
"op": {
|
|
422
|
-
"const": "snapshot"
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
"required": [
|
|
426
|
-
"path",
|
|
427
|
-
"op"
|
|
428
|
-
],
|
|
429
|
-
"additionalProperties": false
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"op": "restore",
|
|
434
|
-
"description": "Restore configuration from a snapshot file.",
|
|
435
|
-
"required": [
|
|
436
|
-
"path"
|
|
437
|
-
],
|
|
438
|
-
"optional": [
|
|
439
|
-
"applyToFlash"
|
|
440
|
-
],
|
|
441
|
-
"inputSchema": {
|
|
442
|
-
"type": "object",
|
|
443
|
-
"description": "Restore configuration from a snapshot file.",
|
|
444
|
-
"properties": {
|
|
445
|
-
"path": {
|
|
446
|
-
"type": "string",
|
|
447
|
-
"description": "Snapshot file to read (must contain categories payload).",
|
|
448
|
-
"minLength": 1
|
|
449
|
-
},
|
|
450
|
-
"applyToFlash": {
|
|
451
|
-
"type": [
|
|
452
|
-
"boolean",
|
|
453
|
-
"null"
|
|
454
|
-
],
|
|
455
|
-
"description": "When true, save the restored configuration to flash immediately (C64U/U64 and U2 only).",
|
|
456
|
-
"default": false
|
|
457
|
-
},
|
|
458
|
-
"op": {
|
|
459
|
-
"const": "restore"
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"required": [
|
|
463
|
-
"path",
|
|
464
|
-
"op"
|
|
465
|
-
],
|
|
466
|
-
"additionalProperties": false
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"op": "diff",
|
|
471
|
-
"description": "Compare the current configuration with a snapshot.",
|
|
472
|
-
"required": [
|
|
473
|
-
"path"
|
|
474
|
-
],
|
|
475
|
-
"optional": [],
|
|
476
|
-
"inputSchema": {
|
|
477
|
-
"type": "object",
|
|
478
|
-
"description": "Compare the current configuration with a snapshot.",
|
|
479
|
-
"properties": {
|
|
480
|
-
"path": {
|
|
481
|
-
"type": "string",
|
|
482
|
-
"description": "Snapshot file to compare with.",
|
|
483
|
-
"minLength": 1
|
|
484
|
-
},
|
|
485
|
-
"op": {
|
|
486
|
-
"const": "diff"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
"required": [
|
|
490
|
-
"path",
|
|
491
|
-
"op"
|
|
492
|
-
],
|
|
493
|
-
"additionalProperties": false
|
|
494
|
-
}
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"op": "shuffle",
|
|
498
|
-
"description": "Discover PRG/CRT files and run each with optional screen capture.",
|
|
499
|
-
"required": [],
|
|
500
|
-
"optional": [
|
|
501
|
-
"root",
|
|
502
|
-
"extensions",
|
|
503
|
-
"durationMs",
|
|
504
|
-
"captureScreen",
|
|
505
|
-
"maxPrograms",
|
|
506
|
-
"outputPath",
|
|
507
|
-
"resetDelayMs"
|
|
508
|
-
],
|
|
509
|
-
"inputSchema": {
|
|
510
|
-
"type": "object",
|
|
511
|
-
"description": "Discover PRG/CRT files and run each with optional screen capture.",
|
|
512
|
-
"properties": {
|
|
513
|
-
"root": {
|
|
514
|
-
"type": [
|
|
515
|
-
"string",
|
|
516
|
-
"null"
|
|
517
|
-
],
|
|
518
|
-
"description": "Root path to search for programs",
|
|
519
|
-
"minLength": 1,
|
|
520
|
-
"default": "/"
|
|
521
|
-
},
|
|
522
|
-
"extensions": {
|
|
523
|
-
"type": [
|
|
524
|
-
"array",
|
|
525
|
-
"null"
|
|
526
|
-
],
|
|
527
|
-
"items": {
|
|
528
|
-
"type": "string",
|
|
529
|
-
"description": "File extensions to include (without dot)",
|
|
530
|
-
"minLength": 1
|
|
531
|
-
},
|
|
532
|
-
"default": [
|
|
533
|
-
"prg",
|
|
534
|
-
"crt"
|
|
535
|
-
]
|
|
536
|
-
},
|
|
537
|
-
"durationMs": {
|
|
538
|
-
"type": [
|
|
539
|
-
"integer",
|
|
540
|
-
"null"
|
|
541
|
-
],
|
|
542
|
-
"description": "Duration to run each program in milliseconds",
|
|
543
|
-
"minimum": 1,
|
|
544
|
-
"default": 5000
|
|
545
|
-
},
|
|
546
|
-
"captureScreen": {
|
|
547
|
-
"type": [
|
|
548
|
-
"boolean",
|
|
549
|
-
"null"
|
|
550
|
-
],
|
|
551
|
-
"description": "Capture screen after each run",
|
|
552
|
-
"default": true
|
|
553
|
-
},
|
|
554
|
-
"maxPrograms": {
|
|
555
|
-
"type": [
|
|
556
|
-
"integer",
|
|
557
|
-
"null"
|
|
558
|
-
],
|
|
559
|
-
"description": "Maximum number of programs to run",
|
|
560
|
-
"minimum": 1,
|
|
561
|
-
"default": 10
|
|
562
|
-
},
|
|
563
|
-
"outputPath": {
|
|
564
|
-
"type": [
|
|
565
|
-
"string",
|
|
566
|
-
"null"
|
|
567
|
-
],
|
|
568
|
-
"description": "Output directory for run logs and captures",
|
|
569
|
-
"minLength": 1
|
|
570
|
-
},
|
|
571
|
-
"resetDelayMs": {
|
|
572
|
-
"type": [
|
|
573
|
-
"integer",
|
|
574
|
-
"null"
|
|
575
|
-
],
|
|
576
|
-
"description": "Delay after reset operations to allow the platform to settle.",
|
|
577
|
-
"minimum": 0,
|
|
578
|
-
"maximum": 1000,
|
|
579
|
-
"default": 100
|
|
580
|
-
},
|
|
581
|
-
"op": {
|
|
582
|
-
"const": "shuffle"
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
"additionalProperties": false,
|
|
586
|
-
"required": [
|
|
587
|
-
"op"
|
|
588
|
-
]
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
]
|
|
157
|
+
"description": "Configuration operations available via the c64_config tool.\n\nOperations:\n- list: List configuration categories reported by the firmware. Required inputs: none.\n- get: Read a configuration category or specific item. Required inputs: category. Optional inputs: item, includeSecretValues.\n- set [write]: Write a configuration value in the selected category. Required inputs: category, item, value.\n- batch_update [write]: Apply multiple configuration updates in a single request. Pass `updates` as {category: {item: value}}; categories as top-level keys are still accepted at runtime. Required inputs: none. Optional inputs: updates.\n- load_flash [c64u, u2] [destructive]: Load configuration from flash storage. Required inputs: none. Optional inputs: category.\n- save_flash [c64u, u2] [destructive]: Persist the current configuration to flash storage. Required inputs: none. Optional inputs: category.\n- reset_defaults [c64u, u2] [destructive]: Reset firmware configuration to factory defaults. Required inputs: none. Optional inputs: category.\n- read_debugreg [c64u]: Read the Ultimate debug register ($D7FF). Required inputs: none.\n- write_debugreg [c64u] [destructive]: Write a hex value to the Ultimate debug register ($D7FF). Required inputs: value.\n- info: Retrieve Ultimate hardware information and status. Required inputs: none.\n- version: Fetch firmware version details. Required inputs: none.\n- snapshot [write]: Snapshot configuration to disk for later restore or diff. Required inputs: path.\n- restore [write]: Restore configuration from a snapshot file. Required inputs: path. Optional inputs: applyToFlash.\n- diff: Compare the current configuration with a snapshot. Required inputs: path.\n- shuffle [c64u, u2] [write]: Discover PRG/CRT files and run each with optional screen capture. Required inputs: none. Optional inputs: root, extensions, durationMs, captureScreen, maxPrograms, outputPath, resetDelayMs.",
|
|
158
|
+
"additionalProperties": false
|
|
592
159
|
}
|