Choose where Agent Actions run, and polish comments and scrolling
Agent actions used to force a choice before you opened anything. Running an action from a task menu started a background run, and watching an agent work meant reaching for a separate Terminal command that knew nothing about the action you had in mind. The Agent Action dialog now carries a Launch in terminal checkbox, unchecked by default, so the decision sits next to the provider, the additional instructions and the isolated-worktree option you were already setting.
Leave the box unchecked and nothing changes: the action runs in the background and reports into Activity exactly as before. Tick it and the same action opens in a Workspace terminal tab instead, running the provider you selected on the action prompt, the task or project context, and any additional instructions you typed. The isolated-worktree choice still applies, so the session opens either in your project checkout or in the freshly prepared worktree. The confirm button changes to Open in terminal so the outcome is clear before you commit to it, and the option only appears on the desktop app, where there is a terminal to open.
Because the launch decision now lives in the dialog, the standalone Terminal entry has been removed from the task card menu. Cancelling the dialog, or a launch that fails because the provider is missing, leaves nothing behind: no background run, no claim on the task, and no abandoned worktree.
Separately, posting a task comment no longer shows the comment twice. Pekan was adding the saved comment to the list and then adding the realtime broadcast of that same comment on top of it, so a duplicate pair appeared until you navigated away and back. Comments are now reconciled by their identifier wherever they are shown, which also keeps things correct when the realtime event arrives before the save completes, when an event is delivered more than once, and when the connection reconnects and replays. A comment from another person still appears exactly once, and a failed post leaves the list untouched so you can retry safely.
Scrollable panes now keep a continuous themed surface where horizontal and vertical scrollbars meet. Chromium previously painted that small corner with its opaque default, which could appear as a bright white square in dark themes, especially in the source-control diff viewer. The corner now follows the surrounding surface in every theme without changing scrollbar behavior, covering content, or interfering with resize handles. A repository check protects all custom scrollbar styles from regressing, and the diff viewer has coverage for simultaneous horizontal and vertical overflow.
Highlights
- Launch in terminal is a checkbox in the Agent Action dialog, unchecked by default.
- The terminal session receives the action prompt, context, provider, instructions and worktree choice.
- The separate Terminal item is gone from the task card menu.
- Posting a comment renders one entry instead of a duplicate pair.
- Dual-axis scrollbar corners now blend into the surrounding themed surface.