neohive 6.0.2 β 6.1.0
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/CHANGELOG.md +269 -77
- package/README.md +66 -63
- package/SECURITY.md +8 -6
- package/cli.js +377 -35
- package/conversation-templates/autonomous-feature.json +54 -4
- package/conversation-templates/code-review.json +41 -3
- package/conversation-templates/debug-squad.json +41 -3
- package/conversation-templates/feature-build.json +41 -3
- package/conversation-templates/research-write.json +41 -3
- package/dashboard.html +3954 -921
- package/dashboard.js +1192 -153
- package/design-system.css +708 -0
- package/design-system.html +264 -0
- package/lib/agents.js +20 -6
- package/lib/audit.js +417 -0
- package/lib/codex-neohive-toml.js +34 -0
- package/lib/compact.js +5 -2
- package/lib/config.js +4 -3
- package/lib/file-io.js +3 -3
- package/lib/github-sync.js +291 -0
- package/lib/hooks.js +173 -0
- package/lib/ide-activity.js +121 -0
- package/lib/resolve-server-data-dir.js +96 -0
- package/logo.svg +1 -0
- package/package.json +12 -3
- package/scripts/check-portable-paths.mjs +74 -0
- package/server.js +1986 -857
- package/templates/debate.json +24 -5
- package/templates/managed.json +48 -9
- package/templates/pair.json +22 -3
- package/templates/review.json +26 -5
- package/templates/team.json +38 -8
- package/tools/channels.js +116 -0
- package/tools/governance.js +471 -0
- package/tools/hooks.js +65 -0
- package/tools/knowledge.js +301 -0
- package/tools/messaging.js +321 -0
- package/tools/safety.js +144 -0
- package/tools/system.js +198 -0
- package/tools/tasks.js +446 -0
- package/tools/workflows.js +286 -0
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<
|
|
2
|
+
<img src="logo.svg" width="120" alt="Neohive logo" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
+
<h1 align="center">Neohive</h1>
|
|
6
|
+
|
|
5
7
|
<p align="center">
|
|
6
8
|
<strong>One command. Your AI agents can talk to each other.</strong>
|
|
7
9
|
</p>
|
|
8
10
|
|
|
9
11
|
<p align="center">
|
|
10
|
-
The MCP collaboration layer for Claude Code, Gemini CLI, and
|
|
12
|
+
The MCP collaboration layer for Claude Code, Gemini CLI, Cursor, VS Code Copilot, and more.
|
|
11
13
|
</p>
|
|
12
14
|
|
|
13
15
|
<br />
|
|
@@ -28,7 +30,7 @@
|
|
|
28
30
|
<a href="#-quick-start">Quick Start</a> ·
|
|
29
31
|
<a href="#-features">Features</a> ·
|
|
30
32
|
<a href="#-how-it-works">How It Works</a> ·
|
|
31
|
-
<a href="docs/
|
|
33
|
+
<a href="docs/documentation.md">Documentation</a> ·
|
|
32
34
|
<a href="#%EF%B8%8F-cli-reference">CLI Reference</a> ·
|
|
33
35
|
<a href="https://www.npmjs.com/package/neohive">npm</a>
|
|
34
36
|
</p>
|
|
@@ -52,7 +54,7 @@ You open Claude Code in one terminal and Gemini CLI in another. Both are powerfu
|
|
|
52
54
|
- [Quick Start](#-quick-start)
|
|
53
55
|
- [Features](#-features)
|
|
54
56
|
- [How It Works](#-how-it-works)
|
|
55
|
-
- [Supported CLIs](#-supported-clis)
|
|
57
|
+
- [Supported IDEs & CLIs](#-supported-ides--clis)
|
|
56
58
|
- [Team Templates](#-team-templates)
|
|
57
59
|
- [Dashboard](#-dashboard)
|
|
58
60
|
- [MCP Tools](#-mcp-tools)
|
|
@@ -73,6 +75,8 @@ npx neohive init
|
|
|
73
75
|
|
|
74
76
|
That's it. Neohive auto-detects your CLI, writes the MCP config, and creates a `.neohive/` data directory.
|
|
75
77
|
|
|
78
|
+
**MCP config:** `npx neohive init` writes the **absolute path** to the same Node binary that ran the command (so Volta, nvm, or custom installs work even when your IDEβs MCP subprocess has a minimal `PATH`). For **Claude Code**, the project file is `.mcp.json` in the repo root; you can merge the same `neohive` entry into `~/.claude/mcp.json` if you prefer a user-wide setup. Restart the IDE or reload MCP tools after init.
|
|
79
|
+
|
|
76
80
|
Now open two terminals in the same project:
|
|
77
81
|
|
|
78
82
|
```
|
|
@@ -111,28 +115,30 @@ npx neohive dashboard # opens http://localhost:3000
|
|
|
111
115
|
| πΏ | **Branching** | Fork conversations at any point with isolated history |
|
|
112
116
|
| π‘ | **Channels** | Sub-team communication with dedicated message streams |
|
|
113
117
|
| π³οΈ | **Voting & Reviews** | Team decisions and structured code review workflows |
|
|
114
|
-
|
|
|
118
|
+
| π | **Agent Liveness** | Passive stdin tracking, PID checks, auto-reclaim dead seats, unknown/stale/offline states |
|
|
119
|
+
| π | **Multi-CLI** | Works across Claude Code, Gemini CLI, Cursor, VS Code Copilot, Antigravity, Codex CLI, and Ollama |
|
|
115
120
|
|
|
116
121
|
<br />
|
|
117
122
|
|
|
118
123
|
## π How It Works
|
|
119
124
|
|
|
120
125
|
```
|
|
121
|
-
βββββββββββββββ βββββββββββββββ βββββββββββββββ
|
|
122
|
-
β Claude Code β β Gemini CLI β β
|
|
123
|
-
β Terminal 1 β β Terminal 2 β β Terminal 3 β
|
|
124
|
-
ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββ¬ββββββββ
|
|
125
|
-
β β β
|
|
126
|
-
MCP Server MCP Server MCP Server
|
|
127
|
-
(stdio) (stdio) (stdio)
|
|
128
|
-
β β β
|
|
129
|
-
|
|
130
|
-
β
|
|
131
|
-
ββββββββββΌβββββββββ
|
|
132
|
-
β .neohive/ β
|
|
133
|
-
β β
|
|
134
|
-
β messages.jsonl β
|
|
135
|
-
β agents.json β
|
|
126
|
+
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
|
|
127
|
+
β Claude Code β β Gemini CLI β β Cursor β β VS Code + β
|
|
128
|
+
β Terminal 1 β β Terminal 2 β β Terminal 3 β β Copilot β
|
|
129
|
+
ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββ¬ββββββββ
|
|
130
|
+
β β β β
|
|
131
|
+
MCP Server MCP Server MCP Server MCP Server
|
|
132
|
+
(stdio) (stdio) (stdio) (stdio)
|
|
133
|
+
β β β β
|
|
134
|
+
ββββββββββββββββββββΌββββββββββββββββββββΌβββββββββββββββββββ
|
|
135
|
+
β β
|
|
136
|
+
ββββββββββΌβββββββββ ββββββββΌβββββββ
|
|
137
|
+
β .neohive/ β β Extension β
|
|
138
|
+
β β β (liveness) β
|
|
139
|
+
β messages.jsonl β ββββββββ¬βββββββ
|
|
140
|
+
β agents.json β β
|
|
141
|
+
β heartbeat-*.jsonβββββββββββ
|
|
136
142
|
β tasks.json β
|
|
137
143
|
β workflows.json β
|
|
138
144
|
β ... β
|
|
@@ -149,14 +155,17 @@ Each CLI spawns its own MCP server process. All processes share a `.neohive/` di
|
|
|
149
155
|
|
|
150
156
|
<br />
|
|
151
157
|
|
|
152
|
-
## π Supported CLIs
|
|
158
|
+
## π Supported IDEs & CLIs
|
|
153
159
|
|
|
154
|
-
|
|
|
155
|
-
|
|
156
|
-
| [Claude Code](https://claude.ai/code) | `.mcp.json` |
|
|
157
|
-
| [
|
|
158
|
-
| [
|
|
159
|
-
| [
|
|
160
|
+
| Tool | Config File | Rules File | Init Flag |
|
|
161
|
+
|------|------------|------------|-----------|
|
|
162
|
+
| [Claude Code](https://claude.ai/code) | `.mcp.json` | `CLAUDE.md` | `--claude` |
|
|
163
|
+
| [Cursor](https://cursor.com) | `.cursor/mcp.json` | `.cursor/rules/neohive.mdc` | `--cursor` |
|
|
164
|
+
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | `.gemini/settings.json` | `GEMINI.md` | `--gemini` |
|
|
165
|
+
| [VS Code Copilot](https://code.visualstudio.com) | `.vscode/mcp.json` | `.github/copilot-instructions.md` | `--vscode` |
|
|
166
|
+
| [Antigravity](https://antigravity.dev) | `~/.gemini/antigravity/mcp_config.json` | `.agent/skills/neohive/SKILL.md` | `--antigravity` |
|
|
167
|
+
| [Codex CLI](https://github.com/openai/codex) | `.codex/config.toml` | β | `--codex` |
|
|
168
|
+
| [Ollama](https://ollama.com) | `.neohive/ollama-agent.js` | β | `--ollama` |
|
|
160
169
|
|
|
161
170
|
```bash
|
|
162
171
|
npx neohive init --all # configure all detected CLIs at once
|
|
@@ -185,7 +194,8 @@ npx neohive init --template <name>
|
|
|
185
194
|
## π Dashboard
|
|
186
195
|
|
|
187
196
|
```bash
|
|
188
|
-
npx neohive dashboard # http://localhost:3000
|
|
197
|
+
npx neohive dashboard # http://localhost:3000 (default)
|
|
198
|
+
NEOHIVE_PORT=8080 npx neohive dashboard # custom port β URL shown in the terminal on startup
|
|
189
199
|
npx neohive dashboard --lan # accessible from your phone
|
|
190
200
|
```
|
|
191
201
|
|
|
@@ -199,50 +209,37 @@ npx neohive dashboard --lan # accessible from your phone
|
|
|
199
209
|
| **Stats** | Per-agent scores, response times, hourly activity charts |
|
|
200
210
|
| **Docs** | In-dashboard tool reference and mode guides |
|
|
201
211
|
|
|
202
|
-
Plus: agent
|
|
212
|
+
Plus: agent liveness monitoring (working/listening/idle/stale/unknown/offline), auto-reclaim on session reconnect, profile popups, message injection, conversation export (HTML/JSON/replay), multi-project support, dark/light theme, mobile responsive.
|
|
203
213
|
|
|
204
214
|
<br />
|
|
205
215
|
|
|
206
216
|
## π MCP Tools
|
|
207
217
|
|
|
208
|
-
**
|
|
218
|
+
The MCP server exposes **70+ built-in tools** in one registration list (no separate βliteβ vs βfullβ mode). See [docs/reference/tools.md](../docs/reference/tools.md) for full parameters and behavior ([hub](../docs/documentation.md)).
|
|
209
219
|
|
|
210
220
|
<details>
|
|
211
|
-
<summary><strong>
|
|
221
|
+
<summary><strong>Tool categories</strong> β messaging, tasks, workflows, autonomy, governance</summary>
|
|
212
222
|
|
|
213
223
|
<br />
|
|
214
224
|
|
|
215
225
|
| Category | Tools |
|
|
216
226
|
|----------|-------|
|
|
217
|
-
| **Identity** | `register` Β· `list_agents` Β· `update_profile` Β· `get_briefing` |
|
|
218
|
-
| **Messaging** | `send_message` Β· `broadcast` Β· `listen` Β· `check_messages` Β· `ack_message` |
|
|
219
|
-
| **History** | `get_history` Β· `get_summary` Β· `search_messages` |
|
|
227
|
+
| **Identity & briefing** | `register` Β· `list_agents` Β· `update_profile` Β· `get_briefing` Β· `get_guide` |
|
|
228
|
+
| **Messaging** | `send_message` Β· `broadcast` Β· `listen` Β· `listen_group` Β· `listen_codex` Β· `wait_for_reply` Β· `check_messages` Β· `consume_messages` Β· `get_notifications` Β· `ack_message` |
|
|
229
|
+
| **History & search** | `get_history` Β· `get_summary` Β· `search_messages` Β· `get_compressed_history` |
|
|
220
230
|
| **Collaboration** | `handoff` Β· `share_file` Β· `lock_file` Β· `unlock_file` |
|
|
221
231
|
| **Tasks** | `create_task` Β· `update_task` Β· `list_tasks` |
|
|
222
232
|
| **Workflows** | `create_workflow` Β· `advance_workflow` Β· `workflow_status` |
|
|
223
233
|
| **Storage** | `workspace_write` Β· `workspace_read` Β· `workspace_list` |
|
|
224
|
-
|
|
225
|
-
</details>
|
|
226
|
-
|
|
227
|
-
<details>
|
|
228
|
-
<summary><strong>Optional Tools (30+)</strong> β autonomy, voting, reviews, branching</summary>
|
|
229
|
-
|
|
230
|
-
<br />
|
|
231
|
-
|
|
232
|
-
| Category | Tools |
|
|
233
|
-
|----------|-------|
|
|
234
234
|
| **Autonomy** | `get_work` Β· `verify_and_advance` Β· `start_plan` Β· `retry_with_improvement` Β· `distribute_prompt` |
|
|
235
|
-
| **Managed
|
|
236
|
-
| **Knowledge** | `kb_write` Β· `kb_read` Β· `kb_list` |
|
|
237
|
-
| **
|
|
238
|
-
| **
|
|
239
|
-
| **Reviews** | `request_review` Β· `submit_review` |
|
|
240
|
-
| **Progress** | `update_progress` Β· `get_progress` |
|
|
241
|
-
| **Dependencies** | `declare_dependency` Β· `check_dependencies` |
|
|
235
|
+
| **Managed mode** | `claim_manager` Β· `yield_floor` Β· `set_phase` Β· `set_conversation_mode` |
|
|
236
|
+
| **Knowledge & decisions** | `kb_write` Β· `kb_read` Β· `kb_list` Β· `log_decision` Β· `get_decisions` |
|
|
237
|
+
| **Voting & reviews** | `call_vote` Β· `cast_vote` Β· `vote_status` Β· `request_review` Β· `submit_review` |
|
|
238
|
+
| **Progress & deps** | `update_progress` Β· `get_progress` Β· `declare_dependency` Β· `check_dependencies` |
|
|
242
239
|
| **Reputation** | `get_reputation` Β· `suggest_task` |
|
|
243
|
-
| **Branching** | `fork_conversation` Β· `switch_branch` Β· `list_branches` |
|
|
244
|
-
| **
|
|
245
|
-
| **
|
|
240
|
+
| **Branching & channels** | `fork_conversation` Β· `switch_branch` Β· `list_branches` Β· `join_channel` Β· `leave_channel` Β· `list_channels` |
|
|
241
|
+
| **Rules & enforcement** | `add_rule` Β· `remove_rule` Β· `list_rules` Β· `toggle_rule` Β· `log_violation` Β· `request_push_approval` Β· `ack_push` |
|
|
242
|
+
| **Lifecycle** | `reset` |
|
|
246
243
|
|
|
247
244
|
</details>
|
|
248
245
|
|
|
@@ -251,7 +248,9 @@ Plus: agent status monitoring, profile popups, message injection, conversation e
|
|
|
251
248
|
## β¨οΈ CLI Reference
|
|
252
249
|
|
|
253
250
|
```bash
|
|
254
|
-
neohive init [--claude|--gemini|--codex|--all|--ollama] [--template <name>]
|
|
251
|
+
neohive init [--claude|--gemini|--codex|--cursor|--vscode|--antigravity|--all|--ollama] [--template <name>]
|
|
252
|
+
neohive mcp # start MCP stdio server (used internally by IDE configs)
|
|
253
|
+
neohive serve # optional HTTP MCP server (default port 4321)
|
|
255
254
|
neohive dashboard [--lan]
|
|
256
255
|
neohive status # active agents, tasks, workflows
|
|
257
256
|
neohive msg <agent> <text> # send message from CLI
|
|
@@ -271,7 +270,6 @@ neohive uninstall # remove from all CLI configs
|
|
|
271
270
|
| `NEOHIVE_PORT` | `3000` | Dashboard port |
|
|
272
271
|
| `NEOHIVE_LAN` | `false` | Enable LAN access |
|
|
273
272
|
| `NEOHIVE_LOG_LEVEL` | `warn` | Logging: `error` Β· `warn` Β· `info` Β· `debug` |
|
|
274
|
-
| `NEOHIVE_FULL_TOOLS` | `false` | Load all 54 tools (core + optional) |
|
|
275
273
|
|
|
276
274
|
<br />
|
|
277
275
|
|
|
@@ -299,13 +297,18 @@ Full details: [SECURITY.md](SECURITY.md)
|
|
|
299
297
|
|
|
300
298
|
| Resource | Link |
|
|
301
299
|
|----------|------|
|
|
302
|
-
|
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
300
|
+
| Documentation hub | [docs/documentation.md](../docs/documentation.md) |
|
|
301
|
+
| Docs folder index | [docs/README.md](../docs/README.md) |
|
|
302
|
+
| Reference index | [docs/reference/README.md](../docs/reference/README.md) |
|
|
303
|
+
| Architecture (full) | [docs/reference/architecture.md](../docs/reference/architecture.md) |
|
|
304
|
+
| MCP tools (full) | [docs/reference/tools.md](../docs/reference/tools.md) |
|
|
305
|
+
| AI onboarding (repo map) | [docs/ai-onboarding.md](../docs/ai-onboarding.md) |
|
|
306
|
+
| MCP tools (high-level tour) | [docs/mcp-tools-documentation.md](../docs/mcp-tools-documentation.md) |
|
|
307
|
+
| Documentation audit / doc debt | [docs/documentation-audit.md](../docs/documentation-audit.md) |
|
|
308
|
+
| Vision & Roadmap | [VISION.md](../VISION.md) |
|
|
306
309
|
| Security Policy | [SECURITY.md](SECURITY.md) |
|
|
307
|
-
| Contributing Guide | [CONTRIBUTING.md](CONTRIBUTING.md) |
|
|
308
|
-
| Changelog | [CHANGELOG.md](CHANGELOG.md) |
|
|
310
|
+
| Contributing Guide | [CONTRIBUTING.md](../CONTRIBUTING.md) |
|
|
311
|
+
| Changelog | [CHANGELOG.md](CHANGELOG.md) Β· [root CHANGELOG](../CHANGELOG.md) |
|
|
309
312
|
|
|
310
313
|
<br />
|
|
311
314
|
|
|
@@ -337,6 +340,6 @@ node dashboard.js # run the dashboard
|
|
|
337
340
|
<p align="center">
|
|
338
341
|
<a href="https://github.com/fakiho/neohive">GitHub</a> ·
|
|
339
342
|
<a href="https://www.npmjs.com/package/neohive">npm</a> ·
|
|
340
|
-
<a href="docs/
|
|
343
|
+
<a href="docs/documentation.md">Docs</a> ·
|
|
341
344
|
<a href="mailto:contact@alionix.com">Contact</a>
|
|
342
345
|
</p>
|
package/SECURITY.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported Versions
|
|
4
4
|
|
|
5
|
-
| Version | Supported
|
|
6
|
-
| ------- |
|
|
7
|
-
|
|
|
8
|
-
|
|
|
9
|
-
|
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
| ------- | --------- |
|
|
7
|
+
| **6.x.x** | Yes β current major line |
|
|
8
|
+
| **5.x.x** | Best-effort security fixes only |
|
|
9
|
+
| **< 5.0** | No |
|
|
10
|
+
|
|
11
|
+
Older **3.x / 2.x** lines are **not** supported; upgrade via `npx neohive init` and npm.
|
|
10
12
|
|
|
11
13
|
## Reporting a Vulnerability
|
|
12
14
|
|
|
@@ -36,7 +38,7 @@ Neohive is a **local message broker** β it passes text messages between CLI te
|
|
|
36
38
|
### What it does NOT do
|
|
37
39
|
|
|
38
40
|
- Does not give agents filesystem access (they already have it via their CLI)
|
|
39
|
-
- Does not expose anything to the internet (dashboard binds to `127.0.0.1`
|
|
41
|
+
- Does not expose anything to the internet by default (dashboard binds to `127.0.0.1`; **`dashboard --lan` / `NEOHIVE_LAN`** binds more broadly β use the generated LAN token)
|
|
40
42
|
- Does not store or transmit API keys
|
|
41
43
|
- Does not run any cloud services
|
|
42
44
|
- Does not execute remote code
|