@koda-sl/baker-cli 0.869.0-dev.0631d8a3c → 0.869.0-dev.49bba5255

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 (55) hide show
  1. package/README.md +2 -3
  2. package/dist/{ads-VSU53JN3.js → ads-CEF5MSJ6.js} +5 -5
  3. package/dist/{analytics-EM4NNEG5.js → analytics-3IS4CCFL.js} +26 -14
  4. package/dist/analytics-3IS4CCFL.js.map +1 -0
  5. package/dist/{chunk-7YHMZVKM.js → chunk-6SMIAFH2.js} +2 -2
  6. package/dist/{chunk-T7GAC2WG.js → chunk-7JM5OH6I.js} +32 -3
  7. package/dist/chunk-7JM5OH6I.js.map +1 -0
  8. package/dist/{chunk-XFTN3ARP.js → chunk-BPIHAIWB.js} +13 -22
  9. package/dist/chunk-BPIHAIWB.js.map +1 -0
  10. package/dist/{chunk-4YQ46MM4.js → chunk-E5US4SNS.js} +2 -2
  11. package/dist/{chunk-HORX3JLB.js → chunk-KFFAH3TX.js} +2 -2
  12. package/dist/{chunk-LMVSHRIS.js → chunk-VMZ2XBU7.js} +2 -2
  13. package/dist/{chunk-EVNRBJML.js → chunk-VT4GYO3E.js} +3 -3
  14. package/dist/cli.js +3 -3
  15. package/dist/{funnel-BFVSY5A6.js → funnel-G4JVDQUE.js} +3 -3
  16. package/dist/{google-HHKFDH7I.js → google-ZFRRYSFZ.js} +2 -2
  17. package/dist/{linkedin-RMZMQ2ZA.js → linkedin-EBOTX37R.js} +4 -8
  18. package/dist/{linkedin-RMZMQ2ZA.js.map → linkedin-EBOTX37R.js.map} +1 -1
  19. package/dist/{lookup-NWIDMQ5B.js → lookup-P5NID3LV.js} +4 -4
  20. package/dist/{meta-HOFABFAK.js → meta-SPPSYRMC.js} +2 -2
  21. package/dist/{performance-Y2S5FDGI.js → performance-L44CGNTO.js} +2 -2
  22. package/dist/{plan-F3LGGPUT.js → plan-OTRYXYVC.js} +3 -3
  23. package/dist/{preview-XXQ5AHXP.js → preview-4GUQGDBD.js} +42 -134
  24. package/dist/preview-4GUQGDBD.js.map +1 -0
  25. package/dist/preview-HD3QAR53.js +104 -0
  26. package/dist/preview-HD3QAR53.js.map +1 -0
  27. package/dist/{questionnaire-XRQKZDTC.js → questionnaire-AFTRG3QM.js} +3 -3
  28. package/dist/{sends-KAFVQSQQ.js → sends-V4MRXQSO.js} +3 -3
  29. package/dist/{sources-FPWA4AJN.js → sources-OTOVMOJ5.js} +4 -4
  30. package/dist/{unstage-FLZFPQ36.js → unstage-E32YHRML.js} +3 -3
  31. package/dist/{url-options-BANFHIHH.js → url-options-ETN75DT5.js} +2 -2
  32. package/package.json +1 -1
  33. package/dist/analytics-EM4NNEG5.js.map +0 -1
  34. package/dist/chunk-T7GAC2WG.js.map +0 -1
  35. package/dist/chunk-XFTN3ARP.js.map +0 -1
  36. package/dist/preview-4DDR337D.js +0 -151
  37. package/dist/preview-4DDR337D.js.map +0 -1
  38. package/dist/preview-XXQ5AHXP.js.map +0 -1
  39. /package/dist/{ads-VSU53JN3.js.map → ads-CEF5MSJ6.js.map} +0 -0
  40. /package/dist/{chunk-7YHMZVKM.js.map → chunk-6SMIAFH2.js.map} +0 -0
  41. /package/dist/{chunk-4YQ46MM4.js.map → chunk-E5US4SNS.js.map} +0 -0
  42. /package/dist/{chunk-HORX3JLB.js.map → chunk-KFFAH3TX.js.map} +0 -0
  43. /package/dist/{chunk-LMVSHRIS.js.map → chunk-VMZ2XBU7.js.map} +0 -0
  44. /package/dist/{chunk-EVNRBJML.js.map → chunk-VT4GYO3E.js.map} +0 -0
  45. /package/dist/{funnel-BFVSY5A6.js.map → funnel-G4JVDQUE.js.map} +0 -0
  46. /package/dist/{google-HHKFDH7I.js.map → google-ZFRRYSFZ.js.map} +0 -0
  47. /package/dist/{lookup-NWIDMQ5B.js.map → lookup-P5NID3LV.js.map} +0 -0
  48. /package/dist/{meta-HOFABFAK.js.map → meta-SPPSYRMC.js.map} +0 -0
  49. /package/dist/{performance-Y2S5FDGI.js.map → performance-L44CGNTO.js.map} +0 -0
  50. /package/dist/{plan-F3LGGPUT.js.map → plan-OTRYXYVC.js.map} +0 -0
  51. /package/dist/{questionnaire-XRQKZDTC.js.map → questionnaire-AFTRG3QM.js.map} +0 -0
  52. /package/dist/{sends-KAFVQSQQ.js.map → sends-V4MRXQSO.js.map} +0 -0
  53. /package/dist/{sources-FPWA4AJN.js.map → sources-OTOVMOJ5.js.map} +0 -0
  54. /package/dist/{unstage-FLZFPQ36.js.map → unstage-E32YHRML.js.map} +0 -0
  55. /package/dist/{url-options-BANFHIHH.js.map → url-options-ETN75DT5.js.map} +0 -0
