@rizom/brain 0.1.1-alpha.6 → 0.1.1-alpha.7

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/themes.d.ts CHANGED
@@ -16,8 +16,8 @@
16
16
  */
17
17
 
18
18
  /**
19
- * Prepend the shared base theme utilities to a site-specific theme
20
- * CSS string and return the combined result.
19
+ * Prepend the shared base theme utilities to a raw theme CSS string
20
+ * and return the combined result.
21
21
  *
22
22
  * The base utilities layer contains:
23
23
  *
@@ -32,22 +32,17 @@
32
32
  * - Universal gradient, status, selection, and warning utilities
33
33
  * - Prose color slots for `@tailwindcss/typography`
34
34
  *
35
- * Consumers MUST call `composeTheme(myThemeCSS)` when constructing a
36
- * `SitePackage.theme` from their own CSS. Without it, Tailwind can't
37
- * resolve utilities like `bg-brand` and the site build crashes with:
38
- *
39
- * Cannot apply unknown utility class `focus-visible:ring-brand`
35
+ * The framework resolver uses this helper when it loads a raw theme
36
+ * package or inline theme CSS. Advanced consumers can use the same
37
+ * helper when they need a fully composed CSS string outside the
38
+ * resolver.
40
39
  *
41
40
  * @example
42
41
  * ```ts
43
42
  * import { composeTheme } from "@rizom/brain/themes";
44
- * import type { SitePackage } from "@rizom/brain/site";
45
43
  * import themeCSS from "./theme.css" with { type: "text" };
46
44
  *
47
- * const site: SitePackage = {
48
- * theme: composeTheme(themeCSS),
49
- * // ...
50
- * };
45
+ * const fullThemeCSS = composeTheme(themeCSS);
51
46
  * ```
52
47
  */
53
48
  export function composeTheme(themeCSS: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/brain",
3
- "version": "0.1.1-alpha.6",
3
+ "version": "0.1.1-alpha.7",
4
4
  "description": "Brain runtime + CLI — scaffold, run, and manage AI brain instances",
5
5
  "type": "module",
6
6
  "bin": {
@@ -49,6 +49,7 @@
49
49
  "@brains/app": "workspace:*",
50
50
  "@brains/eslint-config": "workspace:*",
51
51
  "@brains/layout-personal": "workspace:*",
52
+ "@brains/layout-professional": "workspace:*",
52
53
  "@brains/mcp-service": "workspace:*",
53
54
  "@brains/plugins": "workspace:*",
54
55
  "@brains/rover": "workspace:*",