@zindex-ai/mcp 0.40.11 → 0.40.12
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/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,6 +116,8 @@ NEVER hand-edit the rendered SVG or PNG file after render. The rendered output i
|
|
|
116
116
|
|
|
117
117
|
dsp_validate_scene and dsp_normalize_scene work in both modes for quick checks. They do not persist anything.
|
|
118
118
|
|
|
119
|
+
**Both tools take an inline scene document, NOT a sceneId.** If you only have a sceneId for a persisted scene, fetch the document first with dsp_get_scene and pass the returned envelope. Calling these tools with a sceneId string returns a structured error explaining the same \u2014 but the round-trip is wasted; reach for dsp_get_scene first. This is the one common case where the validate/normalize tools differ from the rest of the tool set (most other tools, like dsp_get_scene, dsp_delete_scene, dsp_render_scene, take a sceneId).
|
|
120
|
+
|
|
119
121
|
## Auto-layout: omit coordinates from nodes
|
|
120
122
|
|
|
121
123
|
DEFAULT TO AUTO-LAYOUT for nodes and edges. Set layoutStrategy at the scene-document root (alongside schemaVersion, scene, and elements - NOT nested inside scene.scene), and OMIT layout from nodes. Same convention for diagramFamily and palette - all three are document-root fields. The normalizer accepts nesting under scene.scene as a fallback and emits an OUTER_FIELD_NESTED info diagnostic, but the schema's canonical placement is the document root. The layout engine positions nodes, routes edges, and places labels automatically.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zindex-ai/mcp",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.12",
|
|
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",
|