@bicharts/shape-core 0.5.116 → 0.5.117

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.
@@ -151,6 +151,20 @@ export type LLMClientHints = {
151
151
  * anything but.
152
152
  */
153
153
  supportsDatasetGlobal?: boolean;
154
+ /**
155
+ * Does this host put the Mermaid diagram library on the `d3` object before a chart runs?
156
+ *
157
+ * Some chart types generate code that calls a library the server cannot ship inside the
158
+ * code itself. The type declares what it needs and the host declares what it has, which
159
+ * is a capability question and never a version one: the hosts number themselves on
160
+ * unrelated schemes, so no threshold separates "has the library" from "does not".
161
+ *
162
+ * Declare it from whether the loader actually EXISTS in this build, never as a constant
163
+ * set beside one. Absent or false means the type is not offered and an explicit pick is
164
+ * not honoured - the safe answer, and automatically the answer for every build made
165
+ * before the loader shipped.
166
+ */
167
+ supportsMermaid?: boolean;
154
168
  favorLimitTo?: string;
155
169
  favorLimitCount?: number;
156
170
  groupToOthersLabel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/shape-core",
3
- "version": "0.5.116",
3
+ "version": "0.5.117",
4
4
  "description": "Host-agnostic data-shape profiler: ingest a dataset's rows through IValueCollection.addRow and read back the measured shape as an LLMColumnWithValue[] payload — types, cardinality, temporal/ordinal detection, geographic region and point resolution, cross-column signals. MEASUREMENT only: the policy that decides what a measured shape means for chart selection lives server-side.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",