## Why
Hiding the sidebar through keyboard navigation leaves no visible control
for reopening it.
## What changed
Click `›` in the sidebar tab strip to hide the sidebar and return focus
to the parent conversation. Click `‹` above the main transcript to
restore the previous sidebar content. The restore control also appears
when the terminal is too narrow to show the sidebar alongside the main
conversation.
## Testing
Cover hiding and restoring side chats and document previews with the
mouse, including reopening a side chat at narrow terminal widths and
preserving the parent conversation's reading position.
GitOrigin-RevId: 1f0f893b736b61c109e0761abbe3bde3d388e1b6
## Why
The sidebar can stay visible while the conversation has keyboard focus.
Showing sidebar shortcuts in that state makes keys such as `Esc` look
like they act on the sidebar even when the conversation receives them.
## What changed
Hide keyboard hints in unfocused panes and show the configured shortcut
for focusing the sidebar when it is available. Keep mouse controls
clickable, including the file path view's Back button when its keyboard
binding is disabled. An unmodified left click in the file path body
focuses the sidebar.
Use configured pager bindings for reading and search hints. Watch-only
agent transcripts use single-key pager bindings because they handle
pager keys directly.
## Testing
Add coverage for file path focus and mouse controls, hint placement and
click targets in narrow panes, and pager hints in watch-only transcripts.
GitOrigin-RevId: 3d9375d957789c9f71f6e45f919f815713536622
## Why
The sidebar file chooser can show and copy paths, but an open preview
has no equivalent shortcuts. The full path is especially useful when
a file fails to load and the user needs to locate it.
## What changed
Press `p` to show the full path in a scrollable view or `c` to copy
it from a sidebar preview, including when the file fails to load.
The preview reports clipboard status and can reveal the path when
copying fails or cannot be confirmed. `Esc` dismisses the path view
and returns to the preview.
Wrap long paths at directory separators where possible in both the
preview and file chooser, and let preview footer hints wrap across
two rows when space permits.
## Testing
Cover path reveal for a missing file, remapped list shortcuts in the
path view, and footer hints when a pager binding takes precedence.
GitOrigin-RevId: 480636c91a7bd7b0eb0b814dac62ce8ec9a6d783
## Why
Closing a sidebar tab with the mouse requires hitting a single terminal cell.
## What changed
Make the `×` and the cell on either side a three-column close target that
highlights as a unit on hover. Use spare space to widen tabs where possible
while preserving the number of visible tabs.
## Testing
Extend the side-chat interaction test to check hover styling across the
close target and verify that clicking either adjacent cell closes the tab.
Update snapshots for the new spacing and label truncation.
GitOrigin-RevId: f097eee9d613a09c511fa14f1af160c7416fe3aa
## What changed
Press `m` in transcript selection mode to mark the Markdown block at the cursor. Move between sibling blocks with `h` and `l`, or extend the selection with `j` and `k`. Use `Tab` to expand to an enclosing block or heading section and `Shift+Tab` to shrink the selection.
Copy with `y` to retain Markdown structure, including list markers, code fence languages, and table formatting. For example, you can copy a fenced code block on its own from inside a blockquote.
## Testing
Add coverage for wrapped blocks, nested lists and sections, table selection, copying from the displayed revision during streaming, and conflicts with customized keybindings.
GitOrigin-RevId: 5d4d873c0e378294128c128f472e4dae122831c6
## Why
Sidebar previews load a snapshot of the file when opened, so edits on disk
leave the open tab showing stale content.
## What changed
Watch each previewed file’s parent directory through the app server so the
preview refreshes even when an editor saves by atomically replacing the file.
Poll every three seconds when a watch cannot be registered, and resubscribe
when reconnecting to the same backend.
Preserve the text preview’s reading position across reloads, including when
the file temporarily becomes unreadable and then returns.
## Testing
The sidebar test covers atomic saves and recovery after moving a directory
away and back. It checks that the tab shows updated content at the existing
reading position.
GitOrigin-RevId: d5f7507d1a81a118fb10a0febf5e274c18f19d81
## Why
When a file preview fails, the generic error can leave users guessing
which file failed, especially when the sidebar truncates the tab label.
## What changed
Show the filename and directory in the failed preview. Give users
specific guidance for missing files and permission errors, and retain
the error details for other failures. If the file link cannot be
resolved, include the original path in the chat error.
Preserve typed filesystem RPC errors so the preview can classify
failures from `fs/readFile`, and strip the server's diagnostic payload
before the errors can reach TUI logs.
## Testing
Cover narrow-pane error rendering, missing-file and permission error
classification, unresolved links, and diagnostic payload removal for
remote file reads.
GitOrigin-RevId: 1db35c831bb112d67e8c0171a85a20d02cc15a08
## What changed
- List conversation files alongside side chats and open selected files in the sidebar without jumping to a referenced line.
- Show filenames with directory context and add a scrollable full-path view through `p` or the footer action. Show why file previews are unavailable on unsupported hosts.
- Support mouse-wheel scrolling independently of selection, keyboard paging, and hover highlighting. Preserve the selected file as the inventory changes.
- Activate sidebar rows, tabs, and footer actions only after a matching mouse press and release, rejecting drags and stale targets.
## Testing
Add coverage for grouped file rendering, full-path scrolling, selection preservation, and chooser scrolling and keyboard navigation. Update sidebar interaction tests and snapshots.
GitOrigin-RevId: aa402b928c09732df4f9a5c982691b97aadb00ca
## What changed
- Open PNG, JPEG, GIF, and WebP file links as sidebar image previews, fitted to the available space with format and dimension labels. Show a fallback when terminal graphics are unavailable, and preserve text previews for files such as Git LFS pointers.
- In the owned transcript, place completed, saved image results after the assistant's answer, with larger, left-aligned previews and a clickable `Generated image` label. Preserve this ordering during replay and history pagination, including interrupted turns.
- Reuse native Kitty image IDs and move existing placements without retransmitting their pixels. Probe Kitty graphics support in `herdr` before enabling previews.
## Testing
Add regression coverage for sidebar preview fallbacks, generated-image ordering, pagination and search, preview layout, Kitty placement reuse, and graphics probe replies interleaved with pasted input.
GitOrigin-RevId: 22d8aa2724f17bfa7f8280a2d11d4a7e2cb66728
## What changed
- Extend sidebar previews beyond Markdown to source files, including extensionless files. Preserve line and column targets such as `./Makefile#L12C3`, scroll to the target, and highlight its line and character.
- Render source previews with syntax highlighting and line numbers when space permits. Keep plain Markdown links rendered as Markdown, and show source when a location is specified.
- Show local link labels without appended destinations when workspace previews are available, and emphasize links on hover. Refresh rendering when preview availability changes.
- Limit source previews to 1 MiB and 10,000 lines, and disable document previews for Windows workspaces.
## Testing
Add coverage for extensionless link parsing, matching hover and click targets, streamed file citation metadata, and source navigation with CRLF input, tab reuse, and Escape handling.
GitOrigin-RevId: c2629b122628a4f5afa17df1890f63bd1c9bbcf6
## What changed
- Enable search, keyboard and mouse selection, and Markdown copying in sidebar document previews, including copying while offline.
- Navigate links with `Tab` and `Shift+Tab`, then open them with `Enter`. Open web links in the browser and resolve file links relative to the current document.
- Render local Markdown links as interactive labels and preserve distinct link occurrences across wrapping.
- Add document zoom, scroll indicators, and contextual footer hints. Disambiguate document tabs with matching filenames, including when titles are truncated.
- Cancel pending PRIMARY selection publication when a document is hidden and preserve the intended destination for composer clipboard pastes.
## Testing
Extend document preview coverage for search, selection, offline copying, link activation, hidden PRIMARY selections, and duplicate tab titles. Add rendering tests for local link labels and navigation across wrapped links.
GitOrigin-RevId: 80240fa580eed9dda971759afc49bc2bb909fcb5
## What changed
- Open transcript file links in sidebar tabs when the TUI workspace is enabled, resolving and reading files through the focused thread's app server and rendering their contents as Markdown.
- Support pager keys, mouse scrolling, switching between document and chat tabs, and closing previews with `Esc`. Reuse existing previews and allow failed opens to be retried.
- Show loading and error states, and prevent late document results from taking focus back after the user switches views.
- Adapt tab widths to the available space, preserve filename extensions in truncated labels, and keep divider dragging aligned to exact terminal columns.
## Testing
Add coverage for workspace-gated link opening, loading and error states, retrying, custom pager bindings, multiple previews, tab reuse, closing during loading, and preserving focus when results arrive late. Update tab and divider assertions and snapshots.
GitOrigin-RevId: e979b757c623c29a8ed50277ec929655d783ad18