fix(codex): reconcile cold connections without resuming queued goals

This commit is contained in:
2026-10-20 18:33:20 +01:00
parent b3bcfa3826
commit d564765ca5
14 changed files with 355 additions and 34 deletions
+2
View File
@@ -105,6 +105,7 @@ const (
ChatEventReasoning = ChatPartReasoning
ChatEventTool = ChatPartTool
ChatEventStep = "step"
ChatEventResync = "resync"
ChatEventUsage = "usage"
ChatEventUser = "user"
// ChatEventShell reports the lifecycle of one shell the agent started. It
@@ -443,6 +444,7 @@ type ChatEventFrame struct {
// ChatStep is a progress marker for the current step of a turn.
type ChatStep struct {
Status string `json:"status"`
TurnID string `json:"turn_id,omitempty"`
Index int `json:"index,omitempty"`
// Intermediate distinguishes a provider step from authoritative turn completion.
Intermediate bool `json:"intermediate,omitempty"`