@blackwell-systems/gcf 2.2.1 → 2.2.2

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
@@ -8,7 +8,7 @@
8
8
 
9
9
  TypeScript implementation of [GCF](https://gcformat.com/) — the most token-efficient wire format for LLMs. A drop-in alternative to JSON and TOON for any structured data.
10
10
 
11
- **100% comprehension on every frontier model tested. 29% fewer tokens than TOON, 56% fewer than JSON across 16 datasets. 91.2% on structurally complex code graphs (vs TOON 68.2%, JSON 53.4%). 2,400+ LLM evaluations. Zero training.**
11
+ **100% comprehension on every frontier model tested. 29% fewer tokens than TOON, 56% fewer than JSON across 16 datasets. 91.2% on structurally complex code graphs (vs TOON 68.8%, JSON 54.1%). 2,400+ LLM evaluations. Zero training.**
12
12
 
13
13
  Docs: [gcformat.com](https://gcformat.com/) · [Playground](https://gcformat.com/playground.html) · [GCF vs TOON](https://gcformat.com/guide/vs-toon.html)
14
14
 
@@ -196,7 +196,7 @@ Works on objects, arrays, and primitives. Arrays of uniform objects get tabular
196
196
 
197
197
  | | GCF | TOON | JSON |
198
198
  |---|---|---|---|
199
- | **Comprehension** (23 runs, 10 models) | **91.2%** | 68.2% | 53.4% |
199
+ | **Comprehension** (23 runs, 10 models) | **91.2%** | 68.8% | 54.1% |
200
200
  | **Generation** (28 runs, 9 models) | **5/5** | 1.0/5 | 5.0/5 |
201
201
  | **Input tokens** (500 symbols) | **11,090** | 16,378 | 53,341 |
202
202
  | **Output tokens** (100 symbols) | **5,976** | 8,937 | 16,121 |
@@ -222,7 +222,7 @@ GCF wins 15/16 datasets on the expanded [token efficiency benchmark](https://git
222
222
 
223
223
  **Zero runtime dependencies. Permanently.** All six implementations depend only on their language's standard library. No transitive dependencies. No supply chain risk. This is a permanent commitment: GCF will never take on external runtime dependencies. MIT licensed. All implementations support both generic profile (`encodeGeneric`) and graph profile (`encode`). CLI included in all 6 languages.
224
224
 
225
- **Specification:** [SPEC v3.2 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 173 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. All implementations at v2.2.0+ (Go v1.3.0). Cross-language 6x6 matrix verified.
225
+ **Specification:** [SPEC v3.2 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 174 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. All implementations at v2.2.1+ (Go v1.3.1). Cross-language 6x6 matrix verified.
226
226
 
227
227
  ## License
228
228
 
package/dist/generic.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  export interface GenericOptions {
3
3
  /** When true, disables promotion of fixed-shape nested objects to path
4
4
  * columns (e.g. "customer>name"). Nested objects use attachment syntax
5
- * instead. Set when targeting open-weight models that show lower
6
- * comprehension on flattened encoding. */
5
+ * instead. Open-weight models currently comprehend the expanded form
6
+ * better; this gap is expected to close. */
7
7
  noFlatten?: boolean;
8
8
  }
9
9
  export declare function encodeGeneric(data: unknown, opts?: GenericOptions): string;
@@ -1 +1 @@
1
- {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../src/generic.ts"],"names":[],"mappings":"AASA,yDAAyD;AACzD,MAAM,WAAW,cAAc;IAC7B;;;+CAG2C;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,MAAM,CAI1E"}
1
+ {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../src/generic.ts"],"names":[],"mappings":"AASA,yDAAyD;AACzD,MAAM,WAAW,cAAc;IAC7B;;;iDAG6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,MAAM,CAI1E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackwell-systems/gcf",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "The AI-native wire format for structured data. 50-92% fewer tokens than JSON. 100% comprehension on every frontier model. Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/generic.ts CHANGED
@@ -11,8 +11,8 @@ function indent(depth: number): string {
11
11
  export interface GenericOptions {
12
12
  /** When true, disables promotion of fixed-shape nested objects to path
13
13
  * columns (e.g. "customer>name"). Nested objects use attachment syntax
14
- * instead. Set when targeting open-weight models that show lower
15
- * comprehension on flattened encoding. */
14
+ * instead. Open-weight models currently comprehend the expanded form
15
+ * better; this gap is expected to close. */
16
16
  noFlatten?: boolean;
17
17
  }
18
18