@gradial/aci 0.1.53-rc.3 → 0.1.53-rc.4
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
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
+
- Public `aci schemas compile` and `aci error-pages prepare|emit` commands let
|
|
8
|
+
site build scripts compile code-owned artifacts without invoking SDK internals.
|
|
9
|
+
|
|
7
10
|
- `AciRootProps` (the new name of `RootIdentityProps`, which stays as an
|
|
8
11
|
alias) and `aciRootAttrs(props)`, exported from `@gradial/aci`.
|
|
9
12
|
- The `rootIdentity` check covers every file that calls `createRegistry(`,
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agentic Content Infrastructure SDK
|
|
2
2
|
|
|
3
|
-
`@gradial/aci` `0.1.53-rc.
|
|
3
|
+
`@gradial/aci` `0.1.53-rc.4` 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.53-rc.
|
|
11
|
+
npm install @gradial/aci@0.1.53-rc.4 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.53-rc.
|
|
140
|
+
npx @gradial/aci@0.1.53-rc.4 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.53-rc.
|
|
146
|
+
npx @gradial/aci@0.1.53-rc.4 init --list
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
## Personalization: The One-Tag Install
|
|
@@ -223,3 +223,25 @@ From `packages/sdk`:
|
|
|
223
223
|
pnpm run build
|
|
224
224
|
pnpm run generate-starters
|
|
225
225
|
```
|
|
226
|
+
|
|
227
|
+
## Public code-build commands
|
|
228
|
+
|
|
229
|
+
Use the installed `aci` binary from npm scripts, not files beneath the package's
|
|
230
|
+
`src`, `dist`, or `bin` directories:
|
|
231
|
+
|
|
232
|
+
```json
|
|
233
|
+
{
|
|
234
|
+
"scripts": {
|
|
235
|
+
"schemas:compile": "aci schemas compile",
|
|
236
|
+
"prebuild": "npm run schemas:compile",
|
|
237
|
+
"build": "aci error-pages prepare && next build && aci error-pages emit",
|
|
238
|
+
"content:compile": "npm run schemas:compile && aci content compile --content ./.content --out ./.aci/compiled"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
`schemas compile` reads the component/data registry paths from `.aci.yaml` and
|
|
244
|
+
recompiles contracts without reading authored content. The error commands prepare
|
|
245
|
+
code-owned analytics policy and emit the default hosting fallback (preserving a
|
|
246
|
+
site-owned `public/500.html`). All three honor `--site-dir`; helper failures exit
|
|
247
|
+
nonzero. Local development/content validation must explicitly compile content.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradial/aci",
|
|
3
|
-
"version": "0.1.53-rc.
|
|
3
|
+
"version": "0.1.53-rc.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/gradial/bare-metal-go.git",
|
|
@@ -164,11 +164,11 @@
|
|
|
164
164
|
"astro": "^6.4.8"
|
|
165
165
|
},
|
|
166
166
|
"optionalDependencies": {
|
|
167
|
-
"@gradial/aci-cli-darwin-arm64": "0.1.53-rc.
|
|
168
|
-
"@gradial/aci-cli-darwin-x64": "0.1.53-rc.
|
|
169
|
-
"@gradial/aci-cli-linux-arm64": "0.1.53-rc.
|
|
170
|
-
"@gradial/aci-cli-linux-x64": "0.1.53-rc.
|
|
171
|
-
"@gradial/aci-cli-win32-arm64": "0.1.53-rc.
|
|
172
|
-
"@gradial/aci-cli-win32-x64": "0.1.53-rc.
|
|
167
|
+
"@gradial/aci-cli-darwin-arm64": "0.1.53-rc.4",
|
|
168
|
+
"@gradial/aci-cli-darwin-x64": "0.1.53-rc.4",
|
|
169
|
+
"@gradial/aci-cli-linux-arm64": "0.1.53-rc.4",
|
|
170
|
+
"@gradial/aci-cli-linux-x64": "0.1.53-rc.4",
|
|
171
|
+
"@gradial/aci-cli-win32-arm64": "0.1.53-rc.4",
|
|
172
|
+
"@gradial/aci-cli-win32-x64": "0.1.53-rc.4"
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "astro dev --host 0.0.0.0",
|
|
8
|
-
"build": "
|
|
8
|
+
"build": "aci error-pages prepare && astro build",
|
|
9
9
|
"preview": "ACI_CONTENT_ROOT=./.aci/compiled astro preview --host 0.0.0.0",
|
|
10
10
|
"typecheck": "ACI_CONTENT_ROOT=./.aci/compiled astro check --tsconfig ./tsconfig.json",
|
|
11
11
|
"test": "node --import tsx --test tests/**/*.test.ts",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "ACI_CONTENT_PROVIDER=file next dev -H 0.0.0.0",
|
|
8
|
-
"build": "
|
|
8
|
+
"build": "aci error-pages prepare && next build && aci error-pages emit",
|
|
9
9
|
"preview": "next start -H 0.0.0.0",
|
|
10
10
|
"typecheck": "tsc --noEmit",
|
|
11
11
|
"test": "node --import tsx --test tests/**/*.test.ts",
|