@koda-sl/baker-cli 0.549.0 → 0.551.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/dist/{account-MTMCQQYH.js → account-4APOWG7V.js} +4 -4
- package/dist/{account-users-FJ63HUJT.js → account-users-2TXGPI3W.js} +4 -4
- package/dist/{accounts-PLZTPM52.js → accounts-GDZ73PDF.js} +5 -5
- package/dist/{accounts-VYQINKID.js → accounts-REFI6EMF.js} +3 -3
- package/dist/{actions-NKCYYR7Q.js → actions-2S5DQJKJ.js} +18 -18
- package/dist/{activecampaign-LQHDIHN5.js → activecampaign-GH43KH6Z.js} +3 -3
- package/dist/{add-6EHN5G6X.js → add-GIWCA5OL.js} +2 -2
- package/dist/{add-HLBKTI3H.js → add-OLG7DLPA.js} +3 -3
- package/dist/{ads-CWXQLZCC.js → ads-DXZMF47D.js} +4 -4
- package/dist/{advertisers-YMIPR2QG.js → advertisers-C6RN6EVF.js} +3 -3
- package/dist/{analytics-6VAB2VYM.js → analytics-ELFMOYP3.js} +3 -3
- package/dist/{analytics-37M6Z37U.js → analytics-J6ARLTGK.js} +6 -6
- package/dist/{assign-V25HMGMU.js → assign-6CHZQ3F3.js} +3 -3
- package/dist/{audience-size-FKNAK4QD.js → audience-size-ODKSKJRU.js} +3 -3
- package/dist/{audit-6VVUMMYL.js → audit-K6SDWYXJ.js} +3 -3
- package/dist/{autocomplete-NETVGJRC.js → autocomplete-22EAVZAL.js} +3 -3
- package/dist/{avatars-HH4LOUA3.js → avatars-P2N663H4.js} +4 -4
- package/dist/{bid-pricing-SCTUSHFI.js → bid-pricing-CHJEFWLG.js} +4 -4
- package/dist/{brand-FTPQYYDU.js → brand-NVLPEXBM.js} +2 -2
- package/dist/{brief-MCKNRSWM.js → brief-VFFTR7T2.js} +12 -12
- package/dist/{campaign-groups-ZNKBTXPV.js → campaign-groups-LIRSQ5UV.js} +9 -9
- package/dist/{campaign-writes-5TWXZ44R.js → campaign-writes-6FI47UWA.js} +3 -3
- package/dist/{campaigns-E64SHT67.js → campaigns-C3YPQUIT.js} +5 -5
- package/dist/{campaigns-GYNO5P22.js → campaigns-KRBCJPON.js} +12 -12
- package/dist/{canvas-E4ZT2K7I.js → canvas-72JKO7QM.js} +13 -13
- package/dist/{capabilities-RVNBW4OL.js → capabilities-BNGSD5U3.js} +3 -3
- package/dist/{chats-4SQSGOFC.js → chats-TIY72YXU.js} +3 -3
- package/dist/{check-4WC2RLDR.js → check-UUNYXVCY.js} +5 -5
- package/dist/{chunk-T62SKL4T.js → chunk-2X3RUD2X.js} +3 -3
- package/dist/{chunk-4EGXO63N.js → chunk-5FRNRY2T.js} +2 -2
- package/dist/{chunk-6I7N2WYU.js → chunk-6HCX2MSX.js} +2 -2
- package/dist/{chunk-VR2AF7I7.js → chunk-6OCQ4DM6.js} +904 -875
- package/dist/chunk-6OCQ4DM6.js.map +1 -0
- package/dist/{chunk-G4VG6ZV3.js → chunk-7LWCMBG3.js} +3 -3
- package/dist/{chunk-6FLUNQHT.js → chunk-AMR57TG3.js} +2 -2
- package/dist/{chunk-MEK7SMWO.js → chunk-BHILA7DX.js} +2 -2
- package/dist/{chunk-WLA7CA4G.js → chunk-BPZPKD2C.js} +3 -3
- package/dist/{chunk-Z4TWYYM3.js → chunk-CU5UPLQK.js} +2 -2
- package/dist/{chunk-YDGBWP3I.js → chunk-DOWMZNYP.js} +2 -2
- package/dist/{chunk-LODEDXCD.js → chunk-GR3ORYL6.js} +2 -2
- package/dist/{chunk-DNZVBP2W.js → chunk-H2RLCABM.js} +2 -2
- package/dist/{chunk-3SEXQVMX.js → chunk-IOWTKOAJ.js} +2 -2
- package/dist/{chunk-XLG3SJ3K.js → chunk-K3TMFSIC.js} +2 -2
- package/dist/{chunk-ZL43WZBX.js → chunk-L2C6NRYP.js} +2 -2
- package/dist/{chunk-I6JPTDKR.js → chunk-L6JSX2YM.js} +3 -3
- package/dist/{chunk-T7SOINEA.js → chunk-LECCNLKL.js} +2 -2
- package/dist/{chunk-TBIDT7FG.js → chunk-LJJNL7EI.js} +2 -2
- package/dist/{chunk-MELSTI6W.js → chunk-MEC75X76.js} +3 -3
- package/dist/{chunk-H6CS7VSO.js → chunk-MP636T7X.js} +6 -6
- package/dist/{chunk-TNHIYELA.js → chunk-NALQ47YH.js} +2 -2
- package/dist/{chunk-AYEWXTSF.js → chunk-NGWKYU7M.js} +2 -2
- package/dist/{chunk-VVMRSEW6.js → chunk-OMDN3MON.js} +2 -2
- package/dist/{chunk-QYKZ3FVE.js → chunk-P4OUKHNI.js} +3 -3
- package/dist/{chunk-SXYEIZND.js → chunk-P4WDMDW7.js} +2 -2
- package/dist/{chunk-D4NK7SPT.js → chunk-PCP5TQKK.js} +4 -4
- package/dist/{chunk-CKIDKN6H.js → chunk-PM4UWA3Q.js} +3 -3
- package/dist/{chunk-XJ2GXHU4.js → chunk-PPEXJ6TL.js} +2 -2
- package/dist/{chunk-ANV42DGJ.js → chunk-PVO34O5K.js} +2 -2
- package/dist/{chunk-J4JY435Z.js → chunk-QRIHJIKM.js} +2 -2
- package/dist/{chunk-EH34RWKR.js → chunk-QSVMTQ6Q.js} +3 -3
- package/dist/{chunk-6KWT3Z35.js → chunk-QVIVXMG2.js} +2 -2
- package/dist/{chunk-GEQUWPAX.js → chunk-RQOSSYVH.js} +4 -1
- package/dist/chunk-RQOSSYVH.js.map +1 -0
- package/dist/{chunk-5UEBOBLO.js → chunk-TWABYP5Z.js} +2 -2
- package/dist/{chunk-IGIACW2B.js → chunk-UEXZ4K2W.js} +2 -2
- package/dist/{chunk-ZKYJYBDR.js → chunk-UM77HGQV.js} +2 -2
- package/dist/{chunk-3I66ZQTI.js → chunk-UP3JAAJR.js} +2 -2
- package/dist/{chunk-IRINY4B2.js → chunk-VO242UPR.js} +8 -8
- package/dist/{chunk-SWPJZJTY.js → chunk-VSUEOZP6.js} +5 -5
- package/dist/{chunk-UT77RVVU.js → chunk-VXJHQGKU.js} +3 -3
- package/dist/{chunk-AI2SKWZE.js → chunk-WZWOHINR.js} +2 -2
- package/dist/{chunk-EQAEWL6A.js → chunk-XJMEEW42.js} +5 -5
- package/dist/{chunk-WFJ7KR5K.js → chunk-Z6XIOMHB.js} +3 -3
- package/dist/{chunk-F5UU5PAE.js → chunk-ZZHMOG3J.js} +2 -2
- package/dist/{claim-G4MRH7Q7.js → claim-6A4Q6ORG.js} +3 -3
- package/dist/cli.js +33 -32
- package/dist/cli.js.map +1 -1
- package/dist/{companies-TV5SX7IW.js → companies-VPXVMFCJ.js} +3 -3
- package/dist/{company-W2N3H7AG.js → company-57H5PC4R.js} +3 -3
- package/dist/{complete-CTS2VDY5.js → complete-XHDFR3XQ.js} +3 -3
- package/dist/{connect-64CFSYYE.js → connect-7L7C3KWI.js} +6 -6
- package/dist/{conversation-T57OY4L4.js → conversation-AMU2ZGG7.js} +3 -3
- package/dist/{conversions-P75BZDDN.js → conversions-UINZIHCU.js} +8 -8
- package/dist/{create-I6AVOYOS.js → create-4I6UT7YG.js} +2 -2
- package/dist/{create-2ZM3SAMX.js → create-CP2NQVUV.js} +3 -3
- package/dist/{create-YKV66SQ6.js → create-H43WKZCS.js} +3 -3
- package/dist/{create-2IFLWXCE.js → create-T6DSBBVW.js} +4 -4
- package/dist/{creatives-4HMWWE4O.js → creatives-QIUCWKZ3.js} +12 -12
- package/dist/{creatives-CSXTXOTD.js → creatives-YVXBEXDN.js} +9 -9
- package/dist/{credentials-YQND7EIL.js → credentials-XM7WYEQY.js} +3 -3
- package/dist/{critique-EBQKUWBV.js → critique-JQF3YKEE.js} +3 -3
- package/dist/{critique-ABUU725C.js → critique-LWB6PYE6.js} +8 -8
- package/dist/{crm-4GXVHO4R.js → crm-UK6CURNN.js} +4 -4
- package/dist/{crm-G2QOW4WY.js → crm-WQYRWTJ3.js} +4 -4
- package/dist/{customers-SNDSWS2C.js → customers-ZEH3YBCJ.js} +5 -5
- package/dist/{delete-WSWCPQ4R.js → delete-7CC3R4IU.js} +4 -4
- package/dist/{delete-AXECUWUU.js → delete-FTFQ56LP.js} +3 -3
- package/dist/{delete-YE3ZJKGK.js → delete-UCYAOIQK.js} +2 -2
- package/dist/{demographics-UPLQV4VW.js → demographics-IZHXVXUO.js} +3 -3
- package/dist/{discard-D3SPLQP2.js → discard-U3OCERG5.js} +3 -3
- package/dist/{domain-OXNE56NK.js → domain-DLUOZTMO.js} +3 -3
- package/dist/{download-DGVEUXKX.js → download-4Z3CXNLJ.js} +2 -2
- package/dist/{draft-2YTMB4YM.js → draft-C22HQEAJ.js} +4 -4
- package/dist/{draft-L7EN5TZD.js → draft-FEOTXOAX.js} +3 -3
- package/dist/{draft-2SMIRPNZ.js → draft-XMEX6FRF.js} +3 -3
- package/dist/{experiments-C3M65LMP.js → experiments-6QMIICYB.js} +4 -4
- package/dist/{facets-SGS4HDCM.js → facets-6NPGPB6K.js} +3 -3
- package/dist/{feedback-256D3HOY.js → feedback-55PYT5DE.js} +12 -12
- package/dist/feedback-SJD6CJUZ.js +136 -0
- package/dist/feedback-SJD6CJUZ.js.map +1 -0
- package/dist/{feedback-record-FDOIZ3HV.js → feedback-record-LZSXKCEV.js} +13 -13
- package/dist/{fetch-EODKEOLX.js → fetch-HVD4EEOA.js} +3 -3
- package/dist/{fit-VEUYZEG6.js → fit-CSJRXDB4.js} +5 -5
- package/dist/{flows-RCOWB5BY.js → flows-QLPLLQBZ.js} +10 -10
- package/dist/{fonts-33UOE4X3.js → fonts-J5KMUSGN.js} +5 -5
- package/dist/{forecast-I3WRFKQL.js → forecast-VI2QJXMG.js} +4 -4
- package/dist/{funnel-MLPPNJQK.js → funnel-J62CFUNA.js} +4 -4
- package/dist/{get-SORMH25W.js → get-ADJLTLK7.js} +4 -4
- package/dist/{get-AOHHMPZC.js → get-TZAGMI44.js} +3 -3
- package/dist/{google-ads-CNREZMRN.js → google-ads-M4GGRCLP.js} +3 -3
- package/dist/{history-ZE7OQGDR.js → history-7SVO4XRP.js} +3 -3
- package/dist/{history-D5UQTJ4H.js → history-VJLHIQCK.js} +4 -4
- package/dist/{hubspot-WGP36QI3.js → hubspot-J3SWQVIU.js} +7 -7
- package/dist/{ideas-4F5JG4UV.js → ideas-MSVZV55F.js} +4 -4
- package/dist/{images-Q5MZ75SL.js → images-S7VQOOFI.js} +4 -4
- package/dist/{ingest-NXISET6E.js → ingest-2ZUA7ZMP.js} +3 -3
- package/dist/{ingest-52X3B37O.js → ingest-NZDZU3TM.js} +2 -2
- package/dist/{inspect-JD4WLZ57.js → inspect-6L6ODJE3.js} +3 -3
- package/dist/{keyword-metrics-DDW4MSLX.js → keyword-metrics-UNGUXMTM.js} +3 -3
- package/dist/{keywords-for-site-3UM6THUN.js → keywords-for-site-HUIC3WCE.js} +3 -3
- package/dist/{landing-EAEMVCED.js → landing-VA64NHGQ.js} +2 -2
- package/dist/{leads-MITJNZWB.js → leads-B6W2QWYI.js} +3 -3
- package/dist/{learn-VLUC2TXW.js → learn-G5VO4RMG.js} +4 -4
- package/dist/{line-item-writes-HLQYQ4KG.js → line-item-writes-27QWYBCV.js} +3 -3
- package/dist/{line-items-64KIKPCB.js → line-items-DN3WC4OI.js} +5 -5
- package/dist/{link-NNSG5YQ4.js → link-GPDDGDFL.js} +3 -3
- package/dist/{linkedin-JYN5LGP2.js → linkedin-A3M4WQH7.js} +29 -29
- package/dist/{linkedin-person-OPCUWPLI.js → linkedin-person-N33DDQQB.js} +3 -3
- package/dist/{list-VQQICPK3.js → list-ACWW37I6.js} +4 -4
- package/dist/{list-7S4KTZNU.js → list-KPPYOCHQ.js} +2 -2
- package/dist/{list-5U4Z3PWU.js → list-MD6YMY3O.js} +3 -3
- package/dist/{log-63ZVYC6L.js → log-TU4RUP2M.js} +3 -3
- package/dist/{make-7ITIZUJI.js → make-4U3M6LGI.js} +15 -15
- package/dist/{map-MTR4V7KE.js → map-V5E3VPVJ.js} +4 -4
- package/dist/{mcp-HKMQLXBC.js → mcp-TPKPMFKU.js} +2 -2
- package/dist/{media-sources-ZBSBTB4C.js → media-sources-377HZE2W.js} +2 -2
- package/dist/{members-MTRJ3ZRS.js → members-GWDKUPPT.js} +3 -3
- package/dist/{normalize-SAKXSFEX.js → normalize-KCSOKFHA.js} +3 -3
- package/dist/{options-L7B3SDIX.js → options-X6UCNKSU.js} +6 -6
- package/dist/{organization-FFRNHVC5.js → organization-3MJB3EOT.js} +3 -3
- package/dist/{performance-AJA7YGOO.js → performance-335Y2Q2G.js} +3 -3
- package/dist/{performance-F72KFQU5.js → performance-T7RZGKBJ.js} +4 -4
- package/dist/{promoted-tweet-writes-32RAOXQR.js → promoted-tweet-writes-B4CLY4EN.js} +3 -3
- package/dist/{promoted-tweets-KMLFRWDN.js → promoted-tweets-7JLIJMPR.js} +3 -3
- package/dist/{publish-FOSPQ2BE.js → publish-N6UOAL63.js} +3 -3
- package/dist/{reddit-5PYYZNBJ.js → reddit-M7DKBG7Y.js} +4 -4
- package/dist/{refresh-AOHTPXU4.js → refresh-PVN7XBB7.js} +2 -2
- package/dist/{release-G2UKFAQY.js → release-4VFSNE5T.js} +3 -3
- package/dist/{remove-K5C2URJE.js → remove-QUNBU77Y.js} +2 -2
- package/dist/{reopen-PWROABUC.js → reopen-VR3TAIQM.js} +3 -3
- package/dist/{rerun-CVJYCCNK.js → rerun-436Z5D7V.js} +14 -14
- package/dist/{research-KLWC3JBI.js → research-ECZHDL6J.js} +13 -13
- package/dist/{research-Z3OJXOS4.js → research-TN54ZAUJ.js} +2 -2
- package/dist/{reset-3QL7IOHF.js → reset-G6KPRCLC.js} +2 -2
- package/dist/{reset-GPO4MCSM.js → reset-WIQFHCS4.js} +2 -2
- package/dist/{resolve-7SW7FZ7Q.js → resolve-YXYG6SIP.js} +3 -3
- package/dist/{retry-HNCUDQ7S.js → retry-DXG4CMNR.js} +2 -2
- package/dist/{retry-NVMOGTZD.js → retry-YFEF6G43.js} +2 -2
- package/dist/{revenue-HDJFYUEB.js → revenue-OUR5TX5N.js} +4 -4
- package/dist/{rules-RYHWD4HA.js → rules-S2YRSBBD.js} +5 -5
- package/dist/{rules-add-EMDFBYDA.js → rules-add-D6GNGXRK.js} +5 -5
- package/dist/{run-PXHQKRY5.js → run-EZYRSG4W.js} +4 -4
- package/dist/{run-2XRDPVHX.js → run-WGINKYWU.js} +14 -14
- package/dist/{scaffold-ad-RJAXMKOX.js → scaffold-ad-HZVTRGAZ.js} +10 -10
- package/dist/{scaffold-static-ad-4HLSHPJI.js → scaffold-static-ad-VPKVB65N.js} +18 -18
- package/dist/{scaffold-video-UH6OOIQW.js → scaffold-video-BM62SACG.js} +9 -9
- package/dist/{schedule-WT22OEBF.js → schedule-62UO27KN.js} +2 -2
- package/dist/{scheduled-agents-BLIDNRFX.js → scheduled-agents-H6L54TFP.js} +11 -11
- package/dist/{schema-FUCZHUNV.js → schema-RBB7F72Y.js} +4 -4
- package/dist/{schema-NSXMRNWM.js → schema-U6GAKTQZ.js} +2 -2
- package/dist/{search-S5O3L4KX.js → search-5O7V2PEY.js} +2 -2
- package/dist/{select-ISIQXRPF.js → select-MRAUWV4A.js} +11 -11
- package/dist/{set-prompt-MAQN5CYY.js → set-prompt-ZGIZRHRO.js} +8 -8
- package/dist/{setup-links-HANLAGD2.js → setup-links-WN7EKF54.js} +3 -3
- package/dist/{shopify-PKWH7WXV.js → shopify-HDJ7KKYW.js} +3 -3
- package/dist/{site-GADKB2RP.js → site-R3ZQHQVH.js} +4 -4
- package/dist/{sources-HUXVRGDH.js → sources-CQPOR5SX.js} +6 -6
- package/dist/{sources-CA7JLF4P.js → sources-MYEEHZXT.js} +6 -6
- package/dist/{stale-2A33KEE7.js → stale-3QTR4AH2.js} +10 -10
- package/dist/{status-5JTRE3OM.js → status-TGPFQPVU.js} +3 -3
- package/dist/{sync-RJFMKM6D.js → sync-OCVC2CJS.js} +2 -2
- package/dist/{sync-definition-AKZUCLEV.js → sync-definition-NVKFDQ7A.js} +9 -9
- package/dist/{tags-UHD43CAG.js → tags-4LRX3IU5.js} +3 -3
- package/dist/{tags-WJFCPOP7.js → tags-AP6WAC2B.js} +3 -3
- package/dist/{tags-LP6I7GY4.js → tags-DVCMAVV4.js} +4 -4
- package/dist/{tags-JUIKSERD.js → tags-DZXFYHKJ.js} +2 -2
- package/dist/{tags-B2EXVMNS.js → tags-GLS2YOVO.js} +3 -3
- package/dist/{targeting-criteria-2LKBD5IH.js → targeting-criteria-OHZGG3IP.js} +3 -3
- package/dist/{targets-O5JYFOCY.js → targets-MRQZG5XA.js} +4 -4
- package/dist/{testimonials-P63TKNJ2.js → testimonials-KUMHK4DM.js} +6 -6
- package/dist/{top-companies-F7DUMWXA.js → top-companies-LJ4NZACT.js} +3 -3
- package/dist/{transcript-4RFSQA5U.js → transcript-7KGVH3II.js} +3 -3
- package/dist/{translate-WOJFJRAC.js → translate-MZAT5452.js} +13 -13
- package/dist/{triggers-4MHFN3VV.js → triggers-IA7BYKBT.js} +4 -4
- package/dist/{unlink-5AXBQOIL.js → unlink-B47DELN2.js} +3 -3
- package/dist/{unstage-SIBXT25Y.js → unstage-TUDO2TGU.js} +4 -4
- package/dist/{update-YS4QI2KP.js → update-4UFYOZRH.js} +3 -3
- package/dist/{update-4BDOO53L.js → update-NFSGHIOX.js} +3 -3
- package/dist/{update-NNEMJQ4D.js → update-WKRV4YGK.js} +4 -4
- package/dist/{update-O76YSKXB.js → update-ZILXYMNU.js} +2 -2
- package/dist/{upload-XVV3HQ5W.js → upload-J63EFGHV.js} +3 -3
- package/dist/{url-params-XL5URMTG.js → url-params-SRDDCJ2A.js} +3 -3
- package/dist/{validate-42Q7X2KK.js → validate-QRUUP4NV.js} +11 -11
- package/dist/{videos-HMKEY5WY.js → videos-X3J333Q4.js} +6 -6
- package/dist/{viewer-check-4XFEWEH3.js → viewer-check-HV626VQV.js} +6 -6
- package/dist/{web-PYG3AOYS.js → web-VNC22NXW.js} +3 -3
- package/dist/{winning-ads-74BKOBVN.js → winning-ads-7UPJ6EMA.js} +3 -3
- package/dist/{write-commands-43GTQIR6.js → write-commands-7MRTOS4R.js} +4 -4
- package/dist/{x-6WSV55RN.js → x-2FJHZ6PP.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-GEQUWPAX.js.map +0 -1
- package/dist/chunk-VR2AF7I7.js.map +0 -1
- /package/dist/{account-MTMCQQYH.js.map → account-4APOWG7V.js.map} +0 -0
- /package/dist/{account-users-FJ63HUJT.js.map → account-users-2TXGPI3W.js.map} +0 -0
- /package/dist/{accounts-PLZTPM52.js.map → accounts-GDZ73PDF.js.map} +0 -0
- /package/dist/{accounts-VYQINKID.js.map → accounts-REFI6EMF.js.map} +0 -0
- /package/dist/{actions-NKCYYR7Q.js.map → actions-2S5DQJKJ.js.map} +0 -0
- /package/dist/{activecampaign-LQHDIHN5.js.map → activecampaign-GH43KH6Z.js.map} +0 -0
- /package/dist/{add-6EHN5G6X.js.map → add-GIWCA5OL.js.map} +0 -0
- /package/dist/{add-HLBKTI3H.js.map → add-OLG7DLPA.js.map} +0 -0
- /package/dist/{ads-CWXQLZCC.js.map → ads-DXZMF47D.js.map} +0 -0
- /package/dist/{advertisers-YMIPR2QG.js.map → advertisers-C6RN6EVF.js.map} +0 -0
- /package/dist/{analytics-6VAB2VYM.js.map → analytics-ELFMOYP3.js.map} +0 -0
- /package/dist/{analytics-37M6Z37U.js.map → analytics-J6ARLTGK.js.map} +0 -0
- /package/dist/{assign-V25HMGMU.js.map → assign-6CHZQ3F3.js.map} +0 -0
- /package/dist/{audience-size-FKNAK4QD.js.map → audience-size-ODKSKJRU.js.map} +0 -0
- /package/dist/{audit-6VVUMMYL.js.map → audit-K6SDWYXJ.js.map} +0 -0
- /package/dist/{autocomplete-NETVGJRC.js.map → autocomplete-22EAVZAL.js.map} +0 -0
- /package/dist/{avatars-HH4LOUA3.js.map → avatars-P2N663H4.js.map} +0 -0
- /package/dist/{bid-pricing-SCTUSHFI.js.map → bid-pricing-CHJEFWLG.js.map} +0 -0
- /package/dist/{brand-FTPQYYDU.js.map → brand-NVLPEXBM.js.map} +0 -0
- /package/dist/{brief-MCKNRSWM.js.map → brief-VFFTR7T2.js.map} +0 -0
- /package/dist/{campaign-groups-ZNKBTXPV.js.map → campaign-groups-LIRSQ5UV.js.map} +0 -0
- /package/dist/{campaign-writes-5TWXZ44R.js.map → campaign-writes-6FI47UWA.js.map} +0 -0
- /package/dist/{campaigns-E64SHT67.js.map → campaigns-C3YPQUIT.js.map} +0 -0
- /package/dist/{campaigns-GYNO5P22.js.map → campaigns-KRBCJPON.js.map} +0 -0
- /package/dist/{canvas-E4ZT2K7I.js.map → canvas-72JKO7QM.js.map} +0 -0
- /package/dist/{capabilities-RVNBW4OL.js.map → capabilities-BNGSD5U3.js.map} +0 -0
- /package/dist/{chats-4SQSGOFC.js.map → chats-TIY72YXU.js.map} +0 -0
- /package/dist/{check-4WC2RLDR.js.map → check-UUNYXVCY.js.map} +0 -0
- /package/dist/{chunk-T62SKL4T.js.map → chunk-2X3RUD2X.js.map} +0 -0
- /package/dist/{chunk-4EGXO63N.js.map → chunk-5FRNRY2T.js.map} +0 -0
- /package/dist/{chunk-6I7N2WYU.js.map → chunk-6HCX2MSX.js.map} +0 -0
- /package/dist/{chunk-G4VG6ZV3.js.map → chunk-7LWCMBG3.js.map} +0 -0
- /package/dist/{chunk-6FLUNQHT.js.map → chunk-AMR57TG3.js.map} +0 -0
- /package/dist/{chunk-MEK7SMWO.js.map → chunk-BHILA7DX.js.map} +0 -0
- /package/dist/{chunk-WLA7CA4G.js.map → chunk-BPZPKD2C.js.map} +0 -0
- /package/dist/{chunk-Z4TWYYM3.js.map → chunk-CU5UPLQK.js.map} +0 -0
- /package/dist/{chunk-YDGBWP3I.js.map → chunk-DOWMZNYP.js.map} +0 -0
- /package/dist/{chunk-LODEDXCD.js.map → chunk-GR3ORYL6.js.map} +0 -0
- /package/dist/{chunk-DNZVBP2W.js.map → chunk-H2RLCABM.js.map} +0 -0
- /package/dist/{chunk-3SEXQVMX.js.map → chunk-IOWTKOAJ.js.map} +0 -0
- /package/dist/{chunk-XLG3SJ3K.js.map → chunk-K3TMFSIC.js.map} +0 -0
- /package/dist/{chunk-ZL43WZBX.js.map → chunk-L2C6NRYP.js.map} +0 -0
- /package/dist/{chunk-I6JPTDKR.js.map → chunk-L6JSX2YM.js.map} +0 -0
- /package/dist/{chunk-T7SOINEA.js.map → chunk-LECCNLKL.js.map} +0 -0
- /package/dist/{chunk-TBIDT7FG.js.map → chunk-LJJNL7EI.js.map} +0 -0
- /package/dist/{chunk-MELSTI6W.js.map → chunk-MEC75X76.js.map} +0 -0
- /package/dist/{chunk-H6CS7VSO.js.map → chunk-MP636T7X.js.map} +0 -0
- /package/dist/{chunk-TNHIYELA.js.map → chunk-NALQ47YH.js.map} +0 -0
- /package/dist/{chunk-AYEWXTSF.js.map → chunk-NGWKYU7M.js.map} +0 -0
- /package/dist/{chunk-VVMRSEW6.js.map → chunk-OMDN3MON.js.map} +0 -0
- /package/dist/{chunk-QYKZ3FVE.js.map → chunk-P4OUKHNI.js.map} +0 -0
- /package/dist/{chunk-SXYEIZND.js.map → chunk-P4WDMDW7.js.map} +0 -0
- /package/dist/{chunk-D4NK7SPT.js.map → chunk-PCP5TQKK.js.map} +0 -0
- /package/dist/{chunk-CKIDKN6H.js.map → chunk-PM4UWA3Q.js.map} +0 -0
- /package/dist/{chunk-XJ2GXHU4.js.map → chunk-PPEXJ6TL.js.map} +0 -0
- /package/dist/{chunk-ANV42DGJ.js.map → chunk-PVO34O5K.js.map} +0 -0
- /package/dist/{chunk-J4JY435Z.js.map → chunk-QRIHJIKM.js.map} +0 -0
- /package/dist/{chunk-EH34RWKR.js.map → chunk-QSVMTQ6Q.js.map} +0 -0
- /package/dist/{chunk-6KWT3Z35.js.map → chunk-QVIVXMG2.js.map} +0 -0
- /package/dist/{chunk-5UEBOBLO.js.map → chunk-TWABYP5Z.js.map} +0 -0
- /package/dist/{chunk-IGIACW2B.js.map → chunk-UEXZ4K2W.js.map} +0 -0
- /package/dist/{chunk-ZKYJYBDR.js.map → chunk-UM77HGQV.js.map} +0 -0
- /package/dist/{chunk-3I66ZQTI.js.map → chunk-UP3JAAJR.js.map} +0 -0
- /package/dist/{chunk-IRINY4B2.js.map → chunk-VO242UPR.js.map} +0 -0
- /package/dist/{chunk-SWPJZJTY.js.map → chunk-VSUEOZP6.js.map} +0 -0
- /package/dist/{chunk-UT77RVVU.js.map → chunk-VXJHQGKU.js.map} +0 -0
- /package/dist/{chunk-AI2SKWZE.js.map → chunk-WZWOHINR.js.map} +0 -0
- /package/dist/{chunk-EQAEWL6A.js.map → chunk-XJMEEW42.js.map} +0 -0
- /package/dist/{chunk-WFJ7KR5K.js.map → chunk-Z6XIOMHB.js.map} +0 -0
- /package/dist/{chunk-F5UU5PAE.js.map → chunk-ZZHMOG3J.js.map} +0 -0
- /package/dist/{claim-G4MRH7Q7.js.map → claim-6A4Q6ORG.js.map} +0 -0
- /package/dist/{companies-TV5SX7IW.js.map → companies-VPXVMFCJ.js.map} +0 -0
- /package/dist/{company-W2N3H7AG.js.map → company-57H5PC4R.js.map} +0 -0
- /package/dist/{complete-CTS2VDY5.js.map → complete-XHDFR3XQ.js.map} +0 -0
- /package/dist/{connect-64CFSYYE.js.map → connect-7L7C3KWI.js.map} +0 -0
- /package/dist/{conversation-T57OY4L4.js.map → conversation-AMU2ZGG7.js.map} +0 -0
- /package/dist/{conversions-P75BZDDN.js.map → conversions-UINZIHCU.js.map} +0 -0
- /package/dist/{create-I6AVOYOS.js.map → create-4I6UT7YG.js.map} +0 -0
- /package/dist/{create-2ZM3SAMX.js.map → create-CP2NQVUV.js.map} +0 -0
- /package/dist/{create-YKV66SQ6.js.map → create-H43WKZCS.js.map} +0 -0
- /package/dist/{create-2IFLWXCE.js.map → create-T6DSBBVW.js.map} +0 -0
- /package/dist/{creatives-4HMWWE4O.js.map → creatives-QIUCWKZ3.js.map} +0 -0
- /package/dist/{creatives-CSXTXOTD.js.map → creatives-YVXBEXDN.js.map} +0 -0
- /package/dist/{credentials-YQND7EIL.js.map → credentials-XM7WYEQY.js.map} +0 -0
- /package/dist/{critique-EBQKUWBV.js.map → critique-JQF3YKEE.js.map} +0 -0
- /package/dist/{critique-ABUU725C.js.map → critique-LWB6PYE6.js.map} +0 -0
- /package/dist/{crm-4GXVHO4R.js.map → crm-UK6CURNN.js.map} +0 -0
- /package/dist/{crm-G2QOW4WY.js.map → crm-WQYRWTJ3.js.map} +0 -0
- /package/dist/{customers-SNDSWS2C.js.map → customers-ZEH3YBCJ.js.map} +0 -0
- /package/dist/{delete-WSWCPQ4R.js.map → delete-7CC3R4IU.js.map} +0 -0
- /package/dist/{delete-AXECUWUU.js.map → delete-FTFQ56LP.js.map} +0 -0
- /package/dist/{delete-YE3ZJKGK.js.map → delete-UCYAOIQK.js.map} +0 -0
- /package/dist/{demographics-UPLQV4VW.js.map → demographics-IZHXVXUO.js.map} +0 -0
- /package/dist/{discard-D3SPLQP2.js.map → discard-U3OCERG5.js.map} +0 -0
- /package/dist/{domain-OXNE56NK.js.map → domain-DLUOZTMO.js.map} +0 -0
- /package/dist/{download-DGVEUXKX.js.map → download-4Z3CXNLJ.js.map} +0 -0
- /package/dist/{draft-2YTMB4YM.js.map → draft-C22HQEAJ.js.map} +0 -0
- /package/dist/{draft-L7EN5TZD.js.map → draft-FEOTXOAX.js.map} +0 -0
- /package/dist/{draft-2SMIRPNZ.js.map → draft-XMEX6FRF.js.map} +0 -0
- /package/dist/{experiments-C3M65LMP.js.map → experiments-6QMIICYB.js.map} +0 -0
- /package/dist/{facets-SGS4HDCM.js.map → facets-6NPGPB6K.js.map} +0 -0
- /package/dist/{feedback-256D3HOY.js.map → feedback-55PYT5DE.js.map} +0 -0
- /package/dist/{feedback-record-FDOIZ3HV.js.map → feedback-record-LZSXKCEV.js.map} +0 -0
- /package/dist/{fetch-EODKEOLX.js.map → fetch-HVD4EEOA.js.map} +0 -0
- /package/dist/{fit-VEUYZEG6.js.map → fit-CSJRXDB4.js.map} +0 -0
- /package/dist/{flows-RCOWB5BY.js.map → flows-QLPLLQBZ.js.map} +0 -0
- /package/dist/{fonts-33UOE4X3.js.map → fonts-J5KMUSGN.js.map} +0 -0
- /package/dist/{forecast-I3WRFKQL.js.map → forecast-VI2QJXMG.js.map} +0 -0
- /package/dist/{funnel-MLPPNJQK.js.map → funnel-J62CFUNA.js.map} +0 -0
- /package/dist/{get-SORMH25W.js.map → get-ADJLTLK7.js.map} +0 -0
- /package/dist/{get-AOHHMPZC.js.map → get-TZAGMI44.js.map} +0 -0
- /package/dist/{google-ads-CNREZMRN.js.map → google-ads-M4GGRCLP.js.map} +0 -0
- /package/dist/{history-ZE7OQGDR.js.map → history-7SVO4XRP.js.map} +0 -0
- /package/dist/{history-D5UQTJ4H.js.map → history-VJLHIQCK.js.map} +0 -0
- /package/dist/{hubspot-WGP36QI3.js.map → hubspot-J3SWQVIU.js.map} +0 -0
- /package/dist/{ideas-4F5JG4UV.js.map → ideas-MSVZV55F.js.map} +0 -0
- /package/dist/{images-Q5MZ75SL.js.map → images-S7VQOOFI.js.map} +0 -0
- /package/dist/{ingest-NXISET6E.js.map → ingest-2ZUA7ZMP.js.map} +0 -0
- /package/dist/{ingest-52X3B37O.js.map → ingest-NZDZU3TM.js.map} +0 -0
- /package/dist/{inspect-JD4WLZ57.js.map → inspect-6L6ODJE3.js.map} +0 -0
- /package/dist/{keyword-metrics-DDW4MSLX.js.map → keyword-metrics-UNGUXMTM.js.map} +0 -0
- /package/dist/{keywords-for-site-3UM6THUN.js.map → keywords-for-site-HUIC3WCE.js.map} +0 -0
- /package/dist/{landing-EAEMVCED.js.map → landing-VA64NHGQ.js.map} +0 -0
- /package/dist/{leads-MITJNZWB.js.map → leads-B6W2QWYI.js.map} +0 -0
- /package/dist/{learn-VLUC2TXW.js.map → learn-G5VO4RMG.js.map} +0 -0
- /package/dist/{line-item-writes-HLQYQ4KG.js.map → line-item-writes-27QWYBCV.js.map} +0 -0
- /package/dist/{line-items-64KIKPCB.js.map → line-items-DN3WC4OI.js.map} +0 -0
- /package/dist/{link-NNSG5YQ4.js.map → link-GPDDGDFL.js.map} +0 -0
- /package/dist/{linkedin-JYN5LGP2.js.map → linkedin-A3M4WQH7.js.map} +0 -0
- /package/dist/{linkedin-person-OPCUWPLI.js.map → linkedin-person-N33DDQQB.js.map} +0 -0
- /package/dist/{list-VQQICPK3.js.map → list-ACWW37I6.js.map} +0 -0
- /package/dist/{list-7S4KTZNU.js.map → list-KPPYOCHQ.js.map} +0 -0
- /package/dist/{list-5U4Z3PWU.js.map → list-MD6YMY3O.js.map} +0 -0
- /package/dist/{log-63ZVYC6L.js.map → log-TU4RUP2M.js.map} +0 -0
- /package/dist/{make-7ITIZUJI.js.map → make-4U3M6LGI.js.map} +0 -0
- /package/dist/{map-MTR4V7KE.js.map → map-V5E3VPVJ.js.map} +0 -0
- /package/dist/{mcp-HKMQLXBC.js.map → mcp-TPKPMFKU.js.map} +0 -0
- /package/dist/{media-sources-ZBSBTB4C.js.map → media-sources-377HZE2W.js.map} +0 -0
- /package/dist/{members-MTRJ3ZRS.js.map → members-GWDKUPPT.js.map} +0 -0
- /package/dist/{normalize-SAKXSFEX.js.map → normalize-KCSOKFHA.js.map} +0 -0
- /package/dist/{options-L7B3SDIX.js.map → options-X6UCNKSU.js.map} +0 -0
- /package/dist/{organization-FFRNHVC5.js.map → organization-3MJB3EOT.js.map} +0 -0
- /package/dist/{performance-AJA7YGOO.js.map → performance-335Y2Q2G.js.map} +0 -0
- /package/dist/{performance-F72KFQU5.js.map → performance-T7RZGKBJ.js.map} +0 -0
- /package/dist/{promoted-tweet-writes-32RAOXQR.js.map → promoted-tweet-writes-B4CLY4EN.js.map} +0 -0
- /package/dist/{promoted-tweets-KMLFRWDN.js.map → promoted-tweets-7JLIJMPR.js.map} +0 -0
- /package/dist/{publish-FOSPQ2BE.js.map → publish-N6UOAL63.js.map} +0 -0
- /package/dist/{reddit-5PYYZNBJ.js.map → reddit-M7DKBG7Y.js.map} +0 -0
- /package/dist/{refresh-AOHTPXU4.js.map → refresh-PVN7XBB7.js.map} +0 -0
- /package/dist/{release-G2UKFAQY.js.map → release-4VFSNE5T.js.map} +0 -0
- /package/dist/{remove-K5C2URJE.js.map → remove-QUNBU77Y.js.map} +0 -0
- /package/dist/{reopen-PWROABUC.js.map → reopen-VR3TAIQM.js.map} +0 -0
- /package/dist/{rerun-CVJYCCNK.js.map → rerun-436Z5D7V.js.map} +0 -0
- /package/dist/{research-KLWC3JBI.js.map → research-ECZHDL6J.js.map} +0 -0
- /package/dist/{research-Z3OJXOS4.js.map → research-TN54ZAUJ.js.map} +0 -0
- /package/dist/{reset-3QL7IOHF.js.map → reset-G6KPRCLC.js.map} +0 -0
- /package/dist/{reset-GPO4MCSM.js.map → reset-WIQFHCS4.js.map} +0 -0
- /package/dist/{resolve-7SW7FZ7Q.js.map → resolve-YXYG6SIP.js.map} +0 -0
- /package/dist/{retry-HNCUDQ7S.js.map → retry-DXG4CMNR.js.map} +0 -0
- /package/dist/{retry-NVMOGTZD.js.map → retry-YFEF6G43.js.map} +0 -0
- /package/dist/{revenue-HDJFYUEB.js.map → revenue-OUR5TX5N.js.map} +0 -0
- /package/dist/{rules-RYHWD4HA.js.map → rules-S2YRSBBD.js.map} +0 -0
- /package/dist/{rules-add-EMDFBYDA.js.map → rules-add-D6GNGXRK.js.map} +0 -0
- /package/dist/{run-PXHQKRY5.js.map → run-EZYRSG4W.js.map} +0 -0
- /package/dist/{run-2XRDPVHX.js.map → run-WGINKYWU.js.map} +0 -0
- /package/dist/{scaffold-ad-RJAXMKOX.js.map → scaffold-ad-HZVTRGAZ.js.map} +0 -0
- /package/dist/{scaffold-static-ad-4HLSHPJI.js.map → scaffold-static-ad-VPKVB65N.js.map} +0 -0
- /package/dist/{scaffold-video-UH6OOIQW.js.map → scaffold-video-BM62SACG.js.map} +0 -0
- /package/dist/{schedule-WT22OEBF.js.map → schedule-62UO27KN.js.map} +0 -0
- /package/dist/{scheduled-agents-BLIDNRFX.js.map → scheduled-agents-H6L54TFP.js.map} +0 -0
- /package/dist/{schema-FUCZHUNV.js.map → schema-RBB7F72Y.js.map} +0 -0
- /package/dist/{schema-NSXMRNWM.js.map → schema-U6GAKTQZ.js.map} +0 -0
- /package/dist/{search-S5O3L4KX.js.map → search-5O7V2PEY.js.map} +0 -0
- /package/dist/{select-ISIQXRPF.js.map → select-MRAUWV4A.js.map} +0 -0
- /package/dist/{set-prompt-MAQN5CYY.js.map → set-prompt-ZGIZRHRO.js.map} +0 -0
- /package/dist/{setup-links-HANLAGD2.js.map → setup-links-WN7EKF54.js.map} +0 -0
- /package/dist/{shopify-PKWH7WXV.js.map → shopify-HDJ7KKYW.js.map} +0 -0
- /package/dist/{site-GADKB2RP.js.map → site-R3ZQHQVH.js.map} +0 -0
- /package/dist/{sources-HUXVRGDH.js.map → sources-CQPOR5SX.js.map} +0 -0
- /package/dist/{sources-CA7JLF4P.js.map → sources-MYEEHZXT.js.map} +0 -0
- /package/dist/{stale-2A33KEE7.js.map → stale-3QTR4AH2.js.map} +0 -0
- /package/dist/{status-5JTRE3OM.js.map → status-TGPFQPVU.js.map} +0 -0
- /package/dist/{sync-RJFMKM6D.js.map → sync-OCVC2CJS.js.map} +0 -0
- /package/dist/{sync-definition-AKZUCLEV.js.map → sync-definition-NVKFDQ7A.js.map} +0 -0
- /package/dist/{tags-UHD43CAG.js.map → tags-4LRX3IU5.js.map} +0 -0
- /package/dist/{tags-WJFCPOP7.js.map → tags-AP6WAC2B.js.map} +0 -0
- /package/dist/{tags-LP6I7GY4.js.map → tags-DVCMAVV4.js.map} +0 -0
- /package/dist/{tags-JUIKSERD.js.map → tags-DZXFYHKJ.js.map} +0 -0
- /package/dist/{tags-B2EXVMNS.js.map → tags-GLS2YOVO.js.map} +0 -0
- /package/dist/{targeting-criteria-2LKBD5IH.js.map → targeting-criteria-OHZGG3IP.js.map} +0 -0
- /package/dist/{targets-O5JYFOCY.js.map → targets-MRQZG5XA.js.map} +0 -0
- /package/dist/{testimonials-P63TKNJ2.js.map → testimonials-KUMHK4DM.js.map} +0 -0
- /package/dist/{top-companies-F7DUMWXA.js.map → top-companies-LJ4NZACT.js.map} +0 -0
- /package/dist/{transcript-4RFSQA5U.js.map → transcript-7KGVH3II.js.map} +0 -0
- /package/dist/{translate-WOJFJRAC.js.map → translate-MZAT5452.js.map} +0 -0
- /package/dist/{triggers-4MHFN3VV.js.map → triggers-IA7BYKBT.js.map} +0 -0
- /package/dist/{unlink-5AXBQOIL.js.map → unlink-B47DELN2.js.map} +0 -0
- /package/dist/{unstage-SIBXT25Y.js.map → unstage-TUDO2TGU.js.map} +0 -0
- /package/dist/{update-YS4QI2KP.js.map → update-4UFYOZRH.js.map} +0 -0
- /package/dist/{update-4BDOO53L.js.map → update-NFSGHIOX.js.map} +0 -0
- /package/dist/{update-NNEMJQ4D.js.map → update-WKRV4YGK.js.map} +0 -0
- /package/dist/{update-O76YSKXB.js.map → update-ZILXYMNU.js.map} +0 -0
- /package/dist/{upload-XVV3HQ5W.js.map → upload-J63EFGHV.js.map} +0 -0
- /package/dist/{url-params-XL5URMTG.js.map → url-params-SRDDCJ2A.js.map} +0 -0
- /package/dist/{validate-42Q7X2KK.js.map → validate-QRUUP4NV.js.map} +0 -0
- /package/dist/{videos-HMKEY5WY.js.map → videos-X3J333Q4.js.map} +0 -0
- /package/dist/{viewer-check-4XFEWEH3.js.map → viewer-check-HV626VQV.js.map} +0 -0
- /package/dist/{web-PYG3AOYS.js.map → web-VNC22NXW.js.map} +0 -0
- /package/dist/{winning-ads-74BKOBVN.js.map → winning-ads-7UPJ6EMA.js.map} +0 -0
- /package/dist/{write-commands-43GTQIR6.js.map → write-commands-7MRTOS4R.js.map} +0 -0
- /package/dist/{x-6WSV55RN.js.map → x-2FJHZ6PP.js.map} +0 -0
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/cli.ts","../src/closed-pipe.ts","../src/company-flag.ts","../src/full-flag.ts","../src/help-output.ts","../src/md-output.ts","../src/out-flag.ts","../src/root-command.ts","../src/version.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runCommand, runMain } from \"citty\";\nimport { agentProfile, applyAgentProfile } from \"./agent-profile.ts\";\nimport { cacheFlagForCommand, cacheFlagForParser, normalizeCacheFlag } from \"./cache-flag.ts\";\nimport { exitQuietlyOnClosedPipe } from \"./closed-pipe.ts\";\nimport { loadCommands } from \"./command-loading.ts\";\nimport { takeCompanyFlag } from \"./company-flag.ts\";\nimport { installExitRecord, installStreamTaps, logInvocation } from \"./debugLog.ts\";\nimport { setTargetCompany } from \"./env.ts\";\nimport { installFieldMask, takeFieldsFlag } from \"./field-mask.ts\";\nimport { installFullNote, takeFullFlag } from \"./full-flag.ts\";\nimport { printHelpTo } from \"./help-output.ts\";\nimport { installMdRendering, takeMdOutput } from \"./md-output.ts\";\nimport { installOutFile, takeOutFlag } from \"./out-flag.ts\";\nimport { writeJson } from \"./output.ts\";\nimport { asksForEnvelopeAlone, envelopeAloneOnStdout, outputFlagForCommand } from \"./output-flag.ts\";\nimport { rootCommand } from \"./root-command.ts\";\nimport { registerCommandTree } from \"./schemas.ts\";\nimport {\n commandPathOf,\n parseRefusalEnvelope,\n refuseStrayPositionals,\n refuseUnknownFlags,\n unknownSubCommandRefusal,\n} from \"./unknown-flags.ts\";\n\nconst main = rootCommand;\n// The call as typed, before the rewrites below: a refusal's corrected call is built from it.\nconst typedArgv = process.argv.slice(2);\n\nawait loadCommands(main, process.argv.slice(2));\nregisterCommandTree(main);\n\nexitQuietlyOnClosedPipe(process.stdout, (code) => process.exit(code));\n\n// The legacy `--skip-cache` spelling becomes `--no-cache` before anything reads\n// argv — citty parses `process.argv` itself, so the rewrite has to land there.\nprocess.argv = [...process.argv.slice(0, 2), ...normalizeCacheFlag(process.argv.slice(2))];\n\n// When BAKER_DEBUG_LOG is set, mirror all output and record the invocation\n// before any command runs. No-op otherwise.\ninstallStreamTaps();\nlogInvocation(process.argv.slice(2));\ninstallExitRecord();\n\n// `--output json` asks for the envelope, which almost every command prints\n// without declaring the option — translated here so the guard below does not\n// refuse a flag that asked for what the command was about to print.\n// `canvas run` prints progress before its envelope: asked for the envelope, it\n// prints that alone on stdout and the progress on stderr.\nif (asksForEnvelopeAlone(main, process.argv.slice(2))) {\n envelopeAloneOnStdout(process.stdout, process.stderr);\n}\nprocess.argv = [...process.argv.slice(0, 2), ...outputFlagForCommand(main, process.argv.slice(2))];\n\n// `--output md` and `--out <file>` act on the envelope a command prints when it\n// has no Markdown view or export of its own. Installed before the mask and the `--full` note, so\n// each envelope is narrowed first, then written to the file, then rendered.\nconst mdOutput = takeMdOutput(main, process.argv.slice(2));\nprocess.argv = [...process.argv.slice(0, 2), ...mdOutput.argv];\nif (mdOutput.render) {\n installMdRendering();\n}\n// A command with its own Markdown view asked for `--output md --out <file>` is\n// asked for its envelope instead, and the summary is what gets rendered.\nconst outFlag = takeOutFlag(main, process.argv.slice(2));\nif (outFlag.file) {\n process.argv = [...process.argv.slice(0, 2), ...outFlag.argv];\n if (outFlag.summaryMd && !mdOutput.render) {\n installMdRendering();\n }\n installOutFile(outFlag.file, commandPathOf(main, outFlag.argv), outFlag);\n}\n\n// `--fields` narrows the envelope on every command that prints one; where the\n// command does not declare it, it is applied to what the command prints.\nconst fieldsFlag = takeFieldsFlag(main, process.argv.slice(2));\nif (fieldsFlag.fields) {\n process.argv = [...process.argv.slice(0, 2), ...fieldsFlag.argv];\n installFieldMask(fieldsFlag.fields, commandPathOf(main, fieldsFlag.argv));\n}\n\n// `--full` on a command with no shorter view asks for what it already prints:\n// taken off here, and said back in the envelope's hints.\nconst fullFlag = takeFullFlag(main, process.argv.slice(2));\nif (fullFlag.taken) {\n process.argv = [...process.argv.slice(0, 2), ...fullFlag.argv];\n installFullNote(commandPathOf(main, fullFlag.argv));\n}\n\n// `--company <id>` names the company a read is about (the organization\n// workspace's Reports read every company of its organization). It travels as a\n// header on every request, so it is taken off here, before the guard.\nconst companyFlag = takeCompanyFlag(main, process.argv.slice(2));\nif (companyFlag.company) {\n process.argv = [...process.argv.slice(0, 2), ...companyFlag.argv];\n setTargetCompany(companyFlag.company);\n}\n\n// What this agent is offered: the organization workspace's agent only reads\n// (`agent-profile.ts`). Here, after `--company` is taken off, so the command it\n// judges is the one typed.\nconst profileRefusal = await applyAgentProfile(main, agentProfile(), process.argv.slice(2));\nif (profileRefusal) {\n writeJson({ ok: false, error: { code: \"FORBIDDEN\", message: profileRefusal } });\n process.exit(1);\n}\n\n// A report's Refresh appends `--no-cache` to every read; a command with no cache\n// already reads fresh, so it is dropped there rather than refused.\nprocess.argv = [...process.argv.slice(0, 2), ...cacheFlagForCommand(main, process.argv.slice(2))];\n\nrefuseUnknownFlags(main, process.argv.slice(2), typedArgv);\nrefuseStrayPositionals(main, process.argv.slice(2));\n\n// Last, so the guard above quotes back the spelling the caller typed: citty\n// resolves a bare `--no-cache` to `cache: false` instead of filling the declared\n// `no-cache` arg, and only the camelCase spelling survives its parser intact.\nprocess.argv = [...process.argv.slice(0, 2), ...cacheFlagForParser(process.argv.slice(2))];\n\n// `--help` and `--version` stay citty's own, the help rendered for an agent\n// reading it (`help-output.ts`), except help on a subcommand that does not\n// exist, which is refused like a call to it. Everything else runs here rather\n// than through `runMain`, whose refusal of a missing argument or an unknown\n// subcommand is usage text on stderr and nothing on stdout: that becomes the\n// envelope every other failure prints.\nconst rawArgs = process.argv.slice(2);\nif (\n rawArgs.some((arg) => arg === \"--help\" || arg === \"-h\") ||\n (rawArgs.length === 1 && /^(--version|-v)$/.test(rawArgs[0] ?? \"\"))\n) {\n const unknown = unknownSubCommandRefusal(main, rawArgs);\n if (unknown) {\n writeJson(unknown);\n process.exit(1);\n }\n runMain(main, { showUsage: printHelpTo(process.stdout) });\n} else {\n try {\n await runCommand(main, { rawArgs });\n } catch (error) {\n const refusal = parseRefusalEnvelope(error, main, rawArgs);\n if (refusal) {\n writeJson(refusal);\n } else {\n console.error(error, \"\\n\");\n }\n process.exit(1);\n }\n}\n","interface ErrorSource {\n on(event: \"error\", listener: (err: NodeJS.ErrnoException) => void): unknown;\n}\n\n/**\n * `baker … | head` closes the pipe once it has its lines. Node reports the next\n * write as an unhandled EPIPE and prints a stack trace, which reads as a crash of\n * a command that did its job. A closed reader wants nothing more, so exit cleanly,\n * as Unix tools do; any other write error still surfaces.\n */\nexport function exitQuietlyOnClosedPipe(stream: ErrorSource, exit: (code: number) => void): void {\n stream.on(\"error\", (err) => {\n if (err.code === \"EPIPE\") {\n exit(0);\n return;\n }\n throw err;\n });\n}\n","/**\n * `--company <id>` on every command: the company the call reads, for the\n * organization workspace, whose Reports read every company of its organization.\n *\n * It is a header, not an argument of each command (`x-baker-company`, sent by\n * `client.ts`), so every read the CLI has works across companies unchanged, and\n * the backend alone decides what it opens: reads of a company of the same\n * organization, for the organization workspace's credential, and nothing else.\n *\n * A command that declares `--company` itself keeps its own meaning — on\n * `avatars research` it is the person's employer. A positional named `company`\n * (`accounts company acme.com`) is not a flag, so the flag stays the header.\n */\n\nimport { declaredArg } from \"./output-flag.ts\";\nimport { commandFor, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--company\";\n\n/** The command reads `--company` itself; a positional of that name is no flag, so it is not. */\nfunction ownsCompanyFlag(command: IntrospectableCommand): boolean {\n const own = declaredArg(command, \"company\");\n return own !== null && own.type !== \"positional\";\n}\n\n/**\n * `argv` without `--company`, and the company it named, when the addressed\n * command does not declare the option itself. Otherwise `argv` is returned\n * untouched with `company: null`, for the command or the guard to judge.\n */\nexport function takeCompanyFlag(\n root: IntrospectableCommand,\n argv: string[],\n): { argv: string[]; company: string | null } {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n for (let index = 0; index < limit; index++) {\n const token = argv[index] ?? \"\";\n let company: string | undefined;\n let width = 1;\n if (token.startsWith(`${FLAG}=`)) {\n company = token.slice(FLAG.length + 1).trim();\n } else if (token === FLAG) {\n const value = argv[index + 1];\n if (value === undefined || index + 1 >= limit || value.startsWith(\"-\")) {\n return { argv, company: null };\n }\n company = value.trim();\n width = 2;\n } else {\n continue;\n }\n const command = commandFor(root, argv);\n if (!company || !command || ownsCompanyFlag(command)) {\n return { argv, company: null };\n }\n return { argv: [...argv.slice(0, index), ...argv.slice(index + width)], company };\n }\n return { argv, company: null };\n}\n","/**\n * `--full` on every command that prints the JSON envelope.\n *\n * The conventions doc tells the agent that reads are compact and `--full` gives\n * the complete record, and the families that have a compact view declare it\n * (`ads meta ads|adsets|campaigns`, `images`, `winning-ads`, …). Everywhere\n * else the unknown-option guard (`unknown-flags.ts`) refused it, although those\n * commands already print everything they return: `ads meta creatives` loops\n * (before its rows became compact), `actions get`, `posts list` and `tags list` each lost calls and a retry to a\n * flag that asked for what the command was about to print (BAKER-1412, -182).\n *\n * So a command that does not declare `--full` has it taken off the command line\n * here, and every envelope it prints says so in `hints` — a dropped flag the\n * caller cannot see would read as \"this is the full record\" on a list whose\n * rows are summaries. A command that declares `--full` keeps its own meaning;\n * one that prints no envelope is left to the guard, as with `--output json`.\n */\n\nimport { declaredArg, printsDataEnvelope } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, reprint, rewriteWrites, withHint } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--full\";\n\n/**\n * The command a call to `command` runs: a group with a `default` hands the call,\n * flags and all, to that subcommand (`creatives rules` runs `list`).\n */\nexport function commandThatRuns(command: IntrospectableCommand): IntrospectableCommand {\n const name = (command as { default?: unknown }).default;\n const subCommands = command.subCommands;\n const next =\n typeof name === \"string\" && subCommands && typeof subCommands === \"object\"\n ? (subCommands as Record<string, unknown>)[name]\n : undefined;\n return next && typeof next === \"object\" ? commandThatRuns(next as IntrospectableCommand) : command;\n}\n\n/**\n * `argv` without `--full`, and whether it was there, when the addressed command\n * prints the envelope and does not declare the option itself. Otherwise `argv`\n * is returned untouched, for the command or the guard to judge.\n */\nexport function takeFullFlag(root: IntrospectableCommand, argv: string[]): { argv: string[]; taken: boolean } {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n const taken = argv.flatMap((token, index) => (index < limit && token === FLAG ? [index] : []));\n if (taken.length === 0) {\n return { argv, taken: false };\n }\n const command = commandFor(root, argv);\n if (!command || declaredArg(commandThatRuns(command), \"full\") || !printsDataEnvelope(commandPathOf(root, argv))) {\n return { argv, taken: false };\n }\n return { argv: argv.filter((_, index) => !taken.includes(index)), taken: true };\n}\n\nfunction fullHint(commandPath: string): string {\n return (\n `--full changes nothing on \\`baker ${commandPath}\\`: it has no shorter view, so this is everything it returns. ` +\n \"Where its rows are summaries, read one record whole with the family's get or show command. Drop --full here.\"\n );\n}\n\n/**\n * The text a command printed, with a success envelope's `hints` saying `--full`\n * was taken and changed nothing; an error or a dry run comes back as printed,\n * and anything that is not an envelope (a readable view) is null.\n */\nexport function noteFullOnPrinted(text: string, commandPath: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n return reprint(text, withHint(envelope, fullHint(commandPath)));\n}\n\n/**\n * The note on the CLI's own stdout, and on stderr when the command printed no\n * envelope to carry it — a readable view such as `tags list` without `--json`.\n */\nexport function installFullNote(commandPath: string): void {\n const note = rewriteWrites(process.stdout, (text) => noteFullOnPrinted(text, commandPath));\n process.on(\"exit\", () => {\n if (!note.sawEnvelope()) {\n process.stderr.write(`${fullHint(commandPath)}\\n`);\n }\n });\n}\n","/**\n * What `--help` prints, for an agent that reads every byte of it.\n *\n * citty's renderer pads each table column to its widest cell, so one\n * paragraph-long description pads every other row of its table with thousands\n * of spaces (`baker analytics --help` printed 163 KB, 80% of it padding). And it\n * lists each subcommand with its whole description, so a family's help repeats\n * every command's own help. Here a COMMANDS row carries the first sentence (the\n * rest is one `--help` away), and no line ends in padding.\n */\n\nimport { type ArgsDef, type CommandDef, type CommandMeta, type Resolvable, renderUsage } from \"citty\";\n\nconst sentences = new Intl.Segmenter(\"en\", { granularity: \"sentence\" });\n/** ICU's sentence rules end a sentence at these; none of them ends one here. */\nconst abbreviation = /\\b(?:e\\.g|i\\.e|vs|etc)\\.$/i;\n\nfunction resolved<T>(value: Resolvable<T>): Promise<T> {\n return Promise.resolve(typeof value === \"function\" ? (value as () => T | Promise<T>)() : value);\n}\n\n/**\n * The description's first sentence. A line wrapped by hand continues on the\n * next one; a blank line, an indented example or a list item ends the prose.\n */\nfunction firstSentence(description: string): string {\n const [first = \"\", ...rest] = description.trim().split(\"\\n\");\n let prose = first.trim();\n for (const line of rest) {\n if (/[.:!?]$/.test(prose) || line.trim() === \"\" || /^(\\s|[-*•])/.test(line)) break;\n prose += ` ${line.trim()}`;\n }\n let sentence = \"\";\n for (const { segment } of sentences.segment(prose)) {\n sentence += segment;\n if (!abbreviation.test(sentence.trim())) break;\n }\n return (sentence || prose).trim();\n}\n\nasync function summarized(cmd: CommandDef<ArgsDef>): Promise<CommandDef<ArgsDef>> {\n if (!cmd.subCommands) return cmd;\n const subCommands = await resolved(cmd.subCommands);\n const listed: Record<string, CommandDef<ArgsDef>> = {};\n for (const [name, sub] of Object.entries(subCommands)) {\n const command: CommandDef<ArgsDef> = await resolved(sub);\n const meta: CommandMeta = (command.meta ? await resolved(command.meta) : undefined) ?? {};\n listed[name] = { meta: meta.description ? { ...meta, description: firstSentence(meta.description) } : meta };\n }\n return { ...cmd, subCommands: listed };\n}\n\nexport async function renderHelp<T extends ArgsDef>(cmd: CommandDef<T>, parent?: CommandDef<T>): Promise<string> {\n const usage = await renderUsage(await summarized(cmd as CommandDef<ArgsDef>), parent as CommandDef<ArgsDef>);\n return usage\n .split(\"\\n\")\n .map((line) => line.trimEnd())\n .join(\"\\n\");\n}\n\ntype HelpSink = { write(chunk: string, done: () => void): unknown };\n\n/**\n * citty's `runMain` exits as soon as the help is printed. Piped, stdout writes\n * asynchronously, so an exit then cut the help at whatever had been flushed\n * (`baker --help | wc -c` read 65,536). This resolves once the write is done.\n */\nexport function printHelpTo(stdout: HelpSink) {\n return async <T extends ArgsDef>(cmd: CommandDef<T>, parent?: CommandDef<T>): Promise<void> => {\n const help = await renderHelp(cmd, parent);\n await new Promise<void>((done) => stdout.write(`${help}\\n`, done));\n };\n}\n","/**\n * `--output md` on every command that prints the JSON envelope.\n *\n * The docs teach `--output md` as the way to read numbers, and the agent\n * carries the habit to sibling commands. Only the commands that built their own\n * Markdown view declared it, so `actions get`, `analytics map`, `analytics\n * sends` and the image provider searches refused it, and the agent paid a call\n * and then grepped the JSON instead (BAKER-2534, BAKER-1963).\n *\n * So a command that does not declare `--output` gets a generic rendering of what\n * it prints: a table for a list of records, `key: value` lines for one record,\n * and `meta`, warnings and `hints` kept below it. A command with its own\n * Markdown view keeps it, one whose own `--output` prints only other formats is\n * asked for `json` and rendered, one whose default is already a readable view\n * prints that view untouched, and one that prints no envelope is left to the\n * guard, as with `--fields`.\n */\n\nimport { commandThatRuns } from \"./full-flag.ts\";\nimport { outputRequests, ownOutput, printsDataEnvelope, withOutput } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, rewriteWrites } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FORMAT = \"md\";\n\n/**\n * `argv` without `--output md` when the addressed command prints the envelope\n * and has no Markdown view of its own: none declared, or a declared `--output`\n * that names only other formats (`linkedin demographics` prints `json` alone),\n * which is asked for `json` instead. `render` says the printed envelope is to be\n * rendered; a readable view printed instead passes through as it was. Otherwise\n * `argv` comes back untouched, for the command or the guard to judge.\n */\nexport function takeMdOutput(root: IntrospectableCommand, argv: string[]): { argv: string[]; render: boolean } {\n const requests = outputRequests(argv);\n const asked = requests.at(-1)?.value === FORMAT;\n const command = asked ? commandFor(root, argv) : null;\n if (!command) {\n return { argv, render: false };\n }\n const path = commandPathOf(root, argv);\n const own = ownOutput(commandThatRuns(command), path);\n const ownView =\n own.kind === \"not-a-format\" || (own.kind === \"formats\" && (own.formats.has(FORMAT) || !own.formats.has(\"json\")));\n if (ownView || !printsDataEnvelope(path)) {\n return { argv, render: false };\n }\n const taken = new Set(requests.filter((request) => request.value === FORMAT).flatMap((request) => request.indices));\n const rest = argv.filter((_, index) => !taken.has(index));\n return { argv: own.kind === \"formats\" ? withOutput(rest, \"json\") : rest, render: true };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nfunction isRecordList(value: unknown): value is Record<string, unknown>[] {\n return Array.isArray(value) && value.length > 0 && value.every(isRecord);\n}\n\n/** One table cell: nested values as JSON, on one line, with no `|` to break the row. */\nfunction cell(value: unknown): string {\n if (value === null || value === undefined) return \"\";\n const text = typeof value === \"object\" ? JSON.stringify(value) : String(value);\n return text.replace(/\\|/g, \"\\\\|\").replace(/\\r?\\n/g, \" \");\n}\n\nfunction table(rows: Record<string, unknown>[]): string {\n const columns = [...new Set(rows.flatMap((row) => Object.keys(row)))];\n const line = (cells: string[]) => `| ${cells.join(\" | \")} |`;\n return `${[line(columns), line(columns.map(() => \"---\")), ...rows.map((row) => line(columns.map((c) => cell(row[c]))))].join(\"\\n\")}\\n`;\n}\n\n/** A value on one `key: value` line: a list joined, a nested record as its own `key: value` pairs. */\nfunction inline(value: unknown): string {\n if (value === null || value === undefined) return \"\";\n if (Array.isArray(value)) {\n return value.length === 0 ? \"(none)\" : value.map(cell).join(\", \");\n }\n if (isRecord(value)) {\n return Object.entries(value)\n .map(([key, nested]) => `${key}: ${cell(nested)}`)\n .join(\", \");\n }\n return String(value);\n}\n\n/**\n * A record's values as lines, then each list of records it holds as a table\n * under its own heading — and, at the top, each record it holds as well.\n */\nfunction recordMd(record: Record<string, unknown>, nested = false): string {\n const lines: string[] = [];\n const sections: string[] = [];\n const heading = nested ? \"####\" : \"###\";\n for (const [key, value] of Object.entries(record)) {\n if (isRecordList(value)) {\n sections.push(`${heading} ${key}\\n\\n${table(value)}`);\n } else if (!nested && isRecord(value) && Object.keys(value).length > 0) {\n sections.push(`${heading} ${key}\\n\\n${recordMd(value, true)}`);\n } else {\n lines.push(`- **${key}:** ${inline(value)}`);\n }\n }\n return [...(lines.length > 0 ? [`${lines.join(\"\\n\")}\\n`] : []), ...sections].join(\"\\n\");\n}\n\nfunction dataMd(data: unknown): string {\n if (isRecordList(data)) return table(data);\n if (Array.isArray(data))\n return data.length === 0 ? \"(no rows)\\n\" : `${data.map((item) => `- ${cell(item)}`).join(\"\\n\")}\\n`;\n if (isRecord(data)) return Object.keys(data).length === 0 ? \"(empty)\\n\" : recordMd(data);\n return `${inline(data)}\\n`;\n}\n\n/**\n * A success envelope as Markdown: `data` rendered, then every other key\n * (`meta`, warnings, a notice) and the hints, which say whether the rows can be\n * trusted. A result printed beside `ok` rather than under `data` is the record.\n */\nexport function renderEnvelopeMd(envelope: Record<string, unknown>): string {\n const { ok: _ok, data, hints, ...rest } = envelope;\n const hasData = \"data\" in envelope;\n const parts = [hasData ? dataMd(data) : recordMd(rest)];\n const around = hasData ? Object.entries(rest) : [];\n if (around.length > 0) {\n parts.push(`${around.map(([key, value]) => `- **${key}:** ${inline(value)}`).join(\"\\n\")}\\n`);\n }\n if (Array.isArray(hints) && hints.length > 0) {\n parts.push(`${hints.map((hint) => `> ${String(hint).replace(/\\r?\\n/g, \"\\n> \")}`).join(\"\\n\")}\\n`);\n }\n return parts.join(\"\\n\");\n}\n\n/**\n * The text a command printed, rendered as Markdown when it is a success\n * envelope; an error or a dry run comes back as printed, and anything that is\n * not an envelope is null.\n */\nexport function renderPrintedMd(text: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n return renderEnvelopeMd(envelope);\n}\n\n/** The rendering on the CLI's own stdout. */\nexport function installMdRendering(): void {\n rewriteWrites(process.stdout, renderPrintedMd);\n}\n","/**\n * `--out <file>` on every command that prints the JSON envelope.\n *\n * The conventions doc teaches `--out <file>` as the way to take a big read whole\n * (\"one spelling on every family\"), but only the commands that wrote their own\n * export declared it. `analytics releases`, `ads meta insights`, `ads google\n * changes`, `history list` and the research reads refused it, and the agent\n * redirected stdout and grepped pretty JSON instead (BAKER-2415, -936, -497).\n *\n * So a command that does not declare `--out` gets it here: its envelope goes to\n * the file whole, and stdout carries a summary — the file, its size, the row\n * count, and the `meta`, warnings and `hints` that say whether the read can be\n * trusted. A command whose own `--output` prints csv, jsonl or files writes that\n * text to the file instead. A command that declares `--out` keeps its own\n * export, and one that prints no envelope is left to the guard, as with\n * `--fields`.\n */\n\nimport { appendFileSync, mkdirSync, writeFileSync } from \"node:fs\";\nimport { dirname, resolve } from \"node:path\";\nimport { commandThatRuns } from \"./full-flag.ts\";\nimport { declaredArg, outputRequests, ownOutput, printsDataEnvelope, withOutput } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, reprint, rewriteWrites, type WriteTarget } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--out\";\n\n/** What stays in the summary of an envelope whose result sits beside `ok` rather than under `data`. */\nconst TRUST_KEYS = [\"meta\", \"warnings\", \"notice\", \"hints\"];\n\n/**\n * Where `--out <file>` sits in `argv` before `--`, and the file it names; null\n * when it is absent, or bare and naming no file — the guard says so.\n */\nfunction outRequest(argv: string[]): { taken: Set<number>; file: string } | null {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n const taken = new Set<number>();\n let file: string | null = null;\n for (let index = 0; index < limit; index++) {\n const token = argv[index] ?? \"\";\n if (token.startsWith(`${FLAG}=`) && token.length > FLAG.length + 1) {\n taken.add(index);\n file = token.slice(FLAG.length + 1);\n } else if (token === FLAG) {\n const value = argv[index + 1];\n if (value === undefined || index + 1 >= limit || value.startsWith(\"-\")) {\n return null;\n }\n taken.add(index).add(index + 1);\n file = value;\n index++;\n }\n }\n return file === null ? null : { taken, file };\n}\n\n/**\n * What `--out` asks of the command it addresses: `argv` to run it with, the\n * file (null when `argv` comes back untouched, for the command or the guard),\n * whether the file takes the envelope or the text the command prints in a\n * format of its own (csv, jsonl, files), and whether the summary is to be\n * rendered as Markdown because the call asked for `--output md`.\n */\nexport type OutTarget = {\n argv: string[];\n file: string | null;\n writes: \"envelope\" | \"printed\";\n summaryMd: boolean;\n};\n\n/**\n * `argv` without `--out <file>`, and the file, when the addressed command prints\n * the envelope and does not declare the option. A command whose default is a\n * readable view — its own `--json` switch, or an own `--output` defaulting to\n * `md` — is asked for its envelope, and so is an explicit `--output md`, whose\n * summary is then rendered. Another format the command prints itself is written\n * to the file as printed.\n */\nexport function takeOutFlag(root: IntrospectableCommand, argv: string[]): OutTarget {\n const untouched: OutTarget = { argv, file: null, writes: \"envelope\", summaryMd: false };\n const request = outRequest(argv);\n const command = request === null ? null : commandFor(root, argv);\n if (request === null || !command) {\n return untouched;\n }\n const path = commandPathOf(root, argv);\n const runs = commandThatRuns(command);\n if (declaredArg(runs, \"out\") !== null || !printsDataEnvelope(path)) {\n return untouched;\n }\n const rest = argv.filter((_, index) => !request.taken.has(index));\n const own = ownOutput(runs, path);\n if (own.kind === \"formats\") {\n const formats = outputRequests(rest);\n const asked = formats.at(-1)?.value ?? own.default;\n if (asked === \"json\") {\n return { argv: rest, file: request.file, writes: \"envelope\", summaryMd: false };\n }\n if (asked === \"md\" && own.formats.has(\"json\")) {\n const dropped = new Set(formats.flatMap((format) => format.indices));\n return {\n argv: withOutput(\n rest.filter((_, index) => !dropped.has(index)),\n \"json\",\n ),\n file: request.file,\n writes: \"envelope\",\n summaryMd: formats.length > 0,\n };\n }\n return { argv: rest, file: request.file, writes: \"printed\", summaryMd: false };\n }\n const needsJson = declaredArg(runs, \"json\")?.type === \"boolean\" && !rest.includes(\"--json\");\n return { argv: needsJson ? [...rest, \"--json\"] : rest, file: request.file, writes: \"envelope\", summaryMd: false };\n}\n\n/**\n * The text a command printed, with a success envelope written whole to `file`\n * and replaced by its summary. An error or a dry run comes back as printed and\n * writes nothing; anything that is not an envelope is null.\n */\nexport function writePrintedToFile(text: string, file: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n const path = resolve(file);\n const body = `${JSON.stringify(envelope, null, 2)}\\n`;\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, body);\n const { ok: _ok, data, ...rest } = envelope;\n const around =\n \"data\" in envelope ? rest : Object.fromEntries(TRUST_KEYS.filter((k) => k in rest).map((k) => [k, rest[k]]));\n return reprint(text, {\n ok: true,\n file: path,\n bytes: Buffer.byteLength(body),\n ...(Array.isArray(data) ? { rows: data.length } : {}),\n ...around,\n });\n}\n\n/**\n * The text a command prints in a format of its own (csv, jsonl, files), written\n * to `file` as it comes instead of to `stream`. An error envelope still reaches\n * `stream`. `finish()` is the summary to print once the command is done, or\n * null when it printed nothing to write.\n */\nexport function capturePrintedText(stream: WriteTarget, file: string, format: string): { finish: () => string | null } {\n const path = resolve(file);\n const write = stream.write.bind(stream);\n let bytes: number | null = null;\n stream.write = (chunk: string | Uint8Array, ...rest: never[]): boolean => {\n const text = typeof chunk === \"string\" ? chunk : Buffer.from(chunk).toString(\"utf8\");\n if (parsePrintedEnvelope(text)?.ok === false) {\n return write(chunk, ...rest);\n }\n if (bytes === null) {\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, text);\n bytes = 0;\n } else {\n appendFileSync(path, text);\n }\n bytes += Buffer.byteLength(text);\n const done = (rest as unknown[]).find((arg) => typeof arg === \"function\");\n if (typeof done === \"function\") {\n process.nextTick(() => done());\n }\n return true;\n };\n return {\n finish: () => (bytes === null ? null : `${JSON.stringify({ ok: true, file: path, bytes, format })}\\n`),\n };\n}\n\n/**\n * The file on the CLI's own stdout, and a note on stderr when the command\n * printed nothing to write, so the agent does not go looking for a file.\n */\nexport function installOutFile(file: string, commandPath: string, target: Pick<OutTarget, \"writes\" | \"argv\">): void {\n if (target.writes === \"printed\") {\n const print = process.stdout.write.bind(process.stdout);\n const format = outputRequests(target.argv).at(-1)?.value ?? \"its default format\";\n const captured = capturePrintedText(process.stdout, file, format);\n process.on(\"exit\", () => {\n const summary = captured.finish();\n if (summary === null) {\n process.stderr.write(`--out wrote no file: \\`baker ${commandPath}\\` printed nothing to write.\\n`);\n } else {\n print(summary);\n }\n });\n return;\n }\n const out = rewriteWrites(process.stdout, (text) => writePrintedToFile(text, file));\n process.on(\"exit\", () => {\n if (!out.sawEnvelope()) {\n process.stderr.write(`--out wrote no file: \\`baker ${commandPath}\\` printed no JSON envelope to write.\\n`);\n }\n });\n}\n","import { defineCommand } from \"citty\";\nimport { getCliVersion } from \"./version.ts\";\n\n// Every command is declared lazily and only the one being run is loaded\n// (`command-loading.ts`): loading all of them made each `baker` process hold\n// ~135 MB of heap while it waited on one request.\nexport const rootCommand = defineCommand({\n meta: {\n name: \"baker\",\n version: getCliVersion(),\n description: `AI-agent CLI for finding and managing images, videos, social posts, avatars, testimonials, action items, scheduled agents, marketing tags, Tag Manager containers, account history, credentials, and ad platform data in Baker.\n\nAuth: Set BAKER_API_KEY (starts with bk_) and BAKER_API_URL environment variables.\nChat: BAKER_CHAT_ID names the chat that every staging command (ads on every platform, tags, Tag Manager, GA4, actions, scheduled agents, site, funnel, Shopify, …) stages against; reads of another chat take --chat <id>.\nOutput: All commands return JSON envelopes: { ok: true, data: ... } or { ok: false, error: { code, message } }.\nFields: --fields a,b,c keeps only those keys of each record in data, on every command that prints the envelope.\nFull: --full returns the complete record where a command has a compact view; elsewhere it is accepted and changes nothing (a hint says so), except on 'canvas run' and 'canvas rerun', which refuse it.\nCompany: --company <id> runs a read against another company of the organization (organization workspace only; ids from 'baker organization companies').\nFormats: --output json and --output md work on every command that prints the envelope (md: a table for a list, key: value lines for a record). --output files only where 'baker schema <command>' lists output. (The research commands additionally accept csv and jsonl.)\nFile: --out <file> writes the whole envelope to a file and prints a summary (file, bytes, rows, meta, hints), on every command that prints the envelope (with --output csv|jsonl|files, the text that format prints); a command with its own --out (ads google query, ga4 query, ...) writes its rows instead.\nIntrospection: Run 'baker schema <command>' to inspect argument schemas.`,\n },\n subCommands: {\n capabilities: () => import(\"./commands/capabilities/index.ts\").then((m) => m.capabilitiesCommand),\n actions: () => import(\"./commands/actions/index.ts\").then((m) => m.actionsCommand),\n \"scheduled-agents\": () => import(\"./commands/scheduled-agents/index.ts\").then((m) => m.scheduledAgentsCommand),\n ads: () => import(\"./commands/ads/index.ts\").then((m) => m.adsCommand),\n brand: () => import(\"./commands/brand/index.ts\").then((m) => m.brandCommand),\n analytics: () => import(\"./commands/analytics/index.ts\").then((m) => m.analyticsCommand),\n experiment: () => import(\"./commands/experiment/index.ts\").then((m) => m.experimentCommand),\n ga4: () => import(\"./commands/ga4/index.ts\").then((m) => m.ga4Command),\n gsc: () => import(\"./commands/gsc/index.ts\").then((m) => m.gscCommand),\n research: () => import(\"./commands/research/index.ts\").then((m) => m.researchCommand),\n decide: () => import(\"./commands/decide/index.ts\").then((m) => m.decideCommand),\n knowledge: () => import(\"./commands/knowledge/index.ts\").then((m) => m.knowledgeCommand),\n creatives: () => import(\"./commands/creatives/index.ts\").then((m) => m.creativesCommand),\n flows: () => import(\"./commands/flows/index.ts\").then((m) => m.flowsCommand),\n funnel: () => import(\"./commands/funnel/index.ts\").then((m) => m.funnelCommand),\n images: () => import(\"./commands/images/index.ts\").then((m) => m.imagesCommand),\n studio: () => import(\"./commands/studio/index.ts\").then((m) => m.studioCommand),\n avatars: () => import(\"./commands/avatars/index.ts\").then((m) => m.avatarsCommand),\n landing: () => import(\"./commands/landing/index.ts\").then((m) => m.landingCommand),\n videos: () => import(\"./commands/videos/index.ts\").then((m) => m.videosCommand),\n testimonials: () => import(\"./commands/testimonials/index.ts\").then((m) => m.testimonialsCommand),\n canvas: () => import(\"./commands/canvas/index.ts\").then((m) => m.canvasCommand),\n tags: () => import(\"./commands/tags/index.ts\").then((m) => m.tagsCommand),\n \"tag-manager\": () => import(\"./commands/tag-manager/index.ts\").then((m) => m.tagManagerCommand),\n chats: () => import(\"./commands/chats/index.ts\").then((m) => m.chatsCommand),\n history: () => import(\"./commands/history/index.ts\").then((m) => m.historyCommand),\n credentials: () => import(\"./commands/credentials/index.ts\").then((m) => m.credentialsCommand),\n hubspot: () => import(\"./commands/hubspot/index.ts\").then((m) => m.hubspotCommand),\n activecampaign: () => import(\"./commands/activecampaign/index.ts\").then((m) => m.activecampaignCommand),\n accounts: () => import(\"./commands/accounts/index.ts\").then((m) => m.accountsCommand),\n shopify: () => import(\"./commands/shopify/index.ts\").then((m) => m.shopifyCommand),\n \"winning-ads\": () => import(\"./commands/winning-ads/index.ts\").then((m) => m.winningAdsCommand),\n \"media-sources\": () => import(\"./commands/media-sources/index.ts\").then((m) => m.mediaSourcesCommand),\n posts: () => import(\"./commands/posts/index.ts\").then((m) => m.postsCommand),\n site: () => import(\"./commands/site/index.ts\").then((m) => m.siteCommand),\n \"lead-routes\": () => import(\"./commands/lead-routes/index.ts\").then((m) => m.leadRoutesCommand),\n mcp: () => import(\"./commands/mcp/index.ts\").then((m) => m.mcpCommand),\n \"setup-links\": () => import(\"./commands/setup-links/index.ts\").then((m) => m.setupLinksCommand),\n organization: () => import(\"./commands/organization/index.ts\").then((m) => m.organizationCommand),\n schema: () => import(\"./commands/schema.ts\").then((m) => m.schemaCommand),\n },\n});\n","import { readFileSync } from \"node:fs\";\n\nfunction packageJsonUrl(): URL {\n return new URL(\"../package.json\", import.meta.url);\n}\n\nfunction parsePackageVersion(raw: string): string {\n const parsed: unknown = JSON.parse(raw);\n if (\n typeof parsed === \"object\" &&\n parsed !== null &&\n \"version\" in parsed &&\n typeof parsed.version === \"string\" &&\n parsed.version.length > 0\n ) {\n return parsed.version;\n }\n throw new Error(\"Invalid CLI package.json: missing version\");\n}\n\nexport function getCliVersion(): string {\n return parsePackageVersion(readFileSync(packageJsonUrl(), \"utf8\"));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,YAAY,eAAe;;;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ts","../src/md-output.ts","../src/out-flag.ts","../src/root-command.ts","../src/version.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runCommand, runMain } from \"citty\";\nimport { agentProfile, applyAgentProfile } from \"./agent-profile.ts\";\nimport { cacheFlagForCommand, cacheFlagForParser, normalizeCacheFlag } from \"./cache-flag.ts\";\nimport { exitQuietlyOnClosedPipe } from \"./closed-pipe.ts\";\nimport { loadCommands } from \"./command-loading.ts\";\nimport { takeCompanyFlag } from \"./company-flag.ts\";\nimport { installExitRecord, installStreamTaps, logInvocation } from \"./debugLog.ts\";\nimport { setTargetCompany } from \"./env.ts\";\nimport { installFieldMask, takeFieldsFlag } from \"./field-mask.ts\";\nimport { installFullNote, takeFullFlag } from \"./full-flag.ts\";\nimport { printHelpTo } from \"./help-output.ts\";\nimport { installMdRendering, takeMdOutput } from \"./md-output.ts\";\nimport { installOutFile, takeOutFlag } from \"./out-flag.ts\";\nimport { writeJson } from \"./output.ts\";\nimport { asksForEnvelopeAlone, envelopeAloneOnStdout, outputFlagForCommand } from \"./output-flag.ts\";\nimport { rootCommand } from \"./root-command.ts\";\nimport { registerCommandTree } from \"./schemas.ts\";\nimport {\n commandPathOf,\n parseRefusalEnvelope,\n refuseStrayPositionals,\n refuseUnknownFlags,\n unknownSubCommandRefusal,\n} from \"./unknown-flags.ts\";\n\nconst main = rootCommand;\n// The call as typed, before the rewrites below: a refusal's corrected call is built from it.\nconst typedArgv = process.argv.slice(2);\n\nawait loadCommands(main, process.argv.slice(2));\nregisterCommandTree(main);\n\nexitQuietlyOnClosedPipe(process.stdout, (code) => process.exit(code));\n\n// The legacy `--skip-cache` spelling becomes `--no-cache` before anything reads\n// argv — citty parses `process.argv` itself, so the rewrite has to land there.\nprocess.argv = [...process.argv.slice(0, 2), ...normalizeCacheFlag(process.argv.slice(2))];\n\n// When BAKER_DEBUG_LOG is set, mirror all output and record the invocation\n// before any command runs. No-op otherwise.\ninstallStreamTaps();\nlogInvocation(process.argv.slice(2));\ninstallExitRecord();\n\n// `--output json` asks for the envelope, which almost every command prints\n// without declaring the option — translated here so the guard below does not\n// refuse a flag that asked for what the command was about to print.\n// `canvas run` prints progress before its envelope: asked for the envelope, it\n// prints that alone on stdout and the progress on stderr.\nif (asksForEnvelopeAlone(main, process.argv.slice(2))) {\n envelopeAloneOnStdout(process.stdout, process.stderr);\n}\nprocess.argv = [...process.argv.slice(0, 2), ...outputFlagForCommand(main, process.argv.slice(2))];\n\n// `--output md` and `--out <file>` act on the envelope a command prints when it\n// has no Markdown view or export of its own. Installed before the mask and the `--full` note, so\n// each envelope is narrowed first, then written to the file, then rendered.\nconst mdOutput = takeMdOutput(main, process.argv.slice(2));\nprocess.argv = [...process.argv.slice(0, 2), ...mdOutput.argv];\nif (mdOutput.render) {\n installMdRendering();\n}\n// A command with its own Markdown view asked for `--output md --out <file>` is\n// asked for its envelope instead, and the summary is what gets rendered.\nconst outFlag = takeOutFlag(main, process.argv.slice(2));\nif (outFlag.file) {\n process.argv = [...process.argv.slice(0, 2), ...outFlag.argv];\n if (outFlag.summaryMd && !mdOutput.render) {\n installMdRendering();\n }\n installOutFile(outFlag.file, commandPathOf(main, outFlag.argv), outFlag);\n}\n\n// `--fields` narrows the envelope on every command that prints one; where the\n// command does not declare it, it is applied to what the command prints.\nconst fieldsFlag = takeFieldsFlag(main, process.argv.slice(2));\nif (fieldsFlag.fields) {\n process.argv = [...process.argv.slice(0, 2), ...fieldsFlag.argv];\n installFieldMask(fieldsFlag.fields, commandPathOf(main, fieldsFlag.argv));\n}\n\n// `--full` on a command with no shorter view asks for what it already prints:\n// taken off here, and said back in the envelope's hints.\nconst fullFlag = takeFullFlag(main, process.argv.slice(2));\nif (fullFlag.taken) {\n process.argv = [...process.argv.slice(0, 2), ...fullFlag.argv];\n installFullNote(commandPathOf(main, fullFlag.argv));\n}\n\n// `--company <id>` names the company a read is about (the organization\n// workspace's Reports read every company of its organization). It travels as a\n// header on every request, so it is taken off here, before the guard.\nconst companyFlag = takeCompanyFlag(main, process.argv.slice(2));\nif (companyFlag.company) {\n process.argv = [...process.argv.slice(0, 2), ...companyFlag.argv];\n setTargetCompany(companyFlag.company);\n}\n\n// What this agent is offered: the organization workspace's agent only reads\n// (`agent-profile.ts`). Here, after `--company` is taken off, so the command it\n// judges is the one typed.\nconst profileRefusal = await applyAgentProfile(main, agentProfile(), process.argv.slice(2));\nif (profileRefusal) {\n writeJson({ ok: false, error: { code: \"FORBIDDEN\", message: profileRefusal } });\n process.exit(1);\n}\n\n// A report's Refresh appends `--no-cache` to every read; a command with no cache\n// already reads fresh, so it is dropped there rather than refused.\nprocess.argv = [...process.argv.slice(0, 2), ...cacheFlagForCommand(main, process.argv.slice(2))];\n\nrefuseUnknownFlags(main, process.argv.slice(2), typedArgv);\nrefuseStrayPositionals(main, process.argv.slice(2));\n\n// Last, so the guard above quotes back the spelling the caller typed: citty\n// resolves a bare `--no-cache` to `cache: false` instead of filling the declared\n// `no-cache` arg, and only the camelCase spelling survives its parser intact.\nprocess.argv = [...process.argv.slice(0, 2), ...cacheFlagForParser(process.argv.slice(2))];\n\n// `--help` and `--version` stay citty's own, the help rendered for an agent\n// reading it (`help-output.ts`), except help on a subcommand that does not\n// exist, which is refused like a call to it. Everything else runs here rather\n// than through `runMain`, whose refusal of a missing argument or an unknown\n// subcommand is usage text on stderr and nothing on stdout: that becomes the\n// envelope every other failure prints.\nconst rawArgs = process.argv.slice(2);\nif (\n rawArgs.some((arg) => arg === \"--help\" || arg === \"-h\") ||\n (rawArgs.length === 1 && /^(--version|-v)$/.test(rawArgs[0] ?? \"\"))\n) {\n const unknown = unknownSubCommandRefusal(main, rawArgs);\n if (unknown) {\n writeJson(unknown);\n process.exit(1);\n }\n runMain(main, { showUsage: printHelpTo(process.stdout) });\n} else {\n try {\n await runCommand(main, { rawArgs });\n } catch (error) {\n const refusal = parseRefusalEnvelope(error, main, rawArgs);\n if (refusal) {\n writeJson(refusal);\n } else {\n console.error(error, \"\\n\");\n }\n process.exit(1);\n }\n}\n","interface ErrorSource {\n on(event: \"error\", listener: (err: NodeJS.ErrnoException) => void): unknown;\n}\n\n/**\n * `baker … | head` closes the pipe once it has its lines. Node reports the next\n * write as an unhandled EPIPE and prints a stack trace, which reads as a crash of\n * a command that did its job. A closed reader wants nothing more, so exit cleanly,\n * as Unix tools do; any other write error still surfaces.\n */\nexport function exitQuietlyOnClosedPipe(stream: ErrorSource, exit: (code: number) => void): void {\n stream.on(\"error\", (err) => {\n if (err.code === \"EPIPE\") {\n exit(0);\n return;\n }\n throw err;\n });\n}\n","/**\n * `--company <id>` on every command: the company the call reads, for the\n * organization workspace, whose Reports read every company of its organization.\n *\n * It is a header, not an argument of each command (`x-baker-company`, sent by\n * `client.ts`), so every read the CLI has works across companies unchanged, and\n * the backend alone decides what it opens: reads of a company of the same\n * organization, for the organization workspace's credential, and nothing else.\n *\n * A command that declares `--company` itself keeps its own meaning — on\n * `avatars research` it is the person's employer. A positional named `company`\n * (`accounts company acme.com`) is not a flag, so the flag stays the header.\n */\n\nimport { declaredArg } from \"./output-flag.ts\";\nimport { commandFor, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--company\";\n\n/** The command reads `--company` itself; a positional of that name is no flag, so it is not. */\nfunction ownsCompanyFlag(command: IntrospectableCommand): boolean {\n const own = declaredArg(command, \"company\");\n return own !== null && own.type !== \"positional\";\n}\n\n/**\n * `argv` without `--company`, and the company it named, when the addressed\n * command does not declare the option itself. Otherwise `argv` is returned\n * untouched with `company: null`, for the command or the guard to judge.\n */\nexport function takeCompanyFlag(\n root: IntrospectableCommand,\n argv: string[],\n): { argv: string[]; company: string | null } {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n for (let index = 0; index < limit; index++) {\n const token = argv[index] ?? \"\";\n let company: string | undefined;\n let width = 1;\n if (token.startsWith(`${FLAG}=`)) {\n company = token.slice(FLAG.length + 1).trim();\n } else if (token === FLAG) {\n const value = argv[index + 1];\n if (value === undefined || index + 1 >= limit || value.startsWith(\"-\")) {\n return { argv, company: null };\n }\n company = value.trim();\n width = 2;\n } else {\n continue;\n }\n const command = commandFor(root, argv);\n if (!company || !command || ownsCompanyFlag(command)) {\n return { argv, company: null };\n }\n return { argv: [...argv.slice(0, index), ...argv.slice(index + width)], company };\n }\n return { argv, company: null };\n}\n","/**\n * `--full` on every command that prints the JSON envelope.\n *\n * The conventions doc tells the agent that reads are compact and `--full` gives\n * the complete record, and the families that have a compact view declare it\n * (`ads meta ads|adsets|campaigns`, `images`, `winning-ads`, …). Everywhere\n * else the unknown-option guard (`unknown-flags.ts`) refused it, although those\n * commands already print everything they return: `ads meta creatives` loops\n * (before its rows became compact), `actions get`, `posts list` and `tags list` each lost calls and a retry to a\n * flag that asked for what the command was about to print (BAKER-1412, -182).\n *\n * So a command that does not declare `--full` has it taken off the command line\n * here, and every envelope it prints says so in `hints` — a dropped flag the\n * caller cannot see would read as \"this is the full record\" on a list whose\n * rows are summaries. A command that declares `--full` keeps its own meaning;\n * one that prints no envelope is left to the guard, as with `--output json`.\n */\n\nimport { declaredArg, printsDataEnvelope } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, reprint, rewriteWrites, withHint } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--full\";\n\n/**\n * The command a call to `command` runs: a group with a `default` hands the call,\n * flags and all, to that subcommand (`creatives rules` runs `list`).\n */\nexport function commandThatRuns(command: IntrospectableCommand): IntrospectableCommand {\n const name = (command as { default?: unknown }).default;\n const subCommands = command.subCommands;\n const next =\n typeof name === \"string\" && subCommands && typeof subCommands === \"object\"\n ? (subCommands as Record<string, unknown>)[name]\n : undefined;\n return next && typeof next === \"object\" ? commandThatRuns(next as IntrospectableCommand) : command;\n}\n\n/**\n * `argv` without `--full`, and whether it was there, when the addressed command\n * prints the envelope and does not declare the option itself. Otherwise `argv`\n * is returned untouched, for the command or the guard to judge.\n */\nexport function takeFullFlag(root: IntrospectableCommand, argv: string[]): { argv: string[]; taken: boolean } {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n const taken = argv.flatMap((token, index) => (index < limit && token === FLAG ? [index] : []));\n if (taken.length === 0) {\n return { argv, taken: false };\n }\n const command = commandFor(root, argv);\n if (!command || declaredArg(commandThatRuns(command), \"full\") || !printsDataEnvelope(commandPathOf(root, argv))) {\n return { argv, taken: false };\n }\n return { argv: argv.filter((_, index) => !taken.includes(index)), taken: true };\n}\n\nfunction fullHint(commandPath: string): string {\n return (\n `--full changes nothing on \\`baker ${commandPath}\\`: it has no shorter view, so this is everything it returns. ` +\n \"Where its rows are summaries, read one record whole with the family's get or show command. Drop --full here.\"\n );\n}\n\n/**\n * The text a command printed, with a success envelope's `hints` saying `--full`\n * was taken and changed nothing; an error or a dry run comes back as printed,\n * and anything that is not an envelope (a readable view) is null.\n */\nexport function noteFullOnPrinted(text: string, commandPath: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n return reprint(text, withHint(envelope, fullHint(commandPath)));\n}\n\n/**\n * The note on the CLI's own stdout, and on stderr when the command printed no\n * envelope to carry it — a readable view such as `tags list` without `--json`.\n */\nexport function installFullNote(commandPath: string): void {\n const note = rewriteWrites(process.stdout, (text) => noteFullOnPrinted(text, commandPath));\n process.on(\"exit\", () => {\n if (!note.sawEnvelope()) {\n process.stderr.write(`${fullHint(commandPath)}\\n`);\n }\n });\n}\n","/**\n * What `--help` prints, for an agent that reads every byte of it.\n *\n * citty's renderer pads each table column to its widest cell, so one\n * paragraph-long description pads every other row of its table with thousands\n * of spaces (`baker analytics --help` printed 163 KB, 80% of it padding). And it\n * lists each subcommand with its whole description, so a family's help repeats\n * every command's own help. Here a COMMANDS row carries the first sentence (the\n * rest is one `--help` away), and no line ends in padding.\n */\n\nimport { type ArgsDef, type CommandDef, type CommandMeta, type Resolvable, renderUsage } from \"citty\";\n\nconst sentences = new Intl.Segmenter(\"en\", { granularity: \"sentence\" });\n/** ICU's sentence rules end a sentence at these; none of them ends one here. */\nconst abbreviation = /\\b(?:e\\.g|i\\.e|vs|etc)\\.$/i;\n\nfunction resolved<T>(value: Resolvable<T>): Promise<T> {\n return Promise.resolve(typeof value === \"function\" ? (value as () => T | Promise<T>)() : value);\n}\n\n/**\n * The description's first sentence. A line wrapped by hand continues on the\n * next one; a blank line, an indented example or a list item ends the prose.\n */\nfunction firstSentence(description: string): string {\n const [first = \"\", ...rest] = description.trim().split(\"\\n\");\n let prose = first.trim();\n for (const line of rest) {\n if (/[.:!?]$/.test(prose) || line.trim() === \"\" || /^(\\s|[-*•])/.test(line)) break;\n prose += ` ${line.trim()}`;\n }\n let sentence = \"\";\n for (const { segment } of sentences.segment(prose)) {\n sentence += segment;\n if (!abbreviation.test(sentence.trim())) break;\n }\n return (sentence || prose).trim();\n}\n\nasync function summarized(cmd: CommandDef<ArgsDef>): Promise<CommandDef<ArgsDef>> {\n if (!cmd.subCommands) return cmd;\n const subCommands = await resolved(cmd.subCommands);\n const listed: Record<string, CommandDef<ArgsDef>> = {};\n for (const [name, sub] of Object.entries(subCommands)) {\n const command: CommandDef<ArgsDef> = await resolved(sub);\n const meta: CommandMeta = (command.meta ? await resolved(command.meta) : undefined) ?? {};\n listed[name] = { meta: meta.description ? { ...meta, description: firstSentence(meta.description) } : meta };\n }\n return { ...cmd, subCommands: listed };\n}\n\nexport async function renderHelp<T extends ArgsDef>(cmd: CommandDef<T>, parent?: CommandDef<T>): Promise<string> {\n const usage = await renderUsage(await summarized(cmd as CommandDef<ArgsDef>), parent as CommandDef<ArgsDef>);\n return usage\n .split(\"\\n\")\n .map((line) => line.trimEnd())\n .join(\"\\n\");\n}\n\ntype HelpSink = { write(chunk: string, done: () => void): unknown };\n\n/**\n * citty's `runMain` exits as soon as the help is printed. Piped, stdout writes\n * asynchronously, so an exit then cut the help at whatever had been flushed\n * (`baker --help | wc -c` read 65,536). This resolves once the write is done.\n */\nexport function printHelpTo(stdout: HelpSink) {\n return async <T extends ArgsDef>(cmd: CommandDef<T>, parent?: CommandDef<T>): Promise<void> => {\n const help = await renderHelp(cmd, parent);\n await new Promise<void>((done) => stdout.write(`${help}\\n`, done));\n };\n}\n","/**\n * `--output md` on every command that prints the JSON envelope.\n *\n * The docs teach `--output md` as the way to read numbers, and the agent\n * carries the habit to sibling commands. Only the commands that built their own\n * Markdown view declared it, so `actions get`, `analytics map`, `analytics\n * sends` and the image provider searches refused it, and the agent paid a call\n * and then grepped the JSON instead (BAKER-2534, BAKER-1963).\n *\n * So a command that does not declare `--output` gets a generic rendering of what\n * it prints: a table for a list of records, `key: value` lines for one record,\n * and `meta`, warnings and `hints` kept below it. A command with its own\n * Markdown view keeps it, one whose own `--output` prints only other formats is\n * asked for `json` and rendered, one whose default is already a readable view\n * prints that view untouched, and one that prints no envelope is left to the\n * guard, as with `--fields`.\n */\n\nimport { commandThatRuns } from \"./full-flag.ts\";\nimport { outputRequests, ownOutput, printsDataEnvelope, withOutput } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, rewriteWrites } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FORMAT = \"md\";\n\n/**\n * `argv` without `--output md` when the addressed command prints the envelope\n * and has no Markdown view of its own: none declared, or a declared `--output`\n * that names only other formats (`linkedin demographics` prints `json` alone),\n * which is asked for `json` instead. `render` says the printed envelope is to be\n * rendered; a readable view printed instead passes through as it was. Otherwise\n * `argv` comes back untouched, for the command or the guard to judge.\n */\nexport function takeMdOutput(root: IntrospectableCommand, argv: string[]): { argv: string[]; render: boolean } {\n const requests = outputRequests(argv);\n const asked = requests.at(-1)?.value === FORMAT;\n const command = asked ? commandFor(root, argv) : null;\n if (!command) {\n return { argv, render: false };\n }\n const path = commandPathOf(root, argv);\n const own = ownOutput(commandThatRuns(command), path);\n const ownView =\n own.kind === \"not-a-format\" || (own.kind === \"formats\" && (own.formats.has(FORMAT) || !own.formats.has(\"json\")));\n if (ownView || !printsDataEnvelope(path)) {\n return { argv, render: false };\n }\n const taken = new Set(requests.filter((request) => request.value === FORMAT).flatMap((request) => request.indices));\n const rest = argv.filter((_, index) => !taken.has(index));\n return { argv: own.kind === \"formats\" ? withOutput(rest, \"json\") : rest, render: true };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nfunction isRecordList(value: unknown): value is Record<string, unknown>[] {\n return Array.isArray(value) && value.length > 0 && value.every(isRecord);\n}\n\n/** One table cell: nested values as JSON, on one line, with no `|` to break the row. */\nfunction cell(value: unknown): string {\n if (value === null || value === undefined) return \"\";\n const text = typeof value === \"object\" ? JSON.stringify(value) : String(value);\n return text.replace(/\\|/g, \"\\\\|\").replace(/\\r?\\n/g, \" \");\n}\n\nfunction table(rows: Record<string, unknown>[]): string {\n const columns = [...new Set(rows.flatMap((row) => Object.keys(row)))];\n const line = (cells: string[]) => `| ${cells.join(\" | \")} |`;\n return `${[line(columns), line(columns.map(() => \"---\")), ...rows.map((row) => line(columns.map((c) => cell(row[c]))))].join(\"\\n\")}\\n`;\n}\n\n/** A value on one `key: value` line: a list joined, a nested record as its own `key: value` pairs. */\nfunction inline(value: unknown): string {\n if (value === null || value === undefined) return \"\";\n if (Array.isArray(value)) {\n return value.length === 0 ? \"(none)\" : value.map(cell).join(\", \");\n }\n if (isRecord(value)) {\n return Object.entries(value)\n .map(([key, nested]) => `${key}: ${cell(nested)}`)\n .join(\", \");\n }\n return String(value);\n}\n\n/**\n * A record's values as lines, then each list of records it holds as a table\n * under its own heading — and, at the top, each record it holds as well.\n */\nfunction recordMd(record: Record<string, unknown>, nested = false): string {\n const lines: string[] = [];\n const sections: string[] = [];\n const heading = nested ? \"####\" : \"###\";\n for (const [key, value] of Object.entries(record)) {\n if (isRecordList(value)) {\n sections.push(`${heading} ${key}\\n\\n${table(value)}`);\n } else if (!nested && isRecord(value) && Object.keys(value).length > 0) {\n sections.push(`${heading} ${key}\\n\\n${recordMd(value, true)}`);\n } else {\n lines.push(`- **${key}:** ${inline(value)}`);\n }\n }\n return [...(lines.length > 0 ? [`${lines.join(\"\\n\")}\\n`] : []), ...sections].join(\"\\n\");\n}\n\nfunction dataMd(data: unknown): string {\n if (isRecordList(data)) return table(data);\n if (Array.isArray(data))\n return data.length === 0 ? \"(no rows)\\n\" : `${data.map((item) => `- ${cell(item)}`).join(\"\\n\")}\\n`;\n if (isRecord(data)) return Object.keys(data).length === 0 ? \"(empty)\\n\" : recordMd(data);\n return `${inline(data)}\\n`;\n}\n\n/**\n * A success envelope as Markdown: `data` rendered, then every other key\n * (`meta`, warnings, a notice) and the hints, which say whether the rows can be\n * trusted. A result printed beside `ok` rather than under `data` is the record.\n */\nexport function renderEnvelopeMd(envelope: Record<string, unknown>): string {\n const { ok: _ok, data, hints, ...rest } = envelope;\n const hasData = \"data\" in envelope;\n const parts = [hasData ? dataMd(data) : recordMd(rest)];\n const around = hasData ? Object.entries(rest) : [];\n if (around.length > 0) {\n parts.push(`${around.map(([key, value]) => `- **${key}:** ${inline(value)}`).join(\"\\n\")}\\n`);\n }\n if (Array.isArray(hints) && hints.length > 0) {\n parts.push(`${hints.map((hint) => `> ${String(hint).replace(/\\r?\\n/g, \"\\n> \")}`).join(\"\\n\")}\\n`);\n }\n return parts.join(\"\\n\");\n}\n\n/**\n * The text a command printed, rendered as Markdown when it is a success\n * envelope; an error or a dry run comes back as printed, and anything that is\n * not an envelope is null.\n */\nexport function renderPrintedMd(text: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n return renderEnvelopeMd(envelope);\n}\n\n/** The rendering on the CLI's own stdout. */\nexport function installMdRendering(): void {\n rewriteWrites(process.stdout, renderPrintedMd);\n}\n","/**\n * `--out <file>` on every command that prints the JSON envelope.\n *\n * The conventions doc teaches `--out <file>` as the way to take a big read whole\n * (\"one spelling on every family\"), but only the commands that wrote their own\n * export declared it. `analytics releases`, `ads meta insights`, `ads google\n * changes`, `history list` and the research reads refused it, and the agent\n * redirected stdout and grepped pretty JSON instead (BAKER-2415, -936, -497).\n *\n * So a command that does not declare `--out` gets it here: its envelope goes to\n * the file whole, and stdout carries a summary — the file, its size, the row\n * count, and the `meta`, warnings and `hints` that say whether the read can be\n * trusted. A command whose own `--output` prints csv, jsonl or files writes that\n * text to the file instead. A command that declares `--out` keeps its own\n * export, and one that prints no envelope is left to the guard, as with\n * `--fields`.\n */\n\nimport { appendFileSync, mkdirSync, writeFileSync } from \"node:fs\";\nimport { dirname, resolve } from \"node:path\";\nimport { commandThatRuns } from \"./full-flag.ts\";\nimport { declaredArg, outputRequests, ownOutput, printsDataEnvelope, withOutput } from \"./output-flag.ts\";\nimport { parsePrintedEnvelope, reprint, rewriteWrites, type WriteTarget } from \"./printed-envelope.ts\";\nimport { commandFor, commandPathOf, type IntrospectableCommand } from \"./unknown-flags.ts\";\n\nconst FLAG = \"--out\";\n\n/** What stays in the summary of an envelope whose result sits beside `ok` rather than under `data`. */\nconst TRUST_KEYS = [\"meta\", \"warnings\", \"notice\", \"hints\"];\n\n/**\n * Where `--out <file>` sits in `argv` before `--`, and the file it names; null\n * when it is absent, or bare and naming no file — the guard says so.\n */\nfunction outRequest(argv: string[]): { taken: Set<number>; file: string } | null {\n const end = argv.indexOf(\"--\");\n const limit = end === -1 ? argv.length : end;\n const taken = new Set<number>();\n let file: string | null = null;\n for (let index = 0; index < limit; index++) {\n const token = argv[index] ?? \"\";\n if (token.startsWith(`${FLAG}=`) && token.length > FLAG.length + 1) {\n taken.add(index);\n file = token.slice(FLAG.length + 1);\n } else if (token === FLAG) {\n const value = argv[index + 1];\n if (value === undefined || index + 1 >= limit || value.startsWith(\"-\")) {\n return null;\n }\n taken.add(index).add(index + 1);\n file = value;\n index++;\n }\n }\n return file === null ? null : { taken, file };\n}\n\n/**\n * What `--out` asks of the command it addresses: `argv` to run it with, the\n * file (null when `argv` comes back untouched, for the command or the guard),\n * whether the file takes the envelope or the text the command prints in a\n * format of its own (csv, jsonl, files), and whether the summary is to be\n * rendered as Markdown because the call asked for `--output md`.\n */\nexport type OutTarget = {\n argv: string[];\n file: string | null;\n writes: \"envelope\" | \"printed\";\n summaryMd: boolean;\n};\n\n/**\n * `argv` without `--out <file>`, and the file, when the addressed command prints\n * the envelope and does not declare the option. A command whose default is a\n * readable view — its own `--json` switch, or an own `--output` defaulting to\n * `md` — is asked for its envelope, and so is an explicit `--output md`, whose\n * summary is then rendered. Another format the command prints itself is written\n * to the file as printed.\n */\nexport function takeOutFlag(root: IntrospectableCommand, argv: string[]): OutTarget {\n const untouched: OutTarget = { argv, file: null, writes: \"envelope\", summaryMd: false };\n const request = outRequest(argv);\n const command = request === null ? null : commandFor(root, argv);\n if (request === null || !command) {\n return untouched;\n }\n const path = commandPathOf(root, argv);\n const runs = commandThatRuns(command);\n if (declaredArg(runs, \"out\") !== null || !printsDataEnvelope(path)) {\n return untouched;\n }\n const rest = argv.filter((_, index) => !request.taken.has(index));\n const own = ownOutput(runs, path);\n if (own.kind === \"formats\") {\n const formats = outputRequests(rest);\n const asked = formats.at(-1)?.value ?? own.default;\n if (asked === \"json\") {\n return { argv: rest, file: request.file, writes: \"envelope\", summaryMd: false };\n }\n if (asked === \"md\" && own.formats.has(\"json\")) {\n const dropped = new Set(formats.flatMap((format) => format.indices));\n return {\n argv: withOutput(\n rest.filter((_, index) => !dropped.has(index)),\n \"json\",\n ),\n file: request.file,\n writes: \"envelope\",\n summaryMd: formats.length > 0,\n };\n }\n return { argv: rest, file: request.file, writes: \"printed\", summaryMd: false };\n }\n const needsJson = declaredArg(runs, \"json\")?.type === \"boolean\" && !rest.includes(\"--json\");\n return { argv: needsJson ? [...rest, \"--json\"] : rest, file: request.file, writes: \"envelope\", summaryMd: false };\n}\n\n/**\n * The text a command printed, with a success envelope written whole to `file`\n * and replaced by its summary. An error or a dry run comes back as printed and\n * writes nothing; anything that is not an envelope is null.\n */\nexport function writePrintedToFile(text: string, file: string): string | null {\n const envelope = parsePrintedEnvelope(text);\n if (envelope === null) {\n return null;\n }\n if (envelope.ok !== true || \"dryRun\" in envelope) {\n return text;\n }\n const path = resolve(file);\n const body = `${JSON.stringify(envelope, null, 2)}\\n`;\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, body);\n const { ok: _ok, data, ...rest } = envelope;\n const around =\n \"data\" in envelope ? rest : Object.fromEntries(TRUST_KEYS.filter((k) => k in rest).map((k) => [k, rest[k]]));\n return reprint(text, {\n ok: true,\n file: path,\n bytes: Buffer.byteLength(body),\n ...(Array.isArray(data) ? { rows: data.length } : {}),\n ...around,\n });\n}\n\n/**\n * The text a command prints in a format of its own (csv, jsonl, files), written\n * to `file` as it comes instead of to `stream`. An error envelope still reaches\n * `stream`. `finish()` is the summary to print once the command is done, or\n * null when it printed nothing to write.\n */\nexport function capturePrintedText(stream: WriteTarget, file: string, format: string): { finish: () => string | null } {\n const path = resolve(file);\n const write = stream.write.bind(stream);\n let bytes: number | null = null;\n stream.write = (chunk: string | Uint8Array, ...rest: never[]): boolean => {\n const text = typeof chunk === \"string\" ? chunk : Buffer.from(chunk).toString(\"utf8\");\n if (parsePrintedEnvelope(text)?.ok === false) {\n return write(chunk, ...rest);\n }\n if (bytes === null) {\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, text);\n bytes = 0;\n } else {\n appendFileSync(path, text);\n }\n bytes += Buffer.byteLength(text);\n const done = (rest as unknown[]).find((arg) => typeof arg === \"function\");\n if (typeof done === \"function\") {\n process.nextTick(() => done());\n }\n return true;\n };\n return {\n finish: () => (bytes === null ? null : `${JSON.stringify({ ok: true, file: path, bytes, format })}\\n`),\n };\n}\n\n/**\n * The file on the CLI's own stdout, and a note on stderr when the command\n * printed nothing to write, so the agent does not go looking for a file.\n */\nexport function installOutFile(file: string, commandPath: string, target: Pick<OutTarget, \"writes\" | \"argv\">): void {\n if (target.writes === \"printed\") {\n const print = process.stdout.write.bind(process.stdout);\n const format = outputRequests(target.argv).at(-1)?.value ?? \"its default format\";\n const captured = capturePrintedText(process.stdout, file, format);\n process.on(\"exit\", () => {\n const summary = captured.finish();\n if (summary === null) {\n process.stderr.write(`--out wrote no file: \\`baker ${commandPath}\\` printed nothing to write.\\n`);\n } else {\n print(summary);\n }\n });\n return;\n }\n const out = rewriteWrites(process.stdout, (text) => writePrintedToFile(text, file));\n process.on(\"exit\", () => {\n if (!out.sawEnvelope()) {\n process.stderr.write(`--out wrote no file: \\`baker ${commandPath}\\` printed no JSON envelope to write.\\n`);\n }\n });\n}\n","import { defineCommand } from \"citty\";\nimport { getCliVersion } from \"./version.ts\";\n\n// Every command is declared lazily and only the one being run is loaded\n// (`command-loading.ts`): loading all of them made each `baker` process hold\n// ~135 MB of heap while it waited on one request.\nexport const rootCommand = defineCommand({\n meta: {\n name: \"baker\",\n version: getCliVersion(),\n description: `AI-agent CLI for finding and managing images, videos, social posts, avatars, testimonials, action items, scheduled agents, marketing tags, Tag Manager containers, account history, credentials, and ad platform data in Baker.\n\nAuth: Set BAKER_API_KEY (starts with bk_) and BAKER_API_URL environment variables.\nChat: BAKER_CHAT_ID names the chat that every staging command (ads on every platform, tags, Tag Manager, GA4, actions, scheduled agents, site, funnel, Shopify, …) stages against; reads of another chat take --chat <id>.\nOutput: All commands return JSON envelopes: { ok: true, data: ... } or { ok: false, error: { code, message } }.\nFields: --fields a,b,c keeps only those keys of each record in data, on every command that prints the envelope.\nFull: --full returns the complete record where a command has a compact view; elsewhere it is accepted and changes nothing (a hint says so), except on 'canvas run' and 'canvas rerun', which refuse it.\nCompany: --company <id> runs a read against another company of the organization (organization workspace only; ids from 'baker organization companies').\nFormats: --output json and --output md work on every command that prints the envelope (md: a table for a list, key: value lines for a record). --output files only where 'baker schema <command>' lists output. (The research commands additionally accept csv and jsonl.)\nFile: --out <file> writes the whole envelope to a file and prints a summary (file, bytes, rows, meta, hints), on every command that prints the envelope (with --output csv|jsonl|files, the text that format prints); a command with its own --out (ads google query, ga4 query, ...) writes its rows instead.\nIntrospection: Run 'baker schema <command>' to inspect argument schemas.`,\n },\n subCommands: {\n capabilities: () => import(\"./commands/capabilities/index.ts\").then((m) => m.capabilitiesCommand),\n actions: () => import(\"./commands/actions/index.ts\").then((m) => m.actionsCommand),\n \"scheduled-agents\": () => import(\"./commands/scheduled-agents/index.ts\").then((m) => m.scheduledAgentsCommand),\n ads: () => import(\"./commands/ads/index.ts\").then((m) => m.adsCommand),\n brand: () => import(\"./commands/brand/index.ts\").then((m) => m.brandCommand),\n analytics: () => import(\"./commands/analytics/index.ts\").then((m) => m.analyticsCommand),\n experiment: () => import(\"./commands/experiment/index.ts\").then((m) => m.experimentCommand),\n ga4: () => import(\"./commands/ga4/index.ts\").then((m) => m.ga4Command),\n gsc: () => import(\"./commands/gsc/index.ts\").then((m) => m.gscCommand),\n research: () => import(\"./commands/research/index.ts\").then((m) => m.researchCommand),\n decide: () => import(\"./commands/decide/index.ts\").then((m) => m.decideCommand),\n knowledge: () => import(\"./commands/knowledge/index.ts\").then((m) => m.knowledgeCommand),\n creatives: () => import(\"./commands/creatives/index.ts\").then((m) => m.creativesCommand),\n flows: () => import(\"./commands/flows/index.ts\").then((m) => m.flowsCommand),\n funnel: () => import(\"./commands/funnel/index.ts\").then((m) => m.funnelCommand),\n images: () => import(\"./commands/images/index.ts\").then((m) => m.imagesCommand),\n studio: () => import(\"./commands/studio/index.ts\").then((m) => m.studioCommand),\n avatars: () => import(\"./commands/avatars/index.ts\").then((m) => m.avatarsCommand),\n landing: () => import(\"./commands/landing/index.ts\").then((m) => m.landingCommand),\n videos: () => import(\"./commands/videos/index.ts\").then((m) => m.videosCommand),\n testimonials: () => import(\"./commands/testimonials/index.ts\").then((m) => m.testimonialsCommand),\n canvas: () => import(\"./commands/canvas/index.ts\").then((m) => m.canvasCommand),\n tags: () => import(\"./commands/tags/index.ts\").then((m) => m.tagsCommand),\n \"tag-manager\": () => import(\"./commands/tag-manager/index.ts\").then((m) => m.tagManagerCommand),\n chats: () => import(\"./commands/chats/index.ts\").then((m) => m.chatsCommand),\n history: () => import(\"./commands/history/index.ts\").then((m) => m.historyCommand),\n credentials: () => import(\"./commands/credentials/index.ts\").then((m) => m.credentialsCommand),\n hubspot: () => import(\"./commands/hubspot/index.ts\").then((m) => m.hubspotCommand),\n activecampaign: () => import(\"./commands/activecampaign/index.ts\").then((m) => m.activecampaignCommand),\n accounts: () => import(\"./commands/accounts/index.ts\").then((m) => m.accountsCommand),\n shopify: () => import(\"./commands/shopify/index.ts\").then((m) => m.shopifyCommand),\n \"winning-ads\": () => import(\"./commands/winning-ads/index.ts\").then((m) => m.winningAdsCommand),\n \"media-sources\": () => import(\"./commands/media-sources/index.ts\").then((m) => m.mediaSourcesCommand),\n posts: () => import(\"./commands/posts/index.ts\").then((m) => m.postsCommand),\n site: () => import(\"./commands/site/index.ts\").then((m) => m.siteCommand),\n \"lead-routes\": () => import(\"./commands/lead-routes/index.ts\").then((m) => m.leadRoutesCommand),\n mcp: () => import(\"./commands/mcp/index.ts\").then((m) => m.mcpCommand),\n \"setup-links\": () => import(\"./commands/setup-links/index.ts\").then((m) => m.setupLinksCommand),\n feedback: () => import(\"./commands/feedback/index.ts\").then((m) => m.feedbackCommand),\n organization: () => import(\"./commands/organization/index.ts\").then((m) => m.organizationCommand),\n schema: () => import(\"./commands/schema.ts\").then((m) => m.schemaCommand),\n },\n});\n","import { readFileSync } from \"node:fs\";\n\nfunction packageJsonUrl(): URL {\n return new URL(\"../package.json\", import.meta.url);\n}\n\nfunction parsePackageVersion(raw: string): string {\n const parsed: unknown = JSON.parse(raw);\n if (\n typeof parsed === \"object\" &&\n parsed !== null &&\n \"version\" in parsed &&\n typeof parsed.version === \"string\" &&\n parsed.version.length > 0\n ) {\n return parsed.version;\n }\n throw new Error(\"Invalid CLI package.json: missing version\");\n}\n\nexport function getCliVersion(): string {\n return parsePackageVersion(readFileSync(packageJsonUrl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Q,MAAM,OAAO,IAAI;AAAA,IAC3B;AACA,YAAQ,KAAK,CAAC;AAAA,EAChB;AACF;","names":["FLAG","FLAG"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
csvOrJson,
|
|
3
3
|
handleLinkedinError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UEXZ4K2W.js";
|
|
5
5
|
import {
|
|
6
6
|
TABLE_OUTPUT_FORMATS,
|
|
7
7
|
outputFormatRefusal,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-FPTEBOB5.js";
|
|
15
15
|
import {
|
|
16
16
|
linkedinCompaniesRequestSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6OCQ4DM6.js";
|
|
18
18
|
import "./chunk-QV6AST5T.js";
|
|
19
19
|
import "./chunk-WCU362Z6.js";
|
|
20
20
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -195,4 +195,4 @@ export {
|
|
|
195
195
|
companiesCommand,
|
|
196
196
|
companiesHints
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=companies-
|
|
198
|
+
//# sourceMappingURL=companies-VPXVMFCJ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
companyHints,
|
|
3
3
|
companySearchHints,
|
|
4
4
|
unknownIndustriesFix
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K3TMFSIC.js";
|
|
6
6
|
import {
|
|
7
7
|
handleResearchError,
|
|
8
8
|
writeResearchJson
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
RESEARCH_COMPANY_SEARCH_MAX_LIMIT,
|
|
13
13
|
RESEARCH_COMPANY_SIZES,
|
|
14
14
|
researchCompanySearchRequestSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6OCQ4DM6.js";
|
|
16
16
|
import "./chunk-QV6AST5T.js";
|
|
17
17
|
import "./chunk-WCU362Z6.js";
|
|
18
18
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -305,4 +305,4 @@ Examples:
|
|
|
305
305
|
export {
|
|
306
306
|
companyCommand
|
|
307
307
|
};
|
|
308
|
-
//# sourceMappingURL=company-
|
|
308
|
+
//# sourceMappingURL=company-57H5PC4R.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
failValidation,
|
|
4
4
|
isTempId,
|
|
5
5
|
writeOk
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UP3JAAJR.js";
|
|
7
7
|
import {
|
|
8
8
|
ACTION_COMPLETE_NOTE_MIN
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6OCQ4DM6.js";
|
|
10
10
|
import "./chunk-QV6AST5T.js";
|
|
11
11
|
import "./chunk-WCU362Z6.js";
|
|
12
12
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -81,4 +81,4 @@ var completeCommand = defineCommand({
|
|
|
81
81
|
export {
|
|
82
82
|
completeCommand
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=complete-
|
|
84
|
+
//# sourceMappingURL=complete-XHDFR3XQ.js.map
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
unpickedSteps,
|
|
12
12
|
unwiredHubspotForms,
|
|
13
13
|
unwiredSideEffects
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XJMEEW42.js";
|
|
15
|
+
import "./chunk-P4OUKHNI.js";
|
|
16
|
+
import "./chunk-P4WDMDW7.js";
|
|
17
|
+
import "./chunk-UP3JAAJR.js";
|
|
18
|
+
import "./chunk-6OCQ4DM6.js";
|
|
19
19
|
import "./chunk-QV6AST5T.js";
|
|
20
20
|
import "./chunk-WCU362Z6.js";
|
|
21
21
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
unwiredHubspotForms,
|
|
43
43
|
unwiredSideEffects
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=connect-
|
|
45
|
+
//# sourceMappingURL=connect-7L7C3KWI.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
daysAgoIso,
|
|
4
4
|
handleLinkedinError,
|
|
5
5
|
todayIso
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UEXZ4K2W.js";
|
|
7
7
|
import {
|
|
8
8
|
writeAdsJson,
|
|
9
9
|
writeAdsOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
NO_CACHE_ARG
|
|
13
13
|
} from "./chunk-FPTEBOB5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-6OCQ4DM6.js";
|
|
15
15
|
import "./chunk-QV6AST5T.js";
|
|
16
16
|
import "./chunk-WCU362Z6.js";
|
|
17
17
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -93,4 +93,4 @@ Examples:
|
|
|
93
93
|
export {
|
|
94
94
|
conversationCommand
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=conversation-
|
|
96
|
+
//# sourceMappingURL=conversation-AMU2ZGG7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
csvOrJson,
|
|
3
3
|
handleLinkedinError,
|
|
4
4
|
resolveAccountIdArg
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UEXZ4K2W.js";
|
|
6
6
|
import {
|
|
7
7
|
writeAdsJson,
|
|
8
8
|
writeAdsOutput
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
NO_CACHE_ARG
|
|
12
12
|
} from "./chunk-FPTEBOB5.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-6OCQ4DM6.js";
|
|
14
14
|
import "./chunk-QV6AST5T.js";
|
|
15
15
|
import "./chunk-WCU362Z6.js";
|
|
16
16
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -127,14 +127,14 @@ Subcommands:
|
|
|
127
127
|
subCommands: {
|
|
128
128
|
list: listCmd,
|
|
129
129
|
health: healthCmd,
|
|
130
|
-
create: () => import("./write-commands-
|
|
131
|
-
update: () => import("./write-commands-
|
|
132
|
-
"associate-campaign": () => import("./write-commands-
|
|
133
|
-
"dissociate-campaign": () => import("./write-commands-
|
|
134
|
-
upload: () => import("./write-commands-
|
|
130
|
+
create: () => import("./write-commands-7MRTOS4R.js").then((m) => m.conversionsCreateCommand),
|
|
131
|
+
update: () => import("./write-commands-7MRTOS4R.js").then((m) => m.conversionsUpdateCommand),
|
|
132
|
+
"associate-campaign": () => import("./write-commands-7MRTOS4R.js").then((m) => m.conversionsAssociateCommand),
|
|
133
|
+
"dissociate-campaign": () => import("./write-commands-7MRTOS4R.js").then((m) => m.conversionsDissociateCommand),
|
|
134
|
+
upload: () => import("./write-commands-7MRTOS4R.js").then((m) => m.conversionsUploadCommand)
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
export {
|
|
138
138
|
conversionsCommand
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=conversions-
|
|
140
|
+
//# sourceMappingURL=conversions-UINZIHCU.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-C4EE6LIF.js";
|
|
14
14
|
import {
|
|
15
15
|
AVATAR_HANDLE_PATTERN
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6OCQ4DM6.js";
|
|
17
17
|
import "./chunk-QV6AST5T.js";
|
|
18
18
|
import "./chunk-WCU362Z6.js";
|
|
19
19
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -207,4 +207,4 @@ var createCommand = defineCommand({
|
|
|
207
207
|
export {
|
|
208
208
|
createCommand
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=create-
|
|
210
|
+
//# sourceMappingURL=create-4I6UT7YG.js.map
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
generateTempId,
|
|
17
17
|
parsePriority,
|
|
18
18
|
parseTagList
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UP3JAAJR.js";
|
|
20
20
|
import {
|
|
21
21
|
actionTempIdSchema
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6OCQ4DM6.js";
|
|
23
23
|
import "./chunk-QV6AST5T.js";
|
|
24
24
|
import "./chunk-WCU362Z6.js";
|
|
25
25
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -236,4 +236,4 @@ var createCommand = defineCommand({
|
|
|
236
236
|
export {
|
|
237
237
|
createCommand
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=create-
|
|
239
|
+
//# sourceMappingURL=create-CP2NQVUV.js.map
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
failApi,
|
|
3
3
|
failValidation,
|
|
4
4
|
writeOk
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-UP3JAAJR.js";
|
|
6
|
+
import "./chunk-6OCQ4DM6.js";
|
|
7
7
|
import "./chunk-QV6AST5T.js";
|
|
8
8
|
import "./chunk-WCU362Z6.js";
|
|
9
9
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -59,4 +59,4 @@ var tagsCreateCommand = defineCommand({
|
|
|
59
59
|
export {
|
|
60
60
|
tagsCreateCommand
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=create-
|
|
62
|
+
//# sourceMappingURL=create-H43WKZCS.js.map
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
reactionBody,
|
|
14
14
|
refuseAutoPublish,
|
|
15
15
|
slackBody
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-7LWCMBG3.js";
|
|
17
|
+
import "./chunk-RQOSSYVH.js";
|
|
18
|
+
import "./chunk-6OCQ4DM6.js";
|
|
19
19
|
import "./chunk-QV6AST5T.js";
|
|
20
20
|
import "./chunk-WCU362Z6.js";
|
|
21
21
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -132,4 +132,4 @@ var createCommand = defineCommand({
|
|
|
132
132
|
export {
|
|
133
133
|
createCommand
|
|
134
134
|
};
|
|
135
|
-
//# sourceMappingURL=create-
|
|
135
|
+
//# sourceMappingURL=create-T6DSBBVW.js.map
|
|
@@ -39,20 +39,20 @@ How published creatives are doing in live Meta ads (results, fatigue, angle; hoo
|
|
|
39
39
|
Full guide: __tooling__/docs/tools/baker/creatives.md`
|
|
40
40
|
},
|
|
41
41
|
subCommands: {
|
|
42
|
-
brief: () => import("./brief-
|
|
43
|
-
ideas: () => import("./ideas-
|
|
44
|
-
make: () => import("./make-
|
|
45
|
-
translate: () => import("./translate-
|
|
46
|
-
learn: () => import("./learn-
|
|
47
|
-
feedback: () => import("./feedback-
|
|
48
|
-
rules: () => import("./rules-
|
|
49
|
-
check: () => import("./check-
|
|
50
|
-
select: () => import("./select-
|
|
51
|
-
publish: () => import("./publish-
|
|
52
|
-
performance: () => import("./performance-
|
|
42
|
+
brief: () => import("./brief-VFFTR7T2.js").then((m) => m.briefCommand),
|
|
43
|
+
ideas: () => import("./ideas-MSVZV55F.js").then((m) => m.ideasCommand),
|
|
44
|
+
make: () => import("./make-4U3M6LGI.js").then((m) => m.makeCommand),
|
|
45
|
+
translate: () => import("./translate-MZAT5452.js").then((m) => m.translateCommand),
|
|
46
|
+
learn: () => import("./learn-G5VO4RMG.js").then((m) => m.learnCommand),
|
|
47
|
+
feedback: () => import("./feedback-55PYT5DE.js").then((m) => m.feedbackCommand),
|
|
48
|
+
rules: () => import("./rules-S2YRSBBD.js").then((m) => m.rulesCommand),
|
|
49
|
+
check: () => import("./check-UUNYXVCY.js").then((m) => m.checkCommand),
|
|
50
|
+
select: () => import("./select-MRAUWV4A.js").then((m) => m.selectCommand),
|
|
51
|
+
publish: () => import("./publish-N6UOAL63.js").then((m) => m.publishCommand),
|
|
52
|
+
performance: () => import("./performance-T7RZGKBJ.js").then((m) => m.performanceCommand)
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
export {
|
|
56
56
|
creativesCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=creatives-
|
|
58
|
+
//# sourceMappingURL=creatives-QIUCWKZ3.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
resolveAccountIdArg,
|
|
5
5
|
resolveStatusFilter,
|
|
6
6
|
statusesArgDescription
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UEXZ4K2W.js";
|
|
8
8
|
import {
|
|
9
9
|
writeAdsOutput,
|
|
10
10
|
writeJsonEnvelope
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
shapeListRows
|
|
17
17
|
} from "./chunk-65Y3RCWP.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6OCQ4DM6.js";
|
|
19
19
|
import "./chunk-QV6AST5T.js";
|
|
20
20
|
import "./chunk-WCU362Z6.js";
|
|
21
21
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -201,12 +201,12 @@ Examples:
|
|
|
201
201
|
subCommands: {
|
|
202
202
|
list: creativesListCommand,
|
|
203
203
|
get: creativesGetCommand,
|
|
204
|
-
create: () => import("./write-commands-
|
|
205
|
-
update: () => import("./write-commands-
|
|
206
|
-
pause: () => import("./write-commands-
|
|
207
|
-
resume: () => import("./write-commands-
|
|
208
|
-
duplicate: () => import("./write-commands-
|
|
209
|
-
delete: () => import("./write-commands-
|
|
204
|
+
create: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesCreateCommand),
|
|
205
|
+
update: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesUpdateCommand),
|
|
206
|
+
pause: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesPauseCommand),
|
|
207
|
+
resume: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesResumeCommand),
|
|
208
|
+
duplicate: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesDuplicateCommand),
|
|
209
|
+
delete: () => import("./write-commands-7MRTOS4R.js").then((m) => m.creativesDeleteCommand)
|
|
210
210
|
},
|
|
211
211
|
// A parent must never declare `run`: citty falls through to it *after* running
|
|
212
212
|
// the matched subcommand, so every write would also trigger a full live list.
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
creativesCommand,
|
|
221
221
|
unmappedShapeWarnings
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=creatives-
|
|
223
|
+
//# sourceMappingURL=creatives-YVXBEXDN.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
failApi,
|
|
6
6
|
failValidation
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-UP3JAAJR.js";
|
|
8
|
+
import "./chunk-6OCQ4DM6.js";
|
|
9
9
|
import "./chunk-QV6AST5T.js";
|
|
10
10
|
import "./chunk-WCU362Z6.js";
|
|
11
11
|
import "./chunk-GIWHHCD6.js";
|
|
@@ -287,4 +287,4 @@ Full guide: ${DOC}`
|
|
|
287
287
|
export {
|
|
288
288
|
credentialsCommand
|
|
289
289
|
};
|
|
290
|
-
//# sourceMappingURL=credentials-
|
|
290
|
+
//# sourceMappingURL=credentials-XM7WYEQY.js.map
|