mcp-gee-sweet 0.9.1.dev45__tar.gz → 0.9.1.dev48__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.
Files changed (221) hide show
  1. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/PKG-INFO +1 -1
  2. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/drive_transfer.md +28 -1
  3. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/roadmap.md +5 -1
  4. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/drive/transfer.py +103 -10
  5. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/drive/test_transfer.py +174 -0
  6. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/cleanup-worktrees.md +0 -0
  7. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/merge-pr.md +0 -0
  8. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/notify-kai.md +0 -0
  9. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/notify-partner.md +0 -0
  10. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/orchestrator.md +0 -0
  11. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/prep-for-pr.md +0 -0
  12. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/qa-kickoff.md +0 -0
  13. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/release.md +0 -0
  14. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/retro.md +0 -0
  15. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/roadmap-status.md +0 -0
  16. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/start-worktree.md +0 -0
  17. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/team-member.md +0 -0
  18. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/commands/verify-pr.md +0 -0
  19. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/settings.json +0 -0
  20. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/amy.md +0 -0
  21. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/aziz.md +0 -0
  22. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/bob.md +0 -0
  23. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/dev.md +0 -0
  24. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/joy.md +0 -0
  25. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/kai.md +0 -0
  26. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.claude/team-roles/qa.md +0 -0
  27. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.dockerignore +0 -0
  28. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  29. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  30. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  31. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/dependabot.yml +0 -0
  32. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/workflows/ci.yml +0 -0
  33. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/workflows/docs.yml +0 -0
  34. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/workflows/publish-dev.yml +0 -0
  35. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.github/workflows/release.yml +0 -0
  36. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.gitignore +0 -0
  37. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.pre-commit-config.yaml +0 -0
  38. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/.python-version +0 -0
  39. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/CHANGELOG.md +0 -0
  40. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/CLAUDE.md +0 -0
  41. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/CODE_OF_CONDUCT.md +0 -0
  42. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/CONTRIBUTING.md +0 -0
  43. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/Dockerfile +0 -0
  44. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/LICENSE +0 -0
  45. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/Makefile +0 -0
  46. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/README.md +0 -0
  47. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/SECURITY.md +0 -0
  48. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docker-compose.yml +0 -0
  49. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/assets/logo.png +0 -0
  50. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/auth.md +0 -0
  51. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/client-setup.md +0 -0
  52. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/configuration.md +0 -0
  53. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-async-tool-execution.md +0 -0
  54. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
  55. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-cache-invalidation.md +0 -0
  56. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-chart-theming.md +0 -0
  57. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-comments-first-class.md +0 -0
  58. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-composite-tools.md +0 -0
  59. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-dev-team.md +0 -0
  60. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-docs-formatting.md +0 -0
  61. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-fork.md +0 -0
  62. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-grid-data-size-cap.md +0 -0
  63. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-local-fs-test-harness.md +0 -0
  64. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
  65. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-pillow-image-dependency.md +0 -0
  66. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-prompt-qa-role.md +0 -0
  67. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-publishing.md +0 -0
  68. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-release-docs-roles.md +0 -0
  69. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-repositioning.md +0 -0
  70. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
  71. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
  72. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-sync-folder-recursion.md +0 -0
  73. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/decision-testing.md +0 -0
  74. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/decisions/index.md +0 -0
  75. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/blockquote-representation.md +0 -0
  76. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/borderless-table-columns.md +0 -0
  77. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/doc-to-markdown.md +0 -0
  78. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/docs-ast-pipeline.md +0 -0
  79. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/effectiveformat-spike.md +0 -0
  80. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/heading-anchor-resolution.md +0 -0
  81. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/image-conversion.md +0 -0
  82. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/index.md +0 -0
  83. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/markdown-support.md +0 -0
  84. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design/phase3-theme-system.md +0 -0
  85. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/design.md +0 -0
  86. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/index.md +0 -0
  87. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/known-limitations.md +0 -0
  88. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/notes-read.md +0 -0
  89. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/README.md +0 -0
  90. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
  91. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
  92. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
  93. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
  94. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
  95. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
  96. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
  97. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
  98. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
  99. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
  100. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
  101. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
  102. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
  103. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
  104. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
  105. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
  106. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
  107. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
  108. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/fixtures.template.md +0 -0
  109. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/operations.yaml +0 -0
  110. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/playwright_oauth.md +0 -0
  111. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/.gitkeep +0 -0
  112. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-02.md +0 -0
  113. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-14.md +0 -0
  114. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-17.md +0 -0
  115. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-18.md +0 -0
  116. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
  117. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
  118. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-06-28.md +0 -0
  119. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-07-04-docs.md +0 -0
  120. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
  121. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-07-04-infra.md +0 -0
  122. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
  123. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-07-04.md +0 -0
  124. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/results/2026-09-04.md +0 -0
  125. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/retro-v0.8.0.md +0 -0
  126. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/retro-v0.9.0.md +0 -0
  127. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/run.md +0 -0
  128. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/runs/README.md +0 -0
  129. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/runs/v0.8.0.md +0 -0
  130. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/runs/v0.8.1.md +0 -0
  131. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/runs/v0.9.0.md +0 -0
  132. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/setup.md +0 -0
  133. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/calendar.md +0 -0
  134. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/docs_content.md +0 -0
  135. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/docs_layout.md +0 -0
  136. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/docs_style.md +0 -0
  137. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/docs_tables.md +0 -0
  138. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/drive_activity.md +0 -0
  139. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/drive_files.md +0 -0
  140. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/drive_sharing.md +0 -0
  141. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/infra.md +0 -0
  142. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/sheets_charts.md +0 -0
  143. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/sheets_mgmt.md +0 -0
  144. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/sheets_read.md +0 -0
  145. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/qa/tests/sheets_write.md +0 -0
  146. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/style-guide.md +0 -0
  147. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/docs/tools.md +0 -0
  148. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/mkdocs.yml +0 -0
  149. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/pyproject.toml +0 -0
  150. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/pyrightconfig.json +0 -0
  151. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/scripts/gen_tool_docs.py +0 -0
  152. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/scripts/oauth_setup.py +0 -0
  153. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/scripts/setup_team.sh +0 -0
  154. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/server.json +0 -0
  155. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/.env.template +0 -0
  156. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/__init__.py +0 -0
  157. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/auth.py +0 -0
  158. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/cache.py +0 -0
  159. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/http_transport.py +0 -0
  160. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/server.py +0 -0
  161. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/__init__.py +0 -0
  162. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/cache.py +0 -0
  163. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/calendar.py +0 -0
  164. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
  165. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
  166. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/ast.py +0 -0
  167. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +0 -0
  168. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
  169. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/content.py +0 -0
  170. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +0 -0
  171. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/editing.py +0 -0
  172. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/emitter.py +0 -0
  173. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/html_parser.py +0 -0
  174. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
  175. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
  176. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/layout.py +0 -0
  177. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/markdown_export.py +0 -0
  178. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/named_ranges.py +0 -0
  179. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/style.py +0 -0
  180. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/docs/tables.py +0 -0
  181. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
  182. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
  183. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
  184. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
  185. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
  186. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
  187. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
  188. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
  189. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
  190. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/__init__.py +0 -0
  191. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/drive/__init__.py +0 -0
  192. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/drive/test_activity.py +0 -0
  193. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/drive/test_files.py +0 -0
  194. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/drive/test_sharing.py +0 -0
  195. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/integration/__init__.py +0 -0
  196. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/integration/conftest.py +0 -0
  197. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/integration/test_local_fs_harness.py +0 -0
  198. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/sheets/__init__.py +0 -0
  199. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/sheets/test_data.py +0 -0
  200. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/sheets/test_helpers.py +0 -0
  201. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/sheets/test_structure.py +0 -0
  202. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_auth.py +0 -0
  203. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_cache.py +0 -0
  204. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_calendar.py +0 -0
  205. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_anchors.py +0 -0
  206. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_comments.py +0 -0
  207. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_content.py +0 -0
  208. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_core.py +0 -0
  209. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_editing.py +0 -0
  210. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_images.py +0 -0
  211. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_indices.py +0 -0
  212. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_layout.py +0 -0
  213. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_markdown_export.py +0 -0
  214. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_named_ranges.py +0 -0
  215. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_style.py +0 -0
  216. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_docs_tables.py +0 -0
  217. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_gen_tool_docs.py +0 -0
  218. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_response_limits.py +0 -0
  219. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_server.py +0 -0
  220. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/tests/test_server_json.py +0 -0
  221. {mcp_gee_sweet-0.9.1.dev45 → mcp_gee_sweet-0.9.1.dev48}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-gee-sweet