package/README.md CHANGED
@@ -1491,7 +1491,6 @@ baker ads meta insights --object 9988 --level ad --intent video \
1491
1491
  --breakdowns publisher_platform,platform_position --date-preset last_30d # one ad only: hints flag placements playing far below the ad's own rate
1492
1492
  baker ads meta preview --creative-id 9988 --placement facebook_reels_overlay --platform facebook
1493
1493
  baker ads meta preview --list-formats # ad_format values + placement mappings
1494
- baker ads meta preview --creative-id 9988,9989 --ad-format MOBILE_FEED_STANDARD,INSTAGRAM_REELS # every creative × format pair in one call, drawn in parallel (at most 24)
1495
1494
  baker ads meta videos --ad-id 9988,9989 # download the ads' video files (MP4) to /tmp/meta-ad-videos; --url-only for the addresses
1496
1495
 
1497
1496
  # "What audience is this targeting?"
@@ -1817,7 +1816,6 @@ baker ads linkedin campaigns --account-id 503001492 --targeting
1817
1816
  # "What does this ad actually show?" — LinkedIn's own feed rendering, desktop + mobile:
1818
1817
  # data.previews[].shownText (the text displayed, in order) and .image (a picture)
1819
1818
  baker ads linkedin preview 1611562694 --account-id 503001492
1820
- baker ads linkedin preview 1611562694 1611562695 --placement mobile # several ads in one call, drawn in parallel
1821
1819
 
1822
1820
  # "Top companies seeing this campaign" (ABM feedback loop) — org names auto-resolved
1823
1821
  baker ads linkedin top-companies --campaign-id 1234 --last-days 30
@@ -2100,6 +2098,7 @@ baker analytics funnel --flow contact # which step loses people
2100
2098
  baker analytics page --path /pricing # one page in detail
2101
2099
  baker analytics triggers --flow contact # what visitors did in the Form, wired up or not
2102
2100
  baker analytics releases # traffic and conversions per published build
2101
+ baker analytics releases --landing <id> --since-release <hash> # which build changed the page, and totals since it
2103
2102
  baker analytics landings # every page side by side, with a sparkline each
2104
2103
  baker analytics landings --tag q4 # only the pages filed under one campaign tag
2105
2104
  baker analytics tags # the same numbers rolled up per campaign
@@ -2223,7 +2222,7 @@ Reading the output:
2223
2222
  - `triggers[]` reports what visitors *did* inside a Form — a link click that redirects them off the site, a scheduling widget, an embedded checkout posting back — none of which produces a funnel step. `sideEffectsFired` says how many of those fires actually did something; a trigger with many fires and none is real behaviour with nothing wired to it.
2224
2223
  - `deliverySummary` on `delivery` counts the whole window — `submissions`, `failedSubmissions`, `pendingSubmissions` and the same per destination in `byDestination` — so `failedSubmissions: 0` answers "did anything fail" without paging. The rows below it are the failed submissions only; `--full` lists every one.
2225
2224
  - `submissions[]` is one row per **attempt** at a Form — one visitor, one Form, one visit — whether they finished, abandoned it halfway, or completed a Form wired to no destination. `delivery` is built from dispatches and so cannot show that last case at all, which is why the two are separate reports and why the gap between them must never be presented as lost leads without saying which it is.
