@koda-sl/baker-cli 0.419.0 → 0.420.0-dev.2a54c32e7

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.
Files changed (30) hide show
  1. package/README.md +212 -31
  2. package/dist/{chunk-ZADYWHL5.js → chunk-6Z4ETVEZ.js} +3 -3
  3. package/dist/{chunk-EXWIIEZP.js → chunk-RM2TTRYQ.js} +4 -4
  4. package/dist/{chunk-LRRWIOJG.js → chunk-UKGTWBKW.js} +11 -3
  5. package/dist/chunk-UKGTWBKW.js.map +1 -0
  6. package/dist/{chunk-YZLLC7DL.js → chunk-WJIYNKLI.js} +26 -4
  7. package/dist/chunk-WJIYNKLI.js.map +1 -0
  8. package/dist/{chunk-IS5ERYGR.js → chunk-X35R65UP.js} +4585 -10428
  9. package/dist/chunk-X35R65UP.js.map +1 -0
  10. package/dist/{chunk-FKFJKE75.js → chunk-Y77DA7EO.js} +2 -2
  11. package/dist/cli.js +25829 -10557
  12. package/dist/cli.js.map +1 -1
  13. package/dist/{client-CUHMSNK5.js → client-UUKOCY3Q.js} +4 -4
  14. package/dist/engine/index.d.ts +0 -7
  15. package/dist/engine/index.js +3 -3
  16. package/dist/{env-PJTJTW3N.js → env-Q3KQLCU5.js} +8 -2
  17. package/dist/output-V44OD5O3.js +22 -0
  18. package/dist/{shared-LV6PIKFE.js → shared-3THDUK2O.js} +6 -6
  19. package/package.json +1 -1
  20. package/dist/chunk-IS5ERYGR.js.map +0 -1
  21. package/dist/chunk-LRRWIOJG.js.map +0 -1
  22. package/dist/chunk-YZLLC7DL.js.map +0 -1
  23. package/dist/output-A2ASA36U.js +0 -18
  24. /package/dist/{chunk-ZADYWHL5.js.map → chunk-6Z4ETVEZ.js.map} +0 -0
  25. /package/dist/{chunk-EXWIIEZP.js.map → chunk-RM2TTRYQ.js.map} +0 -0
  26. /package/dist/{chunk-FKFJKE75.js.map → chunk-Y77DA7EO.js.map} +0 -0
  27. /package/dist/{client-CUHMSNK5.js.map → client-UUKOCY3Q.js.map} +0 -0
  28. /package/dist/{env-PJTJTW3N.js.map → env-Q3KQLCU5.js.map} +0 -0
  29. /package/dist/{output-A2ASA36U.js.map → output-V44OD5O3.js.map} +0 -0
  30. /package/dist/{shared-LV6PIKFE.js.map → shared-3THDUK2O.js.map} +0 -0
