Skip to content

Connect filesystem events to file tree via typed IPC; wire Git palette actions (#8) - #16

Merged
tanRdev merged 4 commits into
mainfrom
feat/issue-8-fs-git
Nov 10, 2026
Merged

tanRdev merged 4 commits into
mainfrom
feat/issue-8-fs-git

Conversation

@tanRdev

@tanRdev tanRdev commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Closes #8.

Checkbox 1 (fallback search) was already done by PR #13. This PR completes the remaining two:

  • Filesystem events -> file tree (typed IPC): new fs:watch / fs:unwatch / fs:changed contracts with schemas; a main-process recursive node:fs.watch service (per-sender, shared per root, create/modify/delete classification, teardown on unwatch/sender destroy); a preload createFsApi; and FileTreePanel now feeds the event stream into useFileTree, so nested external edits refresh the tree live. The renderer scaffolding for this existed but was dead code.
  • Git command palette: git-palette-bridge binds the palette actions to the real WorkspaceGitController (stage-all, unstage-all, pull, push, commit-or-surface-composer, show-diff-surfaces panel). The palette events previously had no listener.

Verification: 89 targeted tests passed; broader sweep 102 files / 761 tests passed; contracts 82/82; import and file-size checks pass; typecheck exit 0; biome clean. Known limit: Show Diff surfaces the panel without preselecting a file's diff (no controller API exists for that yet).

@tanRdev
tanRdev merged commit cb132ab into main Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P1: Complete workspace file updates, search, and Git actions

1 participant