@henols/vice-mcp 0.2.2 → 0.2.4

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.
Files changed (84) hide show
  1. package/README.md +2 -2
  2. package/THIRD-PARTY-NOTICES.md +422 -1
  3. package/anno-bank.ts +171 -0
  4. package/anno-cli.ts +1736 -163
  5. package/anno-confidence.ts +2 -2
  6. package/anno-derive.ts +6 -6
  7. package/anno-details.ts +4 -4
  8. package/anno-enum-gen.ts +416 -30
  9. package/anno-export-asm.ts +1211 -126
  10. package/anno-graphics.ts +338 -0
  11. package/anno-hazard-report.ts +1367 -0
  12. package/anno-import.ts +495 -0
  13. package/anno-index.ts +8 -8
  14. package/anno-join.ts +480 -0
  15. package/anno-memmap-render.ts +22 -21
  16. package/anno-provenance-ledger.ts +472 -0
  17. package/anno-regbits-gen.ts +13 -13
  18. package/anno-register.ts +159 -0
  19. package/anno-store-export.ts +661 -0
  20. package/anno-store.ts +635 -124
  21. package/anno-symbols.ts +7 -7
  22. package/anno-tools.ts +1169 -16
  23. package/anno-types.ts +313 -40
  24. package/backend-detect.mts +124 -312
  25. package/build.ts +3 -1
  26. package/capture-predicate.ts +597 -0
  27. package/channel-lock.ts +349 -0
  28. package/evid-ingest.ts +217 -0
  29. package/evid-reconcile.ts +316 -0
  30. package/host-tool-client.ts +430 -0
  31. package/incident-record.ts +23 -12
  32. package/install-resources.ts +29 -13
  33. package/memmap-lookup.ts +285 -0
  34. package/package.json +27 -8
  35. package/prg-image.ts +1 -2
  36. package/repo-root.ts +87 -3
  37. package/resources/backend-detect.mjs +98 -236
  38. package/resources/broker-control.mjs +220 -54
  39. package/resources/broker-epoch.mjs +7 -8
  40. package/resources/broker-kill.mjs +36 -31
  41. package/resources/broker-launch.mjs +511 -374
  42. package/resources/broker-state.mjs +69 -24
  43. package/resources/container-guard.mjs +1 -1
  44. package/resources/ghidra-project.mjs +790 -0
  45. package/resources/host-tool.mjs +2533 -0
  46. package/resources/vice-broker.mjs +434 -290
  47. package/resources/vice-launcher.sh +127 -9
  48. package/stock-address.ts +1 -1
  49. package/stock-condition.ts +1 -1
  50. package/stock-connect.ts +9 -5
  51. package/stock-derived.ts +29 -37
  52. package/stock-diagnose.ts +200 -36
  53. package/stock-dispatch.ts +179 -77
  54. package/stock-handler.ts +1 -1
  55. package/stock-paths.ts +18 -14
  56. package/stock-petscii.ts +1 -1
  57. package/stock-protocol.ts +1 -1
  58. package/stock-recycle.ts +83 -2
  59. package/stock-reproducible-run.ts +811 -0
  60. package/stock-run-until.ts +100 -1
  61. package/stock-symbols.ts +4 -4
  62. package/stock-timing.ts +1 -1
  63. package/stop-oracle.ts +167 -0
  64. package/text-capability-probe.ts +660 -0
  65. package/text-connect.ts +157 -0
  66. package/text-protocol.ts +810 -0
  67. package/text-tools.ts +778 -0
  68. package/textmon-backtrace.ts +385 -0
  69. package/textmon-cpuhistory.ts +335 -0
  70. package/textmon-memmap.ts +494 -0
  71. package/textmon-profile.ts +458 -0
  72. package/textmon-registers.ts +748 -0
  73. package/tools-manifest.stock.json +864 -3
  74. package/vice-broker-client.ts +253 -108
  75. package/vice-errors.ts +268 -0
  76. package/vice-proxy.ts +339 -2144
  77. package/vsf-slice.ts +640 -0
  78. package/anno-d64.ts +0 -310
  79. package/capability-registry.ts +0 -390
  80. package/refresh-manifest.ts +0 -124
  81. package/tools-manifest.json +0 -1223
  82. package/vice-probe.ts +0 -278
  83. package/vice-sync.ts +0 -336
  84. package/vice.ts +0 -772