2226
- - `releases[]` gives one row per published build, so a change to a page can be compared before and after instead of against a date. Only events carrying a build are counted, so its `pageViews` sits below the site total for the same period.
2225
+ - `releases[]` gives one row per published build, so a change to a page can be compared before and after instead of against a date. Only events carrying a build are counted, so its `pageViews` sits below the site total for the same period. Each row names the Publish behind it (`publishedAt`, `chatId`, `chatTitle`), and with `--landing`, `pageChanged` says whether that page changed in the build. `--since-release <hash>` adds `sinceRelease.totals`, the visits and conversions from that build onward counted once.
2227
2226
 
2228
2227
  - `landings[]` is one row per page with its real name and campaign tags, joined from a dimension Baker mirrors on every publish. An empty `name` means the mirror has not caught up — say "not synced yet" rather than showing the id as a title.
2229
2228
  - `trend[]` returns **every** bucket in the window, including ones with no traffic. A quiet day is a real zero rather than a missing row, so a chart cannot draw a straight line through it and imply traffic that did not happen.
@@ -33,16 +33,16 @@ Examples:
33
33
  Full guides: __tooling__/docs/tools/baker/ads-<platform>.md (google|meta|linkedin|x|chatgpt|performance|terms)`
34
34
  },
35
35
  subCommands: {
36
- google: () => import("./google-HHKFDH7I.js").then((m) => m.googleCommand),
37
- meta: () => import("./meta-HOFABFAK.js").then((m) => m.metaCommand),
38
- linkedin: () => import("./linkedin-RMZMQ2ZA.js").then((m) => m.linkedinCommand),
36
+ google: () => import("./google-ZFRRYSFZ.js").then((m) => m.googleCommand),
37
+ meta: () => import("./meta-SPPSYRMC.js").then((m) => m.metaCommand),
38
+ linkedin: () => import("./linkedin-EBOTX37R.js").then((m) => m.linkedinCommand),
39
39
  x: () => import("./x-JU6LF2MM.js").then((m) => m.xCommand),
40
40
  chatgpt: () => import("./chatgpt-FV4PVN4W.js").then((m) => m.chatgptCommand),
41
- performance: () => import("./performance-Y2S5FDGI.js").then((m) => m.performanceCommand),
41
+ performance: () => import("./performance-L44CGNTO.js").then((m) => m.performanceCommand),
42
42
  terms: () => import("./terms-PYYVZT4S.js").then((m) => m.termsCommand)
43
43
  }
44
44
  });
45
45
  export {
46
46
  adsCommand
47
47
  };
48
- //# sourceMappingURL=ads-VSU53JN3.js.map
48
+ //# sourceMappingURL=ads-CEF5MSJ6.js.map
@@ -15,7 +15,7 @@ import {
15
15
  serverFeedFields,
16
16
  withheldBreakdownHint,
17
17
  writeAnalyticsReport
18
- } from "./chunk-4YQ46MM4.js";
18
+ } from "./chunk-E5US4SNS.js";
19
19
  import {
20
20
  flowDataPath,
21
21
  flowExists,
@@ -25,23 +25,23 @@ import {
25
25
  import {
26
26
  peopleArgs,
27
27
  peopleLimitError
28
- } from "./chunk-EVNRBJML.js";
28
+ } from "./chunk-VT4GYO3E.js";
29
29
  import {
30
30
  INGEST_ARRIVALS_MAX,
31
31
  eventIngestUrl,
32
32
  ingestBrief
33
- } from "./chunk-7YHMZVKM.js";
33
+ } from "./chunk-6SMIAFH2.js";
34
34
  import {
35
35
  ConversionArgsError,
36
36
  conversionsWrite,
37
37
  parseConversionsArgs
38
- } from "./chunk-HORX3JLB.js";
38
+ } from "./chunk-KFFAH3TX.js";
39
39
  import {
40
40
  TAG_MANAGER_TIMEOUT_MS
41
41
  } from "./chunk-YCSWGVNA.js";
42
42
  import {
43
43
  analyticsErrorEnvelope
44
- } from "./chunk-LMVSHRIS.js";
44
+ } from "./chunk-VMZ2XBU7.js";
45
45
  import {
46
46
  companyNameKey
47
47
  } from "./chunk-AYKV2B6X.js";
@@ -64,7 +64,7 @@ import {
64
64
  isAdPlatform,
65
65
  isBookkeepingRow,
66
66
  rowMatchKeys
67
- } from "./chunk-T7GAC2WG.js";
67
+ } from "./chunk-7JM5OH6I.js";
68
68
  import "./chunk-5TURKO4J.js";
69
69
  import {
70
70
  withWindowSpellings
@@ -1393,6 +1393,7 @@ function requestBody(args, options) {
1393
1393
  answerField: options.answerField,
1394
1394
  answerSplit: options.answerSplit,
1395
1395
  answerValues: options.answerValues,
1396
+ sinceRelease: options.sinceRelease,
1396
1397
  ...feedFieldsOf(args, options.preset),
1397
1398
  ...pageOf(args, options.preset)
1398
1399
  };
@@ -1630,7 +1631,18 @@ var triggersCommand = presetCommand({
1630
1631
  var releasesCommand = presetCommand({
1631
1632
  name: "releases",
1632
1633
  preset: "releases",
1633
- description: "Traffic and conversions per published build, newest first. Use it to tell whether a change to a page moved the numbers, instead of guessing from the date."
1634
+ description: "Traffic and conversions per published build, newest first. Use it to tell whether a change to a page moved the numbers, instead of guessing from the date. Every Publish of any page or creative is a build, so each row names the Publish behind it (`publishedAt`, `chatId`, `chatTitle`; absent on a platform update), and with --landing says whether that page changed in it (`pageChanged`). Start here: `releases --landing <id> --output md` to find the build where `pageChanged` is true, then `--since-release <its hash>` for the visits and conversions from that build onward in `sinceRelease.totals`, counted once \u2014 never sum the rows. The hash is not a commit in the workspace's own git history.",
1635
+ extraArgs: {
1636
+ "since-release": {
1637
+ type: "string",
1638
+ description: "Also total visits and conversions from this build onward, e.g. --since-release 52386fe (a hash, or its first 7+ characters, from this list)",
1639
+ required: false
1640
+ }
1641
+ },
1642
+ resolve: (args) => ({
1643
+ preset: "releases",
1644
+ sinceRelease: args["since-release"] ? String(args["since-release"]) : void 0
1645
+ })
1634
1646
  });
1635
1647
  var paidCommand = presetCommand({
1636
1648
  name: "paid",
@@ -2760,22 +2772,22 @@ Full guide: __tooling__/docs/tools/baker/analytics.md`
2760
2772
  tags: tagsCommand,
