mcp-gee-sweet 0.9.7.dev51__tar.gz → 0.9.7.dev52__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 (429) hide show
  1. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/CHANGELOG.md +4 -1
  2. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/CLAUDE.md +7 -6
  3. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/PKG-INFO +1 -1
  4. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/configuration.md +5 -5
  5. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/known-limitations.md +19 -4
  6. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/docs_content.md +55 -0
  7. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/docs_layout.md +30 -0
  8. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/docs_style.md +25 -0
  9. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/docs_tables.md +32 -0
  10. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/tools.md +15 -12
  11. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/cache.py +68 -1
  12. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/content.py +8 -0
  13. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/editing.py +1 -1
  14. mcp_gee_sweet-0.9.7.dev52/src/mcp_gee_sweet/tools/docs/layout.py +246 -0
  15. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/markdown_export.py +65 -7
  16. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/named_ranges.py +14 -4
  17. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/style.py +37 -14
  18. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/tables.py +214 -128
  19. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_cache.py +68 -0
  20. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_cancelled_write_invalidation.py +3 -0
  21. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_layout.py +131 -10
  22. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_markdown_export.py +155 -1
  23. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_named_ranges.py +47 -0
  24. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_style.py +79 -0
  25. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_tables.py +84 -0
  26. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_tool_groups.py +10 -1
  27. mcp_gee_sweet-0.9.7.dev51/src/mcp_gee_sweet/tools/docs/layout.py +0 -231
  28. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/cleanup-worktrees.md +0 -0
  29. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/merge-pr.md +0 -0
  30. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/notify-kai.md +0 -0
  31. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/notify-partner.md +0 -0
  32. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/orchestrator.md +0 -0
  33. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/prep-for-pr.md +0 -0
  34. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/qa-kickoff.md +0 -0
  35. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/release.md +0 -0
  36. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/retro.md +0 -0
  37. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/roadmap-status.md +0 -0
  38. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/security-advisory.md +0 -0
  39. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/start-worktree.md +0 -0
  40. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/team-member.md +0 -0
  41. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/commands/verify-pr.md +0 -0
  42. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/settings.json +0 -0
  43. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/amy.md +0 -0
  44. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/aziz.md +0 -0
  45. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/bob.md +0 -0
  46. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/dev.md +0 -0
  47. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/joy.md +0 -0
  48. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/kai.md +0 -0
  49. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/qa.md +0 -0
  50. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.claude/team-roles/rio.md +0 -0
  51. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.dockerignore +0 -0
  52. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.gitattributes +0 -0
  53. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  54. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  55. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  56. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/dependabot.yml +0 -0
  57. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/workflows/ci.yml +0 -0
  58. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/workflows/codeql.yml +0 -0
  59. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/workflows/docs.yml +0 -0
  60. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/workflows/mcpb.yml +0 -0
  61. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.github/workflows/publish.yml +0 -0
  62. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.gitignore +0 -0
  63. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.mcpbignore +0 -0
  64. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.pre-commit-config.yaml +0 -0
  65. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/.python-version +0 -0
  66. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/CODE_OF_CONDUCT.md +0 -0
  67. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/CONTRIBUTING.md +0 -0
  68. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/Dockerfile +0 -0
  69. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/LICENSE +0 -0
  70. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/Makefile +0 -0
  71. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/README.md +0 -0
  72. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/SECURITY.md +0 -0
  73. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docker-compose.yml +0 -0
  74. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/assets/logo.png +0 -0
  75. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/assets/readme-demo.md +0 -0
  76. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/assets/readme-demo.png +0 -0
  77. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/auth.md +0 -0
  78. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/client-setup.md +0 -0
  79. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-async-tool-execution.md +0 -0
  80. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
  81. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-cache-invalidation.md +0 -0
  82. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-chart-theming.md +0 -0
  83. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-comments-first-class.md +0 -0
  84. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-composite-tools.md +0 -0
  85. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-condition-type-docstring-generation.md +0 -0
  86. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-converted-doc-change-detection.md +0 -0
  87. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-dev-team.md +0 -0
  88. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-docs-formatting.md +0 -0
  89. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-fork.md +0 -0
  90. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-gmail-domain.md +0 -0
  91. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-grid-data-size-cap.md +0 -0
  92. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-html-error-recovery.md +0 -0
  93. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-http-socket-timeout.md +0 -0
  94. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-impact-reach-triage.md +0 -0
  95. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-local-fs-test-harness.md +0 -0
  96. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
  97. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-pillow-image-dependency.md +0 -0
  98. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-prompt-qa-role.md +0 -0
  99. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-publishing.md +0 -0
  100. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-release-docs-roles.md +0 -0
  101. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-repositioning.md +0 -0
  102. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
  103. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
  104. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-review-finding-ticket-bar.md +0 -0
  105. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-supports-all-drives-lint-check.md +0 -0
  106. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-sync-folder-recursion.md +0 -0
  107. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-testing.md +0 -0
  108. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-tool-error-visibility.md +0 -0
  109. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/decision-tool-surface.md +0 -0
  110. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/index.md +0 -0
  111. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/decisions/role-file-history.md +0 -0
  112. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/blockquote-representation.md +0 -0
  113. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/borderless-table-columns.md +0 -0
  114. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/cancelled-write-invalidation.md +0 -0
  115. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/doc-replace-backup.md +0 -0
  116. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/doc-revision-export.md +0 -0
  117. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/doc-to-markdown.md +0 -0
  118. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/docs-ast-pipeline.md +0 -0
  119. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/effectiveformat-spike.md +0 -0
  120. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/gmail-send-confirmation.md +0 -0
  121. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/heading-anchor-resolution.md +0 -0
  122. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/image-conversion.md +0 -0
  123. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/image-share-lifecycle.md +0 -0
  124. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/index.md +0 -0
  125. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/list-start-numbers.md +0 -0
  126. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/local-file-access-policy.md +0 -0
  127. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/markdown-parser.md +0 -0
  128. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/markdown-support.md +0 -0
  129. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/mcp-bundle.md +0 -0
  130. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/module-history.md +0 -0
  131. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/oauth-reauthorize-from-tool-call.md +0 -0
  132. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/phase3-theme-system.md +0 -0
  133. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/sse-consent-off-event-loop.md +0 -0
  134. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design/tool-reduction.md +0 -0
  135. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/design.md +0 -0
  136. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/index.md +0 -0
  137. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/notes-read.md +0 -0
  138. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/README.md +0 -0
  139. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r01-meeting-notes.md +0 -0
  140. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r02-project-plan.md +0 -0
  141. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r03-spec-prd.md +0 -0
  142. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r04-readme.md +0 -0
  143. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r05-status-report.md +0 -0
  144. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r06-howto.md +0 -0
  145. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r07-comparison.md +0 -0
  146. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r08-research-summary.md +0 -0
  147. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r09-changelog.md +0 -0
  148. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r10-task-plan.md +0 -0
  149. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r11-incident-postmortem.md +0 -0
  150. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r12-interview-guide.md +0 -0
  151. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r13-api-reference.md +0 -0
  152. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r14-study-notes.md +0 -0
  153. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r15-travel-itinerary.md +0 -0
  154. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/realistic/r16-planning-notes.md +0 -0
  155. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/state/dropped-links.md +0 -0
  156. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/state/inline-scope.md +0 -0
  157. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/state/line-breaks.md +0 -0
  158. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/state/theme.json +0 -0
  159. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/state/www-scheme.md +0 -0
  160. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-01-starts-bullets.md +0 -0
  161. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-02-starts-numbered.md +0 -0
  162. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-03-starts-table.md +0 -0
  163. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-04-starts-code.md +0 -0
  164. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-05-starts-quote.md +0 -0
  165. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-06-starts-image.md +0 -0
  166. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-07-starts-rule.md +0 -0
  167. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-08-ends-table.md +0 -0
  168. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-09-ends-list.md +0 -0
  169. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-10-empty.md +0 -0
  170. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-11-whitespace-only.md +0 -0
  171. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-12-no-trailing-newline.md +0 -0
  172. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-13-crlf-line-endings.md +0 -0
  173. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-14-front-matter.md +0 -0
  174. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-15-rule-then-setext-heading.md +0 -0
  175. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/docstart/ds-16-front-matter-lists.md +0 -0
  176. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-adjacency-blank.md +0 -0
  177. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-adjacency-noblank.md +0 -0
  178. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-blockquotes.md +0 -0
  179. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-breaks-rules.md +0 -0
  180. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-code-blocks.md +0 -0
  181. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-containment.md +0 -0
  182. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-emphasis.md +0 -0
  183. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-escapes.md +0 -0
  184. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-headings.md +0 -0
  185. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-images.md +0 -0
  186. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-inline-code.md +0 -0
  187. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-inline-html.md +0 -0
  188. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-inline-matrix.md +0 -0
  189. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-links.md +0 -0
  190. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-list-gaps.md +0 -0
  191. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-list-marker-styles.md +0 -0
  192. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-lists-blocks.md +0 -0
  193. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-lists-boundaries.md +0 -0
  194. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-lists-markers.md +0 -0
  195. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-lists-nesting.md +0 -0
  196. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-long-document.md +0 -0
  197. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-paragraph-gaps.md +0 -0
  198. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-table-gaps.md +0 -0
  199. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-tables.md +0 -0
  200. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-tasks.md +0 -0
  201. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/syntax/md-unicode.md +0 -0
  202. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/tc-doc245/relative-image.md +0 -0
  203. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/tc-doc246/native-lines.html +0 -0
  204. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/md/tc-doc246/rules.md +0 -0
  205. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/qa fixture pixel /303/251.png" +0 -0
  206. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
  207. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
  208. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
  209. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
  210. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
  211. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
  212. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
  213. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
  214. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
  215. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
  216. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
  217. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
  218. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
  219. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
  220. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
  221. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
  222. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
  223. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
  224. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc240-bullet.md +0 -0
  225. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc240-heading.md +0 -0
  226. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc240-normal.md +0 -0
  227. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc240-quote.md +0 -0
  228. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc240-seed.md +0 -0
  229. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc241-links.html +0 -0
  230. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc241-links.md +0 -0
  231. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc241-write.md +0 -0
  232. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc242-loose.html +0 -0
  233. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures/tc-doc242-loose.md +0 -0
  234. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/fixtures.template.md +0 -0
  235. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/gmail-test-plan.md +0 -0
  236. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/operations.yaml +0 -0
  237. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/playwright_oauth.md +0 -0
  238. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/.gitkeep +0 -0
  239. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-02.md +0 -0
  240. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-14.md +0 -0
  241. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-17.md +0 -0
  242. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-18.md +0 -0
  243. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
  244. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
  245. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-06-28.md +0 -0
  246. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-07-04-docs.md +0 -0
  247. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
  248. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-07-04-infra.md +0 -0
  249. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
  250. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-07-04.md +0 -0
  251. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-09-04.md +0 -0
  252. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-17-pass-audit.md +0 -0
  253. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-17-spec.txt +0 -0
  254. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-17.md +0 -0
  255. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-18-markdown-phase2.md +0 -0
  256. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-18-markdown.md +0 -0
  257. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-22-markdown-boundaries-state.md +0 -0
  258. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-25-markdown.md +0 -0
  259. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-28-markdown-pr1286.md +0 -0
  260. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-29-markdown-pr1295.md +0 -0
  261. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-30-markdown-pr1301.md +0 -0
  262. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-10-30-markdown-pr1303.md +0 -0
  263. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-02-markdown-pr1356.md +0 -0
  264. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-05-markdown-i1268.md +0 -0
  265. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-05-markdown.md +0 -0
  266. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-08-markdown.md +0 -0
  267. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-08.md +0 -0
  268. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/results/2026-11-11.md +0 -0
  269. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/retro-v0.8.0.md +0 -0
  270. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/retro-v0.9.0.md +0 -0
  271. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/retro-v0.9.2.md +0 -0
  272. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/retro-v0.9.6.md +0 -0
  273. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/run.md +0 -0
  274. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/README.md +0 -0
  275. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.8.0.md +0 -0
  276. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.8.1.md +0 -0
  277. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.9.0.md +0 -0
  278. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.9.1.md +0 -0
  279. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.9.2.md +0 -0
  280. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.9.3.md +0 -0
  281. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/runs/v0.9.6.md +0 -0
  282. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/setup.md +0 -0
  283. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/calendar.md +0 -0
  284. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/docs_markdown.md +0 -0
  285. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/drive_activity.md +0 -0
  286. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/drive_files.md +0 -0
  287. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/drive_sharing.md +0 -0
  288. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/drive_transfer.md +0 -0
  289. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/gmail.md +0 -0
  290. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/infra.md +0 -0
  291. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/sheets_charts.md +0 -0
  292. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/sheets_mgmt.md +0 -0
  293. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/sheets_read.md +0 -0
  294. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/qa/tests/sheets_write.md +0 -0
  295. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/roadmap.md +0 -0
  296. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/docs/style-guide.md +0 -0
  297. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/manifest.json +0 -0
  298. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/mkdocs.yml +0 -0
  299. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/pyproject.toml +0 -0
  300. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/pyrightconfig.json +0 -0
  301. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/build_mcpb.py +0 -0
  302. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/check_supports_all_drives.py +0 -0
  303. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/gen_tool_docs.py +0 -0
  304. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/kai_status.py +0 -0
  305. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/lane_context_hook.py +0 -0
  306. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/oauth_setup.py +0 -0
  307. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_browser.sh +0 -0
  308. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_cancel_inflight_write.py +0 -0
  309. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_cancel_insert_local_images.py +0 -0
  310. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_compile_results.py +0 -0
  311. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_gen_md_fixtures.py +0 -0
  312. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_gmail_fixtures.py +0 -0
  313. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_launch_mcpb.py +0 -0
  314. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/qa_revision_temp_doc_parent.py +0 -0
  315. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/setup_team.sh +0 -0
  316. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/sync_slot_config.sh +0 -0
  317. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/scripts/write_team_mcp_configs.sh +0 -0
  318. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/server.json +0 -0
  319. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/.env.template +0 -0
  320. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/__init__.py +0 -0
  321. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/__main__.py +0 -0
  322. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/auth.py +0 -0
  323. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/deprecation.py +0 -0
  324. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/http_auth.py +0 -0
  325. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/http_transport.py +0 -0
  326. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/local_files.py +0 -0
  327. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/reauth.py +0 -0
  328. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/server.py +0 -0
  329. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/sse_shutdown.py +0 -0
  330. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tool_groups.py +0 -0
  331. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/__init__.py +0 -0
  332. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/atomic_write.py +0 -0
  333. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/cache.py +0 -0
  334. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/calendar.py +0 -0
  335. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/concurrency.py +0 -0
  336. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
  337. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
  338. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/ast.py +0 -0
  339. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +0 -0
  340. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/batch_retry.py +0 -0
  341. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
  342. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +0 -0
  343. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/emitter.py +0 -0
  344. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/html_parser.py +0 -0
  345. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
  346. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
  347. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/invalidation.py +0 -0
  348. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/docs/md_to_html.py +0 -0
  349. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
  350. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
  351. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
  352. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
  353. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/drive/transfer.py +0 -0
  354. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/front_matter.py +0 -0
  355. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/gmail.py +0 -0
  356. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/http_errors.py +0 -0
  357. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/mime_types.py +0 -0
  358. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/pagination.py +0 -0
  359. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
  360. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
  361. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
  362. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
  363. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
  364. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/__init__.py +0 -0
  365. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/conftest.py +0 -0
  366. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/__init__.py +0 -0
  367. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_activity.py +0 -0
  368. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_files.py +0 -0
  369. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_sharing.py +0 -0
  370. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_transfer.py +0 -0
  371. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_transfer_front_matter.py +0 -0
  372. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_transfer_pagination.py +0 -0
  373. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/drive/test_transfer_query_escaping.py +0 -0
  374. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/fakes.py +0 -0
  375. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/integration/__init__.py +0 -0
  376. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/integration/conftest.py +0 -0
  377. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/integration/test_local_fs_harness.py +0 -0
  378. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/sheets/__init__.py +0 -0
  379. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/sheets/test_data.py +0 -0
  380. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/sheets/test_helpers.py +0 -0
  381. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/sheets/test_structure.py +0 -0
  382. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_atomic_write.py +0 -0
  383. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_auth.py +0 -0
  384. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_cache_isolation.py +0 -0
  385. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_calendar.py +0 -0
  386. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_check_supports_all_drives.py +0 -0
  387. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_concurrency.py +0 -0
  388. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_dependency_floors.py +0 -0
  389. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_deprecation.py +0 -0
  390. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_anchors.py +0 -0
  391. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_batch_retry.py +0 -0
  392. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_comments.py +0 -0
  393. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_content.py +0 -0
  394. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_core.py +0 -0
  395. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_dropped_links.py +0 -0
  396. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_editing.py +0 -0
  397. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_image_style.py +0 -0
  398. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_images.py +0 -0
  399. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_indices.py +0 -0
  400. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_list_start.py +0 -0
  401. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_md_to_html.py +0 -0
  402. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_relative_link.py +0 -0
  403. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_revision_export.py +0 -0
  404. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_docs_rule.py +0 -0
  405. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_front_matter.py +0 -0
  406. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_gen_tool_docs.py +0 -0
  407. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_get_doc_structure_inline_objects.py +0 -0
  408. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_gmail.py +0 -0
  409. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_gmail_send_confirm.py +0 -0
  410. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_http_auth.py +0 -0
  411. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_http_errors.py +0 -0
  412. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_http_transport.py +0 -0
  413. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_kai_status.py +0 -0
  414. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_lane_context_hook.py +0 -0
  415. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_local_file_sites.py +0 -0
  416. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_local_files.py +0 -0
  417. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_mcpb_manifest.py +0 -0
  418. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_mime_types.py +0 -0
  419. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_python_versions.py +0 -0
  420. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_qa_gen_md_fixtures.py +0 -0
  421. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_qa_gmail_fixtures.py +0 -0
  422. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_reauth.py +0 -0
  423. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_response_limits.py +0 -0
  424. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_server.py +0 -0
  425. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_server_json.py +0 -0
  426. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_sse_shutdown.py +0 -0
  427. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_sync_slot_config.py +0 -0
  428. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/tests/test_team_mcp_configs.py +0 -0
  429. {mcp_gee_sweet-0.9.7.dev51 → mcp_gee_sweet-0.9.7.dev52}/uv.lock +0 -0
