A token that may write opens a writable folder. A save sends the file
whole through write_file with the revision it was read at, or "none" for
create-only, so aindrive refuses it as a conflict when the file moved on;
saves are capped at one 1 MiB transfer, which a table-driven encoder fits
into one call's fuel. A save whose answer is lost, or that the drive's
device timed out on, is reported with an unknown outcome. Deleting takes
one file; folders are refused because delete_path is recursive and
listings hide entries such as .git.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI builds with the newest stable toolchain, whose clippy rejects
chunks_exact with a constant size in favour of as_chunks. The fixed-size
arrays also drop the let-else that could never fail, and a 1 MiB read
now measures 13.3M fuel instead of 13.5M.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plugin reaches a drive through aindrive's remote MCP endpoint with
the drive's access token. Opening a connection asks which tools the
token may call, so it works while the drive's machine sleeps. Listing,
stat and reading map to list_files, stat and read_file; a read is
statted first, and a file whose length changed in between is refused as
a conflict. Reads decode only the window asked for, straight from the
reply pieces, so any 1 MiB slice of a file up to aindrive's 8 MiB limit
fits Memona's per-call fuel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>