overmind-mcp 2.0.0 → 2.0.2
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 +145 -139
- package/dist/server.d.ts +40 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +104 -61
- package/dist/server.js.map +1 -1
- package/dist/services/ClaudeRunner.d.ts.map +1 -1
- package/dist/services/ClaudeRunner.js +68 -47
- package/dist/services/ClaudeRunner.js.map +1 -1
- package/docs/INDEX.md +144 -0
- package/docs/README.md +128 -0
- package/docs/api/prompt/Claude_code.md +74 -0
- package/docs/api/prompt/Kilo.md +74 -0
- package/docs/api/prompt/Kilo_Hermes.md +170 -0
- package/docs/api/prompt/Minimax4.md +96 -0
- package/docs/changelog/CHANGELOG.add.md +106 -0
- package/docs/changelog/CHANGELOG.md +339 -0
- package/docs/guides/DEPLOYMENT.md +418 -0
- package/docs/guides/SWARM_USAGE.md +444 -0
- package/docs/index.html +569 -0
- package/docs/library.html +239 -0
- package/docs/prompt.html +1212 -0
- package/docs/script.js +428 -0
- package/docs/styles.css +2816 -0
- package/docs/tools.md +794 -0
- package/package.json +26 -11
- package/scripts/docker-manager.mjs +200 -0
- package/scripts/install-dependencies.mjs +462 -0
- package/scripts/postinstall.mjs +192 -0
- package/scripts/setup-overmind-db.mjs +199 -0
- package/scripts/setup-windows.js +264 -0
- package/scripts/setup.mjs +394 -0
- package/scripts/uninstall.mjs +224 -0
- package/dist/tools/metadata.d.ts +0 -20
- package/dist/tools/metadata.d.ts.map +0 -1
- package/dist/tools/metadata.js +0 -246
- package/dist/tools/metadata.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "overmind-mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"preferGlobal": true,
|
|
5
|
-
"description": "Orchestrateur universel agents IA multi-modeles via MCP. Inclut le protocole 'Custom-Nickname' pour identifier vos agents avec des surnoms originaux (The Chaos Prophet, Shadow Sniper, etc.), l'isolation mémoire (Private Memory Context) et le support pour QwenCli et Nous Hermes.",
|
|
5
|
+
"description": "Orchestrateur universel agents IA multi-modeles via MCP. Inclut le protocole 'Custom-Nickname' pour identifier vos agents avec des surnoms originaux (The Chaos Prophet, Shadow Sniper, etc.), l'isolation mémoire (Private Memory Context) et le support pour QwenCli et Nous Hermes. Installation automatique des dépendances Docker (PostgreSQL, pgvector) inclus.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"bin": {
|
|
10
|
-
"overmind": "dist/bin/cli.js"
|
|
10
|
+
"overmind": "./dist/bin/cli.js",
|
|
11
|
+
"overmind-setup": "./scripts/setup.mjs",
|
|
12
|
+
"overmind-infra": "./scripts/docker-manager.mjs",
|
|
13
|
+
"overmind-uninstall": "./scripts/uninstall.mjs"
|
|
11
14
|
},
|
|
12
15
|
"exports": {
|
|
13
16
|
".": {
|
|
@@ -19,7 +22,9 @@
|
|
|
19
22
|
"files": [
|
|
20
23
|
"dist",
|
|
21
24
|
"assets",
|
|
22
|
-
"README.md"
|
|
25
|
+
"README.md",
|
|
26
|
+
"docs",
|
|
27
|
+
"scripts"
|
|
23
28
|
],
|
|
24
29
|
"scripts": {
|
|
25
30
|
"build": "tsc",
|
|
@@ -39,12 +44,15 @@
|
|
|
39
44
|
"version": "changeset version",
|
|
40
45
|
"release": "pnpm run build && changeset publish",
|
|
41
46
|
"prepublishOnly": "pnpm run rebuild",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"deploy:
|
|
47
|
-
"deploy:
|
|
47
|
+
"postinstall": "node scripts/postinstall.mjs",
|
|
48
|
+
"setup": "overmind-setup",
|
|
49
|
+
"setup:full": "overmind-setup --full",
|
|
50
|
+
"setup:deps": "node scripts/install-dependencies.mjs",
|
|
51
|
+
"deploy:infra": "overmind-infra up",
|
|
52
|
+
"deploy:down": "overmind-infra down",
|
|
53
|
+
"deploy:status": "overmind-infra status",
|
|
54
|
+
"deploy:logs": "overmind-infra logs",
|
|
55
|
+
"deploy:restart": "overmind-infra restart"
|
|
48
56
|
},
|
|
49
57
|
"keywords": [
|
|
50
58
|
"mcp",
|
|
@@ -53,7 +61,14 @@
|
|
|
53
61
|
"ai-agent",
|
|
54
62
|
"llm",
|
|
55
63
|
"orchestration",
|
|
56
|
-
"automation"
|
|
64
|
+
"automation",
|
|
65
|
+
"swarm",
|
|
66
|
+
"temporal",
|
|
67
|
+
"rabbitmq",
|
|
68
|
+
"pgvector",
|
|
69
|
+
"observability",
|
|
70
|
+
"docker",
|
|
71
|
+
"auto-installation"
|
|
57
72
|
],
|
|
58
73
|
"author": "DeaMoN888",
|
|
59
74
|
"license": "MIT",
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
4
|
+
* DOCKER-MANAGER - Gestion Simplifiée Docker Compose
|
|
5
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
6
|
+
* Gère les services Docker OverMind via des commandes simples
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* overmind-infra up Démarrer les services
|
|
10
|
+
* overmind-infra down Arrêter les services
|
|
11
|
+
* overmind-infra status Vérifier l'état
|
|
12
|
+
* overmind-infra logs Voir les logs
|
|
13
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { execSync } from 'child_process';
|
|
17
|
+
import { existsSync } from 'fs';
|
|
18
|
+
import { join } from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
import { dirname } from 'path';
|
|
21
|
+
|
|
22
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
23
|
+
const __dirname = dirname(__filename);
|
|
24
|
+
|
|
25
|
+
// Try to find .overmind directory, fallback to current directory
|
|
26
|
+
let INSTALL_DIR = join(process.env.HOME || process.env.USERPROFILE || process.env.HOMEPATH, '.overmind');
|
|
27
|
+
|
|
28
|
+
// If we're running from NPM package, check the install directory
|
|
29
|
+
if (!existsSync(INSTALL_DIR)) {
|
|
30
|
+
// Try to find relative to node_modules/overmind-mcp
|
|
31
|
+
const possiblePath = join(__dirname, '..', '.overmind');
|
|
32
|
+
if (existsSync(possiblePath)) {
|
|
33
|
+
INSTALL_DIR = possiblePath;
|
|
34
|
+
} else {
|
|
35
|
+
// Fallback to home directory
|
|
36
|
+
INSTALL_DIR = join(process.env.HOME || process.env.USERPROFILE, '.overmind');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const COMPOSE_FILE = join(INSTALL_DIR, 'docker-compose.overmind.yml');
|
|
41
|
+
|
|
42
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
43
|
+
// COMMANDS
|
|
44
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
45
|
+
|
|
46
|
+
function commandUp() {
|
|
47
|
+
console.log('🚀 Démarrage infrastructure Docker OverMind...');
|
|
48
|
+
console.log('');
|
|
49
|
+
|
|
50
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
51
|
+
console.error('❌ Fichier non trouvé:', COMPOSE_FILE);
|
|
52
|
+
console.error(' → Lancez d\'abord: overmind-setup');
|
|
53
|
+
process.exit(1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
try {
|
|
57
|
+
execSync(`docker-compose -f "${COMPOSE_FILE}" up -d`, { stdio: 'inherit' });
|
|
58
|
+
console.log('');
|
|
59
|
+
console.log('✅ Services démarrés avec succès !');
|
|
60
|
+
console.log('');
|
|
61
|
+
console.log('🌐 Interfaces disponibles:');
|
|
62
|
+
console.log(' 📊 RabbitMQ Management: http://localhost:15672');
|
|
63
|
+
console.log(' 📈 Temporal Web UI: http://localhost:8233');
|
|
64
|
+
console.log(' 👤 User: overmind / Pass: overmind_secret_password_change_me');
|
|
65
|
+
console.log('');
|
|
66
|
+
} catch (error) {
|
|
67
|
+
console.error('❌ Erreur démarrage services:', error.message);
|
|
68
|
+
process.exit(1);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function commandDown() {
|
|
73
|
+
console.log('🛑 Arrêt infrastructure Docker OverMind...');
|
|
74
|
+
console.log('');
|
|
75
|
+
|
|
76
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
77
|
+
console.error('❌ Fichier non trouvé:', COMPOSE_FILE);
|
|
78
|
+
process.exit(1);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
try {
|
|
82
|
+
execSync(`docker-compose -f "${COMPOSE_FILE}" down`, { stdio: 'inherit' });
|
|
83
|
+
console.log('');
|
|
84
|
+
console.log('✅ Services arrêtés avec succès !');
|
|
85
|
+
console.log('');
|
|
86
|
+
console.log('💡 Les données sont conservées dans les volumes Docker.');
|
|
87
|
+
} catch (error) {
|
|
88
|
+
console.error('❌ Erreur arrêt services:', error.message);
|
|
89
|
+
process.exit(1);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function commandStatus() {
|
|
94
|
+
console.log('📊 État infrastructure Docker OverMind:');
|
|
95
|
+
console.log('');
|
|
96
|
+
|
|
97
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
98
|
+
console.error('❌ Fichier non trouvé:', COMPOSE_FILE);
|
|
99
|
+
console.log(' → Lancez d\'abord: overmind-setup');
|
|
100
|
+
process.exit(1);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
try {
|
|
104
|
+
execSync(`docker-compose -f "${COMPOSE_FILE}" ps`, { stdio: 'inherit' });
|
|
105
|
+
} catch (error) {
|
|
106
|
+
console.error('❌ Erreur vérification état:', error.message);
|
|
107
|
+
process.exit(1);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function commandLogs() {
|
|
112
|
+
console.log('📋 Logs infrastructure Docker OverMind:');
|
|
113
|
+
console.log('');
|
|
114
|
+
console.log(' (Ctrl+C pour sortir)');
|
|
115
|
+
console.log('');
|
|
116
|
+
|
|
117
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
118
|
+
console.error('❌ Fichier non trouvé:', COMPOSE_FILE);
|
|
119
|
+
process.exit(1);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
try {
|
|
123
|
+
execSync(`docker-compose -f "${COMPOSE_FILE}" logs -f`, { stdio: 'inherit' });
|
|
124
|
+
} catch (error) {
|
|
125
|
+
// Ignore Ctrl+C
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function commandRestart() {
|
|
130
|
+
console.log('🔄 Redémarrage infrastructure Docker OverMind...');
|
|
131
|
+
console.log('');
|
|
132
|
+
|
|
133
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
134
|
+
console.error('❌ Fichier non trouvé:', COMPOSE_FILE);
|
|
135
|
+
process.exit(1);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
try {
|
|
139
|
+
execSync(`docker-compose -f "${COMPOSE_FILE}" restart`, { stdio: 'inherit' });
|
|
140
|
+
console.log('');
|
|
141
|
+
console.log('✅ Services redémarrés avec succès !');
|
|
142
|
+
} catch (error) {
|
|
143
|
+
console.error('❌ Erreur redémarrage:', error.message);
|
|
144
|
+
process.exit(1);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function showHelp() {
|
|
149
|
+
console.log('╔══════════════════════════════════════════════════════════════════╗');
|
|
150
|
+
console.log('║ OVERMIND-INFRA: Gestion Docker Compose OverMind ║');
|
|
151
|
+
console.log('╠════════════════════════════════════════════════════════════════╣');
|
|
152
|
+
console.log('║ Usage: ║');
|
|
153
|
+
console.log('║ overmind-infra up Démarrer les services ║');
|
|
154
|
+
console.log('║ overmind-infra down Arrêter tous les services ║');
|
|
155
|
+
console.log('║ overmind-infra restart Redémarrer les services ║');
|
|
156
|
+
console.log('║ overmind-infra status Vérifier l\'état ║');
|
|
157
|
+
console.log('║ overmind-infra logs Voir les logs en temps réel ║');
|
|
158
|
+
console.log('║ ║');
|
|
159
|
+
console.log('║ Services gérés: ║');
|
|
160
|
+
console.log('║ - RabbitMQ (Message Broker) ║');
|
|
161
|
+
console.log('║ - Temporal (Workflow Orchestrator) ║');
|
|
162
|
+
console.log('║ - Temporal Web (Interface Web) ║');
|
|
163
|
+
console.log('║ ║');
|
|
164
|
+
console.log('║ Interfaces: ║');
|
|
165
|
+
console.log('║ RabbitMQ: http://localhost:15672 ║');
|
|
166
|
+
console.log('║ Temporal: http://localhost:8233 ║');
|
|
167
|
+
console.log('║ ║');
|
|
168
|
+
console.log('║ Installation: ║');
|
|
169
|
+
console.log('║ Si docker-compose.overmind.yml manque: ║');
|
|
170
|
+
console.log('║ → overmind-setup --full ║');
|
|
171
|
+
console.log('╚══════════════════════════════════════════════════════════════════╝');
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
175
|
+
// MAIN
|
|
176
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
177
|
+
|
|
178
|
+
const command = process.argv[2] || 'help';
|
|
179
|
+
|
|
180
|
+
switch (command) {
|
|
181
|
+
case 'up':
|
|
182
|
+
commandUp();
|
|
183
|
+
break;
|
|
184
|
+
case 'down':
|
|
185
|
+
commandDown();
|
|
186
|
+
break;
|
|
187
|
+
case 'restart':
|
|
188
|
+
commandRestart();
|
|
189
|
+
break;
|
|
190
|
+
case 'status':
|
|
191
|
+
commandStatus();
|
|
192
|
+
break;
|
|
193
|
+
case 'logs':
|
|
194
|
+
commandLogs();
|
|
195
|
+
break;
|
|
196
|
+
case 'help':
|
|
197
|
+
default:
|
|
198
|
+
showHelp();
|
|
199
|
+
break;
|
|
200
|
+
}
|