overmind-mcp 2.2.0 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overmind-mcp",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "preferGlobal": true,
5
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",
@@ -221,8 +221,8 @@ async function installPostgresMCP() {
221
221
  log(COLORS.green, '✅ overmind-postgres-mcp installé avec succès !');
222
222
  return true;
223
223
  } catch (error) {
224
- log(COLORS.yellow, '⚠️ Erreur installation overmind-postgres-mcp: ' + error.message);
225
- log(COLORS.cyan, '💡 Vous pouvez l''installer manuellement: npm install -g overmind-postgres-mcp');
224
+ log(COLORS.yellow, "⚠️ Erreur installation overmind-postgres-mcp: " + error.message);
225
+ log(COLORS.cyan, "💡 Vous pouvez l'installer manuellement: npm install -g overmind-postgres-mcp");
226
226
  return false; // Non bloquant
227
227
  }
228
228
  }
@@ -385,7 +385,7 @@ function showSummary() {
385
385
  console.log('║' + ' '.repeat(64) + '║');
386
386
  console.log('╚══════════════════════════════════════════════════════════════════╝');
387
387
  console.log('');
388
- log(COLORS.yellow, '📋 COMPOSANTS INSTALLÉS:');
388
+ log(COLORS.yellow, "📋 COMPOSANTS INSTALLÉS:");
389
389
  console.log('');
390
390
  console.log('┌─────────────────────────────────────────────────────────────────┐');
391
391
  console.log('│ ' + COLORS.cyan + 'Ouvrez Docker Desktop → onglet "Containers"' + COLORS.reset + ' │');
@@ -402,25 +402,25 @@ function showSummary() {
402
402
  console.log('│ • Database: overmind_memory' + ' │');
403
403
  console.log('└─────────────────────────────────────────────────────────────────┘');
404
404
  console.log('');
405
- log(COLORS.yellow, '📁 FICHIERS DE CONFIGURATION:');
406
- console.log(' • ~/.overmind/.env (Configuration OverMind)');
407
- console.log(' • ~/.overmind/.env.postgres (Configuration PostgreSQL MCP)');
408
- console.log(' • ~/.overmind/.mcp.json (Configuration serveurs MCP)');
405
+ log(COLORS.yellow, "📁 FICHIERS DE CONFIGURATION:");
406
+ console.log(" • ~/.overmind/.env (Configuration OverMind)");
407
+ console.log(" • ~/.overmind/.env.postgres (Configuration PostgreSQL MCP)");
408
+ console.log(" • ~/.overmind/.mcp.json (Configuration serveurs MCP)");
409
409
  console.log('');
410
- log(COLORS.yellow, '🔧 SERVEURS MCP ACTIFS:');
411
- console.log(' • overmind (Orchestration d''agents)');
412
- console.log(' • memory (Gestion mémoire vectorielle)');
413
- console.log(' • overmind-postgres (PostgreSQL vectoriel)');
410
+ log(COLORS.yellow, "🔧 SERVEURS MCP ACTIFS:");
411
+ console.log(" • overmind (Orchestration d'agents)");
412
+ console.log(" • memory (Gestion mémoire vectorielle)");
413
+ console.log(" • overmind-postgres (PostgreSQL vectoriel)");
414
414
  console.log('');
415
- log(COLORS.yellow, '📚 DOCUMENTATION:');
416
- console.log(' • https://github.com/DeamonDev888/overmind-mcp');
417
- console.log(' • https://www.npmjs.com/package/overmind-mcp');
418
- console.log(' • https://github.com/DeamonDev888/PostgreSQL-MCP-Serveur');
415
+ log(COLORS.yellow, "📚 DOCUMENTATION:");
416
+ console.log(" • https://github.com/DeamonDev888/overmind-mcp");
417
+ console.log(" • https://www.npmjs.com/package/overmind-mcp");
418
+ console.log(" • https://github.com/DeamonDev888/PostgreSQL-MCP-Serveur");
419
419
  console.log('');
420
- log(COLORS.yellow, '🎉 PROCHAINE ÉTAPE:');
421
- console.log(' • Créez votre premier agent: overmind create-agent');
422
- console.log(' • Ou listez les agents: overmind list-agents');
423
- console.log(' • Gestion PostgreSQL: overmind-postgres up/status/down');
420
+ log(COLORS.yellow, "🎉 PROCHAINE ÉTAPE:");
421
+ console.log(" • Créez votre premier agent: overmind create-agent");
422
+ console.log(" • Ou listez les agents: overmind list-agents");
423
+ console.log(" • Gestion PostgreSQL: overmind-postgres up/status/down");
424
424
  console.log('');
425
425
  }
426
426
 
@@ -69,20 +69,42 @@ function cmd(command, label) {
69
69
  // ─────────────────────────────────────────────────────────────────────────────
70
70
 
71
71
  function listContainers() {
72
- const names = ['postgres-pgvector', 'overmind-rabbitmq', 'overmind-temporal', 'overmind-temporal-web'];
73
- return names.filter((n) => {
72
+ // ⚠️ CORRECTION CRITIQUE: Ne cibler que les containers OverMind, pas les containers personnels
73
+ // Les containers personnels comme "postgres-pgvector" ne doivent JAMAIS être supprimés
74
+ const overmindContainers = [
75
+ 'overmind-postgres-pgvector', // Container créé par OverMind 2.2.0+
76
+ 'overmind-rabbitmq', // Ancien container OverMind
77
+ 'overmind-temporal', // Ancien container OverMind
78
+ 'overmind-temporal-web', // Ancien container OverMind
79
+ 'overmind-postgres', // Variant possible
80
+ 'overmind-redis', // Variant possible
81
+ 'overmind-prometheus', // Variant possible
82
+ 'overmind-grafana', // Variant possible
83
+ 'overmind-jaeger' // Variant possible
84
+ ];
85
+
86
+ return overmindContainers.filter((containerName) => {
74
87
  try {
75
- execSync(`docker inspect ${n}`, { stdio: 'pipe' });
88
+ execSync(`docker inspect ${containerName}`, { stdio: 'pipe' });
76
89
  return true;
77
90
  } catch { return false; }
78
91
  });
79
92
  }
80
93
 
81
94
  function listVolumes() {
82
- const names = ['postgres_data', 'rabbitmq_data'];
83
- return names.filter((n) => {
95
+ // ⚠️ CORRECTION CRITIQUE: Ne cibler que les volumes OverMind, pas les volumes personnels
96
+ const overmindVolumes = [
97
+ 'overmind_postgres_data', // Volume créé par OverMind 2.2.0+
98
+ 'overmind-rabbitmq_data', // Ancien volume OverMind
99
+ 'overmind-temporal_data', // Ancien volume OverMind
100
+ 'overmind_prometheus_data', // Ancien volume OverMind
101
+ 'overmind-grafana_data', // Ancien volume OverMind
102
+ 'overmind-jaeger_data' // Ancien volume OverMind
103
+ ];
104
+
105
+ return overmindVolumes.filter((volumeName) => {
84
106
  try {
85
- execSync(`docker volume inspect ${n}`, { stdio: 'pipe' });
107
+ execSync(`docker volume inspect ${volumeName}`, { stdio: 'pipe' });
86
108
  return true;
87
109
  } catch { return false; }
88
110
  });
@@ -109,6 +131,11 @@ async function main() {
109
131
  console.log(`║ ║`);
110
132
  console.log(`╚${'═'.repeat(68)}╝`);
111
133
 
134
+ // ⚠️ AVERTISSEMENT DE SÉCURITÉ
135
+ console.log('\n⚠️ SÉCURITÉ: Ce script ne supprime QUE les containers/volumes OverMind.');
136
+ console.log(' Vos containers personnels (comme postgres-pgvector) sont PROTÉGÉS.');
137
+ console.log(' Seuls les containers commençant par "overmind-" seront supprimés.\n');
138
+
112
139
  // ── 1. Containers actifs ──────────────────────────────────────────────
113
140
  const containers = listContainers();
114
141
  const volumes = listVolumes();