@@ -64,23 +64,12 @@ export function TaskLogsPanel({ taskId, task }: TaskLogsPanelProps) {
6464 const prUrl =
6565 isCloud && cloudOutput ?. pr_url ? ( cloudOutput . pr_url as string ) : null ;
6666
67- < < << << < ours
68- const isRunning = session ?.status = = = "connected" ;
69- const hasError = session ?. status === "error" ;
70- const errorTitle = session ?. errorTitle ;
71- const errorMessage = session ?. errorMessage ;
72- | || || || ancestor
73- const isRunning =
74- session ?. status === "connected" || session ?. status === "connecting" ;
75- const hasError = session ?. status === "error" ;
76- const errorMessage = session ?. errorMessage ;
77- = === ===
7867 const isRunning = isCloud
7968 ? isCloudRunNotTerminal
80- : session ?. status === "connected" || session ?. status === "connecting" ;
69+ : session ?. status === "connected" ;
8170 const hasError = isCloud ? false : session ?. status === "error" ;
71+ const errorTitle = isCloud ? undefined : session ?. errorTitle ;
8272 const errorMessage = isCloud ? undefined : session ?. errorMessage ;
83- > >>> >>> theirs
8473
8574 const events = session ?. events ?? [ ] ;
8675 const isPromptPending = session ?. isPromptPending ?? false ;
@@ -333,38 +322,18 @@ export function TaskLogsPanel({ taskId, task }: TaskLogsPanelProps) {
333322 < SessionView
334323 events = { events }
335324 taskId = { taskId }
336- < << << << ours
337- isRunning = { isCloud ? false : isRunning }
338- isPromptPending = { isCloud ? false : isPromptPending }
339- promptStartedAt = { isCloud ? undefined : promptStartedAt }
340- | || || || ancestor
341- isRunning = { isCloud ? false : isRunning }
342- isPromptPending = { isCloud ? false : isPromptPending }
343- = === ===
344325 isRunning = { isRunning }
345326 isPromptPending = { isPromptPending }
346- > >>> >>> theirs
327+ promptStartedAt = { promptStartedAt }
347328 onSendPrompt = { handleSendPrompt }
348329 onBashCommand = { isCloud ? undefined : handleBashCommand }
349330 onCancelPrompt = { handleCancelPrompt }
350331 repoPath = { repoPath }
351- < < << << < ours
352- hasError = { isCloud ? false : hasError }
353- errorTitle = { isCloud ? undefined : errorTitle }
354- errorMessage = { isCloud ? undefined : errorMessage }
355- onRetry = { handleRetry }
356- onNewSession = { handleNewSession }
357- | || || || ancestor
358- hasError = { isCloud ? false : hasError }
359- errorMessage = { isCloud ? undefined : errorMessage }
360- onRetry = { handleRetry }
361- onDelete = { handleDelete }
362- = === ===
363332 hasError = { hasError }
333+ errorTitle = { errorTitle }
364334 errorMessage = { errorMessage }
365335 onRetry = { isCloud ? undefined : handleRetry }
366- onDelete = { handleDelete }
367- > >>> >>> theirs
336+ onNewSession = { isCloud ? undefined : handleNewSession }
368337 isInitializing = { isInitializing }
369338 readOnlyMessage = {
370339 isCloudRunTerminal ? "This cloud run has finished" : undefined
0 commit comments