@zindex-ai/mcp 0.40.8 → 0.40.9

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -145,9 +145,9 @@ Frames (pools, lanes, containers) also auto-size from their children - omit layo
145
145
 
146
146
  Elements have a kind: "node" | "edge" | "frame" | "group" | "text" | "image" | "guide".
147
147
 
148
- Nodes: { id, kind: "node", nodeType, shape, label, layout?, textStyle?, icon? }
148
+ Nodes: { id, kind: "node", nodeType, shape?, label, layout?, textStyle?, icon? }
149
149
  - nodeType: "service" | "database" | "objectStorage" | "queue" | "actor" | "generic" | "process" | "decision" | etc, plus family-specific types
150
- - shape: "rect" | "roundedRect" | "ellipse" | "diamond" | "cylinder" | "bucket" | "pill" | "hexagon" | "parallelogram" | "cloud" | "box3d" | "textBox" | "iconBox"
150
+ - shape is OPTIONAL and defaults per nodeType. The normalizer fills the canonical glyph automatically: er.entity \u2192 rect, service \u2192 roundedRect, database \u2192 cylinder, objectStorage \u2192 bucket, workflow.start/end \u2192 ellipse, workflow.gateway* / workflow.decision \u2192 diamond, workflow.task / workflow.subprocess \u2192 roundedRect, er.attribute \u2192 ellipse, er.relationship \u2192 diamond, network.cloud \u2192 cloud, iconNode \u2192 iconBox, decision \u2192 diamond. Pass shape explicitly ONLY when you want a non-canonical glyph. Full enum: "rect" | "roundedRect" | "ellipse" | "diamond" | "cylinder" | "bucket" | "pill" | "hexagon" | "parallelogram" | "cloud" | "box3d" | "textBox" | "iconBox"
151
151
  - layout is OPTIONAL when layoutStrategy is set at the document root
152
152
 
153
153
  **Storage convention.** Two distinct shapes for two distinct storage classes - matches the universal convention used by AWS / Azure / GCP reference architectures, draw.io, and Lucidchart. Get this right and your diagram reads correctly to anyone who has ever seen a cloud architecture diagram:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zindex-ai/mcp",
3
- "version": "0.40.8",
3
+ "version": "0.40.9",
4
4
  "description": "MCP server for Zindex - agent-native diagram state infrastructure. A thin HTTP client exposing tools (create, patch, validate, normalize, diff, render, list-revisions, get-scene, delete-scene, undelete-scene, list-recently-deleted, submit-to-support, publish-scene, make-scene-private) backed by the Zindex API. ZINDEX_API_KEY is optional: with a key the server runs in authenticated mode (full MCP tool set, persisted scenes with revisions and diff); without a key it runs in anonymous mode and exposes the public-endpoint tools (dsp_validate_scene, dsp_normalize_scene, dsp_render_scene with inline scenes). Free key at https://zindex.ai/signup.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",