@lmctl-ai/lmctl 0.2.84 → 0.2.86
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 +4 -0
- package/build-info.json +1 -1
- package/dist/cli/index.js +469 -430
- package/dist/cli/lmscript.js +288 -269
- package/dist/cli/schema.sql +45 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
- **Cost estimates require a cache-read rate.** A session with positive cached reads and no catalog read rate now reports unknown cost and names the missing rate; only cache writes may fall back to the input rate. Estimates use base-tier list prices and exclude long-context surcharges. Claude all-1-hour cache-write sessions retain their 1-hour rate when the native reader omits the zero 5-minute counter. Usage reason summaries exclude known rows, and same-named teams are displayed with distinct path suffixes.
|
|
8
|
+
|
|
9
|
+
- **Stored team-turn usage.** Claude stream-json counters and immutable per-turn rates (including blended 1-hour cache writes) are recorded in additive schema v63 with reader floor 60. lmctl usage groups stored usage/cost by UTC day, provider, model, team, alias, session or directory; --json includes unknown counts. Other providers show unknown usage with reason codes. Direct and seed turns, native extraction and price tables remain planned; historical/older-writer rows are not backfilled. Accounting failure never changes the turn result.
|
|
10
|
+
|
|
7
11
|
- **LMScript suggests the regex split function's canonical name.** Calls and references written as `regex_split`, `regexSplit`, or `splitRegex` now suggest `split_regex` in check diagnostics.
|
|
8
12
|
- **LMScript catches unresolvable literal expand references during checking.** A literal template with no vars map or a literal map missing a referenced name now reports the missing name and advises passing a temporary variable in vars. Dynamic templates/maps keep runtime validation.
|
|
9
13
|
- **LMScript help is complete.** `lmscript --help` now shows the `--check-files`, `--base-dir`, and `--source-name` options, and `help topics` lists both conditional expressions and regular expressions.
|
package/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha": "
|
|
1
|
+
{"sha": "2b6f7d239e1199799f2b1d09cadd045167590023", "dirty": false, "builtAt": "2026-10-05T22:41:43.000Z"}
|