overmind-mcp 3.4.3 → 3.5.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.
@@ -0,0 +1,108 @@
1
+ # Kanban Roadmap — Overmind v4.0 (FUTURE)
2
+
3
+ > Statut: **DRAFT** — pas implémenté. Sauvegardé comme roadmap possible.
4
+ > Date: 2026-07-08
5
+
6
+ ## Vision
7
+
8
+ Overmind devient l'orchestrateur. Hermes Gateway devient le backbone d'exécution.
9
+ Le Kanban Hermes est exposé via MCP comme **UN SEUL outil** `kanban_hub` (pas 15 outils séparés).
10
+
11
+ ## Architecture cible
12
+
13
+ ```
14
+ OVERMIND MCP (:3099) → Management + Orchestration
15
+ └─ kanban_hub (1 tool MCP) → Wrappe `hermes kanban` CLI
16
+ └─ a2a_hub (1 tool MCP) → Communication inter-workers
17
+ └─ run_agent, memory_*, etc → Multi-runner + PostgreSQL
18
+
19
+ HERMES GATEWAY (backbone) → Execution engine natif
20
+ └─ Dispatcher (tick 60s)
21
+ └─ Kanban board (kanban.db)
22
+ └─ 9 kanban_* tools (injectés aux workers)
23
+ └─ Dashboard + /kanban slash
24
+ └─ Remote gateway (OAuth)
25
+ ```
26
+
27
+ ## Outil MCP unique: `kanban_hub`
28
+
29
+ UN SEUL outil MCP avec `action` enum (comme `a2a_hub` et `agent_control`):
30
+
31
+ ```typescript
32
+ kanban_hub({
33
+ action: "create", // create|list|show|complete|block|unblock|comment|link|dispatch|stats|archive|boards|watch|init
34
+ title: "...", // pour create
35
+ assignee: "sniperbot", // pour create
36
+ taskId: "t_abc123", // pour show/complete/block/unblock/comment/archive
37
+ body: "...", // pour create/comment
38
+ parents: ["t_001"], // pour create (dependencies)
39
+ reason: "...", // pour block
40
+ status: "running", // pour list (filter)
41
+ board: "my-project", // multi-board
42
+ // ... etc
43
+ })
44
+ ```
45
+
46
+ Avantages d'un seul outil:
47
+ - Schema compact (1 entrée dans tools/list au lieu de 15)
48
+ - L'agent découvre toutes les actions dans la description
49
+ - Pattern identique à a2a_hub et agent_control (cohérent)
50
+ - Moins de pollution du context window de l'agent
51
+
52
+ ## Ce qui serait supprimé d'Overmind (redondant)
53
+
54
+ | Fichier | Raison |
55
+ |---------|--------|
56
+ | `src/services/KanbanAdapter.ts` (420 lignes) | Remplacé par `kanban_hub` MCP tool |
57
+ | `src/lib/orchestration/dispatcher.ts` | Gateway dispatcher natif |
58
+ | `src/bridge/ScenarioLoader.ts` (17KB) | Kanban pipeline + decompose natif |
59
+ | YOLO_CONFIG | Retry/circuit-breaker natifs du dispatcher |
60
+
61
+ ## Ce qui reste dans Overmind (son vrai rôle wrapper)
62
+
63
+ - `run_agent` — Multi-runner spawn direct (Mode A)
64
+ - `create_agent` / `list_agents` / `delete_agent` / `update_agent_config`
65
+ - `memory_search` / `memory_store` / `memory_runs` — PostgreSQL vector
66
+ - `agent_control` — Process lifecycle
67
+ - `a2a_hub` — Communication inter-workers HTTP
68
+ - `kanban_hub` — Wrap Kanban Hermes (NOUVEAU, futur)
69
+ - `config_example` / `create_prompt` / `edit_prompt`
70
+ - `run_agents_parallel` — Pour runners non-Hermes
71
+
72
+ ## Phases d'implémentation (futur)
73
+
74
+ ### Phase 1 — Nettoyage
75
+ - Supprimer KanbanAdapter.ts, dispatcher.ts, ScenarioLoader.ts
76
+ - Nettoyer imports
77
+ - Build + test
78
+
79
+ ### Phase 2 — Outil `kanban_hub` MCP unique
80
+ - Créer `src/tools/kanban_hub.ts`
81
+ - 1 schéma Zod avec `action` enum
82
+ - Chaque action appelle `hermes kanban <verb>` via CLI
83
+ - Enregistrer dans server.ts
84
+ - Build + lint + test
85
+
86
+ ### Phase 3 — Gateway lifecycle
87
+ - `gateway_control` intégré à `agent_control` (action: "gateway_start/stop/status")
88
+ - Modifier install-overmind-native.sh pour démarrer gateway
89
+ - systemd service inclut `hermes gateway start`
90
+
91
+ ### Phase 4 — Install scripts
92
+ - postinstall.mjs détecte Hermes, propose install
93
+ - verify-install.mjs vérifie gateway + kanban.db
94
+
95
+ ### Phase 5 — Remote Gateway
96
+ - Documenter Desktop → Server Gateway (OAuth)
97
+ - `docs/REMOTE_GATEWAY.md`
98
+
99
+ ### Phase 6 — A2A + Kanban fusion
100
+ - a2a_hub utilise kanban_create comme fallback durable
101
+ - Si worker HTTP injoignable → tâche kanban
102
+
103
+ ## Prérequis
104
+
105
+ - Hermes Agent installé sur le serveur (`pip install hermes-agent` ou `hermes setup`)
106
+ - `hermes gateway start` fonctionnel
107
+ - `~/.hermes/kanban.db` accessible (symlink ~/.hermes → ~/.overmind/hermes)
108
+ - Hermes v0.18.1+ (Kanban v1 complet)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overmind-mcp",
3
- "version": "3.4.3",
3
+ "version": "3.5.1",
4
4
  "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.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * ═══════════════════════════════════════════════════════════════════════════════
4
4
  * POSTGRES-MANAGER - Gestion PostgreSQL OverMind
package/scripts/setup.mjs CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * ═══════════════════════════════════════════════════════════════════════════════
4
4
  * SETUP SCRIPT - Installation Automatique OverMind