@adia-ai/a2ui-corpus 0.0.9 → 0.2.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/CHANGELOG.md CHANGED
@@ -11,6 +11,38 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
11
11
 
12
12
  _No pending changes._
13
13
 
14
+ ## [0.2.0] - 2026-05-02
15
+
16
+ **Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
17
+ version, governed by [`docs/specs/package-architecture.md` § 15
18
+ (Versioning Policy)](../../../docs/specs/package-architecture.md#15-versioning-policy).
19
+
20
+ This release also formalizes corpus's role as **the catalog's home** —
21
+ spec § 3 first-principle 3 was rewritten in v0.6.0 of the spec to
22
+ make this explicit. Primitives produce YAML/`.a2ui.json` sidecars;
23
+ the build assembles them into `catalog-a2ui_0_9.json` here.
24
+
25
+ ### Changed
26
+
27
+ - `version`: `0.0.9` → `0.2.0`.
28
+
29
+ ### No source changes (data)
30
+
31
+ Corpus content (catalog, patterns, fragments, compositions, exemplars,
32
+ chunks, embeddings, eval fixtures, gap registry, feedback) is
33
+ byte-identical to 0.0.9. The cut bumps version only — corpus has no
34
+ internal `@adia-ai/*` dependencies. The `a2ui-mcp@0.1.3 → corpus@0.0.6`
35
+ caret-lock bug from the prior cut is resolved by the mcp package's
36
+ `^0.2.0` range update in this same lockstep cut.
37
+
38
+ ### Touched (no behavior change)
39
+
40
+ - `scripts/run-pipeline.mjs`, `scripts/chunk-library.js`,
41
+ `scripts/feedback-promote.js`, `scripts/feedback-report.js` — import
42
+ paths swept to match the compose `engines/` → `strategies/` rename
43
+ and the retrieval subdir reorganization. Pure path-string updates;
44
+ no logic changes.
45
+
14
46
  ## [0.0.9] - 2026-05-01
15
47
 
16
48
  Pure-data refresh covering the §22-25 web-components arc. Catalog
@@ -10231,6 +10231,115 @@
10231
10231
  "version": 1
10232
10232
  }
10233
10233
  },
