@koda-sl/baker-cli 0.123.0-dev.ab8c14ab5 → 0.123.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.
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  generateCatalog,
14
14
  resolveConcurrency,
15
15
  validateCanvasDeep
16
- } from "./chunk-MWFJ5NOP.js";
16
+ } from "./chunk-IWPAXJC3.js";
17
17
  import {
18
18
  csvOrJson,
19
19
  daysAgoIso,
@@ -866,7 +866,7 @@ var winningAdSchema = z2.object({
866
866
  dna: winningAdDnaSchema,
867
867
  score_breakdown: winningAdScoreBreakdownSchema.nullable()
868
868
  });
869
- var facetCountSchema = z2.object({ value: z2.string(), count: z2.number() });
869
+ var facetCountSchema = z2.object({ value: z2.string(), label: z2.string().optional(), count: z2.number() });
870
870
  var winnersFacetsSchema = z2.object({
871
871
  industry: z2.array(facetCountSchema),
872
872
  creator_type: z2.array(facetCountSchema),
@@ -25060,21 +25060,29 @@ import { defineCommand as defineCommand160 } from "citty";
25060
25060
  var PLATFORMS = ["meta", "linkedin"];
25061
25061
  registerSchema({
25062
25062
  command: "winning-ads.follow",
25063
- description: "Follow a brand so its ads join your ad-dna library. Pass a domain, an ad-library / profile URL, or a brand name, plus the required --platform. Already-in-corpus brands are subscribed instantly; new brands are queued for ingestion.",
25063
+ description: "Follow a brand so ALL its ads join your library \u2014 every platform (Meta + LinkedIn) and every country. Pass a domain (best \u2014 resolves both platforms), an ad-library / profile URL, or a brand name. --platform tells us how to read your input; it does NOT limit what we track. Already-in-corpus brands are subscribed instantly; new brands are queued for ingestion.",
25064
25064
  args: {
25065
- input: { type: "string", description: "Domain, profile/ad-library URL, or brand name", required: true },
25066
- platform: { type: "string", description: "Required: meta|linkedin", required: true },
25065
+ input: { type: "string", description: "Domain (best), profile/ad-library URL, or brand name", required: true },
25066
+ platform: {
25067
+ type: "string",
25068
+ description: "meta|linkedin \u2014 how to read the input, not a tracking limit. We track every platform we can resolve.",
25069
+ required: true
25070
+ },
25067
25071
  label: { type: "string", description: "Optional display label (defaults to the resolved name)", required: false }
25068
25072
  }
25069
25073
  });
25070
25074
  var followCommand = defineCommand160({
25071
25075
  meta: {
25072
25076
  name: "follow",
25073
- description: 'Follow a brand to add its ads to your library. --platform is required. Example: baker winning-ads follow "deel.com" --platform meta'
25077
+ description: 'Follow a brand to track ALL its ads \u2014 every platform and country. --platform is how we read your input, not a limit. A domain tracks both Meta + LinkedIn. Example: baker winning-ads follow "deel.com" --platform meta'
25074
25078
  },
25075
25079
  args: {
25076
- input: { type: "positional", description: "Domain, profile/ad-library URL, or brand name", required: true },
25077
- platform: { type: "string", description: "Required: meta|linkedin", required: true },
25080
+ input: { type: "positional", description: "Domain (best), profile/ad-library URL, or brand name", required: true },
25081
+ platform: {
25082
+ type: "string",
25083
+ description: "meta|linkedin \u2014 how to read the input, not a tracking limit.",
25084
+ required: true
25085
+ },
25078
25086
  label: { type: "string", description: "Optional display label", required: false }
25079
25087
  },
25080
25088
  run: async ({ args }) => {
@@ -25095,7 +25103,7 @@ var followCommand = defineCommand160({
25095
25103
  let hints;
25096
25104
  if (data.status === "added") {
25097
25105
  hints = [
25098
- "This brand is new \u2014 we're adding its ads now. They appear as ingestion completes; check `baker winning-ads following`."
25106
+ "This brand is new \u2014 we're adding every ad we can find across all platforms and countries. They appear as ingestion completes; check `baker winning-ads following`."
25099
25107
  ];
25100
25108
  } else if (data.status === "ambiguous") {
25101
25109
  hints = [