mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
The file service scoped each request to a cwd the client chose, so any client, including a scoped one, could name $PASEO_HOME (or `/`) as its cwd and read local-credential, daemon-keypair.json, config.json, and host links, or edit them. Every file RPC (read, stream, list, watch, write, create, rename, duplicate, delete, download token) and directory suggestions now refuse paths that resolve into $PASEO_HOME after `..` and symlinks resolve. Inside it, the managed worktrees root, uploads/, paseo-attachments/, and desktop-attachments/ stay readable: worktrees live there by default, and the app reads pasted uploads and assistant images back through the same file read path.