commit edd93955ea627351c703a8de018045747dfe5c01 Author: Zhongwei Li Date: Sat Nov 29 18:17:20 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..f2c95d2 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "gemini-search", + "description": "Advanced web search plugin with caching, analytics, content extraction, and validation", + "version": "0.1.3", + "author": { + "name": "d-oit" + }, + "hooks": [ + "./hooks/hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e5bd7fa --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# gemini-search + +Advanced web search plugin with caching, analytics, content extraction, and validation diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..2564858 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,37 @@ +{ + "hooks": { + "PreToolUse": [ + { + "matcher": "search|Search", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-search.sh" + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "search|Search", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/error-search.sh" + } + ] + } + ], + "UserPromptSubmit": [ + { + "matcher": "/search|/search-stats|/clear-cache", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-search.sh" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..ca70094 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:d-oit/gemini-search-plugin:", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "27c8d072f34f84ded2d896c27c8bdd11115b9a0a", + "treeHash": "bb06337a65603425a951d020492eaa39877879cff61376a41feaf004acdc493f", + "generatedAt": "2025-11-28T10:16:00.366522Z", + "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": "gemini-search", + "description": "Advanced web search plugin with caching, analytics, content extraction, and validation", + "version": "0.1.3" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "e1ce677393ed9835121ca0e6590c75eb5767ebf8fd58f6ecb597f6a0c9cd6e26" + }, + { + "path": "hooks/hooks.json", + "sha256": "3fc76af99ff3ac013a0fde31cc1e30bfe8d243fb2983a9e9fc963ed371c2ec82" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "cf92b86a91aa5c92513652c4ba6456f9ee99b423c09149fc936766a320274a85" + } + ], + "dirSha256": "bb06337a65603425a951d020492eaa39877879cff61376a41feaf004acdc493f" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file