809175612c
Three fixes to make OpenClaw agent observations work end-to-end: 1. Session init in before_agent_start — the worker's privacy check requires a stored user prompt; without calling /api/sessions/init, all observations were skipped as "private" 2. Race condition fix in agent_end — await summarize before sending complete, preventing session deletion before in-flight observation POSTs arrive 3. OAuth token pass-through in buildIsolatedEnv — spawned Claude CLI processes now receive CLAUDE_CODE_OAUTH_TOKEN from the worker's env when no explicit API key is configured Also adds agent-specific emoji mapping and dynamic project naming for the Telegram observation feed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"id": "claude-mem",
|
|
"name": "Claude-Mem (Persistent Memory)",
|
|
"description": "Official OpenClaw plugin for Claude-Mem. Records observations from embedded runner sessions and streams them to messaging channels.",
|
|
"kind": "integration",
|
|
"version": "1.0.0",
|
|
"author": "thedotmack",
|
|
"homepage": "https://claude-mem.com",
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"syncMemoryFile": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Automatically sync MEMORY.md on session start"
|
|
},
|
|
"workerPort": {
|
|
"type": "number",
|
|
"default": 37777,
|
|
"description": "Port for Claude-Mem worker service"
|
|
},
|
|
"project": {
|
|
"type": "string",
|
|
"default": "openclaw",
|
|
"description": "Project name for scoping observations in the memory database"
|
|
},
|
|
"observationFeed": {
|
|
"type": "object",
|
|
"description": "Live observation feed — streams observations to any OpenClaw channel in real-time",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable live observation feed to messaging channels"
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "Channel type: telegram, discord, signal, slack, whatsapp, line"
|
|
},
|
|
"to": {
|
|
"type": "string",
|
|
"description": "Target chat/user ID to send observations to"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|