svg-mcp 0.10.0.dev0__tar.gz → 0.10.0.dev2__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 (184) hide show
  1. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.claude-plugin/marketplace.json +1 -1
  2. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/ci.yml +4 -1
  3. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/CLAUDE.md.example +10 -2
  4. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/PKG-INFO +1 -1
  5. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/claude/.claude-plugin/plugin.json +1 -1
  6. {svg_mcp-0.10.0.dev0/plugins/pi → svg_mcp-0.10.0.dev2/plugins/claude}/instructions.txt +10 -2
  7. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/instructions.txt +10 -2
  8. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/package.json +1 -1
  9. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/src/index.ts +1 -1
  10. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/README.md +1 -1
  11. {svg_mcp-0.10.0.dev0/plugins/claude → svg_mcp-0.10.0.dev2/plugins/pi}/instructions.txt +10 -2
  12. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/package.json +1 -1
  13. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/src/index.ts +1 -1
  14. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/pyproject.toml +1 -1
  15. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/__init__.py +1 -1
  16. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/server.py +50 -15
  17. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_fastmcp4_persistence.py +91 -0
  18. svg_mcp-0.10.0.dev2/tests/test_vendoring.py +33 -0
  19. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/uv.lock +1 -1
  20. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.crib +0 -0
  21. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/docs-on-change.yml +0 -0
  22. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/docs-on-tag.yml +0 -0
  23. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/release-opencode-plugin.yml +0 -0
  24. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/release-pi-plugin.yml +0 -0
  25. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/release.yml +0 -0
  26. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.github/workflows/vendored-drift.yml +0 -0
  27. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.gitignore +0 -0
  28. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.prettierrc.mjs +0 -0
  29. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.python-version +0 -0
  30. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/guidance.md +0 -0
  31. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/styles.css +0 -0
  32. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/theme.toml +0 -0
  33. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/variants/dark.css +0 -0
  34. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/DESIGN.md +0 -0
  35. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/INKEX_PRIMITIVES.md +0 -0
  36. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/LICENSE +0 -0
  37. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/README.md +0 -0
  38. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/_quarto.yml +0 -0
  39. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/architecture.png +0 -0
  40. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/architecture.svg +0 -0
  41. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/cookbook.md +0 -0
  42. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/diagrams.md +0 -0
  43. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/effects.png +0 -0
  44. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/gallery.md +0 -0
  45. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/arrows.png +0 -0
  46. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/booleans.png +0 -0
  47. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-annotate.png +0 -0
  48. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-annotate.svg +0 -0
  49. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-architecture.png +0 -0
  50. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-architecture.svg +0 -0
  51. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-charts.png +0 -0
  52. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-charts.svg +0 -0
  53. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-diagram.png +0 -0
  54. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/facade-diagram.svg +0 -0
  55. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/icon.png +0 -0
  56. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/offset-path.png +0 -0
  57. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/shapes.png +0 -0
  58. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/img/variable-width.png +0 -0
  59. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/preview.png +0 -0
  60. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/docs/themes.md +0 -0
  61. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/examples/generate.py +0 -0
  62. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/index.md +0 -0
  63. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/logo.png +0 -0
  64. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/logo.svg +0 -0
  65. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/package.json +0 -0
  66. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/.sharedserver-version +0 -0
  67. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/claude/bin/sharedserver +0 -0
  68. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/claude/bin/sharedserver.conf +0 -0
  69. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/claude/hooks/session-end.sh +0 -0
  70. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/claude/hooks/session-start.sh +0 -0
  71. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/.gitignore +0 -0
  72. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/LICENSE +0 -0
  73. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/README.md +0 -0
  74. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/src/sharedserver-resolve.ts +0 -0
  75. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/opencode/tsconfig.json +0 -0
  76. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/.gitignore +0 -0
  77. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/LICENSE +0 -0
  78. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/assets/preview.png +0 -0
  79. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/mcp.json.example +0 -0
  80. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/scripts/make-preview.mjs +0 -0
  81. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/src/pi.ts +0 -0
  82. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/src/sharedserver-resolve.ts +0 -0
  83. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/plugins/pi/tsconfig.json +0 -0
  84. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/pyrightconfig.json +0 -0
  85. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/scripts/bump-version.sh +0 -0
  86. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/scripts/demo.py +0 -0
  87. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/scripts/sync-vendored.sh +0 -0
  88. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/scripts/vendor_ext_apps.py +0 -0
  89. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/_ext_apps_inline.js +0 -0
  90. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/config.py +0 -0
  91. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/geom.py +0 -0
  92. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/inbound_auth.py +0 -0
  93. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/__init__.py +0 -0
  94. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/document.py +0 -0
  95. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/errors.py +0 -0
  96. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/handles.py +0 -0
  97. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/__init__.py +0 -0
  98. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/annotate.py +0 -0
  99. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/chart.py +0 -0
  100. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/construct.py +0 -0
  101. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/diagram.py +0 -0
  102. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/diagram_layout.py +0 -0
  103. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/geometry.py +0 -0
  104. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/graph.py +0 -0
  105. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/layers.py +0 -0
  106. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/meta.py +0 -0
  107. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/modify.py +0 -0
  108. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/pages.py +0 -0
  109. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/paint.py +0 -0
  110. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/paths.py +0 -0
  111. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/resources.py +0 -0
  112. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/themes.py +0 -0
  113. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/preview.py +0 -0
  114. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/py.typed +0 -0
  115. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/__init__.py +0 -0
  116. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/inspect.py +0 -0
  117. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/outline.py +0 -0
  118. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/select.py +0 -0
  119. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/__init__.py +0 -0
  120. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/base.py +0 -0
  121. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/cairo.py +0 -0
  122. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/export.py +0 -0
  123. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/feedback.py +0 -0
  124. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/inkscape.py +0 -0
  125. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/resvg.py +0 -0
  126. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/resvg_py.py +0 -0
  127. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/__init__.py +0 -0
  128. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/filters.py +0 -0
  129. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/gradients.py +0 -0
  130. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/style.py +0 -0
  131. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/serialize/__init__.py +0 -0
  132. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/session.py +0 -0
  133. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/__init__.py +0 -0
  134. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/guidance.md +0 -0
  135. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/styles.css +0 -0
  136. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/theme.toml +0 -0
  137. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/variants/dark.css +0 -0
  138. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/css.py +0 -0
  139. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/loader.py +0 -0
  140. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/model.py +0 -0
  141. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/typeset.py +0 -0
  142. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/src/svg_mcp/widget.py +0 -0
  143. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/alt/styles.css +0 -0
  144. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/alt/theme.toml +0 -0
  145. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/atlas/styles.css +0 -0
  146. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/atlas/theme.toml +0 -0
  147. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/drafting/styles.css +0 -0
  148. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/drafting/theme.toml +0 -0
  149. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/guidance.md +0 -0
  150. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/styles.css +0 -0
  151. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/theme.toml +0 -0
  152. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/variants/dark.css +0 -0
  153. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/styles.css +0 -0
  154. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/theme.toml +0 -0
  155. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/variants/bigticks.css +0 -0
  156. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/mini.css +0 -0
  157. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_charts.py +0 -0
  158. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_context.py +0 -0
  159. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_diagram.py +0 -0
  160. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_diagram_containers.py +0 -0
  161. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_diagram_layout.py +0 -0
  162. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_edit_and_query.py +0 -0
  163. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_filters_parametric.py +0 -0
  164. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_geom.py +0 -0
  165. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_graph_import.py +0 -0
  166. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_import.py +0 -0
  167. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_inbound_auth.py +0 -0
  168. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_legend_callout.py +0 -0
  169. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_model.py +0 -0
  170. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_paint.py +0 -0
  171. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_render.py +0 -0
  172. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_resolve.py +0 -0
  173. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_review_fixes.py +0 -0
  174. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_structure.py +0 -0
  175. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_style_refs.py +0 -0
  176. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_table_card.py +0 -0
  177. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_text_transform_ergonomics.py +0 -0
  178. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_theme_engine.py +0 -0
  179. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_theme_residency.py +0 -0
  180. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_theme_variants.py +0 -0
  181. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_tier1.py +0 -0
  182. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_tier2.py +0 -0
  183. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_tier3.py +0 -0
  184. {svg_mcp-0.10.0.dev0 → svg_mcp-0.10.0.dev2}/tests/test_typeset.py +0 -0
