add control buttons to debugger; change 'cede control' text (#3226)

This commit is contained in:
Jonathan Dobson
2025-08-18 20:15:22 -04:00
committed by GitHub
parent adee311e6a
commit a6141d1786
2 changed files with 3 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ function BrowserStream({
size="sm"
>
<ExitIcon className="mr-2 h-4 w-4" />
cede control
stop controlling
</Button>
</div>
)}

View File

@@ -565,8 +565,9 @@ function Workspace({
activeDebugSession.browser_session_id &&
!cycleBrowser.isPending ? (
<BrowserStream
interactive={interactor === "human"}
interactive={false}
browserSessionId={activeDebugSession.browser_session_id}
showControlButtons={true}
/>
) : (
<div className="flex h-full w-full flex-col items-center justify-center gap-2 pb-2 pt-4 text-sm text-slate-400">