mcp-gee-sweet 0.9.3.dev34__tar.gz → 0.9.3.dev35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/CLAUDE.md +5 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/PKG-INFO +1 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/configuration.md +9 -3
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/local-file-access-policy.md +1 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/infra.md +76 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/.env.template +3 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/auth.py +96 -5
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/cache.py +379 -115
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/local_files.py +25 -3
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/reauth.py +14 -14
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/conftest.py +13 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_files.py +1 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_data.py +3 -1
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_helpers.py +3 -3
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_cache.py +36 -34
- mcp_gee_sweet-0.9.3.dev35/tests/test_cache_isolation.py +809 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/cleanup-worktrees.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/merge-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/notify-kai.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/notify-partner.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/orchestrator.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/prep-for-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/qa-kickoff.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/release.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/retro.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/roadmap-status.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/security-advisory.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/start-worktree.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/team-member.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/commands/verify-pr.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/settings.json +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/amy.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/aziz.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/bob.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/dev.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/joy.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/kai.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.claude/team-roles/qa.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.dockerignore +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.gitattributes +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/dependabot.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/workflows/ci.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/workflows/docs.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.github/workflows/publish.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.gitignore +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.pre-commit-config.yaml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/.python-version +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/CHANGELOG.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/CODE_OF_CONDUCT.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/CONTRIBUTING.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/Dockerfile +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/LICENSE +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/Makefile +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/README.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/SECURITY.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docker-compose.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/assets/logo.png +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/auth.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/client-setup.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-async-tool-execution.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-cache-invalidation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-chart-theming.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-comments-first-class.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-composite-tools.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-condition-type-docstring-generation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-converted-doc-change-detection.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-dev-team.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-docs-formatting.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-fork.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-gmail-domain.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-grid-data-size-cap.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-impact-reach-triage.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-local-fs-test-harness.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-pillow-image-dependency.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-prompt-qa-role.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-publishing.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-release-docs-roles.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-repositioning.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-review-finding-ticket-bar.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-supports-all-drives-lint-check.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-sync-folder-recursion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-testing.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/decision-tool-error-visibility.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/index.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/decisions/role-file-history.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/blockquote-representation.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/borderless-table-columns.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-replace-backup.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-revision-export.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/doc-to-markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/docs-ast-pipeline.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/effectiveformat-spike.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/heading-anchor-resolution.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/image-conversion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/image-share-lifecycle.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/index.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/markdown-support.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/module-history.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/oauth-reauthorize-from-tool-call.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/phase3-theme-system.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/sse-consent-off-event-loop.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/index.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/known-limitations.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/notes-read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/README.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r01-meeting-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r02-project-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r03-spec-prd.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r04-readme.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r05-status-report.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r06-howto.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r07-comparison.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r08-research-summary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r09-changelog.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r10-task-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r11-incident-postmortem.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r12-interview-guide.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r13-api-reference.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r14-study-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r15-travel-itinerary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/realistic/r16-planning-notes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/state/theme.json +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-01-starts-bullets.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-02-starts-numbered.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-03-starts-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-04-starts-code.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-05-starts-quote.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-06-starts-image.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-07-starts-rule.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-08-ends-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-09-ends-list.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-10-empty.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-11-whitespace-only.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-12-no-trailing-newline.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-13-crlf-line-endings.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/docstart/ds-14-front-matter.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-adjacency-blank.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-adjacency-noblank.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-blockquotes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-breaks-rules.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-code-blocks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-containment.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-emphasis.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-escapes.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-headings.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-images.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-code.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-html.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-inline-matrix.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-links.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-blocks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-boundaries.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-markers.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-lists-nesting.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-long-document.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-tables.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-tasks.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/md/syntax/md-unicode.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/fixtures.template.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/gmail-test-plan.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/operations.yaml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/playwright_oauth.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/.gitkeep +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-02.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-14.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-17.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-18.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-06-28.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-docs.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-infra.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-07-04.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-09-04.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17-pass-audit.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17-spec.txt +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-17.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/results/2026-10-18-markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.8.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.9.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/retro-v0.9.2.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/run.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/README.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.8.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.8.1.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.0.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.1.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/runs/v0.9.2.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/setup.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/calendar.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_content.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_layout.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_markdown.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_style.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/docs_tables.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_activity.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_files.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_sharing.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/drive_transfer.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/gmail.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_charts.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_mgmt.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_read.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/qa/tests/sheets_write.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/roadmap.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/style-guide.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/tools.md +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/mkdocs.yml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/pyproject.toml +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/pyrightconfig.json +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/check_supports_all_drives.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/gen_tool_docs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/lane_context_hook.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/oauth_setup.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_cancel_insert_local_images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_compile_results.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_gen_md_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_gmail_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/qa_revision_temp_doc_parent.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/setup_team.sh +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/scripts/write_team_mcp_configs.sh +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/server.json +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/http_auth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/http_transport.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/server.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/sse_shutdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/atomic_write.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/cache.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/calendar.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/concurrency.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/ast.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/content.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/editing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/emitter.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/html_parser.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/layout.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/markdown_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/named_ranges.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/style.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/docs/tables.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/drive/transfer.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/gmail.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/http_errors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/mime_types.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/pagination.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_activity.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_sharing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/drive/test_transfer.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/fakes.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/conftest.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/integration/test_local_fs_harness.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/__init__.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/sheets/test_structure.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_atomic_write.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_auth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_calendar.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_check_supports_all_drives.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_concurrency.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_anchors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_comments.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_content.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_core.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_editing.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_images.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_indices.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_layout.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_markdown_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_named_ranges.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_revision_export.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_style.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_docs_tables.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_gen_tool_docs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_gmail.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_http_auth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_http_errors.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_http_transport.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_lane_context_hook.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_local_file_sites.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_local_files.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_mime_types.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_qa_gen_md_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_qa_gmail_fixtures.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_reauth.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_response_limits.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_server.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_server_json.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_sse_shutdown.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/tests/test_team_mcp_configs.py +0 -0
- {mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/uv.lock +0 -0
|
@@ -84,6 +84,11 @@ Each entry below says what a module owns and the invariants a future edit could
|
|
|
84
84
|
- Blockquote nodes get a gray `borderLeft` and `indentStart` = `indentFirstLine` = 36pt × depth (`indentFirstLine` is absolute, not relative to `indentStart`). `createParagraphBullets` overwrites both indents, so a quoted `BulletItem`'s request runs after the whole bullet pass and before the table/image inserts, at the list level's own indents (`list_level_indents`, level capped at 8 as Docs caps `nestingLevel`) plus the quote's. Every position used after the bullet pass maps through `_after_bullet_pass`. `doc_to_ast.py` subtracts the level's indent when inferring depth.
|
|
85
85
|
- A code-styled paragraph's internal `"\n"` breaks become `"\v"` (`_is_code_paragraph`) so a fenced block stays one Docs paragraph; `doc_to_ast.py` reverses it.
|
|
86
86
|
- `tools/cache.py` — `refresh_cache`, `set_cache_ttl`/`get_cache_ttl` (runtime TTL change, no restart needed)
|
|
87
|
+
- `cache.py` — the five SQLite caches (GHSA-8jqx-w7j8-6xwm). Invariants:
|
|
88
|
+
- Every read and store filters on the instance's fixed `principal` (the Google identity, bound by `auth.ensure_cache_principal` from `reauth.before_call` and `_build_context`); unbound, reads miss and stores do nothing. Invalidation (`mark_dirty`, `_mark_dirty_prefix`, `mark_all_dirty`) deliberately doesn't filter, so a change reaches every identity's copy; only TTL expiry marks just the own row. Rebinding replaces all five instances (`auth._bind_caches`), never mutates one, so an in-flight fetch stores under the identity it fetched as. The replacement shares the old instance's `_Invalidations`, so #698's epoch guard spans the rebind; keep invalidation state on that object, never on the instance. A new read or write goes through `_fetch_row`/`_replace`/`_store_if_fresh`.
|
|
89
|
+
- A cache's connection opens at first use (the `_conn` property), not at construction. A context's default (unbound) instances are replaced by bound ones once the identity resolves, so they open the DB only if it never does (their `mark_dirty` still writes). A replaced instance is left for its in-flight fetch and closes its connection in `__del__`. No `chmod(follow_symlinks=False)`: it raises `NotImplementedError` on glibc < 2.32; check with `lstat`, then a plain `chmod` (`_chmod_own_file`).
|
|
90
|
+
- `fetch_sheets` serves a stale entry only on a transient error (`_is_transient`: 5xx, 429, transport). A 403/404 is Google's answer and must propagate; a `RefreshError` must reach #873's path.
|
|
91
|
+
- The default DB is in the user's own cache directory (`default_db_path`, pure at import); `_prepare` creates it `0700` and the files `0600`, and refuses another user's or a symlinked one (`_CacheFileRefused`, which `_open` answers with `:memory:`, never by deleting). A schema change bumps `_SCHEMA_VERSION`, which drops and recreates the table.
|
|
87
92
|
- `tools/calendar.py` — Calendar API tools
|
|
88
93
|
- `local_files.py` — the local-file access policy, `LOCAL_FILE_ACCESS=full|roots|off` (#796, `docs/design/local-file-access-policy.md`). Resolved once at import from env and argv (`cli_transport`, shared with `main()`): the default is `full` under stdio and `off` otherwise, and `_timed`'s `request_over_http` tripwire refuses a defaulted `full` that reaches an HTTP request. Invariants:
|
|
89
94
|
- Every local read or write a tool makes goes through `check_read`/`check_write`, *before* any `stat` of the path, so a refusal reads the same whether or not the path exists. The check returns the resolved path. Where a site uses it (`_upload_local_file`'s upload, `_read_doc_source_file`, `import_csv_to_sheet`, Gmail attachments) it narrows the window before the I/O; writes keep the caller's path, since `_write_atomically` resolves a symlinked destination itself. Neither closes the check-then-use race, which is a documented known limitation. Take a filename or suffix from the caller's own spelling, so a symlink keeps its link name. A malformed path (a NUL byte) is a `LocalFileAccessError` too, so a per-item site fails only that item.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mcp-gee-sweet
|
|
3
|
-
Version: 0.9.3.
|
|
3
|
+
Version: 0.9.3.dev35
|
|
4
4
|
Summary: MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.
|
|
5
5
|
Project-URL: Homepage, https://github.com/khuisman/mcp-gee-sweet
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/khuisman/mcp-gee-sweet/issues
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| `ENABLED_TOOLS` | Comma-separated list of tool names to register | all tools |
|
|
16
16
|
| `LOCAL_FILE_ACCESS` | Which local files tools may read and write: `full`, `roots`, or `off`. See [Local file access](#local-file-access) | `full` under stdio, `off` under SSE and streamable HTTP |
|
|
17
17
|
| `LOCAL_FILE_ROOTS` | With `LOCAL_FILE_ACCESS=roots`, the directories tools may use, separated by `:` (`;` on Windows), like `PATH` | — |
|
|
18
|
-
| `CACHE_DB_PATH` | Path to the SQLite cache database |
|
|
18
|
+
| `CACHE_DB_PATH` | Path to the SQLite cache database (`:memory:` for none) | `mcp-gee-sweet/cache.db` in the user's cache directory (see [Caching](#caching)) |
|
|
19
19
|
| `CACHE_TTL` | Cache time-to-live in seconds. Also adjustable at runtime via the `set_cache_ttl` tool, no restart needed | `1800` (30 min) |
|
|
20
20
|
| `CACHE_VALIDATE_MODIFIED_TIME` | Validate sheet/doc cache hits against Drive's `modifiedTime` before serving them, catching edits from other sessions without waiting out the TTL. Costs one extra Drive API call per cache lookup | `true` |
|
|
21
21
|
| `MAX_TOOL_RESPONSE_CHARS` | Safety cap on response size, in characters, for tools that can return large inline payloads (`get_sheet_data`, `get_multiple_sheet_data`, `get_multiple_spreadsheet_summary`, `find_in_spreadsheet`, `get_doc_content`, `find_in_doc`, `list_doc_comments`, `list_file_activity`, `export_file`, `sync_folder`, `list_all_events`, `list_calendar_acl`, `get_message`, `get_thread`). Defense-in-depth against MCP clients that don't degrade gracefully on an oversized tool response — see [decision-response-size-cap-reevaluation-519.md](decisions/decision-response-size-cap-reevaluation-519.md) for why the default was raised and what it does and doesn't protect against | `1000000` |
|
|
@@ -167,7 +167,7 @@ Some tools read or write files on the machine the server runs on: uploads, downl
|
|
|
167
167
|
|
|
168
168
|
**Default:** `full` under stdio, where the caller is the person running the server, and `off` under SSE and streamable HTTP, where it may not be. A network-facing server that should use local files needs `LOCAL_FILE_ACCESS` set explicitly.
|
|
169
169
|
|
|
170
|
-
**Always refused, in every mode:** the server's own credential, config, cache, and log files. That's `CREDENTIALS_PATH`, `TOKEN_PATH`, `SERVICE_ACCOUNT_PATH`, `GOOGLE_APPLICATION_CREDENTIALS`, gcloud's default ADC file, `src/mcp_gee_sweet/.env`, `CACHE_DB_PATH` (and its `-wal`/`-shm` files), `LOG_FILE`, and `ACCESS_LOG_FILE`. A file is matched by identity, so a hardlink or a differently cased path to one of them is refused too.
|
|
170
|
+
**Always refused, in every mode:** the server's own credential, config, cache, and log files. That's `CREDENTIALS_PATH`, `TOKEN_PATH`, `SERVICE_ACCOUNT_PATH`, `GOOGLE_APPLICATION_CREDENTIALS`, gcloud's default ADC file, `src/mcp_gee_sweet/.env`, `CACHE_DB_PATH` (and its `-wal`/`-shm` files; with the default location, the whole `mcp-gee-sweet` cache directory), the pre-0.9.3 cache `/tmp/mcp_gee_sweet.db` (and its `-wal`/`-shm` files), `LOG_FILE`, and `ACCESS_LOG_FILE`. A file is matched by identity, so a hardlink or a differently cased path to one of them is refused too.
|
|
171
171
|
|
|
172
172
|
**In `off` mode** these tools aren't registered, since they can only work on local files: `upload_local_file`, `upload_local_folder`, `download_file`, `download_folder`, `sync_folder`, `import_csv_to_sheet`, `create_doc_from_file`, `update_doc_from_file`, and `insert_local_images`. Tools with an optional local path stay registered and return an error if one is used. That covers `local_path` on large-result tools, Gmail's `attachments[].local_path` (`content_base64` still works), and local image paths in `create_doc`/`write_doc_content` content, which fail per image while the doc is still written.
|
|
173
173
|
|
|
@@ -198,4 +198,10 @@ The server caches responses in a local SQLite database to reduce API calls and l
|
|
|
198
198
|
- Change-based invalidation: for sheet structure/data and doc content (the namespaces keyed by a single Drive file), a cache hit is checked against that file's live `modifiedTime` before being served — an edit from another session or tab invalidates the entry immediately instead of waiting out the TTL. Controlled by `CACHE_VALIDATE_MODIFIED_TIME` (default `true`); disable it if the extra Drive API call per lookup isn't worth the freshness guarantee for your usage pattern. Not applied to Drive folder listings (a folder's own `modifiedTime` doesn't change when its children do) or calendar metadata (no comparable field via the Calendar API)
|
|
199
199
|
- Scoped flush: `refresh_cache` accepts a `spreadsheet_id`, `doc_id`, `folder_id`, or `calendar_id` to invalidate only that resource; omit all params to flush everything
|
|
200
200
|
|
|
201
|
-
The DB
|
|
201
|
+
The DB lives in the user's own cache directory by default: `~/.cache/mcp-gee-sweet/cache.db` on Linux (or under an absolute `$XDG_CACHE_HOME`), `~/Library/Caches/mcp-gee-sweet/cache.db` on macOS, and `%LOCALAPPDATA%\mcp-gee-sweet\cache.db` on Windows. In the Docker image that's `/root/.cache/mcp-gee-sweet/cache.db`. Set `CACHE_DB_PATH` to use another file (an empty value counts as unset), for example one on a volume so the cache survives container restarts, or `:memory:` for no file at all.
|
|
202
|
+
|
|
203
|
+
The cache directory is created owner-only (`0700`) and the DB and its `-wal`/`-shm` files are `0600`; an existing default directory with looser permissions is tightened. An explicit `CACHE_DB_PATH`'s files get the same `0600`, but its directory is left as it is. A cache directory or file owned by another user, or a symlink in place of one, isn't used: the server warns and caches in memory instead. The same happens when there's no home directory to put the cache in, e.g. a container run with `--user` and no home.
|
|
204
|
+
|
|
205
|
+
Each entry is stored under the Google identity it was fetched as (the account's Drive permission ID, or a service account's email when Drive can't say), so two accounts sharing one DB file never see each other's entries. Invalidation isn't per identity: `refresh_cache` and a write's invalidation reach every identity's copy. Until the server has read the identity (at connection start, retried on every tool call), nothing is cached. A cached sheet list is served stale only when Google couldn't answer (a 5xx, a 429, or a network failure), never in place of a refusal such as a 403 or 404.
|
|
206
|
+
|
|
207
|
+
Versions up to 0.9.2 kept the cache in `/tmp/mcp_gee_sweet.db`, readable by every local user. The server never reads that file again; on start-up with `CACHE_DB_PATH` unset it makes the file owner-only if it's yours, but doesn't delete it. Delete `/tmp/mcp_gee_sweet.db` and its `-wal`/`-shm` files yourself.
|
{mcp_gee_sweet-0.9.3.dev34 → mcp_gee_sweet-0.9.3.dev35}/docs/design/local-file-access-policy.md
RENAMED
|
@@ -84,7 +84,7 @@ check_read(path) / check_write(path):
|
|
|
84
84
|
| `Path(mcp_gee_sweet.__file__).parent / ".env"` | runtime config, may hold `CREDENTIALS_CONFIG` (decision) |
|
|
85
85
|
| `GOOGLE_APPLICATION_CREDENTIALS`, when set | an ADC key file: the same class of secret as `SERVICE_ACCOUNT_PATH` |
|
|
86
86
|
| gcloud's default ADC file: `$CLOUDSDK_CONFIG/application_default_credentials.json`, else `~/.config/gcloud/…` (POSIX) or `%APPDATA%\gcloud\…` (Windows) | ADC's fallback when `GOOGLE_APPLICATION_CREDENTIALS` is unset; a user refresh token |
|
|
87
|
-
| `CACHE_DB_PATH` and its SQLite WAL sidecars (`-wal`, `-shm`; `cache.py` sets `journal_mode=WAL`) | reading exposes cached Drive/Sheets/Docs data; overwriting corrupts the cache |
|
|
87
|
+
| `CACHE_DB_PATH` and its SQLite WAL sidecars (`-wal`, `-shm`; `cache.py` sets `journal_mode=WAL`). With the default location, the whole `mcp-gee-sweet` cache directory (`Policy.deny_dirs`), since only the server writes there. Also the pre-0.9.3 default `/tmp/mcp_gee_sweet.db` and its sidecars, which stay on disk (GHSA-8jqx-w7j8-6xwm) | reading exposes cached Drive/Sheets/Docs data; overwriting corrupts the cache |
|
|
88
88
|
| `LOG_FILE`, `ACCESS_LOG_FILE`, when set | a download could overwrite or truncate them (plain `FileHandler`, no rotated copies to cover) |
|
|
89
89
|
|
|
90
90
|
Entries are included whether or not the file exists yet; an unset optional entry is skipped.
|
|
@@ -82,7 +82,7 @@ Set `CACHE_DB_PATH=/tmp/qa_test_cache.db` and restart the server.
|
|
|
82
82
|
|
|
83
83
|
**Checks**
|
|
84
84
|
- File `/tmp/qa_test_cache.db` is created (check with `ls /tmp/qa_test_cache.db`)
|
|
85
|
-
-
|
|
85
|
+
- The default path (`mcp-gee-sweet/cache.db` in the user's cache directory; `/tmp/mcp_gee_sweet.db` before 0.9.3) is NOT used
|
|
86
86
|
- Restore `CACHE_DB_PATH` to default after this test
|
|
87
87
|
|
|
88
88
|
**Result (2026-09-04) ⏭️ SKIP**
|
|
@@ -1837,6 +1837,81 @@ Steps 1–10 rerun on real servers, all matching round 1 except the intended cha
|
|
|
1837
1837
|
|
|
1838
1838
|
---
|
|
1839
1839
|
|
|
1840
|
+
### TC-I63: two Google identities sharing one cache DB never see each other's entries (GHSA-8jqx-w7j8-6xwm) ⚠️ local-filesystem
|
|
1841
|
+
|
|
1842
|
+
**Background:** every cache row carries the Google identity it was fetched as (`drive:<permissionId>`, else `sa:<service account email>`), and every read filters on it. Invalidation doesn't: `refresh_cache` and write-side invalidation reach every identity's rows. A cached sheet list is served stale only on a 5xx, 429 or network failure, never in place of a 403/404. Run the servers from this lane's own worktree, not the shared `-oauth`/`-sa` MCP servers, which serve main-checkout code.
|
|
1843
|
+
|
|
1844
|
+
**Setup:** a fresh scratch path `C=<tmp>/qa-cache/cache.db`, with `<tmp>/qa-cache` created (empty) before each run. An explicit `CACHE_DB_PATH` never creates its parent directory, on `develop` or the fix: with it missing, both servers log `falling back to :memory:`, share nothing, and the case passes vacuously. Check each log has no `not usable`/`unusable` line before reading any result. Two stdio servers, each driven by an SDK `stdio_client` + `ClientSession` script per `docs/qa/run.md` §"Running server-startup and CLI cases in a scoped lane pass", both with `CACHE_DB_PATH=$C`, `DEBUG_LEVEL=DEBUG` and their own `LOG_FILE`: server **A** with `AUTH_METHOD=oauth` (the fixture OAuth account), server **B** with `AUTH_METHOD=service_account`. `{SPREADSHEET_ID}` below is a scratch spreadsheet that only A can open, *not* the fixture `TEST_SPREADSHEET_ID`, which the service account can read (it's on the Shared Drive). Create it in A's My Drive root with a fresh-interpreter script (`drive.files().create(body={"name": ..., "mimeType": "application/vnd.google-apps.spreadsheet"})` on `auth._oauth_creds()`, per CLAUDE.md "MCP restart"), not with `create_spreadsheet`, which puts it in `DRIVE_FOLDER_ID`. B's service account must also have no access to A's calendars. Run steps 1–2 on the fork's `develop` first (before resetting to the fix branch), then the whole case on the fix branch.
|
|
1845
|
+
|
|
1846
|
+
**Action**
|
|
1847
|
+
1. A: `list_calendars()`; record the calendar IDs. Then B: `list_calendars()`.
|
|
1848
|
+
2. A: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`. Then B: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`. Then A: `refresh_cache(spreadsheet_id="{SPREADSHEET_ID}")`, and B: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")` again.
|
|
1849
|
+
3. With both servers stopped: `sqlite3 $C "SELECT DISTINCT principal, namespace FROM cache"`.
|
|
1850
|
+
4. Restart A only. `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")` twice; grep A's log for `Cache hit`.
|
|
1851
|
+
5. With A still running, start B and call `refresh_cache()` (no arguments). Then A: `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`; grep A's log again.
|
|
1852
|
+
|
|
1853
|
+
**Checks**
|
|
1854
|
+
- On `develop` (the defect): B's step-1 `list_calendars` returns A's calendars, or B's step-2 `list_sheets` returns A's sheet names instead of an error. Record which.
|
|
1855
|
+
- On the fix branch:
|
|
1856
|
+
- 1: B's list contains none of A's calendar IDs (only calendars B itself is subscribed to, possibly none).
|
|
1857
|
+
- 2: both of B's `list_sheets` calls return an error (403/404 permission text), never A's sheet names, including after A's `refresh_cache` left A's row dirty (the old stale fallback).
|
|
1858
|
+
- 3: two distinct `principal` values, each `drive:...` or `sa:...`; no row has an empty principal.
|
|
1859
|
+
- 4: the second call logs `Cache hit` (A's own entry is still served to A).
|
|
1860
|
+
- 5: A's call after B's flush logs no new `Cache hit` for `{SPREADSHEET_ID}` (B's invalidation reached A's row) and still returns the sheet names.
|
|
1861
|
+
|
|
1862
|
+
**Cleanup:** stop both servers; `rm -rf <tmp>/qa-cache`; delete the scratch spreadsheet.
|
|
1863
|
+
|
|
1864
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 1 @ 9e6f4d06, Kit) ✅ PASS**
|
|
1865
|
+
Two-server SDK driver from the Kit worktree, A-only scratch spreadsheet (2 sheets) in A's My Drive. Fork `develop` @ b009e72d, steps 1–2 (defect reproduced, both ways): B's `list_calendars` returned all 3 of A's calendar IDs (B itself has 0); B's `list_sheets` returned A's sheet names, and again after A's `refresh_cache` (stale fallback). A first `develop` run with `<tmp>/qa-cache` missing fell back to `:memory:` on both servers and showed no leak, hence the setup fix above. Fix branch, directory created first, no `not usable` lines: 1: B got 0 calendars, overlap with A 0. 2: both B calls 403 `The caller does not have permission`. 3: 2 distinct principals, both `drive:...` (the SA resolves its own `permissionId`), 0 empty; rows `calendar` ×2, `sheet_structure`. 4: after restart the first call re-fetched (row still dirty from step 2's refresh), the second logged `Cache hit: 2 sheets`. 5: after B's `refresh_cache()` (`invalidated: all`), A's call logged `Cached 2 sheets` and no new `Cache hit`, sheet names returned. DB file `-rw-------`. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1866
|
+
|
|
1867
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 2 @ 18a0e4bc, Kit) ✅ PASS**
|
|
1868
|
+
Same driver, fresh A-only scratch spreadsheet, `<tmp>/qa-cache` created first, no `not usable` lines in either log. 1: B 0 calendars, overlap with A 0. 2: both B calls 403. 3: 2 distinct `drive:` principals, 0 empty. 4: second call `Cache hit: 2 sheets`. 5: after B's `refresh_cache()`, A re-fetched (`Cached 2 sheets`), no new hit. The `cache opened` lines now appear only when a cache is first used, and name the real path. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1869
|
+
|
|
1870
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 4 @ 295b5118, Kit) ✅ PASS**
|
|
1871
|
+
Rerun after merging `develop` and the GHSA-mpw3 branch in. Same driver, fresh A-only scratch spreadsheet, no `not usable` lines. 1: B 0 calendars, overlap with A 0. 2: both B calls 403. 3: 2 distinct `drive:` principals, 0 empty. 4: second call `Cache hit: 2 sheets`. 5: after B's `refresh_cache()` (`invalidated: all`), A re-fetched (`Cached 2 sheets`), no new hit. DB `-rw-------`. Outside the case, over SSE with `MCP_SERVER_TOKEN` set: an unauthenticated `GET /sse` got `401` before any cache DB existed; two authenticated connections both bound the same `drive:` principal, and the second was served from the first's entry. Scratch spreadsheet deleted, scratch dirs removed.
|
|
1872
|
+
|
|
1873
|
+
---
|
|
1874
|
+
|
|
1875
|
+
### TC-I64: the default cache location is per-user and owner-only; a symlinked cache isn't used (GHSA-8jqx-w7j8-6xwm) ⚠️ local-filesystem
|
|
1876
|
+
|
|
1877
|
+
**Background:** with `CACHE_DB_PATH` unset, the DB is `~/Library/Caches/mcp-gee-sweet/cache.db` (macOS), or `$XDG_CACHE_HOME` / `~/.cache` plus `mcp-gee-sweet/cache.db` (Linux). The directory is `0700`, the DB and its `-wal`/`-shm` files `0600`. A directory or file owned by another user, or a symlink in place of one, makes the server warn and cache in memory. The old `/tmp/mcp_gee_sweet.db` is tightened to `0600` if it's ours, never deleted. Importing the package creates nothing.
|
|
1878
|
+
|
|
1879
|
+
**Setup:** a scratch `HOME=<tmp>/home` (created, empty), `XDG_CACHE_HOME` unset, `CACHE_DB_PATH` unset in the environment and in `src/mcp_gee_sweet/.env`, `umask 022`. A stdio server driven by an SDK client script (as in TC-I63), `AUTH_METHOD=oauth` with `TOKEN_PATH`/`CREDENTIALS_PATH` pointing at the fixture files, `DEBUG_LEVEL=DEBUG`, `LOG_FILE` set. `D` below is the platform's default cache directory under the scratch home.
|
|
1880
|
+
|
|
1881
|
+
**Action**
|
|
1882
|
+
1. `HOME=<tmp>/home uv run python -c "import mcp_gee_sweet.server"`, then `find <tmp>/home`.
|
|
1883
|
+
2. Start the server; `list_sheets(spreadsheet_id="{SPREADSHEET_ID}")`; stop it. `stat -f '%Sp %N' D D/cache.db*` (Linux: `stat -c '%A %n'`).
|
|
1884
|
+
3. `chmod 755 D`; start the server, make one call, stop it; `stat` `D`.
|
|
1885
|
+
4. Unless a `/tmp/mcp_gee_sweet.db` already exists (then record its owner and mode, and skip the rest of this step): create it, owned by you, mode `0644`. Start the server, make one call, stop it; `stat` it.
|
|
1886
|
+
5. `rm -rf D`, then `ln -s <tmp>/elsewhere D` (`<tmp>/elsewhere` an empty directory). Start the server, `list_sheets` twice, stop it.
|
|
1887
|
+
6. `rm D`. Set `CACHE_DB_PATH=<tmp>/explicit/cache.db`, after creating `<tmp>/explicit` with mode `0755` and an empty `cache.db` in it with mode `0644`. Start, one call, stop; `stat` the directory and the file.
|
|
1888
|
+
7. `CACHE_DB_PATH=:memory:`: start, one call, stop; `find <tmp>/home <tmp>/explicit -newer <tmp>/explicit/cache.db`.
|
|
1889
|
+
8. `CACHE_DB_PATH` unset again, `LOCAL_FILE_ACCESS=full`: start, then `upload_local_file(local_path="D/cache.db", parent_folder_id="{FOLDER_ID}")` (`parent_folder_id` is required; without it the call fails argument validation before the policy check runs).
|
|
1890
|
+
|
|
1891
|
+
**Checks**
|
|
1892
|
+
- 1: `find` lists only `<tmp>/home` itself: nothing created at import.
|
|
1893
|
+
- 2: `D` is `drwx------`; `cache.db` (and any `-wal`/`-shm`) is `-rw-------`.
|
|
1894
|
+
- 3: `D` is `drwx------` again.
|
|
1895
|
+
- 4: `/tmp/mcp_gee_sweet.db` is `-rw-------` and still exists.
|
|
1896
|
+
- 5: the log has `Cache file not usable (... isn't a directory), falling back to :memory:`; both calls succeed; `<tmp>/elsewhere` stays empty.
|
|
1897
|
+
- 6: the file is `-rw-------`; its directory is still `drwxr-xr-x`.
|
|
1898
|
+
- 7: `find` prints nothing; the call succeeds.
|
|
1899
|
+
- 8: refused with `... is one of this server's own credential, config, cache, or log files and can't be read by a tool`; nothing uploaded.
|
|
1900
|
+
- Another user's directory or file needs a second uid, so it's unit-tested only (`tests/test_cache_isolation.py::TestPermissions`).
|
|
1901
|
+
|
|
1902
|
+
**Cleanup:** `rm -rf <tmp>/home <tmp>/elsewhere <tmp>/explicit`. If step 4 created `/tmp/mcp_gee_sweet.db`, delete it and its `-wal`/`-shm`.
|
|
1903
|
+
|
|
1904
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 1 @ 9e6f4d06, Kit) ✅ PASS (step 4 skipped)**
|
|
1905
|
+
SDK driver from the Kit worktree, macOS, `umask 022`, scratch `HOME` (with `UV_CACHE_DIR` pointed at the real uv cache so `uv` itself writes nothing under it). 1: `find` lists only `<tmp>/home`. 2: `D` `drwx------`, `cache.db` `-rw-------` (no sidecars left after stop). 3: `D` chmod'd to `drwxr-xr-x`, back to `drwx------` after one call. 4: skipped, `/tmp/mcp_gee_sweet.db` already exists, ours, already `-rw-------`; tightening covered by unit tests only this round. 5: log `Cache file not usable (<tmp>/home/Library/Caches/mcp-gee-sweet isn't a directory), falling back to :memory:`; both calls returned the sheet names; `<tmp>/elsewhere` empty. 6: `cache.db` `-rw-------`, `<tmp>/explicit` still `drwxr-xr-x`. 7: call succeeded, `find -newer` printed nothing. 8: first run without `parent_folder_id` failed pydantic validation (step text fixed above); rerun refused with `... is one of this server's own credential, config, cache, or log files and can't be read by a tool`, nothing uploaded. Scratch dirs removed.
|
|
1906
|
+
|
|
1907
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 2 @ 18a0e4bc, Kit) ✅ PASS (step 4 skipped)**
|
|
1908
|
+
Same driver, all 8 steps. 1: nothing created at import. 2: `D` `drwx------`, `cache.db` `-rw-------`. 3: `drwxr-xr-x` tightened back to `drwx------`. 4: skipped, same `/tmp/mcp_gee_sweet.db` (ours, `-rw-------`). 5: `Cache file not usable (... isn't a directory), falling back to :memory:`, and the only `cache opened` line reads `sheet_structure cache opened: :memory:` (round 1 logged the refused path here); both calls succeeded; `<tmp>/elsewhere` empty. 6: file `-rw-------`, directory still `drwxr-xr-x`. 7: `find -newer` empty. 8: refused by the deny-list, nothing uploaded. Outside the case: `check_read` now refuses `/tmp/mcp_gee_sweet.db` and `-wal` (round 1 allowed them), and in `python:3.12-slim-bullseye` (glibc 2.31) both an explicit and the default cache open and write, with the file `-rw-------` and directory `drwx------` (round 1 raised `NotImplementedError`). Scratch dirs removed.
|
|
1909
|
+
|
|
1910
|
+
**Result (2026-10-20, GHSA-8jqx fork PR #1 round 4 @ 295b5118, Kit) ✅ PASS (step 4 skipped)**
|
|
1911
|
+
Rerun after merging `develop` and the GHSA-mpw3 branch in. Same driver, all 8 steps, every check matching round 2. 1: nothing created at import. 2: `D` `drwx------`, `cache.db` `-rw-------`. 3: tightened back to `drwx------`. 4: skipped, same `/tmp/mcp_gee_sweet.db` (ours, `-rw-------`). 5: `not usable ... falling back to :memory:`, `cache opened: :memory:`, both calls succeeded, `<tmp>/elsewhere` empty. 6: file `-rw-------`, directory still `drwxr-xr-x`. 7: `find -newer` empty. 8: refused by the deny-list. Scratch dirs removed.
|
|
1912
|
+
|
|
1913
|
+
---
|
|
1914
|
+
|
|
1840
1915
|
### TC-I65: the first calls after a long idle don't fail on a stale connection (issue #1052)
|
|
1841
1916
|
|
|
1842
1917
|
**Background:** `thread_http` caches one transport per worker thread, and a thread's pooled keep-alive connection sits unused while the server is idle. Before #1052, the first request on a connection Google had since dropped failed with no retry: `[Errno 54] Connection reset by peer` at once, or `[Errno 60] Operation timed out` after 50–200 s. In a wide `get_multiple_sheet_data` call that showed up as one per-query `error` among otherwise correct results. Now a pooled connection idle longer than `_IDLE_RECONNECT_SECONDS` (wall-clock time, so a laptop's sleep counts) is closed before reuse, a connection that fails is closed rather than left pooled, and a read (GET, HEAD, or a method-override GET) or a token refresh that still hits a dead connection is resent once. Writes are never resent, so step 3 checks that a write after idle succeeds on its first attempt. The mocked unit tests can't show what Google's front end actually does to an idle connection, so this needs a live server and real idle time.
|
|
@@ -55,7 +55,9 @@ ACCESS_LOG_FILE=/tmp/mcp-gee-sweet-access.log
|
|
|
55
55
|
|
|
56
56
|
# Cache
|
|
57
57
|
# CACHE_TTL=1800 # also adjustable at runtime via the set_cache_ttl tool, no restart needed
|
|
58
|
-
#
|
|
58
|
+
# Default: the user's cache directory, e.g. ~/.cache/mcp-gee-sweet/cache.db
|
|
59
|
+
# (see docs/configuration.md). ":memory:" keeps no file.
|
|
60
|
+
# CACHE_DB_PATH=/path/to/cache.db
|
|
59
61
|
# Validate sheet/doc cache hits against Drive's modifiedTime before serving them
|
|
60
62
|
# (one extra Drive API call per lookup). Disable if that overhead isn't worth it
|
|
61
63
|
# for your usage pattern.
|
|
@@ -209,6 +209,10 @@ class SpreadsheetContext:
|
|
|
209
209
|
# read (time.monotonic()), cached by gmail._own_addresses once fully resolved
|
|
210
210
|
# (#802) and cleared by refresh_cache and by apply_oauth_credentials. Per connection, like the rest.
|
|
211
211
|
gmail_own_addresses: tuple[frozenset[str], float] | None = None
|
|
212
|
+
# The Google identity the caches below are bound to (ensure_cache_principal), or
|
|
213
|
+
# None while unbound: every cache read misses and no write lands, so one identity
|
|
214
|
+
# never reads another's cached data (GHSA-8jqx-w7j8-6xwm).
|
|
215
|
+
cache_principal: str | None = None
|
|
212
216
|
cache: SheetStructureCache = field(default_factory=SheetStructureCache)
|
|
213
217
|
sheet_data_cache: SheetDataCache = field(default_factory=SheetDataCache)
|
|
214
218
|
drive_folder_cache: DriveFolderCache = field(default_factory=DriveFolderCache)
|
|
@@ -915,9 +919,10 @@ def adopt_published_credentials(context: SpreadsheetContext) -> bool:
|
|
|
915
919
|
|
|
916
920
|
def apply_oauth_credentials(context: SpreadsheetContext, creds: Credentials, generation: int):
|
|
917
921
|
"""Swap `context` onto `creds` in place, so the connection recovers without a restart
|
|
918
|
-
or reconnect. The
|
|
919
|
-
|
|
920
|
-
account
|
|
922
|
+
or reconnect. The new token may be a different account, so the caches are swapped
|
|
923
|
+
for unbound ones (the next call's ensure_cache_principal binds them; the same
|
|
924
|
+
account gets its cached entries back) and the mailbox's own addresses are
|
|
925
|
+
cleared."""
|
|
921
926
|
services = _build_services(creds)
|
|
922
927
|
context.sheets_service = services["sheets"]
|
|
923
928
|
context.drive_service = services["drive"]
|
|
@@ -931,9 +936,93 @@ def apply_oauth_credentials(context: SpreadsheetContext, creds: Credentials, gen
|
|
|
931
936
|
context.unauthorized_message = None
|
|
932
937
|
context.oauth_generation = generation
|
|
933
938
|
context.gmail_own_addresses = None
|
|
939
|
+
_bind_caches(context, None)
|
|
934
940
|
logger.info("OAuth credentials reloaded; this connection is authorized again")
|
|
935
941
|
|
|
936
942
|
|
|
943
|
+
_CACHE_FIELDS = {
|
|
944
|
+
"cache": SheetStructureCache,
|
|
945
|
+
"sheet_data_cache": SheetDataCache,
|
|
946
|
+
"drive_folder_cache": DriveFolderCache,
|
|
947
|
+
"doc_cache": DocContentCache,
|
|
948
|
+
"calendar_cache": CalendarCache,
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
def _bind_caches(context: SpreadsheetContext, principal: str | None) -> None:
|
|
953
|
+
"""Replace all five caches with new instances bound to `principal` (None: unbound).
|
|
954
|
+
Never mutates the old ones: a fetch in flight holds one, and must store under the
|
|
955
|
+
principal it was fetched as. Each replacement keeps the old one's TTL
|
|
956
|
+
(set_cache_ttl) and shares its invalidation record, so an invalidation on the new
|
|
957
|
+
instance still stops the old one's in-flight store (#698). The old one isn't
|
|
958
|
+
closed here, since that fetch may still use it; it closes its connection when
|
|
959
|
+
it's garbage-collected (`_BaseCache.__del__`)."""
|
|
960
|
+
for name, cls in _CACHE_FIELDS.items():
|
|
961
|
+
old = getattr(context, name)
|
|
962
|
+
setattr(
|
|
963
|
+
context,
|
|
964
|
+
name,
|
|
965
|
+
cls(ttl=old.get_ttl(), principal=principal, invalidations=old.invalidations),
|
|
966
|
+
)
|
|
967
|
+
context.cache_principal = principal
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
async def _resolve_cache_principal(context: SpreadsheetContext, in_lifespan: bool) -> str | None:
|
|
971
|
+
"""The identity to key this context's cache entries by: `drive:<permissionId>`
|
|
972
|
+
from Drive's about(), for any auth method, else a service account's
|
|
973
|
+
`sa:<email>`, else None. Never derived from a refresh token, which changes
|
|
974
|
+
when the same account re-consents."""
|
|
975
|
+
drive = context.drive_service
|
|
976
|
+
if drive is not None:
|
|
977
|
+
try:
|
|
978
|
+
request = drive.about().get(fields="user(permissionId)")
|
|
979
|
+
if in_lifespan:
|
|
980
|
+
# Lifespan rule (#833): nothing in the auth phase waits on the loop
|
|
981
|
+
# without watching for shutdown.
|
|
982
|
+
future = _run_in_daemon_thread(
|
|
983
|
+
asyncio.get_running_loop(),
|
|
984
|
+
lambda: request.execute(http=thread_http(drive)),
|
|
985
|
+
"mcp-gee-sweet-cache-principal",
|
|
986
|
+
)
|
|
987
|
+
about = await _await_unless_shutdown(future, "Server is shutting down")
|
|
988
|
+
else:
|
|
989
|
+
about = await execute_in_thread(request.execute, drive)
|
|
990
|
+
permission_id = (about.get("user") or {}).get("permissionId")
|
|
991
|
+
if isinstance(permission_id, str) and permission_id:
|
|
992
|
+
return f"drive:{permission_id}"
|
|
993
|
+
except Exception as e:
|
|
994
|
+
logger.debug(
|
|
995
|
+
"Couldn't read the Drive identity for the cache (%s: %s)", type(e).__name__, e
|
|
996
|
+
)
|
|
997
|
+
email = getattr(context.credentials, "service_account_email", None)
|
|
998
|
+
# Compute Engine credentials report "default" until their first refresh.
|
|
999
|
+
if isinstance(email, str) and email and email != "default":
|
|
1000
|
+
return f"sa:{email}"
|
|
1001
|
+
return None
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
async def ensure_cache_principal(context: SpreadsheetContext, in_lifespan: bool = False) -> None:
|
|
1005
|
+
"""Bind `context`'s caches to its Google identity if they aren't bound yet.
|
|
1006
|
+
Best-effort: if the identity can't be read, the caches stay unbound (no cache
|
|
1007
|
+
hits, nothing stored) and the next call tries again. Never raises."""
|
|
1008
|
+
if context.cache_principal is not None or context.unauthorized_message is not None:
|
|
1009
|
+
return
|
|
1010
|
+
credentials = context.credentials
|
|
1011
|
+
try:
|
|
1012
|
+
principal = await _resolve_cache_principal(context, in_lifespan)
|
|
1013
|
+
except Exception as e:
|
|
1014
|
+
logger.debug("Couldn't resolve the cache identity (%s: %s)", type(e).__name__, e)
|
|
1015
|
+
return
|
|
1016
|
+
# While this waited, another call may have bound the caches, or a re-authorization
|
|
1017
|
+
# (apply_oauth_credentials) swapped in another account's token: then this identity
|
|
1018
|
+
# is the old token's, not the context's.
|
|
1019
|
+
if principal is None or context.cache_principal is not None:
|
|
1020
|
+
return
|
|
1021
|
+
if context.credentials is not credentials:
|
|
1022
|
+
return
|
|
1023
|
+
_bind_caches(context, principal)
|
|
1024
|
+
|
|
1025
|
+
|
|
937
1026
|
def _check_client_secrets() -> None:
|
|
938
1027
|
if not os.path.exists(CREDENTIALS_PATH):
|
|
939
1028
|
raise RuntimeError(
|
|
@@ -1238,7 +1327,7 @@ async def _build_context() -> SpreadsheetContext:
|
|
|
1238
1327
|
logger.debug("ADC resolved to a service-account-backed credential")
|
|
1239
1328
|
|
|
1240
1329
|
services = _build_services(creds)
|
|
1241
|
-
|
|
1330
|
+
context = SpreadsheetContext(
|
|
1242
1331
|
sheets_service=services["sheets"],
|
|
1243
1332
|
drive_service=services["drive"],
|
|
1244
1333
|
docs_service=services["docs"],
|
|
@@ -1251,8 +1340,10 @@ async def _build_context() -> SpreadsheetContext:
|
|
|
1251
1340
|
oauth_reauthorizable=resolved == "oauth",
|
|
1252
1341
|
credentials=creds,
|
|
1253
1342
|
oauth_generation=_oauth_generation,
|
|
1254
|
-
cache=SheetStructureCache(),
|
|
1255
1343
|
)
|
|
1344
|
+
# Best-effort: unbound, the first tool call tries again (reauth.before_call).
|
|
1345
|
+
await ensure_cache_principal(context, in_lifespan=True)
|
|
1346
|
+
return context
|
|
1256
1347
|
|
|
1257
1348
|
|
|
1258
1349
|
_SERVICE_VERSIONS = {
|