c64bridge 0.9.0 → 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/README.md +158 -164
- package/data/vice/vice-binary-monitor-spec.md +21 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/c64Client.js +76 -2
- package/dist/device.js +43 -3
- package/dist/rag/indexer.js +18 -8
- package/dist/sidwaveCompiler.js +1 -1
- package/dist/{assemblyConverter.js → tools/assember.js} +10 -1
- package/dist/{basicConverter.js → tools/basicTokenizer.js} +1 -1
- package/dist/tools/debug.js +158 -5
- package/dist/tools/disassembler.js +478 -0
- package/dist/tools/input.js +338 -0
- package/dist/tools/memory.js +317 -1
- package/dist/tools/programRunners.js +45 -6
- package/dist/tools/registry/batch.js +167 -0
- package/dist/tools/registry/graphics.js +101 -1
- package/dist/tools/registry/index.js +4 -0
- package/dist/tools/registry/input.js +2 -0
- package/dist/tools/registry/memory.js +61 -1
- package/dist/tools/schema.js +4 -5
- package/dist/tools/symbolRegistry.js +49 -0
- package/dist/tools/types.js +19 -4
- package/dist/vice/process.js +43 -2
- package/dist/vice/viceClient.js +5 -1
- package/mcp/schemas/c64_batch.schema.json +53 -0
- package/mcp/schemas/c64_config.schema.json +461 -2
- package/mcp/schemas/c64_debug.schema.json +641 -3
- package/mcp/schemas/c64_disk.schema.json +340 -2
- package/mcp/schemas/c64_drive.schema.json +157 -2
- package/mcp/schemas/c64_extract.schema.json +359 -2
- package/mcp/schemas/c64_graphics.schema.json +415 -3
- package/mcp/schemas/c64_input.schema.json +136 -0
- package/mcp/schemas/c64_memory.schema.json +562 -3
- package/mcp/schemas/c64_printer.schema.json +253 -2
- package/mcp/schemas/c64_program.schema.json +499 -2
- package/mcp/schemas/c64_rag.schema.json +82 -2
- package/mcp/schemas/c64_select_backend.schema.json +35 -2
- package/mcp/schemas/c64_sound.schema.json +793 -2
- package/mcp/schemas/c64_stream.schema.json +73 -2
- package/mcp/schemas/c64_system.schema.json +301 -2
- package/mcp/schemas/c64_vice.schema.json +71 -2
- package/mcp/server.json +1 -1
- package/mcp/tools.json +6718 -1257
- package/mcp.json +1 -1
- package/package.json +1 -1
- package/scripts/run-coverage.mjs +7 -0
- package/scripts/run-tests.ts +2 -0
- package/scripts/update-readme.ts +79 -2
- package/server.json +2 -2
|
@@ -20,6 +20,14 @@
|
|
|
20
20
|
"description": "Path to the PRG image. Use an Ultimate-visible filesystem path on c64u, or a host-local filesystem path on VICE.",
|
|
21
21
|
"minLength": 1
|
|
22
22
|
},
|
|
23
|
+
"symbolsFile": {
|
|
24
|
+
"type": [
|
|
25
|
+
"string",
|
|
26
|
+
"null"
|
|
27
|
+
],
|
|
28
|
+
"description": "Path to a VICE symbol file (.vs) to load alongside the PRG. Symbols are used by the disassemble tool when annotating addresses.",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
23
31
|
"program": {
|
|
24
32
|
"type": "string",
|
|
25
33
|
"description": "Commodore BASIC v2 program source to upload and run.",
|
|
@@ -248,6 +256,495 @@
|
|
|
248
256
|
"required": [
|
|
249
257
|
"op"
|
|
250
258
|
],
|
|
251
|
-
"description": "Program operations available via the c64_program tool.\n\nOperations:\n- load_prg: Load a PRG from Ultimate storage without executing it.\n- run_prg: Load and execute a PRG from Ultimate-visible storage on c64u or a host-local path on VICE.\n- run_crt: Mount and run a CRT cartridge image.\n- upload_run_basic: Upload Commodore BASIC v2 source and execute it immediately.\n- upload_run_asm: Assemble 6502/6510 source, upload the PRG, and execute it.\n- batch_run: Run multiple PRG/CRT programs with post-run assertions.\n- bundle_run: Capture screen, memory, and debug registers into an artifact bundle.\n- cross_platform_greeting: Show a platform-customized greeting on one or more configured backends, capture screenshots, and verify the results.",
|
|
252
|
-
"additionalProperties": false
|
|
259
|
+
"description": "Program operations available via the c64_program tool.\n\nOperations:\n- load_prg: Load a PRG from Ultimate storage without executing it. Required inputs: path. Optional inputs: symbolsFile.\n- run_prg: Load and execute a PRG from Ultimate-visible storage on c64u or a host-local path on VICE. Required inputs: path. Optional inputs: symbolsFile.\n- run_crt: Mount and run a CRT cartridge image. Required inputs: path.\n- upload_run_basic: Upload Commodore BASIC v2 source and execute it immediately. Required inputs: program. Optional inputs: verify.\n- upload_run_asm: Assemble 6502/6510 source, upload the PRG, and execute it. Required inputs: program. Optional inputs: verify.\n- batch_run: Run multiple PRG/CRT programs with post-run assertions. Required inputs: programs. Optional inputs: continueOnError, durationMs, outputPath, resetDelayMs.\n- bundle_run: Capture screen, memory, and debug registers into an artifact bundle. Required inputs: runId, outputPath. Optional inputs: captureScreen, memoryRanges, captureDebugReg.\n- cross_platform_greeting: Show a platform-customized greeting on one or more configured backends, capture screenshots, and verify the results. Required inputs: none. Optional inputs: platforms, messageTemplate, verify, captureScreenshot, outputPath, restoreActiveBackend, timeoutMs, pollIntervalMs.",
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"x-c64bridge-operations": [
|
|
262
|
+
{
|
|
263
|
+
"op": "load_prg",
|
|
264
|
+
"description": "Load a PRG from Ultimate storage without executing it.",
|
|
265
|
+
"required": [
|
|
266
|
+
"path"
|
|
267
|
+
],
|
|
268
|
+
"optional": [
|
|
269
|
+
"symbolsFile"
|
|
270
|
+
],
|
|
271
|
+
"inputSchema": {
|
|
272
|
+
"type": "object",
|
|
273
|
+
"description": "Load a PRG from Ultimate storage without executing it.",
|
|
274
|
+
"properties": {
|
|
275
|
+
"path": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"description": "Path to the PRG image. Use an Ultimate-visible filesystem path on c64u, or a host-local filesystem path on VICE.",
|
|
278
|
+
"minLength": 1
|
|
279
|
+
},
|
|
280
|
+
"symbolsFile": {
|
|
281
|
+
"type": [
|
|
282
|
+
"string",
|
|
283
|
+
"null"
|
|
284
|
+
],
|
|
285
|
+
"description": "Path to a VICE symbol file (.vs) to load alongside the PRG. Symbols are used by the disassemble tool when annotating addresses.",
|
|
286
|
+
"minLength": 1
|
|
287
|
+
},
|
|
288
|
+
"op": {
|
|
289
|
+
"const": "load_prg"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"required": [
|
|
293
|
+
"path",
|
|
294
|
+
"op"
|
|
295
|
+
],
|
|
296
|
+
"additionalProperties": false
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"op": "run_prg",
|
|
301
|
+
"description": "Load and execute a PRG from Ultimate-visible storage on c64u or a host-local path on VICE.",
|
|
302
|
+
"required": [
|
|
303
|
+
"path"
|
|
304
|
+
],
|
|
305
|
+
"optional": [
|
|
306
|
+
"symbolsFile"
|
|
307
|
+
],
|
|
308
|
+
"inputSchema": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"description": "Load and execute a PRG from Ultimate-visible storage on c64u or a host-local path on VICE.",
|
|
311
|
+
"properties": {
|
|
312
|
+
"path": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"description": "Path to the PRG image. Use an Ultimate-visible filesystem path on c64u, or a host-local filesystem path on VICE.",
|
|
315
|
+
"minLength": 1
|
|
316
|
+
},
|
|
317
|
+
"symbolsFile": {
|
|
318
|
+
"type": [
|
|
319
|
+
"string",
|
|
320
|
+
"null"
|
|
321
|
+
],
|
|
322
|
+
"description": "Path to a VICE symbol file (.vs) to load alongside the PRG. Symbols are used by the disassemble tool when annotating addresses.",
|
|
323
|
+
"minLength": 1
|
|
324
|
+
},
|
|
325
|
+
"op": {
|
|
326
|
+
"const": "run_prg"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"required": [
|
|
330
|
+
"path",
|
|
331
|
+
"op"
|
|
332
|
+
],
|
|
333
|
+
"additionalProperties": false
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"op": "run_crt",
|
|
338
|
+
"description": "Mount and run a CRT cartridge image.",
|
|
339
|
+
"required": [
|
|
340
|
+
"path"
|
|
341
|
+
],
|
|
342
|
+
"optional": [],
|
|
343
|
+
"inputSchema": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"description": "Mount and run a CRT cartridge image.",
|
|
346
|
+
"properties": {
|
|
347
|
+
"path": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"description": "Path to the CRT image on Ultimate-visible storage. CRT mounting is only supported on c64u.",
|
|
350
|
+
"minLength": 1
|
|
351
|
+
},
|
|
352
|
+
"op": {
|
|
353
|
+
"const": "run_crt"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"required": [
|
|
357
|
+
"path",
|
|
358
|
+
"op"
|
|
359
|
+
],
|
|
360
|
+
"additionalProperties": false
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"op": "upload_run_basic",
|
|
365
|
+
"description": "Upload Commodore BASIC v2 source and execute it immediately.",
|
|
366
|
+
"required": [
|
|
367
|
+
"program"
|
|
368
|
+
],
|
|
369
|
+
"optional": [
|
|
370
|
+
"verify"
|
|
371
|
+
],
|
|
372
|
+
"inputSchema": {
|
|
373
|
+
"type": "object",
|
|
374
|
+
"description": "Upload Commodore BASIC v2 source and execute it immediately.",
|
|
375
|
+
"properties": {
|
|
376
|
+
"program": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"description": "Commodore BASIC v2 program source to upload and run.",
|
|
379
|
+
"minLength": 1
|
|
380
|
+
},
|
|
381
|
+
"verify": {
|
|
382
|
+
"type": "boolean",
|
|
383
|
+
"description": "Run post-execution polling to ensure the BASIC program executed without errors.",
|
|
384
|
+
"default": false
|
|
385
|
+
},
|
|
386
|
+
"op": {
|
|
387
|
+
"const": "upload_run_basic"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"required": [
|
|
391
|
+
"program",
|
|
392
|
+
"op"
|
|
393
|
+
],
|
|
394
|
+
"additionalProperties": false
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"op": "upload_run_asm",
|
|
399
|
+
"description": "Assemble 6502/6510 source, upload the PRG, and execute it.",
|
|
400
|
+
"required": [
|
|
401
|
+
"program"
|
|
402
|
+
],
|
|
403
|
+
"optional": [
|
|
404
|
+
"verify"
|
|
405
|
+
],
|
|
406
|
+
"inputSchema": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"description": "Assemble 6502/6510 source, upload the PRG, and execute it.",
|
|
409
|
+
"properties": {
|
|
410
|
+
"program": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"description": "Assembly source that will be assembled to a PRG and executed.",
|
|
413
|
+
"minLength": 1
|
|
414
|
+
},
|
|
415
|
+
"verify": {
|
|
416
|
+
"type": "boolean",
|
|
417
|
+
"description": "Run post-execution polling to confirm the assembly program remained stable.",
|
|
418
|
+
"default": false
|
|
419
|
+
},
|
|
420
|
+
"op": {
|
|
421
|
+
"const": "upload_run_asm"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"required": [
|
|
425
|
+
"program",
|
|
426
|
+
"op"
|
|
427
|
+
],
|
|
428
|
+
"additionalProperties": false
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"op": "batch_run",
|
|
433
|
+
"description": "Run multiple PRG/CRT programs with post-run assertions.",
|
|
434
|
+
"required": [
|
|
435
|
+
"programs"
|
|
436
|
+
],
|
|
437
|
+
"optional": [
|
|
438
|
+
"continueOnError",
|
|
439
|
+
"durationMs",
|
|
440
|
+
"outputPath",
|
|
441
|
+
"resetDelayMs"
|
|
442
|
+
],
|
|
443
|
+
"inputSchema": {
|
|
444
|
+
"type": "object",
|
|
445
|
+
"description": "Run multiple PRG/CRT programs with post-run assertions.",
|
|
446
|
+
"properties": {
|
|
447
|
+
"programs": {
|
|
448
|
+
"type": "array",
|
|
449
|
+
"items": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"description": "Program to run with assertions",
|
|
452
|
+
"properties": {
|
|
453
|
+
"path": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"description": "Program path (PRG or CRT)",
|
|
456
|
+
"minLength": 1
|
|
457
|
+
},
|
|
458
|
+
"assertions": {
|
|
459
|
+
"type": [
|
|
460
|
+
"array",
|
|
461
|
+
"null"
|
|
462
|
+
],
|
|
463
|
+
"items": {
|
|
464
|
+
"type": "object",
|
|
465
|
+
"description": "Assertion to check after run",
|
|
466
|
+
"properties": {
|
|
467
|
+
"type": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "Assertion type",
|
|
470
|
+
"enum": [
|
|
471
|
+
"screen_contains",
|
|
472
|
+
"memory_equals",
|
|
473
|
+
"sid_silent"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"pattern": {
|
|
477
|
+
"type": [
|
|
478
|
+
"string",
|
|
479
|
+
"null"
|
|
480
|
+
],
|
|
481
|
+
"description": "Pattern for screen_contains",
|
|
482
|
+
"minLength": 1
|
|
483
|
+
},
|
|
484
|
+
"address": {
|
|
485
|
+
"type": [
|
|
486
|
+
"string",
|
|
487
|
+
"null"
|
|
488
|
+
],
|
|
489
|
+
"description": "Address for memory_equals",
|
|
490
|
+
"minLength": 1
|
|
491
|
+
},
|
|
492
|
+
"expected": {
|
|
493
|
+
"type": [
|
|
494
|
+
"string",
|
|
495
|
+
"null"
|
|
496
|
+
],
|
|
497
|
+
"description": "Expected value (hex)",
|
|
498
|
+
"minLength": 1
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": [
|
|
502
|
+
"type"
|
|
503
|
+
],
|
|
504
|
+
"additionalProperties": false
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"required": [
|
|
509
|
+
"path"
|
|
510
|
+
],
|
|
511
|
+
"additionalProperties": false
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"continueOnError": {
|
|
515
|
+
"type": [
|
|
516
|
+
"boolean",
|
|
517
|
+
"null"
|
|
518
|
+
],
|
|
519
|
+
"description": "Continue running programs after assertion failure",
|
|
520
|
+
"default": false
|
|
521
|
+
},
|
|
522
|
+
"durationMs": {
|
|
523
|
+
"type": [
|
|
524
|
+
"integer",
|
|
525
|
+
"null"
|
|
526
|
+
],
|
|
527
|
+
"description": "Duration to run each program before assertions",
|
|
528
|
+
"minimum": 1,
|
|
529
|
+
"default": 2000
|
|
530
|
+
},
|
|
531
|
+
"outputPath": {
|
|
532
|
+
"type": [
|
|
533
|
+
"string",
|
|
534
|
+
"null"
|
|
535
|
+
],
|
|
536
|
+
"description": "Output directory for test results",
|
|
537
|
+
"minLength": 1
|
|
538
|
+
},
|
|
539
|
+
"resetDelayMs": {
|
|
540
|
+
"type": [
|
|
541
|
+
"integer",
|
|
542
|
+
"null"
|
|
543
|
+
],
|
|
544
|
+
"description": "Delay after reset operations to allow the platform to settle.",
|
|
545
|
+
"minimum": 0,
|
|
546
|
+
"maximum": 1000,
|
|
547
|
+
"default": 100
|
|
548
|
+
},
|
|
549
|
+
"op": {
|
|
550
|
+
"const": "batch_run"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"required": [
|
|
554
|
+
"programs",
|
|
555
|
+
"op"
|
|
556
|
+
],
|
|
557
|
+
"additionalProperties": false
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"op": "bundle_run",
|
|
562
|
+
"description": "Capture screen, memory, and debug registers into an artifact bundle.",
|
|
563
|
+
"required": [
|
|
564
|
+
"runId",
|
|
565
|
+
"outputPath"
|
|
566
|
+
],
|
|
567
|
+
"optional": [
|
|
568
|
+
"captureScreen",
|
|
569
|
+
"memoryRanges",
|
|
570
|
+
"captureDebugReg"
|
|
571
|
+
],
|
|
572
|
+
"inputSchema": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"description": "Capture screen, memory, and debug registers into an artifact bundle.",
|
|
575
|
+
"properties": {
|
|
576
|
+
"runId": {
|
|
577
|
+
"type": "string",
|
|
578
|
+
"description": "Unique identifier for this run",
|
|
579
|
+
"minLength": 1
|
|
580
|
+
},
|
|
581
|
+
"outputPath": {
|
|
582
|
+
"type": "string",
|
|
583
|
+
"description": "Output directory for artifacts bundle",
|
|
584
|
+
"minLength": 1
|
|
585
|
+
},
|
|
586
|
+
"captureScreen": {
|
|
587
|
+
"type": [
|
|
588
|
+
"boolean",
|
|
589
|
+
"null"
|
|
590
|
+
],
|
|
591
|
+
"description": "Capture screen content",
|
|
592
|
+
"default": true
|
|
593
|
+
},
|
|
594
|
+
"memoryRanges": {
|
|
595
|
+
"type": [
|
|
596
|
+
"array",
|
|
597
|
+
"null"
|
|
598
|
+
],
|
|
599
|
+
"items": {
|
|
600
|
+
"type": "object",
|
|
601
|
+
"description": "Memory range to snapshot",
|
|
602
|
+
"properties": {
|
|
603
|
+
"address": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"description": "Start address",
|
|
606
|
+
"minLength": 1
|
|
607
|
+
},
|
|
608
|
+
"length": {
|
|
609
|
+
"type": "integer",
|
|
610
|
+
"description": "Length in bytes",
|
|
611
|
+
"minimum": 1
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"address",
|
|
616
|
+
"length"
|
|
617
|
+
],
|
|
618
|
+
"additionalProperties": false
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"captureDebugReg": {
|
|
622
|
+
"type": [
|
|
623
|
+
"boolean",
|
|
624
|
+
"null"
|
|
625
|
+
],
|
|
626
|
+
"description": "Capture debugreg state",
|
|
627
|
+
"default": true
|
|
628
|
+
},
|
|
629
|
+
"op": {
|
|
630
|
+
"const": "bundle_run"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"required": [
|
|
634
|
+
"runId",
|
|
635
|
+
"outputPath",
|
|
636
|
+
"op"
|
|
637
|
+
],
|
|
638
|
+
"additionalProperties": false
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"op": "cross_platform_greeting",
|
|
643
|
+
"description": "Show a platform-customized greeting on one or more configured backends, capture screenshots, and verify the results.",
|
|
644
|
+
"required": [],
|
|
645
|
+
"optional": [
|
|
646
|
+
"platforms",
|
|
647
|
+
"messageTemplate",
|
|
648
|
+
"verify",
|
|
649
|
+
"captureScreenshot",
|
|
650
|
+
"outputPath",
|
|
651
|
+
"restoreActiveBackend",
|
|
652
|
+
"timeoutMs",
|
|
653
|
+
"pollIntervalMs"
|
|
654
|
+
],
|
|
655
|
+
"inputSchema": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"description": "Show a platform-customized greeting on one or more configured backends, capture screenshots, and verify the results.",
|
|
658
|
+
"properties": {
|
|
659
|
+
"platforms": {
|
|
660
|
+
"type": [
|
|
661
|
+
"array",
|
|
662
|
+
"null"
|
|
663
|
+
],
|
|
664
|
+
"items": {
|
|
665
|
+
"type": "string",
|
|
666
|
+
"description": "Backends to target in sequence.",
|
|
667
|
+
"minLength": 1,
|
|
668
|
+
"enum": [
|
|
669
|
+
"vice",
|
|
670
|
+
"c64u"
|
|
671
|
+
]
|
|
672
|
+
},
|
|
673
|
+
"default": [
|
|
674
|
+
"vice",
|
|
675
|
+
"c64u"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"messageTemplate": {
|
|
679
|
+
"type": [
|
|
680
|
+
"string",
|
|
681
|
+
"null"
|
|
682
|
+
],
|
|
683
|
+
"description": "Greeting template. Use {PLATFORM}/{BACKEND} for uppercase or {platform}/{backend} for lowercase substitution.",
|
|
684
|
+
"minLength": 1,
|
|
685
|
+
"default": "HAVE A GREAT DAY, {PLATFORM}!"
|
|
686
|
+
},
|
|
687
|
+
"verify": {
|
|
688
|
+
"type": [
|
|
689
|
+
"boolean",
|
|
690
|
+
"null"
|
|
691
|
+
],
|
|
692
|
+
"description": "Poll the text screen and require the rendered greeting to appear.",
|
|
693
|
+
"default": true
|
|
694
|
+
},
|
|
695
|
+
"captureScreenshot": {
|
|
696
|
+
"type": [
|
|
697
|
+
"boolean",
|
|
698
|
+
"null"
|
|
699
|
+
],
|
|
700
|
+
"description": "Capture a framebuffer screenshot and save it as a PNG per backend.",
|
|
701
|
+
"default": true
|
|
702
|
+
},
|
|
703
|
+
"outputPath": {
|
|
704
|
+
"type": [
|
|
705
|
+
"string",
|
|
706
|
+
"null"
|
|
707
|
+
],
|
|
708
|
+
"description": "Directory for screenshots and the workflow summary JSON.",
|
|
709
|
+
"minLength": 1
|
|
710
|
+
},
|
|
711
|
+
"restoreActiveBackend": {
|
|
712
|
+
"type": [
|
|
713
|
+
"boolean",
|
|
714
|
+
"null"
|
|
715
|
+
],
|
|
716
|
+
"description": "Restore the backend that was active before the workflow started.",
|
|
717
|
+
"default": true
|
|
718
|
+
},
|
|
719
|
+
"timeoutMs": {
|
|
720
|
+
"type": [
|
|
721
|
+
"integer",
|
|
722
|
+
"null"
|
|
723
|
+
],
|
|
724
|
+
"description": "Maximum time to wait for each greeting to appear on screen.",
|
|
725
|
+
"minimum": 100,
|
|
726
|
+
"maximum": 5000,
|
|
727
|
+
"default": 1500
|
|
728
|
+
},
|
|
729
|
+
"pollIntervalMs": {
|
|
730
|
+
"type": [
|
|
731
|
+
"integer",
|
|
732
|
+
"null"
|
|
733
|
+
],
|
|
734
|
+
"description": "Delay between screen polls while verifying the greeting.",
|
|
735
|
+
"minimum": 50,
|
|
736
|
+
"maximum": 1000,
|
|
737
|
+
"default": 100
|
|
738
|
+
},
|
|
739
|
+
"op": {
|
|
740
|
+
"const": "cross_platform_greeting"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"additionalProperties": false,
|
|
744
|
+
"required": [
|
|
745
|
+
"op"
|
|
746
|
+
]
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
]
|
|
253
750
|
}
|
|
@@ -28,6 +28,86 @@
|
|
|
28
28
|
"required": [
|
|
29
29
|
"op"
|
|
30
30
|
],
|
|
31
|
-
"description": "RAG operations available via the c64_rag tool.\n\nOperations:\n- basic: Retrieve BASIC references and snippets from the local knowledge base.\n- asm: Retrieve 6502/6510 assembly references from the local knowledge base.",
|
|
32
|
-
"additionalProperties": false
|
|
31
|
+
"description": "RAG operations available via the c64_rag tool.\n\nOperations:\n- basic: Retrieve BASIC references and snippets from the local knowledge base. Required inputs: q. Optional inputs: k.\n- asm: Retrieve 6502/6510 assembly references from the local knowledge base. Required inputs: q. Optional inputs: k.",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"x-c64bridge-operations": [
|
|
34
|
+
{
|
|
35
|
+
"op": "basic",
|
|
36
|
+
"description": "Retrieve BASIC references and snippets from the local knowledge base.",
|
|
37
|
+
"required": [
|
|
38
|
+
"q"
|
|
39
|
+
],
|
|
40
|
+
"optional": [
|
|
41
|
+
"k"
|
|
42
|
+
],
|
|
43
|
+
"inputSchema": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Retrieve BASIC references and snippets from the local knowledge base.",
|
|
46
|
+
"properties": {
|
|
47
|
+
"q": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Natural-language query describing the desired BASIC or assembly guidance.",
|
|
50
|
+
"minLength": 3
|
|
51
|
+
},
|
|
52
|
+
"k": {
|
|
53
|
+
"type": [
|
|
54
|
+
"integer",
|
|
55
|
+
"null"
|
|
56
|
+
],
|
|
57
|
+
"description": "Maximum number of references to return (1-12).",
|
|
58
|
+
"minimum": 1,
|
|
59
|
+
"maximum": 12,
|
|
60
|
+
"default": 3
|
|
61
|
+
},
|
|
62
|
+
"op": {
|
|
63
|
+
"const": "basic"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"q",
|
|
68
|
+
"op"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"op": "asm",
|
|
75
|
+
"description": "Retrieve 6502/6510 assembly references from the local knowledge base.",
|
|
76
|
+
"required": [
|
|
77
|
+
"q"
|
|
78
|
+
],
|
|
79
|
+
"optional": [
|
|
80
|
+
"k"
|
|
81
|
+
],
|
|
82
|
+
"inputSchema": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"description": "Retrieve 6502/6510 assembly references from the local knowledge base.",
|
|
85
|
+
"properties": {
|
|
86
|
+
"q": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Natural-language query describing the desired BASIC or assembly guidance.",
|
|
89
|
+
"minLength": 3
|
|
90
|
+
},
|
|
91
|
+
"k": {
|
|
92
|
+
"type": [
|
|
93
|
+
"integer",
|
|
94
|
+
"null"
|
|
95
|
+
],
|
|
96
|
+
"description": "Maximum number of references to return (1-12).",
|
|
97
|
+
"minimum": 1,
|
|
98
|
+
"maximum": 12,
|
|
99
|
+
"default": 3
|
|
100
|
+
},
|
|
101
|
+
"op": {
|
|
102
|
+
"const": "asm"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": [
|
|
106
|
+
"q",
|
|
107
|
+
"op"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
]
|
|
33
113
|
}
|
|
@@ -20,6 +20,39 @@
|
|
|
20
20
|
"required": [
|
|
21
21
|
"op"
|
|
22
22
|
],
|
|
23
|
-
"description": "Runtime backend selection operations.\n\nOperations:\n- select: Switch the active runtime backend without restarting the MCP server.",
|
|
24
|
-
"additionalProperties": false
|
|
23
|
+
"description": "Runtime backend selection operations.\n\nOperations:\n- select: Switch the active runtime backend without restarting the MCP server. Required inputs: backend.",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"x-c64bridge-operations": [
|
|
26
|
+
{
|
|
27
|
+
"op": "select",
|
|
28
|
+
"description": "Switch the active runtime backend without restarting the MCP server.",
|
|
29
|
+
"required": [
|
|
30
|
+
"backend"
|
|
31
|
+
],
|
|
32
|
+
"optional": [],
|
|
33
|
+
"inputSchema": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"description": "Switch the active runtime backend without restarting the MCP server.",
|
|
36
|
+
"properties": {
|
|
37
|
+
"op": {
|
|
38
|
+
"const": "select",
|
|
39
|
+
"description": "Selects the select operation."
|
|
40
|
+
},
|
|
41
|
+
"backend": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"c64u",
|
|
45
|
+
"vice"
|
|
46
|
+
],
|
|
47
|
+
"description": "Backend to activate for subsequent tool calls."
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"op",
|
|
52
|
+
"backend"
|
|
53
|
+
],
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
]
|
|
25
58
|
}
|