@bicharts/chart-mcp 0.6.11 → 0.6.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/README.md CHANGED
@@ -50,13 +50,16 @@ only render text); `structuredContent` is for code, so nothing has to string-par
50
50
  | `code` | the `render()` source (omitted when `include_code: false`) |
51
51
  | `chartName`, `language`, `version`, `creditCost` | what was produced, and what it cost |
52
52
  | `correlationId` | the handle into the server-side log — quote it in any support request |
53
+ | `outputHash` | the server's identity for this exact code (the same code always carries the same hash) — keep it with the chart |
53
54
  | `requiredD3Plugins` | packages the code calls, e.g. `["d3-sankey"]` — install them and pass the host **one** d3 that carries them, built with `assembleD3(d3, { ...plugins })` from `@bicharts/chart-host` (assigning onto an ES-module `d3` namespace throws), or the chart throws mid-render |
54
55
  | `geo` / `geoPoint` | region/basemap wiring, and how many points actually placed |
56
+ | `geoPointDest` | present only for a route (an origin-destination flow map): the same count for each row's destination, which is geocoded apart from the origin |
55
57
  | `data` **or** `files` | the render payload inline, **or** the paths written — never both |
56
58
  | `hostContract`, `build` | the contract the code targets, and the bundle that served the call |
57
59
  | `recoveredAfterMs` | present only when the response stream was cut and the chart was fetched back by its correlation: milliseconds from the start of the call to delivery. `creditCost` is null then |
58
60
 
59
- `data` carries the appended `__geoIso__` / `__geoLat__` / `__geoLon__` columns, which a caller
61
+ `data` carries the appended `__geoIso__` / `__geoLat__` / `__geoLon__` columns (and a route's
62
+ `__geoLatD__` / `__geoLonD__`), which a caller
60
63
  cannot reconstruct from the source data — so a geo chart needs either it or `files.data`.
61
64
 
62
65
  ## Language & renderer