From bd1bce27715947622061070716646fe29e041e6f Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:28:04 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++++ README.md | 3 +++ hooks/hooks.json | 14 ++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..40de5bc --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "trigger-build-resolver", + "description": "PostToolUse hook to trigger build/resolution steps", + "version": "1.0.0", + "author": { + "name": "ClaudeSmith" + }, + "hooks": [ + "./hooks/hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..76ae2c2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# trigger-build-resolver + +PostToolUse hook to trigger build/resolution steps diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..735eee3 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,14 @@ +{ + "hooks": { + "PostToolUse": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/trigger-build-resolver.sh" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..6a67363 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:JNLei/claude-tools:plugins/hooks/trigger-build-resolver", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "989d71f1fbfd69100bc6257aae748f39019ef855", + "treeHash": "49cd963473e4425342ae23423682f49cea529104edcb0fe7fcb7656c5fea7854", + "generatedAt": "2025-11-28T10:11:45.727732Z", + "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": "trigger-build-resolver", + "description": "PostToolUse hook to trigger build/resolution steps", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "e9d422fc4fe27099fc4e53a84975f78782a33317e87a283c841a8535d80abcb7" + }, + { + "path": "hooks/hooks.json", + "sha256": "55f183be4f2a72044a77799fcfde5ce07092a055a058f12dfcfd3d4983b3808e" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "fd97a6da046917750f01d58f08a482f52dc0e0ee0f85d25c5dfadc07898519dc" + } + ], + "dirSha256": "49cd963473e4425342ae23423682f49cea529104edcb0fe7fcb7656c5fea7854" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file