graphein-mcp 0.5.0 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphein-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "description": "Model Context Protocol server for Graphein — wraps generate → validate → repair → render → critique into one tool call, and serves Graphein's schema + agent guide as resources so a model that never saw the API can still build correct charts.",
6
6
  "license": "MIT",
@@ -61,9 +61,9 @@
61
61
  "prepack": "tsup"
62
62
  },
63
63
  "dependencies": {
64
- "@graphein/node": "^0.5.0",
64
+ "@graphein/node": "^0.6.0",
65
65
  "@modelcontextprotocol/sdk": "^1.20.0",
66
- "graphein": "^0.5.0",
66
+ "graphein": "^0.6.0",
67
67
  "zod": "^3.23.0"
68
68
  }
69
69
  }
@@ -1220,6 +1220,12 @@ warnings). Current rules:
1220
1220
  Lint rules evaluate the **post‑`transform`** data, so cardinality reflects what
1221
1221
  actually renders.
1222
1222
 
1223
+ `validateSpec` also emits a structural **`log-scale-nonpositive-domain`** warning
1224
+ (severity `'warning'`, carrying a `fix`) when an explicit log‑axis `scale.domain`
1225
+ includes a value ≤ 0 — a domain that has no logarithm. The `fix` removes the bad
1226
+ `domain` so the runtime can derive a strictly positive one from the data;
1227
+ [`repairSpec`](#self-repairing-specs) applies it automatically.
1228
+
1223
1229
  ### Self-repairing specs
1224
1230
 
1225
1231
  ```ts