Commit Graph

2 Commits

Author SHA1 Message Date
RaymondCho 0221f89c00 Decode base64 through fixed-size chunks, as clippy 1.99 asks
CI / checks (pull_request) Successful in 1m26s
Agents / bot (pull_request) Successful in 7m28s
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>
2026-10-12 23:26:24 +09:00
RaymondCho 3c2cd123b7 Open an aindrive drive as a read-only folder in Memona
Agents / bot (pull_request) Has been skipped
CI / checks (pull_request) Failing after 1m21s
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>
2026-10-12 22:52:06 +09:00