Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: use correct CC WorktreeCreate input field (#1964)

Maximilian Roos49f090669e81
diff --git a/.claude-plugin/hooks/hooks.json b/.claude-plugin/hooks/hooks.json
index 029730e25..38d33dfe7 100644
--- a/.claude-plugin/hooks/hooks.json
+++ b/.claude-plugin/hooks/hooks.json
@@ -37,7 +37,7 @@
"hooks": [
{
"type": "command",
- "command": "jq -r '.worktree_name // .branch // empty' | xargs -I{} wt switch --create {} --no-cd --format=json | jq -r '.path'"
+ "command": "jq -r '.name' | xargs -I{} wt switch --create {} --no-cd --format=json | jq -r '.path'"
}
]
}