feat: integrate Cortex local memory into OpenClaw

This commit is contained in:
Marc J Saint-jour 2026-03-12 18:41:21 -04:00
parent 70ec16cfce
commit 2c4dfd61d4

View File

@ -1,5 +1,5 @@
import type { ChatType } from "../channels/chat-type.js"; import type { ChatType } from "../channels/chat-type.js";
import type { AgentDefaultsConfig } from "./types.agent-defaults.js"; import type { AgentCortexConfig, AgentDefaultsConfig } from "./types.agent-defaults.js";
import type { AgentModelConfig, AgentSandboxConfig } from "./types.agents-shared.js"; import type { AgentModelConfig, AgentSandboxConfig } from "./types.agents-shared.js";
import type { HumanDelayConfig, IdentityConfig } from "./types.base.js"; import type { HumanDelayConfig, IdentityConfig } from "./types.base.js";
import type { GroupChatConfig } from "./types.messages.js"; import type { GroupChatConfig } from "./types.messages.js";
@ -68,6 +68,7 @@ export type AgentConfig = {
/** Optional allowlist of skills for this agent (omit = all skills; empty = none). */ /** Optional allowlist of skills for this agent (omit = all skills; empty = none). */
skills?: string[]; skills?: string[];
memorySearch?: MemorySearchConfig; memorySearch?: MemorySearchConfig;
cortex?: AgentCortexConfig;
/** Human-like delay between block replies for this agent. */ /** Human-like delay between block replies for this agent. */
humanDelay?: HumanDelayConfig; humanDelay?: HumanDelayConfig;
/** Optional per-agent heartbeat overrides. */ /** Optional per-agent heartbeat overrides. */