3
- Version: 0.9.1.dev45
3
+ Version: 0.9.1.dev48
4
4
  Summary: MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), and Calendar.
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
@@ -1324,7 +1324,7 @@ Remove `/tmp/qa-download-316/`.
1324
1324
 
1325
1325
  ### TC-D199: `download_folder` and `sync_folder` emit `notifications/progress` updates as each transfer completes (issue #316)
1326
1326
 
1327
- **Background:** Both tools previously ran silently for their entire duration — the 226s `download_folder` call above returned nothing until the very end, with no indication to the caller of whether it was working or hung. Both now call `ctx.report_progress()` from inside each individual transfer's own coroutine right as it finishes, not after the whole concurrent batch resolves, so a caller that supplied a progressToken sees a live stream of updates spread across the call's duration instead of one final burst. The two tools' messages aren't identical: `download_folder` knows its file count upfront (a single non-recursive listing), so it reports a real `total` and a message like `"12/217: report.pdf: ok"`. `sync_folder` doesn't know the total ahead of time (recursive descent discovers files level by level), so it always passes `total=None` and reports a running count with a message like `"readme.txt: download_ok"` — no "N/total" prefix. Progress is file-count based, not byte-size, for both: neither tool's Drive listing fetches a `size` field, and a Workspace file's exported size is unknown until after the export completes, so an accurate byte total isn't available upfront (a size-based mode is tracked separately in #352). `sync_folder`'s dry-run mode never transfers anything, so it never reports progress either. `ctx.report_progress()` itself is wrapped in a try/except at both call sites (PR #351 review) — a failed notification (e.g. a dropped session) no longer downgrades an already-successful transfer to a reported failure.
1327
+ **Background:** Both tools previously ran silently for their entire duration — the 226s `download_folder` call above returned nothing until the very end, with no indication to the caller of whether it was working or hung. Both now call `ctx.report_progress()` from inside each individual transfer's own coroutine right as it finishes, not after the whole concurrent batch resolves, so a caller that supplied a progressToken sees a live stream of updates spread across the call's duration instead of one final burst. The two tools' messages aren't identical: `download_folder` knows its file count upfront (a single non-recursive listing), so it reports a real `total` and a message like `"12/217: report.pdf: ok"`. `sync_folder` doesn't know the total ahead of time (recursive descent discovers files level by level), so it always passes `total=None` and reports a running count with a message like `"readme.txt: download_ok"` — no "N/total" prefix. Progress is file-count based, not byte-size, for both — neither tool's Drive listing fetched a `size` field at the time this was written, and a Workspace file's exported size is unknown until after the export completes, so an accurate byte total wasn't available upfront. #352 (see TC-D255) later added bytes transferred so far to the message text as supplementary context, without changing this primary file-count metric. `sync_folder`'s dry-run mode never transfers anything, so it never reports progress either. `ctx.report_progress()` itself is wrapped in a try/except at both call sites (PR #351 review) — a failed notification (e.g. a dropped session) no longer downgrades an already-successful transfer to a reported failure.
1328
1328
 
1329
1329
  **Note:** `notifications/progress` is a protocol-level message, not part of the tool's JSON response — whether it's visible during this QA pass depends on whether the MCP client surfaces raw progress notifications in the transcript. The exact per-item call count, `total`, and message content are already asserted against a mocked `ctx` in `tests/drive/test_transfer.py::TestDownloadFolder::test_reports_progress_as_files_complete` and `TestSyncFolderRecursive::test_reports_progress_for_each_transfer_not_after_the_whole_batch`/`test_dry_run_reports_no_progress`. If the client doesn't surface progress notifications, this check can only confirm the call still completes normally with the notification calls in place.
1330
1330
 
@@ -1350,6 +1350,33 @@ download_folder scratch→/tmp/qa-progress-316/ export_format=txt completed norm
1350
1350
 
1351
1351
  ---
1352
1352
 
1353
+ ### TC-D255: `download_folder`/`sync_folder` progress messages add bytes transferred so far as supplementary context (issue #352)
1354
+
1355
+ **Background:** TC-D199 (#316) noted progress was file-count-based only, with byte-size progress tracked separately as #352 — "one 2GB file completing looks identical, progress-wise, to one 2KB file completing." Fixed without changing the primary `progress`/`total` metric (still file-count-based in both tools — a byte total isn't always knowable upfront, since Drive omits `size` entirely for Workspace files until their export actually completes): the message text now appends bytes transferred so far as supplementary context. `download_folder`'s Drive listing now also fetches `size`, so when every candidate in a call has a known size (no Workspace export in the batch) the message shows an accurate upfront total, e.g. `"12/217, 4823001/98234112 bytes: report.pdf: ok"`; if any candidate's size is unknown, it falls back to a denominator-less running count, e.g. `"12/217, 4823001 bytes so far: report.pdf: ok"`. `sync_folder` never has a knowable upfront byte total (recursive descent discovers files level by level, same reason it already has no file-count total per TC-D199) — its message always uses the running-count form, e.g. `"readme.txt: upload_ok, 40231 bytes so far"`. Unit-tested deterministically against a mocked `ctx` in `tests/drive/test_transfer.py::TestDownloadFolder::test_progress_message_falls_back_to_running_bytes_when_sizes_unknown`/`test_progress_message_includes_byte_total_when_sizes_known` and `TestSyncFolderRecursive::test_progress_message_includes_running_bytes_transferred`; this live check confirms the message text against a real API call.
1356
+
1357
+ **Note:** Same protocol-level caveat as TC-D199 — `notifications/progress` isn't part of the tool's JSON response, so visibility depends on whether this QA client sets a `progressToken`. If it doesn't, this check can only confirm the call still completes normally with the new byte-counting logic in place (no exception from the added `int(f["size"])` parsing, etc.).
1358
+
1359
+ **Setup**
1360
+ In `{FOLDER_ID}`, ensure at least 3 non-Workspace files exist (so `download_folder`'s upfront byte total is exercised).
1361
+
1362
+ **Prompt**
1363
+ > "Download all files from {FOLDER_ID} to `/tmp/qa-progress-352/`"
1364
+
1365
+ **Checks**
1366
+ - If progress notifications are visible in the client: each message includes a byte count alongside the file-count prefix, e.g. "2/5, 1234/50000 bytes: notes.txt: ok"
1367
+ - Regardless of notification visibility: the call completes normally and `downloaded`/`size_bytes` are correct
1368
+
1369
+ **Teardown**
1370
+ Remove `/tmp/qa-progress-352/`.
1371
+
1372
+ **Result (2026-09-13) ✅ PASS (no-progress-notification path; blocking findings sent back separately)** — Ran against an isolated scratch folder (not `{FOLDER_ID}`, which currently has no non-Workspace files — avoids dragging fixture pollution into a destructive test) containing 3 fresh binary files (5/7/9 bytes). `download_folder` completed normally: `downloaded: ["a.bin", "b.bin", "c.bin"]`, `size_bytes: 21` — matches the real total (5+7+9), confirming the byte-tracking is correct end-to-end even though raw `notifications/progress` wasn't surfaced through this MCP client path (same caveat as TC-D199). `tests/drive/test_transfer.py` (132 tests) passes. Scratch folder trashed as teardown.
1373
+
1374
+ Code review surfaced 3 blocking findings on this PR's own new code (sent back to Dev, not re-verified here yet): (1) the new `p.stat().st_size` call in `_sync_level`'s upload path sits inside the same try/except as the Drive write, so a stat() failure after a successful upload is misreported as a failure with no `fileId` — unlike the established restamp-failure pattern; (2) `download_folder`'s `if bytes_total_known and total_bytes_expected:` truthy-checks the byte total instead of checking `is not None`, so an all-zero-byte-file batch silently loses the accurate-total message form; (3) `test_progress_message_includes_byte_total_when_sizes_known`'s fake downloader writes a fixed 5 bytes regardless of declared size, so the test never actually verifies the accumulated-bytes numerator, only that the (correct) declared-size denominator appears in some message. Two non-blocking findings filed as #740 (candidates-tuple positional fragility, pre-existing convention) and #741 (structured `progress`/`total` fields never carrying byte data, a design question for the maintainer).
1375
+
1376
+ **Result (2026-09-13) ✅ PASS (re-verification, fix `5a52476`)** — All 3 findings fixed as one commit: (1) the `p.stat()` call now has its own try/except reporting `fileId` on failure, matching the restamp-failure pattern, with a new dedicated unit test (`test_upload_stat_failure_after_successful_write_reports_orphan_fileId`, monkeypatched `Path.stat`); (2)+(3) a shared `_format_bytes_note(so_far, total)` helper (checked via `is not None`) now backs both `download_folder` and `_sync_level`, and the byte-total test's fake downloader now writes each candidate's own real declared size (5/7, not a fixed 5) with assertions on the actual per-completion messages, not just denominator presence. Re-ran live post-`/mcp reconnect`: (a) the original 3-file scratch-folder download still returns `size_bytes: 21` correctly; (b) a fresh scratch folder with 2 genuine 0-byte files — the exact edge case finding 2 was about — downloads cleanly with `size_bytes: 0`, no exception. `tests/drive/test_transfer.py` (133 tests) passes. Both scratch folders trashed as teardown.
1377
+
1378
+ ---
1379
+
1353
1380
  ### TC-D200: `download_folder` — two Drive files with the same name no longer race or double-count (PR #351 review) ⚠️ local-filesystem
1354
1381
 
1355
1382
  **Background:** QA's TC-D198 pass live-reproduced a correctness bug in the concurrency fix: `download_folder`'s candidate-collection loop checked `skip_if_exists` against the pre-transfer filesystem state for every Drive file before any download started. Drive allows two files with the same name (distinct IDs) in one folder — the local filesystem doesn't — so two same-named files both passed the check and were queued into the same concurrent batch, racing to write the identical local path. The prior sequential implementation was accidentally safe here (each file's existence check ran only after the previous file had fully written). Fixed by deduping candidates by destination path as they're collected: the first file claims the path, later files with the same destination are recorded under `failed` with an explanatory "duplicate filename" error instead of being queued to write. Unit-tested deterministically (`tests/drive/test_transfer.py::TestDownloadFolder::test_duplicate_drive_filenames_do_not_race_or_double_count`); this live check confirms the fix against the exact fixture-drift scenario QA's TC-D198 run hit.
@@ -208,7 +208,7 @@ No new tools. Same shape as v0.8.1 — stabilize on defects that surfaced since
208
208
 
209
209
  **Sheets hardening** _(triaged out of `backlog` 2026-09-11 — see the "Backlog triage" note below)_
210
210
  - [x] `update_sheet_properties`/dimension-tool hardening + dedup follow-ups from PR #321's review ([#323](https://github.com/khuisman/mcp-gee-sweet/issues/323)) (PR #734)
211
- - [ ] `update_borders` hardening + dedup follow-ups from PR #325's review ([#330](https://github.com/khuisman/mcp-gee-sweet/issues/330))
211
+ - [x] `update_borders` hardening + dedup follow-ups from PR #325's review ([#330](https://github.com/khuisman/mcp-gee-sweet/issues/330)) (PR #738)
212
212
  - [ ] No tool clears a data validation rule, and no tool exposes a range's numeric `sheetId` ([#365](https://github.com/khuisman/mcp-gee-sweet/issues/365))
213
213
  - [ ] `add_data_validation`: validate the `values` count/shape against `condition_type` before the API call ([#366](https://github.com/khuisman/mcp-gee-sweet/issues/366))
214
214
  - [ ] Dedupe `_get_sheet_id`/`_get_sheet_index` lookup logic; add happy-path test coverage ([#442](https://github.com/khuisman/mcp-gee-sweet/issues/442))
@@ -234,6 +234,7 @@ No new tools. Same shape as v0.8.1 — stabilize on defects that surfaced since
234
234
  - [ ] `TestIsolatedDepthRunGlyph` asserts request shape, not rendered nesting outcome (PR #711) ([#715](https://github.com/khuisman/mcp-gee-sweet/issues/715))
235
235
  - [ ] `style_doc_range` has no `font_family` parameter — can't apply monospace to an existing range ([#720](https://github.com/khuisman/mcp-gee-sweet/issues/720))
236
236
  - [x] Extract a shared helper for the isolated-bullet-run zero-tab anchor mechanic (`emitter.py` ↔ `style.py`); harden its regression test (`lane-a`) ([#727](https://github.com/khuisman/mcp-gee-sweet/issues/727)) (PR #735)
237
+ - [ ] `doc_to_ast.py`'s Courier-New soft-break reversal is per-run, not per-paragraph — mismatched-style edge case can emit malformed inline code with an embedded newline (PR #730 follow-up) ([#732](https://github.com/khuisman/mcp-gee-sweet/issues/732))
237
238
 
238
239
  **Drive hardening & dedup** _(triaged out of `backlog` 2026-09-11)_
239
240
  - [ ] `download_folder`/`sync_folder` progress notifications: report bytes transferred, not just file count ([#352](https://github.com/khuisman/mcp-gee-sweet/issues/352))
@@ -247,11 +248,14 @@ No new tools. Same shape as v0.8.1 — stabilize on defects that surfaced since
247
248
  - [ ] Extend the `_GOOGLE_DOC_MIME` sweep to remaining hardcoded-literal and comparison sites (#412 follow-up) ([#544](https://github.com/khuisman/mcp-gee-sweet/issues/544))
248
249
  - [ ] `refactor(drive)`: dedupe `mime_type` quote-escaping and list-files response mapping in `files.py` ([#578](https://github.com/khuisman/mcp-gee-sweet/issues/578))
249
250
  - [x] `list_folders`/`list_spreadsheets` no-parent + no-`DRIVE_FOLDER_ID` path is unbounded across all drives, no `max_results` (`lane-a`) ([#718](https://github.com/khuisman/mcp-gee-sweet/issues/718)) (PR #736)
251
+ - [ ] `download_file` trailing-slash guard: fail-fast ordering, dead `os.altsep` clause, raw `NotADirectoryError` surface (PR #722 follow-up) ([#724](https://github.com/khuisman/mcp-gee-sweet/issues/724))
252
+ - [ ] Deduplicate the `max_results` clamp expression, hand-copied 8x across `drive/files.py` with inconsistent caps (PR #736 follow-up) ([#737](https://github.com/khuisman/mcp-gee-sweet/issues/737))
250
253
 
251
254
  **Calendar hardening** _(triaged out of `backlog` 2026-09-11)_
252
255
  - [ ] `list_calendar_acl` pagination fix (#460) needs a response-size cap, loop safety bound, and partial-failure handling ([#615](https://github.com/khuisman/mcp-gee-sweet/issues/615))
253
256
  - [ ] `list_all_events` concurrency cap: per-invocation only, no env override ([#626](https://github.com/khuisman/mcp-gee-sweet/issues/626))
254
257
  - [ ] `_shape_event`: `get_event` still duplicates it, no null-guard, no kwarg-collision guard ([#627](https://github.com/khuisman/mcp-gee-sweet/issues/627))
258
+ - [ ] `find_free_slots`/`list_all_events`: unify duplicated id-to-summary lookup, align empty-string fallback (PR #725 follow-up) ([#726](https://github.com/khuisman/mcp-gee-sweet/issues/726))
255
259
 
256
260
  **Testing** _(triaged out of `backlog` 2026-09-11)_
257
261
  - [ ] Duplicate fake-Sheets-service test scaffolding in `test_helpers.py` ([#392](https://github.com/khuisman/mcp-gee-sweet/issues/392))
@@ -121,6 +121,25 @@ def _restamp_failure_result(file_id: str, exc: Exception) -> dict[str, Any]:
121
121
  }
122
122
 
123
123
 
124
+ def _format_bytes_note(so_far: int, total: int | None) -> str:
125
+ """Progress-message byte-count suffix shared by download_folder's
126
+ _download_one and _sync_level's _run_one_with_progress (#352 QA review,
127
+ finding #3 — these were previously duplicated with different shapes despite
128
+ an inline comment claiming they shared "the same principle"). `total` is
129
+ the accurate upfront byte total when every candidate's size is known ahead
130
+ of time (download_folder only — sync_folder never has one, recursive
131
+ descent discovers files level by level), or None otherwise. Checked via
132
+ `is not None`, not truthiness — a genuine all-zero-byte total (e.g. a
133
+ batch of only empty files) must still render as 'N/0 bytes' rather than
134
+ silently falling back to the less precise running-count form (finding #2:
135
+ the original per-site checks each truthy-tested the total instead)."""
136
+ if total is not None:
137
+ return f", {so_far}/{total} bytes"
138
+ if so_far:
139
+ return f", {so_far} bytes so far"
140
+ return ""
141
+
142
+
124
143
  async def _upload_local_file(
125
144
  drive_service,
126
145
  local_path: str,
@@ -345,6 +364,7 @@ async def _sync_level(
345
364
  folders_skipped: list[str],
346
365
  ctx: Context,
347
366
  progress_count: list[int],
367
+ progress_bytes: list[int],
348
368
  ) -> int:
349
369
  """
350
370
  Sync the files directly inside one Drive-folder/local-dir pair and, if `recursive`,
@@ -784,6 +804,7 @@ async def _sync_level(
784
804
  .execute,
785
805
  drive_service,
786
806
  )
807
+ synced_id = fid
787
808
  logger.debug("Synced (update) %s%s → Drive", rel_prefix, name)
788
809
  else:
789
810
  body: dict[str, Any] = {
@@ -843,8 +864,28 @@ async def _sync_level(
843
864
  "name": name,
844
865
  **_restamp_failure_result(created["id"], e),
845
866
  }
867
+ synced_id = created["id"]
846
868
  logger.debug("Synced (create) %s%s → Drive", rel_prefix, name)
847
- return {"kind": "upload_ok", "name": name}
869
+ try:
870
+ size = p.stat().st_size
871
+ except OSError as e:
872
+ # The Drive write above already succeeded — synced_id names a
873
+ # real Drive object even though this stat then failed (e.g.
874
+ # the local file was deleted/moved in the window between the
875
+ # write and this stat). Report fileId alongside the error so
876
+ # it isn't left untracked, mirroring the restamp-failure
877
+ # pattern above (#420/#650) for the same reason (#352 QA
878
+ # review, finding #1).
879
+ return {
880
+ "kind": "upload_fail",
881
+ "name": name,
882
+ "error": (
883
+ f"synced to Drive file {synced_id!r} but failed to stat "
884
+ f"the local file afterward: {e}"
885
+ ),
886
+ "fileId": synced_id,
887
+ }
888
+ return {"kind": "upload_ok", "name": name, "bytes": size}
848
889
  except Exception as e:
849
890
  # Catch-all for the create()/update() calls above — a
850
891
  # storageQuotaExceeded HttpError lands here too, so render it
@@ -937,11 +978,20 @@ async def _sync_level(
937
978
  # live progress during the wait (the actual complaint in #316).
938
979
  if result["kind"] in ("upload_ok", "upload_fail", "download_ok", "download_fail"):
939
980
  progress_count[0] += 1
981
+ # progress stays file-count-based with no total (recursive descent
982
+ # means the overall file count isn't known upfront) — bytes
983
+ # transferred so far are supplementary context in the message only
984
+ # (#352). sync_folder never has a reliable upfront byte total
985
+ # (unlike download_folder), so total is always None here.
986
+ bytes_note = ""
987
+ if "bytes" in result:
988
+ progress_bytes[0] += result["bytes"]
989
+ bytes_note = _format_bytes_note(progress_bytes[0], None)
940
990
  try:
941
991
  await ctx.report_progress(
942
992
  progress_count[0],
943
993
  None,
944
- f"{rel_prefix}{result['name']}: {result['kind']}",
994
+ f"{rel_prefix}{result['name']}: {result['kind']}{bytes_note}",
945
995
  )
946
996
  except Exception:
947
997
  # The transfer already succeeded or failed on its own terms —
@@ -1101,6 +1151,7 @@ async def _sync_level(
1101
1151
  folders_skipped,
1102
1152
  ctx,
1103
1153
  progress_count,
1154
+ progress_bytes,
1104
1155
  )
1105
1156
 
1106
1157
  # Sibling subfolders are independent — descend into all of them concurrently
@@ -1763,7 +1814,15 @@ def register(tool):
1763
1814
 
1764
1815
  Files transfer concurrently rather than one at a time. If the caller supplied
1765
1816
  a progressToken, a `notifications/progress` update is sent as each file
1766
- finishes (e.g. "12/217: report.pdf: ok").
1817
+ finishes (e.g. "12/217: report.pdf: ok"). The `progress`/`total` values
1818
+ stay file-count-based (a byte total isn't always knowable upfront — Drive
1819
+ only reports `size` for non-Workspace files, so a folder containing
1820
+ Workspace files with export_format set has no reliable total byte count
1821
+ until each export actually completes) — the message text adds bytes
1822
+ transferred so far as supplementary context (#352), e.g.
1823
+ "12/217, 4823001/98234112 bytes: report.pdf: ok" when every candidate's
1824
+ size is known upfront, or "12/217, 4823001 bytes so far: report.pdf: ok"
1825
+ when one or more candidates (a Workspace export) has an unknown size.
1767
1826
 
1768
1827
  Args:
1769
1828
  folder_id: The Google Drive folder ID.
@@ -1794,7 +1853,7 @@ def register(tool):
1794
1853
  spaces="drive",
1795
1854
  includeItemsFromAllDrives=True,
1796
1855
  supportsAllDrives=True,
1797
- fields="files(id, name, mimeType)",
1856
+ fields="files(id, name, mimeType, size)",
1798
1857
  pageSize=1000,
1799
1858
  orderBy="name",
1800
1859
  )
@@ -1807,12 +1866,17 @@ def register(tool):
1807
1866
  failed: list[dict[str, str]] = []
1808
1867
  total_bytes = 0
1809
1868
 
1810
- candidates: list[tuple[str, str, bool, Path]] = []
1869
+ # size is None for a Workspace file (Drive omits the field entirely — export
1870
+ # size isn't known until the export itself completes) or if Drive simply
1871
+ # didn't report it; every other candidate's size is known upfront from this
1872
+ # same listing call, at no extra cost (#352).
1873
+ candidates: list[tuple[str, str, bool, Path, int | None]] = []
1811
1874
  claimed_dest: set[str] = set()
1812
1875
  for f in results.get("files", []):
1813
1876
  fid = f["id"]
1814
1877
  fname = f["name"]
1815
1878
  fmime = f.get("mimeType", "")
1879
+ fsize = int(f["size"]) if f.get("size") is not None else None
1816
1880
 
1817
1881
  if fmime == "application/vnd.google-apps.folder":
1818
1882
  # Non-recursive: subfolders are never descended into or exported.
@@ -1861,15 +1925,28 @@ def register(tool):
1861
1925
  continue
1862
1926
  claimed_dest.add(dest_key)
1863
1927
 
1864
- candidates.append((fid, fname, is_workspace, dest_file))
1928
+ # A Workspace candidate's export target is a different byte size than
1929
+ # fsize (the original document's own stored size, itself usually None
1930
+ # anyway) — never carry fsize through for one, so it's correctly
1931
+ # treated as "unknown" below rather than an inaccurate upfront total.
1932
+ candidates.append(
1933
+ (fid, fname, is_workspace, dest_file, None if is_workspace else fsize)
1934
+ )
1865
1935
 
1866
1936
  total = len(candidates)
1867
1937
  completed = 0
1938
+ bytes_completed = 0
1939
+ # A reliable upfront total requires every candidate's size to be known —
1940
+ # one Workspace export with an unknown size makes any "expected total"
1941
+ # inaccurate, so the message falls back to a running count with no
1942
+ # denominator in that case rather than implying a precision it doesn't have.
1943
+ total_bytes_expected = sum(s for *_, s in candidates if s is not None)
1944
+ bytes_total_known = all(s is not None for *_, s in candidates)
1868
1945
 
1869
1946
  async def _download_one(
1870
1947
  fid: str, fname: str, is_workspace: bool, dest_file: Path
1871
1948
  ) -> dict[str, Any]:
1872
- nonlocal completed
1949
+ nonlocal completed, bytes_completed
1873
1950
  try:
1874
1951
  if is_workspace:
1875
1952
  target_mime = _EXPORT_MIME[export_format][0]
@@ -1903,9 +1980,18 @@ def register(tool):
1903
1980
  # each concurrent download finishes rather than arriving in one burst
1904
1981
  # after asyncio.gather resolves — see #316.
1905
1982
  completed += 1
1983
+ if result["kind"] == "ok":
1984
+ bytes_completed += result["bytes"]
1985
+ # progress/total stay file-count-based (see the docstring's #352 note);
1986
+ # bytes transferred so far are supplementary context in the message only.
1987
+ bytes_note = _format_bytes_note(
1988
+ bytes_completed, total_bytes_expected if bytes_total_known else None
1989
+ )
1906
1990
  try:
1907
1991
  await ctx.report_progress(
1908
- completed, total, f"{completed}/{total}: {result['name']}: {result['kind']}"
1992
+ completed,
1993
+ total,
1994
+ f"{completed}/{total}{bytes_note}: {result['name']}: {result['kind']}",
1909
1995
  )
1910
1996
  except Exception:
1911
1997
  # The download already succeeded or failed on its own terms — a
@@ -1920,7 +2006,9 @@ def register(tool):
1920
2006
  # Concurrent fan-out, same pattern as _sync_level's _run_one: previously this
1921
2007
  # was a sequential `for` loop awaiting one transfer at a time (#316), which
1922
2008
  # measured 1.04s/file and scaled linearly with folder size.
1923
- raw = await asyncio.gather(*(_download_one(*c) for c in candidates), return_exceptions=True)
2009
+ raw = await asyncio.gather(
2010
+ *(_download_one(*c[:4]) for c in candidates), return_exceptions=True
2011
+ )
1924
2012
 
1925
2013
  for c, o in zip(candidates, raw, strict=True):
1926
2014
  if isinstance(o, BaseException):
@@ -2060,7 +2148,11 @@ def register(tool):
2060
2148
  If the caller supplied a progressToken, a `notifications/progress` update is
2061
2149
  sent as each individual upload/download completes (skips and conflicts don't
2062
2150
  emit updates — they're free, not transfers). No update is sent during dry_run,
2063
- since nothing is transferred.
2151
+ since nothing is transferred. `progress` stays a running file-transfer count
2152
+ with no `total` (recursive descent means the overall file count isn't known
2153
+ upfront) — the message text adds a running total of bytes transferred so far
2154
+ as supplementary context (#352), e.g. "notes.txt: upload_ok, 40231 bytes
2155
+ so far".
2064
2156
 
2065
2157
  Args:
2066
2158
  folder_id: Google Drive folder ID to sync against.
@@ -2191,6 +2283,7 @@ def register(tool):
2191
2283
  folders_skipped,
2192
2284
  ctx,
2193
2285
  [0],
2286
+ [0],
2194
2287
  )
2195
2288
 
2196
2289
  result: dict[str, Any] = {
@@ -1320,6 +1320,85 @@ class TestSyncFolderRecursive:
1320
1320
  assert any("a.txt" in m for m in messages)
1321
1321
  assert any("b.txt" in m for m in messages)
1322
1322
 
1323
+ async def test_progress_message_includes_running_bytes_transferred(self, tmp_path):
1324
+ """#352: sync_folder's progress/total stay file-count-based with no total
1325
+ (recursive descent means the overall count isn't known upfront) — the
1326
+ message text adds a running total of bytes transferred so far as
1327
+ supplementary context."""
1328
+ (tmp_path / "a.txt").write_text("hi") # 2 bytes
1329
+ (tmp_path / "b.txt").write_text("bye!") # 4 bytes
1330
+ fs = _FakeDriveFS({"root": []})
1331
+ ctx = self._ctx(fs)
1332
+
1333
+ result = await _transfer_tools["sync_folder"](
1334
+ folder_id="root",
1335
+ local_path=str(tmp_path),
1336
+ direction="upload",
1337
+ ctx=ctx,
1338
+ )
1339
+ assert set(result["uploaded"]) == {"a.txt", "b.txt"}
1340
+ messages = [c.args[2] for c in ctx.report_progress.await_args_list]
1341
+ assert all(m.endswith("bytes so far") for m in messages)
1342
+ # progress/total (args[0]/args[1]) are unaffected — still file-count-based
1343
+ # with no total, per the docstring's own documented Progress behavior.
1344
+ for c in ctx.report_progress.await_args_list:
1345
+ assert c.args[1] is None
1346
+ # Running total accumulates across both uploads (2 then 6, in whichever
1347
+ # order the concurrent gather completes them).
1348
+ assert any("6 bytes so far" in m for m in messages)
1349
+
1350
+ async def test_upload_stat_failure_after_successful_write_reports_orphan_fileId(
1351
+ self, tmp_path, monkeypatch
1352
+ ):
1353
+ """#352 QA review, finding #1: the new bytes-reporting `p.stat()` call
1354
+ used to sit inside the same try/except that covers the Drive create()/
1355
+ update() calls above it. If the local file is deleted/moved in the
1356
+ window between the Drive write succeeding and this stat() call, the
1357
+ exception fell into the enclosing except and reported upload_fail with
1358
+ no fileId — unlike the restamp-failure branch a few lines above
1359
+ (#420/#650), which deliberately reports fileId so a genuinely-created
1360
+ Drive object isn't left untracked. The stat() call now has its own
1361
+ try/except mirroring that pattern."""
1362
+ local_file = tmp_path / "a.txt"
1363
+ local_file.write_text("hi")
1364
+ fs = _FakeDriveFS({"root": []})
1365
+ ctx = self._ctx(fs)
1366
+
1367
+ real_stat = Path.stat
1368
+
1369
+ def _flaky_stat(self, *args, **kwargs):
1370
+ # Raise only once the fake Drive write has actually landed —
1371
+ # simulates the local file vanishing in the window between the
1372
+ # Drive write succeeding and the post-write size stat(), without
1373
+ # having to guess how many earlier stat() calls (e.g. the
1374
+ # pre-upload mtime read) happen first.
1375
+ if self == local_file and fs.created_files:
1376
+ raise OSError("No such file or directory")
1377
+ return real_stat(self, *args, **kwargs)
1378
+
1379
+ monkeypatch.setattr(Path, "stat", _flaky_stat)
1380
+
1381
+ result = await _transfer_tools["sync_folder"](
1382
+ folder_id="root",
1383
+ local_path=str(tmp_path),
1384
+ direction="upload",
1385
+ ctx=ctx,
1386
+ )
1387
+
1388
+ # The Drive write genuinely succeeded before the stat() failed.
1389
+ assert len(fs.created_files) == 1
1390
+ assert result["uploaded"] == []
1391
+ assert len(result["failed"]) == 1
1392
+ entry = result["failed"][0]
1393
+ assert entry["name"] == "a.txt"
1394
+ assert "failed to stat the local file afterward" in entry["error"]
1395
+ assert entry["fileId"] == "new-file-1"
1396
+ # A genuine Drive-side change still earns a cache invalidation, the same
1397
+ # as a real upload_ok (mirrors the restamp-failure case above).
1398
+ ctx.request_context.lifespan_context.drive_folder_cache.mark_dirty.assert_called_once_with(
1399
+ "root"
1400
+ )
1401
+
1323
1402
  async def test_dry_run_reports_no_progress(self, tmp_path):
1324
1403
  """dry_run transfers nothing, so no progress update should fire either."""
1325
1404
  (tmp_path / "a.txt").write_text("hi")
@@ -2741,6 +2820,101 @@ class TestDownloadFolder:
2741
2820
  for c in ctx.report_progress.await_args_list:
2742
2821
  assert c.args[1] == 2 # total
2743
2822
 
2823
+ async def test_progress_message_falls_back_to_running_bytes_when_sizes_unknown(self, tmp_path):
2824
+ """#352: Drive doesn't report a `size` for Workspace files, so an upfront
2825
+ byte total isn't knowable when export_format is exporting them — the
2826
+ message falls back to a running byte count with no '/total' denominator
2827
+ rather than fabricating one. progress/total (the primary metric) stay
2828
+ file-count-based either way."""
2829
+ svc = MagicMock()
2830
+ svc.files.return_value.list.return_value.execute.return_value = {
2831
+ "files": [
2832
+ {
2833
+ "id": "doc1",
2834
+ "name": "Doc One",
2835
+ "mimeType": "application/vnd.google-apps.document",
2836
+ },
2837
+ {
2838
+ "id": "doc2",
2839
+ "name": "Doc Two",
2840
+ "mimeType": "application/vnd.google-apps.document",
2841
+ },
2842
+ ]
2843
+ }
2844
+ svc.files.return_value.export.return_value.execute.return_value = b"content"
2845
+ ctx = self._ctx(svc)
2846
+
2847
+ result = await _transfer_tools["download_folder"](
2848
+ folder_id="root",
2849
+ local_path=str(tmp_path),
2850
+ export_format="pdf",
2851
+ ctx=ctx,
2852
+ )
2853
+ assert result["failed"] == []
2854
+ messages = [c.args[2] for c in ctx.report_progress.await_args_list]
2855
+ assert all("bytes so far:" in m for m in messages)
2856
+ assert not any(" bytes:" in m for m in messages)
2857
+ for c in ctx.report_progress.await_args_list:
2858
+ assert c.args[1] == 2 # total stays file-count-based
2859
+
2860
+ async def test_progress_message_includes_byte_total_when_sizes_known(
2861
+ self, tmp_path, monkeypatch
2862
+ ):
2863
+ """#352: non-Workspace candidates report `size` in the same Drive listing
2864
+ call, so an accurate upfront byte total is known — the message shows it
2865
+ as 'transferred/total bytes' instead of a denominator-less running count.
2866
+ The fake downloader writes each candidate's own listed size (5 and 7,
2867
+ not a fixed amount for both) so the numerator is checked against the
2868
+ real accumulated total, not just the denominator's presence (#352 QA
2869
+ review, finding #4 — the original version's fixed 5-byte-per-file fake
2870
+ would have passed even if bytes_completed accumulation regressed)."""
2871
+ svc = MagicMock()
2872
+ svc.files.return_value.list.return_value.execute.return_value = {
2873
+ "files": [
2874
+ {
2875
+ "id": "bin1",
2876
+ "name": "a.bin",
2877
+ "mimeType": "application/octet-stream",
2878
+ "size": "5",
2879
+ },
2880
+ {
2881
+ "id": "bin2",
2882
+ "name": "b.bin",
2883
+ "mimeType": "application/octet-stream",
2884
+ "size": "7",
2885
+ },
2886
+ ]
2887
+ }
2888
+ sizes = {"bin1": 5, "bin2": 7}
2889
+ svc.files.return_value.get_media.side_effect = lambda fileId: MagicMock(fileId=fileId)
2890
+
2891
+ class _FakeDownloader:
2892
+ def __init__(self, fh, request):
2893
+ self._fh = fh
2894
+ self._size = sizes[request.fileId]
2895
+
2896
+ def next_chunk(self):
2897
+ self._fh.write(b"x" * self._size)
2898
+ return None, True
2899
+
2900
+ monkeypatch.setattr(transfer_module, "MediaIoBaseDownload", _FakeDownloader)
2901
+ ctx = self._ctx(svc)
2902
+
2903
+ result = await _transfer_tools["download_folder"](
2904
+ folder_id="root",
2905
+ local_path=str(tmp_path),
2906
+ ctx=ctx,
2907
+ )
2908
+ assert result["failed"] == []
2909
+ assert result["size_bytes"] == 12
2910
+ by_completed = {c.args[0]: c.args[2] for c in ctx.report_progress.await_args_list}
2911
+ assert set(by_completed) == {1, 2}
2912
+ # First completion (whichever file finishes first) reports its own real
2913
+ # size against the fixed total; second (final) completion reports the
2914
+ # real accumulated total, not a fixed/guessed value.
2915
+ assert by_completed[1] in ("1/2, 5/12 bytes: a.bin: ok", "1/2, 7/12 bytes: b.bin: ok")
2916
+ assert by_completed[2].startswith("2/2, 12/12 bytes:")
2917
+
2744
2918
  async def test_duplicate_drive_filenames_do_not_race_or_double_count(self, tmp_path):
2745
2919
  """PR #351 review, live-reproduced: Drive allows two files with the same
2746
2920
  name (distinct IDs) in one folder; the local filesystem doesn't. The old