feat(workspace): Workspace sidebar for multi-root (opencode#215 AC6) - #459
Draft
Rchari1 wants to merge 2 commits into
Draft
feat(workspace): Workspace sidebar for multi-root (opencode#215 AC6)#459Rchari1 wants to merge 2 commits into
Rchari1 wants to merge 2 commits into
Conversation
Add WorkspaceTreeProvider — renders all workspace folders as collapsible roots, expands recursively via vscode.workspace.fs.readDirectory(), respects files.exclude, shows theme icons via resourceUri, opens files on click, context menus (Copy Path, Reveal), and live-updates via FileSystemWatcher. Replaces amicode.armonia placeholder; Catalog already removed in #457. package.json: rename amicode.armonia → amicode.workspace ("Workspace"), keep runInspector, update activationEvents onView:workspace, add view/item/context for workspace files. Follows opencode#215 decision surface: Location.Ref.directories carries all roots, no external-directory prompts, instructions stacked per dir. Pairs with opencode PR #219 (engine: schema + boundary + env + instruction multi-root + DB).
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Add New File/Folder, Rename, Delete, Copy Path/Relative, Reveal, Open in Terminal to amicode.workspace viewItem context. Ensures AC6 full context-menu coverage; Run Inspector stays as separate webview (amicode.runInspector) not a directory in the tree.
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.
Part of opencode#215 — Workspace-Aware Amicode: Multi-Directory Sessions + Workspace Sidebar
This PR is the amicode extension half (AC6) — stacks on #458 (catalog removal, AC7). Target is
fix/457-remove-catalogso diff is workspace-only; merge order: #458 → this.AC6 — Workspace sidebar (mirrors VS Code Explorer):
workspaceFoldersas collapsible roots, expands recursively viavscode.workspace.fs.readDirectory()resourceUri(file/folder icons from active icon theme)vscode.open)files.exclude(prefix filter) and hides.gitFileSystemWatcher("**/*")package.json:
amicode.armonia → amicode.workspace"Workspace"amicode.runInspectoractivationEvents→onView:amicode.workspacemenus.view/title→amicode.workspaceview/item/contextfor workspace filesPairs with opencode PR #219 (engine: Location.Ref.directories, boundary, env, instruction multi-root, DB). Full 215 closes when both land.