@bicharts/shape-core 0.5.54 → 0.5.56

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.
@@ -120,6 +120,25 @@ export type LLMClientHints = {
120
120
  * that admits the type.
121
121
  */
122
122
  favorProjection?: string;
123
+ /**
124
+ * Does this host let the reader CHOOSE a grain, and send it back as `favorProjection`?
125
+ *
126
+ * Only a client that answers true is offered a projected type more than once. One that
127
+ * renders both rows and remembers only the chart name would let the reader pick a grain
128
+ * the server then re-decides - an offer nothing can honour. Absent or false is the safe
129
+ * answer, and the only answer before this existed.
130
+ */
131
+ supportsProjectionChoice?: boolean;
132
+ /**
133
+ * Does this client read the `dataset` global, rather than the legacy headerless
134
+ * CSV_STRING? Declare it and the server stops inferring the data channel from your
135
+ * version number - which it otherwise does by comparing against 2.0.0.0, quietly making
136
+ * that number load-bearing for any host numbered on its own line.
137
+ *
138
+ * Absent means "infer from my version", which is what a frozen 1.0 client can never do
139
+ * anything but.
140
+ */
141
+ supportsDatasetGlobal?: boolean;
123
142
  favorLimitTo?: string;
124
143
  favorLimitCount?: number;
125
144
  groupToOthersLabel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/shape-core",
3
- "version": "0.5.54",
3
+ "version": "0.5.56",
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",