graphein-mcp 0.7.2 → 0.8.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.
|
|
3
|
+
"version": "0.8.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.
|
|
64
|
+
"@graphein/node": "^0.8.0",
|
|
65
65
|
"@modelcontextprotocol/sdk": "^1.20.0",
|
|
66
|
-
"graphein": "^0.
|
|
66
|
+
"graphein": "^0.8.0",
|
|
67
67
|
"zod": "^3.23.0"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/resources/agent-guide.md
CHANGED
|
@@ -540,9 +540,9 @@ const d = renderDashboard('#app', dash);
|
|
|
540
540
|
a column that view's data lacks is **ignored for that view** (it is *not* blanked). So
|
|
541
541
|
if you want a pre‑aggregated chart to react to a slicer, include that field in its
|
|
542
542
|
rows (e.g. aggregate by `region × product`, not `region` alone).
|
|
543
|
-
- **Chart clicks cross‑
|
|
544
|
-
|
|
545
|
-
|
|
543
|
+
- **Chart clicks cross‑filter** — clicking a mark subsets rows in every other view
|
|
544
|
+
(like a slicer), while the clicked chart dims its own unpicked marks instead of
|
|
545
|
+
hiding them. The source self‑highlights; peers are filtered.
|
|
546
546
|
|
|
547
547
|
Opt out with `interactions:'none'`, or replace auto‑wiring with explicit links:
|
|
548
548
|
|
|
@@ -2319,7 +2319,7 @@
|
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
2321
|
],
|
|
2322
|
-
"description": "Cross-interaction policy:\n- 'auto' (default): slicers
|
|
2322
|
+
"description": "Cross-interaction policy:\n- 'auto' (default): every source cross-filters the page — slicers and chart clicks both subset rows in the other views; the clicked chart dims its own unpicked marks instead of hiding them.\n- 'none': views are laid out but not linked.\n- an array of InteractionLink: explicit wiring (replaces auto)."
|
|
2323
2323
|
}
|
|
2324
2324
|
},
|
|
2325
2325
|
"required": [
|
|
@@ -1048,8 +1048,8 @@ per‑type defaults).
|
|
|
1048
1048
|
field is subset by the slicer (a KPI, a table, a chart that inherits the dashboard
|
|
1049
1049
|
data). A filter on a column a view's data doesn't contain is **ignored for that view**,
|
|
1050
1050
|
not blanked — so a pre‑aggregated view only reacts to the dimensions it carries.
|
|
1051
|
-
- **Chart clicks cross‑
|
|
1052
|
-
|
|
1051
|
+
- **Chart clicks cross‑filter** — clicking a mark subsets rows in every other view
|
|
1052
|
+
(like a slicer); the clicked chart dims its own unpicked marks instead of hiding them.
|
|
1053
1053
|
|
|
1054
1054
|
**Explicit links** replace auto‑wiring with an array of `InteractionLink`:
|
|
1055
1055
|
|