@koda-sl/baker-cli 0.571.0-dev.6a3439a0a → 0.571.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.
Files changed (874) hide show
  1. package/README.md +2 -1
  2. package/dist/account-52WDLW4Z.js +82 -0
  3. package/dist/account-7KZ7MHMN.js +82 -0
  4. package/dist/account-reads-CQIJCPCH.js +219 -0
  5. package/dist/account-users-NUI3ILRE.js +64 -0
  6. package/dist/account-writes-3BJSUM2V.js +68 -0
  7. package/dist/accounts-FLKNFDIE.js +713 -0
  8. package/dist/accounts-I2ZLR76R.js +80 -0
  9. package/dist/accounts-ZV4IXOF5.js +119 -0
  10. package/dist/actions-IR47GVZ6.js +55 -0
  11. package/dist/activecampaign-MNJYIWJL.js +938 -0
  12. package/dist/ad-group-writes-KU4QMQZP.js +172 -0
  13. package/dist/ad-groups-NMW2G32A.js +70 -0
  14. package/dist/ad-writes-7NOFTOM4.js +176 -0
  15. package/dist/add-4I25INAO.js +107 -0
  16. package/dist/add-QMTD6EGI.js +305 -0
  17. package/dist/ads-P4Z3MLKS.js +79 -0
  18. package/dist/ads-PWTQC6KV.js +48 -0
  19. package/dist/advertisers-LOIXTTGP.js +123 -0
  20. package/dist/analytics-6AHC3J4L.js +447 -0
  21. package/dist/analytics-NL2KGDLK.js +2437 -0
  22. package/dist/animate-VX7E7KJE.js +480 -0
  23. package/dist/assign-NKHIHVGI.js +80 -0
  24. package/dist/audience-size-WEOM6XIL.js +76 -0
  25. package/dist/audiences-P3SPTAJT.js +280 -0
  26. package/dist/audit-4RIBJ7BR.js +154 -0
  27. package/dist/autocomplete-FMTJDXTL.js +114 -0
  28. package/dist/avatars-LY5SFMWO.js +38 -0
  29. package/dist/bid-pricing-MQ7WLV5U.js +103 -0
  30. package/dist/brand-LR5IXW3W.js +22 -0
  31. package/dist/brief-4DSXIX3F.js +543 -0
  32. package/dist/campaign-groups-EZYLKMO2.js +99 -0
  33. package/dist/campaign-writes-P5XPFTRK.js +176 -0
  34. package/dist/campaign-writes-UMENYMKO.js +168 -0
  35. package/dist/campaigns-PP2DQMJE.js +113 -0
  36. package/dist/campaigns-SWZJVE2T.js +78 -0
  37. package/dist/campaigns-TAFDM242.js +111 -0
  38. package/dist/canvas-RKR3ZB4E.js +46 -0
  39. package/dist/capabilities-45RZ6E6W.js +147 -0
  40. package/dist/catalog-TOHUVBEU.js +66 -0
  41. package/dist/catalogs-V7PTEJBO.js +130 -0
  42. package/dist/changes-5OW3UYMF.js +167 -0
  43. package/dist/chatgpt-JBMYNVJB.js +47 -0
  44. package/dist/chats-VOLBYA3R.js +584 -0
  45. package/dist/check-4DI73QX4.js +107 -0
  46. package/dist/chunk-22RM3UOO.js +63 -0
  47. package/dist/chunk-2N7TB346.js +5368 -0
  48. package/dist/chunk-2N7TB346.js.map +1 -0
  49. package/dist/chunk-2Q7K4F4H.js +7899 -0
  50. package/dist/chunk-2Q7K4F4H.js.map +1 -0
  51. package/dist/chunk-2TS2ITSG.js +392 -0
  52. package/dist/chunk-2YXTXSYG.js +454 -0
  53. package/dist/chunk-2Z6PFHD2.js +91 -0
  54. package/dist/chunk-47VWQ7FQ.js +843 -0
  55. package/dist/chunk-4QFMRL6O.js +455 -0
  56. package/dist/chunk-5OC6VUDZ.js +930 -0
  57. package/dist/chunk-5VXEH72O.js +249 -0
  58. package/dist/chunk-B4BITHOD.js +2235 -0
  59. package/dist/chunk-B4BITHOD.js.map +1 -0
  60. package/dist/chunk-BFAPSFS7.js +1518 -0
  61. package/dist/chunk-BMMXYR7A.js +238 -0
  62. package/dist/chunk-BNEWJXKU.js +638 -0
  63. package/dist/chunk-BXTIG5JL.js +66 -0
  64. package/dist/chunk-C7KV5O5J.js +274 -0
  65. package/dist/chunk-CDPX6WAL.js +207 -0
  66. package/dist/chunk-COOJKEJE.js +312 -0
  67. package/dist/chunk-CTJWMZPL.js +430 -0
  68. package/dist/chunk-D5HD46VV.js +163 -0
  69. package/dist/chunk-EGICPBDY.js +1920 -0
  70. package/dist/chunk-EGICPBDY.js.map +1 -0
  71. package/dist/chunk-EKOMZH2S.js +685 -0
  72. package/dist/chunk-ELC42LJJ.js +8954 -0
  73. package/dist/chunk-ELC42LJJ.js.map +1 -0
  74. package/dist/chunk-G4FU6VC5.js +23 -0
  75. package/dist/chunk-H3RCEM6L.js +61 -0
  76. package/dist/chunk-H7LKYGLJ.js +24026 -0
  77. package/dist/chunk-H7LKYGLJ.js.map +1 -0
  78. package/dist/chunk-HM4NWA72.js +5471 -0
  79. package/dist/chunk-I33FO2ON.js +170 -0
  80. package/dist/chunk-IAE24RKD.js +604 -0
  81. package/dist/chunk-IB6VWG32.js +755 -0
  82. package/dist/chunk-IB6VWG32.js.map +1 -0
  83. package/dist/chunk-IGCS3X4F.js +150 -0
  84. package/dist/chunk-IJ6WA2JW.js +148 -0
  85. package/dist/chunk-ITIUWJGQ.js +131 -0
  86. package/dist/chunk-J4BJLHLQ.js +3510 -0
  87. package/dist/chunk-J4BJLHLQ.js.map +1 -0
  88. package/dist/chunk-JAC6JVCI.js +26 -0
  89. package/dist/chunk-JCDCIQMA.js +479 -0
  90. package/dist/chunk-JGK2FDZW.js +1919 -0
  91. package/dist/chunk-JSOOLOHP.js +468 -0
  92. package/dist/chunk-JT3UUBID.js +142 -0
  93. package/dist/chunk-KUI74TNG.js +169 -0
  94. package/dist/chunk-LAOCXV6Z.js +98 -0
  95. package/dist/chunk-LQACNCAV.js +334 -0
  96. package/dist/chunk-MC5F2L64.js +962 -0
  97. package/dist/chunk-MCJ5I5LR.js +3187 -0
  98. package/dist/chunk-MCJ5I5LR.js.map +1 -0
  99. package/dist/chunk-MKG57P2E.js +783 -0
  100. package/dist/chunk-MZPS46OR.js +76 -0
  101. package/dist/chunk-O2ECZKXP.js +197 -0
  102. package/dist/chunk-OJZKY5UM.js +46 -0
  103. package/dist/chunk-P4UCSXNA.js +156 -0
  104. package/dist/chunk-QLO4RNHU.js +51 -0
  105. package/dist/chunk-QSS34JWZ.js +224 -0
  106. package/dist/chunk-QVHZTCB5.js +1254 -0
  107. package/dist/chunk-RVIBHENP.js +344 -0
  108. package/dist/chunk-TEJOILEY.js +203 -0
  109. package/dist/chunk-TEQEZAJI.js +1320 -0
  110. package/dist/chunk-TNI7CN4L.js +547 -0
  111. package/dist/chunk-TPJ34LXX.js +220 -0
  112. package/dist/chunk-U6AWJIFP.js +225 -0
  113. package/dist/chunk-V5ODOBBI.js +399 -0
  114. package/dist/chunk-VAURJ4QJ.js +89 -0
  115. package/dist/chunk-VAV5CCDD.js +167 -0
  116. package/dist/chunk-VWHUO3AP.js +103 -0
  117. package/dist/chunk-W3TZPHZO.js +285 -0
  118. package/dist/chunk-WZATC4O5.js +297 -0
  119. package/dist/chunk-X25XRSDP.js +57 -0
  120. package/dist/chunk-XGG72YRO.js +91 -0
  121. package/dist/chunk-XHWHBGKX.js +4277 -0
  122. package/dist/chunk-XHWHBGKX.js.map +1 -0
  123. package/dist/chunk-XWAOECD2.js +831 -0
  124. package/dist/chunk-YDALLZNS.js +494 -0
  125. package/dist/chunk-Z3RGBLVJ.js +64 -0
  126. package/dist/chunk-Z5JWFNG4.js +19 -0
  127. package/dist/claim-3UMAFZEM.js +200 -0
  128. package/dist/cli.js +32 -32
  129. package/dist/companies-RL5A26AT.js +198 -0
  130. package/dist/company-DJ44F5C6.js +308 -0
  131. package/dist/complete-PGNIP3LN.js +84 -0
  132. package/dist/connect-ROARWN63.js +45 -0
  133. package/dist/conversation-GDFMJL7X.js +96 -0
  134. package/dist/conversion-report-2FREFML5.js +127 -0
  135. package/dist/conversion-upload-command-JAGV6GMG.js +439 -0
  136. package/dist/conversion-writes-JZIJSQ7T.js +122 -0
  137. package/dist/conversions-2IFWDQKK.js +140 -0
  138. package/dist/conversions-Q5EBTEXA.js +78 -0
  139. package/dist/create-B5DIYK5D.js +218 -0
  140. package/dist/create-BRCSXXFO.js +239 -0
  141. package/dist/create-PXAUL6FF.js +62 -0
  142. package/dist/create-R6CMATVY.js +135 -0
  143. package/dist/creatives-D6O6Z46U.js +229 -0
  144. package/dist/creatives-XNVWQWFF.js +58 -0
  145. package/dist/credentials-CLJO7WWY.js +290 -0
  146. package/dist/critique-MBMKW6SL.js +1451 -0
  147. package/dist/critique-OUJDTVMI.js +232 -0
  148. package/dist/crm-H5ITJ2RC.js +229 -0
  149. package/dist/crm-JJHYRABB.js +323 -0
  150. package/dist/currency-EFDQYW5B.js +88 -0
  151. package/dist/customers-C5YXAVXI.js +65 -0
  152. package/dist/delete-3GYCQK6B.js +57 -0
  153. package/dist/delete-NBUDIGSD.js +69 -0
  154. package/dist/delete-WZ3KVVX5.js +67 -0
  155. package/dist/demographics-O7AJW7DO.js +141 -0
  156. package/dist/discard-RMVZAX2J.js +69 -0
  157. package/dist/discover-BPUUWRBP.js +172 -0
  158. package/dist/domain-J3ZMBOHS.js +101 -0
  159. package/dist/download-ZVOGLTFB.js +172 -0
  160. package/dist/draft-6PJD3MCW.js +374 -0
  161. package/dist/draft-GCOCG4PO.js +315 -0
  162. package/dist/draft-GSDDK6FO.js +614 -0
  163. package/dist/draft-GSDDK6FO.js.map +1 -0
  164. package/dist/draft-TPR3DH5N.js +220 -0
  165. package/dist/draft-ZPGGWU7E.js +332 -0
  166. package/dist/engine/index.js +8 -8
  167. package/dist/experiments-MM4BYHRH.js +236 -0
  168. package/dist/extract-JMY6YRPW.js +143 -0
  169. package/dist/facets-B5AZAU2C.js +117 -0
  170. package/dist/feedback-2EVDGTEN.js +115 -0
  171. package/dist/feedback-4MCMOMVN.js +114 -0
  172. package/dist/feedback-record-DL7UEU2H.js +269 -0
  173. package/dist/fetch-JDNFK476.js +204 -0
  174. package/dist/fit-DKVH5BDW.js +65 -0
  175. package/dist/flows-LURTZICL.js +340 -0
  176. package/dist/fonts-HUXFDDAE.js +39 -0
  177. package/dist/forecast-HMNQZFVL.js +169 -0
  178. package/dist/forecast-UHTW4Y7Q.js +121 -0
  179. package/dist/funnel-QM7WFFMD.js +397 -0
  180. package/dist/generate-KAWRRYTT.js +263 -0
  181. package/dist/get-237TYJZT.js +82 -0
  182. package/dist/get-FWPR2YPC.js +62 -0
  183. package/dist/google-3CAUWNWE.js +3300 -0
  184. package/dist/google-DTSLO3PT.js +163 -0
  185. package/dist/google-ads-RZOQQDQN.js +198 -0
  186. package/dist/history-H7S7XRBX.js +153 -0
  187. package/dist/history-XL52537O.js +102 -0
  188. package/dist/history-YQSYXBJH.js +69 -0
  189. package/dist/hubspot-2DSISSUI.js +814 -0
  190. package/dist/ideas-2XBFQJ56.js +45 -0
  191. package/dist/images-VFRQ32G5.js +92 -0
  192. package/dist/ingest-4RPLN54K.js +28 -0
  193. package/dist/ingest-TPVH44VI.js +131 -0
  194. package/dist/insights-UVCFOB3N.js +132 -0
  195. package/dist/inspect-VD3GVXDU.js +192 -0
  196. package/dist/intent-F5NTOSQC.js +95 -0
  197. package/dist/keyword-gap-EB5QATYN.js +130 -0
  198. package/dist/keyword-metrics-PW2DDIJW.js +200 -0
  199. package/dist/keywords-for-site-JEPABY6E.js +131 -0
  200. package/dist/landing-4N6YSB4L.js +28 -0
  201. package/dist/languages-4S26FJDP.js +40 -0
  202. package/dist/leads-R5OZJQHW.js +115 -0
  203. package/dist/learn-AQ2FRFB7.js +207 -0
  204. package/dist/line-item-writes-LGO7HIJJ.js +211 -0
  205. package/dist/line-items-AAZVKQ7E.js +107 -0
  206. package/dist/link-7IGHVARH.js +67 -0
  207. package/dist/linkedin-UB2CW4KP.js +1344 -0
  208. package/dist/linkedin-person-D6U2ZAUW.js +139 -0
  209. package/dist/list-P44QRX2O.js +154 -0
  210. package/dist/list-UMJACDTQ.js +67 -0
  211. package/dist/list-VZKUHY4Y.js +306 -0
  212. package/dist/locations-UWBQLHXW.js +40 -0
  213. package/dist/locations-WXGOI3VV.js +69 -0
  214. package/dist/log-6ZKMUTYS.js +95 -0
  215. package/dist/make-5CEIJRBC.js +1367 -0
  216. package/dist/map-ZL4MQVJZ.js +445 -0
  217. package/dist/mcp-GSRYLRD4.js +729 -0
  218. package/dist/media-sources-VSPVHLYN.js +35 -0
  219. package/dist/members-L6SXP6GC.js +47 -0
  220. package/dist/metrics-4AFEEDVP.js +152 -0
  221. package/dist/models-2ZEM64H5.js +155 -0
  222. package/dist/normalize-GK7DH7ZP.js +144 -0
  223. package/dist/options-FDAAHG7C.js +125 -0
  224. package/dist/organization-K2FTFAAO.js +949 -0
  225. package/dist/performance-N3UROH7Z.js +5565 -0
  226. package/dist/performance-RG2HR46T.js +27 -0
  227. package/dist/pixels-HEI5WVAO.js +62 -0
  228. package/dist/preview-NVWIEUHF.js +101 -0
  229. package/dist/promoted-tweet-writes-7QZRFDOM.js +183 -0
  230. package/dist/promoted-tweets-V555Y7DN.js +119 -0
  231. package/dist/publish-5KR6YLA6.js +350 -0
  232. package/dist/query-K7MYBRTS.js +62 -0
  233. package/dist/reddit-XPQ7YAJW.js +29 -0
  234. package/dist/refresh-XFHEBSDU.js +97 -0
  235. package/dist/release-3ECEF26P.js +63 -0
  236. package/dist/relevant-pages-XYQKVX3U.js +99 -0
  237. package/dist/remove-OCTUC3RB.js +53 -0
  238. package/dist/reopen-JRI3TYD4.js +66 -0
  239. package/dist/rerun-HWWYCDT2.js +97 -0
  240. package/dist/research-ODPU62BA.js +265 -0
  241. package/dist/research-TG5CBTYP.js +75 -0
  242. package/dist/reset-J2NLNITD.js +57 -0
  243. package/dist/reset-SRU7YJUR.js +57 -0
  244. package/dist/resolve-KHMMUGB2.js +124 -0
  245. package/dist/retry-VLH4AO7F.js +65 -0
  246. package/dist/retry-WP7LWKZF.js +63 -0
  247. package/dist/revenue-EEIS2AV5.js +91 -0
  248. package/dist/rules-TTUGQAEB.js +99 -0
  249. package/dist/rules-add-AIXUAZXG.js +465 -0
  250. package/dist/run-AQTACLY6.js +69 -0
  251. package/dist/run-YA6IWQAJ.js +72 -0
  252. package/dist/scaffold-ad-IYNFJPT7.js +1513 -0
  253. package/dist/scaffold-static-ad-SPYKSAJR.js +1012 -0
  254. package/dist/scaffold-static-ad-SPYKSAJR.js.map +1 -0
  255. package/dist/scaffold-video-BUN27PKS.js +885 -0
  256. package/dist/schedule-EH2MOC5C.js +64 -0
  257. package/dist/scheduled-agents-DTAEP25E.js +55 -0
  258. package/dist/schema-7B4MVVAS.js +135 -0
  259. package/dist/search-ZZWIJRXJ.js +177 -0
  260. package/dist/select-LWZRF7KV.js +110 -0
  261. package/dist/set-prompt-YKDH6FYK.js +199 -0
  262. package/dist/setup-links-OE6PC2YQ.js +144 -0
  263. package/dist/shopify-CCPLZI2H.js +4009 -0
  264. package/dist/site-FW5BBLYG.js +180 -0
  265. package/dist/sources-WPHMWBEK.js +30 -0
  266. package/dist/sources-X77TGJ52.js +457 -0
  267. package/dist/stale-SPCDL73V.js +90 -0
  268. package/dist/status-FLETGJ2A.js +65 -0
  269. package/dist/stock-5AOSQH52.js +212 -0
  270. package/dist/studio-4EV5S7PR.js +49 -0
  271. package/dist/sync-363VKXU3.js +57 -0
  272. package/dist/sync-definition-ZDE5L644.js +70 -0
  273. package/dist/tags-6MN3AWKN.js +23 -0
  274. package/dist/tags-VOKUNEIW.js +227 -0
  275. package/dist/tags-Y6MNMIEA.js +23 -0
  276. package/dist/tags-YHAC3NVY.js +23 -0
  277. package/dist/tags-ZCQMJ5YH.js +26 -0
  278. package/dist/targeting-criteria-ECQFHQF3.js +113 -0
  279. package/dist/targets-U2JHTB5U.js +106 -0
  280. package/dist/testimonials-IDVLMXDT.js +32 -0
  281. package/dist/themes-FW3VWZJE.js +95 -0
  282. package/dist/top-companies-CBI4O3ZB.js +111 -0
  283. package/dist/transcript-IIRFTFRW.js +165 -0
  284. package/dist/translate-N6QW4FZB.js +603 -0
  285. package/dist/triggers-Q3KRAMA3.js +144 -0
  286. package/dist/unlink-7RVQXKAR.js +70 -0
  287. package/dist/unstage-3LPHNZKR.js +88 -0
  288. package/dist/update-AL3LBHGK.js +192 -0
  289. package/dist/update-AWR7EHGA.js +155 -0
  290. package/dist/update-LNSSLZXG.js +66 -0
  291. package/dist/update-YBTFH5MN.js +101 -0
  292. package/dist/upload-45GCGMA5.js +137 -0
  293. package/dist/url-options-AHJPR5VY.js +131 -0
  294. package/dist/url-params-U6ZM4LL2.js +101 -0
  295. package/dist/validate-S325RXPH.js +135 -0
  296. package/dist/videos-NW2UP342.js +41 -0
  297. package/dist/viewer-check-IDXFRRCO.js +83 -0
  298. package/dist/web-VMPKMBKA.js +173 -0
  299. package/dist/winning-ads-7UJXCWFH.js +86 -0
  300. package/dist/write-commands-R42DQEW6.js +1524 -0
  301. package/dist/x-UGTUOCVR.js +47 -0
  302. package/package.json +1 -1
  303. package/dist/account-EXGRZIXS.js +0 -82
  304. package/dist/account-JVDP5ERG.js +0 -82
  305. package/dist/account-reads-Z467VAL4.js +0 -219
  306. package/dist/account-users-342OZALE.js +0 -64
  307. package/dist/account-writes-KEXINJ5D.js +0 -68
  308. package/dist/accounts-QESGQJGZ.js +0 -713
  309. package/dist/accounts-QR6OQ3GC.js +0 -119
  310. package/dist/accounts-UWC2TT6R.js +0 -80
  311. package/dist/actions-NT3HXFFA.js +0 -55
  312. package/dist/activecampaign-EYRHDSXY.js +0 -938
  313. package/dist/ad-group-writes-SVR4RCKB.js +0 -172
  314. package/dist/ad-groups-C726HUXS.js +0 -70
  315. package/dist/ad-writes-RWJIWGEL.js +0 -176
  316. package/dist/add-EPOHDTUO.js +0 -305
  317. package/dist/add-NSW26HIM.js +0 -107
  318. package/dist/ads-3KK7VQPU.js +0 -79
  319. package/dist/ads-EWZGIC4T.js +0 -48
  320. package/dist/advertisers-AHOWL3YL.js +0 -123
  321. package/dist/analytics-7H6NDVUQ.js +0 -447
  322. package/dist/analytics-GFFXCMLV.js +0 -2437
  323. package/dist/animate-GTUI7XX4.js +0 -480
  324. package/dist/assign-SDPPWP3Q.js +0 -80
  325. package/dist/audience-size-LKDDHKED.js +0 -76
  326. package/dist/audiences-6L43K2T2.js +0 -280
  327. package/dist/audit-TSZIQTUB.js +0 -154
  328. package/dist/autocomplete-5BSAOAMZ.js +0 -114
  329. package/dist/avatars-S6RRD7M3.js +0 -38
  330. package/dist/bid-pricing-5KUAINH4.js +0 -103
  331. package/dist/brand-KFK2MQWW.js +0 -22
  332. package/dist/brief-6DV2PKAU.js +0 -543
  333. package/dist/campaign-groups-5RPZPDNW.js +0 -99
  334. package/dist/campaign-writes-FUIGN5OR.js +0 -176
  335. package/dist/campaign-writes-XMYBEVZF.js +0 -168
  336. package/dist/campaigns-5A3IE735.js +0 -111
  337. package/dist/campaigns-JNP3VDZK.js +0 -113
  338. package/dist/campaigns-N2SWSBYT.js +0 -78
  339. package/dist/canvas-CHFNQTLY.js +0 -46
  340. package/dist/capabilities-2W3SRZ2I.js +0 -147
  341. package/dist/catalog-6BER3SF7.js +0 -66
  342. package/dist/catalogs-G5NOKL4L.js +0 -130
  343. package/dist/changes-AS4RVEAL.js +0 -167
  344. package/dist/chatgpt-O6EEAYLF.js +0 -47
  345. package/dist/chats-4JLWMUAC.js +0 -584
  346. package/dist/check-BOKLY5WG.js +0 -107
  347. package/dist/chunk-3KUNRKNV.js +0 -430
  348. package/dist/chunk-3UNMVVSI.js +0 -917
  349. package/dist/chunk-3UNMVVSI.js.map +0 -1
  350. package/dist/chunk-4INBMXUS.js +0 -930
  351. package/dist/chunk-5NMKNHJI.js +0 -46
  352. package/dist/chunk-6D7WTUF3.js +0 -98
  353. package/dist/chunk-6DSPB6YA.js +0 -7904
  354. package/dist/chunk-6DSPB6YA.js.map +0 -1
  355. package/dist/chunk-6FQ7CJEX.js +0 -57
  356. package/dist/chunk-6OIKNJ7G.js +0 -26
  357. package/dist/chunk-6OZDN2FI.js +0 -19
  358. package/dist/chunk-75OGTGC4.js +0 -89
  359. package/dist/chunk-AXLKR3E4.js +0 -66
  360. package/dist/chunk-BEZEZHQ6.js +0 -455
  361. package/dist/chunk-BMK4F4CU.js +0 -169
  362. package/dist/chunk-C52Q3L4C.js +0 -51
  363. package/dist/chunk-CST52ZME.js +0 -142
  364. package/dist/chunk-CUTTTFAU.js +0 -783
  365. package/dist/chunk-D32EWSMB.js +0 -150
  366. package/dist/chunk-DW3H2XQA.js +0 -91
  367. package/dist/chunk-EAA273XW.js +0 -2250
  368. package/dist/chunk-EAA273XW.js.map +0 -1
  369. package/dist/chunk-EM5R3BYC.js +0 -131
  370. package/dist/chunk-EMR5KGNY.js +0 -685
  371. package/dist/chunk-EONUZOJV.js +0 -962
  372. package/dist/chunk-F3CZFUXZ.js +0 -3187
  373. package/dist/chunk-F3CZFUXZ.js.map +0 -1
  374. package/dist/chunk-GRX3JXSR.js +0 -843
  375. package/dist/chunk-H4RHZJ65.js +0 -207
  376. package/dist/chunk-HFIHXIYY.js +0 -547
  377. package/dist/chunk-HOA74TOS.js +0 -249
  378. package/dist/chunk-HQDNDKNR.js +0 -5471
  379. package/dist/chunk-HXSYWXLH.js +0 -709
  380. package/dist/chunk-HXSYWXLH.js.map +0 -1
  381. package/dist/chunk-I3QLWGKS.js +0 -64
  382. package/dist/chunk-IMS53EQU.js +0 -4277
  383. package/dist/chunk-IMS53EQU.js.map +0 -1
  384. package/dist/chunk-J4AWNWKN.js +0 -1919
  385. package/dist/chunk-JAK5VDSG.js +0 -103
  386. package/dist/chunk-JGSEHX2Q.js +0 -3107
  387. package/dist/chunk-JGSEHX2Q.js.map +0 -1
  388. package/dist/chunk-JLAFNORO.js +0 -285
  389. package/dist/chunk-KG5VNPKU.js +0 -91
  390. package/dist/chunk-KJHG2DWS.js +0 -170
  391. package/dist/chunk-LAMSUL26.js +0 -1518
  392. package/dist/chunk-LLTHDEM2.js +0 -479
  393. package/dist/chunk-M5PZ6QQB.js +0 -312
  394. package/dist/chunk-MFGUR5OD.js +0 -334
  395. package/dist/chunk-MZLPOYCC.js +0 -10058
  396. package/dist/chunk-MZLPOYCC.js.map +0 -1
  397. package/dist/chunk-NOCBNING.js +0 -638
  398. package/dist/chunk-NWLK5RPA.js +0 -197
  399. package/dist/chunk-PR5OPERY.js +0 -167
  400. package/dist/chunk-QGAUDVMR.js +0 -148
  401. package/dist/chunk-QRRAMUKV.js +0 -468
  402. package/dist/chunk-QZ4YHQLW.js +0 -63
  403. package/dist/chunk-RGLTITIH.js +0 -494
  404. package/dist/chunk-RIVQ4PQQ.js +0 -225
  405. package/dist/chunk-RLLPY62L.js +0 -163
  406. package/dist/chunk-RQHXWPET.js +0 -61
  407. package/dist/chunk-RULW4627.js +0 -23
  408. package/dist/chunk-S4RCF3YT.js +0 -156
  409. package/dist/chunk-SIKCVWM3.js +0 -76
  410. package/dist/chunk-TCLJRWST.js +0 -831
  411. package/dist/chunk-UVUY6FLV.js +0 -1254
  412. package/dist/chunk-V4HS5JRL.js +0 -1320
  413. package/dist/chunk-WTOBG3YL.js +0 -392
  414. package/dist/chunk-WYMX3F47.js +0 -399
  415. package/dist/chunk-WZXMZFVB.js +0 -238
  416. package/dist/chunk-X5YHMGAT.js +0 -224
  417. package/dist/chunk-X7USE7IA.js +0 -24026
  418. package/dist/chunk-X7USE7IA.js.map +0 -1
  419. package/dist/chunk-XA7JN7YE.js +0 -297
  420. package/dist/chunk-XHAGX4J4.js +0 -604
  421. package/dist/chunk-XY7W6MQN.js +0 -274
  422. package/dist/chunk-YAINUFSC.js +0 -203
  423. package/dist/chunk-Z5BG47PO.js +0 -5752
  424. package/dist/chunk-Z5BG47PO.js.map +0 -1
  425. package/dist/chunk-Z7ICQKC2.js +0 -344
  426. package/dist/chunk-ZBXV2KOQ.js +0 -220
  427. package/dist/chunk-ZMNRSTNV.js +0 -454
  428. package/dist/claim-L4WLCVUL.js +0 -200
  429. package/dist/companies-HW46BRQG.js +0 -198
  430. package/dist/company-KCIDE7SL.js +0 -308
  431. package/dist/complete-JXM25FVW.js +0 -84
  432. package/dist/connect-7TX7AAM5.js +0 -45
  433. package/dist/conversation-YIDUB6GL.js +0 -96
  434. package/dist/conversion-report-33SG7SHU.js +0 -127
  435. package/dist/conversion-upload-command-N3OMLLF2.js +0 -439
  436. package/dist/conversion-writes-XGGTBML5.js +0 -122
  437. package/dist/conversions-F4OZYUCT.js +0 -140
  438. package/dist/conversions-PPP4QK7U.js +0 -78
  439. package/dist/create-6EAKNERA.js +0 -239
  440. package/dist/create-772LZHZR.js +0 -218
  441. package/dist/create-FDNMIVFX.js +0 -62
  442. package/dist/create-X2QM7GA7.js +0 -135
  443. package/dist/creatives-K2AAW6EL.js +0 -58
  444. package/dist/creatives-SNYN4KIM.js +0 -229
  445. package/dist/credentials-KZZVBO42.js +0 -290
  446. package/dist/critique-G5QXRHPF.js +0 -1451
  447. package/dist/critique-PUHOJI7V.js +0 -232
  448. package/dist/crm-4LZZVT4N.js +0 -229
  449. package/dist/crm-M6NXDU5B.js +0 -323
  450. package/dist/currency-HK2ZW2VW.js +0 -88
  451. package/dist/customers-V5NT4W7X.js +0 -65
  452. package/dist/delete-GQIKNO53.js +0 -57
  453. package/dist/delete-LFZIPQEO.js +0 -69
  454. package/dist/delete-YOEI63OT.js +0 -67
  455. package/dist/demographics-CEQ74O74.js +0 -141
  456. package/dist/discard-5GDF3TP3.js +0 -69
  457. package/dist/discover-Q5PAOIQQ.js +0 -172
  458. package/dist/domain-PKOUPHHF.js +0 -101
  459. package/dist/download-2WNTN7JQ.js +0 -172
  460. package/dist/draft-CF4XNJG5.js +0 -578
  461. package/dist/draft-CF4XNJG5.js.map +0 -1
  462. package/dist/draft-F4CVSL2I.js +0 -332
  463. package/dist/draft-L2NXCIYT.js +0 -315
  464. package/dist/draft-RZCTAOI2.js +0 -374
  465. package/dist/draft-UEVBUNKV.js +0 -220
  466. package/dist/experiments-DWC6L72S.js +0 -236
  467. package/dist/extract-6HJXSOZW.js +0 -143
  468. package/dist/facets-TBOXGYJT.js +0 -117
  469. package/dist/feedback-MSMFYAEY.js +0 -114
  470. package/dist/feedback-WAC6S42V.js +0 -115
  471. package/dist/feedback-record-XRQ2R2WD.js +0 -269
  472. package/dist/fetch-LGX7B3IC.js +0 -204
  473. package/dist/fit-RVWPRBNO.js +0 -65
  474. package/dist/flows-LA6EYMLS.js +0 -340
  475. package/dist/fonts-WRC34VSV.js +0 -39
  476. package/dist/forecast-6VHRGBJG.js +0 -121
  477. package/dist/forecast-OVKXBLJB.js +0 -169
  478. package/dist/funnel-U3GQIGND.js +0 -397
  479. package/dist/generate-Y4NJEYIH.js +0 -263
  480. package/dist/get-AHI247JG.js +0 -82
  481. package/dist/get-PF3HGECD.js +0 -62
  482. package/dist/google-BMUJKAUO.js +0 -3300
  483. package/dist/google-ZVAIFXQZ.js +0 -163
  484. package/dist/google-ads-6Z7P3SCD.js +0 -198
  485. package/dist/history-4QUV45ZJ.js +0 -102
  486. package/dist/history-PD7FCTDD.js +0 -153
  487. package/dist/history-VKRYKQ4C.js +0 -69
  488. package/dist/hubspot-WEFAFKVJ.js +0 -814
  489. package/dist/ideas-SMSEXKIA.js +0 -45
  490. package/dist/images-KAT4BPYV.js +0 -92
  491. package/dist/ingest-IHKTSJ4H.js +0 -28
  492. package/dist/ingest-TOHQ6MZA.js +0 -131
  493. package/dist/insights-3IPSEBYW.js +0 -132
  494. package/dist/inspect-5MZBPDYS.js +0 -192
  495. package/dist/intent-ZM4K623V.js +0 -95
  496. package/dist/keyword-gap-FAAF2I6V.js +0 -130
  497. package/dist/keyword-metrics-EXNJRJBY.js +0 -200
  498. package/dist/keywords-for-site-5LW77QWF.js +0 -131
  499. package/dist/landing-ZH4SD3DW.js +0 -28
  500. package/dist/languages-ZGDTERIQ.js +0 -40
  501. package/dist/leads-736RILZN.js +0 -115
  502. package/dist/learn-BESXWXEN.js +0 -207
  503. package/dist/line-item-writes-FA72DHNQ.js +0 -211
  504. package/dist/line-items-XVYE3IYT.js +0 -107
  505. package/dist/link-6FPKFVC3.js +0 -67
  506. package/dist/linkedin-TE6P4RYN.js +0 -1344
  507. package/dist/linkedin-person-TZJ6VEXE.js +0 -139
  508. package/dist/list-4R5EMKUQ.js +0 -154
  509. package/dist/list-MN2FPF3T.js +0 -306
  510. package/dist/list-ORO4WDF4.js +0 -67
  511. package/dist/locations-A65MFB7Q.js +0 -69
  512. package/dist/locations-WN6B3IJK.js +0 -40
  513. package/dist/log-ABBZLPRU.js +0 -95
  514. package/dist/make-QAFKU6WO.js +0 -1367
  515. package/dist/map-52P35OKE.js +0 -445
  516. package/dist/mcp-PZ3VBIF4.js +0 -729
  517. package/dist/media-sources-TT374PLN.js +0 -35
  518. package/dist/members-CF6VG6ZW.js +0 -47
  519. package/dist/metrics-3U3ZO2RF.js +0 -152
  520. package/dist/models-VOSJJFO2.js +0 -155
  521. package/dist/normalize-4LZCLMTQ.js +0 -144
  522. package/dist/options-6IRL7CL6.js +0 -125
  523. package/dist/organization-WMLLJE66.js +0 -949
  524. package/dist/performance-A7CYFBW2.js +0 -5565
  525. package/dist/performance-HYSTXLTS.js +0 -27
  526. package/dist/pixels-U6UA662G.js +0 -62
  527. package/dist/preview-76ZP2QA3.js +0 -101
  528. package/dist/promoted-tweet-writes-I5G4IDL5.js +0 -183
  529. package/dist/promoted-tweets-X5XNO7IT.js +0 -119
  530. package/dist/publish-S2Z4EF4H.js +0 -350
  531. package/dist/query-SAQADBM2.js +0 -62
  532. package/dist/reddit-S2L5WDY7.js +0 -29
  533. package/dist/refresh-K2YTJSH3.js +0 -97
  534. package/dist/release-FX76IIVN.js +0 -63
  535. package/dist/relevant-pages-KTSODNNW.js +0 -99
  536. package/dist/remove-LOVWPLDO.js +0 -53
  537. package/dist/reopen-DXV2Y6Z3.js +0 -66
  538. package/dist/rerun-TFQCRRFK.js +0 -97
  539. package/dist/research-7PGDAKC7.js +0 -265
  540. package/dist/research-HY5PSUCC.js +0 -75
  541. package/dist/reset-MEHUQJA4.js +0 -57
  542. package/dist/reset-Y5VZJRDQ.js +0 -57
  543. package/dist/resolve-FAVABEJW.js +0 -124
  544. package/dist/retry-5IY4MNDW.js +0 -65
  545. package/dist/retry-OMJ3C3AX.js +0 -63
  546. package/dist/revenue-S4KFZCOI.js +0 -91
  547. package/dist/rules-66IGR2KA.js +0 -99
  548. package/dist/rules-add-G7YGOYZJ.js +0 -465
  549. package/dist/run-LJVBH3JS.js +0 -72
  550. package/dist/run-XJBWDWN6.js +0 -69
  551. package/dist/scaffold-ad-GNMCB3QY.js +0 -1513
  552. package/dist/scaffold-static-ad-QIWKWURL.js +0 -1013
  553. package/dist/scaffold-static-ad-QIWKWURL.js.map +0 -1
  554. package/dist/scaffold-video-G6G2NPUF.js +0 -885
  555. package/dist/schedule-OX5XHXLH.js +0 -64
  556. package/dist/scheduled-agents-A5ZFQB5X.js +0 -55
  557. package/dist/schema-NTGHAPR2.js +0 -135
  558. package/dist/search-WCXQBMMM.js +0 -177
  559. package/dist/select-5ZD7FVBT.js +0 -110
  560. package/dist/set-prompt-NGCVMQIQ.js +0 -199
  561. package/dist/setup-links-4HCSF55G.js +0 -144
  562. package/dist/shopify-GDR5WGHH.js +0 -4009
  563. package/dist/site-B7LT6KAO.js +0 -180
  564. package/dist/sources-6DPUEROC.js +0 -30
  565. package/dist/sources-OSUXCLID.js +0 -457
  566. package/dist/stale-YKFKPPOH.js +0 -90
  567. package/dist/status-KIC3P5JV.js +0 -65
  568. package/dist/stock-VWFUFRYV.js +0 -212
  569. package/dist/studio-XLC37YGX.js +0 -49
  570. package/dist/sync-QBW4XH2H.js +0 -57
  571. package/dist/sync-definition-4KMJK46H.js +0 -70
  572. package/dist/tags-4F5UBPYG.js +0 -227
  573. package/dist/tags-4O5FPEEY.js +0 -26
  574. package/dist/tags-7RKKCQ4X.js +0 -23
  575. package/dist/tags-CB4MWI3A.js +0 -23
  576. package/dist/tags-QZJIP4LJ.js +0 -23
  577. package/dist/targeting-criteria-65UU7EYD.js +0 -113
  578. package/dist/targets-T742OPQI.js +0 -106
  579. package/dist/testimonials-HKJJXONO.js +0 -32
  580. package/dist/themes-Q6LVMEMF.js +0 -95
  581. package/dist/top-companies-T6AMU4C6.js +0 -111
  582. package/dist/transcript-DOUYMZAP.js +0 -165
  583. package/dist/translate-WKOXFZTQ.js +0 -603
  584. package/dist/triggers-EYY4GSUL.js +0 -144
  585. package/dist/unlink-JNM4WRZK.js +0 -70
  586. package/dist/unstage-QF4JT5YP.js +0 -88
  587. package/dist/update-6V3RBRIE.js +0 -101
  588. package/dist/update-J4DURR4K.js +0 -192
  589. package/dist/update-J7Y6LZC5.js +0 -155
  590. package/dist/update-MQ4NYIU6.js +0 -66
  591. package/dist/upload-CEIYYPID.js +0 -137
  592. package/dist/url-options-6WC2XQKB.js +0 -131
  593. package/dist/url-params-OVBIP6UA.js +0 -101
  594. package/dist/validate-UHXI2ESE.js +0 -135
  595. package/dist/videos-Z72RXCRB.js +0 -41
  596. package/dist/viewer-check-655BZRML.js +0 -83
  597. package/dist/web-4QN6QB7L.js +0 -173
  598. package/dist/winning-ads-2J2RIOLR.js +0 -86
  599. package/dist/write-commands-V7B4FBMX.js +0 -1524
  600. package/dist/x-7KXNCWTJ.js +0 -47
  601. /package/dist/{account-JVDP5ERG.js.map → account-52WDLW4Z.js.map} +0 -0
  602. /package/dist/{account-EXGRZIXS.js.map → account-7KZ7MHMN.js.map} +0 -0
  603. /package/dist/{account-reads-Z467VAL4.js.map → account-reads-CQIJCPCH.js.map} +0 -0
  604. /package/dist/{account-users-342OZALE.js.map → account-users-NUI3ILRE.js.map} +0 -0
  605. /package/dist/{account-writes-KEXINJ5D.js.map → account-writes-3BJSUM2V.js.map} +0 -0
  606. /package/dist/{accounts-QESGQJGZ.js.map → accounts-FLKNFDIE.js.map} +0 -0
  607. /package/dist/{accounts-UWC2TT6R.js.map → accounts-I2ZLR76R.js.map} +0 -0
  608. /package/dist/{accounts-QR6OQ3GC.js.map → accounts-ZV4IXOF5.js.map} +0 -0
  609. /package/dist/{actions-NT3HXFFA.js.map → actions-IR47GVZ6.js.map} +0 -0
  610. /package/dist/{activecampaign-EYRHDSXY.js.map → activecampaign-MNJYIWJL.js.map} +0 -0
  611. /package/dist/{ad-group-writes-SVR4RCKB.js.map → ad-group-writes-KU4QMQZP.js.map} +0 -0
  612. /package/dist/{ad-groups-C726HUXS.js.map → ad-groups-NMW2G32A.js.map} +0 -0
  613. /package/dist/{ad-writes-RWJIWGEL.js.map → ad-writes-7NOFTOM4.js.map} +0 -0
  614. /package/dist/{add-NSW26HIM.js.map → add-4I25INAO.js.map} +0 -0
  615. /package/dist/{add-EPOHDTUO.js.map → add-QMTD6EGI.js.map} +0 -0
  616. /package/dist/{ads-3KK7VQPU.js.map → ads-P4Z3MLKS.js.map} +0 -0
  617. /package/dist/{ads-EWZGIC4T.js.map → ads-PWTQC6KV.js.map} +0 -0
  618. /package/dist/{advertisers-AHOWL3YL.js.map → advertisers-LOIXTTGP.js.map} +0 -0
  619. /package/dist/{analytics-7H6NDVUQ.js.map → analytics-6AHC3J4L.js.map} +0 -0
  620. /package/dist/{analytics-GFFXCMLV.js.map → analytics-NL2KGDLK.js.map} +0 -0
  621. /package/dist/{animate-GTUI7XX4.js.map → animate-VX7E7KJE.js.map} +0 -0
  622. /package/dist/{assign-SDPPWP3Q.js.map → assign-NKHIHVGI.js.map} +0 -0
  623. /package/dist/{audience-size-LKDDHKED.js.map → audience-size-WEOM6XIL.js.map} +0 -0
  624. /package/dist/{audiences-6L43K2T2.js.map → audiences-P3SPTAJT.js.map} +0 -0
  625. /package/dist/{audit-TSZIQTUB.js.map → audit-4RIBJ7BR.js.map} +0 -0
  626. /package/dist/{autocomplete-5BSAOAMZ.js.map → autocomplete-FMTJDXTL.js.map} +0 -0
  627. /package/dist/{avatars-S6RRD7M3.js.map → avatars-LY5SFMWO.js.map} +0 -0
  628. /package/dist/{bid-pricing-5KUAINH4.js.map → bid-pricing-MQ7WLV5U.js.map} +0 -0
  629. /package/dist/{brand-KFK2MQWW.js.map → brand-LR5IXW3W.js.map} +0 -0
  630. /package/dist/{brief-6DV2PKAU.js.map → brief-4DSXIX3F.js.map} +0 -0
  631. /package/dist/{campaign-groups-5RPZPDNW.js.map → campaign-groups-EZYLKMO2.js.map} +0 -0
  632. /package/dist/{campaign-writes-FUIGN5OR.js.map → campaign-writes-P5XPFTRK.js.map} +0 -0
  633. /package/dist/{campaign-writes-XMYBEVZF.js.map → campaign-writes-UMENYMKO.js.map} +0 -0
  634. /package/dist/{campaigns-JNP3VDZK.js.map → campaigns-PP2DQMJE.js.map} +0 -0
  635. /package/dist/{campaigns-N2SWSBYT.js.map → campaigns-SWZJVE2T.js.map} +0 -0
  636. /package/dist/{campaigns-5A3IE735.js.map → campaigns-TAFDM242.js.map} +0 -0
  637. /package/dist/{canvas-CHFNQTLY.js.map → canvas-RKR3ZB4E.js.map} +0 -0
  638. /package/dist/{capabilities-2W3SRZ2I.js.map → capabilities-45RZ6E6W.js.map} +0 -0
  639. /package/dist/{catalog-6BER3SF7.js.map → catalog-TOHUVBEU.js.map} +0 -0
  640. /package/dist/{catalogs-G5NOKL4L.js.map → catalogs-V7PTEJBO.js.map} +0 -0
  641. /package/dist/{changes-AS4RVEAL.js.map → changes-5OW3UYMF.js.map} +0 -0
  642. /package/dist/{chatgpt-O6EEAYLF.js.map → chatgpt-JBMYNVJB.js.map} +0 -0
  643. /package/dist/{chats-4JLWMUAC.js.map → chats-VOLBYA3R.js.map} +0 -0
  644. /package/dist/{check-BOKLY5WG.js.map → check-4DI73QX4.js.map} +0 -0
  645. /package/dist/{chunk-QZ4YHQLW.js.map → chunk-22RM3UOO.js.map} +0 -0
  646. /package/dist/{chunk-WTOBG3YL.js.map → chunk-2TS2ITSG.js.map} +0 -0
  647. /package/dist/{chunk-ZMNRSTNV.js.map → chunk-2YXTXSYG.js.map} +0 -0
  648. /package/dist/{chunk-KG5VNPKU.js.map → chunk-2Z6PFHD2.js.map} +0 -0
  649. /package/dist/{chunk-GRX3JXSR.js.map → chunk-47VWQ7FQ.js.map} +0 -0
  650. /package/dist/{chunk-BEZEZHQ6.js.map → chunk-4QFMRL6O.js.map} +0 -0
  651. /package/dist/{chunk-4INBMXUS.js.map → chunk-5OC6VUDZ.js.map} +0 -0
  652. /package/dist/{chunk-HOA74TOS.js.map → chunk-5VXEH72O.js.map} +0 -0
  653. /package/dist/{chunk-LAMSUL26.js.map → chunk-BFAPSFS7.js.map} +0 -0
  654. /package/dist/{chunk-WZXMZFVB.js.map → chunk-BMMXYR7A.js.map} +0 -0
  655. /package/dist/{chunk-NOCBNING.js.map → chunk-BNEWJXKU.js.map} +0 -0
  656. /package/dist/{chunk-AXLKR3E4.js.map → chunk-BXTIG5JL.js.map} +0 -0
  657. /package/dist/{chunk-XY7W6MQN.js.map → chunk-C7KV5O5J.js.map} +0 -0
  658. /package/dist/{chunk-H4RHZJ65.js.map → chunk-CDPX6WAL.js.map} +0 -0
  659. /package/dist/{chunk-M5PZ6QQB.js.map → chunk-COOJKEJE.js.map} +0 -0
  660. /package/dist/{chunk-3KUNRKNV.js.map → chunk-CTJWMZPL.js.map} +0 -0
  661. /package/dist/{chunk-RLLPY62L.js.map → chunk-D5HD46VV.js.map} +0 -0
  662. /package/dist/{chunk-EMR5KGNY.js.map → chunk-EKOMZH2S.js.map} +0 -0
  663. /package/dist/{chunk-RULW4627.js.map → chunk-G4FU6VC5.js.map} +0 -0
  664. /package/dist/{chunk-RQHXWPET.js.map → chunk-H3RCEM6L.js.map} +0 -0
  665. /package/dist/{chunk-HQDNDKNR.js.map → chunk-HM4NWA72.js.map} +0 -0
  666. /package/dist/{chunk-KJHG2DWS.js.map → chunk-I33FO2ON.js.map} +0 -0
  667. /package/dist/{chunk-XHAGX4J4.js.map → chunk-IAE24RKD.js.map} +0 -0
  668. /package/dist/{chunk-D32EWSMB.js.map → chunk-IGCS3X4F.js.map} +0 -0
  669. /package/dist/{chunk-QGAUDVMR.js.map → chunk-IJ6WA2JW.js.map} +0 -0
  670. /package/dist/{chunk-EM5R3BYC.js.map → chunk-ITIUWJGQ.js.map} +0 -0
  671. /package/dist/{chunk-6OIKNJ7G.js.map → chunk-JAC6JVCI.js.map} +0 -0
  672. /package/dist/{chunk-LLTHDEM2.js.map → chunk-JCDCIQMA.js.map} +0 -0
  673. /package/dist/{chunk-J4AWNWKN.js.map → chunk-JGK2FDZW.js.map} +0 -0
  674. /package/dist/{chunk-QRRAMUKV.js.map → chunk-JSOOLOHP.js.map} +0 -0
  675. /package/dist/{chunk-CST52ZME.js.map → chunk-JT3UUBID.js.map} +0 -0
  676. /package/dist/{chunk-BMK4F4CU.js.map → chunk-KUI74TNG.js.map} +0 -0
  677. /package/dist/{chunk-6D7WTUF3.js.map → chunk-LAOCXV6Z.js.map} +0 -0
  678. /package/dist/{chunk-MFGUR5OD.js.map → chunk-LQACNCAV.js.map} +0 -0
  679. /package/dist/{chunk-EONUZOJV.js.map → chunk-MC5F2L64.js.map} +0 -0
  680. /package/dist/{chunk-CUTTTFAU.js.map → chunk-MKG57P2E.js.map} +0 -0
  681. /package/dist/{chunk-SIKCVWM3.js.map → chunk-MZPS46OR.js.map} +0 -0
  682. /package/dist/{chunk-NWLK5RPA.js.map → chunk-O2ECZKXP.js.map} +0 -0
  683. /package/dist/{chunk-5NMKNHJI.js.map → chunk-OJZKY5UM.js.map} +0 -0
  684. /package/dist/{chunk-S4RCF3YT.js.map → chunk-P4UCSXNA.js.map} +0 -0
  685. /package/dist/{chunk-C52Q3L4C.js.map → chunk-QLO4RNHU.js.map} +0 -0
  686. /package/dist/{chunk-X5YHMGAT.js.map → chunk-QSS34JWZ.js.map} +0 -0
  687. /package/dist/{chunk-UVUY6FLV.js.map → chunk-QVHZTCB5.js.map} +0 -0
  688. /package/dist/{chunk-Z7ICQKC2.js.map → chunk-RVIBHENP.js.map} +0 -0
  689. /package/dist/{chunk-YAINUFSC.js.map → chunk-TEJOILEY.js.map} +0 -0
  690. /package/dist/{chunk-V4HS5JRL.js.map → chunk-TEQEZAJI.js.map} +0 -0
  691. /package/dist/{chunk-HFIHXIYY.js.map → chunk-TNI7CN4L.js.map} +0 -0
  692. /package/dist/{chunk-ZBXV2KOQ.js.map → chunk-TPJ34LXX.js.map} +0 -0
  693. /package/dist/{chunk-RIVQ4PQQ.js.map → chunk-U6AWJIFP.js.map} +0 -0
  694. /package/dist/{chunk-WYMX3F47.js.map → chunk-V5ODOBBI.js.map} +0 -0
  695. /package/dist/{chunk-75OGTGC4.js.map → chunk-VAURJ4QJ.js.map} +0 -0
  696. /package/dist/{chunk-PR5OPERY.js.map → chunk-VAV5CCDD.js.map} +0 -0
  697. /package/dist/{chunk-JAK5VDSG.js.map → chunk-VWHUO3AP.js.map} +0 -0
  698. /package/dist/{chunk-JLAFNORO.js.map → chunk-W3TZPHZO.js.map} +0 -0
  699. /package/dist/{chunk-XA7JN7YE.js.map → chunk-WZATC4O5.js.map} +0 -0
  700. /package/dist/{chunk-6FQ7CJEX.js.map → chunk-X25XRSDP.js.map} +0 -0
  701. /package/dist/{chunk-DW3H2XQA.js.map → chunk-XGG72YRO.js.map} +0 -0
  702. /package/dist/{chunk-TCLJRWST.js.map → chunk-XWAOECD2.js.map} +0 -0
  703. /package/dist/{chunk-RGLTITIH.js.map → chunk-YDALLZNS.js.map} +0 -0
  704. /package/dist/{chunk-I3QLWGKS.js.map → chunk-Z3RGBLVJ.js.map} +0 -0
  705. /package/dist/{chunk-6OZDN2FI.js.map → chunk-Z5JWFNG4.js.map} +0 -0
  706. /package/dist/{claim-L4WLCVUL.js.map → claim-3UMAFZEM.js.map} +0 -0
  707. /package/dist/{companies-HW46BRQG.js.map → companies-RL5A26AT.js.map} +0 -0
  708. /package/dist/{company-KCIDE7SL.js.map → company-DJ44F5C6.js.map} +0 -0
  709. /package/dist/{complete-JXM25FVW.js.map → complete-PGNIP3LN.js.map} +0 -0
  710. /package/dist/{connect-7TX7AAM5.js.map → connect-ROARWN63.js.map} +0 -0
  711. /package/dist/{conversation-YIDUB6GL.js.map → conversation-GDFMJL7X.js.map} +0 -0
  712. /package/dist/{conversion-report-33SG7SHU.js.map → conversion-report-2FREFML5.js.map} +0 -0
  713. /package/dist/{conversion-upload-command-N3OMLLF2.js.map → conversion-upload-command-JAGV6GMG.js.map} +0 -0
  714. /package/dist/{conversion-writes-XGGTBML5.js.map → conversion-writes-JZIJSQ7T.js.map} +0 -0
  715. /package/dist/{conversions-F4OZYUCT.js.map → conversions-2IFWDQKK.js.map} +0 -0
  716. /package/dist/{conversions-PPP4QK7U.js.map → conversions-Q5EBTEXA.js.map} +0 -0
  717. /package/dist/{create-772LZHZR.js.map → create-B5DIYK5D.js.map} +0 -0
  718. /package/dist/{create-6EAKNERA.js.map → create-BRCSXXFO.js.map} +0 -0
  719. /package/dist/{create-FDNMIVFX.js.map → create-PXAUL6FF.js.map} +0 -0
  720. /package/dist/{create-X2QM7GA7.js.map → create-R6CMATVY.js.map} +0 -0
  721. /package/dist/{creatives-SNYN4KIM.js.map → creatives-D6O6Z46U.js.map} +0 -0
  722. /package/dist/{creatives-K2AAW6EL.js.map → creatives-XNVWQWFF.js.map} +0 -0
  723. /package/dist/{credentials-KZZVBO42.js.map → credentials-CLJO7WWY.js.map} +0 -0
  724. /package/dist/{critique-G5QXRHPF.js.map → critique-MBMKW6SL.js.map} +0 -0
  725. /package/dist/{critique-PUHOJI7V.js.map → critique-OUJDTVMI.js.map} +0 -0
  726. /package/dist/{crm-4LZZVT4N.js.map → crm-H5ITJ2RC.js.map} +0 -0
  727. /package/dist/{crm-M6NXDU5B.js.map → crm-JJHYRABB.js.map} +0 -0
  728. /package/dist/{currency-HK2ZW2VW.js.map → currency-EFDQYW5B.js.map} +0 -0
  729. /package/dist/{customers-V5NT4W7X.js.map → customers-C5YXAVXI.js.map} +0 -0
  730. /package/dist/{delete-GQIKNO53.js.map → delete-3GYCQK6B.js.map} +0 -0
  731. /package/dist/{delete-LFZIPQEO.js.map → delete-NBUDIGSD.js.map} +0 -0
  732. /package/dist/{delete-YOEI63OT.js.map → delete-WZ3KVVX5.js.map} +0 -0
  733. /package/dist/{demographics-CEQ74O74.js.map → demographics-O7AJW7DO.js.map} +0 -0
  734. /package/dist/{discard-5GDF3TP3.js.map → discard-RMVZAX2J.js.map} +0 -0
  735. /package/dist/{discover-Q5PAOIQQ.js.map → discover-BPUUWRBP.js.map} +0 -0
  736. /package/dist/{domain-PKOUPHHF.js.map → domain-J3ZMBOHS.js.map} +0 -0
  737. /package/dist/{download-2WNTN7JQ.js.map → download-ZVOGLTFB.js.map} +0 -0
  738. /package/dist/{draft-RZCTAOI2.js.map → draft-6PJD3MCW.js.map} +0 -0
  739. /package/dist/{draft-L2NXCIYT.js.map → draft-GCOCG4PO.js.map} +0 -0
  740. /package/dist/{draft-UEVBUNKV.js.map → draft-TPR3DH5N.js.map} +0 -0
  741. /package/dist/{draft-F4CVSL2I.js.map → draft-ZPGGWU7E.js.map} +0 -0
  742. /package/dist/{experiments-DWC6L72S.js.map → experiments-MM4BYHRH.js.map} +0 -0
  743. /package/dist/{extract-6HJXSOZW.js.map → extract-JMY6YRPW.js.map} +0 -0
  744. /package/dist/{facets-TBOXGYJT.js.map → facets-B5AZAU2C.js.map} +0 -0
  745. /package/dist/{feedback-WAC6S42V.js.map → feedback-2EVDGTEN.js.map} +0 -0
  746. /package/dist/{feedback-MSMFYAEY.js.map → feedback-4MCMOMVN.js.map} +0 -0
  747. /package/dist/{feedback-record-XRQ2R2WD.js.map → feedback-record-DL7UEU2H.js.map} +0 -0
  748. /package/dist/{fetch-LGX7B3IC.js.map → fetch-JDNFK476.js.map} +0 -0
  749. /package/dist/{fit-RVWPRBNO.js.map → fit-DKVH5BDW.js.map} +0 -0
  750. /package/dist/{flows-LA6EYMLS.js.map → flows-LURTZICL.js.map} +0 -0
  751. /package/dist/{fonts-WRC34VSV.js.map → fonts-HUXFDDAE.js.map} +0 -0
  752. /package/dist/{forecast-OVKXBLJB.js.map → forecast-HMNQZFVL.js.map} +0 -0
  753. /package/dist/{forecast-6VHRGBJG.js.map → forecast-UHTW4Y7Q.js.map} +0 -0
  754. /package/dist/{funnel-U3GQIGND.js.map → funnel-QM7WFFMD.js.map} +0 -0
  755. /package/dist/{generate-Y4NJEYIH.js.map → generate-KAWRRYTT.js.map} +0 -0
  756. /package/dist/{get-AHI247JG.js.map → get-237TYJZT.js.map} +0 -0
  757. /package/dist/{get-PF3HGECD.js.map → get-FWPR2YPC.js.map} +0 -0
  758. /package/dist/{google-BMUJKAUO.js.map → google-3CAUWNWE.js.map} +0 -0
  759. /package/dist/{google-ZVAIFXQZ.js.map → google-DTSLO3PT.js.map} +0 -0
  760. /package/dist/{google-ads-6Z7P3SCD.js.map → google-ads-RZOQQDQN.js.map} +0 -0
  761. /package/dist/{history-PD7FCTDD.js.map → history-H7S7XRBX.js.map} +0 -0
  762. /package/dist/{history-4QUV45ZJ.js.map → history-XL52537O.js.map} +0 -0
  763. /package/dist/{history-VKRYKQ4C.js.map → history-YQSYXBJH.js.map} +0 -0
  764. /package/dist/{hubspot-WEFAFKVJ.js.map → hubspot-2DSISSUI.js.map} +0 -0
  765. /package/dist/{ideas-SMSEXKIA.js.map → ideas-2XBFQJ56.js.map} +0 -0
  766. /package/dist/{images-KAT4BPYV.js.map → images-VFRQ32G5.js.map} +0 -0
  767. /package/dist/{ingest-IHKTSJ4H.js.map → ingest-4RPLN54K.js.map} +0 -0
  768. /package/dist/{ingest-TOHQ6MZA.js.map → ingest-TPVH44VI.js.map} +0 -0
  769. /package/dist/{insights-3IPSEBYW.js.map → insights-UVCFOB3N.js.map} +0 -0
  770. /package/dist/{inspect-5MZBPDYS.js.map → inspect-VD3GVXDU.js.map} +0 -0
  771. /package/dist/{intent-ZM4K623V.js.map → intent-F5NTOSQC.js.map} +0 -0
  772. /package/dist/{keyword-gap-FAAF2I6V.js.map → keyword-gap-EB5QATYN.js.map} +0 -0
  773. /package/dist/{keyword-metrics-EXNJRJBY.js.map → keyword-metrics-PW2DDIJW.js.map} +0 -0
  774. /package/dist/{keywords-for-site-5LW77QWF.js.map → keywords-for-site-JEPABY6E.js.map} +0 -0
  775. /package/dist/{landing-ZH4SD3DW.js.map → landing-4N6YSB4L.js.map} +0 -0
  776. /package/dist/{languages-ZGDTERIQ.js.map → languages-4S26FJDP.js.map} +0 -0
  777. /package/dist/{leads-736RILZN.js.map → leads-R5OZJQHW.js.map} +0 -0
  778. /package/dist/{learn-BESXWXEN.js.map → learn-AQ2FRFB7.js.map} +0 -0
  779. /package/dist/{line-item-writes-FA72DHNQ.js.map → line-item-writes-LGO7HIJJ.js.map} +0 -0
  780. /package/dist/{line-items-XVYE3IYT.js.map → line-items-AAZVKQ7E.js.map} +0 -0
  781. /package/dist/{link-6FPKFVC3.js.map → link-7IGHVARH.js.map} +0 -0
  782. /package/dist/{linkedin-TE6P4RYN.js.map → linkedin-UB2CW4KP.js.map} +0 -0
  783. /package/dist/{linkedin-person-TZJ6VEXE.js.map → linkedin-person-D6U2ZAUW.js.map} +0 -0
  784. /package/dist/{list-4R5EMKUQ.js.map → list-P44QRX2O.js.map} +0 -0
  785. /package/dist/{list-ORO4WDF4.js.map → list-UMJACDTQ.js.map} +0 -0
  786. /package/dist/{list-MN2FPF3T.js.map → list-VZKUHY4Y.js.map} +0 -0
  787. /package/dist/{locations-WN6B3IJK.js.map → locations-UWBQLHXW.js.map} +0 -0
  788. /package/dist/{locations-A65MFB7Q.js.map → locations-WXGOI3VV.js.map} +0 -0
  789. /package/dist/{log-ABBZLPRU.js.map → log-6ZKMUTYS.js.map} +0 -0
  790. /package/dist/{make-QAFKU6WO.js.map → make-5CEIJRBC.js.map} +0 -0
  791. /package/dist/{map-52P35OKE.js.map → map-ZL4MQVJZ.js.map} +0 -0
  792. /package/dist/{mcp-PZ3VBIF4.js.map → mcp-GSRYLRD4.js.map} +0 -0
  793. /package/dist/{media-sources-TT374PLN.js.map → media-sources-VSPVHLYN.js.map} +0 -0
  794. /package/dist/{members-CF6VG6ZW.js.map → members-L6SXP6GC.js.map} +0 -0
  795. /package/dist/{metrics-3U3ZO2RF.js.map → metrics-4AFEEDVP.js.map} +0 -0
  796. /package/dist/{models-VOSJJFO2.js.map → models-2ZEM64H5.js.map} +0 -0
  797. /package/dist/{normalize-4LZCLMTQ.js.map → normalize-GK7DH7ZP.js.map} +0 -0
  798. /package/dist/{options-6IRL7CL6.js.map → options-FDAAHG7C.js.map} +0 -0
  799. /package/dist/{organization-WMLLJE66.js.map → organization-K2FTFAAO.js.map} +0 -0
  800. /package/dist/{performance-A7CYFBW2.js.map → performance-N3UROH7Z.js.map} +0 -0
  801. /package/dist/{performance-HYSTXLTS.js.map → performance-RG2HR46T.js.map} +0 -0
  802. /package/dist/{pixels-U6UA662G.js.map → pixels-HEI5WVAO.js.map} +0 -0
  803. /package/dist/{preview-76ZP2QA3.js.map → preview-NVWIEUHF.js.map} +0 -0
  804. /package/dist/{promoted-tweet-writes-I5G4IDL5.js.map → promoted-tweet-writes-7QZRFDOM.js.map} +0 -0
  805. /package/dist/{promoted-tweets-X5XNO7IT.js.map → promoted-tweets-V555Y7DN.js.map} +0 -0
  806. /package/dist/{publish-S2Z4EF4H.js.map → publish-5KR6YLA6.js.map} +0 -0
  807. /package/dist/{query-SAQADBM2.js.map → query-K7MYBRTS.js.map} +0 -0
  808. /package/dist/{reddit-S2L5WDY7.js.map → reddit-XPQ7YAJW.js.map} +0 -0
  809. /package/dist/{refresh-K2YTJSH3.js.map → refresh-XFHEBSDU.js.map} +0 -0
  810. /package/dist/{release-FX76IIVN.js.map → release-3ECEF26P.js.map} +0 -0
  811. /package/dist/{relevant-pages-KTSODNNW.js.map → relevant-pages-XYQKVX3U.js.map} +0 -0
  812. /package/dist/{remove-LOVWPLDO.js.map → remove-OCTUC3RB.js.map} +0 -0
  813. /package/dist/{reopen-DXV2Y6Z3.js.map → reopen-JRI3TYD4.js.map} +0 -0
  814. /package/dist/{rerun-TFQCRRFK.js.map → rerun-HWWYCDT2.js.map} +0 -0
  815. /package/dist/{research-7PGDAKC7.js.map → research-ODPU62BA.js.map} +0 -0
  816. /package/dist/{research-HY5PSUCC.js.map → research-TG5CBTYP.js.map} +0 -0
  817. /package/dist/{reset-Y5VZJRDQ.js.map → reset-J2NLNITD.js.map} +0 -0
  818. /package/dist/{reset-MEHUQJA4.js.map → reset-SRU7YJUR.js.map} +0 -0
  819. /package/dist/{resolve-FAVABEJW.js.map → resolve-KHMMUGB2.js.map} +0 -0
  820. /package/dist/{retry-5IY4MNDW.js.map → retry-VLH4AO7F.js.map} +0 -0
  821. /package/dist/{retry-OMJ3C3AX.js.map → retry-WP7LWKZF.js.map} +0 -0
  822. /package/dist/{revenue-S4KFZCOI.js.map → revenue-EEIS2AV5.js.map} +0 -0
  823. /package/dist/{rules-66IGR2KA.js.map → rules-TTUGQAEB.js.map} +0 -0
  824. /package/dist/{rules-add-G7YGOYZJ.js.map → rules-add-AIXUAZXG.js.map} +0 -0
  825. /package/dist/{run-XJBWDWN6.js.map → run-AQTACLY6.js.map} +0 -0
  826. /package/dist/{run-LJVBH3JS.js.map → run-YA6IWQAJ.js.map} +0 -0
  827. /package/dist/{scaffold-ad-GNMCB3QY.js.map → scaffold-ad-IYNFJPT7.js.map} +0 -0
  828. /package/dist/{scaffold-video-G6G2NPUF.js.map → scaffold-video-BUN27PKS.js.map} +0 -0
  829. /package/dist/{schedule-OX5XHXLH.js.map → schedule-EH2MOC5C.js.map} +0 -0
  830. /package/dist/{scheduled-agents-A5ZFQB5X.js.map → scheduled-agents-DTAEP25E.js.map} +0 -0
  831. /package/dist/{schema-NTGHAPR2.js.map → schema-7B4MVVAS.js.map} +0 -0
  832. /package/dist/{search-WCXQBMMM.js.map → search-ZZWIJRXJ.js.map} +0 -0
  833. /package/dist/{select-5ZD7FVBT.js.map → select-LWZRF7KV.js.map} +0 -0
  834. /package/dist/{set-prompt-NGCVMQIQ.js.map → set-prompt-YKDH6FYK.js.map} +0 -0
  835. /package/dist/{setup-links-4HCSF55G.js.map → setup-links-OE6PC2YQ.js.map} +0 -0
  836. /package/dist/{shopify-GDR5WGHH.js.map → shopify-CCPLZI2H.js.map} +0 -0
  837. /package/dist/{site-B7LT6KAO.js.map → site-FW5BBLYG.js.map} +0 -0
  838. /package/dist/{sources-6DPUEROC.js.map → sources-WPHMWBEK.js.map} +0 -0
  839. /package/dist/{sources-OSUXCLID.js.map → sources-X77TGJ52.js.map} +0 -0
  840. /package/dist/{stale-YKFKPPOH.js.map → stale-SPCDL73V.js.map} +0 -0
  841. /package/dist/{status-KIC3P5JV.js.map → status-FLETGJ2A.js.map} +0 -0
  842. /package/dist/{stock-VWFUFRYV.js.map → stock-5AOSQH52.js.map} +0 -0
  843. /package/dist/{studio-XLC37YGX.js.map → studio-4EV5S7PR.js.map} +0 -0
  844. /package/dist/{sync-QBW4XH2H.js.map → sync-363VKXU3.js.map} +0 -0
  845. /package/dist/{sync-definition-4KMJK46H.js.map → sync-definition-ZDE5L644.js.map} +0 -0
  846. /package/dist/{tags-CB4MWI3A.js.map → tags-6MN3AWKN.js.map} +0 -0
  847. /package/dist/{tags-4F5UBPYG.js.map → tags-VOKUNEIW.js.map} +0 -0
  848. /package/dist/{tags-QZJIP4LJ.js.map → tags-Y6MNMIEA.js.map} +0 -0
  849. /package/dist/{tags-7RKKCQ4X.js.map → tags-YHAC3NVY.js.map} +0 -0
  850. /package/dist/{tags-4O5FPEEY.js.map → tags-ZCQMJ5YH.js.map} +0 -0
  851. /package/dist/{targeting-criteria-65UU7EYD.js.map → targeting-criteria-ECQFHQF3.js.map} +0 -0
  852. /package/dist/{targets-T742OPQI.js.map → targets-U2JHTB5U.js.map} +0 -0
  853. /package/dist/{testimonials-HKJJXONO.js.map → testimonials-IDVLMXDT.js.map} +0 -0
  854. /package/dist/{themes-Q6LVMEMF.js.map → themes-FW3VWZJE.js.map} +0 -0
  855. /package/dist/{top-companies-T6AMU4C6.js.map → top-companies-CBI4O3ZB.js.map} +0 -0
  856. /package/dist/{transcript-DOUYMZAP.js.map → transcript-IIRFTFRW.js.map} +0 -0
  857. /package/dist/{translate-WKOXFZTQ.js.map → translate-N6QW4FZB.js.map} +0 -0
  858. /package/dist/{triggers-EYY4GSUL.js.map → triggers-Q3KRAMA3.js.map} +0 -0
  859. /package/dist/{unlink-JNM4WRZK.js.map → unlink-7RVQXKAR.js.map} +0 -0
  860. /package/dist/{unstage-QF4JT5YP.js.map → unstage-3LPHNZKR.js.map} +0 -0
  861. /package/dist/{update-J4DURR4K.js.map → update-AL3LBHGK.js.map} +0 -0
  862. /package/dist/{update-J7Y6LZC5.js.map → update-AWR7EHGA.js.map} +0 -0
  863. /package/dist/{update-MQ4NYIU6.js.map → update-LNSSLZXG.js.map} +0 -0
  864. /package/dist/{update-6V3RBRIE.js.map → update-YBTFH5MN.js.map} +0 -0
  865. /package/dist/{upload-CEIYYPID.js.map → upload-45GCGMA5.js.map} +0 -0
  866. /package/dist/{url-options-6WC2XQKB.js.map → url-options-AHJPR5VY.js.map} +0 -0
  867. /package/dist/{url-params-OVBIP6UA.js.map → url-params-U6ZM4LL2.js.map} +0 -0
  868. /package/dist/{validate-UHXI2ESE.js.map → validate-S325RXPH.js.map} +0 -0
  869. /package/dist/{videos-Z72RXCRB.js.map → videos-NW2UP342.js.map} +0 -0
  870. /package/dist/{viewer-check-655BZRML.js.map → viewer-check-IDXFRRCO.js.map} +0 -0
  871. /package/dist/{web-4QN6QB7L.js.map → web-VMPKMBKA.js.map} +0 -0
  872. /package/dist/{winning-ads-2J2RIOLR.js.map → winning-ads-7UJXCWFH.js.map} +0 -0
  873. /package/dist/{write-commands-V7B4FBMX.js.map → write-commands-R42DQEW6.js.map} +0 -0
  874. /package/dist/{x-7KXNCWTJ.js.map → x-UGTUOCVR.js.map} +0 -0
