From a117466db173ccd073dae8001fd2001f9c23c308 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:40:38 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++++ README.md | 3 +++ hooks/hook.json | 27 +++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hook.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..8b6c7d7 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "mgrep", + "description": "Search your local files using Mixedbread", + "version": "0.0.0", + "author": { + "name": "Joel Dierkes" + }, + "hooks": [ + "./hooks/hook.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..1d28063 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# mgrep + +Search your local files using Mixedbread diff --git a/hooks/hook.json b/hooks/hook.json new file mode 100644 index 0000000..3c23f89 --- /dev/null +++ b/hooks/hook.json @@ -0,0 +1,27 @@ +{ + "hooks": { + "SessionStart": [ + { + "matcher": "startup|resume", + "hooks": [ + { + "type": "command", + "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/mgrep_watch.py", + "timeout": 10 + } + ] + } + ], + "SessionEnd": [ + { + "hooks": [ + { + "type": "command", + "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/mgrep_watch_kill.py", + "timeout": 10 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..21b62fc --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:mixedbread-ai/mgrep:plugins/mgrep", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "2bc298a88538712779ad77be2d977fbafdeb0a25", + "treeHash": "98a744ec7eb8228097ed029e6ebe05997e47a69df3994b467decbca3c85f95d1", + "generatedAt": "2025-11-28T10:27:07.062000Z", + "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": "mgrep", + "description": "Search your local files using Mixedbread", + "version": "0.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "28f315bf9a980fd2daf8bc5994bdc2393afc542ec4d8d0926a549bca34956ebf" + }, + { + "path": "hooks/hook.json", + "sha256": "146d307a45ec9b9c80f52d013a70c6092abb10379eacf31bdf38f00432595177" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "2838c1eaf9415770f78bf7f7ed6e6478b07dc2f52d2fb9e2fd0b333677e022d4" + } + ], + "dirSha256": "98a744ec7eb8228097ed029e6ebe05997e47a69df3994b467decbca3c85f95d1" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file