@bicharts/shape-core 0.5.54 → 0.5.55

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,15 @@ 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;
123
132
  favorLimitTo?: string;
124
133
  favorLimitCount?: number;
125
134
  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.55",
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",