(_evt, ws)
| 196 | function kildResultStatus(result: Extract<CommandResult<unknown>, { ok: false }>): 404 | 409 { |
| 197 | return result.code === 'not_found' ? 404 : 409; |
| 198 | } |
| 199 | |
| 200 | const worktreesInUse = (): Set<string> => |
| 201 | new Set( |
| 202 | agentManager |
| 203 | .list() |