svg-mcp 0.10.0.dev1__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.dev1 → svg_mcp-0.10.0.dev2}/.claude-plugin/marketplace.json +1 -1
  2. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/CLAUDE.md.example +10 -2
  3. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/PKG-INFO +1 -1
  4. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/claude/.claude-plugin/plugin.json +1 -1
  5. {svg_mcp-0.10.0.dev1/plugins/pi → svg_mcp-0.10.0.dev2/plugins/claude}/instructions.txt +10 -2
  6. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/instructions.txt +10 -2
  7. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/package.json +1 -1
  8. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/src/index.ts +1 -1
  9. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/README.md +1 -1
  10. {svg_mcp-0.10.0.dev1/plugins/claude → svg_mcp-0.10.0.dev2/plugins/pi}/instructions.txt +10 -2
  11. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/package.json +1 -1
  12. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/src/index.ts +1 -1
  13. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/pyproject.toml +1 -1
  14. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/__init__.py +1 -1
  15. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/server.py +11 -11
  16. svg_mcp-0.10.0.dev2/tests/test_vendoring.py +33 -0
  17. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/uv.lock +1 -1
  18. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.crib +0 -0
  19. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/ci.yml +0 -0
  20. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/docs-on-change.yml +0 -0
  21. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/docs-on-tag.yml +0 -0
  22. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/release-opencode-plugin.yml +0 -0
  23. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/release-pi-plugin.yml +0 -0
  24. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/release.yml +0 -0
  25. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.github/workflows/vendored-drift.yml +0 -0
  26. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.gitignore +0 -0
  27. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.prettierrc.mjs +0 -0
  28. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.python-version +0 -0
  29. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/guidance.md +0 -0
  30. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/styles.css +0 -0
  31. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/theme.toml +0 -0
  32. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/.svg-mcp/themes/blueprint/variants/dark.css +0 -0
  33. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/DESIGN.md +0 -0
  34. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/INKEX_PRIMITIVES.md +0 -0
  35. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/LICENSE +0 -0
  36. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/README.md +0 -0
  37. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/_quarto.yml +0 -0
  38. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/architecture.png +0 -0
  39. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/architecture.svg +0 -0
  40. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/cookbook.md +0 -0
  41. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/diagrams.md +0 -0
  42. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/effects.png +0 -0
  43. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/gallery.md +0 -0
  44. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/arrows.png +0 -0
  45. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/booleans.png +0 -0
  46. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-annotate.png +0 -0
  47. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-annotate.svg +0 -0
  48. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-architecture.png +0 -0
  49. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-architecture.svg +0 -0
  50. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-charts.png +0 -0
  51. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-charts.svg +0 -0
  52. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-diagram.png +0 -0
  53. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/facade-diagram.svg +0 -0
  54. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/icon.png +0 -0
  55. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/offset-path.png +0 -0
  56. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/shapes.png +0 -0
  57. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/img/variable-width.png +0 -0
  58. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/preview.png +0 -0
  59. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/docs/themes.md +0 -0
  60. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/examples/generate.py +0 -0
  61. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/index.md +0 -0
  62. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/logo.png +0 -0
  63. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/logo.svg +0 -0
  64. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/package.json +0 -0
  65. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/.sharedserver-version +0 -0
  66. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/claude/bin/sharedserver +0 -0
  67. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/claude/bin/sharedserver.conf +0 -0
  68. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/claude/hooks/session-end.sh +0 -0
  69. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/claude/hooks/session-start.sh +0 -0
  70. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/.gitignore +0 -0
  71. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/LICENSE +0 -0
  72. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/README.md +0 -0
  73. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/src/sharedserver-resolve.ts +0 -0
  74. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/opencode/tsconfig.json +0 -0
  75. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/.gitignore +0 -0
  76. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/LICENSE +0 -0
  77. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/assets/preview.png +0 -0
  78. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/mcp.json.example +0 -0
  79. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/scripts/make-preview.mjs +0 -0
  80. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/src/pi.ts +0 -0
  81. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/src/sharedserver-resolve.ts +0 -0
  82. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/plugins/pi/tsconfig.json +0 -0
  83. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/pyrightconfig.json +0 -0
  84. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/scripts/bump-version.sh +0 -0
  85. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/scripts/demo.py +0 -0
  86. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/scripts/sync-vendored.sh +0 -0
  87. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/scripts/vendor_ext_apps.py +0 -0
  88. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/_ext_apps_inline.js +0 -0
  89. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/config.py +0 -0
  90. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/geom.py +0 -0
  91. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/inbound_auth.py +0 -0
  92. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/__init__.py +0 -0
  93. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/document.py +0 -0
  94. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/errors.py +0 -0
  95. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/model/handles.py +0 -0
  96. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/__init__.py +0 -0
  97. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/annotate.py +0 -0
  98. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/chart.py +0 -0
  99. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/construct.py +0 -0
  100. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/diagram.py +0 -0
  101. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/diagram_layout.py +0 -0
  102. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/geometry.py +0 -0
  103. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/graph.py +0 -0
  104. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/layers.py +0 -0
  105. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/meta.py +0 -0
  106. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/modify.py +0 -0
  107. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/pages.py +0 -0
  108. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/paint.py +0 -0
  109. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/paths.py +0 -0
  110. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/resources.py +0 -0
  111. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/ops/themes.py +0 -0
  112. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/preview.py +0 -0
  113. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/py.typed +0 -0
  114. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/__init__.py +0 -0
  115. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/inspect.py +0 -0
  116. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/outline.py +0 -0
  117. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/query/select.py +0 -0
  118. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/__init__.py +0 -0
  119. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/base.py +0 -0
  120. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/cairo.py +0 -0
  121. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/export.py +0 -0
  122. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/feedback.py +0 -0
  123. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/inkscape.py +0 -0
  124. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/resvg.py +0 -0
  125. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/render/resvg_py.py +0 -0
  126. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/__init__.py +0 -0
  127. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/filters.py +0 -0
  128. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/gradients.py +0 -0
  129. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/schemas/style.py +0 -0
  130. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/serialize/__init__.py +0 -0
  131. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/session.py +0 -0
  132. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/__init__.py +0 -0
  133. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/guidance.md +0 -0
  134. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/styles.css +0 -0
  135. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/theme.toml +0 -0
  136. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/builtin/default/variants/dark.css +0 -0
  137. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/css.py +0 -0
  138. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/loader.py +0 -0
  139. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/theme/model.py +0 -0
  140. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/typeset.py +0 -0
  141. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/src/svg_mcp/widget.py +0 -0
  142. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/alt/styles.css +0 -0
  143. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/alt/theme.toml +0 -0
  144. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/atlas/styles.css +0 -0
  145. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/atlas/theme.toml +0 -0
  146. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/drafting/styles.css +0 -0
  147. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/drafting/theme.toml +0 -0
  148. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/guidance.md +0 -0
  149. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/styles.css +0 -0
  150. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/theme.toml +0 -0
  151. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/house/variants/dark.css +0 -0
  152. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/styles.css +0 -0
  153. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/theme.toml +0 -0
  154. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/metricfree/variants/bigticks.css +0 -0
  155. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/fixtures/themes/mini.css +0 -0
  156. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_charts.py +0 -0
  157. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_context.py +0 -0
  158. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_diagram.py +0 -0
  159. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_diagram_containers.py +0 -0
  160. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_diagram_layout.py +0 -0
  161. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_edit_and_query.py +0 -0
  162. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_fastmcp4_persistence.py +0 -0
  163. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_filters_parametric.py +0 -0
  164. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_geom.py +0 -0
  165. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_graph_import.py +0 -0
  166. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_import.py +0 -0
  167. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_inbound_auth.py +0 -0
  168. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_legend_callout.py +0 -0
  169. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_model.py +0 -0
  170. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_paint.py +0 -0
  171. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_render.py +0 -0
  172. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_resolve.py +0 -0
  173. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_review_fixes.py +0 -0
  174. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_structure.py +0 -0
  175. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_style_refs.py +0 -0
  176. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_table_card.py +0 -0
  177. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_text_transform_ergonomics.py +0 -0
  178. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_theme_engine.py +0 -0
  179. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_theme_residency.py +0 -0
  180. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_theme_variants.py +0 -0
  181. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_tier1.py +0 -0
  182. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_tier2.py +0 -0
  183. {svg_mcp-0.10.0.dev1 → svg_mcp-0.10.0.dev2}/tests/test_tier3.py +0 -0
  184. {svg_mcp-0.10.0.dev1 → 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.1"
13
+ "version": "0.10.0-dev.2"
14
14
  }
