@koda-sl/baker-cli 0.120.0-dev.3b02f951b → 0.120.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.
@@ -47,13 +47,6 @@ declare class BackendClient$1 {
47
47
  putUrl: string;
48
48
  publicUrl: string;
49
49
  }>;
50
- /** Remote cache lookup. A miss (404) — or an old backend without the route — returns null. */
51
- getCacheEntry<T>(cacheKey: string, signal?: AbortSignal): Promise<T | null>;
52
- putCacheEntry(entry: {
53
- cacheKey: string;
54
- }, signal?: AbortSignal): Promise<void>;
55
- /** Durable run-history record — POST /api/canvas/runs (idempotent server-side on runId). */
56
- recordRun(payload: unknown, signal?: AbortSignal): Promise<void>;
57
50
  getArtifact(kind: string, name: string, version?: string, signal?: AbortSignal): Promise<ArtifactResponse>;
58
51
  }
59
52
 
@@ -346,14 +339,6 @@ type RunResult = {
346
339
  duration_ms: number;
347
340
  };
348
341
  outputs_dir: string;
349
- node_runs: NodeRunRecord[];
350
- };
351
- type NodeRunRecord = {
352
- node_id: string;
353
- node_type: string;
354
- cached: boolean;
355
- duration_ms: number;
356
- credits: number;
357
342
  };
358
343
  type RunOptions = {
359
344
  signal?: AbortSignal;
@@ -369,13 +354,6 @@ type EngineOptions = {
369
354
  cache: CacheStore;
370
355
  outputsDir: string;
371
356
  log?: LogFn;
372
- /**
373
- * Stamp durable canvas-assets URLs onto fresh node outputs before they are
374
- * cached — the precondition for remote cache portability and run-history
375
- * records. Best-effort: a failed upload logs a warning and keeps the entry
376
- * local-only, never fails the node.
377
- */
378
- persistAssets?: boolean;
379
357
  };
380
358
  declare class Engine$1 {
381
359
  private readonly registry;
@@ -384,7 +362,6 @@ declare class Engine$1 {
384
362
  private readonly cache;
385
363
  private readonly outputsDir;
386
364
  private readonly log;
387
- private readonly persistAssets;
388
365
  constructor(opts: EngineOptions);
389
366
  validate(canvas: unknown): {
390
367
  ok: true;
@@ -490,13 +467,6 @@ declare function createEngineFromEnv(opts?: {
490
467
  cacheDir?: string;
491
468
  outputsDir?: string;
492
469
  log?: (line: string) => void;
493
- /**
494
- * Layer the company-scoped remote cache over the local one (and stamp
495
- * durable asset URLs onto fresh outputs) so a fresh sandbox re-runs an
496
- * already-computed canvas at zero credits. Defaults to on; disable with
497
- * `remoteCache: false` or env BAKER_CANVAS_REMOTE_CACHE=off.
498
- */
499
- remoteCache?: boolean;
500
470
  }): Engine$1;
501
471
 
502
472
  export { BackendClient, Engine, LocalAssetStore, LocalCacheStore, ValidationError, createEngineFromEnv, defaultRegistry, generateCatalog, validateCanvasDeep };
@@ -8,7 +8,7 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-AWSEBYP4.js";
11
+ } from "../chunk-IWPAXJC3.js";
12
12
  import "../chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  BackendClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.120.0-dev.3b02f951b",
3
+ "version": "0.120.0",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {