Repository navigation
create, edit and trash drive files, and read and write spreadsheet ranges - #92
Merged
Merged
Conversation
hkonsti
force-pushed
the
hkonsti/google-9-drive-writes
branch
from
October 14, 2026 00:49
ececd25 to
184f59a
Compare
hkonsti
force-pushed
the
hkonsti/google-9-drive-writes
branch
from
October 14, 2026 17:29
184f59a to
70648bb
Compare
hkonsti
force-pushed
the
hkonsti/google-9-drive-writes
branch
from
October 14, 2026 18:14
70648bb to
51dfae6
Compare
hkonsti
force-pushed
the
hkonsti/google-9-drive-writes
branch
from
October 15, 2026 00:09
51dfae6 to
b6cc7b1
Compare
…s last rows from column A, rename without uploading content as it was read, open and rename a document too large to export, cap range reads, empty a cell with "", keep shared drives out of edits and trash, and upload text as utf-8
…a range with $ in it and a tab named in any letters, turn down a row made with a name, and say each thing once in agents.md
hkonsti
force-pushed
the
hkonsti/google-9-drive-writes
branch
from
October 15, 2026 00:20
b6cc7b1 to
07fcb21
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Google's
filescollection now writes: Create files makes folders, documents (uploaded as Markdown) and spreadsheets (uploaded as CSV) in My Drive, a folder or a shared drive, and appends rows to a tab under its headers; Edit files renames files and tabs, replaces a document's content whole (dropping its comments and suggestions, as the catalog and docs say) and changes a row only in the cells written differently; Move files to Trash trashes files and folders, neverfiles.delete. A new run-onlyrangescollection, like the databases' queries, reads (read-only, Read files) and writes (Edit files) a range in A1 notation as CSV, taking a spreadsheet's id or link, the range checked against a strict pattern before it reaches Google. The fileskindselect is no longersystem, so a create says what to make and an edit refuses to change it; every files action takes thedrivescope, andgoogle-connector.tsnow runs a command on the collection it was run on, sinceemailsandfilesboth havetrash.Verified live against a real account: a folder "Personal Agent Proxy test 2026-10-13" made in My Drive; inside it a Doc from Markdown (read back as Markdown, table and curly quote intact) and a Sheet from CSV; a row appended under the headers and edited; a range written through the spreadsheet's link with a formula (answered evaluated) and read back through its id; the Doc renamed and its content replaced; then the folder moved to Trash through the
trashcommand. Refusals (unknown header, a bad tab, a spreadsheet or Recent as parent) came back as validation errors, Google's own words for the range. A token downscoped todrivealone passed Google's scope check on Sheetsvalues.updateandbatchUpdateand Drivefiles.updateand media upload, wheregmail.sendalone got 403.Stack: on #91.
Open workspace in Conductor