feat(web): add file explorer with tree view, editor, and chat integration#2
Open
leciric-stf wants to merge 13 commits into
Open
feat(web): add file explorer with tree view, editor, and chat integration#2leciric-stf wants to merge 13 commits into
leciric-stf wants to merge 13 commits into
Conversation
Implement server-side file explorer operations (readFile, listDirectory, rename, delete, createDirectory, gitFileStatus) as an Effect service following existing WorkspaceFileSystem patterns. Wire all six new RPC handlers in ws.ts and compose the layer in server.ts.
- Wire files panel as toggleable right panel (Mod+E) with header button - Add getWorkingTreeDiff to checkpoint system for uncommitted edits - Fix WorkspacePaths to resolve "." as valid workspace root - Polish editor: word wrap toggle, middle-click tab close, scroll-into-view - Replace resizable-panels with CSS layout, add error/retry state to tree - Memoize FileTreeNode, restyle borders and backgrounds
Collaborator
luisflorido-stf
approved these changes
Apr 24, 2026
- Delete .superpowers/brainstorm session files (HTML mockup, server state) - Delete docs/superpowers/plans/2026-04-23-file-explorer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
?panel=files|diff) replacing the old?diff=1parametergit status --porcelainintegration, exposed via WebSocket RPCMod+E) to toggle the panel@file:L<start>-L<end>line-range references and wire "Mention in Chat" actions from the file explorer context menu into the composerdiffCheckpointToWorkTree) to show uncommitted changes relative to the latest checkpointRightPanel+RightPanelTabBarfrom the existingDiffPanelInlineSidebar, unifying the diff and file explorer into a single tabbed container with preserved state across tab switchesTesting
@fileor@file:L1-L10reference into the composerMod+Etoggles the file explorer panel andMod+Dstill toggles the diff panel?panel=filesand?panel=diffwhen switching tabspanelRouteSearch.test.ts,composer-editor-mentions.test.ts,WorkspacePaths.test.ts, andfilesystem.test.tspass