monomind 2.9.2 → 2.9.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.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +14 -4
package/README.md CHANGED
@@ -172,7 +172,7 @@ monomind org delete <name> # remove an org
172
172
  monomind org memory <name> # cross-run KG memory: stats (default) | search <q> | rules | rollback <run-ref>
173
173
  ```
174
174
 
175
- `org` has 16 subcommands total (run, stop, status, serve, test-loop, logs, report, memory, questions, answer, create, validate, migrate, list, delete, mark-complete) — `org memory` is the newest addition.
175
+ `org` has 31 subcommands total (run, stop, pause, resume, reload, status, serve, supervisor, test-loop, logs, report, memory, costs, flow, questions, answer, approve, deny, gates, gate-approve, gate-reject, replay, resume-from, branch, decisions, create, validate, migrate, list, delete, mark-complete) — `org memory` is the newest addition.
176
176
 
177
177
  > **Note:** `/mastermind:runorg` now delegates directly to the Org Runtime v2 daemon (the same path as `monomind org run`) — there is no boss agent, no monotask board, and no manual curl calls in this path. The old prompt-orchestrated flow (Task-tool boss agent, monotask board, manual dashboard event posting) is retired to `/mastermind:runorgv1`, reachable only by that explicit legacy name, kept only for orgs not yet migrated off the v1 config shape. New orgs should use `monomind org run` (or `/mastermind:runorg`) against a hand-authored `.monomind/orgs/<name>.json`.
178
178
 
@@ -263,6 +263,8 @@ Retrieval quality is a tested invariant, not a hope: a golden-set eval (paraphra
263
263
 
264
264
  > **Privacy note:** the embedding model (~90MB) is fetched once from HuggingFace's CDN when your first document is indexed, then cached locally forever. That download is the only outbound request the Second Brain ever makes — your documents and queries never leave your machine. Offline at first index? Search degrades gracefully to keyword matching and `monomind doctor` tells you how to warm up later.
265
265
 
266
+ > **Which model where?** Monomind uses three local embedding models, each scoped to one subsystem: `Snowflake/snowflake-arctic-embed-xs` (~88MB) for semantic task routing, MiniLM (~90MB) for Second Brain document retrieval, and `Alibaba-NLP/gte-modernbert-base` (768-dim) for the persistent memory store. See [Embeddings](./doc/commands/memory.md#hybrid-search-architecture--options) for which model each subsystem uses.
267
+
266
268
  ---
267
269
 
268
270
  ## 🧠 Memory That Persists
@@ -285,7 +287,7 @@ graph TD
285
287
  ```
286
288
 
287
289
  ```bash
288
- monomind memory store "key insight" --namespace my-project
290
+ monomind memory store --key "key insight" --value "…" --namespace my-project
289
291
  monomind memory search "auth implementation" # semantic (local embeddings) with keyword fallback
290
292
  ```
291
293
 
@@ -369,7 +371,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
369
371
  | `monomind org run <name>` | Start an org as a real SDK-backed daemon |
370
372
  | `monomind org status` / `list` | Runtime state for one or all orgs |
371
373
  | `monomind org stop <name>` | Request a graceful stop |
372
- | `/mastermind:approve` | Action pending approval requests |
374
+ | `/mastermind:approvev1` | Action pending approval requests |
373
375
 
374
376
  ### Business Domains
375
377
  | Command | What it does |
@@ -399,6 +401,8 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
399
401
  | `@monoes/monodesign` | [![npm](https://img.shields.io/npm/v/@monoes/monodesign?style=flat-square&color=EC4899)](https://www.npmjs.com/package/@monoes/monodesign) | Frontend design intelligence |
400
402
  | `monofence-ai` | [![npm](https://img.shields.io/npm/v/monofence-ai?style=flat-square&color=EF4444)](https://www.npmjs.com/package/monofence-ai) | AI manipulation defence |
401
403
 
404
+ See [CLI Reference](./doc/commands/cli-reference.md) for the full 32-command index.
405
+
402
406
  ---
403
407
 
404
408
  ## 🏗️ How It's Built
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monomind",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "description": "Open-source CLI extension for Claude Code and Antigravity (agy). Adds an MCP server with a codebase knowledge graph, persistent memory, multi-agent coordination, and reusable slash commands. Apache 2.0 licensed, runs locally, no data leaves your machine.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "LICENSE"
22
22
  ],
23
23
  "dependencies": {
24
- "@monoes/monomindcli": "2.9.2"
24
+ "@monoes/monomindcli": "2.9.4"
25
25
  },
26
26
  "overrides": {
27
27
  "hono": ">=4.12.34",
@@ -41,12 +41,15 @@
41
41
  "nanoid": ">=3.3.17"
42
42
  },
43
43
  "devDependencies": {
44
+ "@biomejs/biome": "^2.5.8",
45
+ "@types/better-sqlite3": "^7.6.13",
44
46
  "@types/node": "^20.0.0",
47
+ "better-sqlite3": "^12.0.0",
45
48
  "tsx": "^4.21.0",
46
49
  "typescript": "^7.0.2",
47
50
  "vite": ">=8.0.16",
48
51
  "vitest": "^4.1.4",
49
- "@monoes/monograph": "1.5.7"
52
+ "@monoes/monograph": "1.5.8"
50
53
  },
51
54
  "engines": {
52
55
  "node": ">=20.0.0"
@@ -97,12 +100,19 @@
97
100
  "postinstall": "node -e \"if(process.platform!=='win32'){try{require('child_process').execSync('find node_modules -name ._* -delete 2>/dev/null',{stdio:'ignore'})}catch{}}\"",
98
101
  "dev": "tsx watch src/index.ts",
99
102
  "build": "tsc",
100
- "build:ts": "cd packages/@monomind/cli && npm run build || true",
103
+ "build:ts": "cd packages/@monomind/cli && npm run build",
101
104
  "check:versions": "node scripts/check-publish-versions.mjs",
105
+ "docs:counts": "node scripts/generate-doc-counts.mjs",
106
+ "docs:counts:check": "node scripts/generate-doc-counts.mjs --check",
102
107
  "test": "vitest",
108
+ "test:all": "vitest --config vitest.workspace.ts",
103
109
  "test:ui": "vitest --ui",
104
110
  "test:security": "vitest run tests/security/",
105
111
  "test:semantic-eval": "node --test tests/memory/cognee-port-eval.test.mjs",
112
+ "test:coverage": "vitest run --coverage",
113
+ "lint": "biome check",
114
+ "lint:fix": "biome check --write",
115
+ "format": "biome format --write",
106
116
  "security:audit": "npm audit --audit-level high",
107
117
  "security:fix": "npm audit fix",
108
118
  "security:test": "npm run test:security",