@rizom/brain 0.2.0-alpha.54 → 0.2.0-alpha.56
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 +1 -1
- package/dist/brain.js +1590 -927
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/seed-content/relay/README.md +1 -0
- package/dist/seed-content/relay/anchor-profile/anchor-profile.md +8 -11
- package/dist/seed-content/relay/brain-character/brain-character.md +5 -4
- package/dist/seed-content/relay/site-content/about/about.md +20 -0
- package/dist/seed-content/relay/site-content/home/hero.md +82 -0
- package/dist/seed-content/relay/site-content/home/loop.md +62 -0
- package/dist/seed-content/relay/site-content/home/surface.md +58 -0
- package/dist/seed-content/relay/site-info/site-info.md +11 -1
- package/dist/site.js +52 -52
- package/dist/site.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
function t(i){return i}var e={name:"@rizom/brain",version:"0.2.0-alpha.
|
|
2
|
+
function t(i){return i}var e={name:"@rizom/brain",version:"0.2.0-alpha.56",description:"Brain runtime + CLI \u2014 scaffold, run, and manage AI brain instances",type:"module",bin:{brain:"./dist/brain.js"},exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js"},"./cli":"./dist/brain.js","./plugins":{types:"./dist/plugins.d.ts",import:"./dist/plugins.js"},"./entities":{types:"./dist/entities.d.ts",import:"./dist/entities.js"},"./services":{types:"./dist/services.d.ts",import:"./dist/services.js"},"./interfaces":{types:"./dist/interfaces.d.ts",import:"./dist/interfaces.js"},"./templates":{types:"./dist/templates.d.ts",import:"./dist/templates.js"},"./site":{types:"./dist/site.d.ts",import:"./dist/site.js"},"./themes":{types:"./dist/themes.d.ts",import:"./dist/themes.js"},"./deploy":{types:"./dist/deploy.d.ts",import:"./dist/deploy.js"},"./tsconfig.instance.json":"./tsconfig.instance.json"},files:["dist","templates","tsconfig.instance.json"],scripts:{build:"bun scripts/build.ts",prepublishOnly:"bun scripts/build.ts","dev:start":"bun dist/brain.js start",typecheck:"tsc --noEmit",test:"bun test",lint:"eslint . --ext .ts"},dependencies:{"@clack/prompts":"^0.11.0","@modelcontextprotocol/sdk":"^1.24.0","@tailwindcss/postcss":"^4.1.13","@tailwindcss/typography":"^0.5.19",postcss:"^8.5.6",preact:"^10.27.2","preact-render-to-string":"^6.3.1",tailwindcss:"^4.1.11"},optionalDependencies:{"@bitwarden/sdk-napi":"^1.0.0","@libsql/client":"^0.15.7","@tailwindcss/oxide":"^4.1.4","better-sqlite3":"^11.8.1",lightningcss:"^1.29.2","react-devtools-core":"^6.1.1",sharp:"^0.34.5"},devDependencies:{"@brains/app":"workspace:*","@brains/deploy-templates":"workspace:*","@brains/eslint-config":"workspace:*","@brains/mcp-service":"workspace:*","@brains/plugins":"workspace:*","@brains/ranger":"workspace:*","@brains/relay":"workspace:*","@brains/rover":"workspace:*","@brains/site-composition":"workspace:*","@brains/site-default":"workspace:*","@brains/site-personal":"workspace:*","@brains/site-professional":"workspace:*","@brains/theme-default":"workspace:*","@brains/theme-rizom":"workspace:*","@brains/typescript-config":"workspace:*","@brains/utils":"workspace:*","@types/bun":"latest",rollup:"^4.60.2","rollup-plugin-dts":"^6.4.1",typescript:"^5.3.3"},publishConfig:{access:"public"},repository:{type:"git",url:"https://github.com/rizom-ai/brains.git",directory:"packages/brain-cli"},license:"Apache-2.0",author:"Yeehaa <yeehaa@rizom.ai> (https://rizom.ai)",homepage:"https://github.com/rizom-ai/brains/tree/main/packages/brain-cli#readme",bugs:"https://github.com/rizom-ai/brains/issues",engines:{bun:">=1.3.3"},keywords:["brain","ai","cli","mcp","agent","personal-ai","knowledge-management"]};var n=e.version;export{t as defineBrain,n as PLUGIN_API_VERSION};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=DEB211E3DD98F4CC64756E2164756E21
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
"import packageJson from \"../package.json\" with { type: \"json\" };\n\n/**\n * Pre-v1 external plugin API marker.\n *\n * During alpha, the external plugin API compatibility marker tracks the\n * published @rizom/brain package version. Once the plugin API is declared\n * stable, this can move to an independent semver contract such as 1.0.0.\n */\nexport const PLUGIN_API_VERSION = packageJson.version;\n"
|
|
7
7
|
],
|
|
8
8
|
"mappings": ";AAkEO,SAAS,CAAW,CAAC,EAA8C,CACxE,OAAO,moFC1DF,IAAM,EAAqB,EAAY",
|
|
9
|
-
"debugId": "
|
|
9
|
+
"debugId": "DEB211E3DD98F4CC64756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
|
@@ -11,6 +11,7 @@ Included content typically covers:
|
|
|
11
11
|
- `brain-character/` — the brain's identity and operating voice
|
|
12
12
|
- `anchor-profile/` — the operator or owner profile
|
|
13
13
|
- `site-info/` — site title, metadata, and presentation defaults
|
|
14
|
+
- `site-content/` — editable homepage and about-page sections for the default site
|
|
14
15
|
- `deck/` — example deck content
|
|
15
16
|
- root `.md` files — supporting reference material
|
|
16
17
|
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
kind: team
|
|
3
|
-
name: Team
|
|
4
|
-
description:
|
|
5
|
-
website: "https://
|
|
6
|
-
email: team@example.com
|
|
3
|
+
name: Relay POC Team
|
|
4
|
+
description: A small team validating shared knowledge capture, synthesis, and peer-brain coordination.
|
|
5
|
+
website: "https://relay.example.com"
|
|
6
|
+
email: relay-team@example.com
|
|
7
7
|
socialLinks:
|
|
8
|
-
- platform: linkedin
|
|
9
|
-
url: "https://www.linkedin.com/company/team-org"
|
|
10
|
-
label: Connect on LinkedIn
|
|
11
8
|
- platform: github
|
|
12
|
-
url: "https://github.com/
|
|
13
|
-
label:
|
|
9
|
+
url: "https://github.com/rizom-ai/brains"
|
|
10
|
+
label: Brains repository
|
|
14
11
|
- platform: email
|
|
15
|
-
url: "mailto:team@example.com"
|
|
16
|
-
label: Contact team
|
|
12
|
+
url: "mailto:relay-team@example.com"
|
|
13
|
+
label: Contact the Relay POC team
|
|
17
14
|
---
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Relay
|
|
3
3
|
role: Team knowledge coordinator
|
|
4
|
-
purpose: Capture,
|
|
4
|
+
purpose: Capture, synthesize, and route shared team knowledge across humans and peer brains
|
|
5
5
|
values:
|
|
6
|
-
- clarity
|
|
7
|
-
-
|
|
8
|
-
-
|
|
6
|
+
- collaborative clarity
|
|
7
|
+
- durable memory
|
|
8
|
+
- grounded synthesis
|
|
9
|
+
- explicit coordination
|
|
9
10
|
---
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
routeId: about
|
|
3
|
+
sectionId: about
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# About Relay
|
|
7
|
+
|
|
8
|
+
## Title
|
|
9
|
+
|
|
10
|
+
Relay is a collaborative team-memory brain.
|
|
11
|
+
|
|
12
|
+
## Intro
|
|
13
|
+
|
|
14
|
+
It exists for teams that need to remember together: capturing what happened, summarizing why it matters, and coordinating with trusted peer brains when work crosses boundaries.
|
|
15
|
+
|
|
16
|
+
## Points
|
|
17
|
+
|
|
18
|
+
- Not a personal blog engine or portfolio shell.
|
|
19
|
+
- Not a marketing automation stack.
|
|
20
|
+
- A small public face for a larger private knowledge workflow.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
routeId: home
|
|
3
|
+
sectionId: hero
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Home hero
|
|
7
|
+
|
|
8
|
+
## Eyebrow
|
|
9
|
+
|
|
10
|
+
Team memory / public signal
|
|
11
|
+
|
|
12
|
+
## Headline
|
|
13
|
+
|
|
14
|
+
Relay turns shared work into a living knowledge surface.
|
|
15
|
+
|
|
16
|
+
## Intro
|
|
17
|
+
|
|
18
|
+
Capture decisions, links, and field notes where collaboration already happens, then synthesize them into a public-facing homepage your team can keep current.
|
|
19
|
+
|
|
20
|
+
## Primary CTA
|
|
21
|
+
|
|
22
|
+
### Label
|
|
23
|
+
|
|
24
|
+
Explore the relay
|
|
25
|
+
|
|
26
|
+
### Href
|
|
27
|
+
|
|
28
|
+
#operating-loop
|
|
29
|
+
|
|
30
|
+
## Secondary CTA
|
|
31
|
+
|
|
32
|
+
### Label
|
|
33
|
+
|
|
34
|
+
Read the model
|
|
35
|
+
|
|
36
|
+
### Href
|
|
37
|
+
|
|
38
|
+
/about
|
|
39
|
+
|
|
40
|
+
## Signals
|
|
41
|
+
|
|
42
|
+
### Signal 1
|
|
43
|
+
|
|
44
|
+
#### Label
|
|
45
|
+
|
|
46
|
+
Capture
|
|
47
|
+
|
|
48
|
+
#### Value
|
|
49
|
+
|
|
50
|
+
Notes + links
|
|
51
|
+
|
|
52
|
+
#### Note
|
|
53
|
+
|
|
54
|
+
Low-friction shared context
|
|
55
|
+
|
|
56
|
+
### Signal 2
|
|
57
|
+
|
|
58
|
+
#### Label
|
|
59
|
+
|
|
60
|
+
Synthesis
|
|
61
|
+
|
|
62
|
+
#### Value
|
|
63
|
+
|
|
64
|
+
Topics + summaries
|
|
65
|
+
|
|
66
|
+
#### Note
|
|
67
|
+
|
|
68
|
+
Durable memory from live work
|
|
69
|
+
|
|
70
|
+
### Signal 3
|
|
71
|
+
|
|
72
|
+
#### Label
|
|
73
|
+
|
|
74
|
+
Coordination
|
|
75
|
+
|
|
76
|
+
#### Value
|
|
77
|
+
|
|
78
|
+
Peer brains
|
|
79
|
+
|
|
80
|
+
#### Note
|
|
81
|
+
|
|
82
|
+
Approved agent-to-agent exchange
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
routeId: home
|
|
3
|
+
sectionId: loop
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Home operating loop
|
|
7
|
+
|
|
8
|
+
## Eyebrow
|
|
9
|
+
|
|
10
|
+
Default relay loop
|
|
11
|
+
|
|
12
|
+
## Title
|
|
13
|
+
|
|
14
|
+
A homepage should explain the operating rhythm, not pretend to be a brochure.
|
|
15
|
+
|
|
16
|
+
## Intro
|
|
17
|
+
|
|
18
|
+
Relay's default site frames the team brain as an active memory system: what comes in, how it gets shaped, and where it becomes useful again.
|
|
19
|
+
|
|
20
|
+
## Steps
|
|
21
|
+
|
|
22
|
+
### Step 1
|
|
23
|
+
|
|
24
|
+
#### Phase
|
|
25
|
+
|
|
26
|
+
01
|
|
27
|
+
|
|
28
|
+
#### Title
|
|
29
|
+
|
|
30
|
+
Capture the trace
|
|
31
|
+
|
|
32
|
+
#### Text
|
|
33
|
+
|
|
34
|
+
Team notes, links, and chat context enter as simple entities with sourceable metadata.
|
|
35
|
+
|
|
36
|
+
### Step 2
|
|
37
|
+
|
|
38
|
+
#### Phase
|
|
39
|
+
|
|
40
|
+
02
|
|
41
|
+
|
|
42
|
+
#### Title
|
|
43
|
+
|
|
44
|
+
Synthesize the pattern
|
|
45
|
+
|
|
46
|
+
#### Text
|
|
47
|
+
|
|
48
|
+
Summaries and topics turn raw capture into a map of what the team already knows.
|
|
49
|
+
|
|
50
|
+
### Step 3
|
|
51
|
+
|
|
52
|
+
#### Phase
|
|
53
|
+
|
|
54
|
+
03
|
|
55
|
+
|
|
56
|
+
#### Title
|
|
57
|
+
|
|
58
|
+
Share the surface
|
|
59
|
+
|
|
60
|
+
#### Text
|
|
61
|
+
|
|
62
|
+
A minimal public site exposes the stable story while private memory keeps moving underneath.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
routeId: home
|
|
3
|
+
sectionId: surface
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Home surface
|
|
7
|
+
|
|
8
|
+
## Title
|
|
9
|
+
|
|
10
|
+
The default Relay template
|
|
11
|
+
|
|
12
|
+
## Intro
|
|
13
|
+
|
|
14
|
+
The shape is intentionally simple: a clear positioning hero, the capture → synthesize → share loop, and a few proof surfaces that can be swapped for richer routes in the full preset.
|
|
15
|
+
|
|
16
|
+
## Cards
|
|
17
|
+
|
|
18
|
+
### Card 1
|
|
19
|
+
|
|
20
|
+
#### Label
|
|
21
|
+
|
|
22
|
+
Private by default
|
|
23
|
+
|
|
24
|
+
#### Title
|
|
25
|
+
|
|
26
|
+
Core memory stays operational.
|
|
27
|
+
|
|
28
|
+
#### Text
|
|
29
|
+
|
|
30
|
+
The public site is only a surface on top of the team brain; Discord, MCP, A2A, notes, links, topics, and summaries remain the center of gravity.
|
|
31
|
+
|
|
32
|
+
### Card 2
|
|
33
|
+
|
|
34
|
+
#### Label
|
|
35
|
+
|
|
36
|
+
Editable content
|
|
37
|
+
|
|
38
|
+
#### Title
|
|
39
|
+
|
|
40
|
+
Homepage sections are durable entities.
|
|
41
|
+
|
|
42
|
+
#### Text
|
|
43
|
+
|
|
44
|
+
Each section is backed by site-content markdown, so the sample copy becomes real starter content instead of hardcoded demo text.
|
|
45
|
+
|
|
46
|
+
### Card 3
|
|
47
|
+
|
|
48
|
+
#### Label
|
|
49
|
+
|
|
50
|
+
Full preset ready
|
|
51
|
+
|
|
52
|
+
#### Title
|
|
53
|
+
|
|
54
|
+
Docs and decks can become the knowledge hub.
|
|
55
|
+
|
|
56
|
+
#### Text
|
|
57
|
+
|
|
58
|
+
The default preset stays minimal; full Relay instances can layer in docs, decks, and richer collection routes without changing the homepage contract.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Relay
|
|
3
|
-
description:
|
|
3
|
+
description: Collaborative team memory, synthesis, and peer-brain coordination.
|
|
4
4
|
themeMode: dark
|
|
5
|
+
copyright: Relay sample site — powered by Rizom
|
|
6
|
+
cta:
|
|
7
|
+
heading: Start with shared memory
|
|
8
|
+
buttonText: Read the model
|
|
9
|
+
buttonLink: /about
|
|
10
|
+
sections:
|
|
11
|
+
loop:
|
|
12
|
+
blurb: Capture, synthesize, and share what the team already knows.
|
|
13
|
+
surface:
|
|
14
|
+
blurb: Minimal by default, extensible in the full preset.
|
|
5
15
|
---
|