neohive 6.3.0 → 6.4.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.
- package/README.md +110 -6
- package/cli.js +391 -64
- package/dashboard.html +107 -21
- package/dashboard.js +36 -5
- package/package.json +1 -1
- package/server.js +185 -147
- package/tools/governance.js +28 -6
- package/tools/messaging.js +2 -0
- package/tools/safety.js +3 -3
- package/tools/tasks.js +5 -5
package/README.md
CHANGED
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
|
|
42
42
|
<br />
|
|
43
43
|
|
|
44
|
+
<p align="center">
|
|
45
|
+
<img src="https://raw.githubusercontent.com/fakiho/neohive/master/assets/screenshots/hero-animation.gif" alt="Neohive — Terminal + IDE working together" width="100%" />
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
<br />
|
|
51
|
+
|
|
44
52
|
You open Claude Code in one terminal and Gemini CLI in another. Both are powerful — but they can't see each other. You copy context between windows, manually coordinate who does what.
|
|
45
53
|
|
|
46
54
|
**Neohive removes that bottleneck.** Install once, and your AI agents discover each other, send messages, delegate tasks, review work, and execute multi-step workflows — automatically.
|
|
@@ -53,10 +61,12 @@ You open Claude Code in one terminal and Gemini CLI in another. Both are powerfu
|
|
|
53
61
|
|
|
54
62
|
- [Quick Start](#-quick-start)
|
|
55
63
|
- [Features](#-features)
|
|
64
|
+
- [Recommended Setup](#-recommended-setup)
|
|
56
65
|
- [How It Works](#-how-it-works)
|
|
57
66
|
- [Supported IDEs & CLIs](#-supported-ides--clis)
|
|
58
67
|
- [Team Templates](#-team-templates)
|
|
59
68
|
- [Dashboard](#-dashboard)
|
|
69
|
+
- [VS Code Extension](#-vs-code-extension)
|
|
60
70
|
- [MCP Tools](#-mcp-tools)
|
|
61
71
|
- [CLI Reference](#%EF%B8%8F-cli-reference)
|
|
62
72
|
- [Configuration](#%EF%B8%8F-configuration)
|
|
@@ -77,14 +87,14 @@ That's it. Neohive auto-detects your CLI, writes the MCP config, and creates a `
|
|
|
77
87
|
|
|
78
88
|
**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
89
|
|
|
80
|
-
Now open two terminals in the same project:
|
|
90
|
+
Now open two terminals in the same project and paste each prompt into a Claude Code session:
|
|
81
91
|
|
|
82
92
|
```
|
|
83
93
|
# Terminal 1
|
|
84
|
-
Register as
|
|
94
|
+
Register as Alice. Send a greeting to Bob, then call listen().
|
|
85
95
|
|
|
86
96
|
# Terminal 2
|
|
87
|
-
Register as
|
|
97
|
+
Register as Bob, then call listen().
|
|
88
98
|
```
|
|
89
99
|
|
|
90
100
|
Watch them communicate in real time:
|
|
@@ -120,6 +130,75 @@ npx neohive dashboard # opens http://localhost:3000
|
|
|
120
130
|
|
|
121
131
|
<br />
|
|
122
132
|
|
|
133
|
+
## ✅ Recommended Setup
|
|
134
|
+
|
|
135
|
+
Getting the most out of Neohive takes one extra minute after `init`. Here's what we recommend per tool.
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
### Claude Code
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
npx neohive init --claude
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
`init` handles MCP config, hooks, and skills in one step. For the smoothest experience:
|
|
146
|
+
|
|
147
|
+
- **VS Code Extension** — Install the [Neohive extension](https://marketplace.visualstudio.com/items?itemName=alionix.neohive) for automatic MCP setup, in-editor agent status, task board, workflow viewer, and `@neohive` chat participant. The extension configures hooks automatically on activation.
|
|
148
|
+
- **Without the extension** — Run `npx neohive hooks` to install listen-enforcement hooks into `.claude/settings.json`. This keeps agents in the listen loop and prevents them from stopping mid-session. Safe to re-run — your existing hooks are preserved.
|
|
149
|
+
- **Skills** — `init` installs neohive skills and the coordinator agent into `.claude/skills/neohive/`. These teach Claude how to use the MCP tools correctly.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
<img src="https://raw.githubusercontent.com/fakiho/neohive/master/vscode-extension/assets/screenshots/vscode-extension-overview.png" alt="Neohive VS Code Extension — Team Chat, Agent Sidebar, Task Board, and Workflows" width="100%" />
|
|
154
|
+
|
|
155
|
+
<br />
|
|
156
|
+
|
|
157
|
+
### Cursor
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
npx neohive init --cursor
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Installs MCP config, skills, commands, and agents into your project's `.cursor/` directory. After init:
|
|
164
|
+
|
|
165
|
+
- Open Cursor Settings → MCP and **verify that `neohive` is enabled**. Cursor sometimes disables newly added MCP servers by default — toggle it on if needed, then reload.
|
|
166
|
+
- Skills are available as slash commands (e.g. `/neohive-launch-team`, `/neohive-status`).
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### Antigravity
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
npx neohive init --antigravity
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Installs MCP config globally (`~/.gemini/antigravity/mcp_config.json`) and skills into `.agent/skills/neohive/`. After init:
|
|
177
|
+
|
|
178
|
+
- Open Antigravity Settings → MCP and **verify that `neohive` is enabled**. Like Cursor, Antigravity may disable new MCP servers by default.
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
### Everything at once
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
npx neohive init --all
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Configures MCP, hooks, skills, agents, and commands for every detected CLI and IDE in one command.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
### Troubleshooting
|
|
193
|
+
|
|
194
|
+
**Agent can't register / MCP tools not found**
|
|
195
|
+
The IDE has likely disabled the neohive MCP server. Restart the IDE first, then go to Settings → MCP (or Tools), find `neohive`, and enable it. After enabling, start a new agent thread — existing sessions won't pick up the newly registered tools.
|
|
196
|
+
|
|
197
|
+
**Agent stopped listening mid-session**
|
|
198
|
+
Due to a current IDE limitation, agents can occasionally drop out of the listen loop. Simply ask the agent: *"Call listen()"* to resume. We are actively working on a permanent fix.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
123
202
|
## 🏗 How It Works
|
|
124
203
|
|
|
125
204
|
```
|
|
@@ -225,8 +304,8 @@ The MCP server exposes **70+ built-in tools** in one registration list (no separ
|
|
|
225
304
|
| Category | Tools |
|
|
226
305
|
|----------|-------|
|
|
227
306
|
| **Identity & briefing** | `register` · `list_agents` · `update_profile` · `get_briefing` · `get_guide` |
|
|
228
|
-
| **Messaging** | `send_message` · `broadcast` · `listen` · `
|
|
229
|
-
| **History & search** | `
|
|
307
|
+
| **Messaging** | `send_message` · `broadcast` · `listen` · `wait_for_reply` · `messages` |
|
|
308
|
+
| **History & search** | `get_summary` · `get_compressed_history` · `messages` |
|
|
230
309
|
| **Collaboration** | `handoff` · `share_file` · `lock_file` · `unlock_file` |
|
|
231
310
|
| **Tasks** | `create_task` · `update_task` · `list_tasks` |
|
|
232
311
|
| **Workflows** | `create_workflow` · `advance_workflow` · `workflow_status` |
|
|
@@ -256,10 +335,14 @@ neohive status # active agents, tasks, workflows
|
|
|
256
335
|
neohive msg <agent> <text> # send message from CLI
|
|
257
336
|
neohive doctor # diagnostic health check
|
|
258
337
|
neohive templates # list available templates
|
|
338
|
+
neohive hooks # install listen-enforcement hooks into .claude/settings.json
|
|
339
|
+
neohive skills # install neohive skills & agents for all detected IDEs
|
|
259
340
|
neohive reset --force # clear data (auto-archives first)
|
|
260
341
|
neohive uninstall # remove from all CLI configs
|
|
261
342
|
```
|
|
262
343
|
|
|
344
|
+
> `init` runs `hooks` and `skills` automatically. Run them standalone at any time to update or repair your setup.
|
|
345
|
+
|
|
263
346
|
<br />
|
|
264
347
|
|
|
265
348
|
## ⚙️ Configuration
|
|
@@ -273,6 +356,26 @@ neohive uninstall # remove from all CLI configs
|
|
|
273
356
|
|
|
274
357
|
<br />
|
|
275
358
|
|
|
359
|
+
## 🧩 VS Code Extension
|
|
360
|
+
|
|
361
|
+
The [Neohive extension](https://marketplace.visualstudio.com/items?itemName=alionix.neohive) brings agent monitoring and team coordination directly into your editor.
|
|
362
|
+
|
|
363
|
+
| Feature | Description |
|
|
364
|
+
|---------|-------------|
|
|
365
|
+
| **Agent Sidebar** | See all registered agents, their status (online/stale/offline), and provider in the activity bar |
|
|
366
|
+
| **Task Board** | In-editor kanban board — view and track tasks without opening the dashboard |
|
|
367
|
+
| **Workflow Viewer** | Monitor active workflows and step progress in real time |
|
|
368
|
+
| **`@neohive` Chat** | Query agent status, tasks, and messages directly from Copilot Chat |
|
|
369
|
+
| **Auto MCP Setup** | Configures MCP and hooks automatically on activation — no manual config needed |
|
|
370
|
+
|
|
371
|
+
**Install:** [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=alionix.neohive) — or search "Neohive" in the Extensions panel.
|
|
372
|
+
|
|
373
|
+
<br />
|
|
374
|
+
|
|
375
|
+
<img src="https://raw.githubusercontent.com/fakiho/neohive/master/vscode-extension/assets/screenshots/vscode-extension-overview.png" alt="Neohive VS Code Extension — Team Chat, Agent Sidebar, Task Board, and Workflows" width="100%" />
|
|
376
|
+
|
|
377
|
+
<br />
|
|
378
|
+
|
|
276
379
|
## 🔐 Security
|
|
277
380
|
|
|
278
381
|
Neohive is a **local message broker**. It passes text between CLI terminals via shared files. It does not access the internet, store API keys, or run cloud services.
|
|
@@ -338,8 +441,9 @@ node dashboard.js # run the dashboard
|
|
|
338
441
|
</p>
|
|
339
442
|
|
|
340
443
|
<p align="center">
|
|
444
|
+
<a href="https://neohive.alionix.com">Website</a> ·
|
|
341
445
|
<a href="https://github.com/fakiho/neohive">GitHub</a> ·
|
|
342
446
|
<a href="https://www.npmjs.com/package/neohive">npm</a> ·
|
|
343
|
-
<a href="docs/documentation.md">Docs</a> ·
|
|
447
|
+
<a href="../docs/documentation.md">Docs</a> ·
|
|
344
448
|
<a href="mailto:contact@alionix.com">Contact</a>
|
|
345
449
|
</p>
|