mcp-gee-sweet 0.9.6.dev151__tar.gz → 0.9.6.dev154__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 (402) hide show
  1. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/CLAUDE.md +4 -3
  2. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/PKG-INFO +1 -1
  3. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/blockquote-representation.md +46 -3
  4. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/docs-ast-pipeline.md +4 -3
  5. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/known-limitations.md +24 -1
  6. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/docs_content.md +37 -0
  7. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/roadmap.md +4 -3
  8. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/ast.py +7 -2
  9. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +33 -12
  10. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +87 -3
  11. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/emitter.py +236 -25
  12. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/html_parser.py +4 -2
  13. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_core.py +385 -7
  14. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_markdown_export.py +211 -0
  15. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/uv.lock +3 -3
  16. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/cleanup-worktrees.md +0 -0
  17. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/merge-pr.md +0 -0
  18. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/notify-kai.md +0 -0
  19. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/notify-partner.md +0 -0
  20. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/orchestrator.md +0 -0
  21. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/prep-for-pr.md +0 -0
  22. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/qa-kickoff.md +0 -0
  23. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/release.md +0 -0
  24. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/retro.md +0 -0
  25. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/roadmap-status.md +0 -0
  26. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/security-advisory.md +0 -0
  27. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/start-worktree.md +0 -0
  28. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/team-member.md +0 -0
  29. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/commands/verify-pr.md +0 -0
  30. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/settings.json +0 -0
  31. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/amy.md +0 -0
  32. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/aziz.md +0 -0
  33. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/bob.md +0 -0
  34. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/dev.md +0 -0
  35. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/joy.md +0 -0
  36. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/kai.md +0 -0
  37. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/qa.md +0 -0
  38. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.claude/team-roles/rio.md +0 -0
  39. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.dockerignore +0 -0
  40. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.gitattributes +0 -0
  41. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  42. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  43. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  44. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/dependabot.yml +0 -0
  45. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/workflows/ci.yml +0 -0
  46. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/workflows/docs.yml +0 -0
  47. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/workflows/mcpb.yml +0 -0
  48. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.github/workflows/publish.yml +0 -0
  49. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.gitignore +0 -0
  50. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.mcpbignore +0 -0
  51. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.pre-commit-config.yaml +0 -0
  52. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/.python-version +0 -0
  53. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/CHANGELOG.md +0 -0
  54. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/CODE_OF_CONDUCT.md +0 -0
  55. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/CONTRIBUTING.md +0 -0
  56. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/Dockerfile +0 -0
  57. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/LICENSE +0 -0
  58. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/Makefile +0 -0
  59. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/README.md +0 -0
  60. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/SECURITY.md +0 -0
  61. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docker-compose.yml +0 -0
  62. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/assets/logo.png +0 -0
  63. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/auth.md +0 -0
  64. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/client-setup.md +0 -0
  65. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/configuration.md +0 -0
  66. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-async-tool-execution.md +0 -0
  67. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
  68. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-cache-invalidation.md +0 -0
  69. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-chart-theming.md +0 -0
  70. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-comments-first-class.md +0 -0
  71. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-composite-tools.md +0 -0
  72. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-condition-type-docstring-generation.md +0 -0
  73. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-converted-doc-change-detection.md +0 -0
  74. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-dev-team.md +0 -0
  75. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-docs-formatting.md +0 -0
  76. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-fork.md +0 -0
  77. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-gmail-domain.md +0 -0
  78. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-grid-data-size-cap.md +0 -0
  79. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-html-error-recovery.md +0 -0
  80. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-http-socket-timeout.md +0 -0
  81. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-impact-reach-triage.md +0 -0
  82. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-local-fs-test-harness.md +0 -0
  83. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
  84. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-pillow-image-dependency.md +0 -0
  85. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-prompt-qa-role.md +0 -0
  86. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-publishing.md +0 -0
  87. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-release-docs-roles.md +0 -0
  88. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-repositioning.md +0 -0
  89. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
  90. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
  91. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-review-finding-ticket-bar.md +0 -0
  92. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-supports-all-drives-lint-check.md +0 -0
  93. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-sync-folder-recursion.md +0 -0
  94. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-testing.md +0 -0
  95. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/decision-tool-error-visibility.md +0 -0
  96. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/index.md +0 -0
  97. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/decisions/role-file-history.md +0 -0
  98. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/borderless-table-columns.md +0 -0
  99. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/cancelled-write-invalidation.md +0 -0
  100. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/doc-replace-backup.md +0 -0
  101. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/doc-revision-export.md +0 -0
  102. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/doc-to-markdown.md +0 -0
  103. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/effectiveformat-spike.md +0 -0
  104. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/gmail-send-confirmation.md +0 -0
  105. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/heading-anchor-resolution.md +0 -0
  106. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/image-conversion.md +0 -0
  107. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/image-share-lifecycle.md +0 -0
  108. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/index.md +0 -0
  109. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/local-file-access-policy.md +0 -0
  110. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/markdown-parser.md +0 -0
  111. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/markdown-support.md +0 -0
  112. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/mcp-bundle.md +0 -0
  113. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/module-history.md +0 -0
  114. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/oauth-reauthorize-from-tool-call.md +0 -0
  115. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/phase3-theme-system.md +0 -0
  116. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design/sse-consent-off-event-loop.md +0 -0
  117. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/design.md +0 -0
  118. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/index.md +0 -0
  119. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/notes-read.md +0 -0
  120. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/README.md +0 -0
  121. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r01-meeting-notes.md +0 -0
  122. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r02-project-plan.md +0 -0
  123. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r03-spec-prd.md +0 -0
  124. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r04-readme.md +0 -0
  125. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r05-status-report.md +0 -0
  126. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r06-howto.md +0 -0
  127. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r07-comparison.md +0 -0
  128. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r08-research-summary.md +0 -0
  129. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r09-changelog.md +0 -0
  130. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r10-task-plan.md +0 -0
  131. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r11-incident-postmortem.md +0 -0
  132. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r12-interview-guide.md +0 -0
  133. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r13-api-reference.md +0 -0
  134. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r14-study-notes.md +0 -0
  135. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r15-travel-itinerary.md +0 -0
  136. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/realistic/r16-planning-notes.md +0 -0
  137. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/state/dropped-links.md +0 -0
  138. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/state/inline-scope.md +0 -0
  139. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/state/theme.json +0 -0
  140. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/state/www-scheme.md +0 -0
  141. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-01-starts-bullets.md +0 -0
  142. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-02-starts-numbered.md +0 -0
  143. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-03-starts-table.md +0 -0
  144. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-04-starts-code.md +0 -0
  145. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-05-starts-quote.md +0 -0
  146. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-06-starts-image.md +0 -0
  147. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-07-starts-rule.md +0 -0
  148. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-08-ends-table.md +0 -0
  149. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-09-ends-list.md +0 -0
  150. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-10-empty.md +0 -0
  151. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-11-whitespace-only.md +0 -0
  152. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-12-no-trailing-newline.md +0 -0
  153. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-13-crlf-line-endings.md +0 -0
  154. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-14-front-matter.md +0 -0
  155. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-15-rule-then-setext-heading.md +0 -0
  156. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/docstart/ds-16-front-matter-lists.md +0 -0
  157. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-adjacency-blank.md +0 -0
  158. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-adjacency-noblank.md +0 -0
  159. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-blockquotes.md +0 -0
  160. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-breaks-rules.md +0 -0
  161. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-code-blocks.md +0 -0
  162. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-containment.md +0 -0
  163. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-emphasis.md +0 -0
  164. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-escapes.md +0 -0
  165. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-headings.md +0 -0
  166. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-images.md +0 -0
  167. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-inline-code.md +0 -0
  168. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-inline-html.md +0 -0
  169. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-inline-matrix.md +0 -0
  170. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-links.md +0 -0
  171. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-lists-blocks.md +0 -0
  172. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-lists-boundaries.md +0 -0
  173. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-lists-markers.md +0 -0
  174. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-lists-nesting.md +0 -0
  175. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-long-document.md +0 -0
  176. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-tables.md +0 -0
  177. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-tasks.md +0 -0
  178. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/syntax/md-unicode.md +0 -0
  179. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/tc-doc245/relative-image.md +0 -0
  180. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/tc-doc246/native-lines.html +0 -0
  181. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/md/tc-doc246/rules.md +0 -0
  182. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/qa fixture pixel /303/251.png" +0 -0
  183. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
  184. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
  185. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
  186. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
  187. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
  188. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
  189. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
  190. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
  191. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
  192. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
  193. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
  194. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
  195. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
  196. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
  197. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
  198. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
  199. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
  200. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
  201. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc240-bullet.md +0 -0
  202. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc240-heading.md +0 -0
  203. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc240-normal.md +0 -0
  204. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc240-quote.md +0 -0
  205. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc240-seed.md +0 -0
  206. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc241-links.html +0 -0
  207. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc241-links.md +0 -0
  208. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc241-write.md +0 -0
  209. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc242-loose.html +0 -0
  210. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures/tc-doc242-loose.md +0 -0
  211. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/fixtures.template.md +0 -0
  212. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/gmail-test-plan.md +0 -0
  213. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/operations.yaml +0 -0
  214. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/playwright_oauth.md +0 -0
  215. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/.gitkeep +0 -0
  216. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-02.md +0 -0
  217. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-14.md +0 -0
  218. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-17.md +0 -0
  219. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-18.md +0 -0
  220. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
  221. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
  222. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-06-28.md +0 -0
  223. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-07-04-docs.md +0 -0
  224. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
  225. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-07-04-infra.md +0 -0
  226. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
  227. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-07-04.md +0 -0
  228. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-09-04.md +0 -0
  229. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-17-pass-audit.md +0 -0
  230. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-17-spec.txt +0 -0
  231. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-17.md +0 -0
  232. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-18-markdown-phase2.md +0 -0
  233. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-18-markdown.md +0 -0
  234. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-22-markdown-boundaries-state.md +0 -0
  235. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-25-markdown.md +0 -0
  236. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-28-markdown-pr1286.md +0 -0
  237. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-29-markdown-pr1295.md +0 -0
  238. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-30-markdown-pr1301.md +0 -0
  239. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/results/2026-10-30-markdown-pr1303.md +0 -0
  240. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/retro-v0.8.0.md +0 -0
  241. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/retro-v0.9.0.md +0 -0
  242. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/retro-v0.9.2.md +0 -0
  243. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/run.md +0 -0
  244. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/README.md +0 -0
  245. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.8.0.md +0 -0
  246. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.8.1.md +0 -0
  247. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.9.0.md +0 -0
  248. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.9.1.md +0 -0
  249. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.9.2.md +0 -0
  250. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/runs/v0.9.3.md +0 -0
  251. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/setup.md +0 -0
  252. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/calendar.md +0 -0
  253. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/docs_layout.md +0 -0
  254. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/docs_markdown.md +0 -0
  255. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/docs_style.md +0 -0
  256. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/docs_tables.md +0 -0
  257. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/drive_activity.md +0 -0
  258. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/drive_files.md +0 -0
  259. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/drive_sharing.md +0 -0
  260. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/drive_transfer.md +0 -0
  261. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/gmail.md +0 -0
  262. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/infra.md +0 -0
  263. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/sheets_charts.md +0 -0
  264. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/sheets_mgmt.md +0 -0
  265. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/sheets_read.md +0 -0
  266. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/qa/tests/sheets_write.md +0 -0
  267. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/style-guide.md +0 -0
  268. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/docs/tools.md +0 -0
  269. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/manifest.json +0 -0
  270. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/mkdocs.yml +0 -0
  271. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/pyproject.toml +0 -0
  272. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/pyrightconfig.json +0 -0
  273. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/build_mcpb.py +0 -0
  274. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/check_supports_all_drives.py +0 -0
  275. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/gen_tool_docs.py +0 -0
  276. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/kai_status.py +0 -0
  277. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/lane_context_hook.py +0 -0
  278. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/oauth_setup.py +0 -0
  279. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_cancel_inflight_write.py +0 -0
  280. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_cancel_insert_local_images.py +0 -0
  281. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_compile_results.py +0 -0
  282. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_gen_md_fixtures.py +0 -0
  283. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_gmail_fixtures.py +0 -0
  284. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_launch_mcpb.py +0 -0
  285. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/qa_revision_temp_doc_parent.py +0 -0
  286. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/setup_team.sh +0 -0
  287. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/sync_slot_config.sh +0 -0
  288. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/scripts/write_team_mcp_configs.sh +0 -0
  289. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/server.json +0 -0
  290. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/.env.template +0 -0
  291. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/__init__.py +0 -0
  292. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/__main__.py +0 -0
  293. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/auth.py +0 -0
  294. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/cache.py +0 -0
  295. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/http_auth.py +0 -0
  296. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/http_transport.py +0 -0
  297. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/local_files.py +0 -0
  298. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/reauth.py +0 -0
  299. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/server.py +0 -0
  300. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/sse_shutdown.py +0 -0
  301. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/__init__.py +0 -0
  302. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/atomic_write.py +0 -0
  303. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/cache.py +0 -0
  304. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/calendar.py +0 -0
  305. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/concurrency.py +0 -0
  306. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
  307. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
  308. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/batch_retry.py +0 -0
  309. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
  310. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/content.py +0 -0
  311. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/editing.py +0 -0
  312. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
  313. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
  314. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/invalidation.py +0 -0
  315. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/layout.py +0 -0
  316. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/markdown_export.py +0 -0
  317. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/md_to_html.py +0 -0
  318. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/named_ranges.py +0 -0
  319. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/style.py +0 -0
  320. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/docs/tables.py +0 -0
  321. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
  322. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
  323. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
  324. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
  325. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/drive/transfer.py +0 -0
  326. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/front_matter.py +0 -0
  327. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/gmail.py +0 -0
  328. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/http_errors.py +0 -0
  329. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/mime_types.py +0 -0
  330. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/pagination.py +0 -0
  331. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
  332. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
  333. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
  334. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
  335. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
  336. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/__init__.py +0 -0
  337. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/conftest.py +0 -0
  338. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/__init__.py +0 -0
  339. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_activity.py +0 -0
  340. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_files.py +0 -0
  341. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_sharing.py +0 -0
  342. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_transfer.py +0 -0
  343. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_transfer_front_matter.py +0 -0
  344. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_transfer_pagination.py +0 -0
  345. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/drive/test_transfer_query_escaping.py +0 -0
  346. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/fakes.py +0 -0
  347. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/integration/__init__.py +0 -0
  348. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/integration/conftest.py +0 -0
  349. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/integration/test_local_fs_harness.py +0 -0
  350. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/sheets/__init__.py +0 -0
  351. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/sheets/test_data.py +0 -0
  352. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/sheets/test_helpers.py +0 -0
  353. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/sheets/test_structure.py +0 -0
  354. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_atomic_write.py +0 -0
  355. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_auth.py +0 -0
  356. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_cache.py +0 -0
  357. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_cache_isolation.py +0 -0
  358. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_calendar.py +0 -0
  359. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_cancelled_write_invalidation.py +0 -0
  360. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_check_supports_all_drives.py +0 -0
  361. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_concurrency.py +0 -0
  362. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_dependency_floors.py +0 -0
  363. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_anchors.py +0 -0
  364. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_batch_retry.py +0 -0
  365. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_comments.py +0 -0
  366. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_content.py +0 -0
  367. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_dropped_links.py +0 -0
  368. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_editing.py +0 -0
  369. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_images.py +0 -0
  370. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_indices.py +0 -0
  371. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_layout.py +0 -0
  372. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_md_to_html.py +0 -0
  373. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_named_ranges.py +0 -0
  374. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_relative_link.py +0 -0
  375. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_revision_export.py +0 -0
  376. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_rule.py +0 -0
  377. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_style.py +0 -0
  378. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_docs_tables.py +0 -0
  379. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_front_matter.py +0 -0
  380. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_gen_tool_docs.py +0 -0
  381. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_get_doc_structure_inline_objects.py +0 -0
  382. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_gmail.py +0 -0
  383. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_gmail_send_confirm.py +0 -0
  384. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_http_auth.py +0 -0
  385. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_http_errors.py +0 -0
  386. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_http_transport.py +0 -0
  387. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_kai_status.py +0 -0
  388. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_lane_context_hook.py +0 -0
  389. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_local_file_sites.py +0 -0
  390. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_local_files.py +0 -0
  391. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_mcpb_manifest.py +0 -0
  392. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_mime_types.py +0 -0
  393. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_python_versions.py +0 -0
  394. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_qa_gen_md_fixtures.py +0 -0
  395. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_qa_gmail_fixtures.py +0 -0
  396. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_reauth.py +0 -0
  397. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_response_limits.py +0 -0
  398. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_server.py +0 -0
  399. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_server_json.py +0 -0
  400. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_sse_shutdown.py +0 -0
  401. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_sync_slot_config.py +0 -0
  402. {mcp_gee_sweet-0.9.6.dev151 → mcp_gee_sweet-0.9.6.dev154}/tests/test_team_mcp_configs.py +0 -0