@@ -1,843 +0,0 @@
1
- import {
2
- AD_PLACEMENTS
3
- } from "./chunk-F3CZFUXZ.js";
4
- import {
5
- hasOpenRouterKey,
6
- openRouterKey
7
- } from "./chunk-B64KJW5C.js";
8
-
9
- // src/engine/creative-rules/select.ts
10
- import { createHash } from "crypto";
11
- function platformFamily(name) {
12
- const platform = AD_PLACEMENTS.find((p) => p.id === name)?.platform ?? name;
13
- return platform.startsWith("google_") ? "google" : platform;
14
- }
15
- function runsOn(scoped, runs) {
16
- return runs.some((run) => scoped.some((name) => name === run || platformFamily(name) === platformFamily(run)));
17
- }
18
- var RULES_CHARS = 12e3;
19
- var STRENGTH_ORDER = { never: 0, must: 1, prefer: 2 };
20
- function holdsFor(rule, target) {
21
- const { kinds, products, platforms } = rule.scope;
22
- if (kinds?.length && target.kind && !kinds.includes(target.kind)) return false;
23
- if (products?.length && target.product && !products.includes(target.product)) return false;
24
- const runs = target.platforms?.length ? target.platforms : target.platform ? [target.platform] : [];
25
- if (platforms?.length && runs.length > 0 && !runsOn(platforms, runs)) return false;
26
- return true;
27
- }
28
- function byStrength(a, b) {
29
- return STRENGTH_ORDER[a.strength] - STRENGTH_ORDER[b.strength] || Number(a.origin === "declared") - Number(b.origin === "declared") || (b.source.date ?? "").localeCompare(a.source.date ?? "");
30
- }
31
- function selectRules(rules, target, waived = []) {
32
- const held = rules.filter((r) => r.status === "active" && !waived.includes(r.id) && holdsFor(r, target)).sort(byStrength);
33
- const picked = [];
34
- let used = 0;
35
- for (const rule of held) {
36
- used += rule.text.length + (rule.source.quote?.length ?? 0);
37
- if (used > RULES_CHARS && picked.length > 0) break;
38
- picked.push(rule);
39
- }
40
- return picked;
41
- }
42
- function rulesDigest(rules) {
43
- const canonical = [...rules].map((r) => [r.id, r.strength, r.applies, r.text, r.check ?? null]).sort((a, b) => String(a[0]).localeCompare(String(b[0])));
44
- return createHash("sha256").update(JSON.stringify(canonical)).digest("hex").slice(0, 12);
45
- }
46
- var RULES_OPEN = "<company_rules>";
47
- var RULES_CLOSE = "</company_rules>";
48
- function rulesBlock(rules, intro) {
49
- if (rules.length === 0) return "";
50
- const lines = rules.map((r) => {
51
- const quote = r.source.quote && r.source.quote !== r.text ? ` (their words: "${r.source.quote}")` : "";
52
- return `- [${r.strength}] ${r.id}: ${r.text}${quote}`;
53
- });
54
- const lead = intro ?? "The company's standing rules for its ads: a never or a must is a requirement, a prefer is its taste.";
55
- return [RULES_OPEN, lead, ...lines, RULES_CLOSE].join("\n");
56
- }
57
- function withoutRulesBlocks(text) {
58
- if (!text.includes(RULES_OPEN)) return text;
59
- return text.replace(new RegExp(`\\s*${RULES_OPEN}[\\s\\S]*?${RULES_CLOSE.replace("/", "\\/")}`, "g"), "");
60
- }
61
- function withoutRulesDeep(value) {
62
- if (typeof value === "string") return withoutRulesBlocks(value);
63
- if (Array.isArray(value)) return value.map(withoutRulesDeep);
64
- if (value && typeof value === "object") {
65
- return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, withoutRulesDeep(v)]));
66
- }
67
- return value;
68
- }
69
- var BRIEF_RULES = 8;
70
- function briefRules(rules) {
71
- return rules.filter(
72
- (r) => r.origin === "learned" ? r.applies === "picture" || r.applies === "cast" || r.applies === "logo" : r.applies === "cast" || r.applies === "logo"
73
- ).slice(0, BRIEF_RULES);
74
- }
75
-
76
- // src/engine/nodes/local/lib/render-review.ts
77
- import { execFile } from "child_process";
78
- import { mkdtemp, readdir, readFile, rm } from "fs/promises";
79
- import { tmpdir } from "os";
80
- import path from "path";
81
- import { promisify } from "util";
82
- import { z } from "zod";
83
-
84
- // src/engine/nodes/local/lib/rules-findings.ts
85
- var SEEN_IN_A_STILL = /* @__PURE__ */ new Set(["copy", "picture", "cast", "logo", "any"]);
86
- var reviewedRules = (rules) => rules.filter((r) => r.origin === "learned" && SEEN_IN_A_STILL.has(r.applies));
87
- function buildRulesReviewPrompt(opts) {
88
- const ids = reviewedRules(opts.rules).map((r) => r.id);
89
- return [
90
- `These are the finished sizes of ONE ad, in this order: ${opts.formats.join(", ")}.`,
91
- `Check the ad against each of the company's rules above (${ids.join(", ")}). A rule is broken only when you can plainly see it broken on the ad as it is: its words as they print, what the picture shows, who appears, the logo. A rule about something this ad does not show is not broken. Never report anything that is not one of these rules.`,
92
- 'For each rule broken, give its id exactly, the size you see it on, and in under twenty words what on the ad breaks it. Reply with only this JSON: {"broken":[{"rule":"<rule id>","format":"4:5","what":"..."}]}; {"broken":[]} when the ad keeps every rule.'
93
- ].join("\n");
94
- }
95
- function rulesSystem(rules) {
96
- return rulesBlock(
97
- reviewedRules(rules),
98
- "You check finished ads against the company's own standing rules for every ad. A never or a must is a requirement; a prefer is its taste. The rules, each with its id:"
99
- );
100
- }
101
- var ELEMENT = {
102
- copy: "copy",
103
- logo: "logo",
104
- picture: "picture",
105
- cast: "picture",
106
- any: "picture",
107
- voice: "other",
108
- sound: "other",
109
- subtitles: "other"
110
- };
111
- function classifyRuleFindings(json, rules) {
112
- const broken = json?.broken;
113
- if (!Array.isArray(broken)) return [];
114
- return broken.flatMap((raw) => {
115
- const entry = raw ?? {};
116
- const rule = rules.find((r) => r.id === entry.rule);
117
- const what = typeof entry.what === "string" ? entry.what.trim() : "";
118
- if (!rule || !what) return [];
119
- const format = typeof entry.format === "string" && entry.format.trim() ? `${entry.format.trim()}: ` : "";
120
- const kind = {
121
- item: "rule",
122
- element: ELEMENT[rule.applies],
123
- defect: "other",
124
- edges: [],
125
- rule: rule.id
126
- };
127
- return [
128
- {
129
- severity: rule.strength === "prefer" ? "warning" : "blocking",
130
- what: `${format}breaks ${rule.id} (${rule.text}): ${what}`,
131
- kind
132
- }
133
- ];
134
- });
135
- }
136
- var HEARD = /* @__PURE__ */ new Set(["voice", "sound", "subtitles", "copy", "any"]);
137
- var heardRules = (rules) => rules.filter((r) => r.origin === "learned" && HEARD.has(r.applies));
138
-
139
- // src/engine/nodes/local/lib/render-review.ts
140
- var RENDER_REVIEW_MODEL = "~google/gemini-pro-latest";
141
- var RENDER_REVIEW_FRAMES = 12;
142
- var RENDER_REVIEW_WIDTH = 1024;
143
- var RENDER_WATCH_MODEL = "~google/gemini-flash-latest";
144
- function usageFrom(model, body) {
145
- const usage = body?.usage;
146
- if (!usage) return null;
147
- const positive = (value) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : null;
148
- return {
149
- model,
150
- inputTokens: usage.prompt_tokens ?? 0,
151
- outputTokens: usage.completion_tokens ?? 0,
152
- costUsd: positive(usage.cost) ?? positive(usage.cost_details?.upstream_inference_cost) ?? 0
153
- };
154
- }
155
- var WATCH_MAX_BYTES = 60 * 1024 * 1024;
156
- var STATIC_REVIEW_ITEMS = [
157
- "text",
158
- "logo",
159
- "layout",
160
- "safe_zone",
161
- "picture",
162
- "subject",
163
- "person",
164
- "people",
165
- "one_idea",
166
- "thumbnail",
167
- "concept",
168
- "viewer",
169
- "proof",
170
- "sizes",
171
- "native",
172
- "rule",
173
- "other"
174
- ];
175
- var FINDING_ELEMENTS = ["copy", "button", "logo", "scene_text", "picture", "other"];
176
- var FINDING_DEFECTS = ["cut", "missing", "unreadable", "other"];
177
- var FRAME_EDGES = ["top", "bottom", "left", "right"];
178
- function sceneAt(windows, atS) {
179
- return windows.find((w) => atS >= w.startS && atS < w.endS)?.file;
180
- }
181
- function reviewFrameTimes(durationS, frames) {
182
- const n = Math.max(2, frames);
183
- const last = Math.max(0, durationS - 0.15);
184
- const step = last / (n - 1);
185
- return Array.from({ length: n }, (_, i) => Math.round(i * step * 100) / 100);
186
- }
187
- function buildFrameGrabArgs(video, atS, out) {
188
- return [
189
- "-v",
190
- "error",
191
- "-ss",
192
- String(atS),
193
- "-i",
194
- video,
195
- "-frames:v",
196
- "1",
197
- "-vf",
198
- `scale=${RENDER_REVIEW_WIDTH}:-2`,
199
- out,
200
- "-y"
201
- ];
202
- }
203
- var FrameReview = z.object({
204
- /** Something in shot that could not happen, or is being done wrong. */
205
- impossible: z.array(z.string()).default([]),
206
- /** Objects present in frame that belong to no part of the scene. */
207
- strays: z.array(z.string()).default([])
208
- });
209
- var ReelReview = z.object({
210
- /** Whether the people the script treats as one person stay one person. */
211
- cast_is_consistent: z.boolean().default(true),
212
- cast_note: z.string().default(""),
213
- /** Whether the advertiser's mark is visible anywhere. */
214
- brand_mark_visible: z.boolean().default(false),
215
- /** Whether the last frames close the ad rather than trailing off. */
216
- ends_on_a_close: z.boolean().default(false),
217
- ending_note: z.string().default(""),
218
- /** Whether the ad ever cuts away from the presenter to show anything. */
219
- shows_more_than_a_face: z.boolean().default(true),
220
- shows_note: z.string().default("")
221
- });
222
- function buildFrameReviewPrompt(opts) {
223
- const subject = opts.subject ? ` The advertiser is ${opts.subject}.` : "";
224
- return `This is ONE frame from a video advertisement.${subject}
225
-
226
- Answer only about what is visible in THIS frame. Do not judge whether the ad is good, and do not comment on style, mood or lighting.
227
-
228
- 1. IMPOSSIBLE OR WRONG. Is anything shown that could not physically happen, or that shows the job being done incorrectly? Judge the PROCEDURE, not only the physics: equipment resting where it would never rest, a component fitted to nothing, someone handling a part in a way that would damage it, an object at the wrong scale beside a person, a body with a limb missing or duplicated.
229
- 2. STRAYS. Is any object present that belongs to no part of the scene \u2014 floating, unattached, or cut off from whatever should hold it?
230
-
231
- Report only what you can actually see. An empty list is the right answer for a clean frame. Keep each item under twelve words.
232
-
233
- Reply with only this JSON: {"impossible":[],"strays":[]}`;
234
- }
235
- function buildReelReviewPrompt(opts) {
236
- const subject = opts.subject ? ` The advertiser is ${opts.subject}.` : "";
237
- const script = opts.script ? `
238
-
239
- The voiceover says, in order:
240
- ${opts.script}` : "";
241
- return `These frames are sampled in order from one video advertisement.${subject}` + script + `
242
-
243
- Answer only about what is visible.
244
-
245
- 1. CAST. Do the people stay the same people? If the script speaks about one customer and the frames show different faces in that role, say so and count them.
246
- 2. BRAND. Is the advertiser's logo or wordmark visible in ANY frame? Answer yes only if you can actually see a mark \u2014 a colour is not a mark.
247
- 3. ENDING. Do the final frames close the advertisement \u2014 a call to action, a mark, a card \u2014 or does the picture simply carry on and stop?
248
- 4. WHAT IT SHOWS. Does the advertisement ever cut away from the person to show the thing it is selling, or its result? Answer false if every frame is the same person with only the framing changed, and nothing is ever shown.
249
-
250
- Reply with only this JSON:
251
- {"cast_is_consistent":true,"cast_note":"","brand_mark_visible":false,"ends_on_a_close":false,"ending_note":"","shows_more_than_a_face":true,"shows_note":""}`;
252
- }
253
- function parseReviewJson(raw) {
254
- const fenced = raw.match(/```(?:json)?\s*([\s\S]*?)```/);
255
- const body = (fenced?.[1] ?? raw).trim();
256
- const start = body.indexOf("{");
257
- const end = body.lastIndexOf("}");
258
- if (start === -1 || end === -1 || end < start) return null;
259
- const json = body.slice(start, end + 1);
260
- for (const candidate of [json, json.replace(UNCLOSED_NUMBERS, "[$1]}")]) {
261
- try {
262
- return JSON.parse(candidate);
263
- } catch {
264
- }
265
- }
266
- return boxListOf(json.replace(UNCLOSED_NUMBERS, "[$1]}"));
267
- }
268
- var UNCLOSED_NUMBERS = /\[(\s*-?\d+(?:\.\d+)?(?:\s*,\s*-?\d+(?:\.\d+)?)*)\s*\}/g;
269
- var BOX_LIST = /^\{\s*"items"\s*:\s*\[/;
270
- function closingQuote(text, open) {
271
- for (let i = open + 1; i < text.length; i++) {
272
- if (text[i] === "\\") i++;
273
- else if (text[i] === '"') return i;
274
- }
275
- return text.length;
276
- }
277
- function objectsIn(text) {
278
- const out = [];
279
- let end = 0;
280
- let depth = 0;
281
- let from = 0;
282
- for (let i = 0; i < text.length; i++) {
283
- const ch = text[i];
284
- if (ch === '"') i = closingQuote(text, i);
285
- else if (ch === "{") {
286
- if (depth === 0) from = i;
287
- depth++;
288
- } else if (ch === "}" && depth > 0) {
289
- depth--;
290
- if (depth === 0) {
291
- out.push(text.slice(from, i + 1));
292
- end = i + 1;
293
- }
294
- }
295
- }
296
- return { objects: out, end, open: depth > 0 };
297
- }
298
- function boxListOf(json) {
299
- const list = json.match(BOX_LIST);
300
- if (!list) return null;
301
- const seen = /* @__PURE__ */ new Set();
302
- const items = [];
303
- const body = json.slice(list[0].length);
304
- const scan = objectsIn(body);
305
- if (scan.open || !body.slice(scan.end).includes("]")) return null;
306
- for (const object of scan.objects) {
307
- let item;
308
- try {
309
- item = JSON.parse(object);
310
- } catch {
311
- return null;
312
- }
313
- const key = JSON.stringify(item);
314
- if (seen.has(key)) continue;
315
- seen.add(key);
316
- items.push(item);
317
- }
318
- return items.length > 0 ? { items } : null;
319
- }
320
- var normalise = (s) => s.toLowerCase().replace(/[^a-z0-9 ]/g, " ").replace(/\s+/g, " ").trim();
321
- var ANATOMY = /\b(finger|fingers|hand|hands|thumb|limb|leg|legs|arm|arms|foot|feet|anatomy)\b/i;
322
- function collapseRepeats(frames) {
323
- const seen = /* @__PURE__ */ new Map();
324
- for (const frame of frames) {
325
- const parsed = FrameReview.safeParse(frame.json);
326
- if (!parsed.success) continue;
327
- for (const item of [...parsed.data.impossible, ...parsed.data.strays]) {
328
- const text = item.trim();
329
- const key = normalise(text);
330
- if (!key) continue;
331
- const hit = seen.get(key);
332
- if (hit) hit.at.push(frame.at);
333
- else seen.set(key, { what: text, at: [frame.at] });
334
- }
335
- }
336
- return [...seen.values()];
337
- }
338
- function classifyFrameFindings(frames, windows = []) {
339
- const seen = collapseRepeats(frames);
340
- const anatomy = seen.filter((f) => ANATOMY.test(f.what));
341
- const rest = seen.filter((f) => !ANATOMY.test(f.what));
342
- const findings = rest.map((f) => {
343
- const scene = sceneAt(windows, f.at[0]);
344
- return {
345
- severity: "blocking",
346
- what: `At ${f.at.map((s) => `${s}s`).join(", ")}${scene ? ` (${scene})` : ""}: ${f.what}`,
347
- ...scene ? { scene } : {}
348
- };
349
- });
350
- if (anatomy.length > 0) {
351
- const at = [...new Set(anatomy.flatMap((f) => f.at))].sort((a, b) => a - b);
352
- findings.push({
353
- severity: "blocking",
354
- what: `Malformed hands or limbs in ${at.length} of ${frames.length} sampled frames (${at.map((s) => `${s}s${sceneAt(windows, s) ? ` \u2192 ${sceneAt(windows, s)}` : ""}`).join(", ")}): ${anatomy.map((f) => f.what).join(" ")} Re-render those beats \u2014 keep hands out of frame, or away from the object being held.`
355
- });
356
- }
357
- return findings;
358
- }
359
- function buildWatchReviewPrompt(opts) {
360
- const market = opts.market?.trim();
361
- const heard = heardRules(opts.rules ?? []);
362
- const rules = heard.length > 0 ? `${rulesBlock(heard, "5. RULES. The company holds every ad to its own rules, each with its id:")}
363
- For each rule this video plainly breaks, in what is said, how it sounds, its subtitles or what is shown, give its id exactly, the timestamp and what breaks it. A rule about something this video does not do is not broken.
364
- ` : "";
365
- return `Watch and LISTEN to this advertisement, then answer about the things that only exist in motion and in sound.
366
- 1. SPOKEN VARIETY. ${market ? `The ad is set in ${market}. ` : ""}Does the speaker's accent belong there? Quote the words you heard that show it \u2014 a phonetic marker beats an impression.
367
- 2. VOICE AND MOUTH. Does the voice belong to the mouth on screen, in timing and in person?
368
- 3. CUTS. Do the shot changes hold, or does something jump, repeat or stutter between them?
369
- 4. DEFECTS. List anything else wrong, each with the exact timestamp where it happens \u2014 a moment maps to the shot that produced it, and a defect without one is a complaint rather than an instruction.
370
- ` + rules + `Answer JSON only: {"spoken_variety_matches":true|false,"variety_note":"...","voice_matches_mouth":true|false,"mouth_note":"...","cuts_are_clean":true|false,"cuts_note":"...","defects":[{"at":"MM:SS.s","kind":"cut|lipsync|audio|visual","what":"..."}]${heard.length > 0 ? ',"rules_broken":[{"rule":"<rule id>","at":"MM:SS.s","what":"..."}]' : ""}}`;
371
- }
372
- var WatchReview = z.object({
373
- spoken_variety_matches: z.boolean(),
374
- variety_note: z.string().default(""),
375
- voice_matches_mouth: z.boolean(),
376
- mouth_note: z.string().default(""),
377
- cuts_are_clean: z.boolean(),
378
- cuts_note: z.string().default("")
379
- });
380
- var WatchDefects = z.object({
381
- defects: z.array(
382
- z.object({
383
- at: z.string().default(""),
384
- kind: z.string().default(""),
385
- what: z.string().default("")
386
- })
387
- ).default([])
388
- });
389
- function classifyWatchRules(json, rules, windows) {
390
- const broken = json?.rules_broken;
391
- if (!Array.isArray(broken)) return [];
392
- return broken.flatMap((raw) => {
393
- const entry = raw ?? {};
394
- const at = typeof entry.at === "string" ? entry.at.trim() : "";
395
- const [finding] = classifyRuleFindings({ broken: [{ ...raw, format: at }] }, heardRules(rules));
396
- if (!finding) return [];
397
- const moment = parseMoment(at);
398
- const scene = moment === null ? void 0 : sceneAt(windows, moment);
399
- return [{ ...finding, ...scene ? { scene } : {} }];
400
- });
401
- }
402
- function parseMoment(at) {
403
- const trimmed = at.trim();
404
- const clock = /^(\d+):(\d+(?:\.\d+)?)$/.exec(trimmed);
405
- if (clock) return Number(clock[1]) * 60 + Number(clock[2]);
406
- const plain = Number(trimmed.replace(/s$/i, ""));
407
- return Number.isFinite(plain) ? plain : null;
408
- }
409
- function classifyWatchDefects(json, windows) {
410
- const parsed = WatchDefects.safeParse(json);
411
- if (!parsed.success) return [];
412
- return parsed.data.defects.filter((d) => d.what.trim()).map((d) => {
413
- const at = parseMoment(d.at);
414
- const scene = at === null ? void 0 : sceneAt(windows, at);
415
- const when = d.at.trim() ? ` at ${d.at.trim()}` : "";
416
- return {
417
- severity: "warning",
418
- what: `${d.what.trim()}${when}${d.kind.trim() ? ` (${d.kind.trim()})` : ""}.`,
419
- ...scene ? { scene } : {}
420
- };
421
- });
422
- }
423
- var FidelityReview = z.object({
424
- delivers_the_ask: z.boolean(),
425
- missing: z.array(z.string()).default([]),
426
- contradicted: z.array(z.string()).default([])
427
- });
428
- function buildFidelityPrompt(brief) {
429
- return `Someone asked for an advertisement in these words:
430
-
431
- """${brief.trim()}"""
432
-
433
- Watch and LISTEN to the video, then answer only this: does it deliver what they asked for? Judge the request as it was written \u2014 not what would make a good ad, and not what you would have made. Two lists: what they asked for that is NOT in the video, and what the video does that CONTRADICTS what they asked for. Quote their own words in each entry so the answer can be checked. Empty lists when it delivers.
434
- Answer JSON only: {"delivers_the_ask":true|false,"missing":["..."],"contradicted":["..."]}`;
435
- }
436
- function classifyFidelityFindings(json) {
437
- const parsed = FidelityReview.safeParse(json);
438
- if (!parsed.success) return [];
439
- const r = parsed.data;
440
- if (r.delivers_the_ask) return [];
441
- return [...r.missing, ...r.contradicted].map((entry) => entry.trim()).filter(Boolean).map((what) => ({ severity: "blocking", what: `Not what was asked for: ${what}.` }));
442
- }
443
- function classifyWatchFindings(json) {
444
- const parsed = WatchReview.safeParse(json);
445
- if (!parsed.success) return [];
446
- const r = parsed.data;
447
- const findings = [];
448
- if (!r.spoken_variety_matches) {
449
- findings.push({
450
- severity: "blocking",
451
- what: `The voice speaks the wrong variety of the language${r.variety_note.trim() ? `: ${r.variety_note.trim()}` : ""}. A pinned voice cannot fix this \u2014 the re-voicing is speech-to-speech and carries the accent across, so state the market on the ad and let the clip prompt name the accent.`
452
- });
453
- }
454
- if (!r.voice_matches_mouth) {
455
- findings.push({
456
- severity: "blocking",
457
- what: `The voice does not match the mouth${r.mouth_note.trim() ? `: ${r.mouth_note.trim()}` : ""}. A person visibly speaking under a track that is not theirs reads as bad dubbing.`
458
- });
459
- }
460
- if (!r.cuts_are_clean) {
461
- findings.push({
462
- severity: "warning",
463
- what: `The cuts do not hold${r.cuts_note.trim() ? `: ${r.cuts_note.trim()}` : ""}.`
464
- });
465
- }
466
- return findings;
467
- }
468
- function classifyReelFindings(json) {
469
- const parsed = ReelReview.safeParse(json);
470
- if (!parsed.success) return [];
471
- const r = parsed.data;
472
- const findings = [];
473
- if (!r.cast_is_consistent) {
474
- findings.push({
475
- severity: "blocking",
476
- what: `The cast changes between shots${r.cast_note.trim() ? `: ${r.cast_note.trim()}` : ""}. One customer played by several faces reads as stock footage. Ground the frames on one identity (\`baker avatars\`) or write the beats so the subject is never the same person twice.`
477
- });
478
- }
479
- if (!r.brand_mark_visible) {
480
- findings.push({
481
- severity: "warning",
482
- what: "No brand mark is visible in any frame. THIS IS NOT A RE-RENDER: the mark is drawn by the caption composition as an ordinary `<img>`, never generated as a picture \u2014 so fix the mark itself (a bad path, or an SVG whose geometry clips its own wordmark) or the `.brand-mark` / `.endcard-logo` rules in `<composition>/index.html`, then re-run. Every clip comes back from the cache and only the composition pass renders again, so it costs seconds and no generation."
483
- });
484
- }
485
- if (!r.shows_more_than_a_face) {
486
- findings.push({
487
- severity: "blocking",
488
- what: `The ad never shows what it is selling${r.shows_note.trim() ? `: ${r.shows_note.trim()}` : ""} \u2014 every frame is the same person with only the framing changed. Give the middle beats their own picture (the bill, the roof, the install, the house) and set \`cast: false\` on them.`
489
- });
490
- }
491
- if (!r.ends_on_a_close) {
492
- findings.push({
493
- severity: "warning",
494
- what: `The video does not close${r.ending_note.trim() ? `: ${r.ending_note.trim()}` : ""} \u2014 it runs on and stops. Give the last beat a call to action, and keep its shot short enough that the picture ends with the read.`
495
- });
496
- }
497
- return findings;
498
- }
499
- function videoPathFromOutput(output) {
500
- const refs = Array.isArray(output) ? output : [output];
501
- let found = null;
502
- for (const ref of refs) {
503
- const r = ref;
504
- if (!r || typeof r !== "object") continue;
505
- const isVideo = r.kind === "video" || typeof r.mime === "string" && r.mime.startsWith("video/");
506
- if (isVideo && typeof r.path === "string" && r.path) found = r.path;
507
- }
508
- return found;
509
- }
510
- function parseVolume(volumedetect, key) {
511
- const raw = new RegExp(`${key}:\\s*(-?(?:inf|[\\d.]+)) dB`).exec(volumedetect)?.[1];
512
- if (raw === void 0) return Number.NaN;
513
- if (raw === "-inf") return Number.NEGATIVE_INFINITY;
514
- return Number.parseFloat(raw);
515
- }
516
- function classifyAudio(volumedetect, hasAudioStream) {
517
- if (!hasAudioStream) {
518
- return [
519
- {
520
- severity: "blocking",
521
- what: "The finished video has no audio track at all \u2014 no voice, no music, nothing. An ad that plays silent in a feed is not an ad."
522
- }
523
- ];
524
- }
525
- const mean = parseVolume(volumedetect, "mean_volume");
526
- const max = parseVolume(volumedetect, "max_volume");
527
- const findings = [];
528
- if (mean === Number.NEGATIVE_INFINITY || max === Number.NEGATIVE_INFINITY) {
529
- return [
530
- {
531
- severity: "blocking",
532
- what: "The finished video has an audio track, but it is completely silent \u2014 digital zero from start to end. An ad that plays silent in a feed is not an ad."
533
- }
534
- ];
535
- }
536
- if (Number.isFinite(mean) && mean < -30) {
537
- findings.push({
538
- severity: "warning",
539
- what: `The mix is very quiet (${mean} dB average). On a phone at half volume this is close to silence \u2014 check the music bed is not ducked into nothing under the voice.`
540
- });
541
- }
542
- if (Number.isFinite(max) && max > -0.5) {
543
- findings.push({
544
- severity: "warning",
545
- what: `The mix peaks at ${max} dB, which is at or over the ceiling \u2014 the voice will distort on a phone speaker. Bring the loudest track down a few dB.`
546
- });
547
- }
548
- return findings;
549
- }
550
- var RENDER_REVIEW_UNAVAILABLE = "The render was NOT reviewed \u2014 no model gateway key in this environment. Watch it yourself before sending it on.";
551
- var RULE_FRAME_STEP = 3;
552
- async function framesAgainstRules(grabbed, checkStills) {
553
- if (!checkStills) return [];
554
- const sampled = grabbed.filter((_, i) => i % RULE_FRAME_STEP === 0);
555
- const found = await checkStills(
556
- sampled.map((f) => f.image),
557
- sampled.map((f) => `the frame at ${f.at.toFixed(1)}s`)
558
- ).catch(() => null);
559
- return found ?? [
560
- {
561
- severity: "warning",
562
- what: "The frames were not checked against the company's rules (the model did not answer): read them against `rules` in the brief yourself."
563
- }
564
- ];
565
- }
566
- var REVIEW_CONCURRENCY = 3;
567
- async function mapWithLimit(items, limit, fn) {
568
- const out = new Array(items.length);
569
- let next = 0;
570
- await Promise.all(
571
- Array.from({ length: Math.min(limit, items.length) }, async () => {
572
- for (let i = next++; i < items.length; i = next++) {
573
- out[i] = await fn(items[i]);
574
- }
575
- })
576
- );
577
- return out;
578
- }
579
- var execFileAsync = promisify(execFile);
580
- async function measureAudio(video) {
581
- const streams = await execFileAsync(
582
- "ffprobe",
583
- ["-v", "error", "-select_streams", "a", "-show_entries", "stream=codec_type", "-of", "csv=p=0", video],
584
- { timeout: 2e4 }
585
- ).catch(() => null);
586
- if (!streams) return [];
587
- const hasAudio = streams.stdout.trim().length > 0;
588
- if (!hasAudio) return classifyAudio("", false);
589
- const vol = await execFileAsync("ffmpeg", ["-i", video, "-map", "0:a:0", "-af", "volumedetect", "-f", "null", "-"], {
590
- timeout: 12e4,
591
- maxBuffer: 8 * 1024 * 1024
592
- }).catch((e) => ({ stdout: "", stderr: e.stderr ?? "" }));
593
- return classifyAudio(vol.stderr ?? "", true);
594
- }
595
- async function videoDuration(video) {
596
- try {
597
- const { stdout } = await execFileAsync(
598
- "ffprobe",
599
- ["-v", "error", "-show_entries", "format=duration", "-of", "default=nw=1:nk=1", video],
600
- { timeout: 2e4 }
601
- );
602
- const seconds = Number.parseFloat(stdout.trim());
603
- return Number.isFinite(seconds) && seconds > 0 ? seconds : null;
604
- } catch {
605
- return null;
606
- }
607
- }
608
- async function askGateway(model, parts, timeoutMs, spent, reasoning, extra = {}, system) {
609
- const key = openRouterKey();
610
- if (!key) return null;
611
- try {
612
- const response = await fetch("https://openrouter.ai/api/v1/chat/completions", {
613
- method: "POST",
614
- headers: { "content-type": "application/json", authorization: `Bearer ${key}` },
615
- body: JSON.stringify({
616
- model,
617
- messages: [...system ? [{ role: "system", content: system }] : [], { role: "user", content: parts }],
618
- usage: { include: true },
619
- ...reasoning ? { reasoning } : {},
620
- ...extra
621
- }),
622
- signal: AbortSignal.timeout(timeoutMs)
623
- });
624
- if (!response.ok) return null;
625
- const body = await response.json();
626
- const usage = usageFrom(model, body);
627
- if (usage) spent(usage);
628
- const text = body.choices?.[0]?.message?.content;
629
- return text ? parseReviewJson(text) : null;
630
- } catch {
631
- return null;
632
- }
633
- }
634
- async function askVideo(video, prompt, spent) {
635
- let bytes;
636
- try {
637
- bytes = await readFile(video);
638
- } catch {
639
- return null;
640
- }
641
- if (bytes.byteLength > WATCH_MAX_BYTES) return null;
642
- return await askGateway(
643
- RENDER_WATCH_MODEL,
644
- [
645
- { type: "text", text: prompt },
646
- { type: "video_url", video_url: { url: `data:video/mp4;base64,${bytes.toString("base64")}` } }
647
- ],
648
- 6e5,
649
- spent
650
- );
651
- }
652
- async function ask(images, prompt, spent) {
653
- return await askGateway(
654
- RENDER_REVIEW_MODEL,
655
- [
656
- { type: "text", text: prompt },
657
- ...images.map(
658
- (b64) => ({ type: "image_url", image_url: { url: `data:image/jpeg;base64,${b64}` } })
659
- )
660
- ],
661
- 18e4,
662
- spent
663
- );
664
- }
665
- async function askAboutStills(images, prompt, onSpend) {
666
- if (!hasOpenRouterKey()) return null;
667
- return await ask(images, prompt, (usage) => onSpend?.(usage));
668
- }
669
- async function askAboutImages(model, images, prompt, onSpend, timeoutMs = 6e4, reasoning, system, request = {}) {
670
- if (!hasOpenRouterKey()) return null;
671
- return await askGateway(
672
- model,
673
- [
674
- { type: "text", text: prompt },
675
- ...images.map(
676
- (b64) => ({ type: "image_url", image_url: { url: `data:image/jpeg;base64,${b64}` } })
677
- )
678
- ],
679
- timeoutMs,
680
- (usage) => onSpend?.(usage),
681
- reasoning,
682
- request,
683
- system
684
- );
685
- }
686
- async function askAboutText(model, prompt, onSpend, opts = {}) {
687
- if (!hasOpenRouterKey()) return null;
688
- return await askGateway(
689
- model,
690
- [{ type: "text", text: prompt }],
691
- opts.timeoutMs ?? 6e4,
692
- (usage) => onSpend?.(usage),
693
- void 0,
694
- opts.request
695
- );
696
- }
697
- async function reviewRenderedVideo(opts) {
698
- if (!hasOpenRouterKey()) return null;
699
- const duration = await videoDuration(opts.video);
700
- if (duration === null) return null;
701
- const spent = (usage) => opts.onSpend?.(usage);
702
- const dir = await mkdtemp(path.join(tmpdir(), "baker-review-"));
703
- try {
704
- const grabbed = [];
705
- for (const [i, at] of reviewFrameTimes(duration, RENDER_REVIEW_FRAMES).entries()) {
706
- const out = path.join(dir, `f${String(i).padStart(2, "0")}.jpg`);
707
- try {
708
- await execFileAsync("ffmpeg", buildFrameGrabArgs(opts.video, at, out), { timeout: 3e4 });
709
- grabbed.push({ at, image: await readFile(out, { encoding: "base64" }) });
710
- } catch {
711
- }
712
- }
713
- if (grabbed.length === 0) return null;
714
- const reel = await ask(
715
- grabbed.map((f) => f.image),
716
- buildReelReviewPrompt({ subject: opts.subject, script: opts.script }),
717
- spent
718
- );
719
- const framePrompt = buildFrameReviewPrompt({ subject: opts.subject });
720
- const perFrame = await mapWithLimit(grabbed, REVIEW_CONCURRENCY, async (f) => ({
721
- at: f.at,
722
- json: await ask([f.image], framePrompt, spent)
723
- }));
724
- const unread = perFrame.filter((f) => f.json === null).length;
725
- if (unread === perFrame.length && reel === null) return null;
726
- const watch = await askVideo(
727
- opts.video,
728
- buildWatchReviewPrompt({
729
- market: opts.market,
730
- script: opts.script,
731
- ...opts.rules ? { rules: opts.rules } : {}
732
- }),
733
- spent
734
- );
735
- const ruled = await framesAgainstRules(grabbed, opts.checkStills);
736
- const fidelity = opts.brief?.trim() ? await askVideo(opts.video, buildFidelityPrompt(opts.brief), spent) : null;
737
- const findings = [
738
- ...classifyFrameFindings(perFrame, opts.windows ?? []),
739
- ...classifyReelFindings(reel),
740
- ...classifyWatchFindings(watch),
741
- ...classifyWatchDefects(watch, opts.windows ?? []),
742
- ...classifyWatchRules(watch, opts.rules ?? [], opts.windows ?? []),
743
- ...ruled,
744
- ...classifyFidelityFindings(fidelity),
745
- // Measured, not judged: a model looking at frames cannot hear the mix.
746
- ...await measureAudio(opts.video)
747
- ];
748
- findings.push(
749
- ...unreviewedNotes({
750
- watched: watch !== null,
751
- fidelityAsked: Boolean(opts.brief?.trim()),
752
- fidelityRead: fidelity !== null,
753
- unread,
754
- frames: perFrame.length
755
- })
756
- );
757
- return findings;
758
- } finally {
759
- await rm(dir, { recursive: true, force: true });
760
- }
761
- }
762
- async function reviewContextBeside(canvasPath) {
763
- const raw = await readFile(path.join(path.dirname(canvasPath), "prompt.json"), "utf-8").catch(() => null);
764
- if (!raw) return {};
765
- try {
766
- const blueprint = JSON.parse(raw);
767
- const global = blueprint.global ?? {};
768
- const text = (value) => typeof value === "string" && value.trim() ? value.trim() : void 0;
769
- return {
770
- ...text(global.market) ? { market: text(global.market) } : {},
771
- ...text(global.branding?.name) ? { subject: text(global.branding?.name) } : {},
772
- ...text(global.transcript) ? { script: text(global.transcript) } : {}
773
- };
774
- } catch {
775
- return {};
776
- }
777
- }
778
- async function sceneWindowsBeside(canvasPath) {
779
- const dir = path.join(path.dirname(canvasPath), "scenes");
780
- const files = await readdir(dir).catch(() => null);
781
- if (!files) return [];
782
- const windows = [];
783
- for (const name of files.filter((f) => f.endsWith(".json")).sort()) {
784
- const raw = await readFile(path.join(dir, name), "utf-8").catch(() => null);
785
- if (!raw) continue;
786
- try {
787
- const scene = JSON.parse(raw);
788
- if (typeof scene.start_s === "number" && typeof scene.end_s === "number") {
789
- windows.push({ file: `scenes/${name}`, startS: scene.start_s, endS: scene.end_s });
790
- }
791
- } catch {
792
- }
793
- }
794
- return windows;
795
- }
796
- function unreviewedNotes(state) {
797
- const notes = [];
798
- if (!state.watched) {
799
- notes.push({
800
- severity: "warning",
801
- what: "Nobody watched the finished video end to end \u2014 the accent, the voice against the mouth and the cuts are unchecked. The frame-by-frame review still ran."
802
- });
803
- }
804
- if (state.fidelityAsked && !state.fidelityRead) {
805
- notes.push({
806
- severity: "warning",
807
- what: "The video was not checked against what you asked for \u2014 only against whether it is well made. A well-made ad of the wrong brief passes every other check here."
808
- });
809
- }
810
- if (state.unread > 0) {
811
- notes.push({
812
- severity: "warning",
813
- what: `${state.unread} of ${state.frames} frames could not be reviewed \u2014 that part of the video is unchecked.`
814
- });
815
- }
816
- return notes;
817
- }
818
-
819
- export {
820
- selectRules,
821
- rulesDigest,
822
- rulesBlock,
823
- withoutRulesDeep,
824
- briefRules,
825
- reviewedRules,
826
- buildRulesReviewPrompt,
827
- rulesSystem,
828
- classifyRuleFindings,
829
- RENDER_REVIEW_MODEL,
830
- STATIC_REVIEW_ITEMS,
831
- FINDING_ELEMENTS,
832
- FINDING_DEFECTS,
833
- FRAME_EDGES,
834
- videoPathFromOutput,
835
- RENDER_REVIEW_UNAVAILABLE,
836
- askAboutStills,
837
- askAboutImages,
838
- askAboutText,
839
- reviewRenderedVideo,
840
- reviewContextBeside,
841
- sceneWindowsBeside
842
- };
843
- //# sourceMappingURL=chunk-GRX3JXSR.js.map