pub fn spawn_in_worktree(
worktree_path: &Path,
prompt: Option<&str>,
opts: &LaunchOptions<'_>,
) -> Result<()>Expand description
Launch the configured AI tool inside an existing worktree.
Used by both gw new (after worktree creation) and gw spawn. Honors the
resolved launch method (CLI override > env > config > default).