You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P2: Replace the Files pane placeholder with worktree-aware read-only previews #1194
Outcome: open a referenced source file, plan or image next to chat without leaving Solenta.
Evidence:Synara navigation documents file search opening the task's docked file view. Orca viewers documents rich repository previews. Solenta already declares a Files pane but marks it shipped:false in src/paneLayout.ts:55; src/components/ThreadView.tsx:6373 renders placeholders for remaining pane types. src/useCoder.ts:2578 sends workspace paths to the OS through shell.openPath. Inspected at commit 9fc8645a2472e493a94c2e4c4c8a942974bff305.
Smallest scope: read-only Files pane for text, rendered Markdown and common raster images. Route transcript file references, file search and a lazy directory tree to this one surface. Preserve Open externally. Show relative path and owning worktree. Add PDF only after the basic path contract works; defer editing, notebook execution and a complete IDE.
Acceptance:
The same relative path in two worktrees opens the correct content; switching threads drops stale responses.
Resolve paths on the host using existing containment rules, including symlinks, never arbitrary renderer-provided absolute reads.
File reads are async and size capped; large/binary/unsupported files show an explicit fallback.
Read directories on expansion; do not recursively watch/index every worktree at boot.
Render Markdown safely; no scripts in HTML/SVG or unrestricted file:// navigation.
Preserve per-file scroll/selection while switching previews and reload changed content without jumping unexpectedly.
Selected lines can be added to the composer with path and line range, preserving the draft.
Dependencies/dedup: concrete remaining pane from #552; coordinate file lookup with #150 and path resolution with #492. This is not a new command-palette issue and does not replace external-editor launchers.
Gap pass #1532 checked this against main @24d3c36b (v0.24.0). The core Files pane shipped in 1567b53 (#1506): a lazy tree, a root-confined path guard including symlinks (electron/ipc-files.js:126-135), a 1 MB cap with binary detection, Markdown preview, and line ranges added to the prompt.
Still missing, so keeping this open:
File links in chat open the OS or editor, not the Files pane (ThreadView.tsx:1056 goes to onOpenWorkspacePath).
Scroll and selection are not remembered per file.
Files don't reload automatically when they change; there is only a manual tree refresh.
The owning worktree is not shown, and remote projects get no Files pane (FilesPane.tsx:80).
Shipped in 0.24.0: the Files pane (FilesPane.tsx, paneLayout.ts:55shipped: true) has a lazy tree, read-only text/markdown/image preview and line-range chips. Closing in the 2026-10-09 board cleanup (#1532).
Activity
currentbits commentedon Oct 9, 2026
Gap pass #1532 checked this against main @24d3c36b (v0.24.0). The core Files pane shipped in 1567b53 (#1506): a lazy tree, a root-confined path guard including symlinks (
electron/ipc-files.js:126-135), a 1 MB cap with binary detection, Markdown preview, and line ranges added to the prompt.Still missing, so keeping this open:
ThreadView.tsx:1056goes toonOpenWorkspacePath).FilesPane.tsx:80).currentbits commentedon Oct 9, 2026
Shipped in 0.24.0: the Files pane (
FilesPane.tsx,paneLayout.ts:55shipped: true) has a lazy tree, read-only text/markdown/image preview and line-range chips. Closing in the 2026-10-09 board cleanup (#1532).