10234
+ "StepProgress": {
10235
+ "title": "StepProgress",
10236
+ "description": "Discrete-dash step-progress indicator. One <span> dash per step in\n[total]; the first [value] dashes are filled with --a-accent. Used\nin multi-step flows (registration, onboarding, wizards). Replaces\nthe bespoke `[data-onb-progress]` + `[data-reg-progress]` markup\nthat lived in onboarding.css + registration.css with a single\nprimitive.\n",
10237
+ "type": "object",
10238
+ "allOf": [
10239
+ {
10240
+ "$ref": "#/$defs/ComponentCommon"
10241
+ },
10242
+ {
10243
+ "$ref": "#/$defs/CatalogComponentCommon"
10244
+ }
10245
+ ],
10246
+ "properties": {
10247
+ "caption": {
10248
+ "description": "Optional caption text rendered above the track (e.g. 'Step 3 of 10', 'Step 3 of 10 · Optional', 'All steps complete'). Hidden when empty.",
10249
+ "type": "string",
10250
+ "default": ""
10251
+ },
10252
+ "component": {
10253
+ "const": "StepProgress"
10254
+ },
10255
+ "total": {
10256
+ "description": "Total number of steps. The track renders this many dashes.",
10257
+ "type": "number",
10258
+ "default": 0
10259
+ },
10260
+ "value": {
10261
+ "description": "Number of steps completed (1-indexed). Clamped to [0, total].",
10262
+ "type": "number",
10263
+ "default": 0
10264
+ }
10265
+ },
10266
+ "required": [
10267
+ "component"
10268
+ ],
10269
+ "unevaluatedProperties": false,
10270
+ "x-adiaui": {
10271
+ "anti_patterns": [],
10272
+ "category": "feedback",
10273
+ "events": {},
10274
+ "examples": [
10275
+ {
10276
+ "description": "3 of 10 steps complete with caption.",
10277
+ "a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"StepProgress\",\n \"value\": 3,\n \"total\": 10,\n \"caption\": \"Step 3 of 10\"\n }\n]",
10278
+ "name": "in-progress"
10279
+ },
10280
+ {
10281
+ "description": "All steps complete.",
10282
+ "a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"StepProgress\",\n \"value\": 10,\n \"total\": 10,\n \"caption\": \"All steps complete\"\n }\n]",
10283
+ "name": "complete"
10284
+ },
10285
+ {
10286
+ "description": "A 9-of-10 step that's optional.",
10287
+ "a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"StepProgress\",\n \"value\": 9,\n \"total\": 10,\n \"caption\": \"Step 9 of 10 · Optional\"\n }\n]",
10288
+ "name": "optional-step"
10289
+ }
10290
+ ],
10291
+ "keywords": [
10292
+ "progress",
10293
+ "step",
10294
+ "wizard",
10295
+ "onboarding",
10296
+ "registration",
10297
+ "multi-step",
10298
+ "indicator"
10299
+ ],
10300
+ "name": "UIStepProgress",
10301
+ "related": [
10302
+ "progress-ui",
10303
+ "stepper-ui"
10304
+ ],
10305
+ "slots": {
10306
+ "caption": {
10307
+ "description": "Optional override of the auto-minted caption (use for rich content like icon + text). When present, the [caption] attribute is ignored."
10308
+ },
10309
+ "track": {
10310
+ "description": "Optional override of the auto-minted track (rare — use only when the dash structure needs to differ)."
10311
+ }
10312
+ },
10313
+ "states": [
10314
+ {
10315
+ "description": "value=0; no dashes filled.",
10316
+ "name": "empty"
10317
+ },
10318
+ {
10319
+ "description": "0 < value < total; some dashes filled.",
10320
+ "name": "in-progress"
10321
+ },
10322
+ {
10323
+ "description": "value=total; all dashes filled.",
10324
+ "name": "complete"
10325
+ }
10326
+ ],
10327
+ "synonyms": {
10328
+ "step": [
10329
+ "stage",
10330
+ "phase"
10331
+ ],
10332
+ "total": [
10333
+ "count",
10334
+ "length"
10335
+ ]
10336
+ },
10337
+ "tag": "step-progress-ui",
10338
+ "tokens": {},
10339
+ "traits": [],
10340
+ "version": 1
10341
+ }
10342
+ },
10234
10343
  "Stream": {
10235
10344
  "title": "Stream",
10236
10345
  "description": "Renders an AsyncIterable<string> as streaming text. Used for LLM output and real-time logs.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-corpus",
3
- "version": "0.0.9",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "AdiaUI A2UI training corpus — patterns, fragments, compositions, exemplars, eval fixtures, feedback, gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
6
6
  "exports": {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Used by:
8
8
  * - packages/a2ui/mcp/server.js — exposes search_chunks / get_chunk / lookup_chunk tools
9
- * - packages/a2ui/compose/engines/zettel/chunk-synthesizer.js — Phase C.2
9
+ * - packages/a2ui/compose/strategies/zettel/chunk-synthesizer.js — Phase C.2
10
10
  *
11
11
  * Spec: docs/specs/genui-chunk-marker.md (Draft v0.1.0).
12
12
  */
@@ -144,7 +144,7 @@ export async function searchChunksAsync(query, { kind, limit = 20 } = {}) {
144
144
 
145
145
  let cosineByName = null;
146
146
  try {
147
- const { scoreAll, available } = await import('../../retrieval/chunk-embedding-retriever.js');
147
+ const { scoreAll, available } = await import('../../retrieval/embedding/chunk-embedding-retriever.js');
148
148
  if (await available()) {
149
149
  cosineByName = await scoreAll(query);
150
150
  }