@koda-sl/baker-cli 0.870.0-dev.2684547aa → 0.870.0-dev.3297f215c

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 (46) hide show
  1. package/README.md +2 -3
  2. package/dist/{ads-U33JFGCR.js → ads-CEF5MSJ6.js} +3 -3
  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-4YQ46MM4.js → chunk-E5US4SNS.js} +2 -2
  9. package/dist/{chunk-HORX3JLB.js → chunk-KFFAH3TX.js} +2 -2
  10. package/dist/{chunk-LMVSHRIS.js → chunk-VMZ2XBU7.js} +2 -2
  11. package/dist/{chunk-EVNRBJML.js → chunk-VT4GYO3E.js} +3 -3
  12. package/dist/cli.js +4 -4
  13. package/dist/{funnel-BFVSY5A6.js → funnel-G4JVDQUE.js} +3 -3
  14. package/dist/{google-HHKFDH7I.js → google-ZFRRYSFZ.js} +2 -2
  15. package/dist/{gsc-4UAVQRDJ.js → gsc-JYP4ZCSH.js} +2 -2
  16. package/dist/{lookup-NWIDMQ5B.js → lookup-P5NID3LV.js} +4 -4
  17. package/dist/{performance-Y2S5FDGI.js → performance-L44CGNTO.js} +2 -2
  18. package/dist/{plan-F3LGGPUT.js → plan-OTRYXYVC.js} +3 -3
  19. package/dist/{query-WDS7AJ4G.js → query-EAZEG4QR.js} +5 -14
  20. package/dist/query-EAZEG4QR.js.map +1 -0
  21. package/dist/{questionnaire-XRQKZDTC.js → questionnaire-AFTRG3QM.js} +3 -3
  22. package/dist/{sends-KAFVQSQQ.js → sends-V4MRXQSO.js} +3 -3
  23. package/dist/{sources-FPWA4AJN.js → sources-OTOVMOJ5.js} +4 -4
  24. package/dist/{unstage-FLZFPQ36.js → unstage-E32YHRML.js} +3 -3
  25. package/dist/{url-options-BANFHIHH.js → url-options-ETN75DT5.js} +2 -2
  26. package/package.json +1 -1
  27. package/dist/analytics-EM4NNEG5.js.map +0 -1
  28. package/dist/chunk-T7GAC2WG.js.map +0 -1
  29. package/dist/query-WDS7AJ4G.js.map +0 -1
  30. /package/dist/{ads-U33JFGCR.js.map → ads-CEF5MSJ6.js.map} +0 -0
  31. /package/dist/{chunk-7YHMZVKM.js.map → chunk-6SMIAFH2.js.map} +0 -0
  32. /package/dist/{chunk-4YQ46MM4.js.map → chunk-E5US4SNS.js.map} +0 -0
  33. /package/dist/{chunk-HORX3JLB.js.map → chunk-KFFAH3TX.js.map} +0 -0
  34. /package/dist/{chunk-LMVSHRIS.js.map → chunk-VMZ2XBU7.js.map} +0 -0
  35. /package/dist/{chunk-EVNRBJML.js.map → chunk-VT4GYO3E.js.map} +0 -0
  36. /package/dist/{funnel-BFVSY5A6.js.map → funnel-G4JVDQUE.js.map} +0 -0
  37. /package/dist/{google-HHKFDH7I.js.map → google-ZFRRYSFZ.js.map} +0 -0
  38. /package/dist/{gsc-4UAVQRDJ.js.map → gsc-JYP4ZCSH.js.map} +0 -0
  39. /package/dist/{lookup-NWIDMQ5B.js.map → lookup-P5NID3LV.js.map} +0 -0
  40. /package/dist/{performance-Y2S5FDGI.js.map → performance-L44CGNTO.js.map} +0 -0
  41. /package/dist/{plan-F3LGGPUT.js.map → plan-OTRYXYVC.js.map} +0 -0
  42. /package/dist/{questionnaire-XRQKZDTC.js.map → questionnaire-AFTRG3QM.js.map} +0 -0
  43. /package/dist/{sends-KAFVQSQQ.js.map → sends-V4MRXQSO.js.map} +0 -0
  44. /package/dist/{sources-FPWA4AJN.js.map → sources-OTOVMOJ5.js.map} +0 -0
  45. /package/dist/{unstage-FLZFPQ36.js.map → unstage-E32YHRML.js.map} +0 -0
  46. /package/dist/{url-options-BANFHIHH.js.map → url-options-ETN75DT5.js.map} +0 -0
package/README.md CHANGED
@@ -2098,6 +2098,7 @@ baker analytics funnel --flow contact # which step loses people
2098
2098
  baker analytics page --path /pricing # one page in detail
2099
2099
  baker analytics triggers --flow contact # what visitors did in the Form, wired up or not
2100
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
2101
2102
  baker analytics landings # every page side by side, with a sparkline each
2102
2103
  baker analytics landings --tag q4 # only the pages filed under one campaign tag
2103
2104
  baker analytics tags # the same numbers rolled up per campaign
@@ -2221,7 +2222,7 @@ Reading the output:
2221
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.
2222
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.
2223
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.
2224
- - `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.
2225
2226
 
2226
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.
2227
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.
@@ -2603,7 +2604,6 @@ baker gsc query --list-presets
2603
2604
  # Free-form
2604
2605
  baker gsc query --dimensions "query,page" --days 28
2605
2606
  baker gsc query --dimensions "query" --row-limit 25000 --out keywords.csv
2606
- baker gsc query --dimensions "query" --filter '{"dimension":"query","operator":"contains","expression":"black"}'
2607
2607
  ```
2608
2608
 
2609
2609
  csv, md and `--out file.csv` print the dimensions in the order asked for, then `clicks,impressions,ctr,position`. JSON rows carry their keys sorted; the envelope's `columns` gives the order.
@@ -2621,7 +2621,6 @@ csv, md and `--out file.csv` print the dimensions in the order asked for, then `
2621
2621
  | `--start-row` | Skip this many rows — the `nextStartRow` a full page returned |
2622
2622
  | `--type` | Search type: web\|image\|video\|news\|discover |
2623
2623
  | `--site-url` | Site URL (auto-resolved if not provided) |
2624
- | `--filter` | Keep only matching rows: one filter `{"dimension":"query","operator":"contains","expression":"brand"}`, a list of them (all must match), or Search Console filter groups |
2625
2624
  | `--out` | Write to file |
2626
2625
  | `--output` | Format: json\|csv\|jsonl\|md |
2627
2626
  | `--no-cache` | Skip cache |
@@ -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),
36
+ google: () => import("./google-ZFRRYSFZ.js").then((m) => m.googleCommand),
37
37
  meta: () => import("./meta-SPPSYRMC.js").then((m) => m.metaCommand),
38
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-U33JFGCR.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