@hyperscale0/hsx 2.0.2 → 2.0.3

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/CHANGELOG.md CHANGED
@@ -9,6 +9,14 @@ independently of the package version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [2.0.3] - 2026-09-10
13
+
14
+ Published in lockstep with UDL 2.0.3.
15
+
16
+ ### Added
17
+
18
+ - The quote clause key `charge_retained_by` lowers to the UDL `chargeRetainedBy` declaration, so an instrument can say which party keeps a cancellation charge. The lowering rides the generic key mapping that 2.0.2 already shipped; this release pins it with a test.
19
+
12
20
  ## [2.0.2] - 2026-09-10
13
21
 
14
22
  ### Added
package/dist/src/cli.d.ts CHANGED
@@ -18,6 +18,6 @@ export interface Io {
18
18
  readonly stdin?: NodeJS.ReadableStream;
19
19
  readonly stdout?: NodeJS.WritableStream;
20
20
  }
21
- export declare const USAGE_TEXT = "hsx 2.0.2, the HSX compiler\n\nUsage:\n hsx check <file.hsx> [--strict]\n hsx build <file.hsx> [--out <file.json>] [--strict]\n hsx cost <file.hsx> [--json] [--out <file.json>] [--strict]\n hsx explain <HSX####>\n hsx format <file.hsx>\n hsx lsp\n hsx --version\n hsx --help\n\nCommands:\n check Compile and report diagnostics. Prints nothing when the program is clean.\n build Compile and write canonical UDL as JSON.\n cost Compile and print the version-pinned cost manifest as a table or JSON.\n explain Print one diagnostic title, fix, and source example.\n format Print the source in the one canonical HSX style.\n lsp Run the language server over stdin and stdout.\n\nOptions:\n --json Print the cost manifest as JSON instead of a table.\n --out <file> Write build or cost JSON to this path instead of stdout.\n --strict Treat warning-severity diagnostics as failures.\n\nExit codes:\n 0 the program compiled (verdict valid, or warning without --strict)\n 1 the program was refused (verdict invalid, or warning with --strict)\n 2 the command line or the input file could not be used";
21
+ export declare const USAGE_TEXT = "hsx 2.0.3, the HSX compiler\n\nUsage:\n hsx check <file.hsx> [--strict]\n hsx build <file.hsx> [--out <file.json>] [--strict]\n hsx cost <file.hsx> [--json] [--out <file.json>] [--strict]\n hsx explain <HSX####>\n hsx format <file.hsx>\n hsx lsp\n hsx --version\n hsx --help\n\nCommands:\n check Compile and report diagnostics. Prints nothing when the program is clean.\n build Compile and write canonical UDL as JSON.\n cost Compile and print the version-pinned cost manifest as a table or JSON.\n explain Print one diagnostic title, fix, and source example.\n format Print the source in the one canonical HSX style.\n lsp Run the language server over stdin and stdout.\n\nOptions:\n --json Print the cost manifest as JSON instead of a table.\n --out <file> Write build or cost JSON to this path instead of stdout.\n --strict Treat warning-severity diagnostics as failures.\n\nExit codes:\n 0 the program compiled (verdict valid, or warning without --strict)\n 1 the program was refused (verdict invalid, or warning with --strict)\n 2 the command line or the input file could not be used";
22
22
  export declare function runCli(argv: readonly string[], io: Io): Promise<number>;
23
23
  //# sourceMappingURL=cli.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /** Package version reported by the command line. */
2
- export declare const HSX_VERSION = "2.0.2";
2
+ export declare const HSX_VERSION = "2.0.3";
3
3
  /** Canonical UDL contract version emitted by this compiler. */
4
4
  export declare const HSX_TARGET_UDL_VERSION = 1;
5
5
  //# sourceMappingURL=version.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /** Package version reported by the command line. */
2
- export const HSX_VERSION = "2.0.2";
2
+ export const HSX_VERSION = "2.0.3";
3
3
  /** Canonical UDL contract version emitted by this compiler. */
4
4
  export const HSX_TARGET_UDL_VERSION = 1;
5
5
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # HSX full documentation
4
4
 
@@ -374,7 +374,7 @@ Exit code `0` means the command accepted the program. Exit code `1` means compil
374
374
  # CLI
375
375
 
376
376
  ```text
377
- hsx 2.0.2, the HSX compiler
377
+ hsx 2.0.3, the HSX compiler
378
378
 
379
379
  Usage:
380
380
  hsx check <file.hsx> [--strict]
package/docs/llms.txt CHANGED
@@ -1,8 +1,8 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # HSX documentation
4
4
 
5
- > Repository guide and generated compiler reference for HSX 2.0.2.
5
+ > Repository guide and generated compiler reference for HSX 2.0.3.
6
6
 
7
7
  ## Guide
8
8
 
@@ -1,9 +1,9 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # CLI
4
4
 
5
5
  ```text
6
- hsx 2.0.2, the HSX compiler
6
+ hsx 2.0.3, the HSX compiler
7
7
 
8
8
  Usage:
9
9
  hsx check <file.hsx> [--strict]
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # Diagnostics
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # Grammar vocabulary
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # advance
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # cancellable_booking
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # captured_payment
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # conditional_disbursement
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # credit_facility
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # held_payment
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # instant_transfer
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # metered
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # pooled_split
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # premium_forward
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # reconciled_payout
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # recurring_collection
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # rotating_pool
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # scheduled
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # security_deposit
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # settlement_batch
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # swap
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # threshold_pool
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # weighted_distribution
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # Types
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by scripts/docs/build.ts for HSX 2.0.2. Do not edit. -->
1
+ <!-- Generated by scripts/docs/build.ts for HSX 2.0.3. Do not edit. -->
2
2
 
3
3
  # UDL output
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperscale0/hsx",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "The strictly typed HSX language: compile total financial programs into canonical UDL.",
5
5
  "keywords": [
6
6
  "hsx",
@@ -85,7 +85,7 @@
85
85
  "typecheck": "tsc -p tsconfig.json"
86
86
  },
87
87
  "dependencies": {
88
- "@hyperscale0/udl": "2.0.2"
88
+ "@hyperscale0/udl": "2.0.3"
89
89
  },
90
90
  "devDependencies": {
91
91
  "bun-types": "1.4.2",
@@ -96,5 +96,5 @@
96
96
  "Amir Ayub",
97
97
  "Sara AlBakaawi"
98
98
  ],
99
- "gitHead": "70ddac0ae5599ca61c7951b027befbeb6eea9f96"
99
+ "gitHead": "d9200bc6856f30811e8aa2888c44fdd045424120"
100
100
  }
package/src/version.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Package version reported by the command line. */
2
- export const HSX_VERSION = "2.0.2";
2
+ export const HSX_VERSION = "2.0.3";
3
3
 
4
4
  /** Canonical UDL contract version emitted by this compiler. */
5
5
  export const HSX_TARGET_UDL_VERSION = 1;