@geohar/opencode-svg-mcp 0.4.0 → 0.4.1

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 (2) hide show
  1. package/instructions.txt +4 -0
  2. package/package.json +1 -1
package/instructions.txt CHANGED
@@ -6,6 +6,10 @@
6
6
  `boolean` for path union/difference/intersection, gradients/filters/transforms — and
7
7
  **render and look**: `export_render` (or `render_document`) to see the result, then
8
8
  iterate. This construct → render → see → iterate loop is the point of svg-mcp.
9
+ - **Share the live preview URL early, unprompted.** For anything beyond a couple of tool calls,
10
+ call `start_preview` at the start and put the exact URL it returns in your reply ("Live
11
+ preview: <url> — it refreshes on every change"). The user watching the drawing take shape can
12
+ redirect you mid-build instead of waiting for a finished result they may not want.
9
13
  - **Edit existing SVGs through the tools too** — `import_svg` to load, `find` /
10
14
  `describe_node` to locate nodes, then `edit_*` / `apply_*` / `delete_node` to change
11
15
  them. Prefer this over textually patching raw `<svg>` markup, which is error-prone and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geohar/opencode-svg-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
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",