Files
paseo/packages/server/src
hissincn e92f084727 fix(server): skip home directory in workspace prefix matching
When resolving a workspace for a given cwd, the prefix matching loop
would match the user's home directory (~) as a prefix for any path
under it. This caused new projects created under the home directory
to be incorrectly associated with the home workspace instead of
getting their own independent workspace.

Added a check to skip the home directory (homedir()) during prefix
matching. Exact matches for the home directory still work fine.

Fixes #BUG

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 13:54:55 +08:00
..