@modudraft/mcp 0.15.1 → 0.15.2

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
@@ -94,9 +94,9 @@ Without it, all diagram tools work as usual. The file tools fall back to your cl
94
94
  ### Architecture nodes & edges
95
95
  | Tool | Description |
96
96
  |---|---|
97
- | `add_node` | Add a component (compute, database, queue, gateway, etc.). `tool` takes a catalog key or a common name and is resolved to the catalog key (see [Tool names](#tool-names)) |
98
- | `update_node` | Update label, tool, or archetype (a `tool` name is resolved the same way; the archetype is left alone) |
99
- | `delete_node` | Remove a node and its connections |
97
+ | `add_node` | Add a component (compute, database, queue, gateway, etc.). `tool` takes a catalog key or a common name and is resolved to the catalog key (see [Tool names](#tool-names)). Optional `runs_on` links the node to a Cloud-tab resource (its id or name; a bad value is refused with the valid names) |
98
+ | `update_node` | Update label, tool, or archetype (a `tool` name is resolved the same way; the archetype is left alone). `runs_on` sets the cloud resource the node runs on; pass an empty string or `null` to clear it |
99
+ | `delete_node` | Remove a node and its connections. Data-flow stages linked to it keep existing; only their `node_id` link is cleared |
100
100
  | `add_edge` | Connect two nodes with optional label and protocol |
101
101
  | `update_edge` | Update edge label or protocol |
102
102
  | `delete_edge` | Remove a connection |
@@ -162,7 +162,7 @@ The old `request_body`, `request_format`, `body`, `body_format` and top-level `r
162
162
  |---|---|
163
163
  | `add_cloud_resource` | Add a cloud resource (cluster, VPC, service, database, queue, etc.) |
164
164
  | `update_cloud_resource` | Rename or change the type of a cloud resource |
165
- | `delete_cloud_resource` | Remove a cloud resource |
165
+ | `delete_cloud_resource` | Remove a cloud resource. Nodes that ran on it (or a child) keep existing; only their `runs_on` link is cleared |
166
166
 
167
167
  ### Network diagram
168
168
  | Tool | Description |
@@ -174,8 +174,8 @@ The old `request_body`, `request_format`, `body`, `body_format` and top-level `r
174
174
  ### Data flow diagram
175
175
  | Tool | Description |
176
176
  |---|---|
177
- | `add_data_flow_stage` | Add a pipeline stage (source, transform, sink, etc.) |
178
- | `update_data_flow_stage` | Rename or change the type of a data flow stage |
177
+ | `add_data_flow_stage` | Add a pipeline stage (source, transform, sink, etc.). Optional `node_id` links it to an Architecture-tab node (its id or label; a bad value is refused with the valid names) |
178
+ | `update_data_flow_stage` | Rename or change the type of a data flow stage, or set its `node_id` link (empty string or `null` clears it) |
179
179
  | `delete_data_flow_stage` | Remove a data flow stage |
180
180
  | `reorder_data_flow_stages` | Set the order of all stages in a data flow diagram |
181
181