Skip to content

protondrive 0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:24
· 12 commits to master since this release

Added

  • MCP server for AI assistants. protondrive mcp lets AI clients such as Claude Code, Claude Desktop or Cursor
    use Proton Drive through the Model Context Protocol. It runs over stdin and stdout only and never listens on the
    network. Its tools list folders, show details, read small text files, download and upload (only within the folder
    given with --local-dir), create folders, move, rename and move items to the trash, with the same rules as the
    commands: nothing is overwritten and nothing is deleted permanently. --read-only, --root <path> and
    --no-content limit what it can see and do. Contents that a tool returns reach the AI client, and with a cloud
    model its provider; see the README.

Changed

  • download creates no local folders until it has listed everything. Before, the folders were created while
    listing Proton Drive, so a listing that failed partway left empty folders behind.
  • delete reports every missing path at once. Like move, it lists all the paths that do not exist, then
    Nothing deleted., instead of stopping at the first one.
  • move and rename report every missing source at once. Before, the first missing path stopped the command
    with only that error; now all of them are listed, followed by Nothing was moved., like the other problems that
    are checked before anything moves. The rules themselves are unchanged: nothing is overwritten, and nothing moves
    unless every item can.
  • move and rename print the sync notes after the moved items. The notes about synced folders now follow the
    Moved ... lines instead of coming first.
  • download no longer prints Scanning <folder> .... The status line shows the listing while it runs.

Fixed

  • "Needs attention" messages can no longer control your terminal. The summary printed when you open a terminal,
    and the PROTONDRIVE-SYNC-NEEDS-ATTENTION.txt notice in a synced folder, now show control characters as visible
    escapes (such as \x1B), like the rest of protondrive's output. Before, an error message containing them was
    printed as is. Found in the security review; not judged exploitable.
  • upload and sync no longer hang on a named pipe (FIFO), socket or device. .NET shows these as ordinary
    files, so they were treated as files to upload, and reading a FIFO blocks forever: upload would hang, and
    sync --watch would stop syncing. Now the kernel is asked for the real file type. upload skips them (and refuses
    one given as the path to upload), the sync leaves them alone on both sides, and both check again just before
    reading a file.
  • delete no longer counts an item as done when Proton Drive gives no answer for it. Such an item is now
    reported as failed, and with --permanent it is not deleted from the trash.
  • sync remove no longer fails for a folder that was never synced. Removing a folder before its first sync
    stopped with "Could not find a part of the path" after it had already been removed from the settings.
  • sync add checks for overlapping folders again while saving. Two sync add commands run at the same time could
    both add folders that overlap. It also no longer treats a folder whose name starts with .. (such as ..data) as
    outside its parent.

Full list of changes: v0.2.13...v0.3.0


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.