Skip to content

Commit 231ceda

Browse files
committed
feat: add first-class Hawk integration
Hawk (GrayCodeAI/hawk) is now the primary featured agent. Setup: yaad setup hawk → hawk mcp add yaad -- yaad mcp Hawk listed first in README agent table and CLI help.
1 parent b18f71e commit 231ceda

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727

2828
<div align="center">
2929

30+
**GrayCodeAI**
31+
32+
| Agent | Integration | Setup |
33+
|:---:|:---:|:---:|
34+
| 🦅 **Hawk** | MCP | `yaad setup hawk` |
35+
3036
**Big-Lab Native**
3137

3238
| Agent | Integration | Setup |
@@ -259,6 +265,7 @@ yaad link <id1> <id2> led_to yaad subgraph <id>
259265
yaad impact src/auth.ts yaad tui
260266

261267
# Agent setup
268+
yaad setup hawk # ← GrayCodeAI's own CLI
262269
yaad setup claude-code yaad setup cursor
263270
yaad setup gemini-cli yaad setup opencode
264271
yaad setup codex-cli yaad setup cline

cmd/yaad/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ var setupCmd = &cobra.Command{
481481
Long: `Generate MCP/REST config for your coding agent.
482482
483483
Supported agents:
484+
GrayCodeAI: hawk
484485
Big-lab: claude-code, codex-cli, gemini-cli, copilot-cli, qwen-code, mistral-vibe, kiro
485486
IDE/Startup: cursor, windsurf, amp, droid, warp, augment
486487
Open source: opencode, cline, goose, roo-code, kilo, crush, hermes, aider

internal/agentconfig/generator.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ const (
2121
AgentMistralVibe Agent = "mistral-vibe"
2222
AgentKiro Agent = "kiro"
2323

24+
// GrayCodeAI
25+
AgentHawk Agent = "hawk"
26+
2427
// IDE / startup
2528
AgentCursor Agent = "cursor"
2629
AgentWindsurf Agent = "windsurf"
@@ -63,6 +66,8 @@ func Generate(agent Agent, projectDir string) error {
6366
return generateOpenCode(projectDir)
6467
case AgentCodexCLI:
6568
return generateCodexCLI(projectDir)
69+
case AgentHawk:
70+
return generateHawk(projectDir)
6671
case AgentCline, AgentWindsurf, AgentGoose, AgentRooCode, AgentKilo, AgentCrush,
6772
AgentHermes, AgentAmp, AgentDroid, AgentWarp, AgentAugment,
6873
AgentCopilotCLI, AgentQwenCode, AgentMistralVibe, AgentKiro:
@@ -116,6 +121,15 @@ func generateGeminiCLI(_ string) error {
116121
return nil
117122
}
118123

124+
func generateHawk(_ string) error {
125+
fmt.Println("Run: hawk mcp add yaad -- yaad mcp")
126+
fmt.Println("")
127+
fmt.Println("Or add to ~/.hawk/mcp.json:")
128+
b, _ := json.MarshalIndent(mcpConfig, "", " ")
129+
fmt.Println(string(b))
130+
return nil
131+
}
132+
119133
func generateOpenCode(dir string) error {
120134
cfg := map[string]any{
121135
"mcp": map[string]any{

0 commit comments

Comments
 (0)