Make merge dialog Enter follow the task's offered merge action

This commit is contained in:
Ian Gulliver
2026-10-21 11:59:52 -07:00
parent abe4d7c9d5
commit c7d0a1722a
7 changed files with 240 additions and 198 deletions
+5
View File
@@ -1481,6 +1481,11 @@ components:
parent_task_id: { type: string, description: "The task whose agent created this one as its subtask, or for a stage task its workflow run's task; absent for other tasks." }
merging_into_parent: { type: boolean, description: "Whether a merge of this subtask into its parent was requested and the parent hasn't merged it yet." }
merge_after_review: { type: boolean, description: "Whether a Merge with after_review is waiting for the running review of the latest snapshot to finish." }
ready_merge:
type: string
description: "The merge the agent's standing ready_for_merge offers as the default: complete lands the work and closes the task, continue lands it and keeps the task open. Absent while no ready_for_merge stands. It changes only with a task.ready, task.discard_suggested, task.ready_cleared, snapshot.created or inbox.created event."
enum: [complete, continue]
x-enum-varnames: [ReadyMergeComplete, ReadyMergeContinue]
summary_seq: { type: integer, format: int64, description: "The seq of the task's latest turn.ended event with summary: true; 0 when it has none." }
merge_facts: { $ref: "#/components/schemas/MergeFacts" }