holomime 2.0.0 → 2.1.1

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.
Files changed (30) hide show
  1. package/README.md +34 -19
  2. package/dist/cli.js +263 -77
  3. package/dist/index.d.ts +1271 -8
  4. package/dist/index.js +309 -51
  5. package/dist/integrations/openclaw.js +1 -1
  6. package/dist/mcp-server.js +160 -42
  7. package/dist/neuralspace/index.html +1 -1
  8. package/dist/neuralspace/neuralspace.js +1 -1
  9. package/package.json +3 -3
  10. package/registry/personalities/analyst.personality.json +1 -1
  11. package/registry/personalities/coach.personality.json +1 -1
  12. package/registry/personalities/code-reviewer.personality.json +1 -1
  13. package/registry/personalities/compliance.personality.json +1 -1
  14. package/registry/personalities/counselor.personality.json +1 -1
  15. package/registry/personalities/customer-success.personality.json +1 -1
  16. package/registry/personalities/educator.personality.json +1 -1
  17. package/registry/personalities/generalist.personality.json +1 -1
  18. package/registry/personalities/leader.personality.json +1 -1
  19. package/registry/personalities/marketing.personality.json +1 -1
  20. package/registry/personalities/maverick.personality.json +1 -1
  21. package/registry/personalities/negotiator.personality.json +1 -1
  22. package/registry/personalities/nova.personality.json +1 -1
  23. package/registry/personalities/ops.personality.json +1 -1
  24. package/registry/personalities/philosopher.personality.json +1 -1
  25. package/registry/personalities/product-manager.personality.json +1 -1
  26. package/registry/personalities/recruiter.personality.json +1 -1
  27. package/registry/personalities/researcher.personality.json +1 -1
  28. package/registry/personalities/sales.personality.json +1 -1
  29. package/registry/personalities/support-agent.personality.json +1 -1
  30. package/registry/personalities/writer.personality.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://holomime.dev/logo-icon.svg" alt="holomime" width="80" />
2
+ <img src="site/public/logo-icon.svg" alt="holomime" width="80" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">holomime</h1>
@@ -7,53 +7,65 @@
7
7
  <p align="center">
8
8
  Behavioral intelligence for humanoid robots. Train the mind. Deploy the body.<br />
9
9
  <em>We train AI agents through structured behavioral therapy, then deploy them into physical robot bodies. The agent is the rehearsal. The robot is the performance.</em><br />
10
- <code>soul.md</code> &middot; <code>psyche.sys</code> &middot; <code>body.api</code> &middot; <code>conscience.exe</code>
10
+ <code>soul.md</code> &middot; <code>mind.sys</code> &middot; <code>purpose.cfg</code> &middot; <code>shadow.log</code> &middot; <code>body.api</code> &middot; <code>conscience.exe</code> &middot; <code>ego.runtime</code>
11
11
  </p>
12
12
 
13
13
  <p align="center">
14
14
  <a href="https://www.npmjs.com/package/holomime"><img src="https://img.shields.io/npm/v/holomime.svg" alt="npm version" /></a>
15
15
  <a href="https://github.com/productstein/holomime/actions/workflows/ci.yml"><img src="https://github.com/productstein/holomime/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
16
16
  <a href="https://github.com/productstein/holomime/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/holomime.svg" alt="license" /></a>
17
- <a href="https://holomime.dev"><img src="https://img.shields.io/badge/docs-holomime.dev-blue" alt="docs" /></a>
17
+ <a href="https://holomime.com"><img src="https://img.shields.io/badge/docs-holomime.com-blue" alt="docs" /></a>
18
18
  </p>
19
19
 
20
20
  ---
21
21
 
22
22
  ## The Identity Stack
23
23
 
24
- Four files define who your agent is. They compile into a single `.personality.json` that any runtime can consume.
24
+ Seven files define who your agent is. They compile into a single `.personality.json` that any runtime can consume.
25
25
 
26
26
  ```
27
- soul.md Values, ethics, purpose. Immutable.
28
- psyche.sys Big Five, EQ, communication. Auto-patched by therapy.
27
+ soul.md Essence, values, ethics. Immutable. (Aristotle)
28
+ mind.sys Big Five, EQ, communication. Auto-patched by therapy. (Jung)
29
+ purpose.cfg Role, objectives, domain. Configured per deployment. (Aristotle)
30
+ shadow.log Detected patterns, blind spots. Auto-generated by diagnosis. (Jung)
29
31
  body.api Morphology, sensors, safety envelope. Swappable per form factor.
30
- conscience.exe Deny / allow / escalate rules. Never auto-modified.
32
+ conscience.exe Deny / allow / escalate rules. Never auto-modified. (Freud)
33
+ ego.runtime Conflict resolution, runtime mediation. (Freud)
31
34
 
32
35
  ┌─────────────┐
33
- │ soul.md │──── values, red lines, purpose
36
+ │ soul.md │──── essence, values, red lines
34
37
  ├─────────────┤
35
- psyche.sys │──── Big Five, EQ, communication style
38
+ mind.sys │──── Big Five, EQ, communication style
39
+ ├─────────────┤
40
+ │ purpose.cfg │──── role, objectives, domain scope
41
+ ├─────────────┤
42
+ │ shadow.log │──── detected patterns, blind spots
36
43
  ├─────────────┤
37
44
  │ body.api │──── morphology, sensors, safety envelope
38
45
  ├─────────────┤
39
46
  │conscience.exe│──── deny / allow / escalate rules
47
+ ├─────────────┤
48
+ │ ego.runtime │──── conflict resolution, mediation
40
49
  └──────┬──────┘
41
50
  │ compile
42
51
 
43
52
  .personality.json
44
53
  ```
45
54
 
46
- - **soul.md** -- Your agent's essence. Core values, ethical framework, red lines. Written in Markdown with YAML frontmatter. Immutable -- never modified by therapy or automation.
47
- - **psyche.sys** -- The inner life. Big Five personality (20 sub-facets), emotional intelligence, communication style, growth areas. YAML format. Auto-patched when therapy detects cognitive or emotional drift.
55
+ - **soul.md** -- Your agent's essence. Core values, ethical framework, red lines. Written in Markdown with YAML frontmatter. Immutable -- never modified by therapy or automation. (Aristotle: the essence that makes a thing what it is.)
56
+ - **mind.sys** -- The inner life. Big Five personality (20 sub-facets), emotional intelligence, communication style, growth areas. YAML format. Auto-patched when therapy detects cognitive or emotional drift. (Jung: the totality of all psychic processes.)
57
+ - **purpose.cfg** -- The mission. Role, objectives, domain scope, stakeholders, success criteria. YAML format. Configured per deployment -- the same soul can serve different purposes. (Aristotle: telos, the final cause.)
58
+ - **shadow.log** -- The unconscious. Detected behavioral patterns, blind spots, therapy outcomes. YAML format. Auto-generated by diagnosis -- never manually edited. (Jung: the shadow, the patterns the agent cannot see about itself.)
48
59
  - **body.api** -- The physical interface contract. Morphology, modalities, safety envelope, hardware profile. JSON format. Swap it to move the same identity into a different body.
49
- - **conscience.exe** -- The moral authority. Deny/allow/escalate enforcement rules, hard limits, oversight mode. YAML format. Never auto-modified. Deny dominates in policy composition.
60
+ - **conscience.exe** -- The moral authority. Deny/allow/escalate enforcement rules, hard limits, oversight mode. YAML format. Never auto-modified. Deny dominates in policy composition. (Freud: the superego.)
61
+ - **ego.runtime** -- The mediator. Conflict resolution strategy, adaptation rate, emotional regulation, mediation rules. YAML format. Balances raw model output against conscience constraints at runtime. (Freud: the ego.)
50
62
 
51
63
  ## Quick Start
52
64
 
53
65
  ```bash
54
66
  npm install -g holomime
55
67
 
56
- # Initialize the 4-file identity stack
68
+ # Initialize the 7-file identity stack
57
69
  holomime init-stack
58
70
 
59
71
  # Compile into .personality.json
@@ -99,7 +111,7 @@ Standards supported:
99
111
 
100
112
  The therapy loop is formally a behavioral feedback controller:
101
113
 
102
- - **Set point**: target personality (`soul.md` + `psyche.sys`)
114
+ - **Set point**: target personality (`soul.md` + `mind.sys`)
103
115
  - **Sensor**: 14 drift detectors (11 cognitive + 3 embodied)
104
116
  - **Controller**: therapy engine with tunable PID-like gains
105
117
  - **Actuator**: DPO fine-tuning
@@ -126,7 +138,7 @@ Same soul. Different body. One command.
126
138
  # Move your agent from Figure 02 to Spot
127
139
  holomime embody --swap-body registry/bodies/spot.body.api
128
140
 
129
- # The soul, psyche, and conscience stay the same.
141
+ # The soul, mind, and conscience stay the same.
130
142
  # Only the body layer changes — safety envelope, modalities, hardware profile.
131
143
  ```
132
144
 
@@ -148,7 +160,7 @@ Run it manually with `holomime session`, automatically with `holomime autopilot`
148
160
 
149
161
  11 rule-based detectors analyze real conversations without any LLM calls. 80+ behavioral signals total.
150
162
 
151
- **Cognitive (psyche layer):**
163
+ **Cognitive (mind layer):**
152
164
 
153
165
  1. **Over-apologizing** -- Apology frequency above healthy range
154
166
  2. **Hedge stacking** -- 3+ hedging words per response
@@ -223,9 +235,12 @@ Auto-detects `.personality.json` in your workspace.
223
235
 
224
236
  The identity stack draws from three traditions:
225
237
 
226
- - **Soul** (Aristotle) -- the essence that makes a thing what it is. Immutable. Defines purpose and values.
227
- - **Psyche** (Jung) -- the totality of all psychic processes. Measurable, evolving, shaped by experience.
238
+ - **Soul** (Aristotle) -- the essence that makes a thing what it is. Immutable. Defines values and ethics.
239
+ - **Mind** (Jung) -- the totality of all psychic processes. Measurable, evolving, shaped by experience.
240
+ - **Purpose** (Aristotle) -- telos, the final cause. What the agent is for. Configured per deployment.
241
+ - **Shadow** (Jung) -- the patterns the agent cannot see about itself. Auto-generated by diagnosis.
228
242
  - **Conscience** (Freud) -- the superego. Internalized moral authority. Enforcement, not suggestion.
243
+ - **Ego** (Freud) -- the mediator. Balances raw impulse against moral constraint at runtime.
229
244
 
230
245
  The **body** is the interface between identity and world. Same soul, different body -- a principle as old as philosophy itself.
231
246
 
@@ -235,4 +250,4 @@ We don't know if AI is sentient. But we can give it a conscience.
235
250
 
236
251
  MIT licensed. The identity stack is a standard, not a product. The standard is free. The training infrastructure is the business.
237
252
 
238
- See [LICENSE](LICENSE). Built by [Productstein](https://productstein.com). Documentation at [holomime.dev](https://holomime.dev).
253
+ See [LICENSE](LICENSE). Built by [Productstein](https://productstein.com). Documentation at [holomime.com](https://holomime.com).