[PR #13628] feat(app): sync server projects into web client list #14745

Open
opened 2026-02-16 18:19:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13628

State: open
Merged: No


What does this PR do?

Hydrate the projects list from the server so newly opened clients show existing projects without manual adds, each client stores its own hidden projects array as there is no way to delete projects on api. basically its now opt out of projects instead of opt in by adding path.

Also had to add worktree path normalisation, because windows paths are weird and projects kept duplicating as we check worktree paths in the seen set

How did you verify your code works?

Tested locally by opening a new client and verifying that the projects show up.

fixes #13626

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13628 **State:** open **Merged:** No --- ### What does this PR do? Hydrate the projects list from the server so newly opened clients show existing projects without manual adds, each client stores its own hidden projects array as there is no way to delete projects on api. basically its now opt out of projects instead of opt in by adding path. Also had to add worktree path normalisation, because windows paths are weird and projects kept duplicating as we check worktree paths in the seen set ### How did you verify your code works? Tested locally by opening a new client and verifying that the projects show up. fixes #13626
yindo added the pull-request label 2026-02-16 18:19:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14745