Expand description
Google Drive API integration: typed HTTP client, OAuth2 authentication, Files/About API façades, and named-account resolution.
Provides a thin reqwest wrapper around the Drive v3 REST API,
authenticated via OAuth2 authorization-code + PKCE (see
ADR-0069, which applies
ADR-0063 — Gmail’s OAuth2
credential-storage design — to a second Google API). The CLI surface
(src/cli/drive.rs, issue #1524) is the first consumer; the MCP surface
(issue #1525) is the second, reusing the same façades.
Modules§
- about_
api - Drive About API wrapper.
- account
- Named Drive account resolution (mirrors issue #1500/ ADR-0066, applied to Drive by ADR-0069).
- auth
- Drive OAuth2 authentication: authorization-code + PKCE login, credential storage, and in-memory access-token refresh.
- client
- Drive REST API client.
- error
- Error types for Drive operations.
- file_
move - Drive file move — the security-gated capability this whole feature exists for (ADR-0070).
- files_
api - Drive Files API wrapper.
- permissions_
api - Drive Permissions API wrapper.
- rename
- Drive file rename.
- types
- Wire types for the Drive v3 REST API.
- visibility
- Drive move visibility-diff algorithm — the security-critical core of
drive move’s safety gate (ADR-0070).