@@ -10,7 +10,7 @@
10
10
  "name": "svg-mcp",
11
11
  "source": "./plugins/claude",
12
12
  "description": "Structured, hierarchical SVG authoring for an LLM with a render-and-see feedback loop \u2014 CSS-native themes (design language + variants), declarative box-arrow diagrams with auto-layout, data-parametric charts, and annotation facades, backed by an inkex document model.",
13
- "version": "0.10.0-dev.0"
13
+ "version": "0.10.0-dev.2"
14
14
  }
15
15
  ]
16
16
  }
@@ -2,7 +2,10 @@ name: CI
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [main]
5
+ # main plus the dev integration line (dev releases gate on this CI).
6
+ branches:
7
+ - main
8
+ - dev
6
9
  pull_request:
7
10
 
8
11
  jobs:
@@ -2,13 +2,21 @@
2
2
 
3
3
  <!-- Canonical reach-for-svg-mcp directive. Copy into your global
4
4
  $CLAUDE_CONFIG_DIR/CLAUDE.md, or let an svg-mcp plugin inject it each session
5
- (the plugins symlink this file). It directs *approach*; the MCP tool
5
+ (injected as a regular-file copy). It directs *approach*; the MCP tool
6
6
  descriptions carry the mechanics. -->
7
7
 
