@gradial/aci 0.1.52-rc.25 → 0.1.52-rc.26
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 +8 -0
- package/README.md +4 -4
- package/dist/astro/index.d.ts +1 -1
- package/dist/astro/index.js +5 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.52-rc.26 - 2026-09-30
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Configure Astro's `build.assetsPrefix` for external CDN builds. Astro
|
|
8
|
+
overrides a nested Vite `base`, which caused real production builds to keep
|
|
9
|
+
emitting root-relative `/assets/` URLs even when a CDN base was configured.
|
|
10
|
+
|
|
3
11
|
## 0.1.52-rc.25 - 2026-09-30
|
|
4
12
|
|
|
5
13
|
### Added
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agentic Content Infrastructure SDK
|
|
2
2
|
|
|
3
|
-
`@gradial/aci` `0.1.52-rc.
|
|
3
|
+
`@gradial/aci` `0.1.52-rc.26` 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.
|
|
11
|
+
npm install @gradial/aci@0.1.52-rc.26 zod@^4
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Root Import
|
|
@@ -130,13 +130,13 @@ host bundles select and serve immutable release artifacts.
|
|
|
130
130
|
The first RC scaffold path is Next:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
|
-
npx @gradial/aci@0.1.52-rc.
|
|
133
|
+
npx @gradial/aci@0.1.52-rc.26 init my-site --template next-starter
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
List available templates:
|
|
137
137
|
|
|
138
138
|
```bash
|
|
139
|
-
npx @gradial/aci@0.1.52-rc.
|
|
139
|
+
npx @gradial/aci@0.1.52-rc.26 init --list
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
## Personalization: The One-Tag Install
|
package/dist/astro/index.d.ts
CHANGED
package/dist/astro/index.js
CHANGED
|
@@ -91,9 +91,10 @@ export function withAci(options = {}) {
|
|
|
91
91
|
updateConfig({ build: { assets: 'assets' } });
|
|
92
92
|
}
|
|
93
93
|
// Asset URL prefix for production builds. When
|
|
94
|
-
// ACI_ASSET_BASE_TPL is an absolute CDN URL, use
|
|
95
|
-
// so the SSG build writes asset URLs
|
|
96
|
-
// the CDN directly
|
|
94
|
+
// ACI_ASSET_BASE_TPL is an absolute CDN URL, use Astro's
|
|
95
|
+
// build.assetsPrefix so the SSG build writes generated asset URLs
|
|
96
|
+
// (CSS and JS) pointing at the CDN directly. Astro owns Vite's final
|
|
97
|
+
// base value, so setting vite.base here does not survive a real build.
|
|
97
98
|
//
|
|
98
99
|
// Build assets are content-addressed (hashed filenames) and stored
|
|
99
100
|
// globally, so the URL is release-independent: strip __RELEASE_ID__.
|
|
@@ -112,7 +113,7 @@ export function withAci(options = {}) {
|
|
|
112
113
|
if (isAbsoluteUrl
|
|
113
114
|
&& assetBase !== '/'
|
|
114
115
|
&& process.env.NODE_ENV === 'production') {
|
|
115
|
-
updateConfig({
|
|
116
|
+
updateConfig({ build: { assetsPrefix: assetBase } });
|
|
116
117
|
}
|
|
117
118
|
if (process.env.NODE_ENV === 'production') {
|
|
118
119
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradial/aci",
|
|
3
|
-
"version": "0.1.52-rc.
|
|
3
|
+
"version": "0.1.52-rc.26",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/gradial/bare-metal-go.git",
|
|
@@ -159,11 +159,11 @@
|
|
|
159
159
|
"zod": "^4.0.0"
|
|
160
160
|
},
|
|
161
161
|
"optionalDependencies": {
|
|
162
|
-
"@gradial/aci-cli-darwin-arm64": "0.1.52-rc.
|
|
163
|
-
"@gradial/aci-cli-darwin-x64": "0.1.52-rc.
|
|
164
|
-
"@gradial/aci-cli-linux-arm64": "0.1.52-rc.
|
|
165
|
-
"@gradial/aci-cli-linux-x64": "0.1.52-rc.
|
|
166
|
-
"@gradial/aci-cli-win32-arm64": "0.1.52-rc.
|
|
167
|
-
"@gradial/aci-cli-win32-x64": "0.1.52-rc.
|
|
162
|
+
"@gradial/aci-cli-darwin-arm64": "0.1.52-rc.26",
|
|
163
|
+
"@gradial/aci-cli-darwin-x64": "0.1.52-rc.26",
|
|
164
|
+
"@gradial/aci-cli-linux-arm64": "0.1.52-rc.26",
|
|
165
|
+
"@gradial/aci-cli-linux-x64": "0.1.52-rc.26",
|
|
166
|
+
"@gradial/aci-cli-win32-arm64": "0.1.52-rc.26",
|
|
167
|
+
"@gradial/aci-cli-win32-x64": "0.1.52-rc.26"
|
|
168
168
|
}
|
|
169
169
|
}
|