Show one directory at a time and let the app load each directory

The browser no longer takes a nested tree. The app sets path and the
current directory's entries; selecting a directory or .. emits
octopus:navigate with the requested path for the app to load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-23 18:11:53 -07:00
co-authored by Claude Opus 5.5
parent 05db10911a
commit 13e2654415
7 changed files with 42 additions and 51 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { defineConfig } from 'vite';
const VIRTUAL_ID = 'virtual:octopus-repo-tree';
const RESOLVED_ID = `\0${VIRTUAL_ID}`;
const ignored = new Set(['.git', 'demo', 'dist', 'node_modules']);
const ignored = new Set(['.claude', '.git', '.npmrc', 'demo', 'dist', 'node_modules']);
function scan(directory) {
return readdirSync(directory, { withFileTypes: true })