15
15
  ]
16
16
  }
@@ -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.1
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.1",
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.1",
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.1"
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.1` | 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.1",
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.1"
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.1"
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.1"
18
+ __version__ = "0.10.0-dev.2"
@@ -396,17 +396,17 @@ LIVE PREVIEW
396
396
  Reserve `render_document` for when YOU need to inspect the result, and prefer batching the
397
397
  primitives you already know you need before you stop to look.
398
398
 
399
- SESSION (STATELESS / 2026-ERA LINKS)
400
- - On stateful links (handshake-era HTTP, stdio, mcp-combiner legacy) svg-mcp tracks your
401
- connection automatically: never pass session_id.
402
- - On a stateless (2026-07-28) link, documents only persist under a minted session: call
403
- `create_session` once, then pass its `session_id` on EVERY subsequent svg-mcp call —
404
- each tool's schema marks the argument, and passing it yourself is the contract (no
405
- client injects it behind your back). An identity-less stateless call is rejected with
406
- that guidance rather than silently losing state. A session minted on a stateful link is
407
- owned by that connection alone (and dies with it); on a stateless link the unguessable
408
- minted id is its capability.
409
- - `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.
410
410
 
411
411
  Multiple documents can be open at once; omit `document_id` for the active one, or pass it
412
412
  explicitly to target a specific document.
@@ -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.1"
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