From 49d8df82a212ee38cbbdcb11fb3fba2a5a65a273 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:03:40 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks.json | 15 +++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 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..d8bd629 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "smgrep", + "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.", + "version": "0.1.0", + "author": { + "name": "Can Bölük", + "email": "me@can.ac" + }, + "hooks": [ + "./hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..03e9de3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# smgrep + +Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities. diff --git a/hooks.json b/hooks.json new file mode 100644 index 0000000..2996565 --- /dev/null +++ b/hooks.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "echo '{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":\"Prefer mcp__plugin_smgrep_smgrep__sem_search over grep/Grep for code search - it finds code by meaning, not just text matching.\"}}'", + "timeout": 10 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..5e23f09 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:can1357/smgrep:plugins/smgrep", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "7e20dea7de97729184a836b3b73e054f300e5675", + "treeHash": "d98a6c0b0782565dcd06c23e9534b85355a69adb019e2d7e1cbaa8453737b8fe", + "generatedAt": "2025-11-28T10:14:29.970979Z", + "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": "smgrep", + "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.", + "version": "0.1.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "8af0d7060f11a6c3cd5babfdc338346b86c8bb2eb692c6ae434abec6f425b9df" + }, + { + "path": "hooks.json", + "sha256": "1615fba55e09453cff7734878b7df394828d1eb4cc08d260b36f911cac1cefde" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "eb1ef5a216ab497f3dc56d8d31d58e10cbe9d0d0a19890f43f48b3dcdf8d4922" + } + ], + "dirSha256": "d98a6c0b0782565dcd06c23e9534b85355a69adb019e2d7e1cbaa8453737b8fe" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file