@@ -20,25 +20,28 @@ All notable changes to this project are documented in this file.
20
20
  ### New tools
21
21
 
22
22
  - `add_rows_or_columns`, `delete_rows_or_columns`, `resize_rows_or_columns` and `hide_rows_or_columns` add, delete, resize, and hide or unhide rows or columns in a sheet: `dimension` (`rows` or `columns`) picks which, `start` and `end` (inclusive, 0-based) give the range, and `hide_rows_or_columns(hidden=False)` unhides. Each sends the same request as the row-only or column-only tool it replaces — #1525
23
+ - `insert_table_row_or_column` and `delete_table_row_or_column` insert or delete a row or a column in a Doc table: `dimension` (`row` or `column`) picks which, `index` names it, and `after` (default `True`) inserts below the row or to the right of the column. `create_header_or_footer` adds a Doc's header or footer: `kind` (`header` or `footer`) picks which. Each sends the same requests as the tool it replaces — #1527
23
24
 
24
25
  ### Changed
25
26
 
26
27
  - **`copy_sheet`'s parameters are renamed.** `src_spreadsheet` is now `spreadsheet_id`, `src_sheet` is `sheet`, `dst_spreadsheet` is `destination_spreadsheet_id` and `dst_sheet` is `new_name`; the old names keep working for one release, with a `deprecation_warnings` entry in the result. `new_name` is optional where `dst_sheet` was required, so a call that names neither now makes the copy under Google's own name ("Copy of Sales") instead of failing. A call with neither `destination_spreadsheet_id` nor `dst_spreadsheet` now duplicates the tab in place, and so does one naming the source spreadsheet as its own destination, which used to put the copy last and now puts it right after the source. Its result changes shape too (see **Breaking change**) — #1526
27
28
  - Renamed and removed tools now get one release of notice. A renamed tool's old name keeps working for one release when it's listed in `ENABLED_TOOLS` or the server runs with `all`, with a startup warning naming the new tool; a tool due for removal says so at the start of its description and warns at startup when `ENABLED_TOOLS` names it; and a renamed parameter's old name keeps working, with a `deprecation_warnings` entry in the result. Each one is listed here under **Deprecated** in the release that deprecates it and under **Removed** in the release after. `server://auth-status` lists deprecated tools under `tool_selection.deprecated_tools`. See the [deprecation policy](https://khuisman.github.io/mcp-gee-sweet/latest/design/#renaming-or-removing-a-tool) — #1209
29
+ - `get_doc_as_markdown` is cached like `get_doc_content`: a repeat call reuses the document it read. When `CACHE_VALIDATE_MODIFIED_TIME` is on, it's reused only while the Docs API reports the same revision, which changes as soon as the Doc is edited anywhere, so the check is one small Docs API call. Every edit this server makes and `refresh_cache(doc_id=...)` also invalidate it. Comments (`include_comments`) are read on every call, a Doc with images is reused for at most 15 minutes, since its image URLs expire, and a Doc over 1 MB of document data isn't cached. `get_doc_theme` takes `source` (`body`, the default; `named_styles`, what `get_doc_named_styles` returns; or `both`, the two side by side) and is marked read-only. `create_named_range`'s `end_index` is optional: without it the range is the single character at `start_index`, what `create_bookmark` made — #1527
28
30
 
29
31
  - `sync_folder`'s over-cap hint names actions the caller can actually take — "Sync a narrower subfolder, a single direction, or set recursive=False." instead of "Narrow folder_id, direction, or recursive scope", where a direction can't be narrowed — and the pagination hint shared by `list_messages`, `list_threads`, `list_doc_comments` and `list_file_activity` now comes from one `pagination_hint` helper, so the hand-copied three can't drift apart. A test collects every hint passed to the size-cap checks in `src/` and pins the full-sentence form #1430 established — #1465
30
32
 
31
33
  ### Deprecated
32
34
 
33
35
  - The ten row-only and column-only Sheets tools are deprecated and removed in the next feature release. Use `add_rows_or_columns` for `add_rows`/`add_columns`, `delete_rows_or_columns` for `delete_rows`/`delete_columns`, `resize_rows_or_columns` for `resize_rows`/`resize_columns`, and `hide_rows_or_columns` for `hide_rows`/`hide_columns` and, with `hidden=False`, `unhide_rows`/`unhide_columns`, passing `dimension='rows'` or `'columns'`. `start_row`/`start_column` become `start` and `end_row`/`end_column` become `end`; nothing else changes — #1525
36
+ - Nine Docs tools are deprecated and removed in the next feature release. Use `insert_table_row_or_column` for `insert_table_row`/`insert_table_column` and `delete_table_row_or_column` for `delete_table_row`/`delete_table_column`, passing `dimension='row'` or `'column'` (`row_index`/`column_index` become `index`, and `insert_below`/`insert_right` become `after`); `create_header_or_footer` with `kind='header'` or `'footer'` for `create_header`/`create_footer`; `get_doc_theme` with `source='named_styles'` for `get_doc_named_styles`; `create_named_range` with `end_index` omitted for `create_bookmark`; and `get_doc_as_markdown` for `get_doc_content`'s content, or `export_file` with `export_format='txt'` for plain text — #1527
34
37
  - `get_sheet_formulas` is deprecated and removed in the next feature release: use `get_sheet_data` with `value_render='formula'`, which returns `get_sheet_data`'s usual `{spreadsheetId, valueRanges}` dict instead of a bare list. It's no longer in the `default` tool group — #1526
35
38
  - `duplicate_sheet` is deprecated and removed in the next feature release: use `copy_sheet` with no `destination_spreadsheet_id`, which takes the same `spreadsheet_id`, `sheet`, `new_name` and `insert_index` and returns the same result — #1526
36
39
  - `copy_sheet`'s `src_spreadsheet`, `src_sheet`, `dst_spreadsheet` and `dst_sheet` parameters are deprecated and removed in the next feature release: use `spreadsheet_id`, `sheet`, `destination_spreadsheet_id` and `new_name` — #1526
37
40
 
38
41
  ### Bug fixes
39
42
 
