@bicharts/chart-mcp 0.6.67 → 0.6.69

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.67",
3
+ "version": "0.6.69",
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",
@@ -43,8 +47,8 @@
43
47
  },
44
48
  "// dependencies": "NONE, deliberately. dist/ bundles every module the server uses, so a runtime dependency installs nothing it needs - it only makes npx fetch that package (and its tree) before the first start. Everything the bundle carries is a devDependency; scripts/verify-package.mjs fails the release if a dependency appears or a shipped file imports anything but Node's built-ins.",
45
49
  "devDependencies": {
46
- "@bicharts/chart-host": "^0.6.66",
47
- "@bicharts/shape-core": "^0.6.66",
50
+ "@bicharts/chart-host": "^0.6.69",
51
+ "@bicharts/shape-core": "^0.6.69",
48
52
  "@modelcontextprotocol/sdk": "^1.0.0",
49
53
  "@types/node": "^20.0.0",
50
54
  "@types/papaparse": "^5.3.14",
@@ -15,6 +15,12 @@ run time, no per-render cost, and no network call. `@bicharts/chart-host` runs i
15
15
  generates it. Generation happens **once, at build time, by you** — never in your users'
16
16
  browsers.
17
17
 
18
+ **Signing in needs no setup.** The first call that needs an account (`list_eligible_charts`,
19
+ `generate_chart`) opens the person's browser on a sign-in page, waits for them, and then finishes
20
+ the call. Tell them a browser tab is about to open. If the call comes back with "Sign in to
21
+ continue" and a link instead, give them that link, and call again once they've signed in. A key in
22
+ the server's environment is only for machines with no browser, such as CI.
23
+
18
24
  ## 0. Decide what to pull (only if you are starting from a data MODEL)
19
25
 
20
26
  Skip this if you already have a table. If you are holding a semantic model, a warehouse schema or
@@ -797,9 +803,13 @@ off its `BicChartPanel`, so pass no size unless you mean another one. A `WARNING
797
803
  label cut off at that size: deal with it before you call the chart done. The reply says whether more room fixes it.
798
804
  Never edit the generated chart code by hand: if something's wrong with a generated chart, regenerate it
799
805
  (`generate_chart` with a prompt describing the fix) or report it.
806
+ Then run `check_app` once on the whole app, before every deploy: it reads how the page uses the library (selection
807
+ through `useBicFilter` + `selects`, a chart's own controls through `useBicControls`, notes through `annotations`, every
808
+ chart in a `BicChartPanel`), draws every chart together, and compares the stack with npm. Each finding names the file,
809
+ the line and the call to use instead; fix the ERRORs in the app's own files before deploying.
800
810
  You don't need to deploy to check a chart. The template's `validate:visual` checks `VegaVisual` factories; a
801
- RegiaBI chart's check is `check_chart` - don't list it there. And `check_chart` checks the chart, not the app: the
802
- template's app-validation in the portal embed still applies. Then `npx tsc -b` and the tests. To test the page's behaviour,
811
+ RegiaBI chart's check is `check_chart` - don't list it there. `check_chart` and `check_app` check the charts and how
812
+ 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,
803
813
  `@bicharts/chart-host/testing` has a reader's gestures - `clickMark`, `clickEmpty`, `selectedRows` - for the checks
804
814
  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:
805
815
  - Signed in? `npx rayfin login status` (a subcommand, not a `--status` flag); `npx rayfin login` if not.