Repository navigation
Releases
protondrive 0.4.3
Added
- Listed in the MCP Registry. The MCP server is published to the
MCP Registry asio.github.NSky/protondrive, so AI clients that browse
the registry can find it and set it up. Each release updates the listing.
Changed
protondrive mcptakes--option=valuetoo. Every option with a value also accepts it joined with=
(--local-dir=/home/you/ProtonDrive-AI), the form clients build from the registry's description of the server.
Full list of changes: v0.4.2...v0.4.3
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.4.2
Added
- Background sync on macOS.
protondrive service enable [--timer],disableandstatusnow work on macOS
with launchd: a launch agent of your own (~/Library/LaunchAgents/io.github.nsky.protondrive.sync.plist) starts
at login and syncs continuously (or every 15 minutes with--timer) while you are logged in, with no
administrator rights. It restarts the sync the same way as on Linux and Windows, and stops for good when the
Proton session has ended. Its log is~/Library/Application Support/protondrive/state/logs/sync.log. Problems that
need attention show as macOS notifications. A synced folder in Documents, Desktop, Downloads or iCloud Drive needs
Full Disk Access for protondrive, whichservice enableandservice statuspoint out.
Changed
- The saved login is encrypted on macOS by default. A new login on macOS is saved as
session.cred, encrypted
with AES-256-GCM under a random key kept in your login keychain, so a copy of the file is useless without your
keychain. A login saved as a plain file before stays plain until you runprotondrive session encrypt;session statusshows which it is. Over SSH, with no one logged in to the Mac, the keychain is usually locked: log in to
the Mac first, or runsecurity unlock-keychain. - Background sync picks up added and removed folders by itself.
sync --watch, and so background sync in watch
mode, now checks the synced folders every 5 seconds: a folder added withsync addstarts syncing at once, and one
removed withsync removestops, with no need to restart it or runservice enableagain. Background sync that
starts with no folders yet waits for the first one instead of failing.
Security
- System programs are started from their full path. On Windows,
service enable,disableandstatusran
schtasks.exeby name, so aschtasks.exein the current folder would have run instead; on macOS the browser
sign-in foundopenthroughPATH. Both now come from the system folder. The security review
(docs/SECURITY-REVIEW.md) is updated for 0.4.2: browser sign-in, Windows and macOS, npm.
Full list of changes: v0.4.1...v0.4.2
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.4.1
Added
-
Sign in through the browser.
protondrive login --browseropens Proton's own sign-in page (or prints its
address, to open on any device, also over SSH) and waits up to 10 minutes. Your password, 2FA code and mailbox
password are typed only on Proton's page, never into protondrive; it receives the new session and the key
password encrypted for it alone. The library offers the same asProtonDriveAccount.LoginInBrowserAsync. -
Background sync on Windows.
protondrive service enable [--timer],disableandstatusnow work on
Windows with Task Scheduler: a task of your own starts at logon and syncs continuously (or every 15 minutes with
--timer) while you are logged on, with no window and no administrator rights. Its output goes to
%LOCALAPPDATA%\protondrive\state\logs\sync.log, kept to two files of 5 MB, andservice statusshows the
last lines. As with systemd, a sync that fails is restarted after a minute, a newly installed version is started at
once, and an ended Proton session stops it for good instead of restarting it in a loop: runprotondrive login,
thenservice enableagain.disableasks the running sync to finish its current step before it stops.
Changed
-
session decryptwarns and asks first. It shows in red that a plain session file lets anyone with a copy use
your account without your password or two-factor code, then asks[y/N].-yor--yesskips the question,
and is needed without a terminal. Nothing is asked when the session is not encrypted. -
Clearer
sync addhelp. It now readssync add <local-folder> <drive-folder>, says the Proton Drive folder
always uses/, and gives an example for Linux and macOS (~/Proton /Backup/Laptop) and for Windows
(C:\Users\you\Proton /Backup/Laptop).
Fixed
-
Windows: output lines no longer end with
\x0D. The filter that keeps file names from controlling the
terminal showed the carriage return of every Windows line break as a visible escape. It now keeps a line break
(CR LF) as it is, and still shows a lone carriage return, which could overwrite the line, as\x0D. -
Windows: colors, symbols and the live status line in cmd, PowerShell and Windows Terminal. protondrive now
turns on the console's color codes itself and writes UTF-8, so⇄no longer shows as?, and puts the console
back as it was when it exits. A classic console window (cmd or PowerShell in their own window), whose fonts lack
some symbols, gets ASCII:<->for⇄,...for…, and a|/-\spinner. Dim text there is gray, since it
has no faint text. -
Help headings are bold blue instead of only bold, which looked like plain text on Windows.
Full list of changes: v0.4.0...v0.4.1
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.4.0
Added
-
Windows and macOS builds (preview). Each release also has
protondrive-<version>-win-x64.zip,
-win-arm64.zip,-osx-x64.tar.gzand-osx-arm64.tar.gz: unpack and run, no installer. The commands and the MCP
server work; there is no background service yet. On Windows the saved login is encrypted with DPAPI by default.
The files are not signed by a publisher, so SmartScreen and Gatekeeper warn about them. -
Install with npm on Linux, Windows and macOS:
npm install -g @nskylabs/protondrive-cli, or
npx -y @nskylabs/protondrive-cli mcpin an MCP client's settings. npm installs only the program for your platform, the
same self-contained build as the archives; Node.js only starts it. It has no background service: on Linux,
protondrive service enablesays to install from the archive or a package for that.
Fixed
-
Sync no longer mixes up names that differ only in letter case. On a local folder that ignores case (a FAT,
exFAT or NTFS drive),Notes.txtandnotes.txton Proton Drive could end up as one local file. Every pass now
checks how the local file system compares names, leaves such items unchanged on both sides with a warning, and
syncs a rename that only changes case as a rename. -
session statussays when no login is saved, and where the next one goes, instead of describing a file that
does not exist.
Changed
- New logins are encrypted with systemd-creds by default on Linux with systemd 256 or newer, as they are with
DPAPI on Windows. Each command then takes about 1.5 seconds longer to start. A login saved as a plain file
before stays plain untilprotondrive session encrypt;protondrive session decryptturns it off for later logins
too. If encrypting a new login fails, it is saved as a plain file. - The
User-Agentnames the OS and architecture, such asprotondrive/0.4.0 (linux; x64), instead of
(Unix).
Full list of changes: v0.3.0...v0.4.0
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.3.0
Added
- MCP server for AI assistants.
protondrive mcplets 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-contentlimit 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
downloadcreates 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.deletereports every missing path at once. Likemove, it lists all the paths that do not exist, then
Nothing deleted., instead of stopping at the first one.moveandrenamereport every missing source at once. Before, the first missing path stopped the command
with only that error; now all of them are listed, followed byNothing 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.moveandrenameprint the sync notes after the moved items. The notes about synced folders now follow the
Moved ...lines instead of coming first.downloadno longer printsScanning <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 thePROTONDRIVE-SYNC-NEEDS-ATTENTION.txtnotice 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. uploadand 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:uploadwould hang, and
sync --watchwould stop syncing. Now the kernel is asked for the real file type.uploadskips 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.deleteno longer counts an item as done when Proton Drive gives no answer for it. Such an item is now
reported as failed, and with--permanentit is not deleted from the trash.sync removeno 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 addchecks for overlapping folders again while saving. Twosync addcommands 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.
protondrive 0.2.13
Added
renamegives a file or folder a new name.protondrive rename /Docs/old.txt new.txt(alsoren) renames
the item in its folder. Likemove, it never overwrites anything, and the next sync renames the local copy of a
synced item too. Unlikemove, a new name that matches an existing folder is refused instead of moving the item
into that folder.
Fixed
- Restarting on a new version no longer logs a failure. After an update, the watch service restarted on the new
version as it should, but systemd loggedFailed with result 'exit-code'with status 75: the stop that the
restart sends could arrive before protondrive exited cleanly. The service now treats exit code 75 as a clean
restart, and protondrive exits with 0 when systemd is already stopping it. The unit file changes with this
release, and the next update reloads it on its own.
Full list of changes: v0.2.12...v0.2.13
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.2.12
Added
- .deb and .rpm packages. Each release now also has
nsky-protondrive-clientpackages for Debian, Ubuntu and
derivatives (.deb) and for Fedora, openSUSE, RHEL and derivatives (.rpm), for x86-64 and ARM64. Open one with
your software installer, or useapt install ./…ordnf install ./…. They install the same files as
install.sh --prefix /usr, and are checked againstSHA256SUMSlike the archives. infoshows everything about a file or folder.protondrive info <path>...(alsostat) prints the size,
modification, upload and creation times, the storage used by this and all versions, the SHA-1, thumbnails, extra
metadata, the owner and sharing, who signed the name, keys and content (and whether the signatures verify), and
the IDs. For a folder it counts the folders and files directly inside.
Full list of changes: v0.2.11...v0.2.12
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.2.11
Fixed
- No more stray "401 (Unauthorized)" warnings in watch mode. When the access token expired and refreshing it
failed once (a network blip, or the network not back yet after a resume), Proton's SDK retried with the expired
token, and the pass failed with a bare 401. The session was fine, and the next pass a minute later worked. Now
sync --watchretries such a pass after 5 seconds without a warning. If it fails again, the warning says why the
token could not be refreshed, for examplethe server answered 503 (Service Unavailable). - The log says when sync works again. After a failed pass was reported with a warning, the next successful
pass insync --watchadds a line such as… ⇄ /: signed in to Proton Drive again (the access token was refreshed); sync is working., so the log no longer ends on an error while everything works. If the same problem
comes back later, it is reported again.
Full list of changes: v0.2.10...v0.2.11
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.2.10
Added
- A security review. SECURITY-REVIEW.md shows, with references to the code, how your
password, session and files are handled. The README links to it.
Security
- File names can no longer control the terminal. A name on Proton Drive (for example one chosen by someone you
share a folder with) could contain escape sequences that change the window title, move the cursor and rewrite
earlier lines, such as the list of held deletions. On a terminal, control characters and invisible text-direction
characters in names and messages are now shown as visible escapes (\x1B,\u202E). Output to pipes, files and
the journal is unchanged. downloadno longer writes through a link at its partial file. The.protondrive-partfile is now always
created new. Before, a symbolic link placed at that name could make a download overwrite the file it pointed to,
in a download folder that other users can write to. Sync downloads, which use random names in a private folder,
get the same protection.- The HTTP debug trace hides storage tokens. With
PROTONDRIVE_DEBUG_HTTP=2, any header with "token" in its name
is now shown as<redacted>, likeAuthorizationalready was. That includespm-storage-tokenon block uploads and
downloads.
Full list of changes: v0.2.9...v0.2.10
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.
protondrive 0.2.9
Changed
- Proton's libraries are now built straight from Proton's repositories. The Drive SDK packages
(Proton.Drive.Sdk,Proton.Drive.Sdk.Account) are Proton's C# release 0.33.1, andProton.Cryptography0.40.1
is built from Proton'sdotnet-crypto. Both are built by this repository's workflows instead of from forks. The
code is the same as in 0.2.8; only the version numbers now match Proton's.
Full list of changes: v0.2.8...v0.2.9
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.