neohive 6.0.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 +640 -0
- package/LICENSE +75 -0
- package/README.md +342 -0
- package/SECURITY.md +58 -0
- package/cli.js +931 -0
- package/conversation-templates/autonomous-feature.json +22 -0
- package/conversation-templates/code-review.json +21 -0
- package/conversation-templates/debug-squad.json +21 -0
- package/conversation-templates/feature-build.json +21 -0
- package/conversation-templates/research-write.json +21 -0
- package/dashboard.html +8571 -0
- package/dashboard.js +2962 -0
- package/lib/agents.js +107 -0
- package/lib/compact.js +124 -0
- package/lib/config.js +127 -0
- package/lib/file-io.js +166 -0
- package/lib/logger.js +13 -0
- package/lib/messaging.js +137 -0
- package/lib/state.js +23 -0
- package/logo.png +0 -0
- package/package.json +57 -0
- package/server.js +7179 -0
- package/templates/debate.json +16 -0
- package/templates/managed.json +26 -0
- package/templates/pair.json +16 -0
- package/templates/review.json +16 -0
- package/templates/team.json +21 -0
package/lib/state.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Shared mutable state for this MCP server process.
|
|
4
|
+
// All modules import and mutate this single object.
|
|
5
|
+
module.exports = {
|
|
6
|
+
registeredName: null,
|
|
7
|
+
registeredToken: null,
|
|
8
|
+
lastReadOffset: 0,
|
|
9
|
+
channelOffsets: new Map(),
|
|
10
|
+
heartbeatInterval: null,
|
|
11
|
+
messageSeq: 0,
|
|
12
|
+
currentBranch: 'main',
|
|
13
|
+
lastSentAt: 0,
|
|
14
|
+
sendsSinceLastListen: 0,
|
|
15
|
+
sendLimit: 1,
|
|
16
|
+
unaddressedSends: 0,
|
|
17
|
+
budgetResetTime: Date.now(),
|
|
18
|
+
_channelSendTimes: {},
|
|
19
|
+
// Rate limiting state
|
|
20
|
+
rateLimitMessages: [],
|
|
21
|
+
recentSentMessages: [],
|
|
22
|
+
recentErrorCalls: [],
|
|
23
|
+
};
|
package/logo.png
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "neohive",
|
|
3
|
+
"version": "6.0.0",
|
|
4
|
+
"description": "The MCP collaboration layer for AI CLI tools. Turn Claude Code, Gemini CLI, and Codex CLI into a team.",
|
|
5
|
+
"main": "server.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"neohive": "./cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"start": "node server.js",
|
|
11
|
+
"dashboard": "node dashboard.js",
|
|
12
|
+
"test": "echo \"No tests configured\""
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18.0.0"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"server.js",
|
|
19
|
+
"dashboard.js",
|
|
20
|
+
"dashboard.html",
|
|
21
|
+
"cli.js",
|
|
22
|
+
"lib/",
|
|
23
|
+
"tools/",
|
|
24
|
+
"templates/",
|
|
25
|
+
"conversation-templates/",
|
|
26
|
+
"logo.png",
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"SECURITY.md",
|
|
29
|
+
"CHANGELOG.md"
|
|
30
|
+
],
|
|
31
|
+
"keywords": [
|
|
32
|
+
"mcp",
|
|
33
|
+
"claude",
|
|
34
|
+
"claude-code",
|
|
35
|
+
"gemini-cli",
|
|
36
|
+
"codex-cli",
|
|
37
|
+
"agent",
|
|
38
|
+
"multi-agent",
|
|
39
|
+
"communication",
|
|
40
|
+
"message-broker",
|
|
41
|
+
"ai-agents",
|
|
42
|
+
"neohive"
|
|
43
|
+
],
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/fakiho/neohive.git"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://github.com/fakiho/neohive",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/fakiho/neohive/issues"
|
|
51
|
+
},
|
|
52
|
+
"author": "Alionix <contact@alionix.com>",
|
|
53
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@modelcontextprotocol/sdk": "1.27.1"
|
|
56
|
+
}
|
|
57
|
+
}
|