43
+ - `create_header` and `create_footer` read the new header's or footer's ID from the API's reply, which they had looked up under the wrong key and then fetched with a second request. `FIRST_PAGE_HEADER` and `FIRST_PAGE_FOOTER` now return an error saying the Docs API can't create a first-page header or footer, instead of passing the API's own invalid-value error through. When the doc already has one and its ID can't be read, they now return a `warning` saying so and that the content wasn't inserted, instead of a bare `null` ID — #1527
40
44
  - A heading holding a character Python's `\w` and github-slugger treat differently slugged wrong: a superscript or fraction digit ("²" in "Area in m²", "½") stayed in the slug where GitHub's own anchor is separator-free (`#area-in-m`), and a combining mark (`cafe\u0301`) was dropped where GitHub keeps it. The GitHub scheme now strips by character category, built from github-slugger's own generation rule, instead of by `\w`. Repeated headings whose suffixed slug collides with a literally-titled one ("Pricelist" twice over plus a real "Pricelist-1") produced two `#pricelist-1` anchors; the suffix now keeps incrementing until the slug is free, as github-slugger does. A `#pricelist` anchor naming headings that differ only by a separator GitHub strips (`Price\xa0List` and `Pricelist`) takes the GitHub reading — a genuine ambiguity between the sites, now documented in docs/design/heading-anchor-resolution.md — #1482
41
-
42
45
  - `insert_softbreak_paragraph` no longer sends a paragraph-style request unless `named_style_type` is passed: it used to write `NORMAL_TEXT` over the whole paragraph the block landed in by default, so a plain insert wiped the paragraph's existing inline text styles (`updateParagraphStyle(namedStyleType)` re-applies the named style's text properties). The default is now `None` — no `updateParagraphStyle` at all — and passing a named style still writes it over the whole paragraph. Its line-dict vocabulary now lists `font_family`, which was already supported, and the docstring, `style_doc_range`'s Note and the known-limitations entry now state that one range dict carrying `named_style_type` plus text-style fields applies paragraph-style-first in a single call, dropping the wrong second-call workaround — #1489
43
46
  - A `<pre>` inside a table cell is styled as code, as a `<pre>` at the body level is: its text keeps the line breaks #1215 gave it and now reads in Courier New, where it used to keep the breaks but look like plain text in the cell. Text after the `</pre>` in the same cell stays plain — #1417
