@bicharts/chart-mcp 0.6.66 → 0.6.68

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": "@bicharts/chart-mcp",
3
- "version": "0.6.66",
3
+ "version": "0.6.68",
4
4
  "description": "MCP (Model Context Protocol) stdio server for BIC AI charts: profile a dataset locally, then generate chart code that has passed the BIC backend's render gates. Works with any MCP-capable client (Claude Code, Claude Desktop, Cursor, Copilot Studio). An account pays to author charts; the code it writes is yours and runs with no licence.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -13,6 +13,10 @@
13
13
  "bic"
14
14
  ],
15
15
  "homepage": "https://bizintelligencechampions.com/regiabi/developers?loc=npmmcp",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/codexguy/regiabi-plugins.git"
19
+ },
16
20
  "mcpName": "com.regiabi/chart-mcp",
17
21
  "author": "CodeX Enterprises LLC",
18
22
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -170,7 +170,8 @@ Asking for these in `prompt` prose instead is the most expensive mistake availab
170
170
  routinely costs two or three extra generations, and each one is minutes of wall-clock.
171
171
 
172
172
  Other parameters worth knowing: `chart_type` (a preference, honored unless the data shape
173
- disqualifies it), `renderer: "D3"` for a web app, `width`/`height`, and
173
+ disqualifies it), `renderer` (a JavaScript or TypeScript project gets D3 without asking, because D3 is what
174
+ `@bicharts/chart-host` draws), `width`/`height`, and
174
175
  `reasoning_mode: "1P"` when you want the cheapest, fastest pass.
175
176
 
176
177
  **Generation takes minutes.** Fire the calls for independent charts **in parallel** rather
@@ -796,9 +797,13 @@ off its `BicChartPanel`, so pass no size unless you mean another one. A `WARNING
796
797
  label cut off at that size: deal with it before you call the chart done. The reply says whether more room fixes it.
797
798
  Never edit the generated chart code by hand: if something's wrong with a generated chart, regenerate it
798
799
  (`generate_chart` with a prompt describing the fix) or report it.
800
+ Then run `check_app` once on the whole app, before every deploy: it reads how the page uses the library (selection
801
+ through `useBicFilter` + `selects`, a chart's own controls through `useBicControls`, notes through `annotations`, every
802
+ chart in a `BicChartPanel`), draws every chart together, and compares the stack with npm. Each finding names the file,
803
+ the line and the call to use instead; fix the ERRORs in the app's own files before deploying.
799
804
  You don't need to deploy to check a chart. The template's `validate:visual` checks `VegaVisual` factories; a
800
- RegiaBI chart's check is `check_chart` - don't list it there. And `check_chart` checks the chart, not the app: the
801
- template's app-validation in the portal embed still applies. Then `npx tsc -b` and the tests. To test the page's behaviour,
805
+ RegiaBI chart's check is `check_chart` - don't list it there. `check_chart` and `check_app` check the charts and how
806
+ the app uses them; the template's app-validation in the portal embed still applies. Then `npx tsc -b` and the tests. To test the page's behaviour,
802
807
  `@bicharts/chart-host/testing` has a reader's gestures - `clickMark`, `clickEmpty`, `selectedRows` - for the checks
803
808
  worth keeping: a second click on a mark clears its filter, and a page Clear clears the chart's marks. Deploying (`npx rayfin up`), on Rayfin 1.36.1:
804
809
  - Signed in? `npx rayfin login status` (a subcommand, not a `--status` flag); `npx rayfin login` if not.