@@ -4,9 +4,9 @@ import {
4
4
  apiGetWithHeaders,
5
5
  apiPost,
6
6
  validateConvexId
7
- } from "./chunk-ZADYWHL5.js";
8
- import "./chunk-FKFJKE75.js";
9
- import "./chunk-YZLLC7DL.js";
7
+ } from "./chunk-6Z4ETVEZ.js";
8
+ import "./chunk-Y77DA7EO.js";
9
+ import "./chunk-WJIYNKLI.js";
10
10
  export {
11
11
  ApiError,
12
12
  apiGet,
@@ -14,4 +14,4 @@ export {
14
14
  apiPost,
15
15
  validateConvexId
16
16
  };
17
- //# sourceMappingURL=client-CUHMSNK5.js.map
17
+ //# sourceMappingURL=client-UUKOCY3Q.js.map
@@ -1,4 +1,3 @@
1
- import { CanvasRenderBudgetData } from '@baker/api';
2
1
  import { z } from 'zod';
3
2
 
4
3
  type RawAssetOutput = {
@@ -87,12 +86,6 @@ declare class BackendClient$1 {
87
86
  * route (both 404).
88
87
  */
89
88
  getActiveRun(creativeSlug: string, canvasSha?: string, signal?: AbortSignal): Promise<ActiveRunInfo | null>;
90
- /**
91
- * Render budget — GET /api/canvas/render-budget. Where the next render of a static ad
92
- * stands in its round, counted by the backend. Null when the backend predates the route
93
- * (404) or answers something else; the caller then falls back to its local ledger.
94
- */
95
- getRenderBudget(creativeSlug: string, chatId?: string, signal?: AbortSignal): Promise<CanvasRenderBudgetData | null>;
96
89
  /**
97
90
  * Portable-rerun lookup — GET /api/canvas/runs/latest. The newest run for
98
91
  * the creative that recorded a canvas snapshot manifest; null when none
@@ -8,9 +8,9 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-IS5ERYGR.js";
12
- import "../chunk-FKFJKE75.js";
13
- import "../chunk-YZLLC7DL.js";
11
+ } from "../chunk-X35R65UP.js";
12
+ import "../chunk-Y77DA7EO.js";
13
+ import "../chunk-WJIYNKLI.js";
14
14
  export {
15
15
  BackendClient,
16
16
  Engine,
@@ -1,4 +1,6 @@
1
1
  import {
2
+ MissingChatIdError,
3
+ canvasAssetOriginsSetting,
2
4
  captureBudgetMs,
3
5
  captureProxyCredentials,
4
6
  captureVimeoCookie,
@@ -10,11 +12,14 @@ import {
10
12
  hasOpenRouterKey,
11
13
  openRouterKey,
12
14
  optionalChatId,
15
+ optionalConnection,
13
16
  requireChatId,
14
17
  requireConnection,
15
18
  resolveChatId
16
- } from "./chunk-YZLLC7DL.js";
19
+ } from "./chunk-WJIYNKLI.js";
17
20
  export {
21
+ MissingChatIdError,
22
+ canvasAssetOriginsSetting,
18
23
  captureBudgetMs,
19
24
  captureProxyCredentials,
20
25
  captureVimeoCookie,
@@ -26,8 +31,9 @@ export {
26
31
  hasOpenRouterKey,
27
32
  openRouterKey,
28
33
  optionalChatId,
34
+ optionalConnection,
29
35
  requireChatId,
30
36
  requireConnection,
31
37
  resolveChatId
32
38
  };
33
- //# sourceMappingURL=env-PJTJTW3N.js.map
39
+ //# sourceMappingURL=env-Q3KQLCU5.js.map
@@ -0,0 +1,22 @@
1
+ import {
2
+ TABLE_OUTPUT_FORMATS,
3
+ outputFormatRefusal,
4
+ resolveCustomerId,
5
+ toCsvRow,
6
+ writeAdsJson,
7
+ writeAdsOutput,
8
+ writeJsonEnvelope
9
+ } from "./chunk-UKGTWBKW.js";
10
+ import "./chunk-6Z4ETVEZ.js";
11
+ import "./chunk-Y77DA7EO.js";
12
+ import "./chunk-WJIYNKLI.js";
13
+ export {
14
+ TABLE_OUTPUT_FORMATS,
15
+ outputFormatRefusal,
16
+ resolveCustomerId,
17
+ toCsvRow,
18
+ writeAdsJson,
19
+ writeAdsOutput,
20
+ writeJsonEnvelope
21
+ };
22
+ //# sourceMappingURL=output-V44OD5O3.js.map
@@ -9,11 +9,11 @@ import {
9
9
  resolveEffectiveStatus,
10
10
  statusFilterHints,
11
11
  todayIso
12
- } from "./chunk-EXWIIEZP.js";
13
- import "./chunk-LRRWIOJG.js";
14
- import "./chunk-ZADYWHL5.js";
15
- import "./chunk-FKFJKE75.js";
16
- import "./chunk-YZLLC7DL.js";
12
+ } from "./chunk-RM2TTRYQ.js";
13
+ import "./chunk-UKGTWBKW.js";
14
+ import "./chunk-6Z4ETVEZ.js";
15
+ import "./chunk-Y77DA7EO.js";
16
+ import "./chunk-WJIYNKLI.js";
17
17
  export {
18
18
  NAME_CONTAINS_ARG,
19
19
  csvOrJson,
@@ -26,4 +26,4 @@ export {
26
26
  statusFilterHints,
27
27
  todayIso
28
28
  };
29
- //# sourceMappingURL=shared-LV6PIKFE.js.map
29
+ //# sourceMappingURL=shared-3THDUK2O.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.419.0",
3
+ "version": "0.420.0-dev.2a54c32e7",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {