@lmctl-ai/lmctl 0.2.109 → 0.2.110

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.
@@ -556,6 +556,42 @@ CREATE VIEW IF NOT EXISTS turn_usage AS SELECT
556
556
  +COALESCE(tok_output,0)*COALESCE(rate_output_1m,0))/1e6 END AS cost_usd
557
557
  FROM team_chat_log WHERE attempt_key IS NOT NULL;
558
558
 
559
+ CREATE TABLE IF NOT EXISTS price_snapshot (
560
+ sha256 TEXT PRIMARY KEY,
561
+ generated_at TEXT,
562
+ source TEXT NOT NULL,
563
+ fetched_at TEXT NOT NULL,
564
+ loaded_at TEXT NOT NULL,
565
+ record_count INTEGER NOT NULL,
566
+ standards_json TEXT NOT NULL CHECK(json_valid(standards_json))
567
+ );
568
+ CREATE UNIQUE INDEX IF NOT EXISTS idx_price_snapshot_singleton ON price_snapshot((1));
569
+
570
+ CREATE TABLE IF NOT EXISTS price_record (
571
+ record_id TEXT PRIMARY KEY,
572
+ source TEXT,
573
+ provider TEXT,
574
+ source_model_id TEXT,
575
+ vendor_model_id TEXT,
576
+ canonical_slug TEXT,
577
+ currency TEXT,
578
+ unit TEXT,
579
+ input_1m REAL,
580
+ output_1m REAL,
581
+ cache_read_1m REAL,
582
+ cache_write_1m REAL,
583
+ source_cost_fields TEXT CHECK(json_valid(source_cost_fields)),
584
+ record_json TEXT NOT NULL CHECK(json_valid(record_json)),
585
+ ordinal INTEGER NOT NULL
586
+ );
587
+
588
+ CREATE TABLE IF NOT EXISTS price_alias (
589
+ alias TEXT PRIMARY KEY,
590
+ standard_slug TEXT,
591
+ evidence TEXT,
592
+ catalog_record_id TEXT
593
+ );
594
+
559
595
  CREATE INDEX IF NOT EXISTS idx_team_chat_log_root_time
560
596
  ON team_chat_log(root_teamfile, created_at);
561
597
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmctl-ai/lmctl",
3
- "version": "0.2.109",
3
+ "version": "0.2.110",
4
4
  "description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
5
5
  "type": "module",
6
6
  "homepage": "https://lmctl.com",