pub fn run_create() -> Result<()>Expand description
Handle a Claude Code WorktreeCreate hook event.
Reads the JSON payload from stdin, delegates to gw new --emit json --term skip (self-reexec), parses the resulting JSON, and prints only the
worktree_path as a plain-text line to stdout — exactly what Claude Code’s
hook contract expects.
Human-readable progress output from the inner gw new call flows through
to stderr unchanged, so the user can see what’s happening.