Commit Graph

2 Commits

Author SHA1 Message Date
Alex Newman
d9f23cb000 feat(memory-claudemem): implement lifecycle hooks
Add two hooks:
- after_tool_call: fire-and-forget observation to claude-mem
  (skips memory_* tools to prevent recursion)
- before_agent_start: context injection from memory search
  (wraps in <claude-mem-context> tags)

Both hooks have error handling and graceful degradation.

Part of claude-mem integration (Phase 4/7).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:08:18 -05:00
Alex Newman
346cef2488 feat(memory-claudemem): scaffold plugin structure
Create extensions/memory-claudemem with:
- package.json with workspace references
- clawdbot.plugin.json manifest
- types.ts, config.ts, client.ts (stubs), index.ts

Part of claude-mem integration (Phase 2/7).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:04:28 -05:00