feat: sync Go Cline hook integration
This commit is contained in:
1 parent
008999a0c1
commit
8da7dbb524
11 files changed
+1318
-8
No files matched your search
@@ -12,6 +12,7 @@ var SupportedAgents = map[string]AgentRegistryEntry{
|
||||
"augment": {Name: "Augment Code CLI", ConfigDir: "~/.augment", ConfigFile: "settings.json"},
|
||||
"claudecode": {Name: "Claude Code", ConfigDir: "~/.claude", ConfigFile: "settings.json"},
|
||||
"codex": {Name: "OpenAI Codex", ConfigDir: "~/.codex", ConfigFile: "hooks.json"},
|
||||
"cline": {Name: "Cline", ConfigDir: "~/.cline/hooks", ConfigFile: "PreToolUse.mjs"},
|
||||
"cursor": {Name: "Cursor", ConfigDir: "~/.cursor", ConfigFile: "hooks.json"},
|
||||
"gemini": {Name: "Gemini CLI", ConfigDir: "~/.gemini", ConfigFile: "settings.json"},
|
||||
"grok": {Name: "Grok Build", ConfigDir: "~/.grok/hooks", ConfigFile: "elydora-audit.json"},
|
||||
@@ -33,6 +34,8 @@ func NewPlugin(agentName string) AgentPlugin {
|
||||
return &ClaudeCodePlugin{}
|
||||
case "codex":
|
||||
return &CodexPlugin{}
|
||||
case "cline":
|
||||
return &ClinePlugin{}
|
||||
case "cursor":
|
||||
return &CursorPlugin{}
|
||||
case "gemini":
|
||||
|
||||
Reference in new issue
Block a user