overmind-mcp
Version:
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
53 lines • 2.86 kB
TypeScript
/**
* HermesRunner — Thin wrapper around the native Hermes Agent CLI.
*
* ╔════════════════════════════════════════════════════════════════════════╗
* ║ ARCHITECTURE (v3.0 — Refactored) ║
* ║ ║
* ║ This runner replaces the 1391-line NousHermesRunner. It does NOT: ║
* ║ - Resolve tokens (Hermes .env per-profile does that) ║
* ║ - Detect providers (Hermes config.yaml does that) ║
* ║ - Manage HERMES_HOME custom paths (Hermes ~/.hermes native) ║
* ║ - Filter config.yaml (1 config per profile now) ║
* ║ - Find the hermes binary (it's in PATH) ║
* ║ ║
* ║ It DOES: ║
* ║ - Spawn: hermes -p <profile> chat -q "<prompt>" -Q --yolo ║
* ║ - Capture stdout (response) + stderr (session_id + diagnostics) ║
* ║ - Handle timeout + abort signal ║
* ║ - Register with agent_lifecycle + processRegistry (UI parity) ║
* ║ ║
* ║ Profile management is handled by AgentManager via: ║
* ║ hermes profile create / delete / list / show ║
* ║ ║
* ║ Session resume is handled by: ║
* ║ hermes -p <name> chat -q "<prompt>" --resume <sessionId> ║
* ╚════════════════════════════════════════════════════════════════════════╝
*/
export interface RunAgentOptions {
prompt: string;
agentName?: string;
sessionId?: string;
autoResume?: boolean;
cwd?: string;
configPath?: string;
silent?: boolean;
model?: string;
provider?: string;
signal?: AbortSignal;
}
export interface RunAgentResult {
result: string;
sessionId?: string;
error?: string;
rawOutput?: string;
model?: string;
}
export declare class HermesRunner {
private timeoutMs;
private MAX_BUF;
constructor();
runAgent(options: RunAgentOptions): Promise<RunAgentResult>;
private runAgentInternal;
}
//# sourceMappingURL=HermesRunner.d.ts.map