monomind 2.16.2 โ 2.16.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 +28 -43
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
<a href="https://monoes.github.io/monomind/#orgs">๐ข Orgs</a> ยท
|
|
23
23
|
<a href="https://monoes.github.io/monomind/#getting-started">๐ Quickstart</a> ยท
|
|
24
24
|
<a href="https://monoes.github.io/monomind/#mastermind">โก Mastermind</a> ยท
|
|
25
|
+
<a href="https://monoes.github.io/monomind/#agents">๐งฉ Agents & Skills</a> ยท
|
|
25
26
|
<a href="https://monoes.github.io/monomind/#slash">๐ Commands</a> ยท
|
|
26
27
|
<a href="https://monoes.github.io/monomind/#architecture">๐๏ธ Architecture</a>
|
|
27
28
|
</p>
|
|
@@ -35,7 +36,8 @@ Monomind is an **open-source CLI and MCP server** that plugs into Claude Code, [
|
|
|
35
36
|
- **Codebase knowledge graph** โ tree-sitter parses your code into a SQLite-backed graph of files, functions, classes, and their relationships. Query imports, callers, and blast radius before making changes.
|
|
36
37
|
- **Persistent memory** โ a JSON pattern store with episodic recall that survives across sessions. Agents and orgs share context without re-prompting.
|
|
37
38
|
- **Multi-agent coordination** โ in-session, spawn ad-hoc agent teams via Claude Code's Task tool; for persistent background work, `monomind org run` starts a real SDK-backed daemon with policy-gated role agents and a live dashboard.
|
|
38
|
-
- **
|
|
39
|
+
- **Agents, skills and picking** โ ships <!-- doc-count:pickable-agents -->84<!-- /doc-count:pickable-agents --> pickable agents, <!-- doc-count:pickable-skills -->84<!-- /doc-count:pickable-skills --> skills and <!-- doc-count:org-skills -->376<!-- /doc-count:org-skills --> Org skills, and you add your own as Markdown files. One index of all of them ranks the best fit for each task; the prompt hook puts it in Claude's context as a `[PICK]` line, and `monomind pick` or the `pick` MCP tool return it on request. See [Agents & Skills](doc/concepts/agents-and-skills.md) and [Routing](doc/concepts/routing.md).
|
|
40
|
+
- **Reusable slash commands** โ <!-- doc-count:mastermind-commands -->42<!-- /doc-count:mastermind-commands --> workflows (plan, execute, review, debug, release, research, worktree) available as `/mastermind:*` commands inside Claude Code.
|
|
39
41
|
|
|
40
42
|
```bash
|
|
41
43
|
npm install -g monomind # Apache 2.0 licensed, runs entirely on your machine
|
|
@@ -191,46 +193,30 @@ monomind org delete <name> # remove an org
|
|
|
191
193
|
monomind org memory <name> # cross-run KG memory: stats (default) | search <q> | rules | rollback <run-ref>
|
|
192
194
|
```
|
|
193
195
|
|
|
194
|
-
`org` has
|
|
196
|
+
`org` has <!-- doc-count:org-subcommands -->36<!-- /doc-count:org-subcommands --> subcommands total (skills, run, stop, pause, resume, reload, status, serve, supervisor, test-loop, logs, events, watch, report, memory, costs, inbox, flow, questions, approvals, answer, approve, deny, gates, gate-approve, gate-reject, replay, resume-from, branch, decisions, create, validate, migrate, list, delete, mark-complete).
|
|
195
197
|
|
|
196
|
-
> **Note:** `/mastermind:runorg`
|
|
198
|
+
> **Note:** `/mastermind:runorg` delegates directly to the Org Runtime daemon (the same path as `monomind org run`) โ there is no boss agent, no monotask board, and no manual curl calls in this path. `/mastermind:runorg` converts legacy-format org config files with `monomind org migrate` before starting the daemon. New orgs should use `monomind org run` (or `/mastermind:runorg`) against a hand-authored `.monomind/orgs/<name>.json`.
|
|
197
199
|
|
|
198
200
|
---
|
|
199
201
|
|
|
200
|
-
## โก
|
|
202
|
+
## โก Looping Workflows
|
|
201
203
|
|
|
202
|
-
For code, `/mastermind
|
|
203
|
-
|
|
204
|
-
```mermaid
|
|
205
|
-
flowchart LR
|
|
206
|
-
R["Research\nParallel scan:\ngit log, files\nTODOs, graph\nmemory"] --> S
|
|
207
|
-
S["Select\nFeasibility x\nblast-radius x\nfocus"] --> B
|
|
208
|
-
B["Build\nArchitect\nCoder\nTester\nReviewer"] --> V
|
|
209
|
-
V["Review Loop\nCode + Security\n+ Reality\nmax 5 iterations"] --> L
|
|
210
|
-
L["Log + Loop\nStore to memory\n--tillend:\nschedule next"]
|
|
211
|
-
L -->|"more to do"| R
|
|
212
|
-
|
|
213
|
-
style R fill:#00D2AA22,stroke:#00D2AA
|
|
214
|
-
style B fill:#8B5CF622,stroke:#8B5CF6
|
|
215
|
-
style V fill:#F59E0B22,stroke:#F59E0B
|
|
216
|
-
style L fill:#10B98122,stroke:#10B981
|
|
217
|
-
```
|
|
204
|
+
For code, the `/mastermind:*` workflows can loop instead of running once. Add `--tillend` to `/mastermind:review`, `/mastermind:improve`, `/mastermind:debug` and most other workflows (`/mastermind:help` lists them) to repeat until a round finds nothing left to do.
|
|
218
205
|
|
|
219
206
|
```bash
|
|
220
|
-
/mastermind:
|
|
221
|
-
/mastermind:
|
|
222
|
-
/mastermind:
|
|
207
|
+
/mastermind:review --tillend # review โ fix โ verify until a round finds nothing
|
|
208
|
+
/mastermind:improve --repeat 3 the auth flow # exactly 3 improvement passes
|
|
209
|
+
/mastermind:plan add rate limiting # then /mastermind:execute the plan
|
|
223
210
|
```
|
|
224
211
|
|
|
225
|
-
###
|
|
212
|
+
### Loop flags
|
|
226
213
|
|
|
227
214
|
| Flag | Purpose |
|
|
228
215
|
|---|---|
|
|
229
|
-
| `--tillend` | Repeat until empty round (zero findings, zero actions) |
|
|
216
|
+
| `--tillend` | Repeat until an empty round (zero findings, zero actions) |
|
|
230
217
|
| `--repeat <N>` | Repeat exactly N times |
|
|
231
|
-
| `--
|
|
232
|
-
| `--
|
|
233
|
-
| `--maxruns <N>` | Safety cap (default 50) |
|
|
218
|
+
| `--maxruns <N>` | Safety cap for `--tillend` (default 50) |
|
|
219
|
+
| `--wait <seconds>` | Pause between runs |
|
|
234
220
|
|
|
235
221
|
---
|
|
236
222
|
|
|
@@ -251,14 +237,14 @@ claude mcp add monomind -- npx -y monomind@latest mcp start
|
|
|
251
237
|
monomind doctor --fix
|
|
252
238
|
```
|
|
253
239
|
|
|
254
|
-
> **Semantic routing (opt-in download):** embedding-based task routing needs a local model (~88 MB, `Snowflake/snowflake-arctic-embed-xs` via transformers.js). `monomind init` asks interactively whether to download it โ the default is No, and non-interactive/CI installs never download it silently. Declining is fine:
|
|
240
|
+
> **Semantic routing (opt-in download):** embedding-based task routing needs a local model (~88 MB, `Snowflake/snowflake-arctic-embed-xs` via transformers.js). `monomind init` asks interactively whether to download it โ the default is No, and non-interactive/CI installs never download it silently. Declining is fine: agent picking (`monomind pick`, the `[PICK]` hook line, `hooks route`) never needs the model; only `route semantic`, `hooks_route_semantic` and `agent spawn --task` use it, after the picker, and fall back to keyword and hash matching without it. Fetch it any time with `monomind download-embeddings` (or `node scripts/download-embedding-model.mjs` on a source checkout).
|
|
255
241
|
|
|
256
242
|
> **Native module install blocked?** If `doctor` reports a missing `better-sqlite3` binding (`Could not locate the bindings file`, or npm logs an install script that was "blocked because it is not covered by allowScripts"), your npm's `allowScripts` policy blocked its native build โ this isn't a Monomind bug. Run `npm install-scripts approve better-sqlite3 && npm rebuild better-sqlite3`, then re-run `monomind doctor --fix`.
|
|
257
243
|
|
|
258
|
-
Open Claude Code. You now have
|
|
244
|
+
Open Claude Code. You now have <!-- doc-count:mastermind-commands -->42<!-- /doc-count:mastermind-commands --> `/mastermind:*` workflows available:
|
|
259
245
|
|
|
260
246
|
```bash
|
|
261
|
-
/mastermind:
|
|
247
|
+
/mastermind:review --tillend # review and fix until nothing is left
|
|
262
248
|
monomind org run sample-team # run your first AI org (init writes a runnable sample-team.json โ edit it, or run it as-is)
|
|
263
249
|
/mastermind:help # show all commands
|
|
264
250
|
```
|
|
@@ -372,20 +358,19 @@ In Claude Code, the live pre-bash/pre-write gate is wired up via its own lazy-lo
|
|
|
372
358
|
|
|
373
359
|
---
|
|
374
360
|
|
|
375
|
-
## ๐
|
|
361
|
+
## ๐ <!-- doc-count:mastermind-commands -->42<!-- /doc-count:mastermind-commands --> Mastermind Commands
|
|
376
362
|
|
|
377
363
|
Everything runs from inside Claude Code via slash commands. Here's the highlight reel:
|
|
378
364
|
|
|
379
365
|
### Development
|
|
380
366
|
| Command | What it does |
|
|
381
367
|
|---|---|
|
|
382
|
-
| `/mastermind:
|
|
383
|
-
| `/mastermind:
|
|
368
|
+
| `/mastermind:plan` | Comprehensive implementation plan |
|
|
369
|
+
| `/mastermind:execute` | Execute a written plan step by step, then hand off to review |
|
|
384
370
|
| `/mastermind:review` | Iterative review until zero findings |
|
|
385
371
|
| `/mastermind:debug` | Systematic root-cause debugging |
|
|
386
|
-
| `/mastermind:
|
|
387
|
-
| `/mastermind:
|
|
388
|
-
| `/mastermind:plan` | Comprehensive implementation plan |
|
|
372
|
+
| `/mastermind:improve` | Analyze a component and write improvement tasks |
|
|
373
|
+
| `/mastermind:release` | Versioning, changelog, deployment coordination |
|
|
389
374
|
| `/mastermind:worktree` | Feature work in isolated git worktree |
|
|
390
375
|
|
|
391
376
|
### Organizations
|
|
@@ -394,7 +379,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
|
|
|
394
379
|
| `monomind org run <name>` | Start an org as a real SDK-backed daemon |
|
|
395
380
|
| `monomind org status` / `list` | Runtime state for one or all orgs |
|
|
396
381
|
| `monomind org stop <name>` | Request a graceful stop |
|
|
397
|
-
|
|
|
382
|
+
| `monomind org approve <name>` / `deny` | Act on pending approval requests |
|
|
398
383
|
|
|
399
384
|
### Business Domains
|
|
400
385
|
| Command | What it does |
|
|
@@ -405,7 +390,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
|
|
|
405
390
|
| `/mastermind:finance` | Budgets, invoicing, modeling |
|
|
406
391
|
| `/mastermind:ops` | Operations and workflow automation |
|
|
407
392
|
|
|
408
|
-
**[โ Full reference (
|
|
393
|
+
**[โ Full reference (<!-- doc-count:mastermind-commands -->42<!-- /doc-count:mastermind-commands --> commands)](https://monoes.github.io/monomind/#slash)**
|
|
409
394
|
|
|
410
395
|
---
|
|
411
396
|
|
|
@@ -414,7 +399,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
|
|
|
414
399
|
| Package | npm | Purpose |
|
|
415
400
|
|---|---|---|
|
|
416
401
|
| `monomind` | [](https://www.npmjs.com/package/monomind) | Umbrella shim โ **install this one** |
|
|
417
|
-
| `@monoes/monomindcli` | [](https://www.npmjs.com/package/@monoes/monomindcli) | CLI engine (38 commands, MCP server) |
|
|
402
|
+
| `@monoes/monomindcli` | [](https://www.npmjs.com/package/@monoes/monomindcli) | CLI engine (<!-- doc-count:cli-commands -->38<!-- /doc-count:cli-commands --> commands, MCP server) |
|
|
418
403
|
| `@monoes/monograph` | [](https://www.npmjs.com/package/@monoes/monograph) | Code knowledge graph (tree-sitter + SQLite) |
|
|
419
404
|
| `@monoes/memory` | [](https://www.npmjs.com/package/@monoes/memory) | Persistent memory backends (SQLite + vectors) |
|
|
420
405
|
| `@monoes/hooks` | [](https://www.npmjs.com/package/@monoes/hooks) | Hook registry + 9 on-demand workers |
|
|
@@ -424,7 +409,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
|
|
|
424
409
|
| `@monoes/monodesign` | [](https://www.npmjs.com/package/@monoes/monodesign) | Frontend design intelligence |
|
|
425
410
|
| `monofence-ai` | [](https://www.npmjs.com/package/monofence-ai) | AI manipulation defence |
|
|
426
411
|
|
|
427
|
-
See [CLI Reference](./doc/commands/cli-reference.md) for the full
|
|
412
|
+
See [CLI Reference](./doc/commands/cli-reference.md) for the full <!-- doc-count:cli-commands -->38<!-- /doc-count:cli-commands -->-command index.
|
|
428
413
|
|
|
429
414
|
---
|
|
430
415
|
|
|
@@ -442,7 +427,7 @@ graph TD
|
|
|
442
427
|
|
|
443
428
|
D --> ADB[("Memory store\npatterns + episodes")]
|
|
444
429
|
D --> MG[("Monograph\ncode graph")]
|
|
445
|
-
D --> HK["Hooks\
|
|
430
|
+
D --> HK["Hooks\n28 subcommands"]
|
|
446
431
|
|
|
447
432
|
CC -->|"Task tool - spawns agents"| AG["In-session agents\narchitect, coder\ntester, reviewer\nsecurity, perf"]
|
|
448
433
|
AG <-->|reads and writes| ADB
|
|
@@ -463,7 +448,7 @@ graph TD
|
|
|
463
448
|
|
|
464
449
|
- ๐ [Full Documentation](https://monoes.github.io/monomind/)
|
|
465
450
|
- ๐ฅ๏ธ [CLI Command Reference](https://github.com/monoes/monomind/blob/main/doc/commands/cli-reference.md)
|
|
466
|
-
- ๐ข [Org Runtime
|
|
451
|
+
- ๐ข [Org Runtime Architecture](https://github.com/monoes/monomind/blob/main/doc/concepts/org-runtime.md)
|
|
467
452
|
- ๐ข [Autonomous Orgs](https://monoes.github.io/monomind/#orgs)
|
|
468
453
|
- โก [Mastermind Reference](https://monoes.github.io/monomind/#mastermind)
|
|
469
454
|
- ๐ [All Slash Commands](https://monoes.github.io/monomind/#slash)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.4",
|
|
4
4
|
"description": "Open-source CLI extension for Claude Code, OpenCode, Antigravity, Kimi Code, and Codex. Adds an MCP server with a codebase knowledge graph, persistent memory, multi-agent coordination, and reusable slash commands. Apache 2.0 licensed. See https://github.com/monoes/monomind/blob/main/doc/privacy.md for what leaves your machine and when.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"LICENSE"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@monoes/monomindcli": "2.16.
|
|
24
|
+
"@monoes/monomindcli": "2.16.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@biomejs/biome": "^2.5.8",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typescript": "^7.0.2",
|
|
33
33
|
"vite": ">=8.0.16",
|
|
34
34
|
"vitest": "^4.1.11",
|
|
35
|
-
"@monoes/monograph": "1.6.
|
|
35
|
+
"@monoes/monograph": "1.6.10"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=22.12.0"
|
|
@@ -99,10 +99,12 @@
|
|
|
99
99
|
"test:security": "vitest run tests/security/",
|
|
100
100
|
"test:semantic-eval": "node --test tests/memory/cognee-port-eval.test.mjs",
|
|
101
101
|
"test:coverage": "vitest run --coverage",
|
|
102
|
-
"verify": "pnpm run build && pnpm run typecheck && pnpm run lint && pnpm run docs:refs:check && pnpm run sync:claude-trees:check && pnpm run test:all:run && pnpm --filter @monoes/monobrowse test && pnpm --filter @monoes/monodesign test && pnpm --filter monofence-ai test",
|
|
102
|
+
"verify": "pnpm run build && pnpm run typecheck && pnpm run lint && pnpm run docs:refs:check && pnpm run lint:agent-refs && pnpm run sync:claude-trees:check && pnpm run test:all:run && pnpm --filter @monoes/monobrowse test && pnpm --filter @monoes/monodesign test && pnpm --filter monofence-ai test",
|
|
103
103
|
"lint": "biome check",
|
|
104
104
|
"lint:fix": "biome check --write",
|
|
105
105
|
"lint:skills": "node scripts/lint-skills.mjs",
|
|
106
|
+
"lint:agent-refs": "node scripts/lint-agent-refs.mjs",
|
|
107
|
+
"pick:eval": "node scripts/pick-eval.mjs",
|
|
106
108
|
"format": "biome format --write",
|
|
107
109
|
"security:audit": "pnpm audit --audit-level high",
|
|
108
110
|
"security:fix": "pnpm audit --fix",
|