#1 Persistent memory for AI coding agents based on real-world benchmarks
TypeScript agentmemoryagentsaiclaudeclaudecodecodexcopilotcursorgenaiharnesshermesmemoryompopenclawopencodepi
fix: plugin hooks and skills validation errors (#100)
Rohit Ghumare740c7b90a188
diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.jsonindex d09f3871..d95899a9 100644--- a/plugin/.claude-plugin/plugin.json+++ b/plugin/.claude-plugin/plugin.json@@ -9,5 +9,5 @@"license": "Apache-2.0","homepage": "https://github.com/rohitg00/agentmemory","repository": "https://github.com/rohitg00/agentmemory",- "skills": ["../skills/recall", "../skills/remember", "../skills/session-history", "../skills/forget"]+ "skills": ["../skills/"]}diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.jsonindex c515dfe4..d60d664a 100644--- a/plugin/hooks/hooks.json+++ b/plugin/hooks/hooks.json@@ -2,75 +2,123 @@"hooks": {"SessionStart": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/session-start.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/session-start.mjs"+ }+ ]}],"UserPromptSubmit": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/prompt-submit.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/prompt-submit.mjs"+ }+ ]}],"PreToolUse": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/pre-tool-use.mjs",- "matcher": "Edit|Write|Read|Glob|Grep"+ "matcher": "Edit|Write|Read|Glob|Grep",+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/pre-tool-use.mjs"+ }+ ]}],"PostToolUse": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.mjs"+ }+ ]}],"PostToolUseFailure": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-failure.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-failure.mjs"+ }+ ]}],"PreCompact": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/pre-compact.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/pre-compact.mjs"+ }+ ]}],"SubagentStart": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/subagent-start.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/subagent-start.mjs"+ }+ ]}],"SubagentStop": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.mjs"+ }+ ]}],"Notification": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/notification.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/notification.mjs"+ }+ ]}],"TaskCompleted": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/task-completed.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/task-completed.mjs"+ }+ ]}],"Stop": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/stop.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/stop.mjs"+ }+ ]}],"SessionEnd": [{- "type": "command",- "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/session-end.mjs"+ "hooks": [+ {+ "type": "command",+ "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/session-end.mjs"+ }+ ]}]}