@koda-sl/baker-cli 0.869.0-dev.2364fb932 → 0.869.0-dev.620009099.1
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/README.md +1 -1
- package/dist/{account-LHY6YM6L.js → account-5VOZ4R2X.js} +2 -2
- package/dist/{account-YQF6FQSP.js → account-CTM4XBY3.js} +5 -5
- package/dist/{account-assets-L6BX4YUQ.js → account-assets-DOHOKM2L.js} +54 -46
- package/dist/account-assets-DOHOKM2L.js.map +1 -0
- package/dist/{account-level-OX34JQ7C.js → account-level-HLSTNJHR.js} +4 -4
- package/dist/{account-users-GX6PLTXS.js → account-users-DL3UD2XG.js} +5 -5
- package/dist/{accounts-SAWD6TKC.js → accounts-7ACHUCAY.js} +4 -4
- package/dist/{accounts-M2T57TWO.js → accounts-KNMGEMMG.js} +10 -10
- package/dist/{accounts-LNFU27BU.js → accounts-SNH3LJ2H.js} +2 -2
- package/dist/{actions-ESOP7BMG.js → actions-PO35WQVS.js} +18 -18
- package/dist/{activecampaign-PFBKZXDK.js → activecampaign-4S63QE4C.js} +4 -4
- package/dist/{activities-LC64DAAK.js → activities-QHDGHXMI.js} +21 -12
- package/dist/activities-QHDGHXMI.js.map +1 -0
- package/dist/{add-XJ2SSPTQ.js → add-2F6KL6KB.js} +4 -4
- package/dist/{add-PYRPMRL5.js → add-4PCJL2QX.js} +3 -3
- package/dist/{add-WXNW6HHI.js → add-ZMOFKHFR.js} +6 -6
- package/dist/{ads-23FIFMOH.js → ads-MYACXO5A.js} +5 -5
- package/dist/{ads-ZR5D7BZT.js → ads-ZDSRE7D6.js} +27 -19
- package/dist/ads-ZDSRE7D6.js.map +1 -0
- package/dist/{adsets-3NIYL2GQ.js → adsets-CZQMTJ2T.js} +48 -30
- package/dist/adsets-CZQMTJ2T.js.map +1 -0
- package/dist/{advertisers-OGHXO6GI.js → advertisers-Y2ATV7L6.js} +4 -4
- package/dist/{alerts-YXK4V2Z4.js → alerts-C4UFNZMJ.js} +8 -8
- package/dist/{analytics-2E2OKENK.js → analytics-EM4NNEG5.js} +8 -8
- package/dist/{analytics-JK335LDZ.js → analytics-YRGTZHAY.js} +4 -4
- package/dist/{asset-writes-5ZKZDPQ4.js → asset-writes-TXYCARXJ.js} +4 -4
- package/dist/{assign-Z6LSQXJU.js → assign-GDV4YOFF.js} +4 -4
- package/dist/{audience-size-TS6Y54V6.js → audience-size-ONXW6YWQ.js} +4 -4
- package/dist/{audience-writes-NL6NRLLY.js → audience-writes-DJG7XTFA.js} +29 -15
- package/dist/audience-writes-DJG7XTFA.js.map +1 -0
- package/dist/{audiences-DL267GNQ.js → audiences-QHM26I5Y.js} +27 -15
- package/dist/audiences-QHM26I5Y.js.map +1 -0
- package/dist/{audit-USKKHOW2.js → audit-3Z6ZZKCH.js} +4 -4
- package/dist/{autocomplete-N3Y3YHEX.js → autocomplete-4ZI234QK.js} +4 -4
- package/dist/{avatars-DGCK575F.js → avatars-4OT3XVOD.js} +4 -4
- package/dist/{bid-pricing-2EPBBUMJ.js → bid-pricing-7NZ7QKXF.js} +5 -5
- package/dist/{brief-GKUROH24.js → brief-WOGFWWB3.js} +8 -8
- package/dist/{businesses-RQ6P4DOS.js → businesses-ALNQZFB4.js} +2 -2
- package/dist/{campaign-groups-ISPMW7DT.js → campaign-groups-VBOFSUJS.js} +10 -10
- package/dist/{campaign-writes-FN54MSSE.js → campaign-writes-NMMJXTYD.js} +4 -4
- package/dist/{campaigns-RXDC5FSQ.js → campaigns-55VLNVCE.js} +29 -18
- package/dist/campaigns-55VLNVCE.js.map +1 -0
- package/dist/{campaigns-7QGX2YL5.js → campaigns-YFB3PCLE.js} +13 -13
- package/dist/{campaigns-5VXP5DRY.js → campaigns-ZWPYUZFF.js} +5 -5
- package/dist/{canvas-NUHURYZA.js → canvas-NJV6RSX3.js} +15 -15
- package/dist/{capabilities-ACY3IY6L.js → capabilities-FJAYWDY6.js} +4 -4
- package/dist/{catalog-5NM2S37Y.js → catalog-XEALUTOG.js} +5 -5
- package/dist/{catalogs-QAZ7ZZ5R.js → catalogs-B24HAEXZ.js} +3 -3
- package/dist/{chats-W5XZUVXP.js → chats-65GTXYEC.js} +37 -82
- package/dist/chats-65GTXYEC.js.map +1 -0
- package/dist/{check-MAIVFAVL.js → check-YQIY4BTG.js} +3 -3
- package/dist/{chunk-YDXJ4CYB.js → chunk-2RYEYBMF.js} +12 -12
- package/dist/{chunk-OMJ7DVFJ.js → chunk-2WHALQOJ.js} +2 -2
- package/dist/{chunk-OP6B2NXL.js → chunk-3YZBGH2W.js} +2 -2
- package/dist/{chunk-DYLZUMPL.js → chunk-4U4YQOO2.js} +2 -2
- package/dist/{chunk-VEJZYLDU.js → chunk-4YQ46MM4.js} +2 -2
- package/dist/{chunk-5ZZCB2RV.js → chunk-52YU7I5M.js} +2 -2
- package/dist/{chunk-W4HKCUSD.js → chunk-5EQF26Z4.js} +3 -5
- package/dist/{chunk-W4HKCUSD.js.map → chunk-5EQF26Z4.js.map} +1 -1
- package/dist/{chunk-33YB23C6.js → chunk-5NLZJ75G.js} +3 -3
- package/dist/{chunk-WVJVUZXO.js → chunk-6HQATKKL.js} +4 -6
- package/dist/{chunk-WVJVUZXO.js.map → chunk-6HQATKKL.js.map} +1 -1
- package/dist/{chunk-MWIDF2MC.js → chunk-6LFIF6BK.js} +2 -2
- package/dist/{chunk-BPGEWUS7.js → chunk-6VAUBRY3.js} +2 -2
- package/dist/{chunk-GHPCQYA4.js → chunk-7MVVDZM2.js} +5 -5
- package/dist/{chunk-TNVAURYY.js → chunk-7YHMZVKM.js} +2 -2
- package/dist/{chunk-AJKXI25A.js → chunk-CBQTKSSP.js} +3 -3
- package/dist/{chunk-6DTEV5X2.js → chunk-D4MNDYPX.js} +3 -3
- package/dist/{chunk-7OWUAET6.js → chunk-DNI4DYGT.js} +2 -2
- package/dist/{chunk-EGM42UKF.js → chunk-EJ6B5OS5.js} +2 -2
- package/dist/{chunk-GGLD5W6K.js → chunk-FRYH2T32.js} +4 -4
- package/dist/{chunk-RQQK3UQ3.js → chunk-FZWLNE53.js} +2 -2
- package/dist/{chunk-ZPZJJ7YO.js → chunk-GOC2ZZJF.js} +2 -2
- package/dist/{chunk-F2K5OKVZ.js → chunk-IIXEFX33.js} +3 -3
- package/dist/{chunk-Z3HCEXVK.js → chunk-J4ZRPGNJ.js} +7 -7
- package/dist/{chunk-JMLQNSEL.js → chunk-JGXB7NBP.js} +2335 -2315
- package/dist/chunk-JGXB7NBP.js.map +1 -0
- package/dist/{chunk-FY32K236.js → chunk-JPFYTKQA.js} +2 -2
- package/dist/{chunk-POZF645G.js → chunk-JPP3LYVH.js} +2 -2
- package/dist/{chunk-EQYO62RU.js → chunk-KPQJVORC.js} +2 -2
- package/dist/{chunk-CJXRK7MG.js → chunk-KYOKEQ5E.js} +6 -6
- package/dist/{chunk-QEEKSK2X.js → chunk-LVR2UYQ7.js} +2 -2
- package/dist/{chunk-TM2BGBUO.js → chunk-MIIY3MVK.js} +2 -2
- package/dist/{chunk-T3BCMDLB.js → chunk-NKXH4YZT.js} +5 -5
- package/dist/{chunk-QKF3MMOG.js → chunk-O5UWZ4AI.js} +2 -2
- package/dist/{chunk-GVKZ3AJF.js → chunk-PNGXJPM5.js} +289 -321
- package/dist/chunk-PNGXJPM5.js.map +1 -0
- package/dist/{chunk-C6TVRPHP.js → chunk-PUDEC2K3.js} +2 -2
- package/dist/{chunk-4J2HZMVA.js → chunk-Q7V5XSFZ.js} +7 -7
- package/dist/{chunk-ZQZ7JN7U.js → chunk-RVWBLOXX.js} +2 -2
- package/dist/{chunk-FGL2R25N.js → chunk-SBID6GZZ.js} +2 -2
- package/dist/{chunk-CLGJQR36.js → chunk-TU3HH4O3.js} +2 -2
- package/dist/{chunk-NTJGNEBV.js → chunk-TZPFQJTH.js} +2 -2
- package/dist/{chunk-25D2PA6H.js → chunk-UBUFWX5O.js} +2 -2
- package/dist/{chunk-WKRVHRWY.js → chunk-VBIKO56A.js} +14 -3
- package/dist/chunk-VBIKO56A.js.map +1 -0
- package/dist/{chunk-UE5ZFTDL.js → chunk-VUJPKIJN.js} +2 -2
- package/dist/{chunk-3MAT7PA4.js → chunk-W3XIDU5C.js} +2 -2
- package/dist/{chunk-BMMHLSFQ.js → chunk-W5JX7LUK.js} +3 -3
- package/dist/{chunk-K43ZLKQX.js → chunk-XOW4EBDN.js} +2 -2
- package/dist/{chunk-DP76WGDV.js → chunk-YF57BX3S.js} +87 -8
- package/dist/chunk-YF57BX3S.js.map +1 -0
- package/dist/{chunk-3ACBEKKK.js → chunk-YUZGTNAO.js} +2 -2
- package/dist/{chunk-YO5362QQ.js → chunk-YY6D3PI6.js} +3 -3
- package/dist/{chunk-33WIDGQ7.js → chunk-Z6WDG4DW.js} +2 -2
- package/dist/{claim-UQUJ5J5I.js → claim-IOM6PVO5.js} +4 -4
- package/dist/cli.js +34 -34
- package/dist/{companies-NXEPFDIY.js → companies-WY4K6WLI.js} +8 -8
- package/dist/{company-RIIA64VV.js → company-PVCI3LC7.js} +4 -4
- package/dist/{complete-KAM3K2CM.js → complete-2QF4BZ5T.js} +4 -4
- package/dist/{connect-TI3JW4M5.js → connect-GSLMEPHD.js} +7 -7
- package/dist/{conversation-3SCH5CRT.js → conversation-5NCE56L3.js} +4 -4
- package/dist/{conversions-3I5WDIIX.js → conversions-DGKHWOMN.js} +9 -9
- package/dist/{copy-writes-QYN6PBU2.js → copy-writes-S4X5XUSK.js} +4 -4
- package/dist/{create-7ASZBHEW.js → create-2EFBCVF4.js} +3 -3
- package/dist/{create-46LJ3CWX.js → create-KKJX3JLV.js} +4 -4
- package/dist/{create-UFXJVXBB.js → create-TRL622CZ.js} +4 -4
- package/dist/{create-SQHEXHYQ.js → create-X2R7FNDZ.js} +4 -4
- package/dist/{creatives-CPLH3KHQ.js → creatives-BCTG6PV4.js} +32 -19
- package/dist/creatives-BCTG6PV4.js.map +1 -0
- package/dist/{creatives-YWCFAQ3Z.js → creatives-D5WLUJWC.js} +10 -10
- package/dist/{creatives-RRQ34QI6.js → creatives-EWTMQK7H.js} +9 -9
- package/dist/{credentials-3ZPD57WP.js → credentials-H4W36WE7.js} +4 -4
- package/dist/{critique-PQO3MZDL.js → critique-4Q3XEGS5.js} +5 -5
- package/dist/{crm-BHUSW2ZE.js → crm-APNCVLF2.js} +5 -5
- package/dist/{crm-M25I5QNT.js → crm-T3NV4EOU.js} +5 -5
- package/dist/{custom-conversions-CTJVAZKC.js → custom-conversions-56VXFOWV.js} +27 -15
- package/dist/custom-conversions-56VXFOWV.js.map +1 -0
- package/dist/{customers-5ODHY4QN.js → customers-VZYCYMSL.js} +6 -6
- package/dist/{delete-F7JORG53.js → delete-BWPILWUN.js} +4 -4
- package/dist/{delete-HU57SOFR.js → delete-JGR3HPY5.js} +3 -3
- package/dist/{delete-6BHCWKAH.js → delete-VJEOLHNE.js} +4 -4
- package/dist/{demographics-HXHLFT5L.js → demographics-CBJ26IAA.js} +4 -4
- package/dist/{discard-EH7IONIF.js → discard-3MMFPF26.js} +4 -4
- package/dist/{domain-KRZEE7LC.js → domain-7MSMJMDP.js} +4 -4
- package/dist/{download-WTCJS3A7.js → download-N3R6G3QV.js} +3 -3
- package/dist/{draft-PTHPU3IS.js → draft-F6FHBF6I.js} +4 -4
- package/dist/{draft-XW2B2P2T.js → draft-MKFFXTJK.js} +5 -5
- package/dist/{draft-UU3F2VMJ.js → draft-OMGA2NYG.js} +2 -2
- package/dist/{draft-FV7SB6CI.js → draft-XBO2DYIJ.js} +4 -4
- package/dist/engine/index.js +4 -4
- package/dist/{experiment-DJSUGB7D.js → experiment-KOCG7PPI.js} +2 -2
- package/dist/{experiments-65EQOUFR.js → experiments-VYYS5Y7W.js} +5 -5
- package/dist/{extract-HQ4BZEYE.js → extract-F7D62JMA.js} +3 -3
- package/dist/{facets-QI5RNKEQ.js → facets-6GJJIRRR.js} +4 -4
- package/dist/{feedback-L5FA4OEN.js → feedback-3TYBQZY4.js} +4 -4
- package/dist/{fetch-SSOJW3RK.js → fetch-JBXBMJBK.js} +4 -4
- package/dist/{fit-AXP4NFP2.js → fit-ZFPYO3MS.js} +3 -3
- package/dist/{flows-H4W5IM7U.js → flows-PP6BRBD7.js} +12 -12
- package/dist/{forecast-4YWMOB7B.js → forecast-H24SICMO.js} +5 -5
- package/dist/{funnel-ONY2XBMJ.js → funnel-BFVSY5A6.js} +5 -5
- package/dist/{get-LNTXQ345.js → get-J4CETDIS.js} +4 -4
- package/dist/{get-PQO53TEN.js → get-SPKPNRXF.js} +4 -4
- package/dist/{google-NAW6VVQV.js → google-4IKGTP3C.js} +3 -3
- package/dist/{google-ads-FZDZR6KH.js → google-ads-SGKGDWV6.js} +4 -4
- package/dist/{history-KTVIM3IJ.js → history-K5ULNTEM.js} +4 -4
- package/dist/{history-K4YAPGJ3.js → history-QOQY2F77.js} +4 -4
- package/dist/{hubspot-UOPQHSI6.js → hubspot-HNZLT2BH.js} +10 -10
- package/dist/{ideas-MLOBO3PE.js → ideas-35LERPN4.js} +3 -3
- package/dist/{images-J2DV3E2R.js → images-R3EK4BDH.js} +7 -7
- package/dist/{ingest-6DNWPSGL.js → ingest-5TSJM7A7.js} +3 -3
- package/dist/{ingest-SMIIBCJ3.js → ingest-LYVNO5M5.js} +4 -4
- package/dist/{insights-QU5A4XBO.js → insights-3SQWIU4E.js} +2 -2
- package/dist/{inspect-DUJWXAIE.js → inspect-36R5WLLX.js} +5 -5
- package/dist/{instant-experiences-EJWYFWDT.js → instant-experiences-HSRGMQ5T.js} +3 -3
- package/dist/{keyword-metrics-O3ZZWBDG.js → keyword-metrics-JRB6DREM.js} +4 -4
- package/dist/{keywords-for-site-LPCGSQY4.js → keywords-for-site-FQOELX5H.js} +4 -4
- package/dist/{leads-O32IOMVF.js → leads-ILZAOKIF.js} +4 -4
- package/dist/{leads-FEEWX7OO.js → leads-LWWPMZRY.js} +3 -3
- package/dist/{learn-QPE4KRHG.js → learn-AWQ6JTP2.js} +5 -5
- package/dist/{line-item-writes-JJ4T4V2Q.js → line-item-writes-APTZP3DI.js} +4 -4
- package/dist/{line-items-YM66IBLP.js → line-items-5YSLNBGJ.js} +5 -5
- package/dist/{link-EZE4JZVG.js → link-2MGGDKLP.js} +4 -4
- package/dist/{linkedin-7XEJUWML.js → linkedin-EBOTX37R.js} +31 -31
- package/dist/{linkedin-person-XUQSLPF2.js → linkedin-person-FNKW44RV.js} +4 -4
- package/dist/{list-QOJMUH4X.js → list-75NNAGBR.js} +4 -4
- package/dist/{list-MQDOG4HZ.js → list-CJU2Y6OP.js} +4 -4
- package/dist/{list-7X3WKXTF.js → list-L3NBK64M.js} +3 -3
- package/dist/{log-7JBCYIJX.js → log-JJDSDLOK.js} +4 -4
- package/dist/{make-33UUJ5PM.js → make-U323I4SF.js} +12 -12
- package/dist/{map-NIFBBDNM.js → map-KFN2QLYV.js} +5 -5
- package/dist/{mcp-QK2F5TUK.js → mcp-KGAXFVUM.js} +3 -3
- package/dist/{media-PUOLJUN3.js → media-UODVM47L.js} +3 -3
- package/dist/{media-sources-SC37AKBB.js → media-sources-BSECLIMM.js} +2 -2
- package/dist/{members-HC7U5KUA.js → members-6FHV7EM2.js} +4 -4
- package/dist/{meta-SPPSYRMC.js → meta-4IOVQSFF.js} +40 -40
- package/dist/{normalize-5ODYYXI7.js → normalize-YWIDJR4R.js} +4 -4
- package/dist/{options-SJZTCLKS.js → options-R4Q46LU5.js} +7 -7
- package/dist/{organization-AOFIUOQ2.js → organization-76LF7MHK.js} +4 -4
- package/dist/{page-photos-ZBMJLL5V.js → page-photos-BCEDWPGX.js} +3 -3
- package/dist/{pages-YZC44QR2.js → pages-TZBFJXNR.js} +2 -2
- package/dist/{people-JGIT6MBV.js → people-BK6GRJXB.js} +4 -4
- package/dist/{people-6NDW4WWF.js → people-HR7CAKZS.js} +4 -4
- package/dist/{performance-BQF7DJ3O.js → performance-PTBBUEZU.js} +5 -5
- package/dist/{performance-H55WMRL2.js → performance-Y2S5FDGI.js} +7 -7
- package/dist/{pipedrive-ZFWEP3YY.js → pipedrive-NONV3NBQ.js} +4 -4
- package/dist/{pixels-EX6FHVHW.js → pixels-2BG3XMZP.js} +25 -12
- package/dist/pixels-2BG3XMZP.js.map +1 -0
- package/dist/{preview-BCKW7UQN.js → preview-HD3QAR53.js} +4 -4
- package/dist/{preview-4GUQGDBD.js → preview-WHUVS5JJ.js} +2 -2
- package/dist/{promoted-tweet-writes-WIC6FFVL.js → promoted-tweet-writes-3LNFAGEM.js} +4 -4
- package/dist/{promoted-tweets-QDSKRNSQ.js → promoted-tweets-IHUQA35K.js} +3 -3
- package/dist/{publish-4EQ5NQHX.js → publish-IUE7RHRD.js} +4 -4
- package/dist/{reddit-Z26ARDXO.js → reddit-BOTUVLHL.js} +5 -5
- package/dist/{refresh-F6A5XEAK.js → refresh-RPVVOQX4.js} +3 -3
- package/dist/{release-L6ZRF5AJ.js → release-4YZWORV2.js} +4 -4
- package/dist/{remove-5L2KTQPC.js → remove-FO7I4RQ3.js} +3 -3
- package/dist/{reopen-DF6R6BAU.js → reopen-FMPQVL2C.js} +4 -4
- package/dist/{rerun-Q56Q2W2X.js → rerun-RYL5UJRE.js} +15 -15
- package/dist/{research-46UVGI2D.js → research-2H3ST6C2.js} +14 -14
- package/dist/{research-Q62RSJUD.js → research-3LSWITEK.js} +3 -3
- package/dist/{reset-V6X3G5PH.js → reset-PNCDMWGO.js} +3 -3
- package/dist/{reset-KDC5XFG5.js → reset-RI6NO6NQ.js} +3 -3
- package/dist/{resolve-IXXT6QWF.js → resolve-SGL3A5N5.js} +4 -4
- package/dist/{retry-OCYVTVVG.js → retry-4FMP73MN.js} +3 -3
- package/dist/{retry-4FNQHIX6.js → retry-JRH3WJSF.js} +3 -3
- package/dist/{revenue-35UFQKKL.js → revenue-V4ODLBZ6.js} +8 -8
- package/dist/{rule-writes-6XP7G35U.js → rule-writes-Q5NLSBF5.js} +3 -3
- package/dist/{rules-AP2ICU4I.js → rules-EPNUXMHG.js} +6 -6
- package/dist/{rules-BRULCGRV.js → rules-Z7MMVOZ2.js} +41 -24
- package/dist/rules-Z7MMVOZ2.js.map +1 -0
- package/dist/{run-G23DLRG6.js → run-2SPQZ2ZZ.js} +15 -15
- package/dist/{run-CFDP77WG.js → run-HLQUPQZ2.js} +4 -4
- package/dist/{scaffold-ad-HP7YBAKN.js → scaffold-ad-3YLGTFRT.js} +10 -10
- package/dist/{scaffold-static-ad-POBK2IKC.js → scaffold-static-ad-3RCD642H.js} +18 -18
- package/dist/{scaffold-video-3IPXCHHN.js → scaffold-video-F5HTBM4R.js} +9 -9
- package/dist/{schedule-HJV573BL.js → schedule-O36GKVZV.js} +3 -3
- package/dist/{scheduled-agents-HFX4KH4V.js → scheduled-agents-4UNG26CX.js} +11 -11
- package/dist/{schema-YVYQT6BC.js → schema-EOQASVWI.js} +5 -5
- package/dist/{schema-NGPV47R7.js → schema-SRFWL4ZT.js} +1 -1
- package/dist/{search-AAYZWQMO.js → search-DLMLA423.js} +3 -3
- package/dist/{select-4I7FO7UT.js → select-KBYLNNL4.js} +6 -6
- package/dist/{set-3LCLLRYX.js → set-6L7YV57E.js} +6 -6
- package/dist/{set-prompt-J2C3TOBT.js → set-prompt-WBYLKIO3.js} +6 -6
- package/dist/{setup-links-HNUCPAW4.js → setup-links-XT4TEZWI.js} +4 -4
- package/dist/{shared-64RE42DL.js → shared-AXONQS3M.js} +16 -4
- package/dist/{shopify-UBKI3JKN.js → shopify-ICWRWUZE.js} +4 -4
- package/dist/{site-XJJHQNT3.js → site-LYDFZM5U.js} +5 -5
- package/dist/{sources-NY32FQPM.js → sources-CP4UQ5KA.js} +6 -6
- package/dist/{sources-LVWFPHOX.js → sources-FPWA4AJN.js} +7 -7
- package/dist/{stale-L7MCNGJP.js → stale-GWG4V65Q.js} +6 -6
- package/dist/{status-XICT5BPG.js → status-W6S7AY43.js} +4 -4
- package/dist/{stock-V7WOLG34.js → stock-6VZFFAHW.js} +3 -3
- package/dist/{studies-357M2C2K.js → studies-HUINRZHD.js} +33 -16
- package/dist/studies-HUINRZHD.js.map +1 -0
- package/dist/{study-writes-HXUQRPIK.js → study-writes-SI5QXY7F.js} +3 -3
- package/dist/{sync-DG663OFL.js → sync-I6ZVQOSZ.js} +3 -3
- package/dist/{sync-definition-OL5ZJLNQ.js → sync-definition-NADPEPFQ.js} +9 -9
- package/dist/{tags-GP3IOE63.js → tags-47QAF2ZJ.js} +4 -4
- package/dist/{tags-UZJRMPZC.js → tags-AN5B56GA.js} +4 -4
- package/dist/{tags-FJXGDNSO.js → tags-ETUV62EB.js} +4 -4
- package/dist/{tags-E37DRTZV.js → tags-IQ6BCRLE.js} +4 -4
- package/dist/{tags-N6UN6I3L.js → tags-UKAR6FCS.js} +4 -4
- package/dist/{targeting-7T7XHBIX.js → targeting-3XK4OLPG.js} +3 -3
- package/dist/{targeting-criteria-HQG75XAL.js → targeting-criteria-4E6SURB5.js} +3 -3
- package/dist/{targets-NXQYDGEH.js → targets-GJUR5WTB.js} +4 -4
- package/dist/{testimonials-OTASXY47.js → testimonials-UCVT5VQY.js} +6 -6
- package/dist/{top-companies-WZIQAUTH.js → top-companies-WID72GN5.js} +8 -8
- package/dist/{transcript-5HO7BQRD.js → transcript-OMYAOZSP.js} +4 -4
- package/dist/{translate-LURNTJEX.js → translate-TIAJBFQ3.js} +11 -11
- package/dist/{triggers-ZRBBUNYF.js → triggers-IEMDGR6W.js} +4 -4
- package/dist/{unlink-H5SQ57TY.js → unlink-WCLQPP7S.js} +4 -4
- package/dist/{unstage-KNSI3Y2Y.js → unstage-KRPX3AGF.js} +4 -4
- package/dist/{update-QP22ZPEI.js → update-CPSZ4EH3.js} +3 -3
- package/dist/{update-ANZ7CHW2.js → update-CQ4VF2S5.js} +4 -4
- package/dist/{update-RJIFET4D.js → update-NP2MOMJS.js} +4 -4
- package/dist/{update-KGPKRELC.js → update-XF462N7M.js} +4 -4
- package/dist/{upload-4YGKKCLJ.js → upload-WRRNFTRK.js} +4 -4
- package/dist/{url-params-GQAMXOEW.js → url-params-DKGJVTGL.js} +4 -4
- package/dist/{validate-VJ5YQTGI.js → validate-6AHY2UQR.js} +11 -11
- package/dist/{videos-TJG5CA7N.js → videos-C5OCSAIF.js} +2 -2
- package/dist/{videos-DT7NTHEQ.js → videos-FG64T3XK.js} +6 -6
- package/dist/{viewer-check-BYG3MOVA.js → viewer-check-3YGDWCTR.js} +3 -3
- package/dist/{visuals-YD3AAT6W.js → visuals-3C2QUE6G.js} +4 -4
- package/dist/{web-PMKY5YYD.js → web-K3JH5TXT.js} +4 -4
- package/dist/{winning-ads-FKS2EF3V.js → winning-ads-QDVS56XX.js} +3 -3
- package/dist/{write-commands-4KI6T2NF.js → write-commands-T46SVSQ7.js} +7 -7
- package/dist/{write-commands-XP6HJJKI.js → write-commands-X72A5F7K.js} +5 -5
- package/dist/{x-7TVBJ7SK.js → x-JU6LF2MM.js} +6 -6
- package/package.json +1 -1
- package/dist/account-assets-L6BX4YUQ.js.map +0 -1
- package/dist/activities-LC64DAAK.js.map +0 -1
- package/dist/ads-ZR5D7BZT.js.map +0 -1
- package/dist/adsets-3NIYL2GQ.js.map +0 -1
- package/dist/audience-writes-NL6NRLLY.js.map +0 -1
- package/dist/audiences-DL267GNQ.js.map +0 -1
- package/dist/campaigns-RXDC5FSQ.js.map +0 -1
- package/dist/chats-W5XZUVXP.js.map +0 -1
- package/dist/chunk-DP76WGDV.js.map +0 -1
- package/dist/chunk-GVKZ3AJF.js.map +0 -1
- package/dist/chunk-JMLQNSEL.js.map +0 -1
- package/dist/chunk-WKRVHRWY.js.map +0 -1
- package/dist/creatives-CPLH3KHQ.js.map +0 -1
- package/dist/custom-conversions-CTJVAZKC.js.map +0 -1
- package/dist/pixels-EX6FHVHW.js.map +0 -1
- package/dist/rules-BRULCGRV.js.map +0 -1
- package/dist/studies-357M2C2K.js.map +0 -1
- /package/dist/{account-LHY6YM6L.js.map → account-5VOZ4R2X.js.map} +0 -0
- /package/dist/{account-YQF6FQSP.js.map → account-CTM4XBY3.js.map} +0 -0
- /package/dist/{account-level-OX34JQ7C.js.map → account-level-HLSTNJHR.js.map} +0 -0
- /package/dist/{account-users-GX6PLTXS.js.map → account-users-DL3UD2XG.js.map} +0 -0
- /package/dist/{accounts-SAWD6TKC.js.map → accounts-7ACHUCAY.js.map} +0 -0
- /package/dist/{accounts-M2T57TWO.js.map → accounts-KNMGEMMG.js.map} +0 -0
- /package/dist/{accounts-LNFU27BU.js.map → accounts-SNH3LJ2H.js.map} +0 -0
- /package/dist/{actions-ESOP7BMG.js.map → actions-PO35WQVS.js.map} +0 -0
- /package/dist/{activecampaign-PFBKZXDK.js.map → activecampaign-4S63QE4C.js.map} +0 -0
- /package/dist/{add-XJ2SSPTQ.js.map → add-2F6KL6KB.js.map} +0 -0
- /package/dist/{add-PYRPMRL5.js.map → add-4PCJL2QX.js.map} +0 -0
- /package/dist/{add-WXNW6HHI.js.map → add-ZMOFKHFR.js.map} +0 -0
- /package/dist/{ads-23FIFMOH.js.map → ads-MYACXO5A.js.map} +0 -0
- /package/dist/{advertisers-OGHXO6GI.js.map → advertisers-Y2ATV7L6.js.map} +0 -0
- /package/dist/{alerts-YXK4V2Z4.js.map → alerts-C4UFNZMJ.js.map} +0 -0
- /package/dist/{analytics-2E2OKENK.js.map → analytics-EM4NNEG5.js.map} +0 -0
- /package/dist/{analytics-JK335LDZ.js.map → analytics-YRGTZHAY.js.map} +0 -0
- /package/dist/{asset-writes-5ZKZDPQ4.js.map → asset-writes-TXYCARXJ.js.map} +0 -0
- /package/dist/{assign-Z6LSQXJU.js.map → assign-GDV4YOFF.js.map} +0 -0
- /package/dist/{audience-size-TS6Y54V6.js.map → audience-size-ONXW6YWQ.js.map} +0 -0
- /package/dist/{audit-USKKHOW2.js.map → audit-3Z6ZZKCH.js.map} +0 -0
- /package/dist/{autocomplete-N3Y3YHEX.js.map → autocomplete-4ZI234QK.js.map} +0 -0
- /package/dist/{avatars-DGCK575F.js.map → avatars-4OT3XVOD.js.map} +0 -0
- /package/dist/{bid-pricing-2EPBBUMJ.js.map → bid-pricing-7NZ7QKXF.js.map} +0 -0
- /package/dist/{brief-GKUROH24.js.map → brief-WOGFWWB3.js.map} +0 -0
- /package/dist/{businesses-RQ6P4DOS.js.map → businesses-ALNQZFB4.js.map} +0 -0
- /package/dist/{campaign-groups-ISPMW7DT.js.map → campaign-groups-VBOFSUJS.js.map} +0 -0
- /package/dist/{campaign-writes-FN54MSSE.js.map → campaign-writes-NMMJXTYD.js.map} +0 -0
- /package/dist/{campaigns-7QGX2YL5.js.map → campaigns-YFB3PCLE.js.map} +0 -0
- /package/dist/{campaigns-5VXP5DRY.js.map → campaigns-ZWPYUZFF.js.map} +0 -0
- /package/dist/{canvas-NUHURYZA.js.map → canvas-NJV6RSX3.js.map} +0 -0
- /package/dist/{capabilities-ACY3IY6L.js.map → capabilities-FJAYWDY6.js.map} +0 -0
- /package/dist/{catalog-5NM2S37Y.js.map → catalog-XEALUTOG.js.map} +0 -0
- /package/dist/{catalogs-QAZ7ZZ5R.js.map → catalogs-B24HAEXZ.js.map} +0 -0
- /package/dist/{check-MAIVFAVL.js.map → check-YQIY4BTG.js.map} +0 -0
- /package/dist/{chunk-YDXJ4CYB.js.map → chunk-2RYEYBMF.js.map} +0 -0
- /package/dist/{chunk-OMJ7DVFJ.js.map → chunk-2WHALQOJ.js.map} +0 -0
- /package/dist/{chunk-OP6B2NXL.js.map → chunk-3YZBGH2W.js.map} +0 -0
- /package/dist/{chunk-DYLZUMPL.js.map → chunk-4U4YQOO2.js.map} +0 -0
- /package/dist/{chunk-VEJZYLDU.js.map → chunk-4YQ46MM4.js.map} +0 -0
- /package/dist/{chunk-5ZZCB2RV.js.map → chunk-52YU7I5M.js.map} +0 -0
- /package/dist/{chunk-33YB23C6.js.map → chunk-5NLZJ75G.js.map} +0 -0
- /package/dist/{chunk-MWIDF2MC.js.map → chunk-6LFIF6BK.js.map} +0 -0
- /package/dist/{chunk-BPGEWUS7.js.map → chunk-6VAUBRY3.js.map} +0 -0
- /package/dist/{chunk-GHPCQYA4.js.map → chunk-7MVVDZM2.js.map} +0 -0
- /package/dist/{chunk-TNVAURYY.js.map → chunk-7YHMZVKM.js.map} +0 -0
- /package/dist/{chunk-AJKXI25A.js.map → chunk-CBQTKSSP.js.map} +0 -0
- /package/dist/{chunk-6DTEV5X2.js.map → chunk-D4MNDYPX.js.map} +0 -0
- /package/dist/{chunk-7OWUAET6.js.map → chunk-DNI4DYGT.js.map} +0 -0
- /package/dist/{chunk-EGM42UKF.js.map → chunk-EJ6B5OS5.js.map} +0 -0
- /package/dist/{chunk-GGLD5W6K.js.map → chunk-FRYH2T32.js.map} +0 -0
- /package/dist/{chunk-RQQK3UQ3.js.map → chunk-FZWLNE53.js.map} +0 -0
- /package/dist/{chunk-ZPZJJ7YO.js.map → chunk-GOC2ZZJF.js.map} +0 -0
- /package/dist/{chunk-F2K5OKVZ.js.map → chunk-IIXEFX33.js.map} +0 -0
- /package/dist/{chunk-Z3HCEXVK.js.map → chunk-J4ZRPGNJ.js.map} +0 -0
- /package/dist/{chunk-FY32K236.js.map → chunk-JPFYTKQA.js.map} +0 -0
- /package/dist/{chunk-POZF645G.js.map → chunk-JPP3LYVH.js.map} +0 -0
- /package/dist/{chunk-EQYO62RU.js.map → chunk-KPQJVORC.js.map} +0 -0
- /package/dist/{chunk-CJXRK7MG.js.map → chunk-KYOKEQ5E.js.map} +0 -0
- /package/dist/{chunk-QEEKSK2X.js.map → chunk-LVR2UYQ7.js.map} +0 -0
- /package/dist/{chunk-TM2BGBUO.js.map → chunk-MIIY3MVK.js.map} +0 -0
- /package/dist/{chunk-T3BCMDLB.js.map → chunk-NKXH4YZT.js.map} +0 -0
- /package/dist/{chunk-QKF3MMOG.js.map → chunk-O5UWZ4AI.js.map} +0 -0
- /package/dist/{chunk-C6TVRPHP.js.map → chunk-PUDEC2K3.js.map} +0 -0
- /package/dist/{chunk-4J2HZMVA.js.map → chunk-Q7V5XSFZ.js.map} +0 -0
- /package/dist/{chunk-ZQZ7JN7U.js.map → chunk-RVWBLOXX.js.map} +0 -0
- /package/dist/{chunk-FGL2R25N.js.map → chunk-SBID6GZZ.js.map} +0 -0
- /package/dist/{chunk-CLGJQR36.js.map → chunk-TU3HH4O3.js.map} +0 -0
- /package/dist/{chunk-NTJGNEBV.js.map → chunk-TZPFQJTH.js.map} +0 -0
- /package/dist/{chunk-25D2PA6H.js.map → chunk-UBUFWX5O.js.map} +0 -0
- /package/dist/{chunk-UE5ZFTDL.js.map → chunk-VUJPKIJN.js.map} +0 -0
- /package/dist/{chunk-3MAT7PA4.js.map → chunk-W3XIDU5C.js.map} +0 -0
- /package/dist/{chunk-BMMHLSFQ.js.map → chunk-W5JX7LUK.js.map} +0 -0
- /package/dist/{chunk-K43ZLKQX.js.map → chunk-XOW4EBDN.js.map} +0 -0
- /package/dist/{chunk-3ACBEKKK.js.map → chunk-YUZGTNAO.js.map} +0 -0
- /package/dist/{chunk-YO5362QQ.js.map → chunk-YY6D3PI6.js.map} +0 -0
- /package/dist/{chunk-33WIDGQ7.js.map → chunk-Z6WDG4DW.js.map} +0 -0
- /package/dist/{claim-UQUJ5J5I.js.map → claim-IOM6PVO5.js.map} +0 -0
- /package/dist/{companies-NXEPFDIY.js.map → companies-WY4K6WLI.js.map} +0 -0
- /package/dist/{company-RIIA64VV.js.map → company-PVCI3LC7.js.map} +0 -0
- /package/dist/{complete-KAM3K2CM.js.map → complete-2QF4BZ5T.js.map} +0 -0
- /package/dist/{connect-TI3JW4M5.js.map → connect-GSLMEPHD.js.map} +0 -0
- /package/dist/{conversation-3SCH5CRT.js.map → conversation-5NCE56L3.js.map} +0 -0
- /package/dist/{conversions-3I5WDIIX.js.map → conversions-DGKHWOMN.js.map} +0 -0
- /package/dist/{copy-writes-QYN6PBU2.js.map → copy-writes-S4X5XUSK.js.map} +0 -0
- /package/dist/{create-7ASZBHEW.js.map → create-2EFBCVF4.js.map} +0 -0
- /package/dist/{create-46LJ3CWX.js.map → create-KKJX3JLV.js.map} +0 -0
- /package/dist/{create-UFXJVXBB.js.map → create-TRL622CZ.js.map} +0 -0
- /package/dist/{create-SQHEXHYQ.js.map → create-X2R7FNDZ.js.map} +0 -0
- /package/dist/{creatives-YWCFAQ3Z.js.map → creatives-D5WLUJWC.js.map} +0 -0
- /package/dist/{creatives-RRQ34QI6.js.map → creatives-EWTMQK7H.js.map} +0 -0
- /package/dist/{credentials-3ZPD57WP.js.map → credentials-H4W36WE7.js.map} +0 -0
- /package/dist/{critique-PQO3MZDL.js.map → critique-4Q3XEGS5.js.map} +0 -0
- /package/dist/{crm-BHUSW2ZE.js.map → crm-APNCVLF2.js.map} +0 -0
- /package/dist/{crm-M25I5QNT.js.map → crm-T3NV4EOU.js.map} +0 -0
- /package/dist/{customers-5ODHY4QN.js.map → customers-VZYCYMSL.js.map} +0 -0
- /package/dist/{delete-F7JORG53.js.map → delete-BWPILWUN.js.map} +0 -0
- /package/dist/{delete-HU57SOFR.js.map → delete-JGR3HPY5.js.map} +0 -0
- /package/dist/{delete-6BHCWKAH.js.map → delete-VJEOLHNE.js.map} +0 -0
- /package/dist/{demographics-HXHLFT5L.js.map → demographics-CBJ26IAA.js.map} +0 -0
- /package/dist/{discard-EH7IONIF.js.map → discard-3MMFPF26.js.map} +0 -0
- /package/dist/{domain-KRZEE7LC.js.map → domain-7MSMJMDP.js.map} +0 -0
- /package/dist/{download-WTCJS3A7.js.map → download-N3R6G3QV.js.map} +0 -0
- /package/dist/{draft-PTHPU3IS.js.map → draft-F6FHBF6I.js.map} +0 -0
- /package/dist/{draft-XW2B2P2T.js.map → draft-MKFFXTJK.js.map} +0 -0
- /package/dist/{draft-UU3F2VMJ.js.map → draft-OMGA2NYG.js.map} +0 -0
- /package/dist/{draft-FV7SB6CI.js.map → draft-XBO2DYIJ.js.map} +0 -0
- /package/dist/{experiment-DJSUGB7D.js.map → experiment-KOCG7PPI.js.map} +0 -0
- /package/dist/{experiments-65EQOUFR.js.map → experiments-VYYS5Y7W.js.map} +0 -0
- /package/dist/{extract-HQ4BZEYE.js.map → extract-F7D62JMA.js.map} +0 -0
- /package/dist/{facets-QI5RNKEQ.js.map → facets-6GJJIRRR.js.map} +0 -0
- /package/dist/{feedback-L5FA4OEN.js.map → feedback-3TYBQZY4.js.map} +0 -0
- /package/dist/{fetch-SSOJW3RK.js.map → fetch-JBXBMJBK.js.map} +0 -0
- /package/dist/{fit-AXP4NFP2.js.map → fit-ZFPYO3MS.js.map} +0 -0
- /package/dist/{flows-H4W5IM7U.js.map → flows-PP6BRBD7.js.map} +0 -0
- /package/dist/{forecast-4YWMOB7B.js.map → forecast-H24SICMO.js.map} +0 -0
- /package/dist/{funnel-ONY2XBMJ.js.map → funnel-BFVSY5A6.js.map} +0 -0
- /package/dist/{get-LNTXQ345.js.map → get-J4CETDIS.js.map} +0 -0
- /package/dist/{get-PQO53TEN.js.map → get-SPKPNRXF.js.map} +0 -0
- /package/dist/{google-NAW6VVQV.js.map → google-4IKGTP3C.js.map} +0 -0
- /package/dist/{google-ads-FZDZR6KH.js.map → google-ads-SGKGDWV6.js.map} +0 -0
- /package/dist/{history-KTVIM3IJ.js.map → history-K5ULNTEM.js.map} +0 -0
- /package/dist/{history-K4YAPGJ3.js.map → history-QOQY2F77.js.map} +0 -0
- /package/dist/{hubspot-UOPQHSI6.js.map → hubspot-HNZLT2BH.js.map} +0 -0
- /package/dist/{ideas-MLOBO3PE.js.map → ideas-35LERPN4.js.map} +0 -0
- /package/dist/{images-J2DV3E2R.js.map → images-R3EK4BDH.js.map} +0 -0
- /package/dist/{ingest-6DNWPSGL.js.map → ingest-5TSJM7A7.js.map} +0 -0
- /package/dist/{ingest-SMIIBCJ3.js.map → ingest-LYVNO5M5.js.map} +0 -0
- /package/dist/{insights-QU5A4XBO.js.map → insights-3SQWIU4E.js.map} +0 -0
- /package/dist/{inspect-DUJWXAIE.js.map → inspect-36R5WLLX.js.map} +0 -0
- /package/dist/{instant-experiences-EJWYFWDT.js.map → instant-experiences-HSRGMQ5T.js.map} +0 -0
- /package/dist/{keyword-metrics-O3ZZWBDG.js.map → keyword-metrics-JRB6DREM.js.map} +0 -0
- /package/dist/{keywords-for-site-LPCGSQY4.js.map → keywords-for-site-FQOELX5H.js.map} +0 -0
- /package/dist/{leads-O32IOMVF.js.map → leads-ILZAOKIF.js.map} +0 -0
- /package/dist/{leads-FEEWX7OO.js.map → leads-LWWPMZRY.js.map} +0 -0
- /package/dist/{learn-QPE4KRHG.js.map → learn-AWQ6JTP2.js.map} +0 -0
- /package/dist/{line-item-writes-JJ4T4V2Q.js.map → line-item-writes-APTZP3DI.js.map} +0 -0
- /package/dist/{line-items-YM66IBLP.js.map → line-items-5YSLNBGJ.js.map} +0 -0
- /package/dist/{link-EZE4JZVG.js.map → link-2MGGDKLP.js.map} +0 -0
- /package/dist/{linkedin-7XEJUWML.js.map → linkedin-EBOTX37R.js.map} +0 -0
- /package/dist/{linkedin-person-XUQSLPF2.js.map → linkedin-person-FNKW44RV.js.map} +0 -0
- /package/dist/{list-QOJMUH4X.js.map → list-75NNAGBR.js.map} +0 -0
- /package/dist/{list-MQDOG4HZ.js.map → list-CJU2Y6OP.js.map} +0 -0
- /package/dist/{list-7X3WKXTF.js.map → list-L3NBK64M.js.map} +0 -0
- /package/dist/{log-7JBCYIJX.js.map → log-JJDSDLOK.js.map} +0 -0
- /package/dist/{make-33UUJ5PM.js.map → make-U323I4SF.js.map} +0 -0
- /package/dist/{map-NIFBBDNM.js.map → map-KFN2QLYV.js.map} +0 -0
- /package/dist/{mcp-QK2F5TUK.js.map → mcp-KGAXFVUM.js.map} +0 -0
- /package/dist/{media-PUOLJUN3.js.map → media-UODVM47L.js.map} +0 -0
- /package/dist/{media-sources-SC37AKBB.js.map → media-sources-BSECLIMM.js.map} +0 -0
- /package/dist/{members-HC7U5KUA.js.map → members-6FHV7EM2.js.map} +0 -0
- /package/dist/{meta-SPPSYRMC.js.map → meta-4IOVQSFF.js.map} +0 -0
- /package/dist/{normalize-5ODYYXI7.js.map → normalize-YWIDJR4R.js.map} +0 -0
- /package/dist/{options-SJZTCLKS.js.map → options-R4Q46LU5.js.map} +0 -0
- /package/dist/{organization-AOFIUOQ2.js.map → organization-76LF7MHK.js.map} +0 -0
- /package/dist/{page-photos-ZBMJLL5V.js.map → page-photos-BCEDWPGX.js.map} +0 -0
- /package/dist/{pages-YZC44QR2.js.map → pages-TZBFJXNR.js.map} +0 -0
- /package/dist/{people-JGIT6MBV.js.map → people-BK6GRJXB.js.map} +0 -0
- /package/dist/{people-6NDW4WWF.js.map → people-HR7CAKZS.js.map} +0 -0
- /package/dist/{performance-BQF7DJ3O.js.map → performance-PTBBUEZU.js.map} +0 -0
- /package/dist/{performance-H55WMRL2.js.map → performance-Y2S5FDGI.js.map} +0 -0
- /package/dist/{pipedrive-ZFWEP3YY.js.map → pipedrive-NONV3NBQ.js.map} +0 -0
- /package/dist/{preview-BCKW7UQN.js.map → preview-HD3QAR53.js.map} +0 -0
- /package/dist/{preview-4GUQGDBD.js.map → preview-WHUVS5JJ.js.map} +0 -0
- /package/dist/{promoted-tweet-writes-WIC6FFVL.js.map → promoted-tweet-writes-3LNFAGEM.js.map} +0 -0
- /package/dist/{promoted-tweets-QDSKRNSQ.js.map → promoted-tweets-IHUQA35K.js.map} +0 -0
- /package/dist/{publish-4EQ5NQHX.js.map → publish-IUE7RHRD.js.map} +0 -0
- /package/dist/{reddit-Z26ARDXO.js.map → reddit-BOTUVLHL.js.map} +0 -0
- /package/dist/{refresh-F6A5XEAK.js.map → refresh-RPVVOQX4.js.map} +0 -0
- /package/dist/{release-L6ZRF5AJ.js.map → release-4YZWORV2.js.map} +0 -0
- /package/dist/{remove-5L2KTQPC.js.map → remove-FO7I4RQ3.js.map} +0 -0
- /package/dist/{reopen-DF6R6BAU.js.map → reopen-FMPQVL2C.js.map} +0 -0
- /package/dist/{rerun-Q56Q2W2X.js.map → rerun-RYL5UJRE.js.map} +0 -0
- /package/dist/{research-46UVGI2D.js.map → research-2H3ST6C2.js.map} +0 -0
- /package/dist/{research-Q62RSJUD.js.map → research-3LSWITEK.js.map} +0 -0
- /package/dist/{reset-V6X3G5PH.js.map → reset-PNCDMWGO.js.map} +0 -0
- /package/dist/{reset-KDC5XFG5.js.map → reset-RI6NO6NQ.js.map} +0 -0
- /package/dist/{resolve-IXXT6QWF.js.map → resolve-SGL3A5N5.js.map} +0 -0
- /package/dist/{retry-OCYVTVVG.js.map → retry-4FMP73MN.js.map} +0 -0
- /package/dist/{retry-4FNQHIX6.js.map → retry-JRH3WJSF.js.map} +0 -0
- /package/dist/{revenue-35UFQKKL.js.map → revenue-V4ODLBZ6.js.map} +0 -0
- /package/dist/{rule-writes-6XP7G35U.js.map → rule-writes-Q5NLSBF5.js.map} +0 -0
- /package/dist/{rules-AP2ICU4I.js.map → rules-EPNUXMHG.js.map} +0 -0
- /package/dist/{run-G23DLRG6.js.map → run-2SPQZ2ZZ.js.map} +0 -0
- /package/dist/{run-CFDP77WG.js.map → run-HLQUPQZ2.js.map} +0 -0
- /package/dist/{scaffold-ad-HP7YBAKN.js.map → scaffold-ad-3YLGTFRT.js.map} +0 -0
- /package/dist/{scaffold-static-ad-POBK2IKC.js.map → scaffold-static-ad-3RCD642H.js.map} +0 -0
- /package/dist/{scaffold-video-3IPXCHHN.js.map → scaffold-video-F5HTBM4R.js.map} +0 -0
- /package/dist/{schedule-HJV573BL.js.map → schedule-O36GKVZV.js.map} +0 -0
- /package/dist/{scheduled-agents-HFX4KH4V.js.map → scheduled-agents-4UNG26CX.js.map} +0 -0
- /package/dist/{schema-YVYQT6BC.js.map → schema-EOQASVWI.js.map} +0 -0
- /package/dist/{schema-NGPV47R7.js.map → schema-SRFWL4ZT.js.map} +0 -0
- /package/dist/{search-AAYZWQMO.js.map → search-DLMLA423.js.map} +0 -0
- /package/dist/{select-4I7FO7UT.js.map → select-KBYLNNL4.js.map} +0 -0
- /package/dist/{set-3LCLLRYX.js.map → set-6L7YV57E.js.map} +0 -0
- /package/dist/{set-prompt-J2C3TOBT.js.map → set-prompt-WBYLKIO3.js.map} +0 -0
- /package/dist/{setup-links-HNUCPAW4.js.map → setup-links-XT4TEZWI.js.map} +0 -0
- /package/dist/{shared-64RE42DL.js.map → shared-AXONQS3M.js.map} +0 -0
- /package/dist/{shopify-UBKI3JKN.js.map → shopify-ICWRWUZE.js.map} +0 -0
- /package/dist/{site-XJJHQNT3.js.map → site-LYDFZM5U.js.map} +0 -0
- /package/dist/{sources-NY32FQPM.js.map → sources-CP4UQ5KA.js.map} +0 -0
- /package/dist/{sources-LVWFPHOX.js.map → sources-FPWA4AJN.js.map} +0 -0
- /package/dist/{stale-L7MCNGJP.js.map → stale-GWG4V65Q.js.map} +0 -0
- /package/dist/{status-XICT5BPG.js.map → status-W6S7AY43.js.map} +0 -0
- /package/dist/{stock-V7WOLG34.js.map → stock-6VZFFAHW.js.map} +0 -0
- /package/dist/{study-writes-HXUQRPIK.js.map → study-writes-SI5QXY7F.js.map} +0 -0
- /package/dist/{sync-DG663OFL.js.map → sync-I6ZVQOSZ.js.map} +0 -0
- /package/dist/{sync-definition-OL5ZJLNQ.js.map → sync-definition-NADPEPFQ.js.map} +0 -0
- /package/dist/{tags-GP3IOE63.js.map → tags-47QAF2ZJ.js.map} +0 -0
- /package/dist/{tags-UZJRMPZC.js.map → tags-AN5B56GA.js.map} +0 -0
- /package/dist/{tags-FJXGDNSO.js.map → tags-ETUV62EB.js.map} +0 -0
- /package/dist/{tags-E37DRTZV.js.map → tags-IQ6BCRLE.js.map} +0 -0
- /package/dist/{tags-N6UN6I3L.js.map → tags-UKAR6FCS.js.map} +0 -0
- /package/dist/{targeting-7T7XHBIX.js.map → targeting-3XK4OLPG.js.map} +0 -0
- /package/dist/{targeting-criteria-HQG75XAL.js.map → targeting-criteria-4E6SURB5.js.map} +0 -0
- /package/dist/{targets-NXQYDGEH.js.map → targets-GJUR5WTB.js.map} +0 -0
- /package/dist/{testimonials-OTASXY47.js.map → testimonials-UCVT5VQY.js.map} +0 -0
- /package/dist/{top-companies-WZIQAUTH.js.map → top-companies-WID72GN5.js.map} +0 -0
- /package/dist/{transcript-5HO7BQRD.js.map → transcript-OMYAOZSP.js.map} +0 -0
- /package/dist/{translate-LURNTJEX.js.map → translate-TIAJBFQ3.js.map} +0 -0
- /package/dist/{triggers-ZRBBUNYF.js.map → triggers-IEMDGR6W.js.map} +0 -0
- /package/dist/{unlink-H5SQ57TY.js.map → unlink-WCLQPP7S.js.map} +0 -0
- /package/dist/{unstage-KNSI3Y2Y.js.map → unstage-KRPX3AGF.js.map} +0 -0
- /package/dist/{update-QP22ZPEI.js.map → update-CPSZ4EH3.js.map} +0 -0
- /package/dist/{update-ANZ7CHW2.js.map → update-CQ4VF2S5.js.map} +0 -0
- /package/dist/{update-RJIFET4D.js.map → update-NP2MOMJS.js.map} +0 -0
- /package/dist/{update-KGPKRELC.js.map → update-XF462N7M.js.map} +0 -0
- /package/dist/{upload-4YGKKCLJ.js.map → upload-WRRNFTRK.js.map} +0 -0
- /package/dist/{url-params-GQAMXOEW.js.map → url-params-DKGJVTGL.js.map} +0 -0
- /package/dist/{validate-VJ5YQTGI.js.map → validate-6AHY2UQR.js.map} +0 -0
- /package/dist/{videos-TJG5CA7N.js.map → videos-C5OCSAIF.js.map} +0 -0
- /package/dist/{videos-DT7NTHEQ.js.map → videos-FG64T3XK.js.map} +0 -0
- /package/dist/{viewer-check-BYG3MOVA.js.map → viewer-check-3YGDWCTR.js.map} +0 -0
- /package/dist/{visuals-YD3AAT6W.js.map → visuals-3C2QUE6G.js.map} +0 -0
- /package/dist/{web-PMKY5YYD.js.map → web-K3JH5TXT.js.map} +0 -0
- /package/dist/{winning-ads-FKS2EF3V.js.map → winning-ads-QDVS56XX.js.map} +0 -0
- /package/dist/{write-commands-4KI6T2NF.js.map → write-commands-T46SVSQ7.js.map} +0 -0
- /package/dist/{write-commands-XP6HJJKI.js.map → write-commands-X72A5F7K.js.map} +0 -0
- /package/dist/{x-7TVBJ7SK.js.map → x-JU6LF2MM.js.map} +0 -0
|
@@ -6,16 +6,18 @@ import {
|
|
|
6
6
|
registerMetaListSchema,
|
|
7
7
|
shapeMetaListRows,
|
|
8
8
|
writeMetaListRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VBIKO56A.js";
|
|
10
10
|
import "./chunk-PRPSV4VB.js";
|
|
11
11
|
import {
|
|
12
12
|
NAME_CONTAINS_ARG,
|
|
13
|
+
accountsInScope,
|
|
13
14
|
csvOrJson,
|
|
14
15
|
handleMetaError,
|
|
15
|
-
|
|
16
|
+
listingLimit,
|
|
17
|
+
readEachAccount,
|
|
16
18
|
resolveEffectiveStatus,
|
|
17
19
|
statusFilterHints
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YF57BX3S.js";
|
|
19
21
|
import "./chunk-QALAJNBG.js";
|
|
20
22
|
import {
|
|
21
23
|
NO_CACHE_ARG
|
|
@@ -43,7 +45,10 @@ function advantagePlusHints(rows) {
|
|
|
43
45
|
] : [];
|
|
44
46
|
}
|
|
45
47
|
var listArgs = {
|
|
46
|
-
"account-id": {
|
|
48
|
+
"account-id": {
|
|
49
|
+
type: "string",
|
|
50
|
+
description: "Meta ad account ID (act_123). Without it every connected account is read, each row tagged with its account_id."
|
|
51
|
+
},
|
|
47
52
|
"effective-status": { type: "string", description: "Comma-separated effective_status filter (overrides default)" },
|
|
48
53
|
"all-statuses": { type: "boolean", description: "Drop the default ACTIVE filter and return everything" },
|
|
49
54
|
"name-contains": NAME_CONTAINS_ARG,
|
|
@@ -54,7 +59,7 @@ var listArgs = {
|
|
|
54
59
|
};
|
|
55
60
|
registerMetaListSchema(
|
|
56
61
|
"campaigns",
|
|
57
|
-
"List campaigns in a Meta ad account, as a table by default: id, name, effective_status, daily_budget, lifetime_budget, created_date; a campaign budgeted on its ad sets adds budget_level: adset and adset_daily_budget/adset_lifetime_budget (the sum of its ACTIVE ad sets' budgets, 0 when all are paused). ACTIVE only unless --all-statuses. Start here: baker ads meta campaigns --account-id act_123 --all-statuses. --fields takes dotted paths for anything else (e.g. id,name,objective,bid_strategy,special_ad_categories,advantage_state_info); --full returns every field Meta sent; --output json returns the rows in the envelope. A hint names the campaigns Meta counts as Advantage+.",
|
|
62
|
+
"List campaigns in a Meta ad account, as a table by default: id, name, effective_status, daily_budget, lifetime_budget, created_date; a campaign budgeted on its ad sets adds budget_level: adset and adset_daily_budget/adset_lifetime_budget (the sum of its ACTIVE ad sets' budgets, 0 when all are paused). ACTIVE only unless --all-statuses. Start here: baker ads meta campaigns --account-id act_123 --all-statuses. --fields takes dotted paths for anything else (e.g. id,name,objective,bid_strategy,special_ad_categories,advantage_state_info); --full returns every field Meta sent; --output json returns the rows in the envelope. A hint names the campaigns Meta counts as Advantage+. With no --account-id and several accounts connected, every account is read and each row leads with its account_id: baker ads meta campaigns --all-statuses --name-contains octubre",
|
|
58
63
|
listArgs
|
|
59
64
|
);
|
|
60
65
|
var listCommand = defineCommand({
|
|
@@ -64,10 +69,10 @@ var listCommand = defineCommand({
|
|
|
64
69
|
},
|
|
65
70
|
args: listArgs,
|
|
66
71
|
run: async ({ args }) => {
|
|
67
|
-
const
|
|
72
|
+
const accounts = await accountsInScope(args);
|
|
68
73
|
const effectiveStatus = resolveEffectiveStatus(args);
|
|
69
74
|
try {
|
|
70
|
-
const params = {
|
|
75
|
+
const params = {};
|
|
71
76
|
if (effectiveStatus) params["effective-status"] = effectiveStatus;
|
|
72
77
|
if (args["name-contains"]) params["name-contains"] = args["name-contains"];
|
|
73
78
|
if (args.ids) params.ids = args.ids;
|
|
@@ -75,9 +80,15 @@ var listCommand = defineCommand({
|
|
|
75
80
|
if (fields) params.fields = fields;
|
|
76
81
|
if (args.limit) params.limit = args.limit;
|
|
77
82
|
if (args["no-cache"]) params["skip-cache"] = "true";
|
|
78
|
-
const
|
|
79
|
-
|
|
83
|
+
const read = await readEachAccount(
|
|
84
|
+
accounts,
|
|
85
|
+
(accountId) => apiGet("/api/ads/meta/campaigns", { ...params, "account-id": accountId }),
|
|
86
|
+
{ limit: listingLimit(args, 1e3) }
|
|
87
|
+
);
|
|
88
|
+
const data = read.rows;
|
|
89
|
+
const shaped = shapeMetaListRows("campaigns", data, args, read.accountOf);
|
|
80
90
|
writeMetaListRows("campaigns", shaped, csvOrJson(args), [
|
|
91
|
+
...read.hints,
|
|
81
92
|
...statusFilterHints(data, effectiveStatus, "campaigns"),
|
|
82
93
|
...advantagePlusHints(data),
|
|
83
94
|
...budgetUnitHints([...data, ...shaped.rows])
|
|
@@ -116,14 +127,14 @@ Examples:
|
|
|
116
127
|
},
|
|
117
128
|
subCommands: {
|
|
118
129
|
list: listCommand,
|
|
119
|
-
create: () => import("./write-commands-
|
|
120
|
-
update: () => import("./write-commands-
|
|
121
|
-
pause: () => import("./write-commands-
|
|
122
|
-
resume: () => import("./write-commands-
|
|
123
|
-
archive: () => import("./write-commands-
|
|
124
|
-
delete: () => import("./write-commands-
|
|
125
|
-
duplicate: () => import("./write-commands-
|
|
126
|
-
copy: () => import("./copy-writes-
|
|
130
|
+
create: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsCreateCommand),
|
|
131
|
+
update: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsUpdateCommand),
|
|
132
|
+
pause: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsPauseCommand),
|
|
133
|
+
resume: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsResumeCommand),
|
|
134
|
+
archive: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsArchiveCommand),
|
|
135
|
+
delete: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsDeleteCommand),
|
|
136
|
+
duplicate: () => import("./write-commands-T46SVSQ7.js").then((m) => m.campaignsDuplicateCommand),
|
|
137
|
+
copy: () => import("./copy-writes-S4X5XUSK.js").then((m) => m.campaignsCopyCommand)
|
|
127
138
|
},
|
|
128
139
|
// `args` stays even though the parent has no `run`: citty scans rawArgs for the
|
|
129
140
|
// subcommand name using THIS command's arg defs, so without them `--account-id act_1`
|
|
@@ -136,4 +147,4 @@ export {
|
|
|
136
147
|
advantagePlusHints,
|
|
137
148
|
campaignsCommand
|
|
138
149
|
};
|
|
139
|
-
//# sourceMappingURL=campaigns-
|
|
150
|
+
//# sourceMappingURL=campaigns-55VLNVCE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/ads/meta/campaigns.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { NO_CACHE_ARG } from \"../../../cache-flag.ts\";\nimport { apiGet } from \"../../../client.ts\";\nimport {\n budgetUnitHints,\n IDS_ARG,\n META_LIST_SHAPE_ARGS,\n metaListFields,\n registerMetaListSchema,\n shapeMetaListRows,\n writeMetaListRows,\n} from \"./list-rows.ts\";\nimport {\n accountsInScope,\n csvOrJson,\n handleMetaError,\n listingLimit,\n NAME_CONTAINS_ARG,\n readEachAccount,\n resolveEffectiveStatus,\n statusFilterHints,\n} from \"./shared.ts\";\n\n/**\n * Which listed campaigns Meta counts as Advantage+, read off the derived\n * `advantage_state_info` — a hint rather than a column, so the compact row of a\n * 100-campaign account stays small. Advantage+ is not a switch: it follows from\n * a campaign budget, Advantage+ audience and automatic placements.\n */\nexport function advantagePlusHints(rows: ReadonlyArray<Record<string, unknown>>): string[] {\n const named = rows.flatMap((row) => {\n const info = row.advantage_state_info as { advantage_state?: unknown } | undefined;\n const state = info?.advantage_state;\n return typeof state === \"string\" && state.startsWith(\"ADVANTAGE_PLUS_\")\n ? [`${String(row.id)} (${state.slice(\"ADVANTAGE_PLUS_\".length).toLowerCase()})`]\n : [];\n });\n return named.length > 0\n ? [\n `Advantage+ campaigns: ${named.join(\", \")}. Per-lever states (budget, audience, placements): --fields id,name,advantage_state_info.`,\n ]\n : [];\n}\n\nconst listArgs = {\n \"account-id\": {\n type: \"string\",\n description:\n \"Meta ad account ID (act_123). Without it every connected account is read, each row tagged with its account_id.\",\n },\n \"effective-status\": { type: \"string\", description: \"Comma-separated effective_status filter (overrides default)\" },\n \"all-statuses\": { type: \"boolean\", description: \"Drop the default ACTIVE filter and return everything\" },\n \"name-contains\": NAME_CONTAINS_ARG,\n ids: IDS_ARG,\n limit: { type: \"string\", description: \"Max rows (default 1000)\" },\n \"no-cache\": NO_CACHE_ARG,\n ...META_LIST_SHAPE_ARGS,\n} as const;\n\nregisterMetaListSchema(\n \"campaigns\",\n \"List campaigns in a Meta ad account, as a table by default: id, name, effective_status, daily_budget, lifetime_budget, created_date; a campaign budgeted on its ad sets adds budget_level: adset and adset_daily_budget/adset_lifetime_budget (the sum of its ACTIVE ad sets' budgets, 0 when all are paused). ACTIVE only unless --all-statuses. Start here: baker ads meta campaigns --account-id act_123 --all-statuses. --fields takes dotted paths for anything else (e.g. id,name,objective,bid_strategy,special_ad_categories,advantage_state_info); --full returns every field Meta sent; --output json returns the rows in the envelope. A hint names the campaigns Meta counts as Advantage+. With no --account-id and several accounts connected, every account is read and each row leads with its account_id: baker ads meta campaigns --all-statuses --name-contains octubre\",\n listArgs,\n);\n\nconst listCommand = defineCommand({\n meta: {\n name: \"list\",\n description:\n \"List campaigns for a Meta ad account. Runs by default when no subcommand is given. Example: baker ads meta campaigns --account-id act_123\",\n },\n args: listArgs,\n run: async ({ args }) => {\n const accounts = await accountsInScope(args);\n const effectiveStatus = resolveEffectiveStatus(args);\n try {\n const params: Record<string, string> = {};\n if (effectiveStatus) params[\"effective-status\"] = effectiveStatus;\n if (args[\"name-contains\"]) params[\"name-contains\"] = args[\"name-contains\"] as string;\n if (args.ids) params.ids = args.ids as string;\n const fields = metaListFields(\"campaigns\", args);\n if (fields) params.fields = fields;\n if (args.limit) params.limit = args.limit as string;\n if (args[\"no-cache\"]) params[\"skip-cache\"] = \"true\";\n const read = await readEachAccount(\n accounts,\n (accountId) =>\n apiGet<Array<Record<string, unknown>>>(\"/api/ads/meta/campaigns\", { ...params, \"account-id\": accountId }),\n { limit: listingLimit(args, 1000) },\n );\n const data = read.rows;\n const shaped = shapeMetaListRows(\"campaigns\", data, args, read.accountOf);\n writeMetaListRows(\"campaigns\", shaped, csvOrJson(args), [\n ...read.hints,\n ...statusFilterHints(data, effectiveStatus, \"campaigns\"),\n ...advantagePlusHints(data),\n ...budgetUnitHints([...data, ...shaped.rows]),\n ]);\n } catch (err) {\n handleMetaError(err);\n }\n },\n});\n\nexport const campaignsCommand = defineCommand({\n meta: {\n name: \"campaigns\",\n description: `List campaigns for a Meta ad account, or stage writes (create/update/pause/resume/archive/delete/duplicate/copy).\nDefaults to ACTIVE only — pass --all-statuses to widen. Write subcommands stage ops on this chat's draft and\napply only when the chat is published.\n\nIn Meta's API \"campaign\" is the top-of-tree object (what marketers usually call a campaign group).\nThe dashboard shows effective_status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, etc.\n\nListings print a table by default: id, name, effective_status, daily/lifetime budget, created_date\n(a campaign budgeted on its ad sets adds budget_level: adset and adset_daily_budget: its ACTIVE ad sets' sum).\n--fields takes dotted paths for anything else (objective, bid_strategy, special_ad_categories, created_time,\nadvantage_state_info). A hint names the campaigns Meta counts as Advantage+ — a state Meta derives from a\ncampaign budget, Advantage+ audience and automatic placements on every ad set, not a setting;\n--full returns every field; --output json returns the same rows in the { ok, data } envelope.\n\nExamples:\n baker ads meta campaigns --account-id act_123 # ACTIVE only\n baker ads meta campaigns --account-id act_123 --all-statuses # everything\n baker ads meta campaigns --account-id act_123 --all-statuses --name-contains Q3 # find one by name\n baker ads meta campaigns --account-id act_123 --fields id,name,objective,bid_strategy,special_ad_categories\n baker ads meta campaigns --account-id act_123 --output json # rows as JSON\n baker ads meta campaigns --ids 6123,6124 # the ones you have ids for, any status\n baker ads meta campaigns create --account-id act_123 --name \"Q3\" --objective OUTCOME_LEADS --daily-budget 50\n baker ads meta campaigns pause 6123 --account-id act_123`,\n },\n subCommands: {\n list: listCommand,\n create: () => import(\"./write-commands.ts\").then((m) => m.campaignsCreateCommand),\n update: () => import(\"./write-commands.ts\").then((m) => m.campaignsUpdateCommand),\n pause: () => import(\"./write-commands.ts\").then((m) => m.campaignsPauseCommand),\n resume: () => import(\"./write-commands.ts\").then((m) => m.campaignsResumeCommand),\n archive: () => import(\"./write-commands.ts\").then((m) => m.campaignsArchiveCommand),\n delete: () => import(\"./write-commands.ts\").then((m) => m.campaignsDeleteCommand),\n duplicate: () => import(\"./write-commands.ts\").then((m) => m.campaignsDuplicateCommand),\n copy: () => import(\"./copy-writes.ts\").then((m) => m.campaignsCopyCommand),\n },\n // `args` stays even though the parent has no `run`: citty scans rawArgs for the\n // subcommand name using THIS command's arg defs, so without them `--account-id act_1`\n // would read `act_1` as a subcommand. `default` (not `run`) dispatches the bare\n // invocation — citty falls through to `run` after a subcommand, double-executing it.\n args: listArgs,\n default: \"list\",\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AA6BvB,SAAS,mBAAmB,MAAwD;AACzF,QAAM,QAAQ,KAAK,QAAQ,CAAC,QAAQ;AAClC,UAAM,OAAO,IAAI;AACjB,UAAM,QAAQ,MAAM;AACpB,WAAO,OAAO,UAAU,YAAY,MAAM,WAAW,iBAAiB,IAClE,CAAC,GAAG,OAAO,IAAI,EAAE,CAAC,KAAK,MAAM,MAAM,kBAAkB,MAAM,EAAE,YAAY,CAAC,GAAG,IAC7E,CAAC;AAAA,EACP,CAAC;AACD,SAAO,MAAM,SAAS,IAClB;AAAA,IACE,yBAAyB,MAAM,KAAK,IAAI,CAAC;AAAA,EAC3C,IACA,CAAC;AACP;AAEA,IAAM,WAAW;AAAA,EACf,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,aACE;AAAA,EACJ;AAAA,EACA,oBAAoB,EAAE,MAAM,UAAU,aAAa,8DAA8D;AAAA,EACjH,gBAAgB,EAAE,MAAM,WAAW,aAAa,uDAAuD;AAAA,EACvG,iBAAiB;AAAA,EACjB,KAAK;AAAA,EACL,OAAO,EAAE,MAAM,UAAU,aAAa,0BAA0B;AAAA,EAChE,YAAY;AAAA,EACZ,GAAG;AACL;AAEA;AAAA,EACE;AAAA,EACA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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBf;AAAA,EACA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,sBAAsB;AAAA,IAChF,QAAQ,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,sBAAsB;AAAA,IAChF,OAAO,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,qBAAqB;AAAA,IAC9E,QAAQ,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,sBAAsB;AAAA,IAChF,SAAS,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,uBAAuB;AAAA,IAClF,QAAQ,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,sBAAsB;AAAA,IAChF,WAAW,MAAM,OAAO,8BAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,yBAAyB;AAAA,IACtF,MAAM,MAAM,OAAO,2BAAkB,EAAE,KAAK,CAAC,MAAM,EAAE,oBAAoB;AAAA,EAC3E;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAM;AAAA,EACN,SAAS;AACX,CAAC;","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveAccountIdArg,
|
|
7
7
|
resolveStatusFilter,
|
|
8
8
|
statusesArgDescription
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SBID6GZZ.js";
|
|
10
10
|
import {
|
|
11
11
|
NO_CACHE_ARG
|
|
12
12
|
} from "./chunk-TBT6NWDX.js";
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
writeAdsJson,
|
|
18
18
|
writeAdsOutput
|
|
19
19
|
} from "./chunk-NX4EB2TK.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JGXB7NBP.js";
|
|
21
21
|
import "./chunk-RJHGIRU2.js";
|
|
22
22
|
import "./chunk-WCU362Z6.js";
|
|
23
23
|
import "./chunk-P7YPWBEV.js";
|
|
24
24
|
import "./chunk-GIWHHCD6.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-PNGXJPM5.js";
|
|
26
26
|
import "./chunk-SOPVIIUW.js";
|
|
27
27
|
import "./chunk-G4FG5EQO.js";
|
|
28
28
|
import "./chunk-CS4VA3GQ.js";
|
|
@@ -172,15 +172,15 @@ Examples:
|
|
|
172
172
|
},
|
|
173
173
|
subCommands: {
|
|
174
174
|
list: campaignsListCommand,
|
|
175
|
-
create: () => import("./write-commands-
|
|
176
|
-
update: () => import("./write-commands-
|
|
177
|
-
pause: () => import("./write-commands-
|
|
178
|
-
resume: () => import("./write-commands-
|
|
179
|
-
archive: () => import("./write-commands-
|
|
180
|
-
duplicate: () => import("./write-commands-
|
|
181
|
-
delete: () => import("./write-commands-
|
|
182
|
-
"url-params": () => import("./write-commands-
|
|
183
|
-
"exclude-companies": () => import("./write-commands-
|
|
175
|
+
create: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsCreateCommand),
|
|
176
|
+
update: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsUpdateCommand),
|
|
177
|
+
pause: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsPauseCommand),
|
|
178
|
+
resume: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsResumeCommand),
|
|
179
|
+
archive: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsArchiveCommand),
|
|
180
|
+
duplicate: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsDuplicateCommand),
|
|
181
|
+
delete: () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsDeleteCommand),
|
|
182
|
+
"url-params": () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsUrlParamsCommand),
|
|
183
|
+
"exclude-companies": () => import("./write-commands-X72A5F7K.js").then((m) => m.campaignsExcludeCompaniesCommand)
|
|
184
184
|
},
|
|
185
185
|
// A parent must never declare `run`: citty falls through to it *after* running
|
|
186
186
|
// the matched subcommand, so every write would also trigger a full live list.
|
|
@@ -191,4 +191,4 @@ Examples:
|
|
|
191
191
|
export {
|
|
192
192
|
campaignsCommand
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=campaigns-
|
|
194
|
+
//# sourceMappingURL=campaigns-YFB3PCLE.js.map
|
|
@@ -95,10 +95,10 @@ Examples:
|
|
|
95
95
|
},
|
|
96
96
|
subCommands: {
|
|
97
97
|
list: campaignsListCommand,
|
|
98
|
-
create: () => import("./campaign-writes-
|
|
99
|
-
update: () => import("./campaign-writes-
|
|
100
|
-
pause: () => import("./campaign-writes-
|
|
101
|
-
resume: () => import("./campaign-writes-
|
|
98
|
+
create: () => import("./campaign-writes-NMMJXTYD.js").then((m) => m.campaignsCreateCommand),
|
|
99
|
+
update: () => import("./campaign-writes-NMMJXTYD.js").then((m) => m.campaignsUpdateCommand),
|
|
100
|
+
pause: () => import("./campaign-writes-NMMJXTYD.js").then((m) => m.campaignsPauseCommand),
|
|
101
|
+
resume: () => import("./campaign-writes-NMMJXTYD.js").then((m) => m.campaignsResumeCommand)
|
|
102
102
|
},
|
|
103
103
|
// A parent must never declare `run`: citty falls through to it AFTER the
|
|
104
104
|
// matched subcommand, so every write would also trigger a full live list.
|
|
@@ -108,4 +108,4 @@ Examples:
|
|
|
108
108
|
export {
|
|
109
109
|
campaignsCommand
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=campaigns-
|
|
111
|
+
//# sourceMappingURL=campaigns-ZWPYUZFF.js.map
|
|
@@ -26,23 +26,23 @@ Subcommands:
|
|
|
26
26
|
Full guide: __tooling__/docs/tools/baker/canvas.md`
|
|
27
27
|
},
|
|
28
28
|
subCommands: {
|
|
29
|
-
run: () => import("./run-
|
|
30
|
-
rerun: () => import("./rerun-
|
|
31
|
-
validate: () => import("./validate-
|
|
32
|
-
critique: () => import("./critique-
|
|
33
|
-
"viewer-check": () => import("./viewer-check-
|
|
34
|
-
catalog: () => import("./catalog-
|
|
35
|
-
inspect: () => import("./inspect-
|
|
36
|
-
"scaffold-ad": () => import("./scaffold-ad-
|
|
37
|
-
"scaffold-video": () => import("./scaffold-video-
|
|
38
|
-
"scaffold-static-ad": () => import("./scaffold-static-ad-
|
|
39
|
-
set: () => import("./set-
|
|
40
|
-
"set-prompt": () => import("./set-prompt-
|
|
41
|
-
"sync-definition": () => import("./sync-definition-
|
|
42
|
-
stale: () => import("./stale-
|
|
29
|
+
run: () => import("./run-2SPQZ2ZZ.js").then((m) => m.runCommand),
|
|
30
|
+
rerun: () => import("./rerun-RYL5UJRE.js").then((m) => m.rerunCommand),
|
|
31
|
+
validate: () => import("./validate-6AHY2UQR.js").then((m) => m.validateCommand),
|
|
32
|
+
critique: () => import("./critique-4Q3XEGS5.js").then((m) => m.critiqueCommand),
|
|
33
|
+
"viewer-check": () => import("./viewer-check-3YGDWCTR.js").then((m) => m.viewerCheckCommand),
|
|
34
|
+
catalog: () => import("./catalog-XEALUTOG.js").then((m) => m.catalogCommand),
|
|
35
|
+
inspect: () => import("./inspect-36R5WLLX.js").then((m) => m.inspectCommand),
|
|
36
|
+
"scaffold-ad": () => import("./scaffold-ad-3YLGTFRT.js").then((m) => m.scaffoldAdCommand),
|
|
37
|
+
"scaffold-video": () => import("./scaffold-video-F5HTBM4R.js").then((m) => m.scaffoldVideoCommand),
|
|
38
|
+
"scaffold-static-ad": () => import("./scaffold-static-ad-3RCD642H.js").then((m) => m.scaffoldStaticAdCommand),
|
|
39
|
+
set: () => import("./set-6L7YV57E.js").then((m) => m.setCommand),
|
|
40
|
+
"set-prompt": () => import("./set-prompt-WBYLKIO3.js").then((m) => m.setPromptCommand),
|
|
41
|
+
"sync-definition": () => import("./sync-definition-NADPEPFQ.js").then((m) => m.syncDefinitionCommand),
|
|
42
|
+
stale: () => import("./stale-GWG4V65Q.js").then((m) => m.staleCommand)
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
export {
|
|
46
46
|
canvasCommand
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=canvas-
|
|
48
|
+
//# sourceMappingURL=canvas-NJV6RSX3.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
failApi
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6VAUBRY3.js";
|
|
4
|
+
import "./chunk-JGXB7NBP.js";
|
|
5
5
|
import "./chunk-RJHGIRU2.js";
|
|
6
6
|
import "./chunk-WCU362Z6.js";
|
|
7
7
|
import "./chunk-P7YPWBEV.js";
|
|
8
8
|
import "./chunk-GIWHHCD6.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PNGXJPM5.js";
|
|
10
10
|
import "./chunk-SOPVIIUW.js";
|
|
11
11
|
import "./chunk-G4FG5EQO.js";
|
|
12
12
|
import {
|
|
@@ -182,4 +182,4 @@ export {
|
|
|
182
182
|
capabilitiesCommand,
|
|
183
183
|
capabilityHints
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=capabilities-
|
|
185
|
+
//# sourceMappingURL=capabilities-FJAYWDY6.js.map
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
catalogView,
|
|
3
3
|
defaultRegistry,
|
|
4
4
|
generateCatalog
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RVWBLOXX.js";
|
|
6
|
+
import "./chunk-4U4YQOO2.js";
|
|
7
7
|
import "./chunk-Y2VYMMVR.js";
|
|
8
8
|
import "./chunk-DGCUPJZD.js";
|
|
9
9
|
import "./chunk-2U4HJDUO.js";
|
|
@@ -21,12 +21,12 @@ import "./chunk-WZ5YRUQU.js";
|
|
|
21
21
|
import "./chunk-FRPD55CU.js";
|
|
22
22
|
import "./chunk-4L5HUR2F.js";
|
|
23
23
|
import "./chunk-O5H5ZG2O.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-JGXB7NBP.js";
|
|
25
25
|
import "./chunk-RJHGIRU2.js";
|
|
26
26
|
import "./chunk-WCU362Z6.js";
|
|
27
27
|
import "./chunk-P7YPWBEV.js";
|
|
28
28
|
import "./chunk-GIWHHCD6.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PNGXJPM5.js";
|
|
30
30
|
import "./chunk-SOPVIIUW.js";
|
|
31
31
|
import "./chunk-G4FG5EQO.js";
|
|
32
32
|
import "./chunk-CS4VA3GQ.js";
|
|
@@ -87,4 +87,4 @@ function namedNodes(ids, node) {
|
|
|
87
87
|
export {
|
|
88
88
|
catalogCommand
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=catalog-
|
|
90
|
+
//# sourceMappingURL=catalog-XEALUTOG.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
requireTarget,
|
|
9
9
|
stageOp,
|
|
10
10
|
upper
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2WHALQOJ.js";
|
|
12
12
|
import {
|
|
13
13
|
retailerIdFilter
|
|
14
14
|
} from "./chunk-3R62EYYX.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-GDFJOCDO.js";
|
|
|
16
16
|
import {
|
|
17
17
|
csvOrJson,
|
|
18
18
|
handleMetaError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YF57BX3S.js";
|
|
20
20
|
import "./chunk-XD7C5OE7.js";
|
|
21
21
|
import "./chunk-UKENQSZ2.js";
|
|
22
22
|
import "./chunk-D5FY4FAK.js";
|
|
@@ -783,4 +783,4 @@ export {
|
|
|
783
783
|
productFieldsFromArgs,
|
|
784
784
|
productSetFilterFromArgs
|
|
785
785
|
};
|
|
786
|
-
//# sourceMappingURL=catalogs-
|
|
786
|
+
//# sourceMappingURL=catalogs-B24HAEXZ.js.map
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withWindowSpellings
|
|
3
|
-
} from "./chunk-74QGFUZL.js";
|
|
4
1
|
import {
|
|
5
2
|
repeatedValues
|
|
6
3
|
} from "./chunk-ERSX3MKH.js";
|
|
7
4
|
import {
|
|
8
5
|
failApi
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6VAUBRY3.js";
|
|
7
|
+
import "./chunk-JGXB7NBP.js";
|
|
11
8
|
import "./chunk-RJHGIRU2.js";
|
|
12
9
|
import "./chunk-WCU362Z6.js";
|
|
13
10
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -15,7 +12,7 @@ import "./chunk-GIWHHCD6.js";
|
|
|
15
12
|
import {
|
|
16
13
|
CHAT_IMPORT_SURFACES,
|
|
17
14
|
EFFECT_LISTS
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PNGXJPM5.js";
|
|
19
16
|
import "./chunk-SOPVIIUW.js";
|
|
20
17
|
import "./chunk-G4FG5EQO.js";
|
|
21
18
|
import "./chunk-CS4VA3GQ.js";
|
|
@@ -121,7 +118,6 @@ function stillPublishingHints(status) {
|
|
|
121
118
|
|
|
122
119
|
// src/commands/chats/index.ts
|
|
123
120
|
var STATUS_GROUPS = ["active", "archived", "all"];
|
|
124
|
-
var DEFAULT_LIST_LIMIT = 20;
|
|
125
121
|
var REPO_SURFACES = ["knowledge", "company", "brand", "landings", "flows", "creatives"];
|
|
126
122
|
function parseBoundedInt(raw, name, min, max) {
|
|
127
123
|
if (raw === void 0) {
|
|
@@ -135,7 +131,7 @@ function parseBoundedInt(raw, name, min, max) {
|
|
|
135
131
|
}
|
|
136
132
|
registerSchema({
|
|
137
133
|
command: "chats.list",
|
|
138
|
-
description: 'Start here: list other Sessions on this account (newest first) so you can reuse what was done before. Each row shows the Session id, title, status, and a count of what it produced (creatives, landings, actions, flows,
|
|
134
|
+
description: 'Start here: list other Sessions on this account (newest first) so you can reuse what was done before. Each row shows the Session id, title, status, and a count of what it produced (creatives, landings, actions, flows, reports\u2026). Looking for one? `--search "PMax Brasil"` finds the Sessions whose title or conversation holds any of the words, newest first, each with the `match` it was found by; read the match before trusting a row, since more words match more Sessions. Then drill in with `baker chats view <id>`, `baker chats transcript <id>`, or `baker chats diff <id>`. Read-only.',
|
|
139
135
|
args: {
|
|
140
136
|
status: { type: "string", description: "Filter: active|archived|all (default: all)", required: false },
|
|
141
137
|
limit: { type: "string", description: "Max Sessions to return, 1-100 (default: 20)", required: false },
|
|
@@ -144,73 +140,12 @@ registerSchema({
|
|
|
144
140
|
type: "string",
|
|
145
141
|
description: 'Sessions whose title or conversation holds any of these words, newest first, each with its `match` (e.g. --search "PMax Brasil")',
|
|
146
142
|
required: false
|
|
147
|
-
},
|
|
148
|
-
since: {
|
|
149
|
-
type: "string",
|
|
150
|
-
description: "First day, YYYY-MM-DD in the company's time zone: Sessions worked on (with --published, published) from it",
|
|
151
|
-
required: false
|
|
152
|
-
},
|
|
153
|
-
until: {
|
|
154
|
-
type: "string",
|
|
155
|
-
description: "Last day, inclusive, YYYY-MM-DD (e.g. --since 2026-11-16 --until 2026-11-16 for one day)",
|
|
156
|
-
required: false
|
|
157
|
-
},
|
|
158
|
-
published: {
|
|
159
|
-
type: "boolean",
|
|
160
|
-
description: "Only Sessions that were published, newest publish first, each with its publishedAt",
|
|
161
|
-
required: false,
|
|
162
|
-
default: false
|
|
163
143
|
}
|
|
164
144
|
}
|
|
165
145
|
});
|
|
166
|
-
function listRequestBody(args) {
|
|
167
|
-
if (args.status !== void 0 && !STATUS_GROUPS.includes(args.status)) {
|
|
168
|
-
throw new Error(`--status must be one of: ${STATUS_GROUPS.join("|")}`);
|
|
169
|
-
}
|
|
170
|
-
const status = STATUS_GROUPS.find((group) => group === args.status);
|
|
171
|
-
const limit = parseBoundedInt(args.limit, "limit", 1, 100);
|
|
172
|
-
const selfChatId = getEnv().BAKER_CHAT_ID;
|
|
173
|
-
return {
|
|
174
|
-
...args.search ? { search: args.search } : {},
|
|
175
|
-
...status ? { status } : {},
|
|
176
|
-
...limit !== void 0 ? { limit } : {},
|
|
177
|
-
...args.full ? { full: true } : {},
|
|
178
|
-
...args.since ? { since: args.since } : {},
|
|
179
|
-
...args.until ? { until: args.until } : {},
|
|
180
|
-
...args.published ? { published: true } : {},
|
|
181
|
-
...selfChatId ? { excludeChatId: selfChatId } : {}
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
function emptyListHint(args) {
|
|
185
|
-
if (args.search) {
|
|
186
|
-
return "No Session's title or conversation holds any of those words. Try other words (a name, a figure), widen with --status all, or drop --search to list the newest.";
|
|
187
|
-
}
|
|
188
|
-
if (args.since || args.until) {
|
|
189
|
-
return args.published ? "No Session was published in those days (company time zone). Widen --since/--until, or drop --published to see the Sessions worked on." : "No Session was worked on in those days (company time zone). Widen --since/--until.";
|
|
190
|
-
}
|
|
191
|
-
return "No Sessions matched. Widen with --status all or a larger --limit.";
|
|
192
|
-
}
|
|
193
|
-
function listHints(args, count, limit) {
|
|
194
|
-
if (count === 0) {
|
|
195
|
-
return [emptyListHint(args)];
|
|
196
|
-
}
|
|
197
|
-
if (!(args.since || args.until)) {
|
|
198
|
-
return [
|
|
199
|
-
"Drill in: `baker chats view <id>` for outputs, `chats transcript <id>` for the conversation, `chats diff <id>` for the real file changes."
|
|
200
|
-
];
|
|
201
|
-
}
|
|
202
|
-
const recap = `These rows are the recap: each one's \`outputs\`${args.full ? " and `changes`" : " (add --full for each change by name)"} is what that Session produced. Answer from them \u2014 open a single Session only for a detail the person asks about, never one \`view\` per row.`;
|
|
203
|
-
if (count >= limit) {
|
|
204
|
-
return [
|
|
205
|
-
`These are the newest ${count}; the period may hold more \u2014 raise --limit (up to 100) or narrow --since/--until.`,
|
|
206
|
-
recap
|
|
207
|
-
];
|
|
208
|
-
}
|
|
209
|
-
return [recap];
|
|
210
|
-
}
|
|
211
146
|
var listCommand = defineCommand({
|
|
212
147
|
meta: { name: "list", description: "List other Sessions on this account, newest first." },
|
|
213
|
-
args:
|
|
148
|
+
args: {
|
|
214
149
|
status: { type: "string", description: "Filter: active|archived|all (default: all)", required: false },
|
|
215
150
|
limit: { type: "string", description: "Max Sessions (1-100, default 20)", required: false },
|
|
216
151
|
full: { type: "boolean", description: "Include each Session's full change list", required: false, default: false },
|
|
@@ -218,24 +153,44 @@ var listCommand = defineCommand({
|
|
|
218
153
|
type: "string",
|
|
219
154
|
description: "Sessions whose title or conversation holds any of these words",
|
|
220
155
|
required: false
|
|
221
|
-
},
|
|
222
|
-
since: { type: "string", description: "First day worked on (or published), YYYY-MM-DD", required: false },
|
|
223
|
-
until: { type: "string", description: "Last day, inclusive, YYYY-MM-DD", required: false },
|
|
224
|
-
published: {
|
|
225
|
-
type: "boolean",
|
|
226
|
-
description: "Only published Sessions, by publish date",
|
|
227
|
-
required: false,
|
|
228
|
-
default: false
|
|
229
156
|
}
|
|
230
|
-
}
|
|
157
|
+
},
|
|
231
158
|
run: async ({ args }) => {
|
|
232
159
|
try {
|
|
233
|
-
const body =
|
|
160
|
+
const body = {};
|
|
161
|
+
if (args.search) {
|
|
162
|
+
body.search = args.search;
|
|
163
|
+
}
|
|
164
|
+
if (args.status) {
|
|
165
|
+
if (!STATUS_GROUPS.includes(args.status)) {
|
|
166
|
+
throw new Error(`--status must be one of: ${STATUS_GROUPS.join("|")}`);
|
|
167
|
+
}
|
|
168
|
+
body.status = args.status;
|
|
169
|
+
}
|
|
170
|
+
const limit = parseBoundedInt(args.limit, "limit", 1, 100);
|
|
171
|
+
if (limit !== void 0) {
|
|
172
|
+
body.limit = limit;
|
|
173
|
+
}
|
|
174
|
+
if (args.full) {
|
|
175
|
+
body.full = true;
|
|
176
|
+
}
|
|
177
|
+
const selfChatId = getEnv().BAKER_CHAT_ID;
|
|
178
|
+
if (selfChatId) {
|
|
179
|
+
body.excludeChatId = selfChatId;
|
|
180
|
+
}
|
|
234
181
|
const response = await apiPost("/api/chats/list", body);
|
|
235
182
|
writeJson({
|
|
236
183
|
ok: true,
|
|
237
184
|
...rowsAsData(response.data, "chats"),
|
|
238
|
-
|
|
185
|
+
...response.data.chats.length === 0 ? {
|
|
186
|
+
hints: [
|
|
187
|
+
args.search ? "No Session's title or conversation holds any of those words. Try other words (a name, a figure), widen with --status all, or drop --search to list the newest." : "No Sessions matched. Widen with --status all or a larger --limit."
|
|
188
|
+
]
|
|
189
|
+
} : {
|
|
190
|
+
hints: [
|
|
191
|
+
"Drill in: `baker chats view <id>` for outputs, `chats transcript <id>` for the conversation, `chats diff <id>` for the real file changes."
|
|
192
|
+
]
|
|
193
|
+
}
|
|
239
194
|
});
|
|
240
195
|
} catch (err) {
|
|
241
196
|
failApi(err);
|
|
@@ -702,4 +657,4 @@ Full guide: __tooling__/docs/tools/baker/chats.md`
|
|
|
702
657
|
export {
|
|
703
658
|
chatsCommand
|
|
704
659
|
};
|
|
705
|
-
//# sourceMappingURL=chats-
|
|
660
|
+
//# sourceMappingURL=chats-65GTXYEC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/chats/index.ts","../src/commands/chats/carry-files.ts","../src/commands/chats/publish-hints.ts"],"sourcesContent":["import type { ChatsDiffResponse, ChatsListResponse, ChatsTranscriptResponse, ChatsViewResponse } from \"@baker/api\";\nimport {\n CHAT_IMPORT_SURFACES,\n type ChatSurfaceDetail,\n type ChatsImportResponse,\n EFFECT_LISTS,\n type EffectList,\n} from \"@baker/api/chats\";\n\ntype ChatImportSurface = (typeof CHAT_IMPORT_SURFACES)[number];\n\nimport { defineCommand } from \"citty\";\nimport { apiPost } from \"../../client.ts\";\nimport { getEnv, requireChatId } from \"../../env.ts\";\nimport { repeatedValues } from \"../../lib/repeatedFlags.ts\";\nimport { rowsAsData, writeJson } from \"../../output.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { failApi } from \"../actions/shared.ts\";\nimport { applyPatch, patchRefusal, readSourceFiles, revertPatch, type SourceFiles } from \"./carry-files.ts\";\nimport { publishHints, stillPublishingHints } from \"./publish-hints.ts\";\n\nconst STATUS_GROUPS = [\"active\", \"archived\", \"all\"] as const;\nconst REPO_SURFACES = [\"knowledge\", \"company\", \"brand\", \"landings\", \"flows\", \"creatives\"] as const;\n\nfunction parseBoundedInt(raw: string | undefined, name: string, min: number, max: number): number | undefined {\n if (raw === undefined) {\n return undefined;\n }\n const value = Number.parseInt(raw, 10);\n if (Number.isNaN(value) || value < min || value > max) {\n throw new Error(`--${name} must be an integer between ${min} and ${max}`);\n }\n return value;\n}\n\nregisterSchema({\n command: \"chats.list\",\n description:\n 'Start here: list other Sessions on this account (newest first) so you can reuse what was done before. Each row shows the Session id, title, status, and a count of what it produced (creatives, landings, actions, flows, reports…). Looking for one? `--search \"PMax Brasil\"` finds the Sessions whose title or conversation holds any of the words, newest first, each with the `match` it was found by; read the match before trusting a row, since more words match more Sessions. Then drill in with `baker chats view <id>`, `baker chats transcript <id>`, or `baker chats diff <id>`. Read-only.',\n args: {\n status: { type: \"string\", description: \"Filter: active|archived|all (default: all)\", required: false },\n limit: { type: \"string\", description: \"Max Sessions to return, 1-100 (default: 20)\", required: false },\n full: { type: \"boolean\", description: \"Include each Session's full change list\", required: false, default: false },\n search: {\n type: \"string\",\n description:\n 'Sessions whose title or conversation holds any of these words, newest first, each with its `match` (e.g. --search \"PMax Brasil\")',\n required: false,\n },\n },\n});\n\nconst listCommand = defineCommand({\n meta: { name: \"list\", description: \"List other Sessions on this account, newest first.\" },\n args: {\n status: { type: \"string\", description: \"Filter: active|archived|all (default: all)\", required: false },\n limit: { type: \"string\", description: \"Max Sessions (1-100, default 20)\", required: false },\n full: { type: \"boolean\", description: \"Include each Session's full change list\", required: false, default: false },\n search: {\n type: \"string\",\n description: \"Sessions whose title or conversation holds any of these words\",\n required: false,\n },\n },\n run: async ({ args }) => {\n try {\n const body: Record<string, unknown> = {};\n if (args.search) {\n body.search = args.search;\n }\n if (args.status) {\n if (!(STATUS_GROUPS as readonly string[]).includes(args.status)) {\n throw new Error(`--status must be one of: ${STATUS_GROUPS.join(\"|\")}`);\n }\n body.status = args.status;\n }\n const limit = parseBoundedInt(args.limit, \"limit\", 1, 100);\n if (limit !== undefined) {\n body.limit = limit;\n }\n if (args.full) {\n body.full = true;\n }\n // Exclude our own Session so we never list ourselves as a reusable \"other\".\n const selfChatId = getEnv().BAKER_CHAT_ID;\n if (selfChatId) {\n body.excludeChatId = selfChatId;\n }\n const response = await apiPost<ChatsListResponse>(\"/api/chats/list\", body);\n writeJson({\n ok: true,\n ...rowsAsData(response.data, \"chats\"),\n ...(response.data.chats.length === 0\n ? {\n hints: [\n args.search\n ? \"No Session's title or conversation holds any of those words. Try other words (a name, a figure), widen with --status all, or drop --search to list the newest.\"\n : \"No Sessions matched. Widen with --status all or a larger --limit.\",\n ],\n }\n : {\n hints: [\n \"Drill in: `baker chats view <id>` for outputs, `chats transcript <id>` for the conversation, `chats diff <id>` for the real file changes.\",\n ],\n }),\n });\n } catch (err) {\n failApi(err);\n }\n },\n});\n\nregisterSchema({\n command: \"chats.view\",\n routes: [\"POST /api/chats/view\"],\n effect: \"read\",\n description:\n \"Inspect one Session's FULL picture of what it changed — the unified `effects`: git content (landings, creatives, flows, knowledge, brand), plus DB-only effects that never touch the repo — Actions, Scheduled agents, Tags, Tag Manager, Google Analytics, ad-platform writes, the funnel (`funnel`: which steps it added, changed or removed, and which ways in it added or removed in `triggersAdded`/`triggersRemoved`), what counts as a conversion (`conversions`), conversion sends, event sources, and every other staged or already-applied change (`otherChanges`: A/B tests, recipes, library images) — each resolved to real detail (names, descriptions, priorities, tag types, ad operations) and, once published, its `outcome`. Also `publish` (what each external surface actually did, with the provider's own error), `activitySummary` (the chat's own timeline counted by action, with its notable rows: status changes, publish start/fail, workspace recoveries, timeouts; the rows whole as `activity` with --full), `usage` (per-thread cost and the Session's token totals), the kickoff (how it was asked), threads, and commits. Effects are `staged` (in-progress draft) or applied. Compact shows at most 25 rows per list; a list cut to fit is named in `truncated` with its total and every row counted by kind and outcome. `activitySummary.capped` true means the Session logged more than 500 timeline rows and the counts cover the newest 500. One surface: `--surface ads.google` returns only that list, every row counted by kind and outcome (`counts`) plus the first 5 rows that did not apply (`notApplied`: staged, failed, skipped, refused); add --full for all of its rows. A completed Session is NOT proof its external changes landed — read `publish`. Use after `baker chats list` to decide whether to reuse it. Read-only.\",\n args: {\n id: { type: \"positional\", description: \"The Session id (from `baker chats list`)\", required: true },\n full: {\n type: \"boolean\",\n description:\n \"Every effect row and the whole activity timeline (compact caps each list at 25 and counts the timeline)\",\n required: false,\n default: false,\n },\n surface: {\n type: \"string\",\n description: `One effect list only, counted by kind and outcome, with the rows that did not apply: ${EFFECT_LISTS.join(\"|\")}`,\n required: false,\n },\n },\n});\n\nfunction effectListArg(raw: string | undefined): EffectList | undefined {\n if (raw === undefined) {\n return undefined;\n }\n const list = EFFECT_LISTS.find((name) => name === raw);\n if (!list) {\n throw new Error(`--surface must be one of: ${EFFECT_LISTS.join(\"|\")}`);\n }\n return list;\n}\n\nfunction surfaceHints(data: ChatSurfaceDetail, full: boolean): string[] {\n const { list, total, notApplied, notAppliedTotal } = data.surface;\n const hints: string[] = [];\n if (!full && notApplied.length < notAppliedTotal) {\n hints.push(\n `notApplied shows ${notApplied.length} of ${notAppliedTotal} rows that did not apply — \\`counts\\` has every one; read them all with \\`baker chats view <id> --surface ${list} --full\\`.`,\n );\n }\n if (!full && notApplied.length < total) {\n hints.push(\n `${list} shows ${notApplied.length} of its ${total} rows; read every row with \\`baker chats view <id> --surface ${list} --full\\`.`,\n );\n }\n hints.push(\"What each platform's Publish did overall, with its errors: `baker chats view <id> --fields publish`.\");\n return hints;\n}\n\nconst viewCommand = defineCommand({\n meta: {\n name: \"view\",\n description: \"Inspect one Session's full effects — git content + actions/tags/ads, kickoff, commits.\",\n },\n args: {\n id: { type: \"positional\", description: \"The Session id\", required: true },\n full: { type: \"boolean\", description: \"Include full detail\", required: false, default: false },\n surface: { type: \"string\", description: \"One effect list only, e.g. ads.google\", required: false },\n },\n run: async ({ args }) => {\n try {\n const surface = effectListArg(args.surface);\n const response = await apiPost<ChatsViewResponse>(\"/api/chats/view\", {\n chatId: args.id,\n ...(args.full ? { full: true } : {}),\n ...(surface ? { surface } : {}),\n });\n if (\"surface\" in response.data) {\n writeJson({ ...response, hints: surfaceHints(response.data, args.full) });\n return;\n }\n const hints: string[] = response.data.publish ? publishHints(response.data.publish) : [];\n for (const cut of response.data.truncated ?? []) {\n hints.push(\n `effects.${cut.list} shows ${cut.shown} of ${cut.total} — \\`truncated\\` counts all ${cut.total} by kind and outcome; read that list alone with \\`baker chats view <id> --surface ${cut.list}\\`.`,\n );\n }\n if (response.data.activitySummary?.capped) {\n hints.push(\n \"activitySummary covers only the Session's newest 500 timeline rows: its total and counts leave the earlier ones out.\",\n );\n }\n if (response.data.diffAvailable) {\n hints.push(\"See the real file-level diff of the git content with `baker chats diff <id> --full`.\");\n } else if (response.data.status === \"in_progress\" || response.data.status === \"publishing\") {\n hints.push(\n \"This Session is still in progress — read its current file changes with `baker chats diff <id> --live`.\",\n );\n }\n hints.push(...stillPublishingHints(response.data.status));\n hints.push(\"Read the conversation with `baker chats transcript <id>`.\");\n writeJson({ ...response, hints });\n } catch (err) {\n failApi(err);\n }\n },\n});\n\nconst TRANSCRIPT_ROLES = [\"user\", \"assistant\"] as const;\n\n/** Every `--search` given (citty keeps only the last): one text as itself, several as a list matched as any of them. */\nfunction transcriptSearch(rawArgs: readonly string[], parsed: unknown): string | string[] | undefined {\n const texts = repeatedValues(rawArgs, \"search\", parsed).filter((text) => text.trim() !== \"\");\n return texts.length > 1 ? texts : texts[0];\n}\n\nregisterSchema({\n command: \"chats.transcript\",\n routes: [\"POST /api/chats/transcript\"],\n effect: \"read\",\n description:\n 'Start here: read a Session\\'s conversation (user + agent turns), the most recent messages last. Leave out the id to read THIS chat — the way to recover its own earlier words after a context summary (never grep the raw logs on disk). `--search \"5.700\"` returns only the messages holding the text, from the whole conversation however long — repeat it for several (`--search lead --search GTM`: the messages holding any of them, in one call, never a loop); `--role user` keeps one side; `--turns` keeps each request and the agent\\'s closing message of that turn (a recap). To recap an earlier Session, start with `--turns --role user` (its requests), then `--turns --role assistant --limit 3` or `--search` for how it went: `--turns` alone returns every closing reply. Compact truncates long messages (around the match when searching); add --full for verbatim text of one message found with `--search \"<distinctive phrase>\" --limit 1` — a whole chat verbatim runs to tens of KB. Read-only.',\n args: {\n id: {\n type: \"positional\",\n description: \"The Session id (from `baker chats list`). Default: this chat\",\n required: false,\n },\n search: {\n type: \"string\",\n description:\n 'Only messages containing this text, case-insensitive (e.g. --search \"5.700\"); repeat it for messages holding any of several (--search lead --search GTM)',\n required: false,\n },\n role: { type: \"string\", description: \"Only one side: user|assistant\", required: false },\n turns: {\n type: \"boolean\",\n description: \"Only each user message and the agent's closing message of that turn\",\n required: false,\n default: false,\n },\n limit: { type: \"string\", description: \"Max messages to return, 1-1000 (default: 100)\", required: false },\n full: {\n type: \"boolean\",\n description: \"Return verbatim (untruncated) message text\",\n required: false,\n default: false,\n },\n },\n});\n\nconst transcriptCommand = defineCommand({\n meta: { name: \"transcript\", description: \"Read a Session's conversation — another one, or this chat's own.\" },\n args: {\n id: { type: \"positional\", description: \"The Session id (default: this chat)\", required: false },\n search: {\n type: \"string\",\n description: \"Only messages containing this text (repeatable: any of them)\",\n required: false,\n },\n role: { type: \"string\", description: \"Only one side: user|assistant\", required: false },\n turns: { type: \"boolean\", description: \"Each request + the closing reply\", required: false, default: false },\n limit: { type: \"string\", description: \"Max messages (1-1000, default 100)\", required: false },\n full: { type: \"boolean\", description: \"Verbatim message text\", required: false, default: false },\n },\n run: async ({ args, rawArgs }) => {\n try {\n // No id reads the caller's own chat, so its earlier words survive a context summary.\n const chatId = args.id ?? getEnv().BAKER_CHAT_ID;\n if (!chatId) {\n throw new Error(\"Pass the Session id: `baker chats transcript <id>` (find it with `baker chats list`).\");\n }\n const body: Record<string, unknown> = { chatId };\n const search = transcriptSearch(rawArgs, args.search);\n if (search !== undefined) body.search = search;\n if (args.role) {\n if (!(TRANSCRIPT_ROLES as readonly string[]).includes(args.role)) {\n throw new Error(`--role must be one of: ${TRANSCRIPT_ROLES.join(\"|\")}`);\n }\n body.role = args.role;\n }\n if (args.turns) {\n body.turns = true;\n }\n const limit = parseBoundedInt(args.limit, \"limit\", 1, 1000);\n if (limit !== undefined) {\n body.limit = limit;\n }\n if (args.full) {\n body.full = true;\n }\n const response = await apiPost<ChatsTranscriptResponse>(\"/api/chats/transcript\", body);\n const hints: string[] = [];\n if (response.data.truncated) {\n hints.push(\"Older messages were dropped to fit --limit. Raise --limit, or narrow with --search.\");\n }\n if (response.data.answersNotKept) {\n hints.push(\n \"A question card says `Answer no longer kept`: only the last 10 answers are kept, so no --limit brings it back. Read the user's reply from the messages after it.\",\n );\n }\n if (search !== undefined && response.data.entries.length === 0) {\n hints.push(\n \"No message holds that text. The whole conversation was searched — try a shorter or differently written piece of it.\",\n );\n }\n writeJson({ ...response, meta: { count: response.data.entries.length }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failApi(err);\n }\n },\n});\n\nregisterSchema({\n command: \"chats.diff\",\n description:\n \"See the real file-level changes a Session made (landings, creatives, brand, flows, knowledge). Published Sessions read from git; for an in-progress (unpublished) Session pass --live to read its changes straight from its running workspace. Without --live, an unpublished Session returns available:false — use `baker chats view` for the staged summary. Compact lists changed files with +/- counts; add --full for the actual diff text. Read-only.\",\n args: {\n id: { type: \"positional\", description: \"The Session id\", required: true },\n surface: {\n type: \"string\",\n description: \"Filter to one surface: knowledge|company|brand|landings|flows|creatives\",\n required: false,\n },\n full: {\n type: \"boolean\",\n description: \"Include the unified-diff patch text per file\",\n required: false,\n default: false,\n },\n live: {\n type: \"boolean\",\n description:\n \"For an in-progress Session, read its changes from the live workspace (slower; resumes the paused Runtime). Ignored for published Sessions.\",\n required: false,\n default: false,\n },\n },\n});\n\nconst diffCommand = defineCommand({\n meta: { name: \"diff\", description: \"See a published Session's real file-level changes.\" },\n args: {\n id: { type: \"positional\", description: \"The Session id\", required: true },\n surface: {\n type: \"string\",\n description: \"Filter: knowledge|company|brand|landings|flows|creatives\",\n required: false,\n },\n full: { type: \"boolean\", description: \"Include the diff patch text per file\", required: false, default: false },\n live: {\n type: \"boolean\",\n description: \"Read an in-progress Session's changes from its live workspace (slower)\",\n required: false,\n default: false,\n },\n },\n run: async ({ args }) => {\n try {\n const body: Record<string, unknown> = { chatId: args.id };\n if (args.surface) {\n if (!(REPO_SURFACES as readonly string[]).includes(args.surface)) {\n throw new Error(`--surface must be one of: ${REPO_SURFACES.join(\"|\")}`);\n }\n body.surface = args.surface;\n }\n if (args.full) {\n body.full = true;\n }\n if (args.live) {\n body.live = true;\n }\n const response = await apiPost<ChatsDiffResponse>(\"/api/chats/diff\", body);\n writeJson({\n ...response,\n meta: { count: response.data.files.length },\n ...(!response.data.available && response.data.reason ? { hints: [response.data.reason] } : {}),\n ...(response.data.available && !args.full && response.data.files.length > 0\n ? { hints: [\"Add --full to read the actual diff text for each file.\"] }\n : {}),\n });\n } catch (err) {\n failApi(err);\n }\n },\n});\n\nconst IMPORT_DESCRIPTION = `Bring another chat's unpublished work into this chat, in one call — and take it out of that chat, so publishing both can never apply anything twice.\n\nStart here when the user wants another chat's work brought into this one (\"bring over\", \"merge the two\nchats\", \"its publish keeps failing — carry it over\", \"recover what the discarded chat did\"):\n baker chats import --from-chat <chat-id> # everything: files and staged changes\n baker chats import --from-chat <chat-id> --only meta-ads,tasks # only these staged surfaces, no files\n baker chats import --from-chat <chat-id> --failed # a PUBLISHED chat: the ad changes its publish could not apply\n baker chats import --from-chat $BAKER_CHAT_ID --failed # this chat's own last Publish: its failed ad changes, to fix and publish again\n\nThe other chat may be open, its publish may have failed, or it may be discarded. Its file changes (Knowledge,\npages, Forms, pictures) are applied in this workspace exactly as it made them, and every staged surface moves\nexactly as staged: ads (Google, Meta, LinkedIn, X, ChatGPT), Shopify, Tag Manager, Google Analytics, tracking\ntags, Tasks, scheduled agents, ActiveCampaign, site settings, ad goals, the funnel, conversions, conversion\nsends, event sources and lead routes. When both chats change the same file or the same thing, nothing moves\nand the refusal names each clash — ask the user which version wins. A chat whose publish failed is then closed\nto publishing, so the same work never goes live twice.\n--failed takes the Google Ads, Meta, LinkedIn, X and ChatGPT changes a published chat's publish could not\napply (failed, or skipped because what they needed failed), stages them here as they were — naming what did\napply by its real id — and takes them out of that chat, so its Retry cannot apply them twice. A chat goes on\nafter its Publish: naming this chat itself takes what its own last Publish could not apply into what it stages now.\nA change moved here cannot go back: to leave one behind, ask the user first and use --only (Google Ads alone\ncan pick single changes: \\`baker ads google draft import --from-chat <id> --refs|--exclude\\`).\nFind chat ids with \\`baker chats list\\`; see what one staged with \\`baker chats view <id>\\`.`;\n\nregisterSchema({\n command: \"chats.import\",\n description: IMPORT_DESCRIPTION,\n args: {\n \"from-chat\": {\n type: \"string\",\n description: \"The other chat — open, publish failed or discarded; published, or this chat itself, with --failed\",\n required: true,\n },\n only: {\n type: \"string\",\n description: `Comma-separated staged surfaces to move, leaving its files there (default: everything): ${CHAT_IMPORT_SURFACES.join(\", \")}`,\n required: false,\n },\n failed: {\n type: \"boolean\",\n description: \"The other chat is published: stage here the ad changes its publish could not apply\",\n required: false,\n default: false,\n },\n },\n});\n\n/** What became of the other chat's files, and of that chat itself. */\nfunction filesHints(data: ChatsImportResponse[\"data\"], files: SourceFiles | undefined): string[] {\n const hints: string[] = [];\n if (files?.kind === \"patch\") {\n hints.push(\n `Its ${files.paths.length} changed file(s) are now in this workspace, exactly as that chat left them: ${files.paths.join(\", \")}. Check them in the preview; never rebuild them by hand.`,\n );\n }\n if (files?.kind === \"stayed\") {\n hints.push(\n `Its file changes (Knowledge, pages, Forms…) did not come along: ${files.reason} Tell the user what is missing; do not rebuild it from memory.`,\n );\n } else if (data.filesStayed > 0) {\n hints.push(\n `Chat ${data.fromChatId} also changed ${data.filesStayed} file(s) (Knowledge, pages, Forms…) that did not come along. Run the import without --only to bring them.`,\n );\n }\n if (data.carried) {\n hints.push(\n \"That chat holds nothing of its own any more and can no longer be published, so the same work never goes live twice. This chat publishes all of it.\",\n );\n } else if (files?.kind === \"patch\") {\n hints.push(\n \"That chat still has its own copy of these files: tell the user to publish only this chat, or the same file changes would go live twice.\",\n );\n }\n return hints;\n}\n\n/** What the agent needs after a move: what stayed behind in the other chat, and what to check next. */\nfunction importHints(data: ChatsImportResponse[\"data\"], files: SourceFiles | undefined, failed: boolean): string[] {\n const hints: string[] = [];\n const moved = data.surfaces.reduce((sum, surface) => sum + surface.moved, 0);\n const stayed = data.surfaces.filter((surface) => surface.left);\n if (moved === 0 && stayed.length === 0 && files?.kind !== \"patch\") {\n hints.push(\n failed\n ? `Every ad change of chat ${data.fromChatId} applied, so there was nothing to bring over.`\n : `Chat ${data.fromChatId} had no unpublished changes, so nothing moved.`,\n );\n }\n for (const surface of stayed) {\n hints.push(\n `${surface.left?.count ? `${surface.left.count} ` : \"\"}${surface.surface} change(s) stayed in chat ${data.fromChatId}: ${surface.left?.reason}`,\n );\n }\n hints.push(...filesHints(data, files));\n if (moved > 0) {\n hints.push(\n \"The moved changes are this chat's now and publish with it; the other chat no longer holds them. Review them with each surface's `draft list` (and `baker ads google draft validate` when Google Ads changes moved).\",\n );\n }\n if (moved > 0 && stayed.length === 0 && !data.carried) {\n hints.push(\n \"Nothing staged stayed in the other chat. Never tell the user to discard it for this: its other work is still there.\",\n );\n }\n if (failed && moved > 0) {\n hints.push(\n \"They failed once for a reason: read each one's error with `baker chats view <id>` (publish) and amend it here before the user publishes, or it can fail the same way.\",\n );\n }\n return hints;\n}\n\ntype OnlyFlag = { surfaces?: ChatImportSurface[] } | { refusal: string };\n\n/** The surfaces `--only` names; absent means every surface, and a list naming none is refused. */\nfunction onlyFlag(value: unknown): OnlyFlag {\n if (typeof value !== \"string\") return {};\n const named = value\n .split(\",\")\n .map((surface) => surface.trim())\n .filter((surface) => surface.length > 0);\n if (named.length === 0) return { refusal: \"--only names no surface\" };\n const unknown = named.filter((surface) => !(CHAT_IMPORT_SURFACES as readonly string[]).includes(surface));\n if (unknown.length > 0) return { refusal: `--only names ${unknown.join(\", \")}, which is not a surface` };\n return { surfaces: named as ChatImportSurface[] };\n}\n\nfunction refuse(message: string, fix: string): never {\n writeJson({ ok: false, error: { code: \"VALIDATION_ERROR\", message, fix } });\n process.exit(1);\n}\n\n/** The other chat's files, applied here before its staged changes move — or why they stay there, or clash. */\nasync function carryFiles(fromChatId: string): Promise<SourceFiles | { kind: \"clash\"; paths: string[] }> {\n const files = await readSourceFiles(fromChatId);\n if (files.kind !== \"patch\") return files;\n const clashes = patchRefusal(files.patch);\n if (clashes) return { kind: \"clash\", paths: clashes };\n applyPatch(files.patch);\n return files;\n}\n\nconst importCommand = defineCommand({\n meta: { name: \"import\", description: IMPORT_DESCRIPTION },\n args: {\n \"from-chat\": {\n type: \"string\",\n description: \"The other chat whose work comes here — or, with --failed, this chat's own last Publish\",\n },\n only: { type: \"string\", description: \"Comma-separated staged surfaces to move, without files (default: all)\" },\n failed: {\n type: \"boolean\",\n description: \"From a published chat (this one included): the ad changes its publish could not apply\",\n default: false,\n },\n },\n run: async ({ args }) => {\n const fromChatId = typeof args[\"from-chat\"] === \"string\" ? args[\"from-chat\"].trim() : \"\";\n if (!fromChatId) {\n refuse(\n \"--from-chat is required\",\n \"Name the other chat: baker chats import --from-chat <chat-id> (ids from `baker chats list`).\",\n );\n }\n const only = onlyFlag(args.only);\n if (\"refusal\" in only) {\n // A list naming nothing must never widen to \"every surface\": the move takes them out of the other chat.\n refuse(\n only.refusal,\n `Name surfaces from: ${CHAT_IMPORT_SURFACES.join(\", \")} — or leave --only off to move them all.`,\n );\n }\n if (args.failed && only.surfaces) {\n refuse(\"--failed takes every ad platform's failed changes\", \"Leave --only off with --failed.\");\n }\n const chatId = requireChatId();\n let files: Awaited<ReturnType<typeof carryFiles>> | undefined;\n try {\n files = args.failed || only.surfaces ? undefined : await carryFiles(fromChatId);\n } catch (err) {\n failApi(err);\n }\n if (files?.kind === \"clash\") {\n refuse(\n `Nothing moved: these files changed in both chats, differently: ${files.paths.join(\", \")}.`,\n \"Ask the user which version should win. To bring only the other chat's staged changes and leave its files there, run the import again with --only and the surfaces it staged.\",\n );\n }\n try {\n const response = await apiPost<ChatsImportResponse>(\"/api/chats/import\", {\n chatId,\n fromChatId,\n ...(only.surfaces ? { surfaces: only.surfaces } : {}),\n ...(files?.kind === \"patch\" ? { filesCarried: true } : {}),\n ...(args.failed ? { failed: true } : {}),\n });\n writeJson({ ...response, hints: importHints(response.data, files, Boolean(args.failed)) });\n } catch (err) {\n // All or nothing: the files go back out when the staged changes could not come with them.\n if (files?.kind === \"patch\") revertPatch(files.patch);\n failApi(err);\n }\n },\n});\n\nexport const chatsCommand = defineCommand({\n meta: {\n name: \"chats\",\n description: `Inspect other Sessions on this account: list them, view what they produced, read their conversation, and see their real file changes — so you can reuse past work for a new goal. \\`import --from-chat <id>\\` moves another open Session's staged changes into this one.\nFull guide: __tooling__/docs/tools/baker/chats.md`,\n },\n subCommands: {\n list: listCommand,\n view: viewCommand,\n transcript: transcriptCommand,\n diff: diffCommand,\n import: importCommand,\n },\n});\n","/**\n * The file half of `baker chats import`: the other chat's changes to its files (Knowledge, pages,\n * Forms, pictures…), read from its workspace as one patch (`chats diff --live`'s `gitPatch`) and\n * applied here with `git apply` — exactly, or not at all.\n */\n\nimport { execFileSync } from \"node:child_process\";\nimport type { ChatsDiffResponse } from \"@baker/api\";\nimport { apiPost } from \"../../client.ts\";\n\nexport type SourceFiles =\n | { kind: \"none\" }\n | { kind: \"patch\"; patch: string; paths: string[] }\n | { kind: \"stayed\"; reason: string };\n\n/** What the other chat changed in its files, as something this workspace can apply — or why not. */\nexport async function readSourceFiles(fromChatId: string): Promise<SourceFiles> {\n const response = await apiPost<ChatsDiffResponse>(\"/api/chats/diff\", {\n chatId: fromChatId,\n live: true,\n gitPatch: true,\n });\n const { data } = response;\n if (!data.available) {\n return { kind: \"stayed\", reason: data.reason ?? \"its files could not be read.\" };\n }\n if (data.source === \"published\") {\n // Its changes reached the live site already, so there is nothing of them to carry.\n return { kind: \"none\" };\n }\n if (data.files.length === 0) {\n return { kind: \"none\" };\n }\n if (data.gitPatch === undefined) {\n return {\n kind: \"stayed\",\n reason: \"its file changes are too large to bring over in one piece, so none of them came along.\",\n };\n }\n return { kind: \"patch\", patch: data.gitPatch, paths: data.files.map((file) => file.path) };\n}\n\nfunction repoRoot(): string {\n return execFileSync(\"git\", [\"rev-parse\", \"--show-toplevel\"], { encoding: \"utf8\" }).trim();\n}\n\n/** `git apply` of the patch at this workspace's root; `check` changes nothing, `reverse` takes it back out. */\nfunction gitApply(patch: string, mode: \"check\" | \"apply\" | \"reverse\"): void {\n const flags = mode === \"check\" ? [\"--check\"] : mode === \"reverse\" ? [\"--reverse\"] : [];\n execFileSync(\"git\", [\"apply\", \"--whitespace=nowarn\", ...flags, \"-\"], {\n cwd: repoRoot(),\n input: patch,\n stdio: [\"pipe\", \"pipe\", \"pipe\"],\n });\n}\n\n/** The files `git apply --check` named as not applying here, or the whole message when it named none. */\nexport function clashingFiles(stderr: string): string[] {\n const named = [...stderr.matchAll(/^error: ([^:\\n]+): /gm)]\n .map((match) => match[1])\n .filter((path): path is string => path !== undefined && path !== \"patch failed\");\n return named.length > 0 ? [...new Set(named)] : [stderr.trim()];\n}\n\n/** Why the patch cannot apply here — the files this chat also changed — or undefined when it applies cleanly. */\nexport function patchRefusal(patch: string): string[] | undefined {\n try {\n gitApply(patch, \"check\");\n return undefined;\n } catch (error) {\n const stderr = (error as { stderr?: Buffer | string }).stderr;\n return clashingFiles(stderr === undefined ? String(error) : String(stderr));\n }\n}\n\nexport function applyPatch(patch: string): void {\n gitApply(patch, \"apply\");\n}\n\nexport function revertPatch(patch: string): void {\n gitApply(patch, \"reverse\");\n}\n","import type { ChatPublishSummary } from \"@baker/api/chats\";\n\n/**\n * What a reader must not conclude from a completed Session: that it published\n * everything it staged (better than one published draft in three did not), or\n * that every change it sent is now what the platform holds.\n */\nexport function publishHints(publish: ChatPublishSummary): string[] {\n const hints: string[] = [];\n // Not `complete`: a change a person chose not to send leaves the publish complete, and still never went live.\n const failed = publish.failedTotal;\n if (failed > 0) {\n hints.push(\n `This Session's publish left ${failed} change${failed === 1 ? \"\" : \"s\"} behind — see \\`publish.surfaces\\` for why each did not apply. Do not report those changes as live.`,\n );\n }\n const unconfirmed = publish.unconfirmedTotal ?? 0;\n if (unconfirmed > 0) {\n hints.push(\n `${unconfirmed} change${unconfirmed === 1 ? \"\" : \"s\"} went through but could not be confirmed when read back from the platform — \\`publish.surfaces[].unconfirmedChanges\\` says what it shows instead. Check before reporting them as done.`,\n );\n }\n return hints;\n}\n\n/**\n * A Session still publishing is not live yet, and nothing in this chat runs\n * once it is: work that has to wait for it is a Scheduled agent (BAKER-1743).\n */\nexport function stillPublishingHints(status: string): string[] {\n if (status !== \"publishing\") return [];\n return [\n \"This Session is still publishing: its changes are not live yet. Work that has to wait for it (a check on the live page, a test lead) is a Scheduled agent staged now with `baker scheduled-agents create --run-at <time>`, whose brief first checks this Session went live. It exists only once your own chat is published: a page trigger staged now misses this Session's publish, and a `--run-at` that has passed by then is created switched off, so leave hours of headroom, not minutes, and tell the user it runs only once they publish this chat. Never ask the user to come back and tell you when it is done.\",\n ];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,qBAAqB;;;ACL9B,SAAS,oBAAoB;AAU7B,eAAsB,gBAAgB,YAA0C;AAC9E,QAAM,WAAW,MAAM,QAA2B,mBAAmB;AAAA,IACnE,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,UAAU;AAAA,EACZ,CAAC;AACD,QAAM,EAAE,KAAK,IAAI;AACjB,MAAI,CAAC,KAAK,WAAW;AACnB,WAAO,EAAE,MAAM,UAAU,QAAQ,KAAK,UAAU,+BAA+B;AAAA,EACjF;AACA,MAAI,KAAK,WAAW,aAA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