@koda-sl/baker-cli 0.881.0 → 0.884.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 +6 -3
- package/dist/{account-55WWHOOL.js → account-IEVSFES5.js} +4 -4
- package/dist/{account-reads-TSDWJ3A2.js → account-reads-7DPRPWBK.js} +3 -2
- package/dist/{account-reads-TSDWJ3A2.js.map → account-reads-7DPRPWBK.js.map} +1 -1
- package/dist/{account-users-G2TESCAR.js → account-users-TC4LKN2V.js} +4 -4
- package/dist/{accounts-I7NFZG63.js → accounts-AELYH5XS.js} +9 -9
- package/dist/{accounts-S2BGGWXD.js → accounts-LHV2IYN2.js} +3 -3
- package/dist/{actions-VY5AI5TP.js → actions-XIPYWL5I.js} +18 -18
- package/dist/{activecampaign-SA33S3L7.js → activecampaign-JCCWULIC.js} +3 -3
- package/dist/{add-PJERMBFC.js → add-373HCFS2.js} +5 -5
- package/dist/{add-RRRXDR6T.js → add-IBN422W5.js} +2 -2
- package/dist/{add-OAIZVYR7.js → add-QZOXNNT7.js} +3 -3
- package/dist/{ads-WERB3QK5.js → ads-Z2YUBDUF.js} +5 -5
- package/dist/{advertisers-72UT5D4A.js → advertisers-IQRQUIJC.js} +3 -3
- package/dist/{alerts-VND7L6TS.js → alerts-M46UPHPK.js} +5 -5
- package/dist/{analytics-NUGGKCS3.js → analytics-E5OPCERI.js} +31 -18
- package/dist/analytics-E5OPCERI.js.map +1 -0
- package/dist/{analytics-R7XVZKYH.js → analytics-EWBLO3BY.js} +3 -3
- package/dist/{assign-Q2WW5EPR.js → assign-HP4XQSB7.js} +3 -3
- package/dist/{audience-size-JMRSS4ZU.js → audience-size-7GLNQY7O.js} +3 -3
- package/dist/{audit-4V6SL2EL.js → audit-CV4BY7FP.js} +3 -3
- package/dist/{autocomplete-2DMMKA5P.js → autocomplete-5M7MUL2R.js} +3 -3
- package/dist/{avatars-A3JOEFZN.js → avatars-UQNSSFEA.js} +4 -4
- package/dist/{bid-pricing-Y5S3Q74M.js → bid-pricing-DIUNRBHU.js} +4 -4
- package/dist/{brief-BLXQA4NJ.js → brief-H2YVN5GV.js} +7 -7
- package/dist/{campaign-groups-F6PGMHUJ.js → campaign-groups-NTGGGWQ5.js} +9 -9
- package/dist/{campaign-writes-NVRWTLDD.js → campaign-writes-HXWDVBXP.js} +3 -3
- package/dist/{campaigns-MQR6BDFH.js → campaigns-NSKNY3W7.js} +5 -5
- package/dist/{campaigns-TMPMTX4C.js → campaigns-XPXQXHC6.js} +12 -12
- package/dist/{canvas-ZBKDFJ3T.js → canvas-T2K2TPRR.js} +15 -15
- package/dist/{capabilities-PYFTS5DR.js → capabilities-HXJUFQDL.js} +3 -3
- package/dist/{catalog-YRSXUOJA.js → catalog-B66BUDQM.js} +4 -4
- package/dist/{changes-7WLOTKVE.js → changes-FQ2NWBJQ.js} +3 -2
- package/dist/{changes-7WLOTKVE.js.map → changes-FQ2NWBJQ.js.map} +1 -1
- package/dist/{chats-DD624VVD.js → chats-LRNKLB5W.js} +3 -3
- package/dist/{check-MT2KM6AU.js → check-BWLNXXQU.js} +2 -2
- package/dist/{chunk-XZ43GNIW.js → chunk-234AUWC2.js} +5 -5
- package/dist/{chunk-AIYN34ZQ.js → chunk-3QH4WFQX.js} +2 -2
- package/dist/{chunk-6BCQ3E4L.js → chunk-3QJ6PLIQ.js} +3 -3
- package/dist/{chunk-2J3NY25U.js → chunk-5GLXOGUI.js} +3 -3
- package/dist/{chunk-EHXIRW3Q.js → chunk-5LG5RLAA.js} +2 -2
- package/dist/{chunk-O6K24KK6.js → chunk-6SF4O3W4.js} +2 -2
- package/dist/{chunk-T7GAC2WG.js → chunk-7JM5OH6I.js} +32 -3
- package/dist/chunk-7JM5OH6I.js.map +1 -0
- package/dist/{chunk-3X6P2UZ3.js → chunk-7LDRIEKZ.js} +2 -2
- package/dist/{chunk-DRDEZ6HQ.js → chunk-7XD7Y5R3.js} +2 -2
- package/dist/{chunk-DVTN7JXU.js → chunk-AUDN5PTE.js} +2 -2
- package/dist/{chunk-IXV5TWA6.js → chunk-B6JWHTM4.js} +2 -2
- package/dist/{chunk-VHJDTOUV.js → chunk-CMCP6Q35.js} +2 -2
- package/dist/{chunk-Z65I6WS6.js → chunk-DX4SRYED.js} +13 -5
- package/dist/chunk-DX4SRYED.js.map +1 -0
- package/dist/{chunk-EHPNJDOX.js → chunk-E2NFRUDV.js} +3 -3
- package/dist/{chunk-J464JWY7.js → chunk-ENTB4ILS.js} +8 -4
- package/dist/chunk-ENTB4ILS.js.map +1 -0
- package/dist/{chunk-JOQBRK4E.js → chunk-FRWCTFTP.js} +9 -4
- package/dist/chunk-FRWCTFTP.js.map +1 -0
- package/dist/{chunk-JTGZLGVO.js → chunk-FS2R5HX6.js} +2 -2
- package/dist/{chunk-7BFYCBBN.js → chunk-GBB6CJ5O.js} +3 -3
- package/dist/{chunk-LQZOM3FQ.js → chunk-H5NTNGQX.js} +2 -2
- package/dist/{chunk-DJ54O62U.js → chunk-HJ5I6IYZ.js} +4 -2
- package/dist/{chunk-DJ54O62U.js.map → chunk-HJ5I6IYZ.js.map} +1 -1
- package/dist/{chunk-VGT6VPZP.js → chunk-HQG3GQ3G.js} +2 -2
- package/dist/{chunk-I3PB2JT2.js → chunk-HV4E5TB3.js} +5 -5
- package/dist/{chunk-5JVB572S.js → chunk-IBJN3AGS.js} +7 -7
- package/dist/{chunk-GZXZKCLA.js → chunk-IDLSLJIM.js} +5 -3
- package/dist/{chunk-GZXZKCLA.js.map → chunk-IDLSLJIM.js.map} +1 -1
- package/dist/{chunk-HORX3JLB.js → chunk-KFFAH3TX.js} +2 -2
- package/dist/{chunk-Q3TAYED3.js → chunk-LFGZGGA6.js} +2 -2
- package/dist/{chunk-6PG2UDD3.js → chunk-LMFEOGHY.js} +2 -2
- package/dist/chunk-LVLAFUXQ.js +37 -0
- package/dist/chunk-LVLAFUXQ.js.map +1 -0
- package/dist/{chunk-Z2TE3BQO.js → chunk-NBQQZXJL.js} +3 -3
- package/dist/{chunk-P5S7S3SE.js → chunk-NOAL4WP3.js} +2 -2
- package/dist/{chunk-7GDJSU7T.js → chunk-O2U2JKW5.js} +3 -3
- package/dist/{chunk-UL4FQHNO.js → chunk-O5EVHXM3.js} +2 -2
- package/dist/{chunk-XORRVJSF.js → chunk-PD3YPSEB.js} +2 -2
- package/dist/{chunk-3D7UVILY.js → chunk-PVWA335G.js} +6 -6
- package/dist/{chunk-EJ42PKLE.js → chunk-QTTY4QQ6.js} +12 -12
- package/dist/{chunk-EGWIDDYQ.js → chunk-R6QVJN7H.js} +2 -2
- package/dist/{chunk-IFVNAWIB.js → chunk-S35EPXLR.js} +4 -4
- package/dist/{chunk-PHXJV7LO.js → chunk-S7MQI3OA.js} +3 -3
- package/dist/{chunk-PIJQHLP7.js → chunk-SPLOBKTE.js} +2 -2
- package/dist/{chunk-BOOXC6UP.js → chunk-SVC3XJHU.js} +2 -2
- package/dist/{chunk-QDVHEBKZ.js → chunk-SYDEHJCC.js} +2 -2
- package/dist/{chunk-CFCJCFHX.js → chunk-UD7X5F5D.js} +11 -2
- package/dist/chunk-UD7X5F5D.js.map +1 -0
- package/dist/{chunk-DXBW4TCC.js → chunk-UW3IRTBP.js} +2 -2
- package/dist/{chunk-UFUTDAFZ.js → chunk-WN5FEDWT.js} +3 -3
- package/dist/{chunk-LUZRISQG.js → chunk-XF3C3AEI.js} +2 -2
- package/dist/{chunk-G2S5HKXZ.js → chunk-XZVFVLIK.js} +2 -2
- package/dist/{chunk-TOK2E3G4.js → chunk-YUKBYS3H.js} +3 -3
- package/dist/{chunk-TAUVMLHO.js → chunk-ZCUOSVK7.js} +2 -2
- package/dist/{chunk-H2YDUWFY.js → chunk-ZL2RZEBA.js} +7 -7
- package/dist/{chunk-7MP2LI7M.js → chunk-ZM2ST3P6.js} +2 -2
- package/dist/{claim-KLVSAFT5.js → claim-7RXDOLXU.js} +3 -3
- package/dist/cli.js +35 -35
- package/dist/{companies-S2ORJBDI.js → companies-F5O3SA6G.js} +7 -7
- package/dist/{company-VP4JVSIT.js → company-CVURNU6I.js} +3 -3
- package/dist/{complete-HXBYUWQ5.js → complete-XTJJYAMP.js} +3 -3
- package/dist/{config-UR3ZKS25.js → config-Z52BRC3M.js} +3 -2
- package/dist/{config-UR3ZKS25.js.map → config-Z52BRC3M.js.map} +1 -1
- package/dist/{connect-Z5W5MRDN.js → connect-WXX6LSGM.js} +6 -6
- package/dist/{conversation-HKGZPNT5.js → conversation-VDHUKOVP.js} +3 -3
- package/dist/{conversion-upload-command-CWMZEFCT.js → conversion-upload-command-ZZ5JYMBL.js} +7 -4
- package/dist/conversion-upload-command-ZZ5JYMBL.js.map +1 -0
- package/dist/{conversions-IXUU6IVL.js → conversions-3ASHFFPQ.js} +8 -8
- package/dist/{create-MOE7IHMI.js → create-AA7XUSIF.js} +3 -3
- package/dist/{create-WEZGRFO6.js → create-RDM7D7SL.js} +3 -3
- package/dist/{create-E2XQZEMQ.js → create-T3O2SVRY.js} +2 -2
- package/dist/{create-WQBVQJH6.js → create-W3GNO6AB.js} +3 -3
- package/dist/{creatives-2E4QCIBB.js → creatives-JTALO6GU.js} +9 -9
- package/dist/{creatives-SLA7DE3U.js → creatives-WO36WOMN.js} +9 -9
- package/dist/{credentials-RMEKZKWC.js → credentials-WRP4RO52.js} +3 -3
- package/dist/{critique-QDKYYNZJ.js → critique-AQ34RCSL.js} +4 -4
- package/dist/{crm-VVNDD2D7.js → crm-AHI7MGE5.js} +4 -4
- package/dist/{crm-6EX6VHTB.js → crm-IDIPCGGW.js} +4 -4
- package/dist/{customers-SVBNZD7B.js → customers-EDAELVEL.js} +5 -5
- package/dist/{delete-L3OLX63U.js → delete-DMV2CXNX.js} +3 -3
- package/dist/{delete-I62DMUA5.js → delete-G2JEY7H7.js} +2 -2
- package/dist/{delete-IAGTEHLU.js → delete-GZI5G7B5.js} +3 -3
- package/dist/{demographics-2FSRTKSE.js → demographics-CWCYMHQS.js} +3 -3
- package/dist/{discard-5KLH7VXC.js → discard-FL3ZEDV5.js} +3 -3
- package/dist/{domain-6LIASGMR.js → domain-6E35SSOW.js} +3 -3
- package/dist/{download-OR4LRT27.js → download-JHQAOZ4E.js} +2 -2
- package/dist/{draft-KMRFGWIO.js → draft-3L5UZ3JP.js} +7 -4
- package/dist/draft-3L5UZ3JP.js.map +1 -0
- package/dist/{draft-XWJF772C.js → draft-CZEMQHTX.js} +3 -2
- package/dist/{draft-XWJF772C.js.map → draft-CZEMQHTX.js.map} +1 -1
- package/dist/{draft-5H6MKAKW.js → draft-FOHLBTWV.js} +3 -2
- package/dist/{draft-5H6MKAKW.js.map → draft-FOHLBTWV.js.map} +1 -1
- package/dist/{draft-H5UAHFRH.js → draft-K3ODVWC6.js} +4 -4
- package/dist/{draft-PH42NL52.js → draft-LYFHXMNR.js} +3 -3
- package/dist/{draft-Y7N7JOKL.js → draft-YJ46VSIX.js} +3 -3
- package/dist/engine/index.js +3 -3
- package/dist/{experiments-YAHXGXH4.js → experiments-LENX6LKV.js} +4 -4
- package/dist/{extract-PP2LSYDG.js → extract-CIQKZUAN.js} +2 -2
- package/dist/{facets-YSOLZ3DD.js → facets-SKKX6KQJ.js} +3 -3
- package/dist/{feedback-WBJXDRHK.js → feedback-XLW2U6UL.js} +3 -3
- package/dist/{fetch-WRBEDB2A.js → fetch-55TG5KUC.js} +3 -3
- package/dist/{fit-NRP5PLZC.js → fit-DUZI2QQI.js} +2 -2
- package/dist/{flows-X3UAOQEY.js → flows-XMCXF36P.js} +11 -11
- package/dist/{forecast-ZK4X6EJ4.js → forecast-CNO5TS24.js} +4 -4
- package/dist/{forecast-WTVRSFFA.js → forecast-SXZBIHFB.js} +3 -2
- package/dist/{forecast-WTVRSFFA.js.map → forecast-SXZBIHFB.js.map} +1 -1
- package/dist/{funnel-Y46N4BBE.js → funnel-TVCESHS4.js} +5 -5
- package/dist/{ga4-K6ARTEPX.js → ga4-6J3IMDSU.js} +12 -12
- package/dist/{get-VU7ZHLP6.js → get-DRAUL57W.js} +3 -3
- package/dist/{get-WZTO6PMH.js → get-MQ5GLNYH.js} +3 -3
- package/dist/{google-CMHDFH3S.js → google-F77XV4ZC.js} +60 -41
- package/dist/google-F77XV4ZC.js.map +1 -0
- package/dist/{google-L7YKOCVZ.js → google-HS7AS5PR.js} +2 -2
- package/dist/{google-ads-JFRRRPLE.js → google-ads-C6KYB6V5.js} +3 -3
- package/dist/{history-ESPV2367.js → history-V5AEMJ3L.js} +3 -3
- package/dist/{history-VXDLDWDA.js → history-YGB4GTQQ.js} +3 -3
- package/dist/{hubspot-S3ULFQOQ.js → hubspot-24MLH5N7.js} +9 -9
- package/dist/{ideas-DRDTENIW.js → ideas-IZVXX2BH.js} +2 -2
- package/dist/{images-5YYVMEIJ.js → images-DKQ5BM6K.js} +7 -7
- package/dist/{ingest-TFLWP2TA.js → ingest-2T22UHLV.js} +3 -3
- package/dist/{ingest-6OGOSQ6K.js → ingest-4X2NSCUV.js} +2 -2
- package/dist/{inspect-AXRK3LFO.js → inspect-HV6MEO2O.js} +4 -4
- package/dist/{keyword-metrics-GKW47WTK.js → keyword-metrics-TFSL7LSD.js} +3 -3
- package/dist/{keywords-for-site-R3FSX54N.js → keywords-for-site-4UNRECEL.js} +3 -3
- package/dist/{leads-K4HZ6SOF.js → leads-FPPKEZZ4.js} +3 -3
- package/dist/{learn-7SEBSAJ6.js → learn-SOLEBEU5.js} +4 -4
- package/dist/{line-item-writes-GOT2YAI2.js → line-item-writes-ODOCEE2N.js} +3 -3
- package/dist/{line-items-FLKVZ57K.js → line-items-V72JLEQM.js} +5 -5
- package/dist/{link-2FMEL7TO.js → link-AIH3EOSQ.js} +3 -3
- package/dist/{linkedin-UEBMQ43J.js → linkedin-26LGDFRU.js} +30 -30
- package/dist/{linkedin-person-IJG5AW5G.js → linkedin-person-UYGV56VV.js} +3 -3
- package/dist/{list-DMFSPOK2.js → list-FZ6FIHYI.js} +3 -3
- package/dist/{list-OSMYGJXN.js → list-G6WVIDS6.js} +2 -2
- package/dist/{list-75IQUZOA.js → list-Y7BO7SJJ.js} +3 -3
- package/dist/{log-MYIG5YLA.js → log-W66NA7BC.js} +3 -3
- package/dist/{lookup-ZFTOQSOH.js → lookup-NLT3FWII.js} +4 -4
- package/dist/{make-ZLW2P3KY.js → make-UKUKN3KV.js} +11 -11
- package/dist/{map-HLKCRR57.js → map-TILEWCUX.js} +4 -4
- package/dist/{mcp-ZUNESQCZ.js → mcp-ONPUM5WG.js} +2 -2
- package/dist/{media-sources-DW4V3LQY.js → media-sources-6E6VWBWU.js} +2 -2
- package/dist/{members-QT5S7GX5.js → members-HMWVRAOP.js} +3 -3
- package/dist/{normalize-QBWI567H.js → normalize-ZCAPBN3N.js} +3 -3
- package/dist/{options-4TOX22NZ.js → options-6JKUV2BS.js} +6 -6
- package/dist/{organization-LGMSCURX.js → organization-SDHCCMFG.js} +3 -3
- package/dist/{people-RIBLG2DU.js → people-6AEC4RZB.js} +3 -3
- package/dist/{people-QS5WCIE6.js → people-VUAJMLPR.js} +3 -3
- package/dist/{performance-OYFSEF76.js → performance-GVXCWOXN.js} +4 -4
- package/dist/{performance-A532G6RQ.js → performance-Y2S3IOOT.js} +4 -4
- package/dist/{pipedrive-IA3JETLM.js → pipedrive-FX5H7YFX.js} +3 -3
- package/dist/{plan-5OTZUTYI.js → plan-JVD6BMEO.js} +5 -4
- package/dist/{plan-5OTZUTYI.js.map → plan-JVD6BMEO.js.map} +1 -1
- package/dist/{preview-4D5SL27N.js → preview-7TINGJM4.js} +3 -3
- package/dist/{promoted-tweet-writes-IEWDARGJ.js → promoted-tweet-writes-HLTSZZFW.js} +3 -3
- package/dist/{promoted-tweets-Q7MW2NJ5.js → promoted-tweets-EIBYUPXF.js} +3 -3
- package/dist/{publish-2XALWXUF.js → publish-EEMWAOWZ.js} +3 -3
- package/dist/{questionnaire-TR6FNF46.js → questionnaire-D7SCFJZH.js} +3 -3
- package/dist/{read-UXFNPEQ5.js → read-VI63RNL6.js} +3 -2
- package/dist/{read-UXFNPEQ5.js.map → read-VI63RNL6.js.map} +1 -1
- package/dist/{reddit-RBVLGPPS.js → reddit-JBRIDIXQ.js} +4 -4
- package/dist/{refresh-T5CFSF2X.js → refresh-E3LKRGHU.js} +2 -2
- package/dist/{release-DK4U3X7K.js → release-CIRWVRZ5.js} +3 -3
- package/dist/{remove-TEHCFKMF.js → remove-XJBTYESX.js} +2 -2
- package/dist/{reopen-FZGJSFY4.js → reopen-5WO4TTRP.js} +3 -3
- package/dist/{rerun-ZKOHH4XI.js → rerun-WYXZXYIR.js} +14 -14
- package/dist/{research-HTAQE5N4.js → research-AT6ONZF3.js} +14 -14
- package/dist/{research-GDSIJS3T.js → research-T5HLQL2D.js} +2 -2
- package/dist/{reset-Z7WQEPZA.js → reset-JGJ45QQA.js} +2 -2
- package/dist/{reset-OAHSSO6M.js → reset-MDVEFQJL.js} +2 -2
- package/dist/{resolve-Q7KZNYPZ.js → resolve-ICEQ4MYD.js} +3 -3
- package/dist/{retry-XU5BQNJP.js → retry-6OI6LOQF.js} +2 -2
- package/dist/{retry-4RFJYZUE.js → retry-Q5BG5Q6N.js} +2 -2
- package/dist/{revenue-MKGSCHEH.js → revenue-3D243SRW.js} +4 -4
- package/dist/{rules-3GFER3JS.js → rules-P3CF6KZI.js} +5 -5
- package/dist/{run-Z23HUIEY.js → run-AFUQY7PX.js} +14 -14
- package/dist/{run-4ITSDYMB.js → run-JH7NRZWP.js} +3 -3
- package/dist/{scaffold-ad-NV7O5RPD.js → scaffold-ad-PYPFWX6G.js} +9 -9
- package/dist/{scaffold-static-ad-B36ISCHA.js → scaffold-static-ad-YBWZENUA.js} +17 -17
- package/dist/{scaffold-video-HLF3OB2I.js → scaffold-video-X4V2MC74.js} +8 -8
- package/dist/{schedule-4GOQJRDS.js → schedule-S4VYTNIM.js} +2 -2
- package/dist/{scheduled-agents-JJXZIEF6.js → scheduled-agents-L3OM7LKW.js} +11 -11
- package/dist/{schema-SH2OPT3T.js → schema-2VSNFEPN.js} +4 -4
- package/dist/{schema-W65XI5SG.js → schema-HNOQNS2O.js} +1 -1
- package/dist/{search-3KJOURZR.js → search-AKAPGGRN.js} +2 -2
- package/dist/{search-terms-WKE47TW5.js → search-terms-SWRRTKBV.js} +3 -2
- package/dist/{search-terms-WKE47TW5.js.map → search-terms-SWRRTKBV.js.map} +1 -1
- package/dist/{select-7H7WTHIU.js → select-LHXVNKNU.js} +5 -5
- package/dist/{sends-AIOTD2PS.js → sends-PEQJOPRM.js} +21 -6
- package/dist/sends-PEQJOPRM.js.map +1 -0
- package/dist/{set-ULQFP4J4.js → set-K6PV4BSP.js} +5 -5
- package/dist/{set-prompt-QSZ3TVO7.js → set-prompt-ELKFG3LL.js} +5 -5
- package/dist/{setup-links-IW7KFNSX.js → setup-links-O25LZ3WM.js} +3 -3
- package/dist/{shopify-NS26CLZ4.js → shopify-IRHELCGF.js} +5 -4
- package/dist/{shopify-NS26CLZ4.js.map → shopify-IRHELCGF.js.map} +1 -1
- package/dist/{site-6ZHUS45U.js → site-HTGHNHIY.js} +4 -4
- package/dist/{sources-QHSPL7CE.js → sources-CACBM65R.js} +44 -23
- package/dist/sources-CACBM65R.js.map +1 -0
- package/dist/{sources-73UEMQ7G.js → sources-VJBQSM2M.js} +6 -6
- package/dist/{stale-J2KNUJJH.js → stale-4XM7QGRO.js} +5 -5
- package/dist/{status-VFSWTCNS.js → status-XC4FRSQR.js} +3 -3
- package/dist/{stock-GAO34LF5.js → stock-NZTHT74C.js} +2 -2
- package/dist/{sync-JFWORZO5.js → sync-2G7WYJWI.js} +2 -2
- package/dist/{sync-definition-UT4PCJTU.js → sync-definition-OQS7372I.js} +8 -8
- package/dist/{tag-manager-5Q5MHQPL.js → tag-manager-QO6VW57E.js} +10 -10
- package/dist/{tags-ZFFCMH5U.js → tags-5KRVEG7U.js} +3 -3
- package/dist/{tags-7D42XN6B.js → tags-FD6S2IHW.js} +3 -3
- package/dist/{tags-BI4XY3Q7.js → tags-ISOBUWNS.js} +3 -3
- package/dist/{tags-G5UEYJ5G.js → tags-P3DJ33XJ.js} +3 -3
- package/dist/{tags-RZCDDFKR.js → tags-UOF5S3MY.js} +4 -4
- package/dist/{targeting-criteria-FOVNGECQ.js → targeting-criteria-IVZWGSG2.js} +3 -3
- package/dist/{targets-BXDNNU5H.js → targets-IFSLA5I2.js} +3 -3
- package/dist/{testimonials-GJXBVHTB.js → testimonials-C3VK2ORY.js} +6 -6
- package/dist/{themes-LWG3LX7O.js → themes-GMZOWC3X.js} +3 -2
- package/dist/{themes-LWG3LX7O.js.map → themes-GMZOWC3X.js.map} +1 -1
- package/dist/{top-companies-NSMWKVJ4.js → top-companies-T27WGBSU.js} +7 -7
- package/dist/{transcript-CGEHL5R5.js → transcript-DSOWAMXL.js} +3 -3
- package/dist/{translate-LCD7NLBV.js → translate-JRNKBPNE.js} +10 -10
- package/dist/{triggers-JASFBXNP.js → triggers-NRMMOYGX.js} +3 -3
- package/dist/{unlink-O4KSOWYZ.js → unlink-UZTV3LO4.js} +3 -3
- package/dist/{unstage-ZJIIZUL4.js → unstage-IEM5I3GD.js} +3 -3
- package/dist/{unstage-DJWJIDKZ.js → unstage-J4BMJ5F2.js} +3 -3
- package/dist/{update-TT7FE473.js → update-JQIKDR6M.js} +3 -3
- package/dist/{update-U4DG5MPX.js → update-QTWBZ4BR.js} +3 -3
- package/dist/{update-6K5DBXY3.js → update-U2EU4N2F.js} +3 -3
- package/dist/{update-MIUMCHP7.js → update-UD43NDEY.js} +2 -2
- package/dist/{upload-LKBI5OMP.js → upload-QIVX6THR.js} +3 -3
- package/dist/{url-options-LKIERRJG.js → url-options-ZDCGO7VH.js} +2 -2
- package/dist/{url-params-VS7N5W6O.js → url-params-JBFIUYQF.js} +3 -3
- package/dist/{validate-ZH7NLGEA.js → validate-TFB26B5Z.js} +10 -10
- package/dist/{videos-KYIIO6JG.js → videos-GC7BKE4U.js} +6 -6
- package/dist/{viewer-check-Q3U7STM6.js → viewer-check-LLTJRJCX.js} +2 -2
- package/dist/{visuals-UV7ZZSZF.js → visuals-RVAJM5JW.js} +3 -3
- package/dist/{web-6SLCQG45.js → web-AVJDPHFG.js} +15 -6
- package/dist/web-AVJDPHFG.js.map +1 -0
- package/dist/{winning-ads-YX5OVVXT.js → winning-ads-JJTUWLOG.js} +3 -3
- package/dist/{write-commands-5XYTVETS.js → write-commands-FOXCYPLY.js} +4 -4
- package/dist/{write-commands-IAMIUSK4.js → write-commands-GRBE5V34.js} +3 -2
- package/dist/{write-commands-IAMIUSK4.js.map → write-commands-GRBE5V34.js.map} +1 -1
- package/dist/{write-commands-JXP2NHRY.js → write-commands-MZUVJBGO.js} +3 -2
- package/dist/{write-commands-JXP2NHRY.js.map → write-commands-MZUVJBGO.js.map} +1 -1
- package/dist/{x-FB6D7YVB.js → x-2QTZBTVK.js} +6 -6
- package/package.json +1 -1
- package/dist/analytics-NUGGKCS3.js.map +0 -1
- package/dist/chunk-CFCJCFHX.js.map +0 -1
- package/dist/chunk-J464JWY7.js.map +0 -1
- package/dist/chunk-JOQBRK4E.js.map +0 -1
- package/dist/chunk-T7GAC2WG.js.map +0 -1
- package/dist/chunk-Z65I6WS6.js.map +0 -1
- package/dist/conversion-upload-command-CWMZEFCT.js.map +0 -1
- package/dist/draft-KMRFGWIO.js.map +0 -1
- package/dist/google-CMHDFH3S.js.map +0 -1
- package/dist/sends-AIOTD2PS.js.map +0 -1
- package/dist/sources-QHSPL7CE.js.map +0 -1
- package/dist/web-6SLCQG45.js.map +0 -1
- /package/dist/{account-55WWHOOL.js.map → account-IEVSFES5.js.map} +0 -0
- /package/dist/{account-users-G2TESCAR.js.map → account-users-TC4LKN2V.js.map} +0 -0
- /package/dist/{accounts-I7NFZG63.js.map → accounts-AELYH5XS.js.map} +0 -0
- /package/dist/{accounts-S2BGGWXD.js.map → accounts-LHV2IYN2.js.map} +0 -0
- /package/dist/{actions-VY5AI5TP.js.map → actions-XIPYWL5I.js.map} +0 -0
- /package/dist/{activecampaign-SA33S3L7.js.map → activecampaign-JCCWULIC.js.map} +0 -0
- /package/dist/{add-PJERMBFC.js.map → add-373HCFS2.js.map} +0 -0
- /package/dist/{add-RRRXDR6T.js.map → add-IBN422W5.js.map} +0 -0
- /package/dist/{add-OAIZVYR7.js.map → add-QZOXNNT7.js.map} +0 -0
- /package/dist/{ads-WERB3QK5.js.map → ads-Z2YUBDUF.js.map} +0 -0
- /package/dist/{advertisers-72UT5D4A.js.map → advertisers-IQRQUIJC.js.map} +0 -0
- /package/dist/{alerts-VND7L6TS.js.map → alerts-M46UPHPK.js.map} +0 -0
- /package/dist/{analytics-R7XVZKYH.js.map → analytics-EWBLO3BY.js.map} +0 -0
- /package/dist/{assign-Q2WW5EPR.js.map → assign-HP4XQSB7.js.map} +0 -0
- /package/dist/{audience-size-JMRSS4ZU.js.map → audience-size-7GLNQY7O.js.map} +0 -0
- /package/dist/{audit-4V6SL2EL.js.map → audit-CV4BY7FP.js.map} +0 -0
- /package/dist/{autocomplete-2DMMKA5P.js.map → autocomplete-5M7MUL2R.js.map} +0 -0
- /package/dist/{avatars-A3JOEFZN.js.map → avatars-UQNSSFEA.js.map} +0 -0
- /package/dist/{bid-pricing-Y5S3Q74M.js.map → bid-pricing-DIUNRBHU.js.map} +0 -0
- /package/dist/{brief-BLXQA4NJ.js.map → brief-H2YVN5GV.js.map} +0 -0
- /package/dist/{campaign-groups-F6PGMHUJ.js.map → campaign-groups-NTGGGWQ5.js.map} +0 -0
- /package/dist/{campaign-writes-NVRWTLDD.js.map → campaign-writes-HXWDVBXP.js.map} +0 -0
- /package/dist/{campaigns-MQR6BDFH.js.map → campaigns-NSKNY3W7.js.map} +0 -0
- /package/dist/{campaigns-TMPMTX4C.js.map → campaigns-XPXQXHC6.js.map} +0 -0
- /package/dist/{canvas-ZBKDFJ3T.js.map → canvas-T2K2TPRR.js.map} +0 -0
- /package/dist/{capabilities-PYFTS5DR.js.map → capabilities-HXJUFQDL.js.map} +0 -0
- /package/dist/{catalog-YRSXUOJA.js.map → catalog-B66BUDQM.js.map} +0 -0
- /package/dist/{chats-DD624VVD.js.map → chats-LRNKLB5W.js.map} +0 -0
- /package/dist/{check-MT2KM6AU.js.map → check-BWLNXXQU.js.map} +0 -0
- /package/dist/{chunk-XZ43GNIW.js.map → chunk-234AUWC2.js.map} +0 -0
- /package/dist/{chunk-AIYN34ZQ.js.map → chunk-3QH4WFQX.js.map} +0 -0
- /package/dist/{chunk-6BCQ3E4L.js.map → chunk-3QJ6PLIQ.js.map} +0 -0
- /package/dist/{chunk-2J3NY25U.js.map → chunk-5GLXOGUI.js.map} +0 -0
- /package/dist/{chunk-EHXIRW3Q.js.map → chunk-5LG5RLAA.js.map} +0 -0
- /package/dist/{chunk-O6K24KK6.js.map → chunk-6SF4O3W4.js.map} +0 -0
- /package/dist/{chunk-3X6P2UZ3.js.map → chunk-7LDRIEKZ.js.map} +0 -0
- /package/dist/{chunk-DRDEZ6HQ.js.map → chunk-7XD7Y5R3.js.map} +0 -0
- /package/dist/{chunk-DVTN7JXU.js.map → chunk-AUDN5PTE.js.map} +0 -0
- /package/dist/{chunk-IXV5TWA6.js.map → chunk-B6JWHTM4.js.map} +0 -0
- /package/dist/{chunk-VHJDTOUV.js.map → chunk-CMCP6Q35.js.map} +0 -0
- /package/dist/{chunk-EHPNJDOX.js.map → chunk-E2NFRUDV.js.map} +0 -0
- /package/dist/{chunk-JTGZLGVO.js.map → chunk-FS2R5HX6.js.map} +0 -0
- /package/dist/{chunk-7BFYCBBN.js.map → chunk-GBB6CJ5O.js.map} +0 -0
- /package/dist/{chunk-LQZOM3FQ.js.map → chunk-H5NTNGQX.js.map} +0 -0
- /package/dist/{chunk-VGT6VPZP.js.map → chunk-HQG3GQ3G.js.map} +0 -0
- /package/dist/{chunk-I3PB2JT2.js.map → chunk-HV4E5TB3.js.map} +0 -0
- /package/dist/{chunk-5JVB572S.js.map → chunk-IBJN3AGS.js.map} +0 -0
- /package/dist/{chunk-HORX3JLB.js.map → chunk-KFFAH3TX.js.map} +0 -0
- /package/dist/{chunk-Q3TAYED3.js.map → chunk-LFGZGGA6.js.map} +0 -0
- /package/dist/{chunk-6PG2UDD3.js.map → chunk-LMFEOGHY.js.map} +0 -0
- /package/dist/{chunk-Z2TE3BQO.js.map → chunk-NBQQZXJL.js.map} +0 -0
- /package/dist/{chunk-P5S7S3SE.js.map → chunk-NOAL4WP3.js.map} +0 -0
- /package/dist/{chunk-7GDJSU7T.js.map → chunk-O2U2JKW5.js.map} +0 -0
- /package/dist/{chunk-UL4FQHNO.js.map → chunk-O5EVHXM3.js.map} +0 -0
- /package/dist/{chunk-XORRVJSF.js.map → chunk-PD3YPSEB.js.map} +0 -0
- /package/dist/{chunk-3D7UVILY.js.map → chunk-PVWA335G.js.map} +0 -0
- /package/dist/{chunk-EJ42PKLE.js.map → chunk-QTTY4QQ6.js.map} +0 -0
- /package/dist/{chunk-EGWIDDYQ.js.map → chunk-R6QVJN7H.js.map} +0 -0
- /package/dist/{chunk-IFVNAWIB.js.map → chunk-S35EPXLR.js.map} +0 -0
- /package/dist/{chunk-PHXJV7LO.js.map → chunk-S7MQI3OA.js.map} +0 -0
- /package/dist/{chunk-PIJQHLP7.js.map → chunk-SPLOBKTE.js.map} +0 -0
- /package/dist/{chunk-BOOXC6UP.js.map → chunk-SVC3XJHU.js.map} +0 -0
- /package/dist/{chunk-QDVHEBKZ.js.map → chunk-SYDEHJCC.js.map} +0 -0
- /package/dist/{chunk-DXBW4TCC.js.map → chunk-UW3IRTBP.js.map} +0 -0
- /package/dist/{chunk-UFUTDAFZ.js.map → chunk-WN5FEDWT.js.map} +0 -0
- /package/dist/{chunk-LUZRISQG.js.map → chunk-XF3C3AEI.js.map} +0 -0
- /package/dist/{chunk-G2S5HKXZ.js.map → chunk-XZVFVLIK.js.map} +0 -0
- /package/dist/{chunk-TOK2E3G4.js.map → chunk-YUKBYS3H.js.map} +0 -0
- /package/dist/{chunk-TAUVMLHO.js.map → chunk-ZCUOSVK7.js.map} +0 -0
- /package/dist/{chunk-H2YDUWFY.js.map → chunk-ZL2RZEBA.js.map} +0 -0
- /package/dist/{chunk-7MP2LI7M.js.map → chunk-ZM2ST3P6.js.map} +0 -0
- /package/dist/{claim-KLVSAFT5.js.map → claim-7RXDOLXU.js.map} +0 -0
- /package/dist/{companies-S2ORJBDI.js.map → companies-F5O3SA6G.js.map} +0 -0
- /package/dist/{company-VP4JVSIT.js.map → company-CVURNU6I.js.map} +0 -0
- /package/dist/{complete-HXBYUWQ5.js.map → complete-XTJJYAMP.js.map} +0 -0
- /package/dist/{connect-Z5W5MRDN.js.map → connect-WXX6LSGM.js.map} +0 -0
- /package/dist/{conversation-HKGZPNT5.js.map → conversation-VDHUKOVP.js.map} +0 -0
- /package/dist/{conversions-IXUU6IVL.js.map → conversions-3ASHFFPQ.js.map} +0 -0
- /package/dist/{create-MOE7IHMI.js.map → create-AA7XUSIF.js.map} +0 -0
- /package/dist/{create-WEZGRFO6.js.map → create-RDM7D7SL.js.map} +0 -0
- /package/dist/{create-E2XQZEMQ.js.map → create-T3O2SVRY.js.map} +0 -0
- /package/dist/{create-WQBVQJH6.js.map → create-W3GNO6AB.js.map} +0 -0
- /package/dist/{creatives-2E4QCIBB.js.map → creatives-JTALO6GU.js.map} +0 -0
- /package/dist/{creatives-SLA7DE3U.js.map → creatives-WO36WOMN.js.map} +0 -0
- /package/dist/{credentials-RMEKZKWC.js.map → credentials-WRP4RO52.js.map} +0 -0
- /package/dist/{critique-QDKYYNZJ.js.map → critique-AQ34RCSL.js.map} +0 -0
- /package/dist/{crm-VVNDD2D7.js.map → crm-AHI7MGE5.js.map} +0 -0
- /package/dist/{crm-6EX6VHTB.js.map → crm-IDIPCGGW.js.map} +0 -0
- /package/dist/{customers-SVBNZD7B.js.map → customers-EDAELVEL.js.map} +0 -0
- /package/dist/{delete-L3OLX63U.js.map → delete-DMV2CXNX.js.map} +0 -0
- /package/dist/{delete-I62DMUA5.js.map → delete-G2JEY7H7.js.map} +0 -0
- /package/dist/{delete-IAGTEHLU.js.map → delete-GZI5G7B5.js.map} +0 -0
- /package/dist/{demographics-2FSRTKSE.js.map → demographics-CWCYMHQS.js.map} +0 -0
- /package/dist/{discard-5KLH7VXC.js.map → discard-FL3ZEDV5.js.map} +0 -0
- /package/dist/{domain-6LIASGMR.js.map → domain-6E35SSOW.js.map} +0 -0
- /package/dist/{download-OR4LRT27.js.map → download-JHQAOZ4E.js.map} +0 -0
- /package/dist/{draft-H5UAHFRH.js.map → draft-K3ODVWC6.js.map} +0 -0
- /package/dist/{draft-PH42NL52.js.map → draft-LYFHXMNR.js.map} +0 -0
- /package/dist/{draft-Y7N7JOKL.js.map → draft-YJ46VSIX.js.map} +0 -0
- /package/dist/{experiments-YAHXGXH4.js.map → experiments-LENX6LKV.js.map} +0 -0
- /package/dist/{extract-PP2LSYDG.js.map → extract-CIQKZUAN.js.map} +0 -0
- /package/dist/{facets-YSOLZ3DD.js.map → facets-SKKX6KQJ.js.map} +0 -0
- /package/dist/{feedback-WBJXDRHK.js.map → feedback-XLW2U6UL.js.map} +0 -0
- /package/dist/{fetch-WRBEDB2A.js.map → fetch-55TG5KUC.js.map} +0 -0
- /package/dist/{fit-NRP5PLZC.js.map → fit-DUZI2QQI.js.map} +0 -0
- /package/dist/{flows-X3UAOQEY.js.map → flows-XMCXF36P.js.map} +0 -0
- /package/dist/{forecast-ZK4X6EJ4.js.map → forecast-CNO5TS24.js.map} +0 -0
- /package/dist/{funnel-Y46N4BBE.js.map → funnel-TVCESHS4.js.map} +0 -0
- /package/dist/{ga4-K6ARTEPX.js.map → ga4-6J3IMDSU.js.map} +0 -0
- /package/dist/{get-VU7ZHLP6.js.map → get-DRAUL57W.js.map} +0 -0
- /package/dist/{get-WZTO6PMH.js.map → get-MQ5GLNYH.js.map} +0 -0
- /package/dist/{google-L7YKOCVZ.js.map → google-HS7AS5PR.js.map} +0 -0
- /package/dist/{google-ads-JFRRRPLE.js.map → google-ads-C6KYB6V5.js.map} +0 -0
- /package/dist/{history-ESPV2367.js.map → history-V5AEMJ3L.js.map} +0 -0
- /package/dist/{history-VXDLDWDA.js.map → history-YGB4GTQQ.js.map} +0 -0
- /package/dist/{hubspot-S3ULFQOQ.js.map → hubspot-24MLH5N7.js.map} +0 -0
- /package/dist/{ideas-DRDTENIW.js.map → ideas-IZVXX2BH.js.map} +0 -0
- /package/dist/{images-5YYVMEIJ.js.map → images-DKQ5BM6K.js.map} +0 -0
- /package/dist/{ingest-TFLWP2TA.js.map → ingest-2T22UHLV.js.map} +0 -0
- /package/dist/{ingest-6OGOSQ6K.js.map → ingest-4X2NSCUV.js.map} +0 -0
- /package/dist/{inspect-AXRK3LFO.js.map → inspect-HV6MEO2O.js.map} +0 -0
- /package/dist/{keyword-metrics-GKW47WTK.js.map → keyword-metrics-TFSL7LSD.js.map} +0 -0
- /package/dist/{keywords-for-site-R3FSX54N.js.map → keywords-for-site-4UNRECEL.js.map} +0 -0
- /package/dist/{leads-K4HZ6SOF.js.map → leads-FPPKEZZ4.js.map} +0 -0
- /package/dist/{learn-7SEBSAJ6.js.map → learn-SOLEBEU5.js.map} +0 -0
- /package/dist/{line-item-writes-GOT2YAI2.js.map → line-item-writes-ODOCEE2N.js.map} +0 -0
- /package/dist/{line-items-FLKVZ57K.js.map → line-items-V72JLEQM.js.map} +0 -0
- /package/dist/{link-2FMEL7TO.js.map → link-AIH3EOSQ.js.map} +0 -0
- /package/dist/{linkedin-UEBMQ43J.js.map → linkedin-26LGDFRU.js.map} +0 -0
- /package/dist/{linkedin-person-IJG5AW5G.js.map → linkedin-person-UYGV56VV.js.map} +0 -0
- /package/dist/{list-DMFSPOK2.js.map → list-FZ6FIHYI.js.map} +0 -0
- /package/dist/{list-OSMYGJXN.js.map → list-G6WVIDS6.js.map} +0 -0
- /package/dist/{list-75IQUZOA.js.map → list-Y7BO7SJJ.js.map} +0 -0
- /package/dist/{log-MYIG5YLA.js.map → log-W66NA7BC.js.map} +0 -0
- /package/dist/{lookup-ZFTOQSOH.js.map → lookup-NLT3FWII.js.map} +0 -0
- /package/dist/{make-ZLW2P3KY.js.map → make-UKUKN3KV.js.map} +0 -0
- /package/dist/{map-HLKCRR57.js.map → map-TILEWCUX.js.map} +0 -0
- /package/dist/{mcp-ZUNESQCZ.js.map → mcp-ONPUM5WG.js.map} +0 -0
- /package/dist/{media-sources-DW4V3LQY.js.map → media-sources-6E6VWBWU.js.map} +0 -0
- /package/dist/{members-QT5S7GX5.js.map → members-HMWVRAOP.js.map} +0 -0
- /package/dist/{normalize-QBWI567H.js.map → normalize-ZCAPBN3N.js.map} +0 -0
- /package/dist/{options-4TOX22NZ.js.map → options-6JKUV2BS.js.map} +0 -0
- /package/dist/{organization-LGMSCURX.js.map → organization-SDHCCMFG.js.map} +0 -0
- /package/dist/{people-RIBLG2DU.js.map → people-6AEC4RZB.js.map} +0 -0
- /package/dist/{people-QS5WCIE6.js.map → people-VUAJMLPR.js.map} +0 -0
- /package/dist/{performance-OYFSEF76.js.map → performance-GVXCWOXN.js.map} +0 -0
- /package/dist/{performance-A532G6RQ.js.map → performance-Y2S3IOOT.js.map} +0 -0
- /package/dist/{pipedrive-IA3JETLM.js.map → pipedrive-FX5H7YFX.js.map} +0 -0
- /package/dist/{preview-4D5SL27N.js.map → preview-7TINGJM4.js.map} +0 -0
- /package/dist/{promoted-tweet-writes-IEWDARGJ.js.map → promoted-tweet-writes-HLTSZZFW.js.map} +0 -0
- /package/dist/{promoted-tweets-Q7MW2NJ5.js.map → promoted-tweets-EIBYUPXF.js.map} +0 -0
- /package/dist/{publish-2XALWXUF.js.map → publish-EEMWAOWZ.js.map} +0 -0
- /package/dist/{questionnaire-TR6FNF46.js.map → questionnaire-D7SCFJZH.js.map} +0 -0
- /package/dist/{reddit-RBVLGPPS.js.map → reddit-JBRIDIXQ.js.map} +0 -0
- /package/dist/{refresh-T5CFSF2X.js.map → refresh-E3LKRGHU.js.map} +0 -0
- /package/dist/{release-DK4U3X7K.js.map → release-CIRWVRZ5.js.map} +0 -0
- /package/dist/{remove-TEHCFKMF.js.map → remove-XJBTYESX.js.map} +0 -0
- /package/dist/{reopen-FZGJSFY4.js.map → reopen-5WO4TTRP.js.map} +0 -0
- /package/dist/{rerun-ZKOHH4XI.js.map → rerun-WYXZXYIR.js.map} +0 -0
- /package/dist/{research-HTAQE5N4.js.map → research-AT6ONZF3.js.map} +0 -0
- /package/dist/{research-GDSIJS3T.js.map → research-T5HLQL2D.js.map} +0 -0
- /package/dist/{reset-Z7WQEPZA.js.map → reset-JGJ45QQA.js.map} +0 -0
- /package/dist/{reset-OAHSSO6M.js.map → reset-MDVEFQJL.js.map} +0 -0
- /package/dist/{resolve-Q7KZNYPZ.js.map → resolve-ICEQ4MYD.js.map} +0 -0
- /package/dist/{retry-XU5BQNJP.js.map → retry-6OI6LOQF.js.map} +0 -0
- /package/dist/{retry-4RFJYZUE.js.map → retry-Q5BG5Q6N.js.map} +0 -0
- /package/dist/{revenue-MKGSCHEH.js.map → revenue-3D243SRW.js.map} +0 -0
- /package/dist/{rules-3GFER3JS.js.map → rules-P3CF6KZI.js.map} +0 -0
- /package/dist/{run-Z23HUIEY.js.map → run-AFUQY7PX.js.map} +0 -0
- /package/dist/{run-4ITSDYMB.js.map → run-JH7NRZWP.js.map} +0 -0
- /package/dist/{scaffold-ad-NV7O5RPD.js.map → scaffold-ad-PYPFWX6G.js.map} +0 -0
- /package/dist/{scaffold-static-ad-B36ISCHA.js.map → scaffold-static-ad-YBWZENUA.js.map} +0 -0
- /package/dist/{scaffold-video-HLF3OB2I.js.map → scaffold-video-X4V2MC74.js.map} +0 -0
- /package/dist/{schedule-4GOQJRDS.js.map → schedule-S4VYTNIM.js.map} +0 -0
- /package/dist/{scheduled-agents-JJXZIEF6.js.map → scheduled-agents-L3OM7LKW.js.map} +0 -0
- /package/dist/{schema-SH2OPT3T.js.map → schema-2VSNFEPN.js.map} +0 -0
- /package/dist/{schema-W65XI5SG.js.map → schema-HNOQNS2O.js.map} +0 -0
- /package/dist/{search-3KJOURZR.js.map → search-AKAPGGRN.js.map} +0 -0
- /package/dist/{select-7H7WTHIU.js.map → select-LHXVNKNU.js.map} +0 -0
- /package/dist/{set-ULQFP4J4.js.map → set-K6PV4BSP.js.map} +0 -0
- /package/dist/{set-prompt-QSZ3TVO7.js.map → set-prompt-ELKFG3LL.js.map} +0 -0
- /package/dist/{setup-links-IW7KFNSX.js.map → setup-links-O25LZ3WM.js.map} +0 -0
- /package/dist/{site-6ZHUS45U.js.map → site-HTGHNHIY.js.map} +0 -0
- /package/dist/{sources-73UEMQ7G.js.map → sources-VJBQSM2M.js.map} +0 -0
- /package/dist/{stale-J2KNUJJH.js.map → stale-4XM7QGRO.js.map} +0 -0
- /package/dist/{status-VFSWTCNS.js.map → status-XC4FRSQR.js.map} +0 -0
- /package/dist/{stock-GAO34LF5.js.map → stock-NZTHT74C.js.map} +0 -0
- /package/dist/{sync-JFWORZO5.js.map → sync-2G7WYJWI.js.map} +0 -0
- /package/dist/{sync-definition-UT4PCJTU.js.map → sync-definition-OQS7372I.js.map} +0 -0
- /package/dist/{tag-manager-5Q5MHQPL.js.map → tag-manager-QO6VW57E.js.map} +0 -0
- /package/dist/{tags-ZFFCMH5U.js.map → tags-5KRVEG7U.js.map} +0 -0
- /package/dist/{tags-7D42XN6B.js.map → tags-FD6S2IHW.js.map} +0 -0
- /package/dist/{tags-BI4XY3Q7.js.map → tags-ISOBUWNS.js.map} +0 -0
- /package/dist/{tags-G5UEYJ5G.js.map → tags-P3DJ33XJ.js.map} +0 -0
- /package/dist/{tags-RZCDDFKR.js.map → tags-UOF5S3MY.js.map} +0 -0
- /package/dist/{targeting-criteria-FOVNGECQ.js.map → targeting-criteria-IVZWGSG2.js.map} +0 -0
- /package/dist/{targets-BXDNNU5H.js.map → targets-IFSLA5I2.js.map} +0 -0
- /package/dist/{testimonials-GJXBVHTB.js.map → testimonials-C3VK2ORY.js.map} +0 -0
- /package/dist/{top-companies-NSMWKVJ4.js.map → top-companies-T27WGBSU.js.map} +0 -0
- /package/dist/{transcript-CGEHL5R5.js.map → transcript-DSOWAMXL.js.map} +0 -0
- /package/dist/{translate-LCD7NLBV.js.map → translate-JRNKBPNE.js.map} +0 -0
- /package/dist/{triggers-JASFBXNP.js.map → triggers-NRMMOYGX.js.map} +0 -0
- /package/dist/{unlink-O4KSOWYZ.js.map → unlink-UZTV3LO4.js.map} +0 -0
- /package/dist/{unstage-ZJIIZUL4.js.map → unstage-IEM5I3GD.js.map} +0 -0
- /package/dist/{unstage-DJWJIDKZ.js.map → unstage-J4BMJ5F2.js.map} +0 -0
- /package/dist/{update-TT7FE473.js.map → update-JQIKDR6M.js.map} +0 -0
- /package/dist/{update-U4DG5MPX.js.map → update-QTWBZ4BR.js.map} +0 -0
- /package/dist/{update-6K5DBXY3.js.map → update-U2EU4N2F.js.map} +0 -0
- /package/dist/{update-MIUMCHP7.js.map → update-UD43NDEY.js.map} +0 -0
- /package/dist/{upload-LKBI5OMP.js.map → upload-QIVX6THR.js.map} +0 -0
- /package/dist/{url-options-LKIERRJG.js.map → url-options-ZDCGO7VH.js.map} +0 -0
- /package/dist/{url-params-VS7N5W6O.js.map → url-params-JBFIUYQF.js.map} +0 -0
- /package/dist/{validate-ZH7NLGEA.js.map → validate-TFB26B5Z.js.map} +0 -0
- /package/dist/{videos-KYIIO6JG.js.map → videos-GC7BKE4U.js.map} +0 -0
- /package/dist/{viewer-check-Q3U7STM6.js.map → viewer-check-LLTJRJCX.js.map} +0 -0
- /package/dist/{visuals-UV7ZZSZF.js.map → visuals-RVAJM5JW.js.map} +0 -0
- /package/dist/{winning-ads-YX5OVVXT.js.map → winning-ads-JJTUWLOG.js.map} +0 -0
- /package/dist/{write-commands-5XYTVETS.js.map → write-commands-FOXCYPLY.js.map} +0 -0
- /package/dist/{x-FB6D7YVB.js.map → x-2QTZBTVK.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/analytics/sends.ts"],"sourcesContent":["/**\n * `baker analytics sends` — where this company's system events are sent, and\n * changing it.\n *\n * A send hangs off an event one of the client's own systems raises, by its\n * key: `page:deal_won` from HubSpot → Meta Purchase. Every such event is\n * uploaded to the platform with who the person is, the click that brought\n * them and the amount forwarded automatically. Nothing is mapped. What happens\n * on a page or in a Form is not sendable here: the page's own pixels and the\n * Form's own side effects already send those.\n *\n * A write STAGES: it lands when the chat is published, and from then on it\n * spends ad budget on every event under the key. The dashboard's Sources page\n * applies at once because the person clicking is the review; an agent's\n * proposal gets its review at Publish.\n */\n\nimport {\n isSendPlatform,\n SEND_PLATFORMS,\n type SendPlatform,\n type SendsRequest,\n type SendsResponse,\n sendEventProblem,\n sendsRequestSchema,\n} from \"@baker/api/analytics\";\nimport { defineCommand } from \"citty\";\nimport { ApiError, apiPost } from \"../../client.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { writeJsonEnvelope } from \"../ads/output.ts\";\nimport { ConversionArgsError, onlyOnce } from \"./conversionArgs.ts\";\n\nexport interface SendsArgs {\n set?: {\n id: string;\n eventKey: string;\n platform: string;\n tagId: string;\n event: string;\n account?: string;\n parameters?: Record<string, string>;\n };\n remove?: string;\n /** On a read: only what goes to this platform. */\n platform?: SendPlatform;\n days?: number;\n /** One send's uploads, by id, and whether only the refused ones. */\n uploads?: string;\n failedOnly?: boolean;\n /** With `uploads`: only the events it skipped, for want of anything to match. */\n skippedOnly?: boolean;\n /** When each live send was set up, and whether its integration was removed. */\n history?: boolean;\n full: boolean;\n}\n\nconst SET_FLAGS = [\"--source-event\", \"--platform\", \"--tag\", \"--event\"] as const;\n\n/**\n * The flags, checked for the shapes that would otherwise stage the wrong\n * send in silence. Pure, so the refusals are tier-1 tested.\n */\nexport function parseSendsArgs(raw: Record<string, unknown>, argv: readonly string[], now = Date.now()): SendsArgs {\n const set = parseSetFlags(raw, argv, now);\n const platform = set === undefined ? readPlatform(raw, argv) : undefined;\n const remove = onlyOnce(raw.remove, \"--remove\", argv);\n if (platform !== undefined && remove !== undefined) {\n throw new ConversionArgsError(\n \"--platform narrows a read, and --remove stages a change: a removal is answered in full, never narrowed. Drop --platform.\",\n );\n }\n\n const days = raw.days === undefined ? undefined : Number(raw.days);\n if (days !== undefined && (!Number.isInteger(days) || days <= 0 || days > 400)) {\n throw new ConversionArgsError(\"--days must be a whole number of days, from 1 to 400.\");\n }\n\n const uploads = parseUploadsFlags(raw, argv);\n\n return {\n ...(set === undefined ? {} : { set }),\n ...(remove === undefined ? {} : { remove }),\n ...(platform === undefined ? {} : { platform }),\n ...(days === undefined ? {} : { days }),\n ...uploads,\n ...(raw.history === true ? { history: true } : {}),\n full: raw.full === true,\n };\n}\n\n/** `--platform` without `--set`: the destination a read is narrowed to. */\nfunction readPlatform(raw: Record<string, unknown>, argv: readonly string[]): SendPlatform | undefined {\n const platform = onlyOnce(raw.platform, \"--platform\", argv);\n return platform === undefined ? undefined : sendPlatform(platform);\n}\n\nfunction sendPlatform(platform: string): SendPlatform {\n if (!isSendPlatform(platform)) {\n throw new ConversionArgsError(\n `\"${platform}\" is not somewhere a conversion can be sent — --platform is one of ${SEND_PLATFORMS.join(\", \")}.`,\n );\n }\n return platform;\n}\n\n/** `--uploads <sendId>` and its narrowings: a named live send, never an empty one. */\nfunction parseUploadsFlags(\n raw: Record<string, unknown>,\n argv: readonly string[],\n): Pick<SendsArgs, \"uploads\" | \"failedOnly\" | \"skippedOnly\"> {\n const uploads = onlyOnce(raw.uploads, \"--uploads\", argv);\n if (raw.uploads !== undefined && uploads === undefined) {\n throw new ConversionArgsError(\n \"--uploads takes the id of a live send (`sends[].id`); read them first with `baker analytics sends`.\",\n );\n }\n if (raw.failed === true && uploads === undefined) {\n throw new ConversionArgsError(\"--failed narrows --uploads <sendId> to the refused ones; name the send.\");\n }\n if (raw.skipped === true && uploads === undefined) {\n throw new ConversionArgsError(\n \"--skipped narrows --uploads <sendId> to the events it never uploaded; name the send.\",\n );\n }\n return {\n ...(uploads === undefined ? {} : { uploads }),\n ...(raw.failed === true ? { failedOnly: true } : {}),\n ...(raw.skipped === true ? { skippedOnly: true } : {}),\n };\n}\n\n/** The value a repeated flag carries at this position, in either spelling, or nothing. */\nfunction flagValueAt(argv: readonly string[], flag: string, index: number): string | undefined {\n const arg = argv[index] ?? \"\";\n if (arg === flag) return argv[index + 1];\n return arg.startsWith(`${flag}=`) ? arg.slice(flag.length + 1) : undefined;\n}\n\n/**\n * Every `--parameter name=template` on the command line, in order. Read off\n * argv rather than the parsed args because citty keeps only the last value\n * of a repeated flag — the defect that once staged one of three UTMs.\n */\nexport function parseParameterArgs(argv: readonly string[]): Record<string, string> | undefined {\n const parameters: Record<string, string> = {};\n for (let index = 0; index < argv.length; index += 1) {\n const pair = flagValueAt(argv, \"--parameter\", index);\n if (pair === undefined) continue;\n const eq = pair.indexOf(\"=\");\n const name = (eq === -1 ? pair : pair.slice(0, eq)).trim();\n const template = eq === -1 ? \"\" : pair.slice(eq + 1).trim();\n if (name === \"\" || template === \"\") {\n throw new ConversionArgsError(\n `--parameter needs <name>=<template>, like --parameter content_name={{properties.plan}}; got \"${pair}\".`,\n );\n }\n parameters[name] = template;\n }\n return Object.keys(parameters).length === 0 ? undefined : parameters;\n}\n\n/**\n * The send `--set` describes, or nothing on a read.\n *\n * The four flags are only meaningful together and only under `--set` (but\n * `--platform` alone, which narrows a read — `readPlatform`): a send\n * described without it would answer ok and stage nothing, and a `--set` with\n * a piece missing would be refused by the server with the field named but not\n * the flag.\n */\nfunction parseSetFlags(raw: Record<string, unknown>, argv: readonly string[], now: number): SendsArgs[\"set\"] {\n if (raw.conversion !== undefined) {\n throw new ConversionArgsError(\n \"--conversion is gone: a send is on a system's EVENT, not a conversion. Pass --source-event <key> — one of events[].eventKey from a plain `baker analytics sends` (page:<name>).\",\n );\n }\n const values = {\n \"--source-event\": onlyOnce(raw[\"source-event\"] ?? raw.sourceEvent, \"--source-event\", argv),\n \"--platform\": onlyOnce(raw.platform, \"--platform\", argv),\n \"--tag\": onlyOnce(raw.tag, \"--tag\", argv),\n \"--event\": onlyOnce(raw.event, \"--event\", argv),\n };\n const given = SET_FLAGS.filter((flag) => values[flag] !== undefined);\n const set = raw.set === true;\n\n if (!set) {\n // `--platform` alone narrows a read; with any other piece of a send it describes one.\n const shaping = sendOnlyFlags(raw, argv);\n if (shaping.length > 0 || given.some((flag) => flag !== \"--platform\")) {\n throw new ConversionArgsError(\n `${[...given, ...shaping].join(\", \")} describe a send, so add --set to stage it. Without --set the command only reads, and --platform on its own narrows that read to one platform.`,\n );\n }\n return undefined;\n }\n\n const missing = SET_FLAGS.filter((flag) => values[flag] === undefined);\n if (missing.length > 0) {\n throw new ConversionArgsError(\n `--set needs ${SET_FLAGS.join(\", \")}; missing ${missing.join(\", \")}. Copy --tag from platforms[].tags of a plain \\`baker analytics sends\\`, never from memory.`,\n );\n }\n const platform = sendPlatform(values[\"--platform\"] ?? \"\");\n\n const event = values[\"--event\"] ?? \"\";\n const templated = sendEventProblem(platform, event);\n if (templated !== null) {\n throw new ConversionArgsError(`--event ${event} cannot be sent to ${platform}. ${templated}`);\n }\n\n const account = onlyOnce(raw.account, \"--account\", argv);\n const parameters = parseParameterArgs(argv);\n return {\n id: onlyOnce(raw.id, \"--id\", argv) ?? sendIdFor(now),\n eventKey: values[\"--source-event\"] ?? \"\",\n ...originFlag(raw, argv),\n platform,\n tagId: values[\"--tag\"] ?? \"\",\n event,\n ...(account === undefined ? {} : { account }),\n ...(parameters === undefined ? {} : { parameters }),\n };\n}\n\n/** The options that only shape a staged send, given on the command line. */\nfunction sendOnlyFlags(raw: Record<string, unknown>, argv: readonly string[]): string[] {\n return [\n ...(raw.parameter !== undefined || argv.some((arg) => arg === \"--parameter\" || arg.startsWith(\"--parameter=\"))\n ? [\"--parameter\"]\n : []),\n ...(raw.from === undefined ? [] : [\"--from\"]),\n ...(raw.account === undefined ? [] : [\"--account\"]),\n ...(raw.id === undefined ? [] : [\"--id\"]),\n ];\n}\n\n/**\n * Which door's events `--set` uploads, as the send spells it: every door the\n * event arrives by (`origin: \"any\"`, the default — one event, one set of\n * destinations, uploaded once when the pixel and the API both report it under\n * one event id), or only the pixel's (`website`) or only the API's and the\n * integrations' (no field at all).\n */\nfunction originFlag(raw: Record<string, unknown>, argv: readonly string[]): { origin?: \"website\" | \"any\" } {\n const from = onlyOnce(raw.from, \"--from\", argv) ?? \"any\";\n if (from === \"any\") return { origin: \"any\" };\n if (from === \"api\") return {};\n if (from === \"pixel\") return { origin: \"website\" };\n throw new ConversionArgsError(\n `--from is any, pixel or api; got \"${from}\". any — the default — uploads the event whichever door it arrives by, once when the pixel and the API both report it with the same event id; pixel only what Baker's pixel sent from the client's website; api only what the API or an integration sent.`,\n );\n}\n\n/** A short id a person can type, when the caller did not choose one. */\nfunction sendIdFor(now: number): string {\n return `s${now.toString(36).slice(-5)}`;\n}\n\n/**\n * The request body, validated against the shared schema here rather than only\n * on the server, so a malformed send is named before a round trip.\n */\nexport function sendsWrite(args: SendsArgs): SendsRequest {\n const body = {\n ...(args.set === undefined ? {} : { set: [args.set] }),\n ...(args.remove === undefined ? {} : { remove: [args.remove] }),\n ...(args.days === undefined ? {} : { days: args.days }),\n ...(args.uploads === undefined ? {} : { uploads: args.uploads }),\n ...(args.failedOnly === undefined ? {} : { failedOnly: args.failedOnly }),\n ...(args.skippedOnly === undefined ? {} : { skippedOnly: args.skippedOnly }),\n ...(args.history === undefined ? {} : { history: args.history }),\n ...(args.platform === undefined ? {} : { platform: args.platform }),\n };\n const parsed = sendsRequestSchema.safeParse(body);\n if (!parsed.success) {\n const issue = parsed.error.issues[0];\n throw new ConversionArgsError(\n `That send cannot be staged — ${issue?.path.join(\".\") || \"set\"}: ${issue?.message ?? \"invalid\"}. Run \\`baker schema analytics.sends\\` for the exact shape.`,\n );\n }\n return parsed.data;\n}\n\n/**\n * What to print. Compact by default: the sends with their outcomes, the\n * platforms with the tags that can send (where a `tagId` is copied from), and\n * the system events that can be sent. `carries` — every field a send forwards\n * — is the same list every time, so it is behind `--full`. A send's history is\n * the day it was set up and the day its integration was removed; the instants\n * are behind `--full`.\n */\nexport function sendsView(response: SendsResponse, full: boolean, platform?: SendPlatform): Record<string, unknown> {\n const data = platform === undefined ? response.data : onlyTo(response.data, platform);\n const { carries, templateFields, history, ...rest } = data;\n return {\n ok: true,\n data: {\n ...rest,\n ...(history === undefined ? {} : { history: history.map((row) => historyView(row, full)) }),\n ...(full ? { carries, templateFields } : {}),\n },\n ...(response.hints && response.hints.length > 0 ? { hints: response.hints } : {}),\n };\n}\n\ntype SendsData = SendsResponse[\"data\"];\n\n/**\n * The read narrowed to one destination: its sends, live and staged, its\n * platform row and parameters, and each event's match on it alone. The\n * events themselves stay — any of them can be sent there.\n */\nfunction onlyTo(data: SendsData, platform: SendPlatform): SendsData {\n const sends = data.sends.filter((send) => send.platform === platform);\n const ids = new Set(sends.map((send) => send.id));\n const pick = (counts: Record<string, number>) => (platform in counts ? { [platform]: counts[platform] ?? 0 } : {});\n return {\n ...data,\n sends,\n ...(data.staged === undefined\n ? {}\n : {\n staged: {\n set: data.staged.set.filter((send) => send.platform === platform),\n remove: data.staged.remove.filter((id) => ids.has(id)),\n },\n }),\n platforms: data.platforms.filter((row) => row.platform === platform),\n parameters: data.parameters.filter((row) => row.platform === platform),\n events: data.events.map((event) =>\n event.match === undefined\n ? event\n : {\n ...event,\n match: { ...event.match, platforms: pick(event.match.platforms), withheld: pick(event.match.withheld) },\n },\n ),\n ...(data.history === undefined ? {} : { history: data.history.filter((row) => ids.has(row.sendId)) }),\n };\n}\n\ntype SendHistoryRow = NonNullable<SendsResponse[\"data\"][\"history\"]>[number];\n\nfunction historyView(row: SendHistoryRow, full: boolean): Record<string, string> {\n const at = (ms: number) => new Date(ms).toISOString();\n const removed = row.integrationRemovedAt;\n if (full) {\n return {\n sendId: row.sendId,\n createdAt: at(row.createdAt),\n ...(removed === undefined ? {} : { integrationRemovedAt: at(removed) }),\n };\n }\n return {\n sendId: row.sendId,\n setUpOn: at(row.createdAt).slice(0, 10),\n ...(removed === undefined ? {} : { integrationRemovedOn: at(removed).slice(0, 10) }),\n };\n}\n\nconst args = {\n set: {\n type: \"boolean\",\n description:\n \"Stage a send, described by --source-event, --platform, --tag and --event. It applies when this chat is published, and from then on every event arriving under that key is uploaded to the platform and spends ad budget — say so to the client, never that it is a preview\",\n required: false,\n },\n \"source-event\": {\n type: \"string\",\n description:\n \"The event to send, by key — one of `events[].eventKey` from a plain `baker analytics sends`: a Source's own event (page:<source name>), or a named event the client's server posts. A Form's or a page's event is refused: the page's own pixels and the Form's side effects already send those\",\n required: false,\n },\n from: {\n type: \"string\",\n description:\n \"Which door's events the send uploads: `any` (default) — the event whichever door it arrives by, uploaded once when the pixel and the API both report it with the same event id; `pixel` — only what Baker's pixel sent from the client's own website (an `events[]` row with origin `website`); `api` — only what the client's server posted or an integration like HubSpot sent\",\n required: false,\n },\n platform: {\n type: \"string\",\n description: `Where it goes: one of ${SEND_PLATFORMS.join(\", \")}. With --set, the send's destination; without it, narrows the read to that platform's sends (live and staged), its tags, parameters and each event's match there — \\`baker analytics sends --platform meta\\``,\n required: false,\n },\n tag: {\n type: \"string\",\n description:\n \"The tag on Tracking that sends it. COPY the id from `platforms[].tags[].tagId` in the response — it is only listed there when the tag holds its server credential, and one typed from memory is refused\",\n required: false,\n },\n event: {\n type: \"string\",\n description:\n 'What the platform calls it — `platforms[].eventMeans` says what each one takes: a Meta or Google Analytics event name (Purchase, Lead, generate_lead), a Google Ads conversion action id copied from `platforms[].conversionActions`, or the conversion label the person gives you (staged as its id; never type an id: one the account does not hold is refused), a LinkedIn conversion rule id, an X event tag id. On Meta and Google Analytics it may be WRITTEN FROM THE EVENT with the same {{path}} mentions --parameter takes: --event {{properties.plan}} sends each event under the plan it carries, --event \"Purchase {{properties.tier}}\" mixes text and a field. An event carrying nothing there is not uploaded. Google Ads, LinkedIn and X take an id THEY issued, so a template is refused there — pass what varies as a --parameter instead. For a GOOGLE ADS id, list the account\\'s conversion actions first and pick by name — `baker ads google query \"SELECT conversion_action.id, conversion_action.name, conversion_action.primary_for_goal FROM conversion_action WHERE conversion_action.status = \\'ENABLED\\'\"` — never guess: Google accepts an upload against an id the account does not hold and files it against nothing',\n required: false,\n },\n account: {\n type: \"string\",\n description: \"LinkedIn only: the ad account the conversion rule belongs to\",\n required: false,\n },\n parameter: {\n type: \"string\",\n description:\n \"<name>=<template>, repeatable, with --set: an EXTRA parameter the platform receives with every upload, beyond who, the click and the amount — Meta's custom_data (content_name, content_category, or your own), a GA4 event parameter, a Google Ads custom variable (must exist in the account), X's contents (content_name, num_items…); LinkedIn takes none. The template is text with {{path}} mentions over the event: its own properties as {{properties.<key>}} (a HubSpot event's --field properties.<key> rows, a server event's `properties`), and the fields `templateFields` lists (--full): value, value_currency, event_name, page_path, city, country, gclid… Example: --parameter content_name={{properties.plan}} --parameter content_category=hubspot. `parameters[]` in the response says what each platform takes\",\n required: false,\n },\n uploads: {\n type: \"string\",\n description:\n \"The id of a send (`sends[].id`) whose uploads to list, newest first over --days: which event went, when, `outcome` (success | failed | pending | skipped) and in `error` what a skipped event was missing, or why a failed one failed — a platform's code followed by its own words after the colon (auth_failed, invalid_token, invalid_event, invalid_parameter, bad_request) when the platform refused it (ChatGPT Ads' refusal is its own answer as it gave it, often JSON, with no code in front), or one of Baker's own codes (strict_denied, blocked_by_gpc, no_matchable_identifier, no_identifier, event_too_old, or a setup code such as tag_not_found; analytics.md lists them) when Baker refused it before sending and the platform never received it — the rows behind `sends[].outcome`. With --failed, only the refused ones; with --skipped, only the skipped ones\",\n required: false,\n },\n failed: {\n type: \"boolean\",\n description: \"With --uploads: only the failed uploads — refused by the platform, or by Baker before sending\",\n required: false,\n },\n skipped: {\n type: \"boolean\",\n description:\n \"With --uploads: only the events the send never uploaded because they carried nothing the platform matches a person by — each `error` names what was missing (a Meta click id or cookie, an email, a gclid…)\",\n required: false,\n },\n history: {\n type: \"boolean\",\n description:\n \"Also return `history[]`: the day each live send was set up (`setUpOn`) and, when an integration named after its event was removed since, the day it was (`integrationRemovedOn`) — read it before removing or explaining a send whose event no longer arrives. --full gives the instants\",\n required: false,\n },\n id: {\n type: \"string\",\n description:\n \"The send's id, when changing one that exists (`sends[].id` for a live one, `staged.set[].id` for one staged in this chat, like s1). Left out, a new id is minted and a NEW send is staged — so re-running a --set you already ran is refused, naming the send it would duplicate\",\n required: false,\n },\n remove: {\n type: \"string\",\n description: \"The id of a send to stop, from `sends[].id`. Staged like a set: it stops when the chat is published\",\n required: false,\n },\n days: {\n type: \"string\",\n description: \"How many days the outcome beside each send covers (default 30, up to 400)\",\n required: false,\n },\n full: {\n type: \"boolean\",\n description:\n \"Also return `carries` and `templateFields`: every field a send forwards and a template may read, the same for every send; with --history, the exact instants\",\n required: false,\n },\n} as const;\n\nregisterSchema({\n command: \"analytics.sends\",\n routes: [\"POST /api/analytics/sends\"],\n effect: \"stage\",\n description: \"Read where this company's system events are sent, or stage a change\",\n args,\n});\n\nexport const sendsCommand = defineCommand({\n meta: {\n name: \"sends\",\n description: `Where this company's SYSTEM EVENTS are sent — Meta, Google Ads, LinkedIn, X, Google Analytics — and what happened to each upload. A send belongs to an event one of the client's own systems raises, by key: page:deal_won from HubSpot → Meta Purchase means every \"deal_won\" HubSpot reports is uploaded to Meta with who the person is, the click that brought them and the amount forwarded automatically. There is nothing to map. What happens on a page or in a Form is never sent from here — the page's pixels and the Form's own side effects do that — and a send is never set on a funnel step: the step reads the sends of the events behind its ways in.\n\nStart here:\n baker analytics sends — the sends in effect, each with its outcome; the platforms and the tags that can send; the system events (events[]) that can be sent\n baker analytics sends --set --source-event page:deal_won --platform meta --tag <tagId> --event Purchase\n baker analytics sends --set --source-event page:deal_won --platform googleAds --tag <tagId> --event 987654321\n baker analytics sends --set --source-event page:deal_won --platform meta --tag <tagId> --event Purchase --parameter content_name={{properties.plan}}\n baker analytics sends --set --source-event page:lead_completed_step_2 --platform meta --tag <tagId> --event Lead — an event the pixel and/or the API send; uploaded once per event id\n baker analytics sends --set --source-event page:deal_won --platform meta --tag <tagId> --event {{properties.plan}} — a Meta event named after what each one carries\n baker analytics sends --remove s1 — stop one\n baker analytics sends --platform meta — only what goes to Meta: its sends, tags, parameters and each event's match there\n baker analytics sends --days 7 — outcomes over the last week\n baker analytics sends --uploads s1 --failed — the refused uploads, each with the event and why: the platform's own words, or Baker's code when it never left Baker\n baker analytics sends --uploads s1 --skipped — the events never uploaded, each with what the platform needed and they lacked\n baker analytics sends --history — when each send was set up, and whether the integration its event came from was removed\n\nThree things to hold on to:\n it is STAGED — a set or a remove lands when this chat is published, and from then on it SPENDS AD BUDGET on every \"<event>\" that arrives. Tell the client that plainly; never call a published send a preview.\n the tagId is COPIED — from \\`platforms[].tags\\` in the response, which lists only the tags on Tracking that hold their server credential. One typed from memory is refused; each platform says \\`canSend\\`, and one that cannot says what to add on Tracking (\\`platforms[].setupHint\\`).\n the outcome is what happened — \\`sends[].outcome\\` counts what was sent, what failed and why (\\`lastError\\`: the platform's words, or Baker's own code when Baker refused the upload before sending), and what was SKIPPED: an event carrying nothing the platform matches a person by is never uploaded (Meta: a Meta click id or cookie, an email or your own customer id; Google Ads: gclid, wbraid, gbraid, an email or a phone; LinkedIn: li_fat_id or an email; X: twclid or an email; Google Analytics: nothing), counted in \\`skipped\\` with \\`lastSkipReason\\`.\n check the MATCH before staging — \\`events[].match\\` says, for the last 30 days of each event, how many arrived, how many each platform could match, and how many it could but the cookie consent setting keeps from it (\\`withheld\\`). A send to a platform matching 0 of 14, none withheld, skips all 14: say so to the client, and ask for the click id or the email to be sent with the event instead. A withheld event already carries the identifier, so ask for the person's choice to be sent with it (\\`consent.marketing: granted\\`), or another setting — never more identifiers. \"Nothing sent yet\" means no event under that name has fired since the send was set. \\`--uploads <id>\\` lists the rows behind the count, \\`--failed\\` only the refused ones — read it before telling a client a send \"failed\".\n a Meta or GA4 event name can be WRITTEN FROM THE EVENT — \\`--event {{properties.plan}}\\` sends each event under its own plan, so one Source covers every value instead of one Source, one send and one conversion action per value. Only where the platform takes a name of your own: Google Ads, LinkedIn and X take an id they issued and refuse a template.\n extra parameters are optional — \\`--parameter <name>=<template>\\` adds what the platform receives beyond who, the click and the amount: \\`{{properties.<key>}}\\` reads a property the event carries (a HubSpot event's \\`--field properties.<key>\\` rows), \\`{{value}}\\`, \\`{{page_path}}\\`, \\`{{city}}\\`… read the event's fields. \\`parameters[]\\` in the response says what each platform takes and the names it knows; LinkedIn takes none.\n\nAn empty \\`events[]\\` means none of the client's systems sends an event yet and there is nothing to send: make a Source with \\`baker analytics sources\\` (a HubSpot event, or the server's address), then send its event.`,\n },\n args,\n run: async ({ args: raw }) => {\n try {\n const parsed = parseSendsArgs(raw as Record<string, unknown>, process.argv);\n const response = await apiPost<SendsResponse>(\"/api/analytics/sends\", sendsWrite(parsed));\n writeJsonEnvelope(sendsView(response, parsed.full, parsed.platform));\n } catch (err) {\n handleError(err);\n }\n },\n});\n\nfunction handleError(err: unknown): never {\n if (err instanceof ConversionArgsError) {\n writeJsonEnvelope({ ok: false, error: { code: \"VALIDATION_ERROR\", message: err.message } });\n process.exit(1);\n }\n if (err instanceof ApiError) {\n writeJsonEnvelope({ ok: false, error: { code: err.code, message: err.message } });\n process.exit(1);\n }\n writeJsonEnvelope({\n ok: false,\n error: { code: \"NETWORK_ERROR\", message: err instanceof Error ? err.message : \"Unexpected error\" },\n });\n process.exit(1);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,SAAS,qBAAqB;AA8B9B,IAAM,YAAY,CAAC,kBAAkB,cAAc,SAAS,SAAS;AAM9D,SAAS,eAAe,KAA8B,MAAyB,MAAM,KAAK,IAAI,GAAc;AACjH,QAAM,MAAM,cAAc,KAAK,MAAM,GAAG;AACxC,QAAM,WAAW,QAAQ,SAAY,aAAa,KAAK,IAAI,IAAI;AAC/D,QAAM,SAAS,SAAS,IAAI,QAAQ,YAAY,IAAI;AACpD,MAAI,aAAa,UAAa,WAAW,QAAW;AAClD,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEA,QAAM,OAAO,IAAI,SAAS,SAAY,SAAY,OAAO,IAAI,IAAI;AACjE,MAAI,SA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EAChB;AACA,oBAAkB;AAAA,IAChB,IAAI;AAAA,IACJ,OAAO,EAAE,MAAM,iBAAiB,SAAS,eAAe,QAAQ,IAAI,UAAU,mBAAmB;AAAA,EACnG,CAAC;AACD,UAAQ,KAAK,CAAC;AAChB;","names":["args"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/analytics/sources.ts"],"sourcesContent":["import { REJECTION_MESSAGES, validateEventName } from \"@baker/api/event-ingest\";\nimport {\n HUBSPOT_DEAL_CONTACTS,\n HUBSPOT_OBJECTS,\n type HubspotDealContacts,\n type HubspotObject,\n hubspotDefaultMapping,\n hubspotTriggerInputSchema,\n mappingRowProblem,\n readsAssociatedContact,\n SOURCE_FIELD_NAMES,\n type SourcesRequestInput,\n type SourcesResponse,\n templateMentions,\n} from \"@baker/api/event-sources\";\nimport { defineCommand } from \"citty\";\nimport { ApiError, apiPost } from \"../../client.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { writeJsonEnvelope } from \"../ads/output.ts\";\nimport { hubspotRefusal } from \"../hubspot/refusal.ts\";\nimport { ConversionArgsError, onlyOnce } from \"./conversionArgs.ts\";\n\n/**\n * `baker analytics sources` — an address for each of the client's own tools to\n * send events to, and what each one's payloads are read as.\n *\n * ## Why a URL and not a key\n *\n * `POST /v1/events` needs the sender to write code to our contract. A CRM's\n * webhook, an automation platform, a billing system cannot be told what to\n * send — they post what they post, to a URL, and set nothing else. A source\n * is that URL: the token in it is the whole credential, the first send\n * teaches Baker the shape, and a person confirms once which path is the\n * email, which the amount. From then on every arrival is an ordinary event.\n *\n * ## `--field` and `--value` repeat, and citty keeps only the last\n *\n * citty hands the LAST value of a repeated flag over as a plain string, so\n * `--field email=a --field value=b` would map `value` and silently drop\n * `email`, and `--value lead --value customer` would watch `customer` alone.\n * Both are read off `process.argv` instead, the way `conversions` reads its\n * repeats.\n */\n\nconst args = {\n server: {\n type: \"boolean\",\n description:\n \"The client's own server door: one address for their developers, made once and the same for ever after, counting at once in Baker's own format (`baker analytics sending-events` has the contract). Prints it; nothing else to set\",\n required: false,\n },\n create: {\n type: \"boolean\",\n description:\n \"Make an address for a tool that cannot be told what to send (a CRM webhook, an automation step). Needs --name. Its first send is kept as a sample and counted as nothing until --map\",\n required: false,\n },\n \"create-hubspot\": {\n type: \"boolean\",\n description:\n \"Make a HubSpot event: HubSpot keeps each change to --property for Baker (Baker's app subscribes the account to that property with the condition as HubSpot's own filter, and nothing else), and every contact whose new value satisfies --operator --value is an event, counted within a minute. Needs --property (names, kinds and operators from `baker hubspot contacts properties`); --operator defaults to `is`; --value repeats for a list (`is` on a dropdown) or a between; --name is optional and defaults to the trigger's words; --field rows (names from `baker hubspot contacts fields`) replace the default rows they name. Counts from now on, never earlier contacts\",\n required: false,\n },\n \"create-activecampaign\": {\n type: \"boolean\",\n description:\n \"Make an ActiveCampaign event source: when this chat is published, ActiveCampaign's own webhook is set up on the account to send --events here, and each one counts as `activecampaign.<event>` (a contact subscribing is `activecampaign.subscribe`) from then on — a scheduled agent can run on any of them (`baker scheduled-agents create --trigger event.received --event activecampaign.deal_update`). --events defaults to subscribe,contact_tag_added,deal_add,deal_update; --name to ActiveCampaign; --account picks the connection when there are several. Removing the source takes the webhook off the account\",\n required: false,\n },\n events: {\n type: \"string\",\n description:\n \"With --create-activecampaign: ActiveCampaign's events, comma-separated — subscribe, unsubscribe, update, contact_tag_added, contact_tag_removed, subscriber_note, contact_task_add, sent, open, click, reply, forward, share, bounce, list_add, deal_add, deal_update, deal_note_add, deal_task_add, deal_task_complete, deal_pipeline_add, deal_stage_add, deal_tasktype_add, account_add, account_update, account_contact_add, account_contact_update\",\n required: false,\n },\n account: {\n type: \"string\",\n description:\n \"With --create-activecampaign: which ActiveCampaign connection, by id, when the company has more than one (the refusal lists them)\",\n required: false,\n },\n \"set-trigger\": {\n type: \"boolean\",\n description:\n \"Change what a HubSpot event watches. Needs --source and the same --property --operator --value as --create-hubspot. The rows stay; it counts from now on under the new trigger\",\n required: false,\n },\n preview: {\n type: \"boolean\",\n description:\n \"Ask HubSpot what --property --operator --value would count today, and read one real contact — the one most recently there, or --contact — with the properties the --field rows mention (the defaults when none), to check every row against real data BEFORE --create-hubspot. Makes nothing\",\n required: false,\n },\n breakdown: {\n type: \"boolean\",\n description:\n \"With --preview on one dropdown --property (operator `is`) and several --value: also a total for each value, as `preview.counts: [{value, total}]` — sizing every stage of a funnel in one call: `--preview --object deal --property dealstage --value appointmentscheduled --value closedwon --breakdown`. Never loop --preview over values\",\n required: false,\n },\n object: {\n type: \"string\",\n description:\n \"With --create-hubspot or --preview: what the trigger is on — `contact` (the default), `deal` or `lead`. A deal's and a lead's event is about the contact the record is associated with: its rows read the record's own properties bare ({{amount}}, {{dealstage}}, {{hs_pipeline_stage}}) and the contact's as {{contact.<name>}} (`baker hubspot deals fields` / `baker hubspot leads fields`). A deal's amount defaults to its own amount in its currency; a lead has none, so it counts the step rather than money. Use `lead` for qualification and disqualification — HubSpot records both as a lead stage, and nothing on the contact or the deal says a lead was disqualified\",\n required: false,\n },\n contacts: {\n type: \"string\",\n description:\n \"With --object deal or --object lead (on --create-hubspot or --set-trigger): whose event it is — `every` (the default: every contact on the record, each its own event; on a deal each worth the deal's amount) or `first` (the record's first contact only)\",\n required: false,\n },\n property: {\n type: \"string\",\n description:\n \"With --create-hubspot, --set-trigger or --preview: the property to watch, by HubSpot's internal name (lifecyclestage, hs_lead_status, a custom one on a contact; dealstage, amount, closedate on a deal; hs_pipeline_stage, hs_lead_label on a lead) — any property, whatever its kind\",\n required: false,\n },\n operator: {\n type: \"string\",\n description:\n \"With --property: how the property has to read. By the property's kind — select: is, isNot, isEmpty, isNotEmpty · text: is, isNot, contains, doesNotContain, startsWith, endsWith, isEmpty, isNotEmpty · number: equal, notEqual, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual, isEmpty, isNotEmpty · date: is, isBefore, isAfter, isOnOrBefore, isOnOrAfter, isBetween, isEmpty, isNotEmpty · yes/no: is, isNot. `is` when unsaid\",\n required: false,\n },\n value: {\n type: \"string\",\n description:\n \"With --property: the value, as HubSpot spells it — a dropdown's internal value (customer, QUALIFIED…), a number, a YYYY-MM-DD, true/false. Repeat it for a list (--value lead --value customer) or the two ends of isBetween; none for isEmpty / isNotEmpty\",\n required: false,\n },\n conditions: {\n type: \"string\",\n description:\n 'With --create-hubspot, --set-trigger or --preview, instead of --property/--operator/--value: several conditions combined the way a Form\\'s filter combines them, as JSON — `{\"logic\":\"And\",\"conditions\":[{\"property\":\"lifecyclestage\",\"values\":[\"customer\"]},{\"logic\":\"Or\",\"conditions\":[{\"property\":\"country\",\"values\":[\"Spain\"]},{\"property\":\"amount\",\"operator\":\"greaterThan\",\"values\":[\"1000\"]}]}]}`. `logic` is And (every row) or Or (any row); a row is a condition or a group with its own logic, one level deep; at most 10 conditions. The event fires when a change to any named property makes the whole combination hold',\n required: false,\n },\n contact: {\n type: \"string\",\n description:\n \"With --preview: the record to draw the sample from — a HubSpot id, or text to search (an email or a name for a contact, a deal's or a lead's name). The one most recently satisfying the trigger when unsaid\",\n required: false,\n },\n \"amount-property\": {\n type: \"string\",\n description:\n \"With --create-hubspot or --set-amount: a NUMBER property of the watched object to read as the event's amount (a deal value synced onto the contact; a deal's own `amount` is read by default on a deal). Needs --currency beside it\",\n required: false,\n },\n currency: {\n type: \"string\",\n description: \"With --amount-property: the three-letter currency the property is in, like EUR or USD\",\n required: false,\n },\n \"set-amount\": {\n type: \"boolean\",\n description:\n \"Change where a HubSpot-read source takes its amount from. Needs --source; with --amount-property and --currency it reads them, with neither it stops reading an amount\",\n required: false,\n },\n backfill: {\n type: \"boolean\",\n description:\n \"Count a HubSpot event's history: every moment its trigger came to hold since --since, at the instant HubSpot says it did. Needs --source and --since. Nothing is invented — a record that merely satisfies the trigger today is not an event today, and only moments HubSpot has a timestamp for are counted. Dry without --write. Reach for it when an event was made after the deals it should have counted, or after fixing one that was refusing everything it received\",\n required: false,\n },\n since: {\n type: \"string\",\n description:\n \"With --backfill: the date to count this event's history from, `2026-09-19` or an ISO instant. At most 400 days back — the store keeps no more\",\n required: false,\n },\n before: {\n type: \"string\",\n description:\n \"With --backfill: carry on from where a capped run stopped, by passing back the `reachedBack` it returned. One run reads at most 500 records, most recently changed first, so a capped run has covered the newest and the rest are the ones nearest --since — narrowing --since cannot reach them, this can. Repeat until `capped` is false; nothing is counted twice. It bounds which records are read, never which of their moments count: those are still the whole of --since to now\",\n required: false,\n },\n write: {\n type: \"boolean\",\n description:\n \"With --backfill: actually count what it found. Without it nothing is counted and the answer says what would be. Events inside the last 72 hours are uploaded to this event's ad platforms within minutes of counting, which spends real budget\",\n required: false,\n },\n name: {\n type: \"string\",\n description:\n \"The tool the source is for — HubSpot, Zapier, Stripe. It is the event's name when the payload does not say one, and every event it sends carries it as `baker_source`\",\n required: false,\n },\n map: {\n type: \"boolean\",\n description:\n \"Set what each field is read from. For an address this starts counting; needs --source, and one --field per row. With no --field the guess is used, which is right for a tool already sending Baker's own format. For a HubSpot-read source it replaces the whole mapping (the row list is on the source as `mapping`; empty means HubSpot's standard properties), so repeat every row you want kept\",\n required: false,\n },\n source: { type: \"string\", description: \"The source id, from the list\", required: false },\n field: {\n type: \"string\",\n description: `<field>=<template>, repeatable. A template is text with {{path}} mentions, one thing per mention: --field email={{contact.email}} --field currency=EUR --field first_name=\"{{who.first}} {{who.last}}\". A bare path (--field email=contact.email) is read as its mention when the sample has that path, so the short spelling still works. Fields: ${SOURCE_FIELD_NAMES.join(\", \")}. An EXTRA PROPERTY of the event — a plan, a stage, anything Measure → Events should break it down by and a send may pass on to a platform — is --field properties.<name>=<template>, e.g. --field properties.plan={{plan_tier}}. Paths come from \\`paths\\` on the source's sample; for a HubSpot event they are contact property names (\\`baker hubspot contacts fields\\`) plus \\`id\\` for the contact id`,\n required: false,\n },\n pause: {\n type: \"boolean\",\n description: \"Stop counting a source's arrivals; they are answered and dropped. Needs --source\",\n required: false,\n },\n resume: { type: \"boolean\", description: \"Count a paused source's arrivals again. Needs --source\", required: false },\n remove: {\n type: \"boolean\",\n description: \"Delete a source; its address stops working at once. Needs --source\",\n required: false,\n },\n full: {\n type: \"boolean\",\n description:\n \"Also return each source's masked sample body. The paths and the guess are always returned; the body is only for reading what a path held\",\n required: false,\n },\n} as const;\n\nregisterSchema({\n command: \"analytics.sources\",\n routes: [\"POST /api/analytics/sources\"],\n effect: \"write\",\n description:\n \"Where events reach Baker from a server: the client's own server door, HubSpot events Baker reads, and ActiveCampaign events its webhook sends — what each one watches and reads, and how it is doing\",\n args,\n});\n\n/** The value a repeated flag carries at this position, in either spelling, or nothing. */\nfunction flagValueAt(argv: readonly string[], flag: string, index: number): string | undefined {\n const arg = argv[index] ?? \"\";\n if (arg === flag) return argv[index + 1];\n return arg.startsWith(`${flag}=`) ? arg.slice(flag.length + 1) : undefined;\n}\n\n/** Every value of a repeated flag on the command line, in order. */\nexport function parseRepeated(argv: readonly string[], flag: string): string[] {\n const values: string[] = [];\n for (let index = 0; index < argv.length; index += 1) {\n const value = flagValueAt(argv, flag, index);\n if (value !== undefined) values.push(value);\n }\n return values;\n}\n\n/** Every `--field k=v` on the command line, in order, refusing a malformed one. */\nexport function parseFieldArgs(argv: readonly string[]): Record<string, string> {\n const mapping: Record<string, string> = {};\n for (const pair of parseRepeated(argv, \"--field\")) {\n const eq = pair.indexOf(\"=\");\n const field = eq === -1 ? pair : pair.slice(0, eq);\n const path = eq === -1 ? \"\" : pair.slice(eq + 1).trim();\n const problem = mappingRowProblem(field);\n if (problem !== null) throw new ConversionArgsError(problem);\n if (path === \"\") throw new ConversionArgsError(`--field ${field} needs a path: --field ${field}=<dotted.path>.`);\n mapping[field] = path;\n }\n return mapping;\n}\n\n/** The amount pair, which travels together or not at all. */\nfunction amountArgs(raw: Record<string, unknown>, argv: readonly string[]) {\n const amountProperty = onlyOnce(raw[\"amount-property\"], \"--amount-property\", argv);\n const currency = onlyOnce(raw.currency, \"--currency\", argv);\n if ((amountProperty === undefined) !== (currency === undefined)) {\n throw new ConversionArgsError(\"--amount-property and --currency go together: name both or neither.\");\n }\n return {\n ...(amountProperty === undefined ? {} : { amountProperty }),\n ...(currency === undefined ? {} : { currency }),\n };\n}\n\nconst NO_VALUE_OPERATORS = new Set([\"isEmpty\", \"isNotEmpty\"]);\n\n/**\n * The trigger every HubSpot verb needs: the property, how it has to read,\n * and the values — repeated on the command line, read off argv. Refused with\n * where the names come from; what the property's kind allows is checked\n * against the account by the backend.\n */\nfunction triggerArgs(raw: Record<string, unknown>, argv: readonly string[], verb: string): TriggerInput {\n const conditions = onlyOnce(raw.conditions, \"--conditions\", argv);\n if (conditions !== undefined) return conditionsArg(conditions, raw, verb);\n const property = onlyOnce(raw.property, \"--property\", argv);\n const operator = onlyOnce(raw.operator, \"--operator\", argv) ?? \"is\";\n // The last --value is what citty kept; every one is what was typed.\n const values = argv.length === 0 && typeof raw.value === \"string\" ? [raw.value] : parseRepeated(argv, \"--value\");\n if (property === undefined) {\n throw new ConversionArgsError(\n `--${verb} needs --property <name> [--operator <op>] --value <value>…, from \\`baker hubspot contacts properties\\`.`,\n );\n }\n if (values.length === 0 && !NO_VALUE_OPERATORS.has(operator)) {\n throw new ConversionArgsError(\n `--${verb} needs --value <value> (repeat it for a list); only --operator isEmpty / isNotEmpty take none.`,\n );\n }\n return { property, operator, values };\n}\n\ntype TriggerInput = NonNullable<SourcesRequestInput[\"createHubspot\"]>[\"trigger\"];\n\n/** `--conditions <json>`: a combination, checked for shape here so a typo is refused before the call. */\nfunction conditionsArg(text: string, raw: Record<string, unknown>, verb: string): TriggerInput {\n if (raw.property !== undefined || raw.value !== undefined || raw.operator !== undefined) {\n throw new ConversionArgsError(`--${verb} takes --conditions or --property/--operator/--value, not both.`);\n }\n let parsed: unknown;\n try {\n parsed = JSON.parse(text);\n } catch {\n throw new ConversionArgsError(\n '--conditions is JSON: {\"logic\":\"And\",\"conditions\":[{\"property\":\"lifecyclestage\",\"values\":[\"customer\"]}]}.',\n );\n }\n const checked = hubspotTriggerInputSchema.safeParse(parsed);\n if (!checked.success) {\n throw new ConversionArgsError(`--conditions: ${checked.error.issues.map((issue) => issue.message).join(\"; \")}`);\n }\n return parsed as TriggerInput;\n}\n\n/** `--object contact|deal`, spelled the two ways the wire takes and nothing else. */\nfunction objectArg(raw: Record<string, unknown>, argv: readonly string[]): HubspotObject {\n const object = onlyOnce(raw.object, \"--object\", argv) ?? \"contact\";\n if (!(HUBSPOT_OBJECTS as readonly string[]).includes(object)) {\n throw new ConversionArgsError(`--object is one of ${HUBSPOT_OBJECTS.join(\", \")}, not \"${object}\".`);\n }\n return object as HubspotObject;\n}\n\n/** `--contacts first|every`, which only means something on a deal or a lead. */\nfunction contactsArg(raw: Record<string, unknown>, argv: readonly string[]): HubspotDealContacts | undefined {\n const contacts = onlyOnce(raw.contacts, \"--contacts\", argv);\n if (contacts === undefined) return undefined;\n if (!(HUBSPOT_DEAL_CONTACTS as readonly string[]).includes(contacts)) {\n throw new ConversionArgsError(`--contacts is one of ${HUBSPOT_DEAL_CONTACTS.join(\", \")}, not \"${contacts}\".`);\n }\n return contacts as HubspotDealContacts;\n}\n\nfunction createHubspotArgs(\n raw: Record<string, unknown>,\n argv: readonly string[],\n name: string | undefined,\n): NonNullable<SourcesRequestInput[\"createHubspot\"]> {\n const mapping = parseFieldArgs(argv);\n const object = objectArg(raw, argv);\n const contacts = contactsArg(raw, argv);\n if (contacts !== undefined && !readsAssociatedContact(object)) {\n throw new ConversionArgsError(\n \"--contacts says whose event a deal's or a lead's is; it needs --object deal or --object lead.\",\n );\n }\n return {\n // A contact is the wire's default, so it is left unsaid — the way the schema reads it back.\n ...(object === \"contact\" ? {} : { object }),\n trigger: triggerArgs(raw, argv, \"create-hubspot\"),\n ...(contacts === undefined ? {} : { contacts }),\n ...(name === undefined ? {} : { name }),\n ...(Object.keys(mapping).length === 0 ? {} : { mapping }),\n ...amountArgs(raw, argv),\n };\n}\n\n/** What to read off the sample contact: whatever the rows mention, or the default rows' properties. */\nfunction previewArgs(\n raw: Record<string, unknown>,\n argv: readonly string[],\n): NonNullable<SourcesRequestInput[\"preview\"]> {\n const rows = parseFieldArgs(argv);\n const object = objectArg(raw, argv);\n const templates = Object.values(Object.keys(rows).length === 0 ? hubspotDefaultMapping(\"\", object) : rows);\n const properties = [...new Set(templates.flatMap((template) => templateMentions(template ?? \"\")))];\n const contact = onlyOnce(raw.contact, \"--contact\", argv);\n return {\n ...(object === \"contact\" ? {} : { object }),\n trigger: triggerArgs(raw, argv, \"preview\"),\n properties,\n ...(contact === undefined ? {} : { contact }),\n ...(raw.breakdown === true ? { breakdown: true } : {}),\n };\n}\n\nconst VERBS = [\n \"server\",\n \"create\",\n \"create-hubspot\",\n \"create-activecampaign\",\n \"set-trigger\",\n \"preview\",\n \"backfill\",\n \"set-amount\",\n \"map\",\n \"pause\",\n \"resume\",\n \"remove\",\n] as const;\n\n/**\n * The name, refused here when the ingest door could never accept it.\n *\n * A source's name is the `event_name` of every event it raises, so this is\n * not a label being tidied: a name outside the rule makes a source that\n * counts **nothing**, for ever, while `baker analytics sources` goes on\n * listing it as counting and the only trace is one red line per event on the\n * feed. The contract refuses it too (`sourceNameSchema`), but that comes back\n * as a wire-validation error; the agent is better served by the sentence.\n */\nfunction checkedName(raw: Record<string, unknown>, argv: readonly string[]): string | undefined {\n const name = onlyOnce(raw.name, \"--name\", argv);\n if (name === undefined || validateEventName(name) === null) return name;\n throw new ConversionArgsError(\n `\"${name}\" cannot be an event name, and the name is what every event this source raises will carry. ${REJECTION_MESSAGES.invalid_name}`,\n );\n}\n\n/** What a backfill reads back to, and whether it counts what it finds. */\nfunction backfillArgs(\n raw: Record<string, unknown>,\n argv: readonly string[],\n sourceId: string,\n): NonNullable<SourcesRequestInput[\"backfill\"]> {\n const since = onlyOnce(raw.since, \"--since\", argv);\n if (since === undefined) {\n throw new ConversionArgsError(\n \"--backfill needs --since <date>, e.g. --since 2026-09-19. Nothing before it is read.\",\n );\n }\n const before = onlyOnce(raw.before, \"--before\", argv);\n return {\n sourceId,\n since,\n ...(before === undefined ? {} : { before }),\n ...(raw.write === true ? { write: true } : {}),\n };\n}\n\nfunction createActiveCampaignArgs(\n raw: Record<string, unknown>,\n argv: readonly string[],\n name: string | undefined,\n): NonNullable<SourcesRequestInput[\"createActiveCampaign\"]> {\n const events = onlyOnce(raw.events, \"--events\", argv);\n const account = onlyOnce(raw.account, \"--account\", argv);\n return {\n ...(name === undefined ? {} : { name }),\n ...(events === undefined\n ? {}\n : {\n events: events\n .split(\",\")\n .map((item) => item.trim())\n .filter((item) => item !== \"\"),\n }),\n ...(account === undefined ? {} : { account }),\n };\n}\n\n/** The three ways to make a source: an address for a tool, a HubSpot event, ActiveCampaign events. */\nfunction createRequest(\n verb: (typeof VERBS)[number],\n raw: Record<string, unknown>,\n argv: readonly string[],\n name: string | undefined,\n): SourcesRequestInput | null {\n if (verb === \"create\") {\n if (name === undefined) throw new ConversionArgsError(\"--create needs --name <tool>.\");\n return { create: { name } };\n }\n if (verb === \"create-hubspot\") return { createHubspot: createHubspotArgs(raw, argv, name) };\n if (verb === \"create-activecampaign\") return { createActiveCampaign: createActiveCampaignArgs(raw, argv, name) };\n return null;\n}\n\nexport function sourcesRequest(raw: Record<string, unknown>, argv: readonly string[]): SourcesRequestInput {\n const name = checkedName(raw, argv);\n const source = onlyOnce(raw.source, \"--source\", argv);\n const verbs = VERBS.filter((verb) => raw[verb] === true);\n if (verbs.length > 1) throw new ConversionArgsError(`One of --${verbs.join(\", --\")} per call.`);\n const verb = verbs[0];\n if (verb === undefined) return {};\n if (verb === \"server\") return { server: {} };\n const made = createRequest(verb, raw, argv, name);\n if (made !== null) return made;\n if (verb === \"preview\") return { preview: previewArgs(raw, argv) };\n if (source === undefined) throw new ConversionArgsError(`--${verb} needs --source <id>, from the list.`);\n if (verb === \"backfill\") return { backfill: backfillArgs(raw, argv, source) };\n if (verb === \"set-trigger\") {\n const contacts = contactsArg(raw, argv);\n return {\n setTrigger: {\n sourceId: source,\n trigger: triggerArgs(raw, argv, verb),\n ...(contacts === undefined ? {} : { contacts }),\n },\n };\n }\n if (verb === \"set-amount\") return { setAmount: { sourceId: source, ...amountArgs(raw, argv) } };\n if (verb === \"map\") return { map: { sourceId: source, mapping: parseFieldArgs(argv) } };\n return { [verb]: { sourceId: source } };\n}\n\nfunction handleError(err: unknown): never {\n if (err instanceof ApiError) {\n // A HubSpot event needs HubSpot connected, and allowed to read what it watches.\n const refusal = hubspotRefusal(err.code, err.message);\n writeJsonEnvelope({\n ok: false,\n error:\n refusal === null\n ? { code: err.code, message: err.message }\n : { code: refusal.code, message: err.message, fix: refusal.fix },\n });\n process.exit(1);\n }\n writeJsonEnvelope({\n ok: false,\n error: { code: \"NETWORK_ERROR\", message: err instanceof Error ? err.message : \"Unexpected error\" },\n });\n process.exit(1);\n}\n\nexport const sourcesCommand = defineCommand({\n meta: {\n name: \"sources\",\n description:\n 'Where events reach Baker from a server, and what each one reads. Two doors. **The client\\'s own server**: `--server` prints one address for their developers — made once, the same for ever, counting at once, Baker\\'s own `POST /v1/events` format (`baker analytics sending-events` has the contract, `X-Baker-Mode: test` rehearses). **HubSpot events**: HubSpot keeps each change to a watched property in a journal Baker reads every half minute — Baker\\'s app subscribes the account to that one property with the condition as HubSpot\\'s own filter, so an account with a million contacts costs nothing to watch — on every plan, nothing to set up in HubSpot. The trigger is *when a contact\\'s* property satisfies a condition — the same conditions a Form\\'s filters take: `--property lifecyclestage --value customer` (a dropdown; `--value lead --value customer` for either), `--property deal_value --operator greaterThan --value 1000`, `--property email --operator endsWith --value @acme.com`, `--property closed_at --operator isAfter --value 2026-01-01`, `--property phone --operator isEmpty`. Several conditions combine the way a Form\\'s filter does — `--conditions \\'{\"logic\":\"And\",\"conditions\":[{\"property\":\"lifecyclestage\",\"values\":[\"customer\"]},{\"property\":\"country\",\"values\":[\"Spain\"]}]}\\'` (AND / OR, groups one level deep, 10 conditions at most) in place of --property/--operator/--value, on --create-hubspot, --set-trigger and --preview; the event fires when a change to any named property makes the whole combination hold. `baker hubspot contacts properties` lists every property with its kind, the operators that kind takes and a dropdown\\'s values; `baker hubspot contacts fields` every property a row can read. `--preview --property … [--operator …] --value … [--breakdown] [--field …] [--contact <id or email>]` says how many contacts satisfy it today (NOT counted — only contacts that come to satisfy it from now on are), `--breakdown` a total per --value in the same call, and reads one real contact so every row can be checked against real data; then `--create-hubspot --property … --value … --name \"Deal won\" --field email={{work_email}} --field value={{deal_value}} --field currency=EUR` makes the event, rows over the defaults (email, phone, the contact id, name, address, hs_google_click_id, hs_facebook_click_id). `--set-trigger --source <id> --property … --operator … --value …` changes what an event watches later (rows kept, counting from now on). Every row is a template — text with {{property}} mentions, one thing per mention; `--map --source <id> --field …` replaces the whole row set later, `--amount-property <number property> --currency EUR` is the short spelling for the amount rows. Each event is an ordinary event named after the source, carrying `baker_source`, listed by `feed --source <name>`, counted with `conversions` under `page:<name>`, and sent to the ad platforms with `sends`. **ActiveCampaign events**: `--create-activecampaign [--events subscribe,deal_update] [--name …] [--account <id>]` stages a source that the ActiveCampaign webhook sends to once the chat is published; each arrival is an event called `activecampaign.<event>` — whatever the source is called — carrying the contact and the rest of the ActiveCampaign payload as `properties.*` (the stage of a deal, the tag, the campaign), which is what a scheduled agent on `event.received --event activecampaign.<event>` runs on. `--pause`, `--resume`, `--remove` by --source; removing an ActiveCampaign source deletes its webhook. `--create --name <tool>` still makes an address for a tool that cannot be told what to send; its first send is a masked sample counted as nothing until `--map` confirms the rows.',\n },\n args,\n run: async ({ args: raw }) => {\n try {\n const request = sourcesRequest(raw as Record<string, unknown>, process.argv);\n const response = await apiPost<SourcesResponse>(\"/api/analytics/sources\", request);\n const full = raw.full === true;\n const sources = response.data.sources.map((source) => {\n const { sample, ...rest } = source;\n return full || sample === undefined ? source : { ...rest, sample: { receivedAt: sample.receivedAt } };\n });\n writeJsonEnvelope({\n ok: true,\n data: {\n sources,\n ...(response.data.preview === undefined ? {} : { preview: response.data.preview }),\n ...(response.data.staged === undefined ? {} : { staged: response.data.staged }),\n },\n ...(response.hints && response.hints.length > 0 ? { hints: response.hints } : {}),\n });\n } catch (err) {\n if (err instanceof ConversionArgsError) {\n handleError(new ApiError(\"VALIDATION_ERROR\", err.message));\n }\n handleError(err);\n }\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,SAAS,qBAAqB;AA6B9B,IAAM,OAAO;AAAA,EACX,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,yBAAyB;AAAA,IACvB,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,eAAe;AAAA,IACb,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,IACT,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,UAAU;AAAA,IACR,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,UAAU;AAAA,IACR,MAAM;AAAA,IACN,aACE;AAAA,IACF,UAAU;AAAA,EACZ;AAAA,EACA,UAAU;AAAA,IACR,MAAM;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e,qBAAqB;AACtC,oBAAY,IAAI,SAAS,oBAAoB,IAAI,OAAO,CAAC;AAAA,MAC3D;AACA,kBAAY,GAAG;AAAA,IACjB;AAAA,EACF;AACF,CAAC;","names":["verb"]}
|
package/dist/web-6SLCQG45.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/research/web.ts"],"sourcesContent":["import type { ResearchDeepResearchPollResponse, ResearchWebResponse, ResearchWebSource } from \"@baker/api\";\nimport { defineCommand } from \"citty\";\nimport { ApiError, apiGet, apiPost } from \"../../client.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { webDepthHints, webSourceHints } from \"./hints.ts\";\nimport {\n type ListResult,\n namedBy,\n RESEARCH_LIST_CONCURRENCY,\n RESEARCH_LIST_MAX,\n readEach,\n refuseLongList,\n writeResearchList,\n} from \"./list-input.ts\";\nimport { handleResearchError, writeResearchHints, writeResearchJson } from \"./output.ts\";\n\nregisterSchema({\n command: \"research.web\",\n routes: [\n \"POST /api/research/explore\",\n \"POST /api/research/deep-research/start\",\n \"GET /api/research/deep-research/poll\",\n ],\n effect: \"read_live\",\n description:\n \"Search the web with AI to answer marketing questions — competitors, ICP, pricing, pain points, market trends. Each source is the page itself plus the part of the answer it backs. Depths: medium (a fast model, quick, default), high (the same model thinking longer — not a stronger model), xhigh (a deep-research agent, minutes).\",\n args: {\n question: {\n type: \"string\",\n description:\n \"The research question to answer using live web data. Several quoted questions (up to 30, or 10 at --depth xhigh) are answered at once in one call, one entry per question — never a shell loop or background jobs\",\n required: true,\n },\n depth: {\n type: \"string\",\n description: \"Research depth: medium (quick), high (thorough), xhigh (exhaustive). Default: medium\",\n required: false,\n enum: [\"medium\", \"high\", \"xhigh\"],\n },\n },\n});\n\ntype Depth = \"medium\" | \"high\" | \"xhigh\";\n\nconst TIMEOUT_MS: Record<Depth, number> = {\n medium: 180_000,\n high: 360_000,\n xhigh: 900_000,\n};\n\n// An older backend sends sources without `resolved`/`cites`; read both as optional.\ntype WebSource = Pick<ResearchWebSource, \"title\" | \"url\"> & Partial<Pick<ResearchWebSource, \"resolved\" | \"cites\">>;\ntype WebResult = Omit<ResearchWebResponse, \"sources\"> & { sources: WebSource[] };\n\nconst FIELDS: Record<string, string> = {\n answer: \"AI-generated research answer (markdown)\",\n sources:\n \"Array of {title, url, resolved, cites}: url is the page Google read; cites are the parts of the answer that page backs (verbatim). resolved:false = an opaque Google link that could not be followed — do not cite it\",\n};\n\n/** `--output md`: the answer, then each page with the claims it backs; unfollowable links are marked, not linked. */\nexport function webMarkdown(data: WebResult): string {\n const lines = [data.answer];\n if (data.sources.length > 0) {\n lines.push(\"\", \"## Sources\");\n for (const s of data.sources) {\n if (s.resolved === false) {\n lines.push(`- ${s.title} — unresolved Google link, do not cite: ${s.url}`);\n continue;\n }\n lines.push(`- [${s.title}](${s.url})`);\n for (const cite of s.cites ?? []) lines.push(` > \"${cite}\"`);\n }\n }\n return `${lines.join(\"\\n\")}\\n`;\n}\n\n/** `completed`, or `incomplete` — finished but cut short by a budget, so the report's tail may be missing. */\nconst DEEP_RESEARCH_FINISHED = new Set([\"completed\", \"incomplete\"]);\nconst DEEP_RESEARCH_RUNNING = new Set([\"queued\", \"in_progress\"]);\n\nfunction sleep(ms: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n\nasync function runDeepResearch(question: string): Promise<{ data: WebResult; incomplete: boolean }> {\n const { interactionId } = await apiPost<{ interactionId: string }>(\"/api/research/deep-research/start\", { question });\n\n process.stderr.write(`Deep research started (${interactionId}). Polling...\\n`);\n\n const deadline = Date.now() + TIMEOUT_MS.xhigh;\n while (Date.now() < deadline) {\n await sleep(10_000);\n const poll = await apiGet<ResearchDeepResearchPollResponse>(\"/api/research/deep-research/poll\", {\n id: interactionId,\n });\n\n if (DEEP_RESEARCH_FINISHED.has(poll.status) && poll.result) {\n return { data: poll.result, incomplete: poll.status === \"incomplete\" };\n }\n if (!DEEP_RESEARCH_RUNNING.has(poll.status)) {\n throw new Error(`Deep research ${poll.status}`);\n }\n process.stderr.write(` status: ${poll.status}\\n`);\n }\n\n throw new Error(\"Deep research timed out\");\n}\n\n/** One question answered, with the hints its answer earns. */\nasync function readWeb(question: string, depth: Depth): Promise<{ data: WebResult; hints: string[] }> {\n // Checked per question, so one too short is that question's error and the rest are still answered.\n if (question.length < 5) throw new ApiError(\"VALIDATION_ERROR\", \"Question must be at least 5 characters\");\n const { data, incomplete } =\n depth === \"xhigh\"\n ? await runDeepResearch(question)\n : {\n data: await apiPost<WebResult>(\n \"/api/research/explore\",\n { question, depth },\n { timeoutMs: TIMEOUT_MS[depth] },\n ),\n incomplete: false,\n };\n const hints = [\n ...webSourceHints(data.sources),\n ...(incomplete\n ? [\"Deep research stopped at its budget, so the end of this report may be missing — say so if you use it.\"]\n : []),\n ...webDepthHints({ answer: data.answer, sourceCount: data.sources.length, depth }),\n ];\n return { data, hints };\n}\n\n/** Several questions' answers: `--output md` gives each its own heading (hints on stderr), json one entry each. */\nfunction writeWebList(results: ListResult<string, { data: WebResult; hints: string[] }>[], format: string): void {\n // Every question failing is the call failing, in either format: the error envelope, exit 1.\n if (format !== \"md\" || results.every((entry) => !entry.ok)) {\n writeResearchList(results, { nameOf: namedBy(\"question\"), format: \"json\", envelope: { fields: FIELDS } });\n return;\n }\n process.stdout.write(\n results\n .map((entry) =>\n entry.ok\n ? `# ${entry.input}\\n\\n${webMarkdown(entry.read.data)}`\n : `# ${entry.input}\\n\\nNot answered — ${entry.error.message}\\n`,\n )\n .join(\"\\n\"),\n );\n for (const entry of results) {\n for (const hint of entry.ok ? entry.read.hints : []) process.stderr.write(`${entry.input}: ${hint}\\n`);\n }\n}\n\nexport const webCommand = defineCommand({\n meta: {\n name: \"web\",\n description: `Search the web with AI to answer any open-ended marketing question. Uses live internet data via Google Search.\n\nDepth levels:\n medium — Quick lookup: a fast model with minimal thinking (default)\n high — The SAME model and the same web search, thinking longer. Not a stronger model:\n it reasons more over similar sources, so do not present a high answer as better-sourced.\n xhigh — A deep-research agent: plans, searches and reads many pages, writes a cited report\n (minutes; use sparingly)\n\nSources: every source is the page itself (Google's redirect links are followed for you), with\n\"cites\" — the parts of the answer that page is attached to, verbatim. Cite a URL only for the\nclaim it backs. resolved:false means the link could not be followed: do not cite it or guess a path.\nAn answer with no sources is synthesis, not a citable fact.\n\nExamples:\n baker research web \"Who are the main competitors of HubSpot CRM?\"\n baker research web \"Who sells X in Spain?\" \"What does X cost in Spain?\" # several questions, one call\n baker research web \"What are the top pain points for SMB CRM buyers?\" --depth high\n baker research web \"Full competitive analysis of project management SaaS\" --depth xhigh`,\n },\n args: {\n question: {\n type: \"positional\",\n description: \"The research question; several quoted questions are answered at once\",\n required: true,\n },\n depth: { type: \"string\", description: \"Research depth: medium|high|xhigh (default: medium)\", required: false },\n output: { type: \"string\", description: \"Format: json|md (default: json)\", required: false, default: \"json\" },\n },\n run: async ({ args }) => {\n // Every quoted question is read: `baker research web \"<q1>\" \"<q2>\"`. A question may hold commas, so no comma list.\n const questions = [...new Set((Array.isArray(args._) ? args._ : [args.question]).map((q) => String(q).trim()))];\n if (questions.length > RESEARCH_LIST_MAX) {\n refuseLongList(questions.length, \"questions\");\n }\n\n const depth = ((args.depth as string) || \"medium\") as Depth;\n if (![\"medium\", \"high\", \"xhigh\"].includes(depth)) {\n writeResearchJson({\n ok: false,\n error: { code: \"VALIDATION_ERROR\", message: \"Depth must be one of: medium, high, xhigh\" },\n });\n process.exit(1);\n }\n // A deep-research job runs up to 15 minutes, so a queued second wave would outlive the command's wait:\n // an xhigh list is capped at what starts at once.\n if (depth === \"xhigh\" && questions.length > RESEARCH_LIST_CONCURRENCY) {\n refuseLongList(questions.length, \"deep-research questions\", RESEARCH_LIST_CONCURRENCY);\n }\n\n const read = (question: string) => readWeb(question, depth);\n const format = (args.output as string) || \"json\";\n\n if (questions.length > 1) {\n writeWebList(await readEach(questions, read), format);\n return;\n }\n try {\n const { data, hints } = await read(questions[0] ?? \"\");\n if (format === \"md\") {\n process.stdout.write(webMarkdown(data));\n writeResearchHints(hints, format);\n return;\n }\n writeResearchJson({ ok: true, data, fields: FIELDS, hints });\n } catch (err) {\n handleResearchError(err);\n }\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,qBAAqB;AAe9B,eAAe;AAAA,EACb,SAAS;AAAA,EACT,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,QAAQ;AAAA,EACR,aACE;AAAA,EACF,MAAM;AAAA,IACJ,UAAU;AAAA,MACR,MAAM;AAAA,MACN,aACE;AAAA,MACF,UAAU;AAAA,IACZ;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,MACN,aAAa;AAAA,MACb,UAAU;AAAA,MACV,MAAM,CAAC,UAAU,QAAQ,OAAO;AAAA,IAClC;AAAA,EACF;AACF,CAAC;AAID,IAAM,aAAoC;AAAA,EACxC,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AACT;AAMA,IAAM,SAAiC;AAAA,EACrC,QAAQ;AAAA,EACR,SACE;AACJ;AAGO,SAAS,YAAY,MAAyB;AACnD,QAAM,QAAQ,CAAC,KAAK,MAAM;AAC1B,MAAI,KAAK,QAAQ,SAAS,GAAG;AAC3B,UAAM,KAAK,IAAI,YAAY;AAC3B,eAAW,KAAK,KAAK,SAAS;AAC5B,UAAI,EAAE,aAAa,OAAO;AACxB,cAAM,KAAK,KAAK,EAAE,KAAK,gDAA2C,EAAE,GAAG,EAAE;AACzE;AAAA,MACF;AACA,YAAM,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,GAAG,GAAG;AACrC,iBAAW,QAAQ,EAAE,SAAS,CAAC,EAAG,OAAM,KAAK,QAAQ,IAAI,GAAG;AAAA,IAC9D;AAAA,EACF;AACA,SAAO,GAAG,MAAM,KAAK,IAAI,CAAC;AAAA;AAC5B;AAGA,IAAM,yBAAyB,oBAAI,IAAI,CAAC,a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es
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|