@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.
@@ -68,6 +68,7 @@ export interface ResolvedSiteOverride {
68
68
  package: string;
69
69
  version: string;
70
70
  theme?: string | undefined;
71
+ themeVersion?: string | undefined;
71
72
  }
72
73
  export interface ResolvedUserIdentity {
73
74
  handle: string;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.236",
3
+ "version": "0.2.0-alpha.238",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",
@@ -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
- - Publish packages at the same exact version as the compatible `@rizom/brain` release. Hosted configuration resolves package names plus the effective version into exact npm refs.
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
- # version: <exact-brain-version> # optional deliberate pin
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 site override produces
161
- an isolated per-instance image; it never changes the fleet's shared default
162
- image.
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