@@ -76,14 +76,14 @@ Each entry below says what a module owns and the invariants a future edit could
76
76
  - `docs/layout.py` — tools (`create_header`, `create_footer`)
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
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. 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, with the item's quote levels outside the indent whatever depth the block reads with. 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).
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, with the item's quote levels outside the indent whatever depth the block reads with. 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
  - Bare top-level text gets an implicit paragraph. `_tag_depth` counts open non-block tags, excluding `_VOID_TAGS` (stdlib `HTMLParser` never closes a void tag written without a slash), so text inside only an inline tag stays a no-op. `_finalize()` flushes the block still open at end of input.
83
83
  - `_emit_block_node(preserve_if_empty)`: a block's own first close keeps an empty node (`runs=[]`) as a paragraph boundary; a resumed frame's re-close (`_block_resumed`) still drops an empty result. A fresh `<p>` (only `<p>`, not `<li>` or headings, and not resumed) keeps whitespace-only runs, since `&nbsp;` lines are deliberate spacers. A fresh `<li>` always emits its `BulletItem`, with `runs=[]` when it has no text (#1075): a Markdown bare `-`, `<li>&nbsp;</li>`, and an `<li>` wrapping only a nested list or block are empty bullets, as a browser shows their markers. A bare `<hr>` appends a rule, an empty `Paragraph` with `rule=True` (#1096). `<pre>` builds its node directly and applies the same fresh-vs-resumed rule itself, keeping a fresh `<pre>`'s whitespace.
84
84
  - Any `</ol>` or `</ul>` pops `_list_ordered` by count, whatever type opened it, and must run *before* `_resume_interrupted_block`. List frames match by `list_depth`, not tag: the frame is popped once its depth is reached, but the outer block is resumed only on an exact tag match.
85
85
  - `_resume_interrupted_block` flushes whatever block is open, unconditionally, before anything else.
86
- - Every leaf-node construction (`Heading`, `Paragraph`, `BulletItem`, `NamedBlock`) must pass `**self._blockquote_fields()`, which sets `blockquote_depth` and `blockquote_path` from the open-`<blockquote>` id stack (`docs/design/blockquote-representation.md`). Without the path, two adjacent quotes are indistinguishable (#1098). A top-level `Table` gets `blockquote_depth` only, at `</table>`, for its indent (#1097). `_make_bullet_item` clamps depth to `>= 0` for an orphan `<li>`.
86
+ - Every leaf-node construction (`Heading`, `Paragraph`, `BulletItem`, `NamedBlock`) must pass `**self._blockquote_fields()`, which sets `blockquote_depth` and `blockquote_path` from the open-`<blockquote>` id stack (`docs/design/blockquote-representation.md`). Without the path, two adjacent quotes are indistinguishable (#1098). A top-level `Table` gets both at `</table>` (#1097, #1122). `_make_bullet_item` clamps depth to `>= 0` for an orphan `<li>`.
87
87
  - A block inside a list item (#1094) is that block's own node with `list_depth`/`list_path` naming the item, from `_list_item_fields`, which every non-item leaf construction (and a top-level `Table`, at `</table>`) must pass. The item is the one whose later segment is open, else the innermost `<li>` frame on `_block_stack` whose list ids are exactly the ones open now (each `_BlockFrame` records the interrupted block's `_block_lists`), so a block loose in a list nested in the item isn't the item's. "Open now" is the open block's own `_block_lists`, not the live `_list_ids`, since a block left open until its list's `</ul>` is flushed after the pop (PR #1301 QA round 1). The walk skips a non-matching `<li>` frame instead of stopping at it: an unclosed item in a nested list leaves its frame behind after the `</ul>` (PR #1301 QA round 2). Match by ids, never by depth: a stale frame from a closed list has the depth of a later list (PR #1301 QA round 3). A resumed `<li>` segment (text after a nested list, quote, code block, paragraph or rule) is therefore a `Paragraph` inside the item, never a new `BulletItem`. A heading that opens an `<li>` (`- # Title`) is the item's own text: `BulletItem.heading_level`, the item emitted at the heading's close and its later segment resumed. Its tag stays on `_li_heading_tags` until that `</hN>`, so the end tag is consumed even when a nested block interrupted the item first; never let it reach the inline end-tag path, which would decrement `_tag_depth` for a start tag that never incremented it.
88
88
  - In a table cell, a whitespace run holding a line break is dropped at a segment's start (the cell's start, or just after a nested table). At the end of the text so far it's held as runs with their own style and link (`_cell_held_runs`), and written only if content follows in the same segment, which ends at a nested `<table>` or `</td>` (#1073). Nothing inside a cell's `<pre>` is trimmed (`_cell_pre_depth`). Everything else in a cell parses as it did before; collapsing every source line break merged a cell's `<p>`s and `<pre>` lines (PR #1215 QA round 2), and whether a newline in cell text should collapse is #1221 (`docs/design/image-conversion.md`).
89
89
  - `_interrupt_open_block` drops trailing whitespace holding a line break from the outgoing segment's unflushed source text: markdown-it writes `<li>a\n<ul>` for every nested block, and the `\n` would become an empty paragraph (#1116). A `<br>` goes into the run buffer as `_LineBreak`, never a bare `"\n"`, so that trim leaves it. A resumed segment likewise drops the line break at its start (`handle_data`), keeping an authored `&nbsp;`. Neither trim runs in `<pre>` (`_in_pre`), where the break and indentation are the code's. An `<hr>` in any open block, outside `<pre>` and inline tags, interrupts and resumes it: after text, in a resumed segment, in a fresh `<li>` (an empty bullet, #1075), and in a fresh block with no text, whose empty first segment emits nothing, so `<p><hr></p>` is the rule alone (#1096).
@@ -94,7 +94,8 @@ Each entry below says what a module owns and the invariants a future edit could
94
94
  - A run with no depth-0 item is wrapped with a throwaway 0-tab anchor paragraph (insert, create over range +1, delete), so every item's `nestingLevel` equals its depth, unclamped. A fragment whose parents were dropped rendering deeper than expected is intended (#714). Each `bullet_run_requests` entry is therefore a list of requests.
95
95
  - A block inside a list item (`list_depth`, #1094) doesn't end its list in `_bullet_lists`: it closes the lists deeper than its item and is recorded in its top-level list's `continuations`, so the next item continues the list. One inside the list's range is bulleted along with it and taken back out with `deleteParagraphBullets` at the end of `_top_list_requests`, after every nested list, since a nested list's re-bulleting would catch it again; it has no depth-tabs, so a nested list's tab re-insert skips it. Docs numbers by `listId`, so the items after it keep counting (confirmed live). Its indent (the item's text indent, plus 36pt per quote level), quote border and spacing are set after the bullet pass, like a quoted `BulletItem`'s; a table's goes on its placeholder. `_block_indents` is the one place list and quote indents combine, for a quoted item, a block inside an item and a quoted table; build any new indent through it. A quote separator between two quotes in one item carries the item's `list_depth`. A `BulletItem` with `heading_level` gets that `HEADING_N` style in phase 1; `createParagraphBullets` keeps it.
96
96
  - Tab consumption shifts later positions, so the bullet pass runs after all other per-node requests and before the `insertTable` pass, latest-position-first. Each `_PendingTable` position is decremented by the cumulative tab count of the runs before it (`utf16_len`, not `len`).
97
- - `insertTable` gives the table its indent, which no API field can reset afterward, and every empty cell its text style, from the paragraph at the insertion point. So each table gets a placeholder paragraph in the phase-1 text, reset to plain after the bullet pass by `_table_placeholder_requests` (a table between two same-preset list items sits inside their one bullet range; a quoted table keeps its quote's indent via `Table.blockquote_depth`, which `_quoted` still ignores). The table is inserted there, and the placeholder, pushed past the table, is deleted by the `deleteContentRange` right after the `insertTable` (`_inserted_table_length`). Never insert a table at the start of the next block's text: it takes that block's indent and first-character style (#1097). `_positional_insert_tail_start` keeps that delete in the positional tail by its place after an `insertTable`.
97
+ - `insertTable` gives the table its indent, which no API field can reset afterward, and every empty cell its text style, from the paragraph at the insertion point. So each table gets a placeholder paragraph in the phase-1 text, reset to plain after the bullet pass by `_table_placeholder_requests` (a table between two same-preset list items sits inside their one bullet range; a quoted table's wrapper is placed by its quote, below). The table is inserted there, and the placeholder, pushed past the table, is deleted by the `deleteContentRange` right after the `insertTable` (`_inserted_table_length`). Never insert a table at the start of the next block's text: it takes that block's indent and first-character style (#1097). `_positional_insert_tail_start` keeps that delete in the positional tail by its place after an `insertTable`.
98
+ - A quoted table (#1122) goes in the one cell of a 1x1 wrapper table whose left cell border is the quote bar, since a table can't take a paragraph border (`_wrap_quoted_tables`, `Table.quote_bar`; `docs/design/blockquote-representation.md`). The wrapper takes the table's quote and list placement and the table inside takes none, and the caller's node is never mutated. Its placeholder sits `_QUOTE_BAR_OFFSET_PT` left of the quote's indent and its cell's left padding is the same, so the bar lines up with the quote's and the table with the quote's text (confirmed live). Every post-fill step that styles a table (widths, cell styles) unwraps it to the table inside; `_build_quote_bar_requests` draws the bar and collapses the cell's empty paragraphs, the first recording the quote's indent, the one place a table's depth survives in the doc. A quoted table counts as quoted for separators and quote-edge spacing (`_in_quote`), but not for `_quoted`, which also gates paragraph borders. A table can't take spacing, so the node across the edge takes the gap: the quote past a separator after a table, and an unquoted neighbour (an unquoted `BulletItem` included, after the bullet pass) beside a quote that starts or ends with a table. Two tables in a row never get a separator: the full-height paragraph between them (`_build_blank_para_before_table_collapses`, given the AST tables) keeps them apart, and takes their quote's indent and bar only when both are wrappers in one quote (`_shared_quote_indents`).
98
99
  - `_strip_bullet_leading_tabs` removes a literal leading tab from a bullet's own text (it would read as depth) and returns new `Run`/`Image` objects; it must never mutate caller-owned AST nodes. Dropping an authored leading tab is a deliberate, documented loss.
99
100
  - Blockquote nodes get a gray `borderLeft` and `indentStart` = `indentFirstLine` = 36pt × depth (`indentFirstLine` is absolute, not relative to `indentStart`). `createParagraphBullets` overwrites both indents, so a quoted `BulletItem`'s request runs after the whole bullet pass and before the table/image inserts, at the list level's own indents (`list_level_indents`, level capped at 8 as Docs caps `nestingLevel`) plus the quote's. Every position used after the bullet pass maps through `_after_bullet_pass`. `doc_to_ast.py` subtracts the level's indent when inferring depth.
100
101
  - A rule (`Paragraph.rule`, #1096) is an empty 6pt paragraph with a gray `borderBottom`, since the API can't insert a `horizontalRule`. It also sets `borderBetween`: Docs joins adjacent paragraphs with the same borders and draws `borderBottom` only under the last, so two rules in a row drew one line (confirmed live). A quoted rule gets no `spaceBelow` and a 4pt line instead: a paragraph's spacing isn't covered by the quote bar when its neighbours' borders differ, so any gap split one quote into two on screen (PR #1326 QA round 1). `_rule_requests` must come before a quote's edge spacing for the same range, and a rule inside a list item is drawn after the bullet pass (`deferred`), like its indent. The read side recognizes the stand-in by its whole signature (`is_rule_style`: bottom and matching between-border, no top or right), never a bottom border alone, which an empty line in a bordered box also has; `_build_blank_para_before_table_collapses` uses the same test to skip a rule before a table. `doc_to_ast` splits a paragraph at each native `horizontalRule` (`_split_at_horizontal_rules`; Drive's import puts one in the same paragraph as text, a list item's included), keeping the text's own type and putting a line after a list item's text inside that item. `ast_to_markdown` writes a rule `---`, or `***` as the first line, where `---` opens front matter.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-gee-sweet
3
- Version: 0.9.6.dev151
3
+ Version: 0.9.6.dev154
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
@@ -184,9 +184,52 @@ its indent. Since #1097 each table is inserted at a plain placeholder paragraph
184
184
  instead (see `docs-ast-pipeline.md`), so none of it reaches the table, and the reset above
185
185
  stays as a backstop. A table inside a quote used to get the quote's indent only by that
186
186
  accident, from the quote paragraph after it. Now the parser records its quote depth on
187
- the `Table` (`blockquote_depth`, no path), and its placeholder gets the quote's indent
188
- (36pt per level) and no border. A table can't take a left border, so a quoted table sits
189
- indented between the quote's bordered paragraphs, with a gap in the bar beside it.
187
+ the `Table`, and its placeholder gets the quote's indent (36pt per level).
188
+
189
+ ### A quoted table's bar (#1122)
190
+
191
+ A table can't take a paragraph border, so after #1097 a quoted table sat at the quote's
192
+ indent with a gap in the bar beside it. Now the emitter puts a quoted table in the one
193
+ cell of a 1x1 wrapper table (`_wrap_quoted_tables`, `Table.quote_bar`), and the wrapper's
194
+ left cell border is the bar.
195
+
196
+ - **Placement.** Docs draws a paragraph's bar its padding (8pt) plus its width (3pt) left
197
+ of the indent, and a table's border centered on the table's edge. So the wrapper's
198
+ placeholder sits `_QUOTE_BAR_OFFSET_PT` (9.5pt) left of the quote's indent, and its bar
199
+ lines up with the quote paragraphs' bar. A nested table starts at its cell's left
200
+ padding, not past the border, so a 9.5pt left padding puts the quoted table back at the
201
+ quote's indent, where #1097 had it. Both confirmed live.
202
+ - **The wrapper's cell.** The API rejects a transparent cell border, so the wrapper's top,
203
+ right and bottom borders are 0pt wide, with no padding but the left. Docs keeps an
204
+ empty paragraph before and after a table in a cell; `_build_quote_bar_requests` collapses
205
+ both after the fill, so the bar hugs the table.
206
+ - **Quote membership.** A quoted table carries `blockquote_path` (the parser sets it at
207
+ `</table>`, like every leaf node), and it counts as quoted for separators and
208
+ quote-edge spacing (`_in_quote`): a quote's paragraphs and its table get no space
209
+ between them, so their bars meet, and two separate quotes that meet at a table get a
210
+ separator. A table can't take spacing, so the node across a quote edge takes the gap:
211
+ after a table, the quote following the separator; beside a quote that starts or ends
212
+ with a table, the unquoted paragraph or list item on the other side (PR #1359 QA round
213
+ 1). `_quoted` still excludes tables, because a table never takes a paragraph border or
214
+ spacing of its own.
215
+ - **Two tables in a row.** They never get a separator. Docs keeps a full-height paragraph
216
+ between two tables (#1098), and a separator there pushed it out of that check, so both
217
+ were collapsed and the tables touched. That paragraph keeps them apart, unbordered, and
218
+ takes the quote's indent and bar only when both tables are wrappers in one quote, so the
219
+ bar runs on past the gap (`_shared_quote_indents`, PR #1359 QA round 1).
220
+ - **Read side.** `doc_to_ast` recognizes the wrapper by its whole signature
221
+ (`_quote_bar_wrapped`: 1x1, a left border and no other, one table among empty
222
+ paragraphs) and reads the quoted table it holds. A table has no indent in the API, so
223
+ the wrapper's first empty paragraph records the quote's indent (the list item's text
224
+ indent included) for the read side to place it, as it places a quoted paragraph. The
225
+ newline `insertTable` puts before the wrapper is dropped on read, before the table is
226
+ placed (placing it can settle a waiting paragraph into a list item), since it would end
227
+ the quote in the Markdown. An unquoted one right after another quoted table is kept: it's
228
+ the boundary between two quotes. `ast_to_markdown` writes a quoted table's `>` markers, and the
229
+ blank line between two blocks in one item that share a quote carries that quote.
230
+ - **Cost.** The wrapper is a real table: `get_doc_structure` and the table tools see a
231
+ 1x1 table holding the quoted one (`known-limitations.md`). Widths, merges, cell styles,
232
+ alignment and cell images all go on the table inside, through the nested-table fill.
190
233
 
191
234
  **Markdown input was affected by the parser until #1116.** Python-Markdown parsed `> a`, a
192
235
  blank line, `> b` as one `<blockquote>` with two paragraphs, where CommonMark has two quotes,
@@ -225,9 +225,10 @@ every other field at its default), then `updateTextStyle` with `fields: "*"`. It
225
225
  after the bullet pass because a table between two same-preset list items sits inside
226
226
  their one `createParagraphBullets` range: the run skips Table nodes, so both items stay
227
227
  one list, and the placeholder loses its bullet afterward (PR #1201 QA round 1). A table
228
- inside a quote (`Table.blockquote_depth`, set by the parser) gets the quote's indent on
229
- its placeholder, 36pt per level, and no border. It still doesn't count as quoted for
230
- separators or quote-edge spacing. The table is inserted at the placeholder, which `insertTable` pushes to just
228
+ inside a quote (`Table.blockquote_depth`, set by the parser) is put in a 1x1 wrapper
229
+ table whose left cell border is the quote bar (#1122, `blockquote-representation.md`).
230
+ The wrapper's placeholder sits 9.5pt left of the quote's indent, so its bar lines up with
231
+ the quote's, and the table inside it lands at the quote's indent. The table is inserted at the placeholder, which `insertTable` pushes to just
231
232
  after the table, and a `deleteContentRange` right after the `insertTable` removes it, at
232
233
  `position + _inserted_table_length(rows, columns)`. Deleting the paragraph *after* a
233
234
  table is allowed; only the one before it is structurally required (see
@@ -24,11 +24,34 @@ equivalent manual deletion.
24
24
  (`fontSize = 1pt`). The paragraph remains in the document structure but is invisible in the
25
25
  rendered output. The one exception is a paragraph between two tables: it keeps its height, as
26
26
  the blank line that keeps the tables from touching and reading as one (#1098). Every such
27
- paragraph is also reset to plain `NORMAL_TEXT`, with no bullet, indent, or border (#1097).
27
+ paragraph is also reset to plain `NORMAL_TEXT`, with no bullet, indent, or border (#1097),
28
+ except that one between two quoted tables in the same quote takes the quote's indent and
29
+ bar (#1122).
28
30
  Related: #190.
29
31
 
30
32
  ---
31
33
 
34
+ ### A quoted table is a table inside a 1x1 wrapper table
35
+
36
+ **What:** A table inside a blockquote (Markdown `> | a | b |`, or HTML `<blockquote><table>`)
37
+ is written into the one cell of a 1x1 wrapper table, whose left border is the quote's
38
+ gray bar (#1122). `get_doc_structure` reports the wrapper as the top-level table, with the
39
+ quoted table nested in its cell, so table tools that take a table's position
40
+ (`insert_table_row`, `merge_table_cells`, and so on) reach the wrapper, not the table you
41
+ see. Removing the wrapper in the Docs editor removes the bar but leaves the table.
42
+
43
+ **Why:** The Docs API can't give a table a paragraph border, so a bar beside a table has to
44
+ come from a table cell's border. Without the wrapper, a quoted table sat at the quote's
45
+ indent with a gap in the bar beside it.
46
+
47
+ **Workaround:** To edit a quoted table's rows or columns with the table tools, pass the
48
+ quoted table's own `table_start_index`: one more than the wrapper cell's
49
+ `paragraphStartIndex` in `get_doc_structure`, since the cell's first paragraph is an empty
50
+ line before the table. Or rewrite the content with `write_doc_content`. `get_doc_as_markdown` reads the wrapper back
51
+ as the quoted table (`> | a | b |`).
52
+
53
+ ---
54
+
32
55
  ### `get_doc_structure` — top-level body elements only
33
56
 
34
57
  **What:** `get_doc_structure` reports elements in the document body at the top level only.
@@ -6811,3 +6811,40 @@ Live on `mcp-gee-sweet-sky` at 82373e9f, after `/mcp reconnect` (OAuth, Shared D
6811
6811
 
6812
6812
  **Result (2026-11-01) ✅ PASS — PR #1336 round 2 (Sky)**
6813
6813
  Live on `mcp-gee-sweet-sky` at 10923b31, after `/mcp reconnect` (OAuth, Shared Drive default folder; `folder_id` omitted), all five steps. Steps 1–3 look exactly as in round 1, so alignment riding in the cell-style batch changed nothing on screen. Step 4: the typed text is centered in the empty cell. Docs took only "typ" of the Playwright keystrokes, which is browser input, not the tool. Step 5: "head centered" centered, "head left" left, "body right" right, "bogus skipped" right, "row centered" and "webkit centered" centered, "spaced important" centered, "inherits right" right; "table align ignored" is left-aligned text. Cleanup: the three docs trashed.
6814
+
6815
+ ### TC-DOC248: A quoted table has the quote's bar beside it, reads back as a quoted table, and two quotes that meet at a table stay two (#1122) ⚠️ requires-oauth
6816
+ **Purpose:** a table inside a blockquote sat at the quote's indent with no gray bar beside it (#1122): the bar is a paragraph border, which a table can't take. A quoted table now goes in the one cell of a 1x1 wrapper table whose left cell border is the bar, placed so the bar lines up with the quote's and the table with the quote's text. `get_doc_as_markdown` reads the wrapper back as the quoted table. TC-MD201 (CT-68, CT-78) grades the Markdown rendering across every entry point; this case covers quotes in list items, separate quotes meeting at a table, widths and merges on a quoted table, the read side, and the table tools reaching the quoted table.
6817
+
6818
+ **Playwright: required**
6819
+
6820
+ **Steps**
6821
+ 1. `create_doc(title="TC-DOC248 md", folder_id={FOLDER_ID}, content_format="markdown", content="> One quote, first line.\n>\n> | V | W |\n> |:--|--:|\n> | 3 | 4 |\n>\n> One quote, last line.\n\n> First quote.\n\n> | T | U |\n> |---|---|\n> | 1 | 2 |\n\n> Third quote.\n\n> Outer\n>\n> > Inner line\n> >\n> > | N | M |\n> > |---|---|\n> > | 5 | 6 |\n\n- Item one\n\n > Quote in item\n >\n > | A | B |\n > |---|---|\n > | 7 | 8 |\n\n- Item two\n\n> - Quoted item\n>\n> | C | D |\n> |---|---|\n> | 9 | 10 |\n>\n> - Quoted item two\n\n| Plain | Table |\n|---|---|\n| p | q |\n")`; call its `docId` `{MD}`
6822
+ 2. `create_doc(title="TC-DOC248 html", folder_id={FOLDER_ID}, content="<blockquote><p>Sized quote</p><table><col width=\"160\"><col width=\"80\"><tr><td colspan=\"2\">merged</td></tr><tr><td>x</td><td>y</td></tr></table></blockquote>")`; call its `docId` `{HTML}`
6823
+ 3. `get_doc_as_markdown(doc_id={MD})`
6824
+ 4. `get_doc_structure(doc_id={MD})`. Find the "V | W" table's wrapper: the first `table` element with `rows: 1`, `columns: 1`. Call its one cell's `paragraphStartIndex` `{P}`
6825
+ 5. `insert_table_row(doc_id={MD}, table_start_index={P}+1, row_index=1)`, then `get_doc_as_markdown(doc_id={MD})`
6826
+ 6. `create_doc(title="TC-DOC248 edges", folder_id={FOLDER_ID}, content_format="markdown", content="> | a | b |\n> |---|---|\n> | 1 | 2 |\n>\n> | c | d |\n> |---|---|\n> | 3 | 4 |\n\nBefore paragraph.\n\n> | e | f |\n> |---|---|\n> | 5 | 6 |\n\nAfter paragraph.\n\n> | g | h |\n> |---|---|\n> | 7 | 8 |\n\n- List item after\n\n> | i | j |\n> |---|---|\n> | 9 | 10 |\n\n> | k | l |\n> |---|---|\n> | 11 | 12 |\n")`; call its `docId` `{EDGES}` (PR #1359 QA round 1)
6827
+ 7. `get_doc_as_markdown(doc_id={EDGES})`
6828
+
6829
+ **Checks**
6830
+ - Steps 1 and 2 return a `docId` with no `error`
6831
+ - Step 1, on screen: in "One quote" one gray bar runs unbroken from the first line, down beside the table, to the last line. The bar lines up with the bar beside the text, and the table's left border lines up with the quote's text. "V" and "3" are left-aligned, "W" and "4" right-aligned
6832
+ - Step 1, on screen: "First quote.", the T/U table and "Third quote." are three quotes. Each has its own bar, with a visible gap between each bar and the next
6833
+ - Step 1, on screen: "Outer" has its bar at the first level. "Inner line" and the N/M table share one bar at the second level, and the table's left border lines up with "Inner line"
6834
+ - Step 1, on screen: under "Item one", "Quote in item" and the A/B table share one bar, at the item's text indent, and "Item two" is a bullet of the same list. In the quoted list, the C/D table sits under "Quoted item" at the item's text indent with a bar beside it, and "Quoted item two" is the next bullet
6835
+ - Step 1, on screen: the Plain/Table table has no bar and sits at the margin
6836
+ - Step 2, on screen: the bar runs from "Sized quote" down beside the table. The table is narrow (its two columns about 120pt and 60pt, not the page width), and "merged" spans both columns
6837
+ - Step 3: the Markdown has `> | **V** | **W** |` inside the same quote as "One quote, first line." and "One quote, last line." (a `>` line between them, never a blank line). "First quote.", the T/U table and "Third quote." are three separate quotes. The N/M table's lines start with `> > `. The A/B table is indented under "- Item one" with `> ` after the indent, joined to "Quote in item" by a line of the indent plus `>`. The C/D table's lines start with `> | `. The Plain/Table table has no `>`. No line reads `nested table omitted`
6838
+ - Step 5: no `error`. The Markdown's V/W table now has an empty third row and is still inside the quote
6839
+ - Step 6, on screen: the a/b and c/d tables are one quote. One bar runs unbroken beside both tables and through the blank line between them, and the tables don't touch
6840
+ - Step 6, on screen: "Before paragraph." has a visible gap above it (after the c/d quote) and below it (before the e/f table's bar), like the gap between a paragraph and a quote of text. "After paragraph." has the same gap above it, after the e/f table. "List item after" has the same gap above it, after the g/h table
6841
+ - Step 6, on screen: the i/j and k/l tables are two quotes. Each has its own bar, with a visible gap between the bars, and the tables don't touch
6842
+ - Step 7: the a/b and c/d tables are in one quote, joined by a `>` line, never a blank line. The i/j and k/l tables are in two quotes, with a blank line between them that has no `>`
6843
+
6844
+ **Cleanup:** `delete_file` the three docs
6845
+
6846
+ **Result (2026-11-01) ✅ PASS — PR #1359 round 1 (Sky)**
6847
+ Live on `mcp-gee-sweet-sky` at aa397141, after `/mcp reconnect` (OAuth, Shared Drive fixture folder), all five steps, checked on screen with Playwright. Step 1: "One quote" has one unbroken bar from the first line, beside the V/W table, to the last line, with V/3 left-aligned and W/4 right-aligned; "First quote.", the T/U table and "Third quote." are three bars with gaps; "Inner line" and the N/M table share the second-level bar; "Quote in item" and the A/B table share one bar at the item's text indent, and "Item two" continues the list; the C/D table has a bar at "Quoted item"'s text indent, and "Quoted item two" is the next bullet; Plain/Table sits at the margin with no bar. Step 2: the bar runs from "Sized quote" down beside a narrow table, with "merged" spanning both columns. Step 3: the Markdown matches every check. Step 5: `insert_table_row` at `{P}`+1 (29) added an empty third row, and the V/W table is still inside the quote. Cleanup: both docs trashed.
6848
+
6849
+ **Result (2026-11-02) ✅ PASS — PR #1359 round 2 (Sky)**
6850
+ Live on `mcp-gee-sweet-sky` at 5619ff36, after `/mcp reconnect` (OAuth, Shared Drive fixture folder), all seven steps, checked on screen with Playwright. Steps 1–5 look and export exactly as in round 1. The one difference on screen is that "Item one" now has a gap above it after the N/M quote-table, and "Item two" has one after the A/B table. Step 6: one bar runs beside the a/b and c/d tables and through the full-height line between them, and the tables don't touch. "Before paragraph." has a gap above and below it, "After paragraph." and "List item after" each have a gap above them, and i/j and k/l have two bars with a gap between them. Step 7: a/b and c/d are joined by a `>` line, and i/j and k/l are separated by blank lines with no `>`. Cleanup: the three docs trashed.
@@ -414,14 +414,14 @@ Feature set and fill set by the maintainer 2026-10-18, under the release-scoping
414
414
  - [x] A fenced code block or second paragraph inside a list item breaks the list — html_parser cluster; fence half may fold into #1116 ([#1094](https://github.com/khuisman/mcp-gee-sweet/issues/1094)) (PR #1301)
415
415
  - [x] Adjacent blocks run together: separate quotes merge, consecutive code blocks merge, quotes have no spacing — lane B, after #1056 ([#1098](https://github.com/khuisman/mcp-gee-sweet/issues/1098)) (PR #1199)
416
416
  - [x] A thematic break (`---`) renders as an empty paragraph — lane A ([#1096](https://github.com/khuisman/mcp-gee-sweet/issues/1096)) (PR #1326)
417
- - [ ] GFM table column alignment is ignored ([#1095](https://github.com/khuisman/mcp-gee-sweet/issues/1095))
417
+ - [x] GFM table column alignment is ignored ([#1095](https://github.com/khuisman/mcp-gee-sweet/issues/1095)) (PR #1336)
418
418
  - [x] A table takes on the style of the paragraph that follows it ([#1097](https://github.com/khuisman/mcp-gee-sweet/issues/1097)) (PR #1201)
419
419
  - [x] Drive's native Markdown import (EP-5 to EP-7) renders differently from our converter — ornithomimus scope: document EP-5 to EP-7 as Drive's engine; routing is #1113 ([#1101](https://github.com/khuisman/mcp-gee-sweet/issues/1101)) (PR #1270)
420
420
  - [x] `upload_file(source_format="markdown", convert_to_doc=True)` (EP-8) loses list nesting, code styling and task glyphs, and is nondeterministic — route EP-8 through the create_doc Markdown path, plus a CHANGELOG line ([#1102](https://github.com/khuisman/mcp-gee-sweet/issues/1102)) (PR #1283)
421
421
  - [x] Switch the Markdown parser to CommonMark/GFM (decided 2026-10-18), keeping the HTML → AST → Docs pipeline. Absorbs Joy's spike [#1112](https://github.com/khuisman/mcp-gee-sweet/issues/1112), closed into it 2026-10-24. Doesn't fix #1071 on its own (needs a pre-pass), nor #1093/#1115/#1117 (HTML → AST step) ([#1116](https://github.com/khuisman/mcp-gee-sweet/issues/1116)) (PR #1228)
422
422
  - [x] A loose list (blank lines between items) loses its bullets and numbers — #1044 Phase 2 finding; HTML → AST step, not fixed by #1116 alone ([#1115](https://github.com/khuisman/mcp-gee-sweet/issues/1115)) (PR #1164)
423
423
  - [ ] An ordered list's start number is ignored; the Docs API has no request that sets it, so a fix needs a workaround — #1044 Phase 2 finding ([#1118](https://github.com/khuisman/mcp-gee-sweet/issues/1118))
424
- - [ ] Tables, rules and nested quotes inside a blockquote render outside it — #1044 Phase 2 finding ([#1122](https://github.com/khuisman/mcp-gee-sweet/issues/1122))
424
+ - [ ] Tables, rules and nested quotes inside a blockquote render outside it — #1044 Phase 2 finding — lane A ([#1122](https://github.com/khuisman/mcp-gee-sweet/issues/1122))
425
425
  - [x] A relative link becomes `http://./guide.md` — community PR ([#1120](https://github.com/khuisman/mcp-gee-sweet/issues/1120)) (PR #1149)
426
426
  - [x] Blank paragraph before a table keeps the preceding heading's style — community PR ([#1092](https://github.com/khuisman/mcp-gee-sweet/issues/1092)) (PR #1138)
427
427
 
@@ -503,7 +503,7 @@ Fill candidates moved from v0.9.3 and the decision-needed backlog on 2026-10-18.
503
503
 
504
504
  - [ ] **Bundle:** Docs read side (start after #1095; #1078, #1103 and #1104 folded in 2026-11-01) (`doc_to_ast`/`ast_to_markdown`), one PR closing [#596](https://github.com/khuisman/mcp-gee-sweet/issues/596), [#600](https://github.com/khuisman/mcp-gee-sweet/issues/600), [#732](https://github.com/khuisman/mcp-gee-sweet/issues/732) — lane B ([#893](https://github.com/khuisman/mcp-gee-sweet/issues/893))
505
505
  - [ ] **Bundle:** server/infra hygiene (#1010 folded in 2026-11-01), one PR closing [#517](https://github.com/khuisman/mcp-gee-sweet/issues/517), [#607](https://github.com/khuisman/mcp-gee-sweet/issues/607), [#614](https://github.com/khuisman/mcp-gee-sweet/issues/614), [#579](https://github.com/khuisman/mcp-gee-sweet/issues/579), [#637](https://github.com/khuisman/mcp-gee-sweet/issues/637) — lane B ([#892](https://github.com/khuisman/mcp-gee-sweet/issues/892))
506
- - [ ] `sync_folder(export_format=...)`: converted Slides may have #814's `modifiedTime` lag after an edit. Narrowed 2026-11-01: live probes ruled out Sheets (edit lag and restamp race) and the Slides restamp race; Slides edit lag is unmeasured (the Slides API is disabled in the OAuth project) ([#818](https://github.com/khuisman/mcp-gee-sweet/issues/818))
506
+ - [x] `sync_folder(export_format=...)`: converted Slides may have #814's `modifiedTime` lag after an edit. Narrowed 2026-11-01: live probes ruled out Sheets (edit lag and restamp race) and the Slides restamp race. Closed 2026-11-01, once Slides edit lag was measured too: no case reproduced (Sheets and Slides, edit lag and restamp race) ([#818](https://github.com/khuisman/mcp-gee-sweet/issues/818))
507
507
  - [ ] **Bundle:** Docs link storability (#1290 folded in 2026-11-01) — one PR closing [#1189](https://github.com/khuisman/mcp-gee-sweet/issues/1189) (refuse `javascript:`/`vbscript:`/`data:`; decided 2026-10-25: converter falls back to plain text, `style_doc_range` errors), [#1179](https://github.com/khuisman/mcp-gee-sweet/issues/1179) (scheme-less `link_url` in `style_doc_range`), [#1191](https://github.com/khuisman/mcp-gee-sweet/issues/1191) (drive-letter and host:port targets, padded cell anchors) and [#1237](https://github.com/khuisman/mcp-gee-sweet/issues/1237) (`get_doc_as_markdown` re-emits script links), through one shared helper. Bundled 2026-10-25 (maintainer) ([#1238](https://github.com/khuisman/mcp-gee-sweet/issues/1238))
508
508
  - [ ] `create_spreadsheet`/`import_csv_to_sheet` response has no web link, unlike sibling create/copy tools — enhancement or fix TC-D01's expectation instead, still open. Found in the v0.9.0 QA pass ([#693](https://github.com/khuisman/mcp-gee-sweet/issues/693))
509
509
  - [ ] Define the correctness rubric and own execution for the composite-vs-primitive efficiency benchmark — Aziz ([#584](https://github.com/khuisman/mcp-gee-sweet/issues/584))
@@ -548,6 +548,7 @@ Fill candidates moved from v0.9.3 and the decision-needed backlog on 2026-10-18.
548
548
  - [ ] `html_to_ast` loses content and mis-styles malformed HTML. Pre-existing; approach decided 2026-11-01: option A, an HTML5 parser library walked to the AST (B, a hand-written model, and C, content-loss fixes only, not taken); the library choice is still pending (lexbor's CVE history, maintainer bus factor, installed size). See `docs/decisions/decision-html-error-recovery.md` (PR #1330); #1328 closed into it. From PR #1316 ([#1329](https://github.com/khuisman/mcp-gee-sweet/issues/1329))
549
549
  - [ ] An inline image (and its alt-text fallback) inherits the preceding run's style. Enhancement; from PR #1332 ([#1334](https://github.com/khuisman/mcp-gee-sweet/issues/1334))
550
550
  - [ ] Markdown single-tilde `~x~` isn't strikethrough (GFM accepts one or two). Enhancement; from PR #1332 ([#1335](https://github.com/khuisman/mcp-gee-sweet/issues/1335))
551
+ - [ ] `get_doc_as_markdown` drops table column alignment on export (writes `---` for every column). From PR #1336 ([#1337](https://github.com/khuisman/mcp-gee-sweet/issues/1337))
551
552
 
552
553
  **Bundled 2026-11-01** _(maintainer's ankylosaurus scoping)_
553
554
 
@@ -125,11 +125,16 @@ class Table:
125
125
  rows: list[Row]
126
126
  col_widths: list[float | None] = field(default_factory=list)
127
127
  table_alignment: str | None = None # ALIGNED_START, CENTER, ALIGNED_END
128
- # Indent only (#1097): the emitter indents a quoted table like its quote, but gives
129
- # it no border or quote spacing, and doesn't count it as quoted for separators.
128
+ # A quoted table (#1097, #1122): the emitter draws its quote bar with a wrapper
129
+ # table (see quote_bar) and doc_to_ast.py reads the wrapper back as this depth.
130
130
  blockquote_depth: int = 0
131
+ blockquote_path: tuple[int, ...] = field(default=(), compare=False) # #1098, see below
131
132
  list_depth: int | None = None # #1094, see below
132
133
  list_path: tuple[int, ...] = field(default=(), compare=False) # #1094, see below
134
+ # Write side only (#1122): this is the emitter's 1x1 wrapper around a quoted table,
135
+ # its one cell holding that table, its left border the quote bar. Docs can't give a
136
+ # table a paragraph border, so this is how a table gets one.
137
+ quote_bar: bool = field(default=False, compare=False)
133
138
 
134
139
 
135
140
  # blockquote_path (#1098): the ids of the <blockquote> elements a node sits in, outermost
@@ -114,9 +114,11 @@ class _OpenItems:
114
114
  A node with no `list_depth` ends them all.
115
115
 
116
116
  A quoted item's quote markers come before its indent ("> - a"). A block inside
117
- it is inside that quote too, whatever depth it reads with (a table reads none),
118
- so the item's quote levels go outside the block's indent and only its own extra
119
- levels inside ("> - a" then "> > b").
117
+ it is inside that quote too, whatever depth it reads with (an unquoted table
118
+ reads none), so the item's quote levels go outside the block's indent and only
119
+ its own extra levels inside ("> - a" then "> > b"). Two blocks in one item
120
+ whose own levels overlap share that quote, so the blank line between them
121
+ carries it (#1122).
120
122
 
121
123
  After `render`, `separator` is what goes between the node and the one before it:
122
124
  a newline between two items at the same quote depth, so a list stays tight (items at
@@ -133,20 +135,35 @@ class _OpenItems:
133
135
  self._items: list[tuple[int, int]] = []
134
136
  # Quote levels the last node wrote at the margin, before any indent.
135
137
  self._margin_quote = 0
138
+ # For a block inside an item: (list_depth, content column, the quote levels it
139
+ # writes inside the item's indent). None for anything else.
140
+ self._inner_quote: tuple[int, int, int] | None = None
136
141
  self.separator = "\n\n"
137
142
 
138
143
  def render(self, node: DocNode, prev_node: DocNode | None) -> str:
139
144
  prev_quote = self._margin_quote
145
+ prev_inner = self._inner_quote
140
146
  rendered = self._render(node, prev_node)
141
147
  same_list = (
142
148
  isinstance(node, BulletItem)
143
149
  and isinstance(prev_node, BulletItem)
144
150
  and node.blockquote_depth == prev_node.blockquote_depth
145
151
  )
152
+ shared = min(prev_quote, self._margin_quote)
146
153
  if same_list or _starts_empty_item(prev_node, node):
147
154
  self.separator = "\n"
155
+ elif (
156
+ prev_inner is not None
157
+ and self._inner_quote is not None
158
+ and prev_inner[:2] == self._inner_quote[:2]
159
+ and min(prev_inner[2], self._inner_quote[2])
160
+ ):
161
+ # Two blocks in one item that share a quote inside its indent: the blank
162
+ # line between them carries that quote too, or it would end it (#1122).
163
+ column = self._inner_quote[1]
164
+ inner = min(prev_inner[2], self._inner_quote[2])
165
+ self.separator = f"\n{_blockquote(' ' * column + '>' * inner, shared)}\n"
148
166
  else:
149
- shared = min(prev_quote, self._margin_quote)
150
167
  self.separator = f"\n{'>' * shared}\n" if shared else "\n\n"
151
168
  return rendered
152
169
 
@@ -157,27 +174,31 @@ class _OpenItems:
157
174
  self._items.extend([(0, 0)] * (node.depth - len(self._items)))
158
175
  self._items.append((len(_item_prefix(node, opens_sublist)), node.blockquote_depth))
159
176
  self._margin_quote = node.blockquote_depth
177
+ self._inner_quote = None
160
178
  return _render_block(node, opens_sublist=opens_sublist)
161
179
  list_depth = node.list_depth
162
180
  if list_depth is None or list_depth >= len(self._items):
163
181
  self._items.clear()
164
- if isinstance(node, Table):
165
- # A table renders unquoted (_render_table writes no quote markers).
166
- self._margin_quote = 0
167
- return _render_table(node)
168
182
  self._margin_quote = node.blockquote_depth
183
+ self._inner_quote = None
184
+ if isinstance(node, Table):
185
+ # A quoted table (#1122) gets its quote markers like any block.
186
+ body = _render_table(node)
187
+ return _blockquote(body, node.blockquote_depth) if node.blockquote_depth else body
169
188
  return _render_block(node)
170
189
  del self._items[list_depth + 1 :]
171
190
  column, item_quote = self._items[list_depth]
172
191
  # A block inside a quoted list's item is inside that list's quote too. Its
173
- # own depth can read lower: a table has no indent in the API, and Docs puts
174
- # an unindented empty paragraph before a table in an item.
175
- quote = 0 if isinstance(node, Table) else node.blockquote_depth
176
- quote = max(quote, item_quote)
192
+ # own depth can read lower: an unquoted table has no indent in the API, and
193
+ # Docs puts an unindented empty paragraph before a table in an item.
194
+ quote = max(node.blockquote_depth, item_quote)
177
195
  outer = item_quote
178
196
  self._margin_quote = outer
197
+ self._inner_quote = (list_depth, column, quote - outer)
179
198
  if isinstance(node, Table):
180
199
  body = _render_table(node)
200
+ if quote > outer:
201
+ body = _blockquote(body, quote - outer)
181
202
  else:
182
203
  body = _render_block(node, blockquote_depth=quote - outer)
183
204
  body = _indent_lines(body, column)
@@ -56,9 +56,28 @@ def document_to_ast(document: dict) -> list[DocNode]:
56
56
  items.block(node, para)
57
57
  nodes.append(node)
58
58
  elif "table" in elem:
59
- table = _table_elem_to_ast(elem["table"], document)
59
+ wrapped = _quote_bar_wrapped(elem["table"])
60
+ if wrapped is None:
61
+ table = _table_elem_to_ast(elem["table"], document)
62
+ items.table(table)
63
+ else:
64
+ # A quoted table in its quote-bar wrapper (#1122): placed by the quote
65
+ # indent the wrapper records, like a quoted paragraph.
66
+ inner, indent = wrapped
67
+ if nodes and _is_empty_paragraph(nodes[-1]) and not _ends_a_quoted_table(nodes):
68
+ # The newline insertTable puts before every table. Kept, it read
69
+ # as a blank line that ended the quote before its table. Dropped
70
+ # before the table is placed, which can settle its list depth.
71
+ items.discard(nodes.pop())
72
+ table = _table_elem_to_ast(inner, document)
73
+ table.blockquote_depth = max(1, round(indent / _BLOCKQUOTE_INDENT_PT_PER_LEVEL))
74
+ pstyle = {
75
+ "indentStart": {"magnitude": indent},
76
+ "indentFirstLine": {"magnitude": indent},
77
+ "borderLeft": {"width": {"magnitude": 1}},
78
+ }
79
+ items.block(table, {"paragraphStyle": pstyle})
60
80
  nodes.append(table)
61
- items.table(table)
62
81
  # sectionBreak, tableOfContents: no Markdown equivalent, silently skipped
63
82
  # — same "unsupported construct" convention html_parser.py uses on write.
64
83
  items.close()
@@ -123,7 +142,7 @@ class _ListItemContext:
123
142
  self._lists.append(list_id)
124
143
  self._depth = depth
125
144
 
126
- def block(self, node: Heading | Paragraph | NamedBlock, para: dict) -> None:
145
+ def block(self, node: Heading | Paragraph | NamedBlock | Table, para: dict) -> None:
127
146
  if not self._lists:
128
147
  return
129
148
  pstyle = para.get("paragraphStyle", {})
@@ -144,6 +163,10 @@ class _ListItemContext:
144
163
  if self._lists:
145
164
  self._pending.append((table, None))
146
165
 
166
+ def discard(self, node: DocNode) -> None:
167
+ """Forget a node the caller dropped, so a later settle doesn't place it."""
168
+ self._pending = [(n, match) for n, match in self._pending if n is not node]
169
+
147
170
  def close(self) -> None:
148
171
  """End the open list: whatever was waiting stays outside it, as read."""
149
172
  self._lists.clear()
@@ -531,6 +554,67 @@ def _resolve_inline_image(
531
554
  )
532
555
 
533
556
 
557
+ def _ends_a_quoted_table(nodes: list[DocNode]) -> bool:
558
+ """Whether the empty paragraph ending `nodes` is the unquoted gap after a quoted
559
+ table: between two quoted tables in separate quotes, it's what keeps them apart (a
560
+ gap between two in one quote carries their bar instead)."""
561
+ gap = nodes[-1]
562
+ return (
563
+ len(nodes) >= 2
564
+ and isinstance(nodes[-2], Table)
565
+ and nodes[-2].blockquote_depth > 0
566
+ and gap.blockquote_depth == 0
567
+ )
568
+
569
+
570
+ def _is_empty_paragraph(node: DocNode) -> bool:
571
+ """An empty paragraph that isn't a rule. Right before a quote-bar wrapper it's the
572
+ newline insertTable put there, whatever quote it reads in: between two wrappers in
573
+ one quote it carries that quote's bar (PR #1359 QA round 1)."""
574
+ return isinstance(node, Paragraph) and not node.runs and not node.rule
575
+
576
+
577
+ def _quote_bar_wrapped(table: dict) -> tuple[dict, float] | None:
578
+ """The table inside emitter.py's quote-bar wrapper (#1122) and the quote indent the
579
+ wrapper records, or None when `table` isn't one. A wrapper is a 1x1 table whose cell
580
+ has a left border and no other, and holds one table among empty paragraphs, the
581
+ first of them indented to the quote (`_build_quote_bar_requests`). A user's own 1x1
582
+ table around another one has every border, so it reads as a nested table, as before.
583
+ """
584
+ rows = table.get("tableRows", [])
585
+ if len(rows) != 1:
586
+ return None
587
+ cells = rows[0].get("tableCells", [])
588
+ if len(cells) != 1:
589
+ return None
590
+ style = cells[0].get("tableCellStyle", {})
591
+
592
+ def width(side: str) -> float:
593
+ return style.get(side, {}).get("width", {}).get("magnitude", 0)
594
+
595
+ if width("borderLeft") <= 0 or any(
596
+ width(side) > 0 for side in ("borderTop", "borderRight", "borderBottom")
597
+ ):
598
+ return None
599
+ content = cells[0].get("content", [])
600
+ nested = [elem["table"] for elem in content if "table" in elem]
601
+ paragraphs = [elem["paragraph"] for elem in content if "paragraph" in elem]
602
+ if len(nested) != 1 or len(nested) + len(paragraphs) != len(content):
603
+ return None
604
+ if "paragraph" not in content[0]:
605
+ # The recorded indent is on the paragraph before the table.
606
+ return None
607
+ if any(
608
+ "".join(el.get("textRun", {}).get("content", "") for el in p.get("elements", [])) != "\n"
609
+ for p in paragraphs
610
+ ):
611
+ return None
612
+ indent = paragraphs[0].get("paragraphStyle", {}).get("indentStart", {}).get("magnitude", 0)
613
+ if indent <= 0:
614
+ return None
615
+ return nested[0], indent
616
+
617
+
534
618
  def _table_elem_to_ast(table: dict, document: dict) -> Table:
535
619
  """A merged cell (colspan/rowspan > 1) does NOT remove the physical
536
620
  tableCells[] entries it covers — Google's Docs API leaves an empty,