overmind-mcp 2.1.1 → 2.2.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/dist/bin/cli.js +0 -0
- package/package.json +125 -129
- package/scripts/install-dependencies.mjs +4 -4
- package/scripts/postgres-manager.mjs +219 -0
- package/scripts/postinstall.mjs +146 -113
- package/scripts/setup-windows.js +28 -26
- package/scripts/setup.mjs +0 -0
- package/scripts/test-installation.mjs +158 -0
- package/scripts/uninstall.mjs +0 -0
- package/scripts/docker-manager.mjs +0 -200
package/dist/bin/cli.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,129 +1,125 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "overmind-mcp",
|
|
3
|
-
"version": "2.
|
|
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. Installation automatique des dépendances Docker (PostgreSQL, pgvector) inclus.",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
|
-
"bin": {
|
|
10
|
-
"overmind": "./dist/bin/cli.js",
|
|
11
|
-
"overmind-setup": "./scripts/setup.mjs",
|
|
12
|
-
"overmind-
|
|
13
|
-
"overmind-uninstall": "./scripts/uninstall.mjs"
|
|
14
|
-
},
|
|
15
|
-
"exports": {
|
|
16
|
-
".": {
|
|
17
|
-
"import": "./dist/index.js",
|
|
18
|
-
"types": "./dist/index.d.ts"
|
|
19
|
-
},
|
|
20
|
-
"./package.json": "./package.json"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist",
|
|
24
|
-
"assets",
|
|
25
|
-
"README.md",
|
|
26
|
-
"docs",
|
|
27
|
-
"scripts",
|
|
28
|
-
"install-overmind-windows.bat",
|
|
29
|
-
"install-overmind-unix.sh"
|
|
30
|
-
],
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
},
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"worker
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"deploy:logs": "overmind-infra logs",
|
|
127
|
-
"deploy:restart": "overmind-infra restart"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "overmind-mcp",
|
|
3
|
+
"version": "2.2.0",
|
|
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. Installation automatique des dépendances Docker (PostgreSQL, pgvector) inclus.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"overmind": "./dist/bin/cli.js",
|
|
11
|
+
"overmind-setup": "./scripts/setup.mjs",
|
|
12
|
+
"overmind-postgres": "./scripts/postgres-manager.mjs",
|
|
13
|
+
"overmind-uninstall": "./scripts/uninstall.mjs"
|
|
14
|
+
},
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"assets",
|
|
25
|
+
"README.md",
|
|
26
|
+
"docs",
|
|
27
|
+
"scripts",
|
|
28
|
+
"install-overmind-windows.bat",
|
|
29
|
+
"install-overmind-unix.sh"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsc",
|
|
33
|
+
"rebuild": "rimraf dist && tsc",
|
|
34
|
+
"clean": "rimraf dist",
|
|
35
|
+
"start": "node --no-warnings --env-file=.env dist/bin/cli.js",
|
|
36
|
+
"dev": "node --no-warnings --watch --env-file=.env dist/bin/cli.js",
|
|
37
|
+
"build:fix": "pnpm run clean && pnpm install && pnpm run build",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"lint:fix": "eslint . --fix",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"check-types": "tsc --noEmit",
|
|
42
|
+
"test": "vitest run",
|
|
43
|
+
"test:install": "node scripts/test-installation.mjs",
|
|
44
|
+
"changeset": "changeset",
|
|
45
|
+
"version": "changeset version",
|
|
46
|
+
"release": "pnpm run build && changeset publish",
|
|
47
|
+
"prepublishOnly": "pnpm run rebuild",
|
|
48
|
+
"postinstall": "node scripts/postinstall.mjs",
|
|
49
|
+
"setup": "overmind-setup",
|
|
50
|
+
"setup:deps": "node scripts/install-dependencies.mjs",
|
|
51
|
+
"postgres:up": "overmind-postgres up",
|
|
52
|
+
"postgres:down": "overmind-postgres down",
|
|
53
|
+
"postgres:status": "overmind-postgres status",
|
|
54
|
+
"postgres:logs": "overmind-postgres logs",
|
|
55
|
+
"postgres:reset": "overmind-postgres reset"
|
|
56
|
+
},
|
|
57
|
+
"keywords": [
|
|
58
|
+
"mcp",
|
|
59
|
+
"model-context-protocol",
|
|
60
|
+
"claude-code",
|
|
61
|
+
"ai-agent",
|
|
62
|
+
"llm",
|
|
63
|
+
"orchestration",
|
|
64
|
+
"automation",
|
|
65
|
+
"pgvector",
|
|
66
|
+
"docker",
|
|
67
|
+
"auto-installation"
|
|
68
|
+
],
|
|
69
|
+
"author": "DeaMoN888",
|
|
70
|
+
"license": "MIT",
|
|
71
|
+
"repository": {
|
|
72
|
+
"type": "git",
|
|
73
|
+
"url": "git+https://github.com/DeamonDev888/overmind-mcp.git"
|
|
74
|
+
},
|
|
75
|
+
"bugs": {
|
|
76
|
+
"url": "https://discord.gg/4AR82phtBz"
|
|
77
|
+
},
|
|
78
|
+
"homepage": "https://deamondev888.github.io/overmind-mcp/",
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": ">=20.0.0 <25"
|
|
81
|
+
},
|
|
82
|
+
"packageManager": "pnpm@10.18.0",
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@changesets/cli": "^2.31.0",
|
|
85
|
+
"@eslint/js": "^9.39.4",
|
|
86
|
+
"@types/amqplib": "^0.10.8",
|
|
87
|
+
"@types/node": "^22.19.17",
|
|
88
|
+
"@types/pg": "^8.20.0",
|
|
89
|
+
"@types/pino": "^7.0.5",
|
|
90
|
+
"eslint": "^9.39.4",
|
|
91
|
+
"eslint-config-prettier": "^10.1.8",
|
|
92
|
+
"globals": "^17.5.0",
|
|
93
|
+
"prettier": "^3.8.3",
|
|
94
|
+
"rimraf": "^6.1.3",
|
|
95
|
+
"typescript": "^5.9.3",
|
|
96
|
+
"typescript-eslint": "^8.58.2",
|
|
97
|
+
"vitest": "^4.1.4"
|
|
98
|
+
},
|
|
99
|
+
"dependencies": {
|
|
100
|
+
"@opentelemetry/api": "^1.9.1",
|
|
101
|
+
"@opentelemetry/auto-instrumentations-node": "^0.75.0",
|
|
102
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.217.0",
|
|
103
|
+
"@opentelemetry/resources": "^2.7.1",
|
|
104
|
+
"@opentelemetry/sdk-node": "^0.217.0",
|
|
105
|
+
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
106
|
+
"@temporalio/activity": "^1.17.1",
|
|
107
|
+
"@temporalio/client": "^1.17.1",
|
|
108
|
+
"@temporalio/worker": "^1.17.1",
|
|
109
|
+
"@temporalio/workflow": "^1.17.1",
|
|
110
|
+
"async-mutex": "^0.5.0",
|
|
111
|
+
"dotenv": "^17.4.2",
|
|
112
|
+
"fastmcp": "^3.35.0",
|
|
113
|
+
"overmind-postgres-mcp": "^1.1.6",
|
|
114
|
+
"pg": "^8.20.0",
|
|
115
|
+
"pino": "^9.14.0",
|
|
116
|
+
"pino-pretty": "^13.1.3",
|
|
117
|
+
"pino-roll": "^2.2.0",
|
|
118
|
+
"tinyglobby": "^0.2.16",
|
|
119
|
+
"zod": "^4.3.6",
|
|
120
|
+
"tslib": "^2.8.1"
|
|
121
|
+
},
|
|
122
|
+
"peerDependencies": {
|
|
123
|
+
"tslib": "^2.0.0"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* ═══════════════════════════════════════════════════════════════════════════════
|
|
4
|
-
* INSTALL-DEPENDENCIES SCRIPT
|
|
4
|
+
* INSTALL-DEPENDENCIES SCRIPT (SIMPLIFIÉ)
|
|
5
5
|
* ═══════════════════════════════════════════════════════════════════════════════
|
|
6
6
|
* Script cross-platform qui détecte et installe uniquement ce qui manque :
|
|
7
7
|
* - Docker Desktop / Docker Engine
|
|
8
|
-
* - PostgreSQL + pgvector (
|
|
8
|
+
* - PostgreSQL + pgvector (uniquement)
|
|
9
9
|
*
|
|
10
10
|
* Supporte: Windows (Docker Desktop), Linux (Docker Engine), macOS (Docker Desktop)
|
|
11
11
|
* ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -435,8 +435,8 @@ async function main() {
|
|
|
435
435
|
🎉 PostgreSQL + pgvector sont prêts !
|
|
436
436
|
|
|
437
437
|
📋 PROCHAINE ÉTAPE:
|
|
438
|
-
→ Relancez: overmind-setup
|
|
439
|
-
Ou manuellement: overmind-
|
|
438
|
+
→ Relancez: overmind-setup
|
|
439
|
+
Ou manuellement: npm install -g overmind-mcp
|
|
440
440
|
|
|
441
441
|
💡 RAPPEL:
|
|
442
442
|
• Container: ${installResult.container}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
4
|
+
* POSTGRES-MANAGER - Gestion PostgreSQL OverMind
|
|
5
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
6
|
+
* Script simplifié pour gérer PostgreSQL + pgvector OverMind
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* overmind-postgres up Démarrer PostgreSQL
|
|
10
|
+
* overmind-postgres down Arrêter PostgreSQL
|
|
11
|
+
* overmind-postgres status Vérifier l'état
|
|
12
|
+
* overmind-postgres logs Voir les logs
|
|
13
|
+
* overmind-postgres reset Réinitialiser (⚠️ supprime les données)
|
|
14
|
+
* ═══════════════════════════════════════════════════════════════════════════════
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { execSync } from 'child_process';
|
|
18
|
+
import { existsSync } from 'fs';
|
|
19
|
+
import { join } from 'path';
|
|
20
|
+
import { fileURLToPath } from 'url';
|
|
21
|
+
import { dirname } from 'path';
|
|
22
|
+
|
|
23
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
24
|
+
const __dirname = dirname(__filename);
|
|
25
|
+
|
|
26
|
+
const PROJECT_ROOT = join(__dirname, '..');
|
|
27
|
+
const COMPOSE_FILE = join(PROJECT_ROOT, 'docker-compose.yml');
|
|
28
|
+
|
|
29
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
30
|
+
// UTILS
|
|
31
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
32
|
+
|
|
33
|
+
function logSection(title) {
|
|
34
|
+
console.log('\n╔══════════════════════════════════════════════════════════════════╗');
|
|
35
|
+
console.log(`║ ${title.padEnd(64)} ║`);
|
|
36
|
+
console.log('╚══════════════════════════════════════════════════════════════════╝');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function runCommand(cmd, options = {}) {
|
|
40
|
+
try {
|
|
41
|
+
return execSync(cmd, { stdio: 'inherit', ...options });
|
|
42
|
+
} catch (error) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
48
|
+
// COMMANDS
|
|
49
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
50
|
+
|
|
51
|
+
function commandUp() {
|
|
52
|
+
logSection('DÉMARRAGE POSTGRESQL OVERMIND');
|
|
53
|
+
|
|
54
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
55
|
+
console.error('❌ Fichier docker-compose.yml non trouvé');
|
|
56
|
+
process.exit(1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
try {
|
|
60
|
+
runCommand(`docker-compose -f "${COMPOSE_FILE}" up -d`);
|
|
61
|
+
console.log('');
|
|
62
|
+
console.log('✅ PostgreSQL + pgvector démarré avec succès !');
|
|
63
|
+
console.log('');
|
|
64
|
+
console.log('📊 Connexion:');
|
|
65
|
+
console.log(' Host: localhost:5432');
|
|
66
|
+
console.log(' Database: overmind_memory');
|
|
67
|
+
console.log(' User: postgres');
|
|
68
|
+
console.log(' Password: overmind_temp_password_change_me');
|
|
69
|
+
console.log('');
|
|
70
|
+
console.log('💪 Extensions: pgvector (4096D) activé');
|
|
71
|
+
console.log('');
|
|
72
|
+
} catch (error) {
|
|
73
|
+
console.error('❌ Erreur démarrage PostgreSQL:', error.message);
|
|
74
|
+
process.exit(1);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function commandDown() {
|
|
79
|
+
logSection('ARRÊT POSTGRESQL OVERMIND');
|
|
80
|
+
|
|
81
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
82
|
+
console.error('❌ Fichier docker-compose.yml non trouvé');
|
|
83
|
+
process.exit(1);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
try {
|
|
87
|
+
runCommand(`docker-compose -f "${COMPOSE_FILE}" down`);
|
|
88
|
+
console.log('');
|
|
89
|
+
console.log('✅ PostgreSQL arrêté avec succès !');
|
|
90
|
+
console.log('');
|
|
91
|
+
console.log('💡 Les données sont conservées dans le volume Docker.');
|
|
92
|
+
console.log('');
|
|
93
|
+
} catch (error) {
|
|
94
|
+
console.error('❌ Erreur arrêt PostgreSQL:', error.message);
|
|
95
|
+
process.exit(1);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function commandStatus() {
|
|
100
|
+
logSection('ÉTAT POSTGRESQL OVERMIND');
|
|
101
|
+
|
|
102
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
103
|
+
console.error('❌ Fichier docker-compose.yml non trouvé');
|
|
104
|
+
process.exit(1);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
try {
|
|
108
|
+
runCommand(`docker-compose -f "${COMPOSE_FILE}" ps`);
|
|
109
|
+
} catch (error) {
|
|
110
|
+
console.error('❌ Erreur vérification état:', error.message);
|
|
111
|
+
process.exit(1);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function commandLogs() {
|
|
116
|
+
logSection('LOGS POSTGRESQL OVERMIND');
|
|
117
|
+
console.log(' (Ctrl+C pour sortir)');
|
|
118
|
+
console.log('');
|
|
119
|
+
|
|
120
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
121
|
+
console.error('❌ Fichier docker-compose.yml non trouvé');
|
|
122
|
+
process.exit(1);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
try {
|
|
126
|
+
runCommand(`docker-compose -f "${COMPOSE_FILE}" logs -f`);
|
|
127
|
+
} catch (error) {
|
|
128
|
+
// Ignore Ctrl+C
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function commandReset() {
|
|
133
|
+
logSection('RÉINITIALISATION POSTGRESQL OVERMIND');
|
|
134
|
+
console.log('');
|
|
135
|
+
console.log('⚠️ ATTENTION: Cette commande va SUPPRIMER TOUTES LES DONNÉES !');
|
|
136
|
+
console.log('');
|
|
137
|
+
|
|
138
|
+
const { confirm } = require('minimist')(process.argv.slice(2));
|
|
139
|
+
if (!confirm) {
|
|
140
|
+
console.log('❌ Annulé. Pour confirmer, utilisez: --confirm');
|
|
141
|
+
console.log(' overmind-postgres reset --confirm');
|
|
142
|
+
process.exit(0);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (!existsSync(COMPOSE_FILE)) {
|
|
146
|
+
console.error('❌ Fichier docker-compose.yml non trouvé');
|
|
147
|
+
process.exit(1);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
try {
|
|
151
|
+
console.log('🛑 Arrêt PostgreSQL...');
|
|
152
|
+
runCommand(`docker-compose -f "${COMPOSE_FILE}" down -v`);
|
|
153
|
+
|
|
154
|
+
console.log('🗑️ Suppression du volume Docker...');
|
|
155
|
+
runCommand('docker volume rm overmind-postgres-data', { stdio: 'inherit' });
|
|
156
|
+
|
|
157
|
+
console.log('');
|
|
158
|
+
console.log('✅ PostgreSQL réinitialisé avec succès !');
|
|
159
|
+
console.log('');
|
|
160
|
+
console.log('📊 Prochaine étape:');
|
|
161
|
+
console.log(' overmind-postgres up');
|
|
162
|
+
console.log('');
|
|
163
|
+
} catch (error) {
|
|
164
|
+
console.error('❌ Erreur réinitialisation:', error.message);
|
|
165
|
+
process.exit(1);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function showHelp() {
|
|
170
|
+
console.log('╔══════════════════════════════════════════════════════════════════╗');
|
|
171
|
+
console.log('║ POSTGRES-MANAGER: Gestion PostgreSQL OverMind ║');
|
|
172
|
+
console.log('╠════════════════════════════════════════════════════════════════╣');
|
|
173
|
+
console.log('║ Usage: ║');
|
|
174
|
+
console.log('║ overmind-postgres up Démarrer PostgreSQL ║');
|
|
175
|
+
console.log('║ overmind-postgres down Arrêter PostgreSQL ║');
|
|
176
|
+
console.log('║ overmind-postgres status Vérifier l''état ║');
|
|
177
|
+
console.log('║ overmind-postgres logs Voir les logs en temps réel ║');
|
|
178
|
+
console.log('║ overmind-postgres reset Réinitialiser (⚠️ données) ║');
|
|
179
|
+
console.log('║ ║');
|
|
180
|
+
console.log('║ Configuration: ║');
|
|
181
|
+
console.log('║ Host: localhost:5432 ║');
|
|
182
|
+
console.log('║ Database: overmind_memory ║');
|
|
183
|
+
console.log('║ User: postgres ║');
|
|
184
|
+
console.log('║ Extension: pgvector (4096D) ║');
|
|
185
|
+
console.log('║ ║');
|
|
186
|
+
console.log('║ Intégration OverMind: ║');
|
|
187
|
+
console.log('║ • Agents stockés dans overmind_agents ║');
|
|
188
|
+
console.log('║ • Mémoires vectorielles dans overmind_memories ║');
|
|
189
|
+
console.log('║ • Sessions dans overmind_sessions ║');
|
|
190
|
+
console.log('╚══════════════════════════════════════════════════════════════════╝');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
194
|
+
// MAIN
|
|
195
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
196
|
+
|
|
197
|
+
const command = process.argv[2] || 'help';
|
|
198
|
+
|
|
199
|
+
switch (command) {
|
|
200
|
+
case 'up':
|
|
201
|
+
commandUp();
|
|
202
|
+
break;
|
|
203
|
+
case 'down':
|
|
204
|
+
commandDown();
|
|
205
|
+
break;
|
|
206
|
+
case 'status':
|
|
207
|
+
commandStatus();
|
|
208
|
+
break;
|
|
209
|
+
case 'logs':
|
|
210
|
+
commandLogs();
|
|
211
|
+
break;
|
|
212
|
+
case 'reset':
|
|
213
|
+
commandReset();
|
|
214
|
+
break;
|
|
215
|
+
case 'help':
|
|
216
|
+
default:
|
|
217
|
+
showHelp();
|
|
218
|
+
break;
|
|
219
|
+
}
|