@adia-ai/a2ui-mcp 0.2.5 → 0.3.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/CHANGELOG.md CHANGED
@@ -11,6 +11,43 @@ zettel strategies.
11
11
 
12
12
  _No pending changes._
13
13
 
14
+ ## [0.3.1] - 2026-05-06
15
+
16
+ **9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
17
+
18
+ This package itself ships **no source changes** in v0.3.1. The cut bumps version only — substantive content lives in [`@adia-ai/web-components`](https://github.com/adiahealth/gen-ui-kit/releases/tag/web-components-v0.3.1) (folder-per-trait restructure; barrel API unchanged).
19
+
20
+ ### Changed
21
+
22
+ - `version`: `0.3.0` → `0.3.1`.
23
+ - Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
24
+
25
+ ## [0.3.0] - 2026-05-05
26
+
27
+ **9-package lockstep cut + new `@adia-ai/llm` dep.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges bump `^0.2.0` → `^0.3.0`.
28
+
29
+ The MCP synthesis tool now resolves `createLLMAdapter` from `@adia-ai/llm` (9th lockstep package, first publish in this cut) rather than `@adia-ai/a2ui-compose/llm` (subpath dropped). Behavior unchanged.
30
+
31
+ ### Changed
32
+
33
+ - `tools/synthesis.js`: `createLLMAdapter` import path retargeted from `../../compose/llm/llm-bridge.js` to `../../../llm/llm-bridge.js`.
34
+ - Three eval/test scripts under `scripts/` (`eval-chunk-synthesis.mjs`, `eval-refine-synthesis.mjs`, `test-a2ui.mjs`) similarly retargeted.
35
+ - `dependencies["@adia-ai/llm"]`: NEW, `^0.3.0`.
36
+ - `dependencies["@adia-ai/a2ui-utils"]` removed; the renamed `@adia-ai/a2ui-runtime` is reached transitively through `a2ui-compose` and `a2ui-retrieval`.
37
+ - All other internal `@adia-ai/*` dep ranges: `^0.2.0` → `^0.3.0`.
38
+ - `version`: `0.2.5` → `0.3.0`.
39
+
40
+ ### Migration
41
+
42
+ If you depend on `@adia-ai/a2ui-mcp` directly (typically as a CLI via `npx adiaui-mcp`), no code changes required. Just bump the dep range:
43
+
44
+ ```diff
45
+ - "@adia-ai/a2ui-mcp": "^0.2.0"
46
+ + "@adia-ai/a2ui-mcp": "^0.3.0"
47
+ ```
48
+
49
+ `@adia-ai/llm` is a transitive dep — npm install handles it.
50
+
14
51
  ## [0.2.5] - 2026-05-04
15
52
 
16
53
  **8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.5 under semver — patch-cut asymmetry).
package/README.md CHANGED
@@ -8,7 +8,7 @@ other MCP-speaking host.
8
8
  > Runtime only. Generation logic lives in `@adia-ai/a2ui-compose`; UI atoms in
9
9
  > [`@adia-ai/web-components`](../../web-components); the A2UI protocol runtime
10
10
  > (renderer, registry, streams, wiring) in
11
- > [`@adia-ai/a2ui-utils`](../utils); corpus in
11
+ > [`@adia-ai/a2ui-runtime`](../runtime); corpus in
12
12
  > [`@adia-ai/a2ui-corpus`](../corpus).
13
13
 
14
14
  ## Quick start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-mcp",
3
- "version": "0.2.5",
3
+ "version": "0.3.1",
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": {
@@ -26,10 +26,11 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@modelcontextprotocol/sdk": "^1.29.0",
29
- "@adia-ai/a2ui-compose": "^0.2.0",
30
- "@adia-ai/a2ui-retrieval": "^0.2.0",
31
- "@adia-ai/a2ui-validator": "^0.2.0",
32
- "@adia-ai/a2ui-corpus": "^0.2.0",
29
+ "@adia-ai/a2ui-compose": "^0.3.0",
30
+ "@adia-ai/a2ui-retrieval": "^0.3.0",
31
+ "@adia-ai/a2ui-validator": "^0.3.0",
32
+ "@adia-ai/a2ui-corpus": "^0.3.0",
33
+ "@adia-ai/llm": "^0.3.0",
33
34
  "zod": "^3.24.0"
34
35
  }
35
36
  }
@@ -20,7 +20,7 @@
20
20
 
21
21
  import '../../../../scripts/load-env.mjs';
22
22
  import { composeFromIntent } from '../../compose/strategies/zettel/chunk-synthesizer.js';
23
- import { createAdapter } from '../../compose/llm/llm-bridge.js';
23
+ import { createAdapter } from '../../../llm/llm-bridge.js';
24
24
 
25
25
  // Hold-out intents — chosen to NOT have a 1:1 chunk match (so synthesis path
26
26
  // is exercised). Mix of dashboard-shape, auth-shape, and novel composites.
@@ -28,7 +28,7 @@ import { mintStateId } from '../../compose/strategies/zettel/state-cache.js';
28
28
  import { createIssueAccumulator } from '../../compose/strategies/zettel/issue-reporter.js';
29
29
  import { composeFromPlan } from '../../compose/strategies/zettel/chunk-composer.js';
30
30
  import { listChunksByKind, getChunk } from '../../corpus/scripts/chunk-library.js';
31
- import { createAdapter } from '../../compose/llm/llm-bridge.js';
31
+ import { createAdapter } from '../../../llm/llm-bridge.js';
32
32
 
33
33
  // ── Discover corpus shape ────────────────────────────────────────────
34
34
  // Pick a page with ≥ 2 slots so refinements have room to target.
@@ -60,7 +60,7 @@ if (hasAnthropicKey || hasOpenAIKey || hasGeminiKey) {
60
60
 
61
61
  let adapterType = 'unknown';
62
62
  try {
63
- const { createAdapter } = await import('../../compose/llm/llm-bridge.js');
63
+ const { createAdapter } = await import('../../../llm/llm-bridge.js');
64
64
  const adapter = await createAdapter();
65
65
  adapterType = adapter.constructor.name;
66
66
  if (adapterType === 'AdiaUILLMBridge') {
@@ -12,7 +12,7 @@ import { z } from 'zod';
12
12
 
13
13
  import { composeFromIntent as composeFromChunksImpl } from '../../compose/strategies/zettel/chunk-synthesizer.js';
14
14
  import { composeFromPlan, validatePlan } from '../../compose/strategies/zettel/chunk-composer.js';
15
- import { createAdapter as createLLMAdapter } from '../../compose/llm/llm-bridge.js';
15
+ import { createAdapter as createLLMAdapter } from '../../../llm/llm-bridge.js';
16
16
  import {
17
17
  getStateCache,
18
18
  mintStateId,