export function buildWorkspaceReadyComment(input) {
    const lines = ["## Workspace Ready", ""];
    lines.push(`- Strategy: \`${input.workspace.strategy}\``);
    if (input.workspace.branchName)
        lines.push(`- Branch: \`${input.workspace.branchName}\``);
    lines.push(`- CWD: \`${input.workspace.cwd}\``);
    if (input.workspace.worktreePath && input.workspace.worktreePath !== input.workspace.cwd) {
        lines.push(`- Worktree: \`${input.workspace.worktreePath}\``);
    }
    for (const service of input.runtimeServices) {
        const detail = service.url ? `${service.serviceName}: ${service.url}` : `${service.serviceName}: running`;
        const suffix = service.reused ? " (reused)" : "";
        lines.push(`- Service: ${detail}${suffix}`);
    }
    return lines.join("\n");
}
//# sourceMappingURL=workspace-runtime.comments.js.map