(err: unknown)
| 13 | |
| 14 | const errText = (err: unknown): string => (err instanceof Error ? err.message : String(err)); |
| 15 | |
| 16 | /** A git worktree on disk — kild's local isolation strategy. `branch` is the full |
| 17 | * `kild/<name>` ref, `path` the deterministic dir under `$KILD_HOME/worktrees`; |
| 18 | * `name` is the kild worktree name (branch minus the `kild/` prefix), undefined for |