@modudraft/mcp 0.23.0 → 0.23.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.
package/README.md CHANGED
@@ -96,6 +96,13 @@ Every MCP tool is listed by default. If that is too much context for your client
96
96
  - `load_toolset(name)` adds a group at runtime and sends a tools-changed notification. If your client doesn't refresh tools after `load_toolset`, set `MODUDRAFT_TOOLSETS` instead.
97
97
  - Calling any tool by name always works, even when it isn't listed: the server loads its group and runs it.
98
98
 
99
+ ### Upgrading to 0.23.1
100
+
101
+ - A write refused because a tab is too large (HTTP 413 `tab_too_large`) now shows the server's message, which names the tab and the limit, instead of a generic failure.
102
+ - `import_file` and `import_directory` check the built diagram against the tab size and item limits before writing, and report the problem without saving anything.
103
+ - `snapshot_diagram`, `list_snapshots` and the other version tools say "Version history isn't available on the Free plan. Upgrade to Pro to keep versions." when your plan has no version history.
104
+ - `clone_diagram` asks the server to copy the source diagram's Notes images to the clone. A `.modudraft` file exported from a diagram keeps absolute image URLs, and so do copied image URLs. They work only while the source diagram's Notes or versions still reference the image; after that the daily sweep removes it.
105
+
99
106
  ### Upgrading to 0.23.0
100
107
 
101
108
  - New tool `export_structurizr` (export toolset) writes a diagram back out as a Structurizr workspace: `format: "dsl"` or `"json"`, with an optional `path` under your project folders and `overwrite`. It returns `{ format, summary, text }`, or `{ format, path, summary }` when it wrote a file. `export_structurizr` can write `.dsl` files; the other file-writing tools cannot. No other tool changed.
@@ -126,7 +133,7 @@ Every MCP tool is listed by default. If that is too much context for your client
126
133
  ### Upgrading to 0.19.0
127
134
 
128
135
  - Snapshots are now server versions. `snapshot_diagram` saves a named version in the diagram's Version history (visible to teammates in the web app), `list_snapshots` lists the versions, and `restore_snapshot` restores one (`snapshot_id` is a version id or a version number). Parameter names are unchanged. The restore is saved as a new version and the state before it stays in the history (the previous version), so it can be undone.
129
- - Versions are pruned oldest first by plan: 10 per diagram on Free, 50 on Pro, 200 on Team. Pending edits from this MCP are saved before a snapshot or restore.
136
+ - Versions are pruned oldest first by plan: 50 per diagram on Pro, 200 on Team; Free has no version history. Pending edits from this MCP are saved before a snapshot or restore.
130
137
  - `delete_snapshot` is removed (versions are pruned automatically by plan); calling it returns an explanatory error.
131
138
  - Snapshots saved by older versions in `~/.modudraft/snapshots.v2.json` are still listed (with `source: "local"`) and can be restored, but are read-only: no new local snapshots are written.
132
139
  - Requires a Modudraft API with version history.