@rizom/ops 0.2.0-alpha.236 → 0.2.0-alpha.238
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/dist/brains-ops.js +51 -51
- package/dist/deploy.js +20 -20
- package/dist/images.d.ts +3 -3
- package/dist/index.js +71 -71
- package/dist/load-registry.d.ts +1 -0
- package/dist/schema.d.ts +1 -0
- package/package.json +1 -1
- package/templates/rover-pilot/docs/operator-playbook.md +8 -5
package/dist/load-registry.d.ts
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ declare const siteOverrideSchema: z.ZodObject<{
|
|
|
74
74
|
package: z.ZodString;
|
|
75
75
|
version: z.ZodOptional<typeof exactVersionSchema>;
|
|
76
76
|
theme: z.ZodOptional<z.ZodString>;
|
|
77
|
+
themeVersion: z.ZodOptional<typeof exactVersionSchema>;
|
|
77
78
|
}>;
|
|
78
79
|
declare const playbooksSchema: z.ZodObject<{
|
|
79
80
|
onboarding: z.ZodOptional<z.ZodBoolean>;
|
package/package.json
CHANGED
|
@@ -144,7 +144,7 @@ Start with the public [site mockup migration guide](https://github.com/rizom-ai/
|
|
|
144
144
|
- A site package must default-export a valid `SitePackage` and use documented public APIs such as `@rizom/brain/site`.
|
|
145
145
|
- A theme package must default-export its CSS as a string. Hosted custom themes currently use the `@rizom/*` scope so the fleet image installs them with the site package; `@brains/*` themes are bundled with `@rizom/brain`.
|
|
146
146
|
- Site and custom theme packages must be public npm packages that install without registry credentials.
|
|
147
|
-
-
|
|
147
|
+
- Site and theme packages publish on their own release cadences, independent of `@rizom/brain` and of each other. Hosted configuration resolves package names plus pinned versions into exact npm refs.
|
|
148
148
|
- Keep site structure and theme CSS in separate packages. Do not put private content or secrets in either package.
|
|
149
149
|
|
|
150
150
|
Configure a user in `users/<handle>.yaml`:
|
|
@@ -153,13 +153,16 @@ Configure a user in `users/<handle>.yaml`:
|
|
|
153
153
|
siteOverride:
|
|
154
154
|
package: "@rizom/site-example"
|
|
155
155
|
theme: "@rizom/theme-example"
|
|
156
|
-
|
|
156
|
+
themeVersion: <exact-theme-version> # required for @rizom/* themes
|
|
157
|
+
# version: <exact-site-version> # optional deliberate pin
|
|
157
158
|
```
|
|
158
159
|
|
|
159
160
|
When `version` is omitted, it defaults to the user's effective brain version
|
|
160
|
-
(cohort override first, then `pilot.yaml.brainVersion`). A
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
(cohort override first, then `pilot.yaml.brainVersion`). A `@rizom/*` theme
|
|
162
|
+
always requires an explicit `themeVersion` — themes and sites version
|
|
163
|
+
independently, so the theme's version is never inferred. A site override
|
|
164
|
+
produces an isolated per-instance image; it never changes the fleet's shared
|
|
165
|
+
default image.
|
|
163
166
|
|
|
164
167
|
### Custom-package canary and rollback
|
|
165
168
|
|