8
- Three rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
8
+ Four rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
9
9
  topic you have to remember to think about. That's deliberate: you will not remember to
10
10
  "use the tools" — but you can notice yourself about to type a `<` .
11
11
 
12
+ ### 0. Opening svg-mcp for a drawing task? Mint a session first.
13
+
14
+ `create_session` is on the tools: call it ONCE per drawing task, then pass its
15
+ `session_id` on EVERY svg-mcp call that follows (each tool's schema marks the argument).
16
+ Keep the id in the conversation — drawings persist under it, and another chat can pick the
17
+ drawing up with it. A session_id-less call fails with this same guidance: that's the cue
18
+ you skipped the mint, not a bug to route around — run create_session, retry with the id.
19
+
12
20
  ### 1. About to write `<svg`, or hand-edit XML inside one? That's the cue.
13
21
 
14
22
  Writing markup by hand is the wrong move **even when the shape looks trivial** — that's
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: svg-mcp
3
- Version: 0.10.0-dev.0
3
+ Version: 0.10.0-dev.2
4
4
  Summary: A FastMCP server exposing structured, hierarchical SVG authoring with a render-and-see feedback loop.
5
5
  Project-URL: Homepage, https://github.com/georgeharker/svg-mcp
6
6
  Project-URL: Repository, https://github.com/georgeharker/svg-mcp
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svg-mcp",
3
- "version": "0.10.0-dev.0",
3
+ "version": "0.10.0-dev.2",
4
4
  "description": "Structured, hierarchical SVG authoring for an LLM with a render-and-see feedback loop \u2014 CSS-native themes (design language + variants), declarative box-arrow diagrams with auto-layout, data-parametric charts, and annotation facades, backed by an inkex document model.",
5
5
  "author": {
6
6
  "name": "George Harker",
@@ -2,13 +2,21 @@
2
2
 
3
3
  <!-- Canonical reach-for-svg-mcp directive. Copy into your global
4
4
  $CLAUDE_CONFIG_DIR/CLAUDE.md, or let an svg-mcp plugin inject it each session
5
- (the plugins symlink this file). It directs *approach*; the MCP tool
5
+ (injected as a regular-file copy). It directs *approach*; the MCP tool
6
6
  descriptions carry the mechanics. -->
7
7
 
8
- Three rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
8
+ Four rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
9
9
  topic you have to remember to think about. That's deliberate: you will not remember to
10
10
  "use the tools" — but you can notice yourself about to type a `<` .
11
11
 
12
+ ### 0. Opening svg-mcp for a drawing task? Mint a session first.
13
+
14
+ `create_session` is on the tools: call it ONCE per drawing task, then pass its
15
+ `session_id` on EVERY svg-mcp call that follows (each tool's schema marks the argument).
16
+ Keep the id in the conversation — drawings persist under it, and another chat can pick the
17
+ drawing up with it. A session_id-less call fails with this same guidance: that's the cue
18
+ you skipped the mint, not a bug to route around — run create_session, retry with the id.
19
+
12
20
  ### 1. About to write `<svg`, or hand-edit XML inside one? That's the cue.
13
21
 
14
22
  Writing markup by hand is the wrong move **even when the shape looks trivial** — that's
@@ -2,13 +2,21 @@
2
2
 
3
3
  <!-- Canonical reach-for-svg-mcp directive. Copy into your global
4
4
  $CLAUDE_CONFIG_DIR/CLAUDE.md, or let an svg-mcp plugin inject it each session
5
- (the plugins symlink this file). It directs *approach*; the MCP tool
5
+ (injected as a regular-file copy). It directs *approach*; the MCP tool
6
6
  descriptions carry the mechanics. -->
7
7
 
8
- Three rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
8
+ Four rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
9
9
  topic you have to remember to think about. That's deliberate: you will not remember to
10
10
  "use the tools" — but you can notice yourself about to type a `<` .
11
11
 
12
+ ### 0. Opening svg-mcp for a drawing task? Mint a session first.
13
+
14
+ `create_session` is on the tools: call it ONCE per drawing task, then pass its
15
+ `session_id` on EVERY svg-mcp call that follows (each tool's schema marks the argument).
16
+ Keep the id in the conversation — drawings persist under it, and another chat can pick the
17
+ drawing up with it. A session_id-less call fails with this same guidance: that's the cue
18
+ you skipped the mint, not a bug to route around — run create_session, retry with the id.
19
+
12
20
  ### 1. About to write `<svg`, or hand-edit XML inside one? That's the cue.
13
21
 
14
22
  Writing markup by hand is the wrong move **even when the shape looks trivial** — that's
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geohar/opencode-svg-mcp",
3
- "version": "0.10.0-dev.0",
3
+ "version": "0.10.0-dev.2",
4
4
  "description": "OpenCode plugin: run the svg-mcp MCP server via sharedserver and register its endpoint with OpenCode. Stands down when a combiner already serves svg-mcp.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -86,7 +86,7 @@ const DEFAULT_GRACE = "1h"
86
86
  * shipped stale at 0.2.6 for several releases, so fresh installs pinned to a
87
87
  * years-old server. Override per-launch with the `version` option or
88
88
  * `$SVG_MCP_VERSION`. */
89
- const SVG_MCP_TOOL_VERSION = "0.10.0-dev.0"
89
+ const SVG_MCP_TOOL_VERSION = "0.10.0-dev.2"
90
90
 
91
91
  // ── the diagram-authoring directive ────────────────────────────────
92
92
  // Appended to the system prompt so the agent reaches for svg-mcp's tools instead of
@@ -58,7 +58,7 @@ so they apply across every client. Pi-extension toggles use `PI_SVG_MCP_*`.
58
58
  | Variable | Default | Effect |
59
59
  |----------|---------|--------|
60
60
  | `SVG_MCP_PORT` | `7731` | HTTP port svg-mcp serves on. |
61
- | `SVG_MCP_VERSION` | `0.10.0-dev.0` | Pin the PyPI release (`uvx svg-mcp@<v>`). Kept in lockstep with this package's release by `scripts/bump-version.sh`. |
61
+ | `SVG_MCP_VERSION` | `0.10.0-dev.2` | Pin the PyPI release (`uvx svg-mcp@<v>`). Kept in lockstep with this package's release by `scripts/bump-version.sh`. |
62
62
  | `SVG_MCP_DEV` | — | Dev checkout for `uv run --project <dir>` (a path, or `1` for in-repo source). |
63
63
  | `PI_SVG_MCP_NAME` | `svg-mcp` | `sharedserver` instance name. |
64
64
  | `PI_SVG_MCP_GRACE` | `1h` | `sharedserver` grace period. |
@@ -2,13 +2,21 @@
2
2
 
3
3
  <!-- Canonical reach-for-svg-mcp directive. Copy into your global
4
4
  $CLAUDE_CONFIG_DIR/CLAUDE.md, or let an svg-mcp plugin inject it each session
5
- (the plugins symlink this file). It directs *approach*; the MCP tool
5
+ (injected as a regular-file copy). It directs *approach*; the MCP tool
6
6
  descriptions carry the mechanics. -->
7
7
 
8
- Three rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
8
+ Four rules. Each fires on a **cue you can catch yourself in the middle of**, not on a
9
9
  topic you have to remember to think about. That's deliberate: you will not remember to
10
10
  "use the tools" — but you can notice yourself about to type a `<` .
11
11
 
12
+ ### 0. Opening svg-mcp for a drawing task? Mint a session first.
13
+
14
+ `create_session` is on the tools: call it ONCE per drawing task, then pass its
15
+ `session_id` on EVERY svg-mcp call that follows (each tool's schema marks the argument).
16
+ Keep the id in the conversation — drawings persist under it, and another chat can pick the
17
+ drawing up with it. A session_id-less call fails with this same guidance: that's the cue
18
+ you skipped the mint, not a bug to route around — run create_session, retry with the id.
19
+
12
20
  ### 1. About to write `<svg`, or hand-edit XML inside one? That's the cue.
13
21
 
14
22
  Writing markup by hand is the wrong move **even when the shape looks trivial** — that's
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geohar/pi-svg-mcp",
3
- "version": "0.10.0-dev.0",
3
+ "version": "0.10.0-dev.2",
4
4
  "description": "Pi extension: run the svg-mcp MCP server via sharedserver and inject the diagram-authoring directive. Pairs with pi-mcp-adapter, which makes svg-mcp's tools reachable from Pi.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,7 +51,7 @@ const SHAREDSERVER_MIN_VERSION = "0.6.7"
51
51
  // scripts/bump-version.sh — a plugin shipped un-updated here served svg-mcp@0.2.6 for
52
52
  // several releases. (Track the release this tag publishes; `latest` is not published
53
53
  // to the pi extension store, so users on `@latest` can still miss releases.)
54
- const SVG_MCP_TOOL_VERSION = "0.10.0-dev.0"
54
+ const SVG_MCP_TOOL_VERSION = "0.10.0-dev.2"
55
55
 
56
56
  type LogFn = (level: "info" | "warn" | "error", message: string) => void
57
57
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "svg-mcp"
7
- version = "0.10.0-dev.0"
7
+ version = "0.10.0-dev.2"
8
8
  description = "A FastMCP server exposing structured, hierarchical SVG authoring with a render-and-see feedback loop."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -15,4 +15,4 @@ The package is layered (see DESIGN.md):
15
15
  Only ``render`` and the package skeleton exist today; the model layer lands next.
16
16
  """
17
17
 
18
- __version__ = "0.10.0-dev.0"
18
+ __version__ = "0.10.0-dev.2"
@@ -47,6 +47,14 @@ from fastmcp.server.sessions import (
47
47
  )
48
48
  from fastmcp.tools import FunctionTool, ToolResult
49
49
  from mcp.server.connection import Connection
50
+ from mcp.server.subscriptions import ( # type: ignore[import-not-found,unused-ignore] # noqa: I001 — mcp-2-only (svg-mcp's floor); mypy's ignore_missing_imports + this comment cover older editor envs
51
+ InMemorySubscriptionBus,
52
+ ListenHandler,
53
+ ResourceUpdated,
54
+ )
55
+ from mcp.types import (
56
+ SubscriptionsListenRequestParams, # type: ignore[import-not-found,unused-ignore] # noqa: E501 — same armor
57
+ )
50
58
 
51
59
  # mcp_types is an mcp-2-only package: mypy's ignore_missing_imports already covers it on old
52
60
  # editor envs, and fastmcp-4 envs see no error at all — so mypy flags the comment itself as
@@ -388,17 +396,17 @@ LIVE PREVIEW
388
396
  Reserve `render_document` for when YOU need to inspect the result, and prefer batching the
389
397
  primitives you already know you need before you stop to look.
390
398
 
391
- SESSION (STATELESS / 2026-ERA LINKS)
392
- - On stateful links (handshake-era HTTP, stdio, mcp-combiner legacy) svg-mcp tracks your
393
- connection automatically: never pass session_id.
394
- - On a stateless (2026-07-28) link, documents only persist under a minted session: call
395
- `create_session` once, then pass its `session_id` on EVERY subsequent svg-mcp call —
396
- each tool's schema marks the argument, and passing it yourself is the contract (no
397
- client injects it behind your back). An identity-less stateless call is rejected with
398
- that guidance rather than silently losing state. A session minted on a stateful link is
399
- owned by that connection alone (and dies with it); on a stateless link the unguessable
400
- minted id is its capability.
401
- - `end_session` invalidates a session and discards its documents.
399
+ SESSIONS (MINTED DOCUMENTS)
400
+ - Mint a session per drawing task: call `create_session` FIRST, then pass its `session_id`
401
+ on EVERY svg-mcp call — each tool's schema marks the argument, and passing it yourself is
402
+ the contract (no client injects it behind your back). Documents persist under it: across
403
+ connection churn, and another chat can pick the drawing up with the same id. An
404
+ identity-less call that needs a session is rejected with that same guidance — run
405
+ create_session and retry with the id it returned.
406
+ - `create_session` when minted on a direct/handshake connection is owned by that connection
407
+ (it dies with the connection); a mint made on a stateless (2026-07-28) link cannot be
408
+ bound — the unguessable id is its capability.
409
+ - `end_session` invalidates a session and discards its documents. Never call it mid-task.
402
410
 
403
411
  Multiple documents can be open at once; omit `document_id` for the active one, or pass it
404
412
  explicitly to target a specific document.
@@ -742,6 +750,23 @@ async def end_session(session_id: SessionId) -> str:
742
750
  return "session ended"
743
751
 
744
752
 
753
+ # --- subscriptions/listen (2026 era) ----------------------------------------
754
+ # mcp 2's listen: one client call = one subscription STREAM, filtered per stream by the URIs
755
+ # and change kinds the listener named. svg-mcp publishes verbatim (the URI as we name it; the
756
+ # combiner namespaces it downstream), and does NOT key bus events to sessions — a listen
757
+ # stream is per-client, not per-minted-session. Registering the handler also makes the SDK
758
+ # advertise listChanged/subscribe on 2026 discover. Notifications DURING a call
759
+ # (`_emit_change`'s `send_resource_updated`) keep riding that call's response stream on any
760
+ # era; the bus is the channel that works BETWEEN calls.
761
+ _LISTEN_BUS = InMemorySubscriptionBus()
762
+
763
+ mcp._mcp_server.add_request_handler(
764
+ "subscriptions/listen",
765
+ SubscriptionsListenRequestParams,
766
+ ListenHandler(_LISTEN_BUS),
767
+ )
768
+
769
+
745
770
  def _connection() -> Connection | None:
746
771
  """The low-level mcp `Connection` for the current request, or None outside a request."""
747
772
  try:
@@ -939,13 +964,23 @@ def _placed(doc: Document, ref: NodeRef) -> dict[str, str | None | list[str]]:
939
964
 
940
965
 
941
966
  async def _emit_change(ctx: Context) -> None:
942
- """Notify subscribers that the active document's resources changed."""
967
+ """Notify subscribers that the active document's resources changed.
968
+
969
+ Two channels: `send_resource_updated` rides the CALLER's response stream (works on any
970
+ era, but only reaches that caller), and the subscriptions/listen bus reaches every open
971
+ listen stream (the 2026-era channel, and how OTHER clients hear this change). Published
972
+ verbatim; per-stream filters select.
973
+ """
943
974
  session = ctx.session
975
+ uri_strings = ["svg://documents"]
944
976
  active = _store().active_id
945
977
  if active is not None:
946
- await session.send_resource_updated(AnyUrl(f"svg://{active}/svg"))
947
- await session.send_resource_updated(AnyUrl(f"svg://{active}/render"))
948
- await session.send_resource_updated(AnyUrl("svg://documents"))
978
+ uri_strings = [f"svg://{active}/svg", f"svg://{active}/render", *uri_strings]
979
+ uri_strings.append(_widget.WIDGET_URI) # MCP-Apps clients repaint the widget with the doc
980
+ for uri in uri_strings:
981
+ await session.send_resource_updated(AnyUrl(uri))
982
+ for uri in uri_strings:
983
+ await _LISTEN_BUS.publish(ResourceUpdated(uri=uri))
949
984
  if _preview.server.running:
950
985
  with contextlib.suppress(Exception):
951
986
  _publish_preview()
@@ -564,3 +564,94 @@ def test_stateful_minted_session_is_bound_to_its_connection(server: _Server) ->
564
564
  )
565
565
 
566
566
  asyncio.run(scenario())
567
+
568
+
569
+ # --- subscriptions/listen (2026 era) ----------------------------------------
570
+ # mcp 2's listen: one client call = one subscription stream, per-client and NOT tied to a
571
+ # minted session id; svg-mcp publishes events verbatim and per-stream filters select. The
572
+ # per-call `send_resource_updated` path (any era) is already covered by the tests above; the
573
+ # bus is the channel that reaches BETWEEN calls.
574
+
575
+
576
+ def test_listen_handler_is_registered_on_the_kernel(server: _Server) -> None:
577
+ """The SDK advertises listChanged/subscribe on 2026 discover only when the handler
578
+ exists; svg-mcp registers it at import; the bus is a working SubscriptionBus."""
579
+ from svg_mcp.server import _LISTEN_BUS
580
+
581
+ method = "subscriptions/listen"
582
+ assert method in _mcp_server._mcp_server._request_handlers # noqa: SLF001 — internal registry
583
+ unsubscribe = _LISTEN_BUS.subscribe(lambda _event: None)
584
+ unsubscribe()
585
+
586
+
587
+ def test_edits_publish_resource_updated_events_to_the_listen_bus(server: _Server) -> None:
588
+ """A mutating tool call fans its change events out through the subscription bus
589
+ (verbatim URIs: per-doc svg + the documents index + the widget), for open listen
590
+ streams of EVERY client — per-stream filters select."""
591
+ from mcp.server.subscriptions import ResourceUpdated as _RU
592
+
593
+ from svg_mcp.server import _LISTEN_BUS
594
+
595
+ seen: list[_RU] = []
596
+
597
+ async def scenario() -> None:
598
+ async with await _legacy_client(server.url) as client:
599
+ created = await client.call_tool("create_document", {"width": 300, "height": 200})
600
+ document_id = created.data["document_id"]
601
+ unsubscribe = _LISTEN_BUS.subscribe(
602
+ lambda event: seen.append(event) if isinstance(event, _RU) else None
603
+ )
604
+ try:
605
+ await client.call_tool("add_rect", {"x": 1, "y": 1, "width": 5, "height": 5})
606
+ finally:
607
+ unsubscribe()
608
+
609
+ uris = {event.uri for event in seen}
610
+ assert {
611
+ f"svg://{document_id}/svg",
612
+ f"svg://{document_id}/render",
613
+ "svg://documents",
614
+ "ui://svg-mcp/widget",
615
+ } <= uris
616
+
617
+ asyncio.run(scenario())
618
+
619
+
620
+ def test_a_2026_listen_stream_receives_updates_from_another_connection(
621
+ server: _Server,
622
+ ) -> None:
623
+ """The real 2026 e2e: one client holds a subscriptions/listen stream; a DIFFERENT
624
+ connection edits; the listener sees the resource event BETWEEN its own calls."""
625
+
626
+ async def scenario() -> None:
627
+ from mcp.client.subscriptions import listen
628
+ from mcp.server.subscriptions import ResourceUpdated
629
+
630
+ async with await _legacy_client_auto(server.url) as watcher:
631
+ minted = await watcher.call_tool("create_session", {})
632
+ session_id = minted.data["session_id"]
633
+ created = await watcher.call_tool(
634
+ "create_document", {"width": 300, "height": 200, "session_id": session_id}
635
+ )
636
+ document_id = created.data["document_id"]
637
+
638
+ # A second, raw connection performs the edit while the watcher just listens.
639
+ async with (
640
+ _raw_session(server.url, extra_headers={}, terminate_on_close=False) as (
641
+ editor_t,
642
+ editor,
643
+ ),
644
+ listen(
645
+ watcher.session,
646
+ resource_subscriptions=[f"svg://{document_id}/svg", "svg://documents"],
647
+ ) as stream,
648
+ ):
649
+ drawn = await editor.call_tool(
650
+ "add_rect",
651
+ {"x": 1, "y": 1, "width": 5, "height": 5, "session_id": session_id},
652
+ )
653
+ assert not drawn.is_error
654
+ event = await asyncio.wait_for(anext(stream), timeout=10.0)
655
+ assert event == ResourceUpdated(uri=f"svg://{document_id}/svg")
656
+
657
+ asyncio.run(scenario())
@@ -0,0 +1,33 @@
1
+ """The plugin instruction copies must stay regular files, in lockstep with their source.
2
+
3
+ npm packs and Claude plugin installs don't reliably preserve symlinks, so the
4
+ ``plugins/*/instructions.txt`` files are REGULAR-FILE COPIES of ``CLAUDE.md.example`` —
5
+ re-synced by ``scripts/bump-version.sh`` on every release. These tests pin both halves of
6
+ that contract: real files, and byte-identical to the source they were copied from.
7
+ """
8
+
9
+ import os
10
+ from pathlib import Path
11
+
12
+ ROOT = Path(__file__).resolve().parents[1]
13
+ SOURCE = ROOT / "CLAUDE.md.example"
14
+ PLUGINS = ("claude", "opencode", "pi")
15
+
16
+
17
+ def test_the_source_directive_exists() -> None:
18
+ assert SOURCE.is_file(), "CLAUDE.md.example is the plugin directives' source of truth"
19
+
20
+
21
+ def test_every_plugin_carries_a_byte_identical_regular_file_copy() -> None:
22
+ source = SOURCE.read_text()
23
+ for name in PLUGINS:
24
+ path = ROOT / "plugins" / name / "instructions.txt"
25
+ assert path.exists(), f"{path} is missing — run scripts/bump-version.sh to re-sync"
26
+ assert not path.is_symlink() and not os.path.islink(path), (
27
+ f"{path} must be a REGULAR FILE: npm packs and Claude plugin installs don't "
28
+ "reliably preserve symlinks, so the vendored copy would break on install"
29
+ )
30
+ assert path.read_text() == source, (
31
+ f"{path} drifted from CLAUDE.md.example; re-sync it "
32
+ "(scripts/bump-version.sh re-copies on any bump)"
33
+ )
@@ -1674,7 +1674,7 @@ wheels = [
1674
1674
 
1675
1675
  [[package]]
1676
1676
  name = "svg-mcp"
1677
- version = "0.10.0-dev.0"
1677
+ version = "0.10.0-dev.2"
1678
1678
  source = { editable = "." }
1679
1679
  dependencies = [
1680
1680
  { name = "fastmcp" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes