holomime 1.9.1 → 1.9.2

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 (3) hide show
  1. package/README.md +50 -3
  2. package/dist/cli.js +3 -1
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -435,16 +435,63 @@ Fleet knowledge transfer: `mergeStores()` -- what one agent learns, all agents b
435
435
 
436
436
  ## MCP Server
437
437
 
438
- Expose the full pipeline as MCP tools for self-healing agents:
438
+ Your agent can refer itself to therapy. Add holomime to any MCP-compatible IDE in one command:
439
439
 
440
440
  ```bash
441
- holomime-mcp
441
+ # Claude Code
442
+ claude mcp add holomime -- npx holomime-mcp
443
+
444
+ # Cursor — add to .cursor/mcp.json
445
+ # Windsurf — add to ~/.codeium/windsurf/mcp_config.json
446
+ # VS Code — add to .vscode/mcp.json
447
+ {
448
+ "mcpServers": {
449
+ "holomime": {
450
+ "command": "npx",
451
+ "args": ["holomime-mcp"]
452
+ }
453
+ }
454
+ }
442
455
  ```
443
456
 
444
- Six tools: `holomime_diagnose`, `holomime_assess`, `holomime_profile`, `holomime_autopilot`, `holomime_self_audit`, `holomime_observe`. Your agents can self-diagnose behavioral symptoms, trigger their own therapy sessions, and self-report drift mid-conversation.
457
+ Six tools your agent can call mid-conversation:
458
+
459
+ | Tool | What it does |
460
+ |------|-------------|
461
+ | `holomime_diagnose` | Analyze messages for 8 behavioral patterns (zero LLM cost) |
462
+ | `holomime_self_audit` | Mid-conversation self-check with actionable corrections |
463
+ | `holomime_assess` | Full Big Five alignment check against personality spec |
464
+ | `holomime_profile` | Human-readable personality summary |
465
+ | `holomime_autopilot` | Auto-triggered therapy when drift exceeds threshold |
466
+ | `holomime_observe` | Record self-observations to persistent behavioral memory |
445
467
 
446
468
  Progressive disclosure: summary (~100 tokens), standard (~500 tokens), or full detail. Agents choose their own detail level.
447
469
 
470
+ Full docs: [holomime.dev/mcp](https://holomime.dev/mcp)
471
+
472
+ ## CI/CD Behavioral Gate
473
+
474
+ Use `holomime benchmark` as a GitHub Actions PR gate. Fail the build if your agent's behavioral grade drops below a threshold:
475
+
476
+ ```yaml
477
+ # .github/workflows/behavioral-check.yml
478
+ name: Behavioral Check
479
+ on: [pull_request]
480
+
481
+ jobs:
482
+ behavioral-gate:
483
+ uses: productstein/holomime/.github/workflows/behavioral-gate.yml@main
484
+ with:
485
+ personality: '.personality.json'
486
+ provider: 'anthropic'
487
+ model: 'claude-haiku-4-5-20251001'
488
+ min-grade: 'B'
489
+ secrets:
490
+ api-key: ${{ secrets.ANTHROPIC_API_KEY }}
491
+ ```
492
+
493
+ Prevents personality regressions the same way tests prevent code regressions.
494
+
448
495
  ## Voice Agent Monitoring
449
496
 
450
497
  Real-time behavioral analysis for voice agents with 5 voice-specific detectors beyond the 8 text detectors:
package/dist/cli.js CHANGED
@@ -2089,7 +2089,9 @@ import { resolve as resolve21 } from "path";
2089
2089
  function convertDPOToOpenAI(pairs) {
2090
2090
  return pairs.map(
2091
2091
  (pair) => JSON.stringify({
2092
- input: [{ role: "user", content: pair.prompt }],
2092
+ input: {
2093
+ messages: [{ role: "user", content: pair.prompt }]
2094
+ },
2093
2095
  preferred_output: [{ role: "assistant", content: pair.chosen }],
2094
2096
  non_preferred_output: [{ role: "assistant", content: pair.rejected }]
2095
2097
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holomime",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Behavioral therapy infrastructure for AI agents — Big Five psychology, structured treatment, behavioral alignment",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,6 +32,7 @@
32
32
  "engines": {
33
33
  "node": ">=18"
34
34
  },
35
+ "mcpName": "io.github.productstein/holomime",
35
36
  "repository": {
36
37
  "type": "git",
37
38
  "url": "git+https://github.com/productstein/holomime.git"