@bicharts/shape-core 0.5.113 → 0.5.115

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.
@@ -37,10 +37,17 @@ export type FreemiumColumnCapStatus = Pick<GetLicenseStatusResult, "freemiumMaxS
37
37
  /**
38
38
  * Is this binding over the freemium column cap, and by how many?
39
39
  *
40
- * `shapeColumnCount` is counted in SHAPE space - the same space the server counts - which includes
41
- * the `__rowIdx__` column a host injects for selection threading. That is exactly why every
42
- * message states the DIFFERENCE and never the cap: the cap is one more than the fields a reader
43
- * can see, and quoting it invites them to trim to precisely that and be refused again.
40
+ * `shapeColumnCount` is counted in SHAPE space - THE SAME ARRAY the server counts - which is the
41
+ * property that matters: both sides read the same length, so there is no off-by-one at the
42
+ * boundary whatever that array contains.
43
+ *
44
+ * What it contains, measured rather than inherited: the reader's VISIBLE fields. An older comment
45
+ * on the server said the shape also carries the `__rowIdx__` column a host injects for selection
46
+ * threading, making the visible limit one lower; `__rowIdx__` is a Shape entry in ZERO of 2,962
47
+ * logged production payloads, so a cap of 12 is 12 visible fields.
48
+ *
49
+ * Every message still states the DIFFERENCE and never the cap - correct in either space, and it
50
+ * stops a reader trimming to precisely the cap and being refused a second time.
44
51
  *
45
52
  * Returns 0 when within the cap, and null when the server did not send one.
46
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/shape-core",
3
- "version": "0.5.113",
3
+ "version": "0.5.115",
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",