2761
2773
  events: eventsCommand,
2762
2774
  feed: feedCommand,
2763
- lookup: () => import("./lookup-NWIDMQ5B.js").then((m) => m.lookupCommand),
2775
+ lookup: () => import("./lookup-P5NID3LV.js").then((m) => m.lookupCommand),
2764
2776
  devices: devicesCommand,
2765
2777
  ads: adsCommand,
2766
2778
  conversions: conversionsCommand,
2767
- sends: () => import("./sends-KAFVQSQQ.js").then((m) => m.sendsCommand),
2779
+ sends: () => import("./sends-V4MRXQSO.js").then((m) => m.sendsCommand),
2768
2780
  map: mapCommand,
2769
- unstage: () => import("./unstage-FLZFPQ36.js").then((m) => m.unstageCommand),
2781
+ unstage: () => import("./unstage-E32YHRML.js").then((m) => m.unstageCommand),
2770
2782
  tracking: trackingCommand,
2771
2783
  arrivals: arrivalsCommand,
2772
2784
  "sending-events": sendingEventsCommand,
2773
- sources: () => import("./sources-FPWA4AJN.js").then((m) => m.sourcesCommand),
2785
+ sources: () => import("./sources-OTOVMOJ5.js").then((m) => m.sourcesCommand),
2774
2786
  "website-tag": websiteTagCommand,
2775
2787
  debug: debugCommand,
2776
2788
  sites: sitesCommand,
2777
- plan: () => import("./plan-F3LGGPUT.js").then((m) => m.planCommand),
2778
- questionnaire: () => import("./questionnaire-XRQKZDTC.js").then((m) => m.questionnaireCommand),
2789
+ plan: () => import("./plan-OTRYXYVC.js").then((m) => m.planCommand),
2790
+ questionnaire: () => import("./questionnaire-AFTRG3QM.js").then((m) => m.questionnaireCommand),
2779
2791
  presets: presetsCommand
2780
2792
  }
2781
2793
  });
@@ -2789,4 +2801,4 @@ export {
2789
2801
  requestBody,
2790
2802
  sendingEventsAddress
2791
2803
  };
2792
- //# sourceMappingURL=analytics-EM4NNEG5.js.map
2804
+ //# sourceMappingURL=analytics-3IS4CCFL.js.map