Files
Agent-System/web/src/lib/recheckAck.ts
T
weichenandCursor 3a4c00a1ba feat(web): show the trace panel and the recheck acknowledgement
The acknowledgement stays visible on the advance bar and does not clear the mark.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 15:35:07 +00:00

10 lines
364 B
TypeScript

export function recheckAckRequired(readiness: { requires_recheck_ack?: boolean } | null): boolean {
return readiness?.requires_recheck_ack === true;
}
export function canSubmitAdvance(canAdvance: boolean, ackRequired: boolean, acknowledged: boolean): boolean {
if (!canAdvance) return false;
if (ackRequired && !acknowledged) return false;
return true;
}