mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-25 17:15:04 +02:00
Replaces stub start/stop methods with working SSE consumer that connects to claude-mem worker's /stream endpoint, parses new_observation events, and forwards formatted messages to configured OpenClaw channels (Telegram, Discord, Signal, Slack, WhatsApp, Line). Includes reconnection with exponential backoff (1s-30s), connection state tracking, and on/off command toggle. Added 17 tests covering unit and SSE integration scenarios. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
309 B
JSON
16 lines
309 B
JSON
{
|
|
"name": "@claude-mem/openclaw-plugin",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "tsc && node --test dist/index.test.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.2.1",
|
|
"typescript": "^5.3.0"
|
|
}
|
|
}
|