@idlekit/cli 0.5.1 → 0.6.0

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
@@ -55,6 +55,31 @@ bun run --cwd packages/cli dev -- experience ../../examples/tutorials/14-orbital
55
55
  --format json
56
56
  ```
57
57
 
58
+ ## Large monetary values
59
+
60
+ `compare`, `tune` and `balance` support `--engine breakInfinity`, alongside the
61
+ existing simulation commands. Number remains the default; `scenario.engine`
62
+ does not choose the runtime. Use the explicit flag when scenario amounts exceed
63
+ Number's range, and use engine operations in custom models and objectives.
64
+
65
+ Construct plugin amounts with the supplied `ctx.E`. When adapting a game that
66
+ uses its own Decimal library, convert amounts through decimal text with
67
+ `ctx.E.from(text)` at the boundary, including costs, rewards and returned state.
68
+ Separate game SDK and CLI bundles can contain different Decimal constructors.
69
+
70
+ ```sh
71
+ idk compare ./a.json ./b.json --engine breakInfinity --metric endNetWorth
72
+ idk tune ./a.json --tune ./tune.json --engine breakInfinity
73
+ idk balance ./workflow.json --engine breakInfinity --format md
74
+ ```
75
+
76
+ Compare preserves monetary text, while tuning objectives such as
77
+ `endNetWorthLog10` produce finite logarithmic scores. Replay artifacts retain the
78
+ selected engine. Balance supports decimal-string currency targets and results;
79
+ CSV parameter edits, time/count metrics and sensitivity knobs remain finite
80
+ Numbers. See the [balance guide](https://github.com/imjlk/idlekit/blob/main/docs/balance-sheets.md)
81
+ for target syntax and engine-specific freshness checks. breakEternity remains experimental.
82
+
58
83
  ## Runtime
59
84
 
60
85
  `@idlekit/cli` is maintained as a Bun-first CLI package.