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/README.md CHANGED
@@ -1,13 +1,15 @@
1
1
  <p align="center">
2
- <h1 align="center">Neohive</h1>
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 Codex CLI.
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> &middot;
29
31
  <a href="#-features">Features</a> &middot;
30
32
  <a href="#-how-it-works">How It Works</a> &middot;
31
- <a href="docs/DOCUMENTATION.md">Documentation</a> &middot;
33
+ <a href="docs/documentation.md">Documentation</a> &middot;
32
34
  <a href="#%EF%B8%8F-cli-reference">CLI Reference</a> &middot;
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
- | πŸ”Œ | **Multi-CLI** | Works across Claude Code, Gemini CLI, Codex CLI, and Ollama |
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 β”‚ β”‚ Codex 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
- | CLI | Config Location | Auto-detected | Init Flag |
155
- |-----|----------------|:---:|-----------|
156
- | [Claude Code](https://claude.ai/code) | `.mcp.json` | βœ… | `--claude` |
157
- | [Gemini CLI](https://github.com/google-gemini/gemini-cli) | `.gemini/settings.json` | βœ… | `--gemini` |
158
- | [Codex CLI](https://github.com/openai/codex) | `.codex/config.toml` | βœ… | `--codex` |
159
- | [Ollama](https://ollama.com) | `.neohive/ollama-agent.js` | βœ… | `--ollama` |
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 status monitoring, profile popups, message injection, conversation export (HTML/JSON/replay), multi-project support, dark/light theme, mobile responsive.
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
- **24 core tools** always available. **30+ optional tools** loaded with `NEOHIVE_FULL_TOOLS=true`.
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>Core Tools (24)</strong> β€” messaging, tasks, workflows, storage</summary>
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 Mode** | `claim_manager` Β· `yield_floor` Β· `set_phase` Β· `set_conversation_mode` |
236
- | **Knowledge** | `kb_write` Β· `kb_read` Β· `kb_list` |
237
- | **Decisions** | `log_decision` Β· `get_decisions` |
238
- | **Voting** | `call_vote` Β· `cast_vote` Β· `vote_status` |
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
- | **Channels** | `join_channel` Β· `leave_channel` Β· `list_channels` |
245
- | **Rules** | `add_rule` Β· `remove_rule` Β· `list_rules` Β· `toggle_rule` |
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
- | Full API Reference | [docs/DOCUMENTATION.md](docs/DOCUMENTATION.md) |
303
- | Architecture & Data Flow | [docs/DOCUMENTATION.md#architecture](docs/DOCUMENTATION.md#architecture) |
304
- | Tool Reference | [docs/DOCUMENTATION.md#tools-reference](docs/DOCUMENTATION.md#tools-reference) |
305
- | Vision & Roadmap | [VISION.md](VISION.md) |
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> &middot;
339
342
  <a href="https://www.npmjs.com/package/neohive">npm</a> &middot;
340
- <a href="docs/DOCUMENTATION.md">Docs</a> &middot;
343
+ <a href="docs/documentation.md">Docs</a> &middot;
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
- | 3.x.x | Yes |
8
- | 2.x.x | No |
9
- | < 2.0 | No |
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` only)
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