Add shared live run graphs, debugging, editor choice and draft cleanup

This commit is contained in:
2026-10-09 19:17:43 +01:00
parent 9b8afc874f
commit 0f80ff4e95
33 changed files with 1162 additions and 72 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func TestRetryResponseClearsPendingRequestAndAllowsAnotherFailedAttempt(t *testi
m.runOpen = true
m.keys.runs = true
m.runStartRequest = "run-2"
run := &protocol.RunDetail{RunSummary: protocol.RunSummary{ID: 3, Status: "failed"}, RetryOf: 1, Input: map[string]any{"prompt": "task", "pwd": "/project"}}
run := &protocol.RunDetail{RunSummary: protocol.RunSummary{ID: 3, Status: "failed", FinishedAt: "2026-10-09T00:00:00Z"}, RetryOf: 1, Input: map[string]any{"prompt": "task", "pwd": "/project"}}
updated, _ := m.Update(receivedMsg(protocol.Message{Type: protocol.RunStarted, ID: "run-2", RunDetail: run}))
m = updated.(Model)
if m.runDetail != run || m.requestedRunID != 3 || m.runStartRequest != "" || m.selectedFailedRun() != 3 {