@koda-sl/baker-cli 0.393.0-dev.799d3f88c → 0.395.0-dev.f8ecbaa42

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.
@@ -338,6 +338,12 @@ type ExecCtx = {
338
338
  assets: AssetStore;
339
339
  log: LogFn;
340
340
  signal?: AbortSignal;
341
+ /**
342
+ * Record what the backend charged the company for this execution (its `credits_charged`,
343
+ * the same figure the credits ledger debits). The run reports this in place of the
344
+ * registry's flat estimate, so a run's credits are what was actually billed.
345
+ */
346
+ reportCharge?: (credits: number) => void;
341
347
  };
342
348
 
343
349
  type CostEstimate = {
@@ -8,7 +8,7 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-JLKUHDBB.js";
11
+ } from "../chunk-Q3LMLQAI.js";
12
12
  import "../chunk-QIQ57EIA.js";
13
13
  import "../chunk-AOVFDDVW.js";
14
14
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.393.0-dev.799d3f88c",
3
+ "version": "0.395.0-dev.f8ecbaa42",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {