@excaliwow/mcp 0.6.0 → 0.7.0
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/dist/bin.js +8 -4
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -266,7 +266,8 @@ var COMPACT_GRAMMAR = `DiagramSpec (auto-laid-out node/edge DSL):
|
|
|
266
266
|
"width": 140, "height": 60, // optional; treated as a minimum
|
|
267
267
|
"strokeColor": "#1e1e1e", // optional
|
|
268
268
|
"backgroundColor": "transparent", // optional
|
|
269
|
-
"fillStyle": "solid"
|
|
269
|
+
"fillStyle": "solid", // hachure | cross-hatch | solid | zigzag
|
|
270
|
+
"group": "hardware" } // optional layout hint (not a guarantee); clusters same-group nodes; members with edges among them still span ranks
|
|
270
271
|
],
|
|
271
272
|
"edges": [ // optional
|
|
272
273
|
{ "from": "id", "to": "id", // both must name existing node ids
|
|
@@ -377,7 +378,8 @@ and the **EditFragment** for \`edit_diagram\`.
|
|
|
377
378
|
"height": 60,
|
|
378
379
|
"strokeColor": "#1e1e1e",
|
|
379
380
|
"backgroundColor": "transparent",
|
|
380
|
-
"fillStyle": "solid"
|
|
381
|
+
"fillStyle": "solid",
|
|
382
|
+
"group": "hardware"
|
|
381
383
|
}
|
|
382
384
|
\`\`\`
|
|
383
385
|
|
|
@@ -390,6 +392,7 @@ and the **EditFragment** for \`edit_diagram\`.
|
|
|
390
392
|
| \`strokeColor\` | string? | Any CSS color. |
|
|
391
393
|
| \`backgroundColor\` | string? | Any CSS color, or \`transparent\`. |
|
|
392
394
|
| \`fillStyle\` | enum? | \`hachure\` \\| \`cross-hatch\` \\| \`solid\` \\| \`zigzag\`. |
|
|
395
|
+
| \`group\` | string? | Layout **hint** (not a guarantee). Nodes sharing a \`group\` are clustered together by auto-layout \u2014 kept in the same region, and a member that an edge would otherwise float onto a separate rank is pulled back toward the group. Sibling nodes with no edges *among themselves* (e.g. a set of sensors hanging off one controller) band into a single row; members that have edges between them still span ranks. Affects auto-layout (generate / regenerate) only \u2014 not \`edit_diagram\`; a one-member group is a no-op. |
|
|
393
396
|
|
|
394
397
|
Default sizes: rectangle 140x60, ellipse 140x80, diamond 160x90. A \`text\` node IS its text.
|
|
395
398
|
|
|
@@ -482,7 +485,8 @@ var NodeSpecZ = z.object({
|
|
|
482
485
|
height: z.number().optional(),
|
|
483
486
|
strokeColor: z.string().optional(),
|
|
484
487
|
backgroundColor: z.string().optional(),
|
|
485
|
-
fillStyle: FillStyleZ.optional()
|
|
488
|
+
fillStyle: FillStyleZ.optional(),
|
|
489
|
+
group: z.string().optional()
|
|
486
490
|
});
|
|
487
491
|
var EdgeObjectZ = z.object({
|
|
488
492
|
from: z.string(),
|
|
@@ -520,7 +524,7 @@ var EditFragmentZ = z.object({
|
|
|
520
524
|
});
|
|
521
525
|
|
|
522
526
|
// src/version.ts
|
|
523
|
-
var VERSION = "0.
|
|
527
|
+
var VERSION = "0.7.0";
|
|
524
528
|
|
|
525
529
|
// src/server.ts
|
|
526
530
|
function textResult(text) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@excaliwow/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Excaliwow Model Context Protocol (MCP) server — lets AI agents create, read, render, and edit Excaliwow diagrams over the public REST API, via stdio.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|