@booboo-brain/panel 0.5.2 → 0.5.4
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/README.md +52 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1219 -234
- package/dist-app/assets/index-CgJZeTDV.js +1079 -0
- package/dist-app/index.html +24 -19
- package/package.json +2 -2
- package/dist-app/assets/index-BhChad7x.js +0 -586
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# @booboo-brain/panel
|
|
2
|
+
|
|
3
|
+
The [Booboo](https://github.com/jessedu29260-netizen/booboo) **organigram** — your agent
|
|
4
|
+
fleet as a real org chart, where the chart is the **authority**, not a diagram. Drag an
|
|
5
|
+
agent under a new parent, hit apply, and the org file changes: validated before every
|
|
6
|
+
write (a cycle can never land), versioned in git. Agents that boot with `booboo_boot`
|
|
7
|
+
obey the new shape next session.
|
|
8
|
+
|
|
9
|
+
## Standalone (no React app needed)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
booboo panel --org org.booboo.json [--snapshot brain.json] [--port 8990] [--no-open]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The package ships a prebuilt static app (`dist-app/`) that the
|
|
16
|
+
[`@booboo-brain/cli`](https://www.npmjs.com/package/@booboo-brain/cli) `panel` command
|
|
17
|
+
serves directly. Pass `--snapshot` to light up live memory/report counts on each dossier.
|
|
18
|
+
|
|
19
|
+
Five tabs over one org file + one snapshot:
|
|
20
|
+
|
|
21
|
+
| Tab | What it shows |
|
|
22
|
+
|-----|---------------|
|
|
23
|
+
| **organigram** | the drag-drop hierarchy — every agent a card: rules, skills, buckets, latest reports |
|
|
24
|
+
| **buckets** | each memory bucket with live counts and the agents that reach it |
|
|
25
|
+
| **reports** | what the fleet closed, newest first, filterable per agent |
|
|
26
|
+
| **rules** | who declares each rule, who inherits it (rules inherit top-down) |
|
|
27
|
+
| **graph** | the 3D brain, embedded ([`@booboo-brain/viewer`](https://www.npmjs.com/package/@booboo-brain/viewer)) |
|
|
28
|
+
|
|
29
|
+
Reports and buckets fill two ways: **live**, when an agent calls `booboo_remember` /
|
|
30
|
+
`booboo_report` over MCP (durable journal writes, no rebuild), or **in bulk** from your
|
|
31
|
+
own tables via config — see the repo's
|
|
32
|
+
[docs/CONFIG.md](https://github.com/jessedu29260-netizen/booboo/blob/main/docs/CONFIG.md).
|
|
33
|
+
|
|
34
|
+
## As a React component
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install @booboo-brain/panel react react-dom
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { Panel } from "@booboo-brain/panel";
|
|
42
|
+
|
|
43
|
+
// Standalone default: same-origin /api/*. A host app injects its own backend:
|
|
44
|
+
export function OrgPage() {
|
|
45
|
+
return <Panel api={(path, init) => fetch(`/my-backend${path}`, init).then((r) => r.json())} />;
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`Panel` mounts the full five-tab app; the `api` prop (`ApiFn`) routes every read/write so
|
|
50
|
+
you can back it with anything that speaks the same `/api/*` shape the CLI serves.
|
|
51
|
+
|
|
52
|
+
Part of [Booboo](https://github.com/jessedu29260-netizen/booboo) — the unified operational brain. MIT.
|