44
47
  - An `<li>` that is the first item of a `<ul>` and holds only a styled block (a `<p data-style="title">` or `<p data-style="subtitle">`, HTML input, with no `&nbsp;` before it) is that block, indented under the list with no bullet, as in v0.9.5, instead of an empty bullet above it: a browser draws the item's marker beside the block's first line, so the item reads as one line (#1075's premise put the marker on a line of its own). Every other item keeps the bullet #1075 gives it — one with text of its own, a later item of the list, an item of an `<ol>` (whose `start`/`value` numbering counts it), or one whose only content is a nested list, quote, code block or rule. Applies to `create_doc`, `write_doc_content`, `create_doc_from_file` and `update_doc_from_file` — #1414
@@ -62,21 +62,21 @@ Each entry below says what a module owns and the invariants a future edit could
62
62
  - Autolinks are `_gfm_autolink_rule`, a core rule implementing GFM's extended autolinks, not markdown-it's `linkify`: linkify-it links `README.md`-style tokens, and a dependency on it isn't wanted. It sees only text tokens, skips text inside a Markdown or raw-HTML `<a>`, and treats a token's start as a boundary only after a line break or an emphasis delimiter. Everything it runs must be linear in the text: emails are scanned out from each `@`, and `_trim_autolink` trims from the end with running counts.
63
63
  - `content._convert_doc_content` runs `_md_to_html` through `asyncio.to_thread`, so the shared parsers (`_MARKDOWN_PARSERS`, `_BLOCK_SCANNER`) are used from several threads: every ruler's lazily built rule cache is built at import. Add any new parser instance to that warm-up. [History](docs/design/markdown-parser.md#review-history).
64
64
  - `normalizeLink` is the identity: a destination reaches `html_to_ast` as written, since `_resolve_image_source` opens a local path as-is. `validateLink` still screens schemes. `_spaced_image_rule` and `_spaced_link_rule` accept a destination containing spaces (with an optional quoted title) that CommonMark rejects, as Python-Markdown did; they never match what CommonMark accepts, a destination that unescapes to a quote, or a label naming a reference definition.
65
- - `docs/content.py` — helpers (`_to_doc_requests`, `_html_to_doc_requests`) and tools (`create_doc`, `get_doc_content`, `write_doc_content`, `create_doc_from_file`, `update_doc_from_file`, `get_doc_structure`, `find_in_doc`). `_apply_doc_content` is shared by `create_doc`/`create_doc_from_file`/`write_doc_content`, and `create_doc`'s body, `_create_doc_with_content`, by `upload_file`'s Markdown Doc (imported lazily, since this module imports `drive/transfer.py`); `_replace_doc_content` (clear, then insert, as separate `batchUpdate` calls because of the same-batch `insertText` style-inheritance quirk) by `write_doc_content`/`update_doc_from_file`. Every caller converts first (#1240): `_convert_doc_content` (Markdown → HTML → AST → phase-1 requests, one `asyncio.to_thread` call) runs before the doc is created, read, copied, or cleared, so a conversion that raises or is cancelled leaves it as it was; `_apply_doc_content` takes that `ConvertedContent`. Never move a conversion step back after the create or the clear. Every image's request is built with a placeholder URI. An image that isn't embedded, because it failed to resolve or Docs couldn't fetch it (an SVG badge), is written as its alt text, keeping its link (`emitter.image_fallback_requests`, #1099): its insert is replaced in place, never popped, and its own style requests go (`emitter.drop_image_style_requests`). An insert takes the character before it's style (#1334), so an image's style request and its fallback text's name every field in `_IMAGE_TEXT_STYLE_FIELDS`, setting the style of the image's own span (`Image`'s style fields, from `html_parser._character_style`, or `_bare_character_style` for a bare top-level `<img>`, #1475) and clearing the rest. A linked one leaves `underline` out unless its span underlines it (`_LINKED_IMAGE_TEXT_STYLE_FIELDS`), since Docs underlines what a link sets and clearing it took that away (#1504). In a list item's text a styled one goes behind the marker guard (`emitter._marker_guarded`, `ConvertedContent.list_item_image_ids`), or it restyles the bullet (#1383). That's safe because the insert sits in the descending-position tail, and `_positional_insert_tail_start` must count the fallback requests (`fallback_ids`) or the K≥2 split degrades to whole-list retries. Every fallback goes through the edit's one `emitter.ImageFallbacks`, shared by the body retry and `CellImages`; its `images` entry gets `fallback_text` only once the batch carrying it has landed (`ImageFallbacks.applied`). Never write fallback text in a heading (`ConvertedContent.heading_image_ids`, any named style but `NORMAL_TEXT`): it changes the heading's slug, and a `#slug` link to it is stripped. Classify an `Image.src` only through `ast.image_source_kind` (URL, `drive:`, `data:`, local path); a `data:` URI is never a local path, and a protocol-relative `//host/...` is a URL fetched over https (`ast.image_url`). The `src` is stripped once, where `html_parser._image_src` builds the `Image`; never classify an unstripped one. `find_in_doc` returns UTF-16 offsets usable directly with `style_doc_range`. `get_doc_structure` surfaces each paragraph's `headingId` and `bullet` (`{listId, nestingLevel}`, a top-level item's absent level normalized to `0`). After conversion, `_has_pending_anchor_links(content_requests, tables)` gates `_resolve_heading_anchors`, which rewrites a `#slug` link to `.../edit?tab=t.0#heading=<headingId>` or strips it when no heading matches confidently: a link to the wrong section is worse than no link (`docs/design/heading-anchor-resolution.md`). Its walker, `_walk_headings_and_anchor_runs`, must recurse into table cells and carry the offset forward when an element has no `startIndex` (the doc's first element often doesn't). A link written as plain text is reported, never silent (#1180): `_apply_doc_content` returns an `AppliedContent` whose `response_fields()` every caller merges, adding `dropped_links` (`{"url", "reason"}`) for each target `emitter._storable_link_url` refuses (`unstorable_link_urls`, `no_scheme`) and each anchor the anchor pass strips (`no_matching_heading`). Text can land before a failure, so `DocEditError` carries the `AppliedContent` built so far and `_doc_edit_failure_result` merges the same `response_fields()`; the anchor pass fills its `stripped_out` list before it sends its write, so a write that raises after landing still reports its anchors. A link target is tested stripped everywhere, since the emitter stores it stripped. A scheme-less target that names a host (`//host/x` with a host starting with a letter or digit; a `www.` host passing `md_to_html.valid_gfm_domain`, the autolinker's own check) isn't dropped: `_storable_link_url` rewrites it to `https://`, never `http://`, and checks the `www.` rule before the scheme match, since `www.host:8443` looks like a scheme. Markdown/HTML images go through `_resolve_image_source`: a local path (uploaded), `drive:<file_id>`, or a public `http(s)://` URL. A relative local path from a file (`create_doc_from_file`/`update_doc_from_file`) is joined to that file's own folder as the caller spelled it (`source_dir`, `_local_image_path`, #1121), then checked with `check_read`; `_find_local_image` tries it as written, then percent-decoded. A local image is uploaded to `folder_id`, else the server's default folder, else the doc's own folder (`_image_folder`, #1139); `_replace_doc_content` reads the doc's parents only when the content has a local image this server would upload (`_uploadable_local_image`: readable under the access policy, and a file) and no folder was given, and refuses with `{"error", "docId"}` before the backup and the clear when none is known or the lookup fails; it never raises for that lookup, and a 404 or non-rate-limit 403 there means the doc is unreachable, not that its folder is unknown (`_doc_unreachable`). `create_doc_from_file` goes through `_create_doc_with_content` (with `source_dir`), never a copy of it. Local and `drive:` sources are shared `anyone:reader` and revoked after embedding unless `revoke_sharing=False`, through `images.ImageShareLifecycle` (below). One unfetchable `insertInlineImage` fails the whole `batchUpdate`, so `_apply_doc_content` retries with that request stripped (its index parsed from Google's error); see `docs/design/image-conversion.md`. [History](docs/design/module-history.md#toolsdocscontentpy).
65
+ - `docs/content.py` — helpers (`_to_doc_requests`, `_html_to_doc_requests`) and tools (`create_doc`, the deprecated `get_doc_content`, `write_doc_content`, `create_doc_from_file`, `update_doc_from_file`, `get_doc_structure`, `find_in_doc`). `_apply_doc_content` is shared by `create_doc`/`create_doc_from_file`/`write_doc_content`, and `create_doc`'s body, `_create_doc_with_content`, by `upload_file`'s Markdown Doc (imported lazily, since this module imports `drive/transfer.py`); `_replace_doc_content` (clear, then insert, as separate `batchUpdate` calls because of the same-batch `insertText` style-inheritance quirk) by `write_doc_content`/`update_doc_from_file`. Every caller converts first (#1240): `_convert_doc_content` (Markdown → HTML → AST → phase-1 requests, one `asyncio.to_thread` call) runs before the doc is created, read, copied, or cleared, so a conversion that raises or is cancelled leaves it as it was; `_apply_doc_content` takes that `ConvertedContent`. Never move a conversion step back after the create or the clear. Every image's request is built with a placeholder URI. An image that isn't embedded, because it failed to resolve or Docs couldn't fetch it (an SVG badge), is written as its alt text, keeping its link (`emitter.image_fallback_requests`, #1099): its insert is replaced in place, never popped, and its own style requests go (`emitter.drop_image_style_requests`). An insert takes the character before it's style (#1334), so an image's style request and its fallback text's name every field in `_IMAGE_TEXT_STYLE_FIELDS`, setting the style of the image's own span (`Image`'s style fields, from `html_parser._character_style`, or `_bare_character_style` for a bare top-level `<img>`, #1475) and clearing the rest. A linked one leaves `underline` out unless its span underlines it (`_LINKED_IMAGE_TEXT_STYLE_FIELDS`), since Docs underlines what a link sets and clearing it took that away (#1504). In a list item's text a styled one goes behind the marker guard (`emitter._marker_guarded`, `ConvertedContent.list_item_image_ids`), or it restyles the bullet (#1383). That's safe because the insert sits in the descending-position tail, and `_positional_insert_tail_start` must count the fallback requests (`fallback_ids`) or the K≥2 split degrades to whole-list retries. Every fallback goes through the edit's one `emitter.ImageFallbacks`, shared by the body retry and `CellImages`; its `images` entry gets `fallback_text` only once the batch carrying it has landed (`ImageFallbacks.applied`). Never write fallback text in a heading (`ConvertedContent.heading_image_ids`, any named style but `NORMAL_TEXT`): it changes the heading's slug, and a `#slug` link to it is stripped. Classify an `Image.src` only through `ast.image_source_kind` (URL, `drive:`, `data:`, local path); a `data:` URI is never a local path, and a protocol-relative `//host/...` is a URL fetched over https (`ast.image_url`). The `src` is stripped once, where `html_parser._image_src` builds the `Image`; never classify an unstripped one. `find_in_doc` returns UTF-16 offsets usable directly with `style_doc_range`. `get_doc_structure` surfaces each paragraph's `headingId` and `bullet` (`{listId, nestingLevel}`, a top-level item's absent level normalized to `0`). After conversion, `_has_pending_anchor_links(content_requests, tables)` gates `_resolve_heading_anchors`, which rewrites a `#slug` link to `.../edit?tab=t.0#heading=<headingId>` or strips it when no heading matches confidently: a link to the wrong section is worse than no link (`docs/design/heading-anchor-resolution.md`). Its walker, `_walk_headings_and_anchor_runs`, must recurse into table cells and carry the offset forward when an element has no `startIndex` (the doc's first element often doesn't). A link written as plain text is reported, never silent (#1180): `_apply_doc_content` returns an `AppliedContent` whose `response_fields()` every caller merges, adding `dropped_links` (`{"url", "reason"}`) for each target `emitter._storable_link_url` refuses (`unstorable_link_urls`, `no_scheme`) and each anchor the anchor pass strips (`no_matching_heading`). Text can land before a failure, so `DocEditError` carries the `AppliedContent` built so far and `_doc_edit_failure_result` merges the same `response_fields()`; the anchor pass fills its `stripped_out` list before it sends its write, so a write that raises after landing still reports its anchors. A link target is tested stripped everywhere, since the emitter stores it stripped. A scheme-less target that names a host (`//host/x` with a host starting with a letter or digit; a `www.` host passing `md_to_html.valid_gfm_domain`, the autolinker's own check) isn't dropped: `_storable_link_url` rewrites it to `https://`, never `http://`, and checks the `www.` rule before the scheme match, since `www.host:8443` looks like a scheme. Markdown/HTML images go through `_resolve_image_source`: a local path (uploaded), `drive:<file_id>`, or a public `http(s)://` URL. A relative local path from a file (`create_doc_from_file`/`update_doc_from_file`) is joined to that file's own folder as the caller spelled it (`source_dir`, `_local_image_path`, #1121), then checked with `check_read`; `_find_local_image` tries it as written, then percent-decoded. A local image is uploaded to `folder_id`, else the server's default folder, else the doc's own folder (`_image_folder`, #1139); `_replace_doc_content` reads the doc's parents only when the content has a local image this server would upload (`_uploadable_local_image`: readable under the access policy, and a file) and no folder was given, and refuses with `{"error", "docId"}` before the backup and the clear when none is known or the lookup fails; it never raises for that lookup, and a 404 or non-rate-limit 403 there means the doc is unreachable, not that its folder is unknown (`_doc_unreachable`). `create_doc_from_file` goes through `_create_doc_with_content` (with `source_dir`), never a copy of it. Local and `drive:` sources are shared `anyone:reader` and revoked after embedding unless `revoke_sharing=False`, through `images.ImageShareLifecycle` (below). One unfetchable `insertInlineImage` fails the whole `batchUpdate`, so `_apply_doc_content` retries with that request stripped (its index parsed from Google's error); see `docs/design/image-conversion.md`. [History](docs/design/module-history.md#toolsdocscontentpy).
66
66
  - `docs/editing.py` — text-range editing tools (`insert_doc_text`, `delete_doc_range`, `insert_page_break`, `insert_softbreak_paragraph`). `insert_softbreak_paragraph` joins lines with `"\v"` in a single `insertText` (the API keeps it one paragraph, like Shift+Enter) and sets `namedStyleType` explicitly over the inserted span. [History](docs/design/module-history.md#toolsdocseditingpy).
67
67
  - `docs/images.py` — tools (`insert_inline_image`, `insert_local_images`) plus the size validation, downscaling, and error rewriting shared by every `insertInlineImage` call site. The Docs backend fetches an image anonymously, so a `drive_file_id` must be shared `anyone`/`reader` first. Google's limits are 25 megapixels, 50MB, PNG/JPEG/GIF, and its own error names neither. `check_image_file` checks both limits before any upload, share, or embed call, reading only `stat()` and the header (it builds Pillow's format plugin directly, since `Image.open`'s decompression-bomb guard would skip huge headers); `check_drive_image_metadata` does the same for Drive sources from metadata. `auto_downscale` (default `False`) is opt-in: `downscale_drive_file` makes a `" (resized)"` copy and never mutates the original, and `prepare_local_image` uploads resized bytes for a local path. `downscale_image_bytes` runs via `asyncio.to_thread`, declines animated GIFs (returns `None`), and iterates when bytes, not pixels, are over. A bare `http(s)://` source is deliberately never fetched to pre-check; it gets `rewrite_too_large_error`, which names both limits because it can't tell which one was hit. `ImageShareLifecycle` is the one temporary-share lifecycle for an image-embedding doc edit, used by `_apply_doc_content` and `insert_local_images` (#908); route any new one through it rather than hand-rolling the steps (`docs/design/image-share-lifecycle.md`). `resolve()` runs the uploads/shares as a shielded gather and marks dirty every folder a result names in `created_in` (a resized `drive:` copy lands next to its original, not in the target folder; #666). `async with edit():` checkpoints before the first edit request (#904), marks the doc dirty on every exit and again when an abandoned request lands (#907), then revokes, shielded, and checkpoints again so a cancellation held off by the revoke's shield is still raised and logged. So a cancellation can surface after the edit fully landed: `edit_completed` tells a caller which, and `_replace_doc_content` passes its own lifecycle (`_apply_doc_content(lifecycle=...)`) so that case discards its backup copy instead of keeping it. [History](docs/design/module-history.md#toolsdocsimagespy).
68
68
  - `docs/anchors.py` — `resolve_heading_anchor`, the slug matching behind the anchor pass. It tries GitHub's non-collapsing hyphen scheme (hand-rolled) and GitLab's collapsing one (python-markdown's `toc` `slugify`), with `-1`/`-2` duplicate-heading suffixes, against the doc's full heading list. The fuzzy fallback (`_fuzzy_match`) tries the anchor's literal tokens at occurrence 0 first, and only then treats a trailing `-<digits>` as an occurrence index. A requested occurrence that doesn't exist returns `None`, never the nearest candidate. [History](docs/design/module-history.md#toolsdocsanchorspy).
69
- - `docs/tables.py` — tools (`insert_doc_table`, `insert_table_row`, `delete_table_row`, `insert_table_column`, `delete_table_column`, `merge_table_cells`)
70
- - `docs/style.py` — helpers (`_NAMED_STYLE_TYPES`, `_read_body_styles`, `_read_named_styles`, `_build_named_style_requests`, `_text_style_and_fields`, `_add_or_clear_field`) and tools (`style_doc_range`, `style_doc_table_cells`, `create_paragraph_bullets`, `delete_paragraph_bullets`, `get_doc_theme`, `get_doc_named_styles`, `apply_theme`). [History](docs/design/module-history.md#toolsdocsstylepy). Invariants:
69
+ - `docs/tables.py` — tools (`insert_doc_table`, `insert_table_row_or_column`, `delete_table_row_or_column`, `merge_table_cells`). The four row-only and column-only tools (`insert_table_row`, ...) are deprecated for one release and delegate to the `_insert_table_dimension`/`_delete_table_dimension` helpers the `*_row_or_column` tools call (#1527), so the old and new names send identical requests.
70
+ - `docs/style.py` — helpers (`_NAMED_STYLE_TYPES`, `_read_body_styles`, `_read_named_styles`, `_build_named_style_requests`, `_text_style_and_fields`, `_add_or_clear_field`) and tools (`style_doc_range`, `style_doc_table_cells`, `create_paragraph_bullets`, `delete_paragraph_bullets`, `get_doc_theme`, the deprecated `get_doc_named_styles`, `apply_theme`). `get_doc_theme(source=)` reads `_read_body_styles`, `_read_named_styles`, or both (#1527). [History](docs/design/module-history.md#toolsdocsstylepy). Invariants:
71
71
  - `createParagraphBullets` has no `nestingLevel` field. The API infers each paragraph's level from its leading tabs *relative to the other paragraphs in the same call*, then consumes the tabs, and it is a no-op on a paragraph already in a list. So `create_paragraph_bullets` always `deleteParagraphBullets` first, expands each target to its contiguous same-`listId` neighbors (keeping their levels), and issues one `createParagraphBullets` per contiguous same-preset run.
72
72
  - `deleteParagraphBullets` leaves a level-N item indented 36pt × N, and `createParagraphBullets` reads that indent as depth on top of the tabs. So each run zeroes `indentStart`/`indentFirstLine` between its delete and its tab inserts; without it, re-bulleting a listed paragraph compounds its level (#1069).
73
73
  - A run's preset comes from the doc's own `lists` map (`glyphType` = numbered, `glyphSymbol` = bulleted) unless the caller passed `bullet_preset`; explicit always wins. Conflicting explicit presets joined by a shared context paragraph return `{"error": ...}` instead of picking one.
74
74
  - A run with no level-0 paragraph is wrapped with a throwaway 0-tab anchor paragraph (insert `"\n"`, create over the range +1, delete the anchor), the same fix as `emitter.py`; otherwise the whole run collapses to level 0.
75
75
  - To clear a nested field such as a link, omit the key from `textStyle` but name it in `fields` (`_add_or_clear_field`); the API rejects `link: {}`. Guard the request on `if fields:`, not `if text_style:`, since a clear-only call has an empty style.
76
- - `docs/layout.py` — tools (`create_header`, `create_footer`)
76
+ - `docs/layout.py` — `create_header_or_footer`, and the deprecated `create_header`/`create_footer`, all through `_create_header_or_footer` (#1527). The Docs API's header type takes only `DEFAULT`, and no request makes a first-page header or footer (checked live), so the deprecated tools refuse a `FIRST_PAGE_*` type before any call. The reply is keyed by the request's own name (`createHeader`/`createFooter`).
77
77
  - `docs/comments.py` — tools (`list_doc_comments`, `add_doc_comment`, `resolve_doc_comment`) via the Drive `comments`/`replies` resource, not the Docs API
78
- - `docs/named_ranges.py` — helper (`_create_named_range`) and tools (`create_named_range`, `create_bookmark`), extracted out of `content.py` (#371) since they're fully self-contained. The Docs API has no bookmark-creation endpoint — `create_bookmark` is a thin wrapper over `createNamedRange` spanning a single character; neither tool's output is a link target (only UI-created bookmarks/headings are).
79
- - `docs/doc_to_ast.py` / `docs/ast_to_markdown.py` / `docs/markdown_export.py` — the read side (`get_doc_as_markdown`, opt-in `include_comments` for non-resolved comments via the Drive `comments` resource). It walks `documents().get()` into the same AST the write side uses and serializes that to Markdown, instead of cleaning up Google's styled HTML export (`docs/design/doc-to-markdown.md`). A paragraph is a fenced code block only when *every* run is code-styled (Courier New), so a paragraph holding only one inline code span renders as a block (documented in `docs/known-limitations.md`). Exception (#951): a fence can't hold a link, so a code paragraph with a linked run renders as linked inline code spans instead. A linked run that is only line breaks doesn't count, and neither does a linked image. Every image renders through `_render_image`, which keeps its link, and one inside a code paragraph renders outside the fence (`_render_code_block`). Links come from `_link_url`, shared by text runs and images, which rebuilds a heading or bookmark link (reported by ID, with no `url`) as a same-document URL. Empty-runs paragraphs in table cells are kept as spacers, and `_render_cell` converts `"\n"` to `<br>` *before* stripping. Emphasis markers go inside surrounding whitespace (CommonMark flanking). Two adjacent quoted blocks are one Docs quote (one bar; separate quotes have the emitter's unquoted separator between them), so `_OpenItems.separator` makes the blank line between two nodes carry the quote levels both write at the margin (a block in a quoted list's item writes its item's), or the export reads as two quotes. An empty list item and its first block are joined by a newline, not a blank line: CommonMark ends an item that starts with a blank line (`_starts_empty_item`). `_text_run_to_run` turns every `"\v"` (soft break) into `"\n"`, and a plain run's `"\n"` renders as `<br>` with edge breaks outside its link (#1057); `get_doc_structure`/`find_in_doc` still decode only Courier New runs (`decode_code_run_text`). A nested table renders a placeholder note, except the emitter's quote-bar wrapper (#1122), recognized by its whole signature (`_quote_bar_wrapped`), which reads as the quoted table it holds, placed by the indent its cell's first paragraph records; the newline `insertTable` put before it is dropped before the table is placed (`_ListItemContext.discard`), or it would end the quote, except an unquoted one after a quoted table, which keeps two quotes apart (`_ends_a_quoted_table`). Two blocks in one item that share a quote get a separator carrying it (`_OpenItems._inner_quote`). An ordered item renders its ordinal from `BulletItem.number`, which `document_to_ast` counts per `listId` and nesting level over body paragraphs, never per contiguous run, since a table or paragraph between two items doesn't restart a Docs list (#1208). `startNumber` 0 means 1 only for lettered and Roman levels. A sublist whose first number isn't 1 writes `1.` for that item, since CommonMark won't let it interrupt the parent's text. A block inside a list item (#1302, the inverse of #1094) is found by indent in `doc_to_ast._ListItemContext`: a non-bullet paragraph after an item with `indentStart == indentFirstLine` at that item's level's text indent (or a shallower level's), plus 36pt per quote level, gets that level as `list_depth`, with its quote depth counted from the text indent, not the margin. It tracks the `listId` open at each depth, since a sublist of the other type has its own (#1072). A table (no indent in the API) and a quote whose indent also reads as a deeper margin quote wait: they're inside an item only when the list goes on after them (an item of a list open at that depth, a sublist nested under the last item, or a plainly in-item block), else outside as read. `ast_to_markdown._OpenItems` indents such a block to its item's content column (`_item_prefix`'s width), never a fixed width, and a nested item to the content column of the open item above it when their quote depths match, else at the margin, closing the lists above it (`_nesting_column`, #1128), with the item's quote levels outside the indent whatever depth the block reads with. A task item's `[ ] ` is its text, not its marker, so its content column is 2. A bulleted `HEADING_N` paragraph that isn't a checkbox item is a `BulletItem` with `heading_level`, rendered `- # Title`; every other item's text goes through `_escape_leading_block_marker`. [History](docs/design/module-history.md#toolsdocsdoc_to_astpy--docsast_to_markdownpy--docsmarkdown_exportpy).
78
+ - `docs/named_ranges.py` — helper (`_create_named_range`) and tools (`create_named_range`, whose omitted `end_index` spans one character, and the deprecated `create_bookmark`, #1527), extracted out of `content.py` (#371) since they're fully self-contained. The Docs API has no bookmark-creation endpoint — `create_bookmark` is a thin wrapper over `createNamedRange` spanning a single character; neither tool's output is a link target (only UI-created bookmarks/headings are).
79
+ - `docs/doc_to_ast.py` / `docs/ast_to_markdown.py` / `docs/markdown_export.py` — the read side (`get_doc_as_markdown`, opt-in `include_comments` for non-resolved comments via the Drive `comments` resource). `get_doc_as_markdown` reads the document through the doc cache (`markdown_export._read_document`, #1527), which holds the raw `documents().get()` resource, so conversion and comments run on every call. Under `CACHE_VALIDATE_MODIFIED_TIME` an entry is served only while the Docs API's `revisionId` matches the one it was stored at, never against Drive's `modifiedTime`, which lags a Docs edit by minutes and missed edits made outside this server (PR #1548 QA round 1). An entry lasts at most `_REVISION_ID_MAX_AGE` (a revisionId is guaranteed for 24 hours), one with `inlineObjects` at most `_IMAGE_DOCUMENT_MAX_AGE`, since its image URLs expire, and a document over `cache.MAX_DOCUMENT_BYTES` isn't stored, since cache I/O runs on the event loop. It walks `documents().get()` into the same AST the write side uses and serializes that to Markdown, instead of cleaning up Google's styled HTML export (`docs/design/doc-to-markdown.md`). A paragraph is a fenced code block only when *every* run is code-styled (Courier New), so a paragraph holding only one inline code span renders as a block (documented in `docs/known-limitations.md`). Exception (#951): a fence can't hold a link, so a code paragraph with a linked run renders as linked inline code spans instead. A linked run that is only line breaks doesn't count, and neither does a linked image. Every image renders through `_render_image`, which keeps its link, and one inside a code paragraph renders outside the fence (`_render_code_block`). Links come from `_link_url`, shared by text runs and images, which rebuilds a heading or bookmark link (reported by ID, with no `url`) as a same-document URL. Empty-runs paragraphs in table cells are kept as spacers, and `_render_cell` converts `"\n"` to `<br>` *before* stripping. Emphasis markers go inside surrounding whitespace (CommonMark flanking). Two adjacent quoted blocks are one Docs quote (one bar; separate quotes have the emitter's unquoted separator between them), so `_OpenItems.separator` makes the blank line between two nodes carry the quote levels both write at the margin (a block in a quoted list's item writes its item's), or the export reads as two quotes. An empty list item and its first block are joined by a newline, not a blank line: CommonMark ends an item that starts with a blank line (`_starts_empty_item`). `_text_run_to_run` turns every `"\v"` (soft break) into `"\n"`, and a plain run's `"\n"` renders as `<br>` with edge breaks outside its link (#1057); `get_doc_structure`/`find_in_doc` still decode only Courier New runs (`decode_code_run_text`). A nested table renders a placeholder note, except the emitter's quote-bar wrapper (#1122), recognized by its whole signature (`_quote_bar_wrapped`), which reads as the quoted table it holds, placed by the indent its cell's first paragraph records; the newline `insertTable` put before it is dropped before the table is placed (`_ListItemContext.discard`), or it would end the quote, except an unquoted one after a quoted table, which keeps two quotes apart (`_ends_a_quoted_table`). Two blocks in one item that share a quote get a separator carrying it (`_OpenItems._inner_quote`). An ordered item renders its ordinal from `BulletItem.number`, which `document_to_ast` counts per `listId` and nesting level over body paragraphs, never per contiguous run, since a table or paragraph between two items doesn't restart a Docs list (#1208). `startNumber` 0 means 1 only for lettered and Roman levels. A sublist whose first number isn't 1 writes `1.` for that item, since CommonMark won't let it interrupt the parent's text. A block inside a list item (#1302, the inverse of #1094) is found by indent in `doc_to_ast._ListItemContext`: a non-bullet paragraph after an item with `indentStart == indentFirstLine` at that item's level's text indent (or a shallower level's), plus 36pt per quote level, gets that level as `list_depth`, with its quote depth counted from the text indent, not the margin. It tracks the `listId` open at each depth, since a sublist of the other type has its own (#1072). A table (no indent in the API) and a quote whose indent also reads as a deeper margin quote wait: they're inside an item only when the list goes on after them (an item of a list open at that depth, a sublist nested under the last item, or a plainly in-item block), else outside as read. `ast_to_markdown._OpenItems` indents such a block to its item's content column (`_item_prefix`'s width), never a fixed width, and a nested item to the content column of the open item above it when their quote depths match, else at the margin, closing the lists above it (`_nesting_column`, #1128), with the item's quote levels outside the indent whatever depth the block reads with. A task item's `[ ] ` is its text, not its marker, so its content column is 2. A bulleted `HEADING_N` paragraph that isn't a checkbox item is a `BulletItem` with `heading_level`, rendered `- # Title`; every other item's text goes through `_escape_leading_block_marker`. [History](docs/design/module-history.md#toolsdocsdoc_to_astpy--docsast_to_markdownpy--docsmarkdown_exportpy).
80
80
  - `docs/ast.py` — dataclass schema
81
81
  - `docs/html_parser.py` — HTML→AST. [History](docs/design/module-history.md#toolsdocshtml_parserpy). Invariants:
82
82
  - A block with no node of its own (#1391): `_CONTAINER_TAGS` is the HTML spec's display:block elements the parser doesn't build a node for (`div`, `section`, `dl`, `dd`, `body`, ...), an allowlist, so an inline tag with no block around it stays a no-op. Content directly inside one, or a `<blockquote>`, opens an anonymous paragraph (`_ANONYMOUS_BLOCK`, `_can_open_anonymous_block`): for text, a `<br>`, or an inline tag, before that tag's own handling so `<div><b>x</b></div>` stays bold. Any container boundary ends it, a `</blockquote>`, `</ul>` or `</ol>` included (`_end_anonymous_block`, which `_resume_interrupted_block` calls first). A container inside a table cell is still an unrecognized tag there, whose text the cell already keeps. Inside an open block it breaks the block's text onto its own line wherever the block has text beside it (#1403: `_tail_kind`, `_OpenElement.container_in_block`/`container_mark`/`container_epoch`): a break goes in only beside text, never doubling a `<br>` or another container's boundary break, never for a container holding the block's only text (PR #1400's transparency holds), never for an empty one, and never inside `<pre>`, where the text is literal; a nested block inside it already broke the line, so its end tag's break lands only when its own content ended the segment.
@@ -115,6 +115,7 @@ Each entry below says what a module owns and the invariants a future edit could
115
115
  - 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`.
116
116
  - 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`).
117
117
  - `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.
118
+ - `DocContentCache` holds two entries per doc: `get_doc_content`'s under the bare file ID and `get_doc_as_markdown`'s document under `<file_id>:document` (#1527). `mark_dirty(file_id)` marks both, the second by prefix, so any derived entry keyed `<file_id>:...` is covered.
118
119
  - 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.
119
120
  - `tools/calendar.py` — Calendar API tools
120
121
  - `tools/gmail.py` — Gmail tools. Sending is safe by default (#1081, `docs/design/gmail-send-confirmation.md`). Invariants:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-gee-sweet
3
- Version: 0.9.7.dev51
3
+ Version: 0.9.7.dev52
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
@@ -17,7 +17,7 @@
17
17
  | `LOCAL_FILE_ROOTS` | With `LOCAL_FILE_ACCESS=roots`, the directories tools may use, separated by `:` (`;` on Windows), like `PATH` | — |
18
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
- | `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` |
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. `get_doc_as_markdown` checks the Docs API's `revisionId` instead, one extra Docs API call, since Drive's `modifiedTime` lags a Docs edit by minutes | `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` |
22
22
  | `LIST_ALL_EVENTS_MAX_CONCURRENCY` | Most calendars `list_all_events` queries at once, shared across every concurrent `list_all_events` call on the server, to stay under the Calendar API's per-user rate limit. Raise it for faster fan-out on accounts subscribed to many calendars; lower it for a stricter rate-limit posture. Values below 1 are treated as 1 | `20` |
23
23
  | `HTTP_TIMEOUT_SECONDS` | How long one socket operation of a Google API request (connecting, sending, or waiting for data) may block before the request fails. It applies per operation, not to the whole request: a long download or upload that keeps moving data never hits it. A read that times out is retried once on a new connection; a write isn't, and its error says it may still have been applied. Raise it if Google legitimately takes longer than this to start answering a request, such as a very large export or `batchUpdate`. An invalid or non-positive value logs a warning and uses the default; a value over one day (`86400`), `inf` included, logs a warning and uses one day. See [decision-http-socket-timeout.md](decisions/decision-http-socket-timeout.md) | `60` |
@@ -79,7 +79,7 @@ Access logs are emitted at `INFO` level — they appear when `DEBUG_LEVEL` is `D
79
79
 
80
80
  <!-- Auto-generated by `scripts/gen_tool_docs.py` — do not edit by hand, your changes will be overwritten on the next commit. -->
81
81
 
82
- By default the server registers the `default` tool group, 39 of the 147 tools. Use `ENABLED_TOOLS` (or `--include-tools` on the CLI) to choose the tools you need: it takes tool names and group names, and the server registers their union. Fewer tools reduce the AI's context window cost — each registered tool is a name the model must reason about on every call.
82
+ By default the server registers the `default` tool group, 39 of the 150 tools. Use `ENABLED_TOOLS` (or `--include-tools` on the CLI) to choose the tools you need: it takes tool names and group names, and the server registers their union. Fewer tools reduce the AI's context window cost — each registered tool is a name the model must reason about on every call.
83
83
 
84
84
  ```bash
85
85
  # Environment variable: the default set, plus the local-file tools
@@ -96,10 +96,10 @@ If neither is set, or the value is empty, the `default` group is registered. `EN
96
96
  | Group | Tools | What it holds |
97
97
  |---|---|---|
98
98
  | `default` | 39 | Everyday reading and writing across all five services. What an unset or empty `ENABLED_TOOLS` loads |
99
- | `all` | 147 | Every tool, plus the deprecated alias of each recently renamed tool |
99
+ | `all` | 150 | Every tool, plus the deprecated alias of each recently renamed tool |
100
100
  | `sheets` | 45 | Every spreadsheet tool: data, sheets, formatting, charts, and creating, listing, searching, importing and sharing spreadsheets (which are in `drive` too) |
101
101
  | `drive` | 38 | Every Drive tool: files, sharing, activity, upload, download, local sync, and creating, listing, searching, importing and sharing spreadsheets (also in `sheets`) |
102
- | `docs` | 34 | Every Docs tool |
102
+ | `docs` | 37 | Every Docs tool |
103
103
  | `calendar` | 17 | Every Calendar tool |
104
104
  | `gmail` | 15 | Every Gmail tool |
105
105
  | `cache` | 3 | The cache controls: `get_cache_ttl`, `set_cache_ttl`, `refresh_cache` |
@@ -197,7 +197,7 @@ The server caches responses in a local SQLite database to reduce API calls and l
197
197
 
198
198
  - TTL-based expiry: controlled by `CACHE_TTL` (default 30 minutes); change it at runtime with the `set_cache_ttl` tool instead of restarting the server
199
199
  - Dirty invalidation: write operations mark the relevant cache entries stale immediately
200
- - 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)
200
+ - 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. `get_doc_as_markdown`'s entry is checked against the Doc's live `revisionId` from the Docs API instead, which changes as soon as the Doc is edited, where `modifiedTime` lags a Docs edit by minutes. 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)
201
201
  - 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
202
202
 
203
203
  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.
@@ -89,7 +89,7 @@ the paragraph after the table is collapsed again only if the new content still e
89
89
  is written into the one cell of a 1x1 wrapper table, whose left border is the quote's
90
90
  gray bar (#1122). `get_doc_structure` reports the wrapper as the top-level table, with the
91
91
  quoted table nested in its cell, so table tools that take a table's position
92
- (`insert_table_row`, `merge_table_cells`, and so on) reach the wrapper, not the table you
92
+ (`insert_table_row_or_column`, `merge_table_cells`, and so on) reach the wrapper, not the table you
93
93
  see. Removing the wrapper in the Docs editor removes the bar but leaves the table.
94
94
 
95
95
  **Why:** The Docs API can't give a table a paragraph border, so a bar beside a table has to
@@ -290,10 +290,11 @@ differences listed under Google Drive below).
290
290
 
291
291
  ---
292
292
 
293
- ### `create_bookmark` doesn't create a bookmark Docs lists
293
+ ### A named range isn't a bookmark Docs lists
294
294
 
295
- **What:** `create_bookmark` creates a one-character named range. It doesn't appear under
296
- Insert > Link > "Headings, bookmarks, and tabs", and no link can point to it.
295
+ **What:** `create_named_range` with no `end_index` (and the deprecated `create_bookmark`)
296
+ creates a one-character named range. It doesn't appear under Insert > Link > "Headings,
297
+ bookmarks, and tabs", and no link can point to it.
297
298
 
298
299
  **Why:** The Docs API has no request that creates a bookmark; only the Docs UI can.
299
300
 
@@ -302,6 +303,20 @@ that a link can target. Tracked in #1076.
302
303
 
303
304
  ---
304
305
 
306
+ ### No first-page-only header or footer
307
+
308
+ **What:** `create_header_or_footer` creates a doc's default header or footer, shown on every
309
+ page. It can't create one shown only on the first page, and the deprecated `create_header`
310
+ and `create_footer` return an error for `FIRST_PAGE_HEADER` and `FIRST_PAGE_FOOTER`.
311
+
312
+ **Why:** The Docs API's header type takes only `DEFAULT`. Setting the doc's
313
+ `useFirstPageHeaderFooter` and then creating a header still makes only the default one
314
+ (checked live, #1527).
315
+
316
+ **Workaround:** In the Docs UI, Insert > Headers & footers, then check "Different first page".
317
+
318
+ ---
319
+
305
320
  ### `get_doc_as_markdown` exports a left-aligned table column as `---`, not `:--`
306
321
 
307
322
  **What:** In a table written by `create_doc`, `write_doc_content`, `create_doc_from_file`,
@@ -7650,3 +7650,58 @@ Step 2 matches every listed line (` 1. Nested`, ` - deep bullet`, ` - b`
7650
7650
 
7651
7651
  **Result (2026-11-17) ✅ PASS — Kit, PR #1539 round 2 @ 5b48603d**
7652
7652
  `mcp-gee-sweet-kit`, reconnected after the reset. Steps 1–2: the export is byte-identical to round 1's, so the step 2 and step 3 checks hold as in round 1. Step 4 wasn't re-run: its input is that same text, and round 1's round trip was byte-identical. Step 5: `10. ten`, a blank line, `> - quoted child` at the margin (no `>` followed by 4+ spaces), then `- a`, ` - b`, ` - c`, ` - d`. CommonMark render: `quoted child` is an `<li>` in a `<blockquote>`, `d` is inside `c`'s `<li>`, and there's no `<pre>`. Both docs trashed.
7653
+
7654
+ ---
7655
+
7656
+ ### TC-DOC265: `create_named_range` with no `end_index` makes a one-character anchor, as `create_bookmark` did ⚠️ destructive
7657
+
7658
+ **Purpose:** `create_bookmark` folds into `create_named_range`: an omitted `end_index` spans the single character at `start_index`. `create_bookmark` stays for one release, deprecated.
7659
+
7660
+ **Steps**
7661
+ 1. `create_doc(title="TC-DOC265", folder_id={FOLDER_ID}, content="Some paragraph text")` → `{DOC}`
7662
+ 2. `create_named_range(doc_id={DOC}, name="anchor", start_index=3)`
7663
+ 3. `create_bookmark(doc_id={DOC}, name="old", index=3)`
7664
+ 4. In the client's tool list, read `create_bookmark`'s description
7665
+
7666
+ **Checks**
7667
+ - Step 2: `{docId, namedRangeId, name: "anchor", startIndex: 3, endIndex: 4}` with a non-empty `namedRangeId`
7668
+ - Step 3: `{docId, namedRangeId, name: "old", index: 3}`, as before
7669
+ - Step 4: it starts with `Deprecated: use` and names `create_named_range` with `end_index` omitted
7670
+
7671
+ **Cleanup:** `delete_file` the doc
7672
+
7673
+ **Result (2026-11-19) ✅ PASS — Kit, PR #1548 round 1 @ 1f5fd10b**
7674
+ `mcp-gee-sweet-kit`, reconnected after the reset. Step 2: `{docId, namedRangeId: "kix.…", name: "anchor", startIndex: 3, endIndex: 4}`. Step 3: `{docId, namedRangeId: "kix.…", name: "old", index: 3}`. Step 4: `create_bookmark`'s description starts `Deprecated: use \`create_named_range\` with \`start_index\` set to \`index\` and \`end_index\` omitted`. Extra probe (review finding on astral characters): with `😀` inserted at index 1, `create_named_range(start_index=1)` with no `end_index` returned `startIndex: 1, endIndex: 2` with no error, so a range ending mid-surrogate-pair isn't rejected. Doc trashed.
7675
+
7676
+ ---
7677
+
7678
+ ### TC-DOC266: `get_doc_as_markdown` is cached, and an edit is seen at once ⚠️ destructive
7679
+
7680
+ **Playwright: required**
7681
+
7682
+ **Purpose:** `get_doc_as_markdown` now reads through the doc cache, as `get_doc_content` does, which is deprecated in its favor (#1527). Every edit through this server invalidates the entry, and an edit made elsewhere is caught at once by comparing the Docs API's `revisionId` (`CACHE_VALIDATE_MODIFIED_TIME`, on by default): Drive's `modifiedTime`, which the first version checked, lagged a Docs editor edit by about 2.5 minutes (PR #1548 QA round 1). Comments are read on every call.
7683
+
7684
+ **Steps**
7685
+ 1. `create_doc(title="TC-DOC266", folder_id={FOLDER_ID}, content_format="markdown", content="# Title\n\nFirst paragraph\n")` → `{DOC}`
7686
+ 2. `get_doc_as_markdown(doc_id={DOC})` twice
7687
+ 3. `get_doc_structure(doc_id={DOC})`, then `insert_doc_text(doc_id={DOC}, insertions=[{"index": <the endIndex of "First paragraph"> - 1, "text": " edited"}])`, then `get_doc_as_markdown(doc_id={DOC})`
7688
+ 4. In Playwright, type ` typed` at the end of the paragraph in the Docs editor, wait 10 seconds, then `get_doc_as_markdown(doc_id={DOC})`
7689
+ 5. `add_doc_comment(doc_id={DOC}, content="cached?")`, then `get_doc_as_markdown(doc_id={DOC}, include_comments=True)`
7690
+ 6. `get_doc_content(file_id={DOC})`, and read its description in the client's tool list
7691
+
7692
+ **Checks**
7693
+ - Step 2: both calls return the same `markdown`, `# Title\n\nFirst paragraph\n\n` (the last `\n` is the empty paragraph `create_doc` leaves at the end)
7694
+ - Step 3: the export reads `First paragraph edited`
7695
+ - Step 4: the export reads `First paragraph edited typed` (the UI edit changed the doc's `revisionId`)
7696
+ - Step 5: the `## Comments` section lists `cached?`
7697
+ - Step 6: it still returns the doc's plain text; its description starts with `Deprecated: use` and names `get_doc_as_markdown`, `export_file` and `download_file` with `export_format='txt'`, and `get_file_metadata`
7698
+
7699
+ **Cleanup:** `delete_file` the doc
7700
+
7701
+ **Result (2026-11-19) ❌ FAIL — Kit, PR #1548 round 1 @ 1f5fd10b**
7702
+ `mcp-gee-sweet-kit`, reconnected after the reset. Step 2: both calls `# Title\n\nFirst paragraph\n\n` (check corrected for the trailing empty paragraph). Step 3: `First paragraph edited`. Step 4 fails, the defect this case exists to catch. Done with the default `playwright` (sign-in check passed): after a fresh cached export reading `… typed`, ` again` was typed in the Docs editor ("Saved to Drive" shown), and 20 seconds later `get_doc_structure` read `… typed again` while `get_doc_as_markdown` still returned `… typed`. Drive's `modifiedTime` lags a Docs edit: after an edit sent straight to the Docs API, `modifiedTime` and `version` stayed unchanged for at least 24 s, and the new `modifiedTime` was first seen about 2.5 minutes after the edit. Throughout, `get_doc_as_markdown` served the pre-edit export. A first UI-edit attempt read fresh only because that earlier edit's lagging `modifiedTime` had just come through. A `documents.get(fields="revisionId")` changed immediately after the same kind of edit. Step 5: `## Comments` lists `cached?` (the export above it was still stale: `ext` without the ` v2 v3` edits made 2–3 minutes earlier). Step 6: plain text returned; the description starts `Deprecated: use \`get_doc_as_markdown\` … or \`export_file\` with \`export_format='txt'\``. Doc trashed.
7703
+
7704
+ **Result (2026-11-19) ✅ PASS — Kit, PR #1548 round 2 @ b3ad8da3**
7705
+ `mcp-gee-sweet-kit`, reconnected after the reset to the revisionId fix. Steps 1–3 as round 1: both step 2 calls `# Title\n\nFirst paragraph\n\n`, step 3 `First paragraph edited`. The cache DB held a `<doc_id>:document` row with a `revision_id`, and a repeat export left its `fetched_at` unchanged (a hit). An edit sent straight to the Docs API (` ext`, bypassing the server) showed up in the very next export, where round 1 served it stale for about 2.5 minutes. Step 4 (default `playwright`, sign-in check passed, URL-verified): ` typed` typed in the Docs editor ("Saved to Drive"); the export read `First paragraph edited ext typed` within seconds, matching `get_doc_structure`. Step 5: `## Comments` lists `cached?`. Step 6: plain text returned; the new deprecation note (`get_doc_as_markdown` with `local_path`, `export_file`/`download_file` with `export_format='txt'`, `get_file_metadata`) checked in `content.py` at this head, since `ToolSearch` kept the pre-reset description. Doc trashed.
7706
+
7707
+ ---
@@ -171,3 +171,33 @@ Run 2 (sa) on a throwaway doc.
171
171
 
172
172
  ---
173
173
 
174
+
175
+ ## `create_header_or_footer` (#1527)
176
+
177
+ ### TC-DOC263: Add a header and a footer with `create_header_or_footer` ⚠️ destructive
178
+
179
+ **Playwright: required**
180
+
181
+ **Purpose:** `create_header` and `create_footer` merge into `create_header_or_footer`, where `kind` picks which. It reads the new ID from the API's reply (the old tools looked under the wrong key and fetched it again).
182
+
183
+ **Steps**
184
+ 1. `create_doc(title="TC-DOC263", folder_id={FOLDER_ID}, content="Body")` → `{DOC}`
185
+ 2. `create_header_or_footer(doc_id={DOC}, kind="header", content="Top text")`
186
+ 3. `create_header_or_footer(doc_id={DOC}, kind="footer", content="Bottom text")`
187
+ 4. `create_header_or_footer(doc_id={DOC}, kind="header", content="More ")` (the doc already has a header)
188
+ 5. `create_header(doc_id={DOC}, header_type="FIRST_PAGE_HEADER")` and `create_footer(doc_id={DOC}, footer_type="FIRST_PAGE_FOOTER")`
189
+ 6. Open `{DOC}` in Playwright
190
+
191
+ **Checks**
192
+ - Step 2: `{docId, kind: "header", headerId}` with a non-empty `headerId` and no `warning`
193
+ - Step 3: `{docId, kind: "footer", footerId}`, likewise
194
+ - Step 4: the same `headerId` as step 2, no error
195
+ - Step 5: each returns an `error` saying a first-page header (or footer) can't be created through the Docs API and pointing to the Docs UI, and neither makes a change (re-check in step 6)
196
+ - Step 6: the page header reads `More Top text` and the footer `Bottom text`
197
+
198
+ **Cleanup:** `delete_file` the doc
199
+
200
+ **Result (2026-11-19) ✅ PASS — Kit, PR #1548 round 1 @ 1f5fd10b**
201
+ `mcp-gee-sweet-kit`, reconnected after the reset. Step 2: `{docId, kind: "header", headerId: "kix.…"}`, no `warning`. Step 3: `{docId, kind: "footer", footerId: "kix.…"}`. Step 4: the same `headerId` as step 2. Step 5: both return the first-page `error` pointing to Insert > Headers & footers. Step 6 (default `playwright`, sign-in check passed on the fixture doc's title; URL-verified both captures): header `More Top text`, footer `Bottom text` on the doc's one page, no first-page header or footer. Doc trashed.
202
+
203
+ ---
@@ -874,3 +874,28 @@ Then: "Flatten Gamma to level 1, then put it back at level 2." Tool calls: `crea
874
874
  Cleanup: run folder QA-orn-D-2026-11-08 trashed (not permanent), along with every doc in it. No case failed, so nothing was kept. The fixture doc was only read. Totals: 31 PASS, 0 FAIL, 0 PARTIAL, 0 SKIP.
875
875
 
876
876
  ---
877
+
878
+ ## `get_doc_theme(source=)` (#1527)
879
+
880
+ ### TC-DOC264: `get_doc_theme` reads the body, the named styles, or both ⚠️ destructive
881
+
882
+ **Purpose:** `get_doc_named_styles` folds into `get_doc_theme(source="named_styles")`; `source="both"` returns the two side by side. `get_doc_theme` is now marked read-only.
883
+
884
+ **Steps**
885
+ 1. `create_doc(title="TC-DOC264", folder_id={FOLDER_ID}, content_format="markdown", content="# Heading\n\nBody text\n")` → `{DOC}`
886
+ 2. `apply_theme(doc_id={DOC}, theme={"HEADING_1": {"font_family": "Georgia"}})` (named styles only, so the body's heading keeps its own style)
887
+ 3. `get_doc_theme(doc_id={DOC})`, `get_doc_theme(doc_id={DOC}, source="named_styles")`, `get_doc_theme(doc_id={DOC}, source="both")`, and `get_doc_named_styles(doc_id={DOC})`
888
+ 4. `get_doc_theme(doc_id={DOC}, source="theme")`
889
+ 5. In the client's tool list, read `get_doc_theme`'s annotations and `get_doc_named_styles`' description
890
+
891
+ **Checks**
892
+ - Step 3: the default call returns the same dict as `source="body"` would (keyed by named style type, no `body`/`named_styles` keys). `source="named_styles"` returns exactly what `get_doc_named_styles` returns, with `HEADING_1.font_family` `Georgia`. `source="both"` is `{"body": <the default call's dict>, "named_styles": <the named_styles call's dict>}`
893
+ - Step 4: the call is refused with an input validation error naming `source` (`Input should be 'body', 'named_styles' or 'both'`): `source` is a `Literal`, so the MCP argument check rejects it before the tool's own check runs
894
+ - Step 5: `get_doc_theme` has `readOnlyHint: true`; `get_doc_named_styles`' description starts with `Deprecated: use` and names `get_doc_theme` with `source='named_styles'`
895
+
896
+ **Cleanup:** `delete_file` the doc
897
+
898
+ **Result (2026-11-19) ✅ PASS — Kit, PR #1548 round 1 @ 1f5fd10b**
899
+ `mcp-gee-sweet-kit`, reconnected after the reset. Step 2: `{requests: 1}`. Step 3: the default call returned `{}` (the Markdown write sets no explicit body styles), and `source="both"` returned `{"body": {}, "named_styles": …}`; `source="named_styles"` and `get_doc_named_styles` returned identical dicts with `HEADING_1.font_family` `Georgia`. Step 4: refused with `Input should be 'body', 'named_styles' or 'both'` from the argument check (check corrected this round: it expected the tool's own `{"error"}`, which a `Literal` parameter never reaches). Step 5: `readOnlyHint=True` on `get_doc_theme`'s decorator; `get_doc_named_styles`' description starts `Deprecated: use \`get_doc_theme\` with \`source='named_styles'\``. Doc trashed.
900
+
901
+ ---
@@ -323,3 +323,35 @@ Run 2 (sa) on a throwaway doc.
323
323
  **Result (2026-11-08) ✅ PASS — ornithomimus release pass, shard S3 on `ash`** — Same 2×2 table, `merge_table_cells(0,0,row_span=1,column_span=99)` returned `{"error": "<HttpError 400 ... mergeTableCells: The table range extends outside the bounds of the table.>"}`; no exception. Table deleted afterwards. (Run before DOC91/92 to reuse the 2×2.)
324
324
 
325
325
  ---
326
+
327
+ ## `insert_table_row_or_column` / `delete_table_row_or_column` (#1527)
328
+
329
+ ### TC-DOC262: Insert and delete a row and a column with the merged tools; the deprecated names still work ⚠️ destructive
330
+
331
+ **Purpose:** The four row-only and column-only table tools merge into `insert_table_row_or_column` and `delete_table_row_or_column`, where `dimension` picks a row or a column. The old names stay registered for one release, marked deprecated, and send the same requests.
332
+
333
+ **Steps**
334
+ 1. `create_doc(title="TC-DOC262", folder_id={FOLDER_ID}, content_format="markdown", content="| a | b |\n|---|---|\n| 1 | 2 |\n")` → `{DOC}`; `get_doc_structure(doc_id={DOC})` → the table's `startIndex` `{T}`
335
+ 2. `insert_table_row_or_column(doc_id={DOC}, dimension="row", table_start_index={T}, index=0)`, then `get_doc_structure`
336
+ 3. `insert_table_row_or_column(doc_id={DOC}, dimension="column", table_start_index={T}, index=0, after=False)`, then `get_doc_structure`
337
+ 4. `delete_table_row_or_column(doc_id={DOC}, dimension="row", table_start_index={T}, index=1)`, then `get_doc_structure`
338
+ 5. `delete_table_row_or_column(doc_id={DOC}, dimension="column", table_start_index={T}, index=0)`, then `get_doc_structure`
339
+ 6. `insert_table_row(doc_id={DOC}, table_start_index={T}, row_index=0)` and `delete_table_column(doc_id={DOC}, table_start_index={T}, column_index=1)`, then `get_doc_structure`
340
+ 7. `insert_table_row_or_column(doc_id={DOC}, dimension="cell", table_start_index={T}, index=0)`
341
+ 8. In the client's tool list, read the descriptions of `insert_table_row`, `insert_table_column`, `delete_table_row` and `delete_table_column`
342
+
343
+ **Checks**
344
+ - Step 2: `{docId, table_start_index: {T}, dimension: "row", index: 0}`; the table has 3 rows, and row 1 is the new empty one (cells `a`, `b` stay in row 0)
345
+ - Step 3: the table has 3 columns, and column 0 is the new empty one (`a` is now in column 1)
346
+ - Step 4: back to 2 rows: `a`/`b` and `1`/`2`, with the empty column still first
347
+ - Step 5: back to 2 columns, `a | b` over `1 | 2`
348
+ - Step 6: both return the pre-merge shape (`row_index` and `column_index`, no `dimension`), and the table ends 3 rows × 1 column, holding `a`, an empty cell, `1`
349
+ - Step 7: the call is refused with an input validation error naming `dimension` (`Input should be 'row' or 'column'`): `dimension` is a `Literal`, so the MCP argument check rejects it before the tool's own check runs. The table is unchanged
350
+ - Step 8: each description starts with `Deprecated: use` and names `insert_table_row_or_column` or `delete_table_row_or_column` with the matching `dimension`
351
+
352
+ **Cleanup:** `delete_file` the doc
353
+
354
+ **Result (2026-11-19) ✅ PASS — Kit, PR #1548 round 1 @ 1f5fd10b**
355
+ `mcp-gee-sweet-kit`, reconnected after the reset. `{T}` = 2. Step 2: 3×2, row 1 empty, `a`/`b` in row 0. Step 3: 3×3, column 0 empty, `a` in column 1. Step 4: 2×3, `a`/`b` over `1`/`2` with the empty column first. Step 5: 2×2, `a | b` over `1 | 2`. Step 6: `{docId, table_start_index: 2, row_index: 0}` and `{docId, table_start_index: 2, column_index: 1}`; the table ends 3×1 holding `a`, an empty cell, `1`. Step 7: refused with `Input should be 'row' or 'column'` from the argument check (check corrected this round: it expected the tool's own `{"error"}`, which a `Literal` parameter never reaches). Step 8: all four descriptions start `Deprecated: use` and name the merged tool with the matching `dimension`. Doc trashed.
356
+
357
+ ---
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!-- Auto-generated by `scripts/gen_tool_docs.py` — do not edit by hand, your changes will be overwritten on the next commit. -->
4
4
 
5
- 147 tools. All tool names are lowercase with underscores — use these exact strings with `ENABLED_TOOLS` or `--include-tools`. The Groups column names the [tool groups](configuration.md#tool-groups) that load each tool, and `all` loads every one.
5
+ 150 tools. All tool names are lowercase with underscores — use these exact strings with `ENABLED_TOOLS` or `--include-tools`. The Groups column names the [tool groups](configuration.md#tool-groups) that load each tool, and `all` loads every one.
6
6
 
7
7
  ## Sheets — data
8
8
 
@@ -135,7 +135,7 @@ Requires the `drive.activity.readonly` scope; uses the Drive Activity API v2.
135
135
  |---|---|---|---|
136
136
  | `create_doc` | Create a new Google Doc, optionally with initial content. | `title`, `content?`, `folder_id?`, `content_format?`, `autolink_urls?`, `revoke_sharing?`, `auto_downscale?` | `docs`, `default` |
137
137
  | `create_doc_from_file` | Create a Google Doc from a local .md or .html file. Not available when the server runs with LOCAL_FILE_ACCESS=off. | `local_path`, `title?`, `folder_id?`, `autolink_urls?`, `revoke_sharing?`, `auto_downscale?` | `docs`, `local-files` |
138
- | `get_doc_content` | Get the plain text content of a Google Doc. | `file_id`, `local_path?` | `docs` |
138
+ | `get_doc_content` | Deprecated: use `get_doc_as_markdown` for the Doc's content (with `local_path` for a large Doc); `export_file` with `export_format='txt'` for plain text, or `download_file` with `export_format='txt'` to write it to disk; and `get_file_metadata` for its name, modified time and web link instead. Removed in the next feature release. | `file_id`, `local_path?` | `docs` |
139
139
  | `write_doc_content` | Replace the full content of an existing Google Doc. | `doc_id`, `content`, `content_format?`, `autolink_urls?`, `revoke_sharing?`, `auto_downscale?`, `allow_no_backup?`, `folder_id?` | `docs`, `default` |
140
140
  | `update_doc_from_file` | Replace an existing Google Doc's content in place from a local .md or .html file. Not available when the server runs with LOCAL_FILE_ACCESS=off. | `doc_id`, `local_path`, `content_format?`, `autolink_urls?`, `revoke_sharing?`, `auto_downscale?`, `allow_no_backup?`, `folder_id?` | `docs`, `local-files` |
141
141
  | `get_doc_structure` | Return the full structural map of a Google Doc body with element indices. | `doc_id` | `docs`, `default` |
@@ -147,25 +147,28 @@ Requires the `drive.activity.readonly` scope; uses the Drive Activity API v2.
147
147
  | `insert_inline_image` | Insert an inline image at a specific index in a Google Doc. | `doc_id`, `index`, `uri?`, `drive_file_id?`, `width?`, `height?`, `auto_downscale?` | `docs` |
148
148
  | `insert_local_images` | Upload local image files to Drive and swap each into a Google Doc at a plain-text marker, in one call. Not available when the server runs with LOCAL_FILE_ACCESS=off. | `doc_id`, `images`, `folder_id?`, `revoke_sharing?`, `auto_downscale?` | `docs`, `local-files` |
149
149
  | `insert_doc_table` | Insert an empty table at a specific position in a Google Doc. | `doc_id`, `index`, `rows`, `columns` | `docs` |
150
- | `insert_table_row` | Insert a row into an existing table in a Google Doc. | `doc_id`, `table_start_index`, `row_index`, `insert_below?` | `docs` |
151
- | `delete_table_row` | Delete a row from an existing table in a Google Doc. | `doc_id`, `table_start_index`, `row_index` | `docs` |
152
- | `insert_table_column` | Insert a column into an existing table in a Google Doc. | `doc_id`, `table_start_index`, `column_index`, `insert_right?` | `docs` |
150
+ | `insert_table_row_or_column` | Insert a row or a column into an existing table in a Google Doc. | `doc_id`, `dimension`, `table_start_index`, `index`, `after?` | `docs` |
151
+ | `insert_table_row` | Deprecated: use `insert_table_row_or_column` with `dimension='row'` (`row_index` becomes `index`, `insert_below` becomes `after`) instead. Removed in the next feature release. | `doc_id`, `table_start_index`, `row_index`, `insert_below?` | `docs` |
152
+ | `delete_table_row_or_column` | Delete a row or a column from an existing table in a Google Doc. | `doc_id`, `dimension`, `table_start_index`, `index` | `docs` |
153
+ | `delete_table_row` | Deprecated: use `delete_table_row_or_column` with `dimension='row'` (`row_index` becomes `index`) instead. Removed in the next feature release. | `doc_id`, `table_start_index`, `row_index` | `docs` |
154
+ | `insert_table_column` | Deprecated: use `insert_table_row_or_column` with `dimension='column'` (`column_index` becomes `index`, `insert_right` becomes `after`) instead. Removed in the next feature release. | `doc_id`, `table_start_index`, `column_index`, `insert_right?` | `docs` |
153
155
  | `merge_table_cells` | Merge a rectangular range of cells in an existing table into one cell. | `doc_id`, `table_start_index`, `row_index`, `column_index`, `row_span?`, `column_span?` | `docs` |
154
- | `delete_table_column` | Delete a column from an existing table in a Google Doc. | `doc_id`, `table_start_index`, `column_index` | `docs` |
156
+ | `delete_table_column` | Deprecated: use `delete_table_row_or_column` with `dimension='column'` (`column_index` becomes `index`) instead. Removed in the next feature release. | `doc_id`, `table_start_index`, `column_index` | `docs` |
155
157
  | `style_doc_range` | Apply paragraph and/or text styles to one or more index ranges in a Google Doc. | `doc_id`, `ranges` | `docs`, `default` |
156
158
  | `style_doc_table_cells` | Apply border, padding, and background styles to table cells in a Google Doc. | `doc_id`, `table_start_index`, `cells` | `docs` |
157
159
  | `create_paragraph_bullets` | Turn one or more paragraph ranges into a bulleted or numbered list, with explicit nesting depth. | `doc_id`, `ranges` | `docs` |
158
160
  | `delete_paragraph_bullets` | Remove list membership (bullets/numbering) from one or more paragraph ranges, leaving each paragraph's text and other styling untouched. The API keeps a nested item's indent as paragraph indentation (36pt per nesting level for the standard presets), so a nested item stays indented after its bullet is gone; a top-level item doesn't. | `doc_id`, `ranges` | `docs` |
159
- | `get_doc_theme` | Derive a theme dict from a Google Doc's actual paragraph styles. | `doc_id` | `docs` |
160
- | `get_doc_named_styles` | Read a Google Doc's named style defaults and return them as a theme dict. | `doc_id` | `docs` |
161
+ | `get_doc_theme` | Read a Google Doc's theme: from its actual paragraph styles (source="body", the default), from its named style defaults (source="named_styles"), or both. | `doc_id`, `source?` | `docs` |
162
+ | `get_doc_named_styles` | Deprecated: use `get_doc_theme` with `source='named_styles'` instead. Removed in the next feature release. | `doc_id` | `docs` |
161
163
  | `apply_theme` | Apply a theme dict to a Google Doc by updating its named style definitions. | `doc_id`, `theme`, `overwrite?` | `docs` |
162
- | `create_header` | Add a page header to a Google Doc. | `doc_id`, `header_type?`, `content?` | `docs` |
163
- | `create_footer` | Add a page footer to a Google Doc. | `doc_id`, `footer_type?`, `content?` | `docs` |
164
+ | `create_header_or_footer` | Add a page header or footer to a Google Doc, shown on every page. | `doc_id`, `kind`, `content?` | `docs` |
165
+ | `create_header` | Deprecated: use `create_header_or_footer` with `kind='header'` instead. Removed in the next feature release. | `doc_id`, `header_type?`, `content?` | `docs` |
166
+ | `create_footer` | Deprecated: use `create_header_or_footer` with `kind='footer'` instead. Removed in the next feature release. | `doc_id`, `footer_type?`, `content?` | `docs` |
164
167
  | `list_doc_comments` | List comments (and their replies) on a Google Doc via the Drive comments resource. | `doc_id`, `page_size?`, `page_token?`, `include_deleted?` | `docs`, `comments` |
165
168
  | `add_doc_comment` | Add a comment to a Google Doc via the Drive comments resource. | `doc_id`, `content`, `quoted_text?` | `docs`, `comments` |
166
169
  | `resolve_doc_comment` | Mark a comment on a Google Doc as resolved, by posting a reply with a "resolve" action via the Drive comments resource. | `doc_id`, `comment_id`, `reply_content?` | `docs`, `comments` |
167
- | `create_named_range` | Create a named range over a span of content in a Google Doc. | `doc_id`, `name`, `start_index`, `end_index` | `docs` |
168
- | `create_bookmark` | Create a lightweight, named anchor point at a single position in a Google Doc. | `doc_id`, `name`, `index` | `docs` |
170
+ | `create_named_range` | Create a named range over a span of content in a Google Doc, or over the single character at start_index as a named anchor point (a bookmark). | `doc_id`, `name`, `start_index`, `end_index?` | `docs` |
171
+ | `create_bookmark` | Deprecated: use `create_named_range` with `start_index` set to `index` and `end_index` omitted instead. Removed in the next feature release. | `doc_id`, `name`, `index` | `docs` |
169
172
  | `get_doc_as_markdown` | Export a Google Doc's content as GitHub-flavored Markdown. | `doc_id`, `include_comments?`, `local_path?` | `docs`, `default` |
170
173
 
171
174
  `write_doc_content` and `create_doc` accept either HTML or Markdown (`content_format='markdown'`) and convert it to Docs API requests via the HTML→AST→emitter pipeline — Markdown is converted to HTML first. See [Docs AST Pipeline](design/docs-ast-pipeline.md) for the design and [Markdown Support](design/markdown-support.md) for the full Markdown→Docs mapping table.
@@ -806,8 +806,15 @@ class DriveFolderCache(_BaseCache):
806
806
  logger.debug("Marked drive folder cache dirty for %s", folder_id)
807
807
 
808
808
 
809
+ # The largest serialized document get_doc_as_markdown's cache entry holds (#1527).
810
+ MAX_DOCUMENT_BYTES = 1_000_000
811
+
812
+
809
813
  class DocContentCache(_BaseCache):
810
- """Caches Google Doc content keyed by file_id."""
814
+ """Caches Google Doc content keyed by file_id: get_doc_content's plain-text
815
+ result under the bare file_id, and get_doc_as_markdown's Docs API document
816
+ resource under `<file_id>:document` (`get_document`/`store_document`, #1527).
817
+ `mark_dirty(file_id)` marks both."""
811
818
 
812
819
  _NS = "doc_content"
813
820
 
@@ -836,11 +843,71 @@ class DocContentCache(_BaseCache):
836
843
  if self._replace(file_id, doc, epoch):
837
844
  logger.debug("Cached doc %s", file_id)
838
845
 
846
+ def get_document(self, file_id: str, current_revision_id: str | None = None) -> dict | None:
847
+ """The cached Docs API document resource for `file_id`, or None on
848
+ miss/dirty/expired/stale-vs-source.
849
+
850
+ `current_revision_id` is the doc's revisionId as the Docs API reports it
851
+ now: an entry stored at another revision, or with none, is a miss. The
852
+ Docs API changes it as soon as a doc is edited, where Drive's
853
+ modifiedTime lags by minutes (PR #1548 QA round 1). An entry stored with
854
+ a `max_age` is a miss once older than that, whatever the TTL."""
855
+ key = _document_key(file_id)
856
+ row = self._fetch_row("value, fetched_at, dirty", key)
857
+ if row is None or row["dirty"]:
858
+ return None
859
+ value = json.loads(row["value"])
860
+ if current_revision_id is not None and value.get("revision_id") != current_revision_id:
861
+ return None
862
+ if not self._check_ttl(row["fetched_at"], key):
863
+ return None
864
+ max_age = value.get("max_age")
865
+ if max_age is not None and time.time() - row["fetched_at"] > max_age:
866
+ return None
867
+ logger.debug("Doc document cache hit: %s", file_id)
868
+ return value["document"]
869
+
870
+ def store_document(
871
+ self,
872
+ file_id: str,
873
+ document: dict,
874
+ max_age: float | None = None,
875
+ epoch: int | None = None,
876
+ ):
877
+ """Cache `document` for `file_id`, under the revisionId it carries.
878
+ `max_age` caps the entry's lifetime below the TTL (see `get_document`).
879
+
880
+ A document over `MAX_DOCUMENT_BYTES` serialized isn't cached, and any
881
+ older entry for it is dropped: cache I/O runs on the event loop, so a
882
+ multi-megabyte entry would stall every call that reads it."""
883
+ key = _document_key(file_id)
884
+ value = {
885
+ "revision_id": document.get("revisionId"),
886
+ "max_age": max_age,
887
+ "document": document,
888
+ }
889
+ encoded = json.dumps(value)
890
+ if len(encoded) > MAX_DOCUMENT_BYTES:
891
+ logger.debug("Doc document %s too large to cache (%d bytes)", file_id, len(encoded))
892
+ self._mark_dirty_key(key, invalidate_in_flight=False)
893
+ return
894
+ if self._store_if_fresh(
895
+ key, _REPLACE_SQL, (self._principal, self._NS, key, encoded, time.time()), epoch
896
+ ):
897
+ logger.debug("Cached doc document %s", file_id)
898
+
839
899
  def mark_dirty(self, file_id: str):
840
900
  self._mark_dirty_key(file_id)
901
+ # Every derived entry (`<file_id>:document`), and any in-flight store of one.
902
+ self._mark_dirty_prefix(f"{file_id}:")
841
903
  logger.debug("Marked doc cache dirty for %s", file_id)
842
904
 
843
905
 
906
+ def _document_key(file_id: str) -> str:
907
+ """DocContentCache's key for get_doc_as_markdown's document resource."""
908
+ return f"{file_id}:document"
909
+
910
+
844
911
  class CalendarCache(_BaseCache):
845
912
  """Caches calendar list and per-calendar metadata keyed by calendar_id.
846
913