@adia-ai/a2ui-mcp 0.7.26 → 0.7.28

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/CHANGELOG.md CHANGED
@@ -1,4 +1,24 @@
1
1
  # Changelog — @adia-ai/a2ui-mcp
2
+ ## [0.7.28] — 2026-07-14
3
+
4
+ ### Fixed
5
+
6
+ - **`scripts/test-evals.mjs` (`npm run test:evals` / `test:evals:baseline` /
7
+ `test:all`) was silently broken** — its 5-case eval suite lived at
8
+ `.claude/skills/adia-ui-kit/evals/evals.json`, deleted wholesale when
9
+ that skill was retired, orphaning the script (`ENOENT`, no caller
10
+ noticed since nothing in CI exercises it). Content recovered from git
11
+ history and given a durable home alongside the script,
12
+ `packages/a2ui/mcp/evals/evals.json`, instead of a skill directory
13
+ that can be retired again. Baseline re-captured against current
14
+ (unrelated-to-this-cycle) retrieval behavior — 4/5 passing, avg 91,
15
+ 0 regressions.
16
+
17
+ ## [0.7.27] — 2026-07-12
18
+
19
+ ### Fixed
20
+ - **`TOOLS.md` synced to the live tool surface (30 tools).** The "single source of truth" documented 24 tools and parameters that no longer exist; regenerated against the registered surface.
21
+ - **`report_issue` storage documentation follows the storage repoint** to `qa/findings/issues/` (see `@adia-ai/a2ui-compose` 0.7.27 — the writer lives there).
2
22
 
3
23
  ## [0.7.26] — 2026-07-04
4
24
 
@@ -1102,8 +1122,8 @@ multi-turn surface, plus extends `compose_from_chunks` to mint a `state_id`
1102
1122
  for refinement chains.
1103
1123
 
1104
1124
  Spec: [`.claude/docs/specs/genui-multiturn-architecture.md`](../../../.claude/docs/specs/genui-multiturn-architecture.md) (Active v0.1.0).
1105
- Plan: [`.claude/docs/plans/genui-multiturn-rollout-2026-04-28.md`](../../../.claude/docs/plans/genui-multiturn-rollout-2026-04-28.md) (Phase A scoped).
1106
- ADR: [`0008-multiturn-genui-architecture.md`](../../../.brain/adrs/0008-multiturn-genui-architecture.md).
1125
+ Plan: `.claude/docs/plans/genui-multiturn-rollout-2026-04-28.md` (Phase A scoped).
1126
+ ADR: `0008-multiturn-genui-architecture.md`.
1107
1127
 
1108
1128
  ### Added (MCP tools)
1109
1129
 
@@ -1340,7 +1360,7 @@ before HTML is materialized.
1340
1360
  ### Convention reference
1341
1361
 
1342
1362
  - Spec: [`.claude/docs/specs/genui-chunk-marker.md`](../../../.claude/docs/specs/genui-chunk-marker.md).
1343
- - Plan: [`.claude/docs/plans/training-pipeline-chunk-harvest-2026-04-27.md`](../../../.claude/docs/plans/training-pipeline-chunk-harvest-2026-04-27.md).
1363
+ - Plan: `.claude/docs/plans/training-pipeline-chunk-harvest-2026-04-27.md`.
1344
1364
 
1345
1365
  ### Other
1346
1366
 
package/README.md CHANGED
@@ -76,7 +76,7 @@ export GEMINI_API_KEY=AIza…
76
76
 
77
77
  ## Tools
78
78
 
79
- The server registers **24 tools**. Argument schemas via Zod; shape is stable across the v0.3.x line.
79
+ The server registers **30 tools**. Argument schemas via Zod; shape is stable across the v0.3.x line.
80
80
 
81
81
  **See [`TOOLS.md`](./TOOLS.md) for the full reference** — tool names, descriptions, grouping, and source pointers. Quick map:
82
82
 
@@ -94,7 +94,7 @@ The server registers **24 tools**. Argument schemas via Zod; shape is stable acr
94
94
 
95
95
  ```
96
96
  gen-ui-mcp/
97
- ├── server.js MCP bootstrap — registers all 21 tools inline
97
+ ├── server.js MCP bootstrap — registers 4 tools inline; the rest live in tools/ modules
98
98
  ├── scripts/ Standalone runners (smoke tests, eval diffs, visual validate)
99
99
  │ ├── generate.mjs CLI: `node scripts/generate.mjs "pricing page"`
100
100
  │ ├── eval-diff.mjs diff held-out run vs baseline
@@ -110,7 +110,7 @@ gen-ui-mcp/
110
110
  │ ├── test-a2ui.mjs A2UI message validator unit tests
111
111
  │ ├── test-evals.mjs evals harness wrapper
112
112
  │ └── visual-validate.mjs Playwright render + Vision-LLM critique
113
- ├── tools/ (reserved; tool code currently inlined in server.js)
113
+ ├── tools/ (tool modules: synthesis · validation · feedback · corpus · zettel · discovery · refine)
114
114
  └── personas/ persona presets (vocabulary + style hints for adapters)
115
115
  ```
116
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-mcp",
3
- "version": "0.7.26",
3
+ "version": "0.7.28",
4
4
  "description": "AdiaUI A2UI MCP server. Exposes the compose engine over MCP with an engine selector for monolithic + zettel strategies.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,14 @@ import { fileURLToPath } from 'node:url';
25
25
 
26
26
  const __dirname = dirname(fileURLToPath(import.meta.url));
27
27
  const REPO_ROOT = join(__dirname, '..', '..', '..', '..');
28
- const EVALS_PATH = join(REPO_ROOT, '.claude', 'skills', 'adia-ui-kit', 'evals', 'evals.json');
28
+ // Restored 2026-07-14: this pointed at .claude/skills/adia-ui-kit/evals/evals.json,
29
+ // which was deleted wholesale when that skill was retired (commit 15b3ab326,
30
+ // "drop the -new dir suffix, retire the old plugins") — orphaning this script
31
+ // silently (test:evals / test:evals:baseline / test:all all threw ENOENT with
32
+ // no caller noticing, since nothing in CI exercises them). The 5-case eval
33
+ // content was recovered from git history and given a durable, a2ui-owned home
34
+ // alongside this script rather than a skill directory that can be retired again.
35
+ const EVALS_PATH = join(__dirname, '..', 'evals', 'evals.json');
29
36
  const BASELINE_PATH = join(REPO_ROOT, 'scripts', 'eval-baseline.json');
30
37
 
31
38
  const args = new Set(process.argv.slice(2));
@@ -362,7 +362,7 @@ The tool returns BOTH paths in its response: \`path\` (.json) and \`markdown_pat
362
362
  \u2022 Trace report: \`{markdown_path}\` \u2190 human-readable, scan this first
363
363
  \u2022 Raw JSON: \`{path}\` \u2190 machine-readable
364
364
 
365
- Issue files land under \`.brain/audit-history/issues/\` (immutable; resolution lands in a sidecar file). Severity taxonomy matches the project's ui-audit-coherence vocabulary: blocker = contract violation; drift = quality erosion; nit = cosmetic.`,
365
+ Issue files land under \`qa/findings/issues/\` (immutable; resolution lands in a sidecar file). Severity taxonomy matches the project's ui-audit-coherence vocabulary: blocker = contract violation; drift = quality erosion; nit = cosmetic.`,
366
366
  {
367
367
  type: z.enum(["bug", "training-gap", "protocol-gap", "ux-feedback"]).describe("Issue category"),
368
368
  severity: z.enum(["blocker", "drift", "nit"]).describe("Severity tier"),