package/anno-symbols.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  // anno-symbols.ts -- the ONE authoritative place in this repo for the
3
3
  // PRE-SPAWN half of the symbol round trip between an annotation store and
4
- // stock VICE's symbol table (ANNO-14/ANNO-15, ARCHITECTURE.md Rule A20).
4
+ // stock VICE's symbol table (ARCHITECTURE.md Rule A20).
5
5
  //
6
- // WHAT LEFT, WHAT STAYED, AND WHERE THE ROUTE RETURNS (plan 29-10, D-01/D-14,
7
- // 2026-08-30). Read this paragraph before looking for a function that is not
6
+ // WHAT LEFT, WHAT STAYED, AND WHERE THE ROUTE RETURNS (2026-08-30). Read this
7
+ // paragraph before looking for a function that is not
8
8
  // here.
9
9
  //
10
10
  // WHAT LEFT: the ROUTE. `exportLabels()`, `importLabels()` and
@@ -46,7 +46,7 @@
46
46
  // criterion of it mentioned `export-lbl` or `import-lbl`. So the forecast
47
47
  // was wrong, and it is CORRECTED here rather than deleted, because deleting
48
48
  // a withdrawal notice erases the record that a capability went missing and
49
- // why. `.planning/PROJECT.md` carries the dated ANNO-14/ANNO-15 notice and
49
+ // why. This project's own capability record carries the dated notice and
50
50
  // says the same thing: this is a temporary loss of a capability that was
51
51
  // genuinely Validated, not a completed one being tidied away. The
52
52
  // demonstration was made end to end against genuine unpatched stock `x64sc`
@@ -67,7 +67,7 @@
67
67
  //
68
68
  // MEASURED FACTS, PAST TENSE, kept because they are the reasons for the
69
69
  // discipline above rather than instructions to anyone:
70
- // - `--export_lbl` exported USER labels only. Measured (Phase 9, and
70
+ // - `--export_lbl` exported USER labels only. Measured (and
71
71
  // re-confirmed by the round-trip test that was deleted with its subject):
72
72
  // an annotated project emitted exactly the labels a caller had set, and
73
73
  // the auto-generated `a_D011` / `a_D020` / `e_FFD2` externals were NOT
@@ -168,7 +168,7 @@ export interface ImportLabelsUnverified {
168
168
  * read `result.importedNames` and mistake "the import call returned no error"
169
169
  * for "the names are actually on disk".
170
170
  *
171
- * KEPT ACROSS THE CUT (plan 29-10). The route that produced it is gone; the
171
+ * KEPT ACROSS THE CUT. The route that produced it is gone; the
172
172
  * distinction it encodes is the whole lesson of the `--import_lbl` discard
173
173
  * measured in this module's header. Because no phase currently owns rebuilding
174
174
  * that route, this type is its only surviving contract; whenever a route IS
@@ -194,7 +194,7 @@ export interface ValidatedLabelFile {
194
194
  /**
195
195
  * THE PRE-SPAWN GATE (T-11-LBL-SIZE + T-11-NAME-INJECT, both closed) -- the
196
196
  * half of the deleted `importLabels()` that never touched a child process,
197
- * lifted out unchanged when the route around it was removed (plan 29-10).
197
+ * lifted out unchanged when the route around it was removed.
198
198
  *
199
199
  * In order, and the order matters:
200
200
  * 1. A byte-size check against `stock-symbols.ts`'s own