commit d9be238c0604d99ce18493b947edc5498e8eb47b Author: Zhongwei Li Date: Sun Nov 30 08:54:22 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..52d2c52 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "claude-mem", + "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", + "version": "4.2.1", + "author": { + "name": "Alex Newman (Original), Sceleratis (Fork)" + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..cae6eb6 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# claude-mem + +Persistent memory system for Claude Code - seamlessly preserve context across sessions diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..9a7462a --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,61 @@ +{ + "description": "Claude-mem memory system hooks", + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}\\scripts\\setup-hook.cmd", + "timeout": 120 + } + ] + } + ], + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/new-hook.js", + "timeout": 120 + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "*", + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/save-hook.js", + "timeout": 120 + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/summary-hook.js", + "timeout": 120 + } + ] + } + ], + "SessionEnd": [ + { + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/cleanup-hook.js", + "timeout": 120 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..b428b3c --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:Sceleratis/claude-code-stuff:plugins/claude-mem/plugin", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "23ec04a6689c3b9df0d3ded7a06708c115cb12cf", + "treeHash": "79dc4a574457eaf1ac404e2da80424b2f5d3ef5a09205cf2745f9e2ed4358a97", + "generatedAt": "2025-11-28T10:12:45.015506Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "claude-mem", + "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", + "version": "4.2.1" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "60dd6b781448b1eaea60bb2ccf936df6b2ed6ed5a75c65c8bb2625c04deae967" + }, + { + "path": "hooks/hooks.json", + "sha256": "b9bcf7fdc437d91eeb581ab346ade8a04501ba19a859ac1e13f7604fbc123149" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "2351516215f5ac2be4c94f865ce5a0f0d4bdb6640227e92ddbc205b558f1816f" + } + ], + "dirSha256": "79dc4a574457eaf1ac404e2da80424b2f5d3ef5a09205cf2745f9e2ed4358a97" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file