UNPKG

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

69 lines • 2.5 kB
export interface ConfigType { CLAUDE: { CORE: string; PERMISSIONS: string; PATHS: { SETTINGS: string; MCP: string; }; }; KILO: { CORE: string; DEFAULT_MODEL: string; PATHS: { SETTINGS: string; }; }; HERMES: { CORE: string; DEFAULT_MODEL: string; PATHS: { SETTINGS: string; }; }; TIMEOUT_MS: number; HARD_TIMEOUT_MS: number; KEEPALIVE_INTERVAL_MS: number; } declare let PKG_VERSION: string; export { PKG_VERSION }; export declare const DEFAULT_CONFIG: ConfigType; export declare const CONFIG: ConfigType; export declare function resetWorkspaceCache(): void; /** Validate agent name to prevent path traversal */ export declare function isValidAgentName(name: string): boolean; export declare function getWorkspaceDir(): string; export declare function resolveConfigPath(configPath: string, workspaceDirOverride?: string): string; export declare function updateConfig(newSettingsPath?: string, newMcpPath?: string): void; /** * Resolve the canonical Hermes *profile home* directory for an Overmind agent. * * v3.1 architecture: * ~/.overmind/hermes/profiles/<name>/ * * Resolution order: * 1. OVERMIND_HERMES_HOME env var (operator override) * 2. ~/.overmind/hermes/profiles/<name>/ (canonical v3.1) */ export declare function getAgentHermesHome(agentName: string | null | undefined): string; /** * The SHARED Hermes home for this Overmind install. * v3.1: ~/.overmind/hermes/ */ export declare function getSharedHermesHome(): string; /** * The NATIVE Hermes home — where the plain `hermes` CLI reads/writes profiles * when no HERMES_HOME override is set (Windows: %LOCALAPPDATA%\hermes, * Linux/macOS: ~/.hermes). * * v3.10.5 (audit E2E 2026-10-11): hermes profile create (HermesProfileManager) * writes profiles HERE because its exec calls carried no HERMES_HOME, while * HermesRunner spawned children with getSharedHermesHome() — any freshly * created agent failed at run time with "Profile does not exist" * (EXIT_CODE_1). Create/update/delete/show/run must all agree with the home * the real ecosystem lives in. OVERMIND_HERMES_HOME still wins for isolated * installs (checked first in getSharedHermesHome; here we honor an inherited * HERMES_HOME so we always match what the plain CLI sees). */ export declare function getNativeHermesHome(): string; //# sourceMappingURL=config.d.ts.map