Skip to content

Commit 2b65f4c

Browse files
committed
refactor(plugin): restructure claude-plugin with proper .claude-plugin directory
Restructure the Claude Code plugin to follow the official plugin manifest structure with plugin.json in .claude-plugin/ subdirectory and hooks.json in hooks/ subdirectory. Changes: - Add .claude-plugin/plugin.json manifest with name, version, and hooks path - Move hooks.json to hooks/hooks.json subdirectory - Update README installation instructions for correct plugin directory path
1 parent c9a1240 commit 2b65f4c

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "recursor-bridge",
3+
"version": "0.1.0",
4+
"description": "Forwards Claude Code hook events to the ReCursor bridge CLI.",
5+
"hooks": "./hooks/hooks.json"
6+
}

packages/claude-plugin/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ Forwards Claude Code events to the ReCursor bridge server for mobile consumption
44

55
## Installation
66

7-
Copy this plugin to your Claude Code plugins directory:
7+
Copy this plugin into the standard Claude plugin directory structure:
88

99
```bash
10-
mkdir -p ~/.claude-code/plugins/recursor-bridge
11-
cp hooks.json ~/.claude-code/plugins/recursor-bridge/hooks.json
10+
mkdir -p ~/.claude/plugins/recursor-bridge/.claude-plugin
11+
mkdir -p ~/.claude/plugins/recursor-bridge/hooks
12+
cp .claude-plugin/plugin.json ~/.claude/plugins/recursor-bridge/.claude-plugin/plugin.json
13+
cp hooks/hooks.json ~/.claude/plugins/recursor-bridge/hooks/hooks.json
14+
cp README.md ~/.claude/plugins/recursor-bridge/README.md
1215
```
1316

1417
## Configuration

0 commit comments

Comments
 (0)