Repository navigation
connect google and read drive as a nested files collection - #81
Merged
hkonsti merged 6 commits intoOct 15, 2026
Merged
Conversation
hkonsti
added this pull request to stack #88
October 13, 2026 21:06
hkonsti
force-pushed
the
hkonsti/google-2-oauth-drive
branch
3 times, most recently
from
October 14, 2026 17:29
77ea3e5 to
9757fc1
Compare
…ccount can't see as shared with me, list only opened files in recent, keep google's reason for a token error, refuse unverified addresses, and don't say a connection signed in to again was added
…count, so it is renewed, and takes the new address, after the address changed
…ot found without asking sheets, which refuses a range outside the grid, keep the pkce helper and the sign-in answer to connect-flow, and say what drive does on this branch
…so it runs after them
hkonsti
force-pushed
the
hkonsti/google-2-oauth-drive
branch
from
October 15, 2026 00:20
9f0180e to
0c0e353
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.
Adds the
googleintegration: one sign-in with the app's own Google client (the one Google sign-in already uses) that asks for every scope at once, stores the tokens, the granted scopes and the address encrypted, and reconnects the same account on a second sign-in. Drive becomes the read-onlyfilescollection, a tree with My Drive, Shared with me, Shared drives and Recent at the top, where documents open as Markdown, presentations as text, and spreadsheets open into their tabs and rows as "Header: value" lines. Google's errors are mapped for agents: a disabled API passes Google's own message naming the API to enable, and exports over Google's 10 MB cap say so. The OAuth routes the MCP integrations used are lifted intoconnections/connect-flow.ts, which both share now. The OAuth flow is covered by tests with mocked Google answers and still needs one manual run against a real Cloud project.Stack: 2 of 3 for the Google Workspace connector, on #78; next: scope enforcement.
Open workspace in Conductor