Skip to content

feat(sheets): add native range reads, cell edits and generated API coverage - #105

Merged
leemour merged 1 commit into
mainfrom
feat/sheets-native
Oct 17, 2026
Merged

leemour merged 1 commit into
mainfrom
feat/sheets-native

Conversation

@leemour

@leemour leemour commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Drive previously imported native Sheets through XLSX for local reading/search but could not inspect or edit live cell ranges. Add profile-scoped sheets info/show/update/add/clear commands, Google's pinned official Sheets SDK and all 17 operations from a verified committed Sheets v4 Discovery snapshot (85 generated operations total).

Updates require a concrete tab/cell rectangle and values that fit it; supplied rows are limited to 10,000 cells. Strings are literals by default, while formula/locale interpretation is explicit. Append reports Google's actual inserted range, clears preserve formatting, writes reuse OAuth/policy guards and uncertain outcomes are not retried. Repeated parameters are normalized for SDK calls without allowing nested authentication/transport overrides. Existing Drive grants cover the API; enabling Sheets API is a separate project setup step.

Update native recipes, installation/API setup, source overview, generated references and CLI/MCP snapshots. Reuse canonical info/show/update/add/clear verbs. Existing lint baseline is unchanged; six dated domain exceptions await adoption of the shared vocabulary merged in cli-base#178.

Validation: 257 tests, 90.13% line coverage, 10 CLI/MCP contracts, five prior-store upgrade cases, typechecking, generation freshness, lint, Markdown, leak checks and Node/Bun installed-package smoke. All PR checks passed before merge; full main validation passed: https://github.com/WireCatLabs/drive-cli/actions/runs/38986029510. External executable evidence: https://github.com/WireCatLabs/cli-testing/tree/main/performance/documents/drive-sheets — seven checks across 17 guarded CLI invocations, with candidate source/module hashes.

No live Google request or write was performed. Shared-project Sheets API enablement and dedicated synthetic spreadsheet readback remain launch checks; this PR does not establish Google verification or npm availability.

@leemour
leemour merged commit 1442fd5 into main Oct 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant