@adia-ai/a2ui-compose 0.6.6 → 0.6.8
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 +12 -0
- package/index.d.ts +4 -0
- package/package.json +4 -2
- package/strategies/zettel/types.ts +0 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-compose
|
|
2
2
|
|
|
3
|
+
## [0.6.8] — 2026-05-20
|
|
4
|
+
|
|
5
|
+
- Lockstep version bump. Headlining work in `@adia-ai/web-components`
|
|
6
|
+
(FB-55 `.camelCaseProp=${expr}` two-layer name resolution + FB-57
|
|
7
|
+
SVG/MathML namespace-aware `mount()` + USAGE.md docs cluster) and
|
|
8
|
+
`@adia-ai/web-modules` (claims-ui F-001 chat-shell.js barrel-import
|
|
9
|
+
fix + F-006 required-CSS callouts). No source changes in this package.
|
|
10
|
+
|
|
11
|
+
## [0.6.7] — 2026-05-19
|
|
12
|
+
|
|
13
|
+
- Lockstep version bump; no source changes.
|
|
14
|
+
|
|
3
15
|
## [0.6.6] — 2026-05-18
|
|
4
16
|
|
|
5
17
|
### Changed
|
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-compose",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"description": "AdiaUI A2UI compose engine \u2014 framework-agnostic. Takes natural-language intents + a catalog and produces A2UI protocol messages. Pairs with `@adia-ai/a2ui-retrieval` (intent classification, catalog lookup) and `@adia-ai/a2ui-validator` (schema + semantic checks).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -57,7 +57,9 @@
|
|
|
57
57
|
"transpiler/",
|
|
58
58
|
"index.js",
|
|
59
59
|
"README.md",
|
|
60
|
-
"CHANGELOG.md"
|
|
60
|
+
"CHANGELOG.md",
|
|
61
|
+
"!**/*.ts",
|
|
62
|
+
"**/*.d.ts"
|
|
61
63
|
],
|
|
62
64
|
"license": "MIT",
|
|
63
65
|
"publishConfig": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zettel strategy — branded primitive ID types.
|
|
3
|
-
*
|
|
4
|
-
* Three distinct ID spaces coexist in the zettel strategy: fragment IDs,
|
|
5
|
-
* chunk IDs, and composition IDs. All are plain strings at runtime, but
|
|
6
|
-
* cross-contamination (passing a ChunkId where a FragmentId is expected)
|
|
7
|
-
* caused the v0.4.7 §72 regression. Branded types make that a compile error.
|
|
8
|
-
*
|
|
9
|
-
* Per migration plan §7.3 and spec §7.3: brand discipline is opt-in per
|
|
10
|
-
* ID type. We brand when two ID spaces of the same primitive type cross
|
|
11
|
-
* in the same function body. Internal helpers that never cross boundaries
|
|
12
|
-
* stay on plain `string`.
|
|
13
|
-
*
|
|
14
|
-
* No enums — `erasableSyntaxOnly` requires plain type aliases.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/** Unique identifier for a retrieved fragment within the corpus. */
|
|
18
|
-
export type FragmentId = string & { readonly __brand: 'FragmentId' };
|
|
19
|
-
|
|
20
|
-
/** Unique identifier for a chunk in the chunk-library. */
|
|
21
|
-
export type ChunkId = string & { readonly __brand: 'ChunkId' };
|
|
22
|
-
|
|
23
|
-
/** Unique identifier for a composed composition record. */
|
|
24
|
-
export type CompositionId = string & { readonly __brand: 'CompositionId' };
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Cast a plain string to FragmentId at a trust boundary.
|
|
28
|
-
* Only use at the point where an ID originates (e.g. reading from corpus JSON).
|
|
29
|
-
*/
|
|
30
|
-
export function asFragmentId(id: string): FragmentId {
|
|
31
|
-
return id as FragmentId;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function asChunkId(id: string): ChunkId {
|
|
35
|
-
return id as ChunkId;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function asCompositionId(id: string): CompositionId {
|
|
39
|
-
return id as CompositionId;
|
|
40
|
-
}
|