@gradial/aci 0.1.52-rc.29 → 0.1.52-rc.33

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 (33) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +4 -4
  3. package/dist/audience-data-models.d.ts +201 -372
  4. package/dist/audience-data-models.js +283 -120
  5. package/dist/collect/aci.js +1 -1
  6. package/dist/collect/aci.js.sha256 +1 -1
  7. package/dist/collect/gapbuffer.js +11 -6
  8. package/dist/internal/platform/collectionstore/errors.d.ts +11 -0
  9. package/dist/internal/platform/collectionstore/errors.js +20 -0
  10. package/dist/next/error-pages.d.ts +4 -0
  11. package/dist/next/error-pages.js +4 -0
  12. package/dist/next/release-context.d.ts +29 -0
  13. package/dist/next/release-context.js +55 -0
  14. package/dist/next/server.d.ts +8 -0
  15. package/dist/next/server.js +14 -1
  16. package/dist/react/VideoPlayer.d.ts +1 -1
  17. package/dist/react/index.d.ts +1 -1
  18. package/dist/testing/conformance/preset.js +3 -0
  19. package/dist/testing/conformance/root-identity.js +7 -26
  20. package/dist/testing/conformance/types.d.ts +3 -0
  21. package/migrations/conformance-registry.md +22 -0
  22. package/package.json +8 -7
  23. package/templates/common/.agents/skills/aci/SKILL.md +4 -3
  24. package/templates/common/.agents/skills/dam-delivery/SKILL.md +179 -193
  25. package/templates/common/.agents/skills/dam-delivery/references/permalink-grammar.md +137 -101
  26. package/templates/common/starter-content/.content/dam/README.md +74 -0
  27. package/templates/nextjs/template/src/app/fonts/inter/OFL.txt +93 -0
  28. package/templates/nextjs/template/src/app/fonts/inter/inter-latin.woff2 +0 -0
  29. package/templates/nextjs/template/src/app/fonts/space-grotesk/OFL.txt +93 -0
  30. package/templates/nextjs/template/src/app/fonts/space-grotesk/space-grotesk-latin.woff2 +0 -0
  31. package/templates/nextjs/template/src/app/layout.tsx +10 -7
  32. package/templates/nextjs/template/tests/conformance.test.ts.tmpl +1 -0
  33. package/templates/common/.agents/skills/dam-delivery/references/parameter-contract.md +0 -107
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.52-rc.33
4
+
5
+ ### Migration required
6
+
7
+ - Next sites must set `registry` in `conformancePreset` (or
8
+ `runConformanceChecks`) to the render registry module used by their app, for
9
+ example `registry: 'src/cms/registry.ts'`. The default `rootIdentity` check
10
+ fails with configuration guidance when this option is absent. See
11
+ [the registry-selection migration](./migrations/conformance-registry.md).
12
+
13
+ ### Fixed
14
+
15
+ - Next `rootIdentity` imports only the site's explicitly named registry. It no
16
+ longer executes arbitrary source files containing `createRegistry(` or
17
+ silently checks a secondary registry.
18
+
19
+ ## Unreleased
20
+
21
+ **Public API removal:** `visitorProfileDataModel` is gone (see Removed
22
+ below) — delete it from any imports.
23
+
24
+ ### Changed
25
+
26
+ - The audience/experimentation author data models
27
+ (`packages/sdk/src/audience-data-models.ts`) are now generated from the Go
28
+ document readers' contracts (`scripts/generate-data-models.go`, verified in
29
+ CI by `make data-models-verify`) instead of hand-written. This fixes drift
30
+ toward the server contract: `experimentDataModel` gains `horizon` (with the
31
+ ADR 0042/0049 constraints), `promotedArmId`/`promotedAt`, and the
32
+ `eligibility.audienceRef` `$ref:audiences/{id}` grammar; rule and goal
33
+ expressions support nested all/any groups with the kernel's depth and
34
+ condition budgets; goal `eventRule` validates in event scope; segment
35
+ criteria accept the `geo` filter; providers require
36
+ `identity.absencePolicy` and enforce the format↔mapping matrix; ids use the
37
+ shared identifier grammar.
38
+
39
+ ### Fixed
40
+
41
+ - The `dam-delivery` agent skill shipped in the site templates described two
42
+ delivery lanes that no longer exist (signed `/dam/i/…` URLs and `/dam/a/…`
43
+ permalinks). It now describes the one public link, `/dam/{assetId}`, and
44
+ its `w`, `h`, `fit`, `fm`, `q` query. A site scaffolded earlier keeps its
45
+ old copy: replace its `.agents/skills/dam-delivery/` with
46
+ `templates/common/.agents/skills/dam-delivery/` from this package.
47
+
48
+ ### Removed
49
+
50
+ - `visitorProfileDataModel`: the schema had no server-side document contract
51
+ and no consumers. Drop it from imports; `audienceDataModels` no longer
52
+ includes it.
53
+
3
54
  ## 0.1.52-rc.7 - 2026-08-19
4
55
 
5
56
  ### Fixed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Agentic Content Infrastructure SDK
2
2
 
3
- `@gradial/aci` `0.1.52-rc.29` is a pre-1.0 public-surface reset for the ACI
3
+ `@gradial/aci` `0.1.52-rc.33` is a pre-1.0 public-surface reset for the ACI
4
4
  client SDK. Breaking changes from the old `0.1.x` accidental surface are
5
5
  intentional: the root import is framework-neutral, framework runtime behavior is
6
6
  behind explicit subpaths, and the first required customer path is React/Next.
@@ -8,7 +8,7 @@ behind explicit subpaths, and the first required customer path is React/Next.
8
8
  ## Install
9
9
 
10
10
  ```bash
11
- npm install @gradial/aci@0.1.52-rc.29 zod@^4
11
+ npm install @gradial/aci@0.1.52-rc.33 zod@^4
12
12
  ```
13
13
 
14
14
  ## Root Import
@@ -137,13 +137,13 @@ host bundles select and serve immutable release artifacts.
137
137
  The first RC scaffold path is Next:
138
138
 
139
139
  ```bash
140
- npx @gradial/aci@0.1.52-rc.29 init my-site --template next-starter
140
+ npx @gradial/aci@0.1.52-rc.33 init my-site --template next-starter
141
141
  ```
142
142
 
143
143
  List available templates:
144
144
 
145
145
  ```bash
146
- npx @gradial/aci@0.1.52-rc.29 init --list
146
+ npx @gradial/aci@0.1.52-rc.33 init --list
147
147
  ```
148
148
 
149
149
  ## Personalization: The One-Tag Install