@booboo-brain/panel 0.3.3 → 0.4.0

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.
@@ -4,11 +4,15 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>🐾 Booboo Panel</title>
7
+ <script>
8
+ /* set the theme before first paint so surfaces never flash the wrong colour */
9
+ try { document.documentElement.setAttribute("data-theme", localStorage.getItem("booboo-theme") === "light" ? "light" : "dark"); } catch (e) {}
10
+ </script>
7
11
  <style>
8
- html, body, #root { margin: 0; height: 100%; background: #0b0c10; }
12
+ html, body, #root { margin: 0; height: 100%; background: var(--bg, #0b0c10); }
13
+ :root[data-theme="light"] { --bg: #f5f7f9; } /* so the fallback resolves light before panel.css loads */
9
14
  </style>
10
- <script type="module" crossorigin src="./assets/index-DzDKI7mx.js"></script>
11
- <link rel="stylesheet" crossorigin href="./assets/index-Mur8c07b.css">
15
+ <script type="module" crossorigin src="./assets/index-BaxUVyfs.js"></script>
12
16
  </head>
13
17
  <body>
14
18
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@booboo-brain/panel",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Booboo panel — the organigram. Run your agents like a company: a drag-drop hierarchy your agents boot from, with buckets, reports, rules and the 3D graph, over one org file + snapshot.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "react-dom": ">=18"
33
33
  },
34
34
  "dependencies": {
35
- "@booboo-brain/spec": "0.2.2"
35
+ "@booboo-brain/spec": "0.2.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "react": "^19.0.0",
@@ -44,6 +44,12 @@
44
44
  "tsup": "^8",
45
45
  "typescript": "^5"
46
46
  },
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "engines": {
51
+ "node": ">=18"
52
+ },
47
53
  "scripts": {
48
54
  "build": "tsup src/index.ts --format esm --dts --clean --external react,react-dom,@booboo-brain/spec && vite build --config vite.app.config.ts",
49
55
  "dev": "vite"