@koda-sl/baker-cli 0.890.0-dev.759c113cf → 0.892.0-dev.9bf2bbdf0
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 +4 -2
- package/dist/{account-NHPKIWPX.js → account-L7RQTTIJ.js} +4 -4
- package/dist/{account-users-ADX33PJ2.js → account-users-SYNACCWO.js} +4 -4
- package/dist/{accounts-2HU6ZXXZ.js → accounts-DXCH6KUH.js} +3 -3
- package/dist/{accounts-BSZ42BQK.js → accounts-MRQMRM43.js} +9 -9
- package/dist/{actions-DYM47UFS.js → actions-3LY7N5KR.js} +18 -18
- package/dist/{activecampaign-V53HTAY3.js → activecampaign-RANGFWE3.js} +3 -3
- package/dist/{add-XQADZQ3Z.js → add-5YJRRGJR.js} +5 -5
- package/dist/{add-INJ22ZRW.js → add-AGRNW5RR.js} +3 -3
- package/dist/{add-V3NKETGT.js → add-JTRNJJUB.js} +2 -2
- package/dist/{ads-55VKXBMM.js → ads-6LL4UQJQ.js} +4 -4
- package/dist/{advertisers-X3PJG6Z6.js → advertisers-KJ33J4NT.js} +3 -3
- package/dist/{alerts-NK7POTNE.js → alerts-6ULUIZ7V.js} +5 -5
- package/dist/{analytics-2GFNGWCD.js → analytics-B3FUIQCO.js} +3 -3
- package/dist/{analytics-LYGTOOOH.js → analytics-FP55ZZCQ.js} +7 -7
- package/dist/{assign-7VAY66CZ.js → assign-NQNSCWRH.js} +3 -3
- package/dist/{audience-size-7YBPRCX6.js → audience-size-USQFAM5N.js} +3 -3
- package/dist/{audit-7JCXNOAB.js → audit-KGITT5BN.js} +3 -3
- package/dist/{autocomplete-PWMUL7QJ.js → autocomplete-PIB7I7LP.js} +3 -3
- package/dist/{avatars-6ZZYD332.js → avatars-UJ5OE2D6.js} +4 -4
- package/dist/{bid-pricing-PHIYPEDJ.js → bid-pricing-FDOMJJGS.js} +4 -4
- package/dist/{brief-4GIXLWHD.js → brief-FKMSWP5H.js} +7 -7
- package/dist/{campaign-groups-Q3NDDK34.js → campaign-groups-SLYFLXN3.js} +9 -9
- package/dist/{campaign-writes-RB6XM6PB.js → campaign-writes-KEEX536Y.js} +3 -3
- package/dist/{campaigns-FVDEYG5C.js → campaigns-2Z472366.js} +12 -12
- package/dist/{campaigns-TUAAU2HM.js → campaigns-YJL5A7LJ.js} +5 -5
- package/dist/{canvas-GTPI2CKV.js → canvas-YUKUV745.js} +15 -15
- package/dist/{capabilities-L5GGYWBL.js → capabilities-C5WHIH24.js} +3 -3
- package/dist/{catalog-L6FZXS3S.js → catalog-HIJD4K7R.js} +4 -4
- package/dist/{chats-LNS3ZGN2.js → chats-4TRHCVQR.js} +3 -3
- package/dist/{check-UO5WGAGM.js → check-JWZAPKWV.js} +2 -2
- package/dist/{chunk-RZD4KCMN.js → chunk-22EZ5APX.js} +3 -3
- package/dist/{chunk-65ZHDSPV.js → chunk-27AILC4U.js} +2 -2
- package/dist/{chunk-GHCZUHUC.js → chunk-2KV3XAKL.js} +2 -2
- package/dist/{chunk-52GWXYQ6.js → chunk-32TZRSNU.js} +15 -4
- package/dist/chunk-32TZRSNU.js.map +1 -0
- package/dist/{chunk-SDU6QWFA.js → chunk-33T2D5JM.js} +2 -2
- package/dist/{chunk-RGIDB3OY.js → chunk-43X2QABZ.js} +2 -2
- package/dist/{chunk-J6GPBZ2R.js → chunk-6IMGT76C.js} +2 -2
- package/dist/{chunk-G3QEXUKR.js → chunk-72PAPI7I.js} +3 -3
- package/dist/{chunk-Q3HMAIYV.js → chunk-7E4XX3WX.js} +5 -5
- package/dist/{chunk-KE63G3C7.js → chunk-B5SJICF4.js} +2 -2
- package/dist/{chunk-7L2O47FS.js → chunk-BSAKN4J7.js} +2 -2
- package/dist/{chunk-ZJBKANBI.js → chunk-CT6PV2HB.js} +10 -9
- package/dist/chunk-CT6PV2HB.js.map +1 -0
- package/dist/{chunk-AGRFXGLQ.js → chunk-FC5A24OS.js} +4 -4
- package/dist/{chunk-IOJFW7IJ.js → chunk-FJQQEO6L.js} +2 -2
- package/dist/{chunk-XEENCC34.js → chunk-GM67OBUL.js} +2 -2
- package/dist/{chunk-C4TQ67ON.js → chunk-GUNHWPYO.js} +7 -7
- package/dist/{chunk-IBEYN63R.js → chunk-ILYU5TA4.js} +3 -3
- package/dist/{chunk-5SY5XHGY.js → chunk-JNEH5LHH.js} +2 -2
- package/dist/{chunk-J7GYBBJA.js → chunk-MEZRGS5A.js} +2 -2
- package/dist/{chunk-DUJCU5NO.js → chunk-NSRWZ7FI.js} +2 -2
- package/dist/{chunk-DOAUNVLT.js → chunk-OX7YGX55.js} +2 -2
- package/dist/{chunk-6RVFUGU2.js → chunk-PBBJCWYU.js} +2 -2
- package/dist/{chunk-OJNDGXA2.js → chunk-QCAXDRYY.js} +7 -7
- package/dist/{chunk-ZAQ2PXVE.js → chunk-QJSNDY3M.js} +2 -2
- package/dist/{chunk-LOZ36NDE.js → chunk-QJTIX4VU.js} +2 -2
- package/dist/{chunk-YOYVZNJ5.js → chunk-QN2DIBB4.js} +2 -2
- package/dist/{chunk-MWD6GIL6.js → chunk-QOJV2SPO.js} +54 -3
- package/dist/{chunk-MWD6GIL6.js.map → chunk-QOJV2SPO.js.map} +1 -1
- package/dist/{chunk-XS7RLKVV.js → chunk-S4KGA3GX.js} +3 -3
- package/dist/{chunk-RNGZG273.js → chunk-SBB66OMZ.js} +12 -12
- package/dist/{chunk-YRBOVBHQ.js → chunk-SNM3DMB5.js} +3 -3
- package/dist/{chunk-Q4RLGO4Y.js → chunk-T4TRAPPS.js} +5 -5
- package/dist/{chunk-LWV4XL6X.js → chunk-TOPN4ZE3.js} +2 -2
- package/dist/{chunk-7GIRKPCK.js → chunk-TOXZM43P.js} +2 -2
- package/dist/{chunk-LYAVJJHA.js → chunk-UIXD56WT.js} +2 -2
- package/dist/{chunk-3663UWEJ.js → chunk-UOSERK4P.js} +6 -6
- package/dist/{chunk-UZ32P2MK.js → chunk-VFBMEBQN.js} +2 -2
- package/dist/{chunk-KRYCOR7O.js → chunk-WHUZ2WHE.js} +2 -2
- package/dist/{chunk-WWIXZFNL.js → chunk-WWEMQYJP.js} +2 -2
- package/dist/{chunk-5QR27P5X.js → chunk-XPXHLQDT.js} +2 -2
- package/dist/{chunk-MXN7AUZG.js → chunk-YV4X2EQS.js} +2 -2
- package/dist/{chunk-O2GGZ2O2.js → chunk-ZFHKZAUD.js} +2 -2
- package/dist/{chunk-RHA55M7H.js → chunk-ZWCLTH3U.js} +2 -2
- package/dist/{claim-HCVWDY4F.js → claim-SIBEMGZM.js} +3 -3
- package/dist/cli.js +33 -33
- package/dist/{companies-NP3ZPD4N.js → companies-7J5XEKS4.js} +7 -7
- package/dist/{company-WBA5NN2V.js → company-VHHBOJ3I.js} +3 -3
- package/dist/{complete-7VT3DQPB.js → complete-IM5WCPCB.js} +3 -3
- package/dist/{connect-YD6JLPP2.js → connect-QLMBGI5G.js} +6 -6
- package/dist/{conversation-7X5XU672.js → conversation-5K75MUQN.js} +3 -3
- package/dist/{conversions-UPXDYLTW.js → conversions-ETP3LTO4.js} +8 -8
- package/dist/{create-WBTAQB2Z.js → create-77BCETTX.js} +3 -3
- package/dist/{create-IBDTEHWS.js → create-GTHZFY7J.js} +2 -2
- package/dist/{create-YDVIUUY2.js → create-V36KLMAB.js} +3 -3
- package/dist/{create-MR7VRMRT.js → create-WQ3AN2BB.js} +3 -3
- package/dist/{creatives-TRNKZBE5.js → creatives-4CLNIXSU.js} +9 -9
- package/dist/{creatives-UVDA5Q4F.js → creatives-WJRKMEUP.js} +9 -9
- package/dist/{credentials-GLGKSKIW.js → credentials-I5AFW6QJ.js} +3 -3
- package/dist/{critique-RNRN6U4L.js → critique-PQUDTHW3.js} +4 -4
- package/dist/{crm-YSMYGFV2.js → crm-5D25Y2AA.js} +4 -4
- package/dist/{crm-GXXU5W7T.js → crm-GWX5N5VX.js} +4 -4
- package/dist/{customers-MKBX6KJ5.js → customers-L6AEA5SH.js} +5 -5
- package/dist/{delete-DFXR77UH.js → delete-3E7U7AXW.js} +3 -3
- package/dist/{delete-SATPEDYL.js → delete-B5VPLGVD.js} +2 -2
- package/dist/{delete-NHXWYWFL.js → delete-GPFG2EAI.js} +3 -3
- package/dist/{demographics-VN4ASJ2V.js → demographics-VHRTEOVN.js} +3 -3
- package/dist/{discard-WQJVE6L4.js → discard-RHB33LZD.js} +3 -3
- package/dist/{domain-QMGXWKBX.js → domain-7A2OA4CJ.js} +3 -3
- package/dist/{download-G4DJZAGI.js → download-QGRHPYEA.js} +2 -2
- package/dist/{draft-UFJ7ALPI.js → draft-33LYVYLR.js} +4 -4
- package/dist/{draft-X7G4CMUO.js → draft-EETGHQSL.js} +3 -3
- package/dist/{draft-2GYY3P7V.js → draft-GJXYFMN3.js} +3 -3
- package/dist/engine/index.js +3 -3
- package/dist/{experiments-6TEAXNVD.js → experiments-R7Q3JHF6.js} +4 -4
- package/dist/{extract-C5K3ZZ42.js → extract-DAL6BFFV.js} +2 -2
- package/dist/{facets-E5MFMDR2.js → facets-RQ64RG55.js} +3 -3
- package/dist/{feedback-2VZGXOPQ.js → feedback-NV5YWGVA.js} +3 -3
- package/dist/{fetch-JVI3AO3Q.js → fetch-MK3D7HNE.js} +3 -3
- package/dist/{fit-T4AAV2PV.js → fit-5H22WDWO.js} +2 -2
- package/dist/{flows-2VSLY57O.js → flows-WZVEBAET.js} +11 -11
- package/dist/{forecast-LPFNFHXJ.js → forecast-YEQNYTBW.js} +4 -4
- package/dist/{funnel-RT5E3EAA.js → funnel-ZY23YOLP.js} +4 -4
- package/dist/{get-TPFHXTSS.js → get-7ADEKKWT.js} +3 -3
- package/dist/{get-3OVHBZFM.js → get-EESMKLQH.js} +3 -3
- package/dist/{google-EFM636ZH.js → google-GJ3P4TBZ.js} +2 -2
- package/dist/{google-ads-FAAP6HCR.js → google-ads-MPKZINIC.js} +3 -3
- package/dist/{history-7IGBWWON.js → history-6TFUNV25.js} +3 -3
- package/dist/{history-7UERQA6C.js → history-RNXA4WSB.js} +3 -3
- package/dist/{hubspot-JU6QECUR.js → hubspot-VLIDH5CB.js} +9 -9
- package/dist/{ideas-5V4TFQA4.js → ideas-BKP2MB3V.js} +2 -2
- package/dist/{images-EFG555RC.js → images-FP3W3FOK.js} +7 -7
- package/dist/{ingest-3I6RBUAY.js → ingest-CAAFDOSU.js} +3 -3
- package/dist/{ingest-FHT7W74C.js → ingest-L272OO2C.js} +2 -2
- package/dist/{inspect-AIX4H3CD.js → inspect-GTW4UNTR.js} +4 -4
- package/dist/{keyword-metrics-AIOK6XG2.js → keyword-metrics-RK2U2BMY.js} +3 -3
- package/dist/{keywords-for-site-WKUQFYDA.js → keywords-for-site-24T2D5FG.js} +3 -3
- package/dist/{leads-MXYKHRWR.js → leads-5T5WZ7J3.js} +3 -3
- package/dist/{learn-OIJXLZL5.js → learn-4UTMEYPK.js} +4 -4
- package/dist/{line-item-writes-DOYJD2IK.js → line-item-writes-SZWTHCGQ.js} +3 -3
- package/dist/{line-items-KFL5JZ2H.js → line-items-M2HPX7QH.js} +5 -5
- package/dist/{link-XGDKRLHM.js → link-QVD77I6G.js} +3 -3
- package/dist/{linkedin-UEDF45LH.js → linkedin-LMLVWXCP.js} +30 -30
- package/dist/{linkedin-person-UPJBQUXL.js → linkedin-person-7RIO2CGU.js} +3 -3
- package/dist/{list-UX5PWGOI.js → list-DQQIFVS6.js} +3 -3
- package/dist/{list-6H6UFMMY.js → list-F55WKQ3U.js} +3 -3
- package/dist/{list-DXCIXAYY.js → list-HF7735KD.js} +2 -2
- package/dist/{log-KBRWBRLH.js → log-NWQ44G34.js} +3 -3
- package/dist/{make-6FZSKF4C.js → make-GIQ2WVFG.js} +11 -11
- package/dist/{map-7SSEVSE4.js → map-QPAQN6FH.js} +4 -4
- package/dist/{mcp-LYUWG3BL.js → mcp-AIX2FFJI.js} +2 -2
- package/dist/{media-sources-YE6IWKXB.js → media-sources-HUHQPLRI.js} +2 -2
- package/dist/{members-RIDPBGPP.js → members-4S5S5MQY.js} +3 -3
- package/dist/{normalize-YTK5GDBU.js → normalize-LUU3XZJ4.js} +3 -3
- package/dist/{options-JEKY7C73.js → options-CBMUWESK.js} +6 -6
- package/dist/{organization-EPYS5C5B.js → organization-CPTY5ZJ7.js} +3 -3
- package/dist/{people-2N5TX2GU.js → people-CT2R7I3A.js} +3 -3
- package/dist/{people-QFZI2E7P.js → people-HW7I6C44.js} +3 -3
- package/dist/{performance-25L7LKP2.js → performance-DEYAGGQR.js} +3 -3
- package/dist/{performance-OJ7OIPLA.js → performance-HER5WPQV.js} +4 -4
- package/dist/{pipedrive-ATF7T26W.js → pipedrive-OXQJ7G2S.js} +3 -3
- package/dist/{preview-RFTLMN3O.js → preview-W6QGDTZR.js} +3 -3
- package/dist/{promoted-tweet-writes-KXYO4YKC.js → promoted-tweet-writes-4GBHGHVK.js} +3 -3
- package/dist/{promoted-tweets-3KNM4CGF.js → promoted-tweets-VG6SQJJB.js} +3 -3
- package/dist/{publish-VKSYIMOZ.js → publish-ATE3IYJQ.js} +3 -3
- package/dist/{reddit-6A6426JJ.js → reddit-KDVYUSFS.js} +4 -4
- package/dist/{refresh-YZIJGDG7.js → refresh-JBVA56NO.js} +2 -2
- package/dist/{release-DJYNQWDN.js → release-MICSOSC3.js} +3 -3
- package/dist/{remove-UJSWD3QN.js → remove-GXQBETKU.js} +2 -2
- package/dist/{reopen-55YN5WVQ.js → reopen-5G6A3MD6.js} +3 -3
- package/dist/{rerun-V4GD7RIZ.js → rerun-7Y6FGYBU.js} +14 -14
- package/dist/{research-MXXNHCPT.js → research-7OQ2GBBD.js} +2 -2
- package/dist/{research-PUNEJ4WW.js → research-HED4MLDA.js} +14 -14
- package/dist/{reset-HDBZXDUS.js → reset-4IH2O7XC.js} +2 -2
- package/dist/{reset-P4BU73ZJ.js → reset-V4WP3AZY.js} +2 -2
- package/dist/{resolve-EETBZN2N.js → resolve-NIWEPZQK.js} +3 -3
- package/dist/{retry-PV5WMRZK.js → retry-JI4TRLWW.js} +2 -2
- package/dist/{retry-KEFXYANH.js → retry-YY4M7ZS7.js} +2 -2
- package/dist/{revenue-ZDC45HPI.js → revenue-TSNN4MLL.js} +4 -4
- package/dist/{rules-IHIQQF5C.js → rules-DFKXKOIH.js} +5 -5
- package/dist/{run-4KS5GKXA.js → run-I3KDSVHK.js} +3 -3
- package/dist/{run-SBGLLSTU.js → run-JUHYM6FQ.js} +14 -14
- package/dist/{scaffold-ad-LZVQI3H7.js → scaffold-ad-LIJP2FWI.js} +9 -9
- package/dist/{scaffold-static-ad-USLJM4R7.js → scaffold-static-ad-NOGRG3NU.js} +17 -17
- package/dist/{scaffold-video-ELVMOT45.js → scaffold-video-QKZWWLK3.js} +8 -8
- package/dist/{schedule-R22K2MGT.js → schedule-7TLL73TJ.js} +2 -2
- package/dist/{scheduled-agents-7RMFVLN3.js → scheduled-agents-4W6SUF7K.js} +11 -11
- package/dist/{schema-3UW3SOQD.js → schema-LUOT2YWP.js} +4 -4
- package/dist/{schema-ACS6VIN7.js → schema-Z5MLEOPV.js} +1 -1
- package/dist/{search-7Y5EIPEJ.js → search-4OHSIJ5S.js} +2 -2
- package/dist/{select-5YZ6KGO4.js → select-NB5QFWBQ.js} +5 -5
- package/dist/{set-DJTYRL2B.js → set-X4TIVL75.js} +5 -5
- package/dist/{set-prompt-HLJ6FKH7.js → set-prompt-DYVNVWPR.js} +5 -5
- package/dist/{setup-links-3YMLESXT.js → setup-links-7MMKBBNS.js} +3 -3
- package/dist/{shopify-XVMJVBRL.js → shopify-XQLF3OSG.js} +3 -3
- package/dist/{site-5XYSUVEO.js → site-LA43UBS5.js} +4 -4
- package/dist/{sources-AEH3WZZL.js → sources-T5OSHXEZ.js} +6 -6
- package/dist/{sources-IMMMS2ZK.js → sources-Y5BPGZDS.js} +6 -6
- package/dist/{stale-STQUFOQS.js → stale-CZWEYIE5.js} +5 -5
- package/dist/{status-UQERTATZ.js → status-NQJ2EFVY.js} +3 -3
- package/dist/{stock-4MEA3OAY.js → stock-RVZ26K5O.js} +2 -2
- package/dist/{sync-ND3WE42R.js → sync-F4OFYPWO.js} +2 -2
- package/dist/{sync-definition-4ZOMBZLL.js → sync-definition-HGEWOWJF.js} +8 -8
- package/dist/{tags-N32O6S4Q.js → tags-F46OFVCJ.js} +3 -3
- package/dist/{tags-6AH5WJTO.js → tags-MA4IEU72.js} +3 -3
- package/dist/{tags-WOFDS44M.js → tags-VQWGD2GD.js} +4 -4
- package/dist/{tags-WZIIZSUK.js → tags-ZLZUVUQR.js} +3 -3
- package/dist/{tags-M4SRJULS.js → tags-ZQTFVW7O.js} +3 -3
- package/dist/{targeting-criteria-QMWFNZSN.js → targeting-criteria-2QXAUXZK.js} +3 -3
- package/dist/{targets-VWTBHD5K.js → targets-GHQI54FH.js} +3 -3
- package/dist/{testimonials-YZFIQDJS.js → testimonials-N2IJWI2K.js} +6 -6
- package/dist/{top-companies-BWBG6VDR.js → top-companies-E34WBFUA.js} +7 -7
- package/dist/{transcript-LQD4BQBX.js → transcript-FJTJPGFP.js} +3 -3
- package/dist/{translate-NDEGN7IQ.js → translate-YD7LPJVX.js} +10 -10
- package/dist/{triggers-QIUVJTQH.js → triggers-R7HHYGGO.js} +3 -3
- package/dist/{unlink-NEWANAJV.js → unlink-EKSJV2VW.js} +3 -3
- package/dist/{unstage-IZ65HQWO.js → unstage-VAUFBOYH.js} +3 -3
- package/dist/{update-6JBXNAYP.js → update-2DMROK6H.js} +3 -3
- package/dist/{update-VCWV54LD.js → update-6KM7IKLS.js} +2 -2
- package/dist/{update-37LGNICM.js → update-HTUCH7VE.js} +3 -3
- package/dist/{update-TZ5S5AEQ.js → update-U6VNLZ6C.js} +3 -3
- package/dist/{upload-NXWO2M4K.js → upload-L4I2RCGF.js} +3 -3
- package/dist/{url-params-NAPRU6VS.js → url-params-AJ52B5MJ.js} +3 -3
- package/dist/{validate-XSO7M2N6.js → validate-G5VEYZSF.js} +10 -10
- package/dist/{videos-TDGFNXJB.js → videos-5O6CD4JB.js} +6 -6
- package/dist/{viewer-check-WQAMTCIQ.js → viewer-check-MGJDS4QE.js} +2 -2
- package/dist/{visuals-JJAWZME4.js → visuals-WVTOLYML.js} +3 -3
- package/dist/{web-Q6HMBNRS.js → web-ADBBWPKE.js} +26 -5
- package/dist/web-ADBBWPKE.js.map +1 -0
- package/dist/{winning-ads-74CDMGTQ.js → winning-ads-7YKQWUSQ.js} +3 -3
- package/dist/{write-commands-QYRZX65S.js → write-commands-XDPOQUWW.js} +4 -4
- package/dist/{x-2FX42TQK.js → x-QDE43RUR.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-52GWXYQ6.js.map +0 -1
- package/dist/chunk-ZJBKANBI.js.map +0 -1
- package/dist/web-Q6HMBNRS.js.map +0 -1
- /package/dist/{account-NHPKIWPX.js.map → account-L7RQTTIJ.js.map} +0 -0
- /package/dist/{account-users-ADX33PJ2.js.map → account-users-SYNACCWO.js.map} +0 -0
- /package/dist/{accounts-2HU6ZXXZ.js.map → accounts-DXCH6KUH.js.map} +0 -0
- /package/dist/{accounts-BSZ42BQK.js.map → accounts-MRQMRM43.js.map} +0 -0
- /package/dist/{actions-DYM47UFS.js.map → actions-3LY7N5KR.js.map} +0 -0
- /package/dist/{activecampaign-V53HTAY3.js.map → activecampaign-RANGFWE3.js.map} +0 -0
- /package/dist/{add-XQADZQ3Z.js.map → add-5YJRRGJR.js.map} +0 -0
- /package/dist/{add-INJ22ZRW.js.map → add-AGRNW5RR.js.map} +0 -0
- /package/dist/{add-V3NKETGT.js.map → add-JTRNJJUB.js.map} +0 -0
- /package/dist/{ads-55VKXBMM.js.map → ads-6LL4UQJQ.js.map} +0 -0
- /package/dist/{advertisers-X3PJG6Z6.js.map → advertisers-KJ33J4NT.js.map} +0 -0
- /package/dist/{alerts-NK7POTNE.js.map → alerts-6ULUIZ7V.js.map} +0 -0
- /package/dist/{analytics-2GFNGWCD.js.map → analytics-B3FUIQCO.js.map} +0 -0
- /package/dist/{analytics-LYGTOOOH.js.map → analytics-FP55ZZCQ.js.map} +0 -0
- /package/dist/{assign-7VAY66CZ.js.map → assign-NQNSCWRH.js.map} +0 -0
- /package/dist/{audience-size-7YBPRCX6.js.map → audience-size-USQFAM5N.js.map} +0 -0
- /package/dist/{audit-7JCXNOAB.js.map → audit-KGITT5BN.js.map} +0 -0
- /package/dist/{autocomplete-PWMUL7QJ.js.map → autocomplete-PIB7I7LP.js.map} +0 -0
- /package/dist/{avatars-6ZZYD332.js.map → avatars-UJ5OE2D6.js.map} +0 -0
- /package/dist/{bid-pricing-PHIYPEDJ.js.map → bid-pricing-FDOMJJGS.js.map} +0 -0
- /package/dist/{brief-4GIXLWHD.js.map → brief-FKMSWP5H.js.map} +0 -0
- /package/dist/{campaign-groups-Q3NDDK34.js.map → campaign-groups-SLYFLXN3.js.map} +0 -0
- /package/dist/{campaign-writes-RB6XM6PB.js.map → campaign-writes-KEEX536Y.js.map} +0 -0
- /package/dist/{campaigns-FVDEYG5C.js.map → campaigns-2Z472366.js.map} +0 -0
- /package/dist/{campaigns-TUAAU2HM.js.map → campaigns-YJL5A7LJ.js.map} +0 -0
- /package/dist/{canvas-GTPI2CKV.js.map → canvas-YUKUV745.js.map} +0 -0
- /package/dist/{capabilities-L5GGYWBL.js.map → capabilities-C5WHIH24.js.map} +0 -0
- /package/dist/{catalog-L6FZXS3S.js.map → catalog-HIJD4K7R.js.map} +0 -0
- /package/dist/{chats-LNS3ZGN2.js.map → chats-4TRHCVQR.js.map} +0 -0
- /package/dist/{check-UO5WGAGM.js.map → check-JWZAPKWV.js.map} +0 -0
- /package/dist/{chunk-RZD4KCMN.js.map → chunk-22EZ5APX.js.map} +0 -0
- /package/dist/{chunk-65ZHDSPV.js.map → chunk-27AILC4U.js.map} +0 -0
- /package/dist/{chunk-GHCZUHUC.js.map → chunk-2KV3XAKL.js.map} +0 -0
- /package/dist/{chunk-SDU6QWFA.js.map → chunk-33T2D5JM.js.map} +0 -0
- /package/dist/{chunk-RGIDB3OY.js.map → chunk-43X2QABZ.js.map} +0 -0
- /package/dist/{chunk-J6GPBZ2R.js.map → chunk-6IMGT76C.js.map} +0 -0
- /package/dist/{chunk-G3QEXUKR.js.map → chunk-72PAPI7I.js.map} +0 -0
- /package/dist/{chunk-Q3HMAIYV.js.map → chunk-7E4XX3WX.js.map} +0 -0
- /package/dist/{chunk-KE63G3C7.js.map → chunk-B5SJICF4.js.map} +0 -0
- /package/dist/{chunk-7L2O47FS.js.map → chunk-BSAKN4J7.js.map} +0 -0
- /package/dist/{chunk-AGRFXGLQ.js.map → chunk-FC5A24OS.js.map} +0 -0
- /package/dist/{chunk-IOJFW7IJ.js.map → chunk-FJQQEO6L.js.map} +0 -0
- /package/dist/{chunk-XEENCC34.js.map → chunk-GM67OBUL.js.map} +0 -0
- /package/dist/{chunk-C4TQ67ON.js.map → chunk-GUNHWPYO.js.map} +0 -0
- /package/dist/{chunk-IBEYN63R.js.map → chunk-ILYU5TA4.js.map} +0 -0
- /package/dist/{chunk-5SY5XHGY.js.map → chunk-JNEH5LHH.js.map} +0 -0
- /package/dist/{chunk-J7GYBBJA.js.map → chunk-MEZRGS5A.js.map} +0 -0
- /package/dist/{chunk-DUJCU5NO.js.map → chunk-NSRWZ7FI.js.map} +0 -0
- /package/dist/{chunk-DOAUNVLT.js.map → chunk-OX7YGX55.js.map} +0 -0
- /package/dist/{chunk-6RVFUGU2.js.map → chunk-PBBJCWYU.js.map} +0 -0
- /package/dist/{chunk-OJNDGXA2.js.map → chunk-QCAXDRYY.js.map} +0 -0
- /package/dist/{chunk-ZAQ2PXVE.js.map → chunk-QJSNDY3M.js.map} +0 -0
- /package/dist/{chunk-LOZ36NDE.js.map → chunk-QJTIX4VU.js.map} +0 -0
- /package/dist/{chunk-YOYVZNJ5.js.map → chunk-QN2DIBB4.js.map} +0 -0
- /package/dist/{chunk-XS7RLKVV.js.map → chunk-S4KGA3GX.js.map} +0 -0
- /package/dist/{chunk-RNGZG273.js.map → chunk-SBB66OMZ.js.map} +0 -0
- /package/dist/{chunk-YRBOVBHQ.js.map → chunk-SNM3DMB5.js.map} +0 -0
- /package/dist/{chunk-Q4RLGO4Y.js.map → chunk-T4TRAPPS.js.map} +0 -0
- /package/dist/{chunk-LWV4XL6X.js.map → chunk-TOPN4ZE3.js.map} +0 -0
- /package/dist/{chunk-7GIRKPCK.js.map → chunk-TOXZM43P.js.map} +0 -0
- /package/dist/{chunk-LYAVJJHA.js.map → chunk-UIXD56WT.js.map} +0 -0
- /package/dist/{chunk-3663UWEJ.js.map → chunk-UOSERK4P.js.map} +0 -0
- /package/dist/{chunk-UZ32P2MK.js.map → chunk-VFBMEBQN.js.map} +0 -0
- /package/dist/{chunk-KRYCOR7O.js.map → chunk-WHUZ2WHE.js.map} +0 -0
- /package/dist/{chunk-WWIXZFNL.js.map → chunk-WWEMQYJP.js.map} +0 -0
- /package/dist/{chunk-5QR27P5X.js.map → chunk-XPXHLQDT.js.map} +0 -0
- /package/dist/{chunk-MXN7AUZG.js.map → chunk-YV4X2EQS.js.map} +0 -0
- /package/dist/{chunk-O2GGZ2O2.js.map → chunk-ZFHKZAUD.js.map} +0 -0
- /package/dist/{chunk-RHA55M7H.js.map → chunk-ZWCLTH3U.js.map} +0 -0
- /package/dist/{claim-HCVWDY4F.js.map → claim-SIBEMGZM.js.map} +0 -0
- /package/dist/{companies-NP3ZPD4N.js.map → companies-7J5XEKS4.js.map} +0 -0
- /package/dist/{company-WBA5NN2V.js.map → company-VHHBOJ3I.js.map} +0 -0
- /package/dist/{complete-7VT3DQPB.js.map → complete-IM5WCPCB.js.map} +0 -0
- /package/dist/{connect-YD6JLPP2.js.map → connect-QLMBGI5G.js.map} +0 -0
- /package/dist/{conversation-7X5XU672.js.map → conversation-5K75MUQN.js.map} +0 -0
- /package/dist/{conversions-UPXDYLTW.js.map → conversions-ETP3LTO4.js.map} +0 -0
- /package/dist/{create-WBTAQB2Z.js.map → create-77BCETTX.js.map} +0 -0
- /package/dist/{create-IBDTEHWS.js.map → create-GTHZFY7J.js.map} +0 -0
- /package/dist/{create-YDVIUUY2.js.map → create-V36KLMAB.js.map} +0 -0
- /package/dist/{create-MR7VRMRT.js.map → create-WQ3AN2BB.js.map} +0 -0
- /package/dist/{creatives-TRNKZBE5.js.map → creatives-4CLNIXSU.js.map} +0 -0
- /package/dist/{creatives-UVDA5Q4F.js.map → creatives-WJRKMEUP.js.map} +0 -0
- /package/dist/{credentials-GLGKSKIW.js.map → credentials-I5AFW6QJ.js.map} +0 -0
- /package/dist/{critique-RNRN6U4L.js.map → critique-PQUDTHW3.js.map} +0 -0
- /package/dist/{crm-YSMYGFV2.js.map → crm-5D25Y2AA.js.map} +0 -0
- /package/dist/{crm-GXXU5W7T.js.map → crm-GWX5N5VX.js.map} +0 -0
- /package/dist/{customers-MKBX6KJ5.js.map → customers-L6AEA5SH.js.map} +0 -0
- /package/dist/{delete-DFXR77UH.js.map → delete-3E7U7AXW.js.map} +0 -0
- /package/dist/{delete-SATPEDYL.js.map → delete-B5VPLGVD.js.map} +0 -0
- /package/dist/{delete-NHXWYWFL.js.map → delete-GPFG2EAI.js.map} +0 -0
- /package/dist/{demographics-VN4ASJ2V.js.map → demographics-VHRTEOVN.js.map} +0 -0
- /package/dist/{discard-WQJVE6L4.js.map → discard-RHB33LZD.js.map} +0 -0
- /package/dist/{domain-QMGXWKBX.js.map → domain-7A2OA4CJ.js.map} +0 -0
- /package/dist/{download-G4DJZAGI.js.map → download-QGRHPYEA.js.map} +0 -0
- /package/dist/{draft-UFJ7ALPI.js.map → draft-33LYVYLR.js.map} +0 -0
- /package/dist/{draft-X7G4CMUO.js.map → draft-EETGHQSL.js.map} +0 -0
- /package/dist/{draft-2GYY3P7V.js.map → draft-GJXYFMN3.js.map} +0 -0
- /package/dist/{experiments-6TEAXNVD.js.map → experiments-R7Q3JHF6.js.map} +0 -0
- /package/dist/{extract-C5K3ZZ42.js.map → extract-DAL6BFFV.js.map} +0 -0
- /package/dist/{facets-E5MFMDR2.js.map → facets-RQ64RG55.js.map} +0 -0
- /package/dist/{feedback-2VZGXOPQ.js.map → feedback-NV5YWGVA.js.map} +0 -0
- /package/dist/{fetch-JVI3AO3Q.js.map → fetch-MK3D7HNE.js.map} +0 -0
- /package/dist/{fit-T4AAV2PV.js.map → fit-5H22WDWO.js.map} +0 -0
- /package/dist/{flows-2VSLY57O.js.map → flows-WZVEBAET.js.map} +0 -0
- /package/dist/{forecast-LPFNFHXJ.js.map → forecast-YEQNYTBW.js.map} +0 -0
- /package/dist/{funnel-RT5E3EAA.js.map → funnel-ZY23YOLP.js.map} +0 -0
- /package/dist/{get-TPFHXTSS.js.map → get-7ADEKKWT.js.map} +0 -0
- /package/dist/{get-3OVHBZFM.js.map → get-EESMKLQH.js.map} +0 -0
- /package/dist/{google-EFM636ZH.js.map → google-GJ3P4TBZ.js.map} +0 -0
- /package/dist/{google-ads-FAAP6HCR.js.map → google-ads-MPKZINIC.js.map} +0 -0
- /package/dist/{history-7IGBWWON.js.map → history-6TFUNV25.js.map} +0 -0
- /package/dist/{history-7UERQA6C.js.map → history-RNXA4WSB.js.map} +0 -0
- /package/dist/{hubspot-JU6QECUR.js.map → hubspot-VLIDH5CB.js.map} +0 -0
- /package/dist/{ideas-5V4TFQA4.js.map → ideas-BKP2MB3V.js.map} +0 -0
- /package/dist/{images-EFG555RC.js.map → images-FP3W3FOK.js.map} +0 -0
- /package/dist/{ingest-3I6RBUAY.js.map → ingest-CAAFDOSU.js.map} +0 -0
- /package/dist/{ingest-FHT7W74C.js.map → ingest-L272OO2C.js.map} +0 -0
- /package/dist/{inspect-AIX4H3CD.js.map → inspect-GTW4UNTR.js.map} +0 -0
- /package/dist/{keyword-metrics-AIOK6XG2.js.map → keyword-metrics-RK2U2BMY.js.map} +0 -0
- /package/dist/{keywords-for-site-WKUQFYDA.js.map → keywords-for-site-24T2D5FG.js.map} +0 -0
- /package/dist/{leads-MXYKHRWR.js.map → leads-5T5WZ7J3.js.map} +0 -0
- /package/dist/{learn-OIJXLZL5.js.map → learn-4UTMEYPK.js.map} +0 -0
- /package/dist/{line-item-writes-DOYJD2IK.js.map → line-item-writes-SZWTHCGQ.js.map} +0 -0
- /package/dist/{line-items-KFL5JZ2H.js.map → line-items-M2HPX7QH.js.map} +0 -0
- /package/dist/{link-XGDKRLHM.js.map → link-QVD77I6G.js.map} +0 -0
- /package/dist/{linkedin-UEDF45LH.js.map → linkedin-LMLVWXCP.js.map} +0 -0
- /package/dist/{linkedin-person-UPJBQUXL.js.map → linkedin-person-7RIO2CGU.js.map} +0 -0
- /package/dist/{list-UX5PWGOI.js.map → list-DQQIFVS6.js.map} +0 -0
- /package/dist/{list-6H6UFMMY.js.map → list-F55WKQ3U.js.map} +0 -0
- /package/dist/{list-DXCIXAYY.js.map → list-HF7735KD.js.map} +0 -0
- /package/dist/{log-KBRWBRLH.js.map → log-NWQ44G34.js.map} +0 -0
- /package/dist/{make-6FZSKF4C.js.map → make-GIQ2WVFG.js.map} +0 -0
- /package/dist/{map-7SSEVSE4.js.map → map-QPAQN6FH.js.map} +0 -0
- /package/dist/{mcp-LYUWG3BL.js.map → mcp-AIX2FFJI.js.map} +0 -0
- /package/dist/{media-sources-YE6IWKXB.js.map → media-sources-HUHQPLRI.js.map} +0 -0
- /package/dist/{members-RIDPBGPP.js.map → members-4S5S5MQY.js.map} +0 -0
- /package/dist/{normalize-YTK5GDBU.js.map → normalize-LUU3XZJ4.js.map} +0 -0
- /package/dist/{options-JEKY7C73.js.map → options-CBMUWESK.js.map} +0 -0
- /package/dist/{organization-EPYS5C5B.js.map → organization-CPTY5ZJ7.js.map} +0 -0
- /package/dist/{people-2N5TX2GU.js.map → people-CT2R7I3A.js.map} +0 -0
- /package/dist/{people-QFZI2E7P.js.map → people-HW7I6C44.js.map} +0 -0
- /package/dist/{performance-25L7LKP2.js.map → performance-DEYAGGQR.js.map} +0 -0
- /package/dist/{performance-OJ7OIPLA.js.map → performance-HER5WPQV.js.map} +0 -0
- /package/dist/{pipedrive-ATF7T26W.js.map → pipedrive-OXQJ7G2S.js.map} +0 -0
- /package/dist/{preview-RFTLMN3O.js.map → preview-W6QGDTZR.js.map} +0 -0
- /package/dist/{promoted-tweet-writes-KXYO4YKC.js.map → promoted-tweet-writes-4GBHGHVK.js.map} +0 -0
- /package/dist/{promoted-tweets-3KNM4CGF.js.map → promoted-tweets-VG6SQJJB.js.map} +0 -0
- /package/dist/{publish-VKSYIMOZ.js.map → publish-ATE3IYJQ.js.map} +0 -0
- /package/dist/{reddit-6A6426JJ.js.map → reddit-KDVYUSFS.js.map} +0 -0
- /package/dist/{refresh-YZIJGDG7.js.map → refresh-JBVA56NO.js.map} +0 -0
- /package/dist/{release-DJYNQWDN.js.map → release-MICSOSC3.js.map} +0 -0
- /package/dist/{remove-UJSWD3QN.js.map → remove-GXQBETKU.js.map} +0 -0
- /package/dist/{reopen-55YN5WVQ.js.map → reopen-5G6A3MD6.js.map} +0 -0
- /package/dist/{rerun-V4GD7RIZ.js.map → rerun-7Y6FGYBU.js.map} +0 -0
- /package/dist/{research-MXXNHCPT.js.map → research-7OQ2GBBD.js.map} +0 -0
- /package/dist/{research-PUNEJ4WW.js.map → research-HED4MLDA.js.map} +0 -0
- /package/dist/{reset-HDBZXDUS.js.map → reset-4IH2O7XC.js.map} +0 -0
- /package/dist/{reset-P4BU73ZJ.js.map → reset-V4WP3AZY.js.map} +0 -0
- /package/dist/{resolve-EETBZN2N.js.map → resolve-NIWEPZQK.js.map} +0 -0
- /package/dist/{retry-PV5WMRZK.js.map → retry-JI4TRLWW.js.map} +0 -0
- /package/dist/{retry-KEFXYANH.js.map → retry-YY4M7ZS7.js.map} +0 -0
- /package/dist/{revenue-ZDC45HPI.js.map → revenue-TSNN4MLL.js.map} +0 -0
- /package/dist/{rules-IHIQQF5C.js.map → rules-DFKXKOIH.js.map} +0 -0
- /package/dist/{run-4KS5GKXA.js.map → run-I3KDSVHK.js.map} +0 -0
- /package/dist/{run-SBGLLSTU.js.map → run-JUHYM6FQ.js.map} +0 -0
- /package/dist/{scaffold-ad-LZVQI3H7.js.map → scaffold-ad-LIJP2FWI.js.map} +0 -0
- /package/dist/{scaffold-static-ad-USLJM4R7.js.map → scaffold-static-ad-NOGRG3NU.js.map} +0 -0
- /package/dist/{scaffold-video-ELVMOT45.js.map → scaffold-video-QKZWWLK3.js.map} +0 -0
- /package/dist/{schedule-R22K2MGT.js.map → schedule-7TLL73TJ.js.map} +0 -0
- /package/dist/{scheduled-agents-7RMFVLN3.js.map → scheduled-agents-4W6SUF7K.js.map} +0 -0
- /package/dist/{schema-3UW3SOQD.js.map → schema-LUOT2YWP.js.map} +0 -0
- /package/dist/{schema-ACS6VIN7.js.map → schema-Z5MLEOPV.js.map} +0 -0
- /package/dist/{search-7Y5EIPEJ.js.map → search-4OHSIJ5S.js.map} +0 -0
- /package/dist/{select-5YZ6KGO4.js.map → select-NB5QFWBQ.js.map} +0 -0
- /package/dist/{set-DJTYRL2B.js.map → set-X4TIVL75.js.map} +0 -0
- /package/dist/{set-prompt-HLJ6FKH7.js.map → set-prompt-DYVNVWPR.js.map} +0 -0
- /package/dist/{setup-links-3YMLESXT.js.map → setup-links-7MMKBBNS.js.map} +0 -0
- /package/dist/{shopify-XVMJVBRL.js.map → shopify-XQLF3OSG.js.map} +0 -0
- /package/dist/{site-5XYSUVEO.js.map → site-LA43UBS5.js.map} +0 -0
- /package/dist/{sources-AEH3WZZL.js.map → sources-T5OSHXEZ.js.map} +0 -0
- /package/dist/{sources-IMMMS2ZK.js.map → sources-Y5BPGZDS.js.map} +0 -0
- /package/dist/{stale-STQUFOQS.js.map → stale-CZWEYIE5.js.map} +0 -0
- /package/dist/{status-UQERTATZ.js.map → status-NQJ2EFVY.js.map} +0 -0
- /package/dist/{stock-4MEA3OAY.js.map → stock-RVZ26K5O.js.map} +0 -0
- /package/dist/{sync-ND3WE42R.js.map → sync-F4OFYPWO.js.map} +0 -0
- /package/dist/{sync-definition-4ZOMBZLL.js.map → sync-definition-HGEWOWJF.js.map} +0 -0
- /package/dist/{tags-N32O6S4Q.js.map → tags-F46OFVCJ.js.map} +0 -0
- /package/dist/{tags-6AH5WJTO.js.map → tags-MA4IEU72.js.map} +0 -0
- /package/dist/{tags-WOFDS44M.js.map → tags-VQWGD2GD.js.map} +0 -0
- /package/dist/{tags-WZIIZSUK.js.map → tags-ZLZUVUQR.js.map} +0 -0
- /package/dist/{tags-M4SRJULS.js.map → tags-ZQTFVW7O.js.map} +0 -0
- /package/dist/{targeting-criteria-QMWFNZSN.js.map → targeting-criteria-2QXAUXZK.js.map} +0 -0
- /package/dist/{targets-VWTBHD5K.js.map → targets-GHQI54FH.js.map} +0 -0
- /package/dist/{testimonials-YZFIQDJS.js.map → testimonials-N2IJWI2K.js.map} +0 -0
- /package/dist/{top-companies-BWBG6VDR.js.map → top-companies-E34WBFUA.js.map} +0 -0
- /package/dist/{transcript-LQD4BQBX.js.map → transcript-FJTJPGFP.js.map} +0 -0
- /package/dist/{translate-NDEGN7IQ.js.map → translate-YD7LPJVX.js.map} +0 -0
- /package/dist/{triggers-QIUVJTQH.js.map → triggers-R7HHYGGO.js.map} +0 -0
- /package/dist/{unlink-NEWANAJV.js.map → unlink-EKSJV2VW.js.map} +0 -0
- /package/dist/{unstage-IZ65HQWO.js.map → unstage-VAUFBOYH.js.map} +0 -0
- /package/dist/{update-6JBXNAYP.js.map → update-2DMROK6H.js.map} +0 -0
- /package/dist/{update-VCWV54LD.js.map → update-6KM7IKLS.js.map} +0 -0
- /package/dist/{update-37LGNICM.js.map → update-HTUCH7VE.js.map} +0 -0
- /package/dist/{update-TZ5S5AEQ.js.map → update-U6VNLZ6C.js.map} +0 -0
- /package/dist/{upload-NXWO2M4K.js.map → upload-L4I2RCGF.js.map} +0 -0
- /package/dist/{url-params-NAPRU6VS.js.map → url-params-AJ52B5MJ.js.map} +0 -0
- /package/dist/{validate-XSO7M2N6.js.map → validate-G5VEYZSF.js.map} +0 -0
- /package/dist/{videos-TDGFNXJB.js.map → videos-5O6CD4JB.js.map} +0 -0
- /package/dist/{viewer-check-WQAMTCIQ.js.map → viewer-check-MGJDS4QE.js.map} +0 -0
- /package/dist/{visuals-JJAWZME4.js.map → visuals-WVTOLYML.js.map} +0 -0
- /package/dist/{winning-ads-74CDMGTQ.js.map → winning-ads-7YKQWUSQ.js.map} +0 -0
- /package/dist/{write-commands-QYRZX65S.js.map → write-commands-XDPOQUWW.js.map} +0 -0
- /package/dist/{x-2FX42TQK.js.map → x-QDE43RUR.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleLinkedinError,
|
|
3
3
|
resolveAccountIdArg
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PBBJCWYU.js";
|
|
5
5
|
import {
|
|
6
6
|
writeAdsJson
|
|
7
7
|
} from "./chunk-7W5KGO5H.js";
|
|
8
8
|
import {
|
|
9
9
|
LINKEDIN_TRACKING_PARAMS_AD_SET_MAX
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QOJV2SPO.js";
|
|
11
11
|
import "./chunk-RJHGIRU2.js";
|
|
12
12
|
import "./chunk-WCU362Z6.js";
|
|
13
13
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -100,4 +100,4 @@ export {
|
|
|
100
100
|
hints,
|
|
101
101
|
urlParamsCommand
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=url-params-
|
|
103
|
+
//# sourceMappingURL=url-params-AJ52B5MJ.js.map
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
shownBaseline,
|
|
5
5
|
shownVersion,
|
|
6
6
|
validateResult
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QCAXDRYY.js";
|
|
8
8
|
import {
|
|
9
9
|
staticReviewCredits
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FC5A24OS.js";
|
|
11
11
|
import {
|
|
12
12
|
creativeSlugFromCanvasPath
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-BSAKN4J7.js";
|
|
14
|
+
import "./chunk-22EZ5APX.js";
|
|
15
15
|
import {
|
|
16
16
|
exitOnPrepareError,
|
|
17
17
|
prepareCanvas
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S4KGA3GX.js";
|
|
19
19
|
import "./chunk-ECRLT7YJ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZWCLTH3U.js";
|
|
21
21
|
import {
|
|
22
22
|
turnRefusals
|
|
23
23
|
} from "./chunk-R2UE6S4P.js";
|
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
defaultRegistry,
|
|
41
41
|
validateCanvasDeep,
|
|
42
42
|
warningsOnChangedNodes
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-FJQQEO6L.js";
|
|
44
|
+
import "./chunk-27AILC4U.js";
|
|
45
45
|
import "./chunk-OXC5TCEK.js";
|
|
46
46
|
import "./chunk-DGCUPJZD.js";
|
|
47
47
|
import "./chunk-7YYB62Q6.js";
|
|
@@ -59,7 +59,7 @@ import "./chunk-WZ5YRUQU.js";
|
|
|
59
59
|
import "./chunk-EHD4QVEL.js";
|
|
60
60
|
import "./chunk-7S7QUQIM.js";
|
|
61
61
|
import "./chunk-BXAPQKOP.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-QOJV2SPO.js";
|
|
63
63
|
import "./chunk-RJHGIRU2.js";
|
|
64
64
|
import "./chunk-WCU362Z6.js";
|
|
65
65
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -178,4 +178,4 @@ async function runPreview(validated, where) {
|
|
|
178
178
|
export {
|
|
179
179
|
validateCommand
|
|
180
180
|
};
|
|
181
|
-
//# sourceMappingURL=validate-
|
|
181
|
+
//# sourceMappingURL=validate-G5VEYZSF.js.map
|
|
@@ -25,17 +25,17 @@ Full guide: __tooling__/docs/tools/baker/videos.md`
|
|
|
25
25
|
get: () => import("./get-MB2XJO3C.js").then((m) => m.getCommand),
|
|
26
26
|
group: () => import("./group-REEZ4ZG4.js").then((m) => m.groupCommand),
|
|
27
27
|
search: () => import("./search-QU6MW74C.js").then((m) => m.searchCommand),
|
|
28
|
-
upload: () => import("./upload-
|
|
29
|
-
ingest: () => import("./ingest-
|
|
28
|
+
upload: () => import("./upload-L4I2RCGF.js").then((m) => m.uploadCommand),
|
|
29
|
+
ingest: () => import("./ingest-CAAFDOSU.js").then((m) => m.ingestCommand),
|
|
30
30
|
fetch: () => import("./fetch-MIEXNNMP.js").then((m) => m.fetchCommand),
|
|
31
|
-
download: () => import("./download-
|
|
31
|
+
download: () => import("./download-QGRHPYEA.js").then((m) => m.downloadCommand),
|
|
32
32
|
describe: () => import("./describe-N7CSWKPQ.js").then((m) => m.describeCommand),
|
|
33
33
|
delete: () => import("./delete-CSNIM5WC.js").then((m) => m.deleteCommand),
|
|
34
|
-
retry: () => import("./retry-
|
|
35
|
-
tags: () => import("./tags-
|
|
34
|
+
retry: () => import("./retry-JI4TRLWW.js").then((m) => m.retryCommand),
|
|
35
|
+
tags: () => import("./tags-ZLZUVUQR.js").then((m) => m.tagsCommand)
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
export {
|
|
39
39
|
videosCommand
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=videos-
|
|
41
|
+
//# sourceMappingURL=videos-5O6CD4JB.js.map
|
|
@@ -47,7 +47,7 @@ import "./chunk-WZ5YRUQU.js";
|
|
|
47
47
|
import "./chunk-EHD4QVEL.js";
|
|
48
48
|
import "./chunk-7S7QUQIM.js";
|
|
49
49
|
import "./chunk-BXAPQKOP.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-QOJV2SPO.js";
|
|
51
51
|
import "./chunk-RJHGIRU2.js";
|
|
52
52
|
import "./chunk-WCU362Z6.js";
|
|
53
53
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
viewerCheckFailure,
|
|
88
88
|
viewerCheckSkip
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=viewer-check-
|
|
90
|
+
//# sourceMappingURL=viewer-check-MGJDS4QE.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
failApi,
|
|
3
3
|
failValidation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JNEH5LHH.js";
|
|
5
5
|
import {
|
|
6
6
|
chatVisualShowRequestSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QOJV2SPO.js";
|
|
8
8
|
import "./chunk-RJHGIRU2.js";
|
|
9
9
|
import "./chunk-WCU362Z6.js";
|
|
10
10
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
showBody,
|
|
128
128
|
visualsCommand
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=visuals-
|
|
130
|
+
//# sourceMappingURL=visuals-WVTOLYML.js.map
|
|
@@ -9,15 +9,21 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
webDepthHints,
|
|
11
11
|
webSourceHints,
|
|
12
|
+
webUnreadQuestionUrlHints,
|
|
12
13
|
webUnverifiedUrlHints
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-32TZRSNU.js";
|
|
14
15
|
import {
|
|
15
16
|
handleResearchError,
|
|
16
17
|
writeResearchHints,
|
|
17
18
|
writeResearchJson
|
|
18
19
|
} from "./chunk-HU6BAHX5.js";
|
|
19
20
|
import "./chunk-WVWYTXL4.js";
|
|
20
|
-
import
|
|
21
|
+
import {
|
|
22
|
+
BARE_URL_QUESTION_MESSAGE,
|
|
23
|
+
bareUrlQuestion,
|
|
24
|
+
unreadQuestionUrls,
|
|
25
|
+
unverifiedBeyondQuestion
|
|
26
|
+
} from "./chunk-QOJV2SPO.js";
|
|
21
27
|
import "./chunk-RJHGIRU2.js";
|
|
22
28
|
import "./chunk-WCU362Z6.js";
|
|
23
29
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -41,6 +47,7 @@ import "./chunk-YQSBHWOI.js";
|
|
|
41
47
|
|
|
42
48
|
// src/commands/research/web.ts
|
|
43
49
|
import { defineCommand } from "citty";
|
|
50
|
+
import { quote } from "shell-quote";
|
|
44
51
|
registerSchema({
|
|
45
52
|
command: "research.web",
|
|
46
53
|
routes: [
|
|
@@ -49,7 +56,7 @@ registerSchema({
|
|
|
49
56
|
"GET /api/research/deep-research/poll"
|
|
50
57
|
],
|
|
51
58
|
effect: "read_live",
|
|
52
|
-
description: "Search the web with AI to answer marketing questions \u2014 competitors, ICP, pricing, pain points, market trends. Each source is the page itself plus the part of the answer it backs. unverifiedUrls lists every address the answer names that is none of its sources: the model wrote it from memory and nothing read it, so it is often invented \u2014 do not cite or fetch it. Depths: medium (a fast model, quick, default), high (the same model thinking longer \u2014 not a stronger model), xhigh (a deep-research agent, minutes).",
|
|
59
|
+
description: "Search the web with AI to answer marketing questions \u2014 competitors, ICP, pricing, pain points, market trends. Each source is the page itself plus the part of the answer it backs. unverifiedUrls lists every address the answer names that is none of its sources: the model wrote it from memory and nothing read it, so it is often invented \u2014 do not cite or fetch it. It never opens a page it is handed: a question that is only an address is refused (read it with research fetch), and a page the question names that is none of the sources is named as not read. Depths: medium (a fast model, quick, default), high (the same model thinking longer \u2014 not a stronger model), xhigh (a deep-research agent, minutes).",
|
|
53
60
|
args: {
|
|
54
61
|
question: {
|
|
55
62
|
type: "string",
|
|
@@ -122,7 +129,15 @@ async function runDeepResearch(question) {
|
|
|
122
129
|
}
|
|
123
130
|
async function readWeb(question, depth) {
|
|
124
131
|
if (question.length < 5) throw new ApiError("VALIDATION_ERROR", "Question must be at least 5 characters");
|
|
125
|
-
const
|
|
132
|
+
const page = bareUrlQuestion(question);
|
|
133
|
+
if (page) {
|
|
134
|
+
throw new ApiError("VALIDATION_ERROR", BARE_URL_QUESTION_MESSAGE, {
|
|
135
|
+
action: "retry_with_changes",
|
|
136
|
+
explanation: "Read the page with research fetch (--find '<words>' for just the part you need); ask research web a question in words.",
|
|
137
|
+
correctedCommand: `baker research fetch ${quote([page])}`
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
const { data: answered, incomplete } = depth === "xhigh" ? await runDeepResearch(question) : {
|
|
126
141
|
data: await apiPost(
|
|
127
142
|
"/api/research/explore",
|
|
128
143
|
{ question, depth },
|
|
@@ -130,8 +145,10 @@ async function readWeb(question, depth) {
|
|
|
130
145
|
),
|
|
131
146
|
incomplete: false
|
|
132
147
|
};
|
|
148
|
+
const data = answered.unverifiedUrls ? { ...answered, unverifiedUrls: unverifiedBeyondQuestion(question, answered.unverifiedUrls) } : answered;
|
|
133
149
|
const hints = [
|
|
134
150
|
...webSourceHints(data.sources),
|
|
151
|
+
...webUnreadQuestionUrlHints(unreadQuestionUrls(question, data.sources)),
|
|
135
152
|
...webUnverifiedUrlHints(data.unverifiedUrls ?? []),
|
|
136
153
|
...incomplete ? ["Deep research stopped at its budget, so the end of this report may be missing \u2014 say so if you use it."] : [],
|
|
137
154
|
...webDepthHints({ answer: data.answer, sourceCount: data.sources.length, depth })
|
|
@@ -177,6 +194,10 @@ An address the answer's text names that is none of its sources is listed in "unv
|
|
|
177
194
|
model wrote it, nothing read it, and it is often invented \u2014 do not cite or fetch it.
|
|
178
195
|
An answer with no sources is synthesis, not a citable fact.
|
|
179
196
|
|
|
197
|
+
It searches for pages about the question; it never opens a page you hand it. A question that is only
|
|
198
|
+
an address is refused \u2014 read that page with \`baker research fetch <url>\`. A page the question names
|
|
199
|
+
that is none of the sources is named in a hint: the answer came from other sites, not from it.
|
|
200
|
+
|
|
180
201
|
Examples:
|
|
181
202
|
baker research web "Who are the main competitors of HubSpot CRM?"
|
|
182
203
|
baker research web "Who sells X in Spain?" "What does X cost in Spain?" # several questions, one call
|
|
@@ -231,4 +252,4 @@ export {
|
|
|
231
252
|
webCommand,
|
|
232
253
|
webMarkdown
|
|
233
254
|
};
|
|
234
|
-
//# sourceMappingURL=web-
|
|
255
|
+
//# sourceMappingURL=web-ADBBWPKE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/research/web.ts"],"sourcesContent":["import {\n BARE_URL_QUESTION_MESSAGE,\n bareUrlQuestion,\n type ResearchDeepResearchPollResponse,\n type ResearchWebResponse,\n type ResearchWebSource,\n unreadQuestionUrls,\n unverifiedBeyondQuestion,\n} from \"@baker/api\";\nimport { defineCommand } from \"citty\";\nimport { quote } from \"shell-quote\";\nimport { ApiError, apiGet, apiPost } from \"../../client.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { webDepthHints, webSourceHints, webUnreadQuestionUrlHints, webUnverifiedUrlHints } 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. unverifiedUrls lists every address the answer names that is none of its sources: the model wrote it from memory and nothing read it, so it is often invented — do not cite or fetch it. It never opens a page it is handed: a question that is only an address is refused (read it with research fetch), and a page the question names that is none of the sources is named as not read. 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`, and no `unverifiedUrls`; read them as optional.\ntype WebSource = Pick<ResearchWebSource, \"title\" | \"url\"> & Partial<Pick<ResearchWebSource, \"resolved\" | \"cites\">>;\ntype WebResult = Pick<ResearchWebResponse, \"answer\"> &\n Partial<Pick<ResearchWebResponse, \"unverifiedUrls\">> & { 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 unverifiedUrls:\n \"Addresses the answer's text names that are none of its sources: written by the model, not read, often invented — do not cite or fetch them\",\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 if (data.unverifiedUrls && data.unverifiedUrls.length > 0) {\n lines.push(\"\", \"## Not among the sources — unverified, likely invented: do not cite or fetch\");\n for (const url of data.unverifiedUrls) lines.push(`- ${url}`);\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 page = bareUrlQuestion(question);\n if (page) {\n throw new ApiError(\"VALIDATION_ERROR\", BARE_URL_QUESTION_MESSAGE, {\n action: \"retry_with_changes\",\n explanation:\n \"Read the page with research fetch (--find '<words>' for just the part you need); ask research web a question in words.\",\n correctedCommand: `baker research fetch ${quote([page])}`,\n });\n }\n const { data: answered, 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 // A page the question names is the person's, not the model's: it is unread, never invented.\n const data = answered.unverifiedUrls\n ? { ...answered, unverifiedUrls: unverifiedBeyondQuestion(question, answered.unverifiedUrls) }\n : answered;\n const hints = [\n ...webSourceHints(data.sources),\n ...webUnreadQuestionUrlHints(unreadQuestionUrls(question, data.sources)),\n ...webUnverifiedUrlHints(data.unverifiedUrls ?? []),\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 address the answer's text names that is none of its sources is listed in \"unverifiedUrls\": the\nmodel wrote it, nothing read it, and it is often invented — do not cite or fetch it.\nAn answer with no sources is synthesis, not a citable fact.\n\nIt searches for pages about the question; it never opens a page you hand it. A question that is only\nan address is refused — read that page with \\`baker research fetch <url>\\`. A page the question names\nthat is none of the sources is named in a hint: the answer came from other sites, not from it.\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,qBAAqB;AAC9B,SAAS,aAAa;AAetB,eAAe;AAAA,EACb,SAAS;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M;AACpD;AAAA,IACF;AACA,QAAI;AACF,YAAM,EAAE,MAAM,MAAM,IAAI,MAAM,KAAK,UAAU,CAAC,KAAK,EAAE;AACrD,UAAI,WAAW,MAAM;AACnB,gBAAQ,OAAO,MAAM,YAAY,IAAI,CAAC;AACtC,2BAAmB,OAAO,MAAM;AAChC;AAAA,MACF;AACA,wBAAkB,EAAE,IAAI,MAAM,MAAM,QAAQ,QAAQ,MAAM,CAAC;AAAA,IAC7D,SAAS,KAAK;AACZ,0BAAoB,GAAG;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
@@ -74,9 +74,9 @@ Full guide: __tooling__/docs/tools/baker/winning-ads.md`
|
|
|
74
74
|
"search-copy": () => import("./search-copy-QCFFKVSF.js").then((m) => m.searchCopyCommand),
|
|
75
75
|
content: () => import("./content-K2CWLB4L.js").then((m) => m.contentCommand),
|
|
76
76
|
music: () => import("./music-RPSGIVG4.js").then((m) => m.musicCommand),
|
|
77
|
-
fit: () => import("./fit-
|
|
77
|
+
fit: () => import("./fit-5H22WDWO.js").then((m) => m.fitCommand),
|
|
78
78
|
unfollow: () => import("./unfollow-DJMFYRLR.js").then((m) => m.unfollowCommand),
|
|
79
|
-
refresh: () => import("./refresh-
|
|
79
|
+
refresh: () => import("./refresh-JBVA56NO.js").then((m) => m.refreshCommand),
|
|
80
80
|
hooks: () => import("./seeds-WJU2YWCR.js").then((m) => m.hooksCommand),
|
|
81
81
|
mechanisms: () => import("./seeds-WJU2YWCR.js").then((m) => m.mechanismsCommand),
|
|
82
82
|
formats: () => import("./seeds-WJU2YWCR.js").then((m) => m.formatsCommand)
|
|
@@ -85,4 +85,4 @@ Full guide: __tooling__/docs/tools/baker/winning-ads.md`
|
|
|
85
85
|
export {
|
|
86
86
|
winningAdsCommand
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=winning-ads-
|
|
88
|
+
//# sourceMappingURL=winning-ads-7YKQWUSQ.js.map
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
stageLinkedinOps,
|
|
18
18
|
stageOp,
|
|
19
19
|
stageStatusChange
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ILYU5TA4.js";
|
|
21
21
|
import {
|
|
22
22
|
handleLinkedinError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PBBJCWYU.js";
|
|
24
24
|
import "./chunk-PMYE6WGA.js";
|
|
25
25
|
import "./chunk-UKENQSZ2.js";
|
|
26
26
|
import "./chunk-D5FY4FAK.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
TRACKING_PARAM_DYNAMIC_VALUES,
|
|
49
49
|
campaignExcludeCompaniesSchema,
|
|
50
50
|
sponsoredPostUrn
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-QOJV2SPO.js";
|
|
52
52
|
import "./chunk-RJHGIRU2.js";
|
|
53
53
|
import "./chunk-WCU362Z6.js";
|
|
54
54
|
import "./chunk-P7YPWBEV.js";
|
|
@@ -1553,4 +1553,4 @@ export {
|
|
|
1553
1553
|
sponsoredPostArgs,
|
|
1554
1554
|
trackingParamsPayload
|
|
1555
1555
|
};
|
|
1556
|
-
//# sourceMappingURL=write-commands-
|
|
1556
|
+
//# sourceMappingURL=write-commands-XDPOQUWW.js.map
|
|
@@ -27,15 +27,15 @@ Full guide: __tooling__/docs/tools/baker/ads-x.md`
|
|
|
27
27
|
subCommands: {
|
|
28
28
|
accounts: () => import("./accounts-2B4ICY4M.js").then((m) => m.accountsCommand),
|
|
29
29
|
funding: () => import("./funding-DV2MEXYU.js").then((m) => m.fundingCommand),
|
|
30
|
-
campaigns: () => import("./campaigns-
|
|
31
|
-
"line-items": () => import("./line-items-
|
|
32
|
-
"promoted-tweets": () => import("./promoted-tweets-
|
|
30
|
+
campaigns: () => import("./campaigns-YJL5A7LJ.js").then((m) => m.campaignsCommand),
|
|
31
|
+
"line-items": () => import("./line-items-M2HPX7QH.js").then((m) => m.lineItemsCommand),
|
|
32
|
+
"promoted-tweets": () => import("./promoted-tweets-VG6SQJJB.js").then((m) => m.promotedTweetsCommand),
|
|
33
33
|
tweets: () => import("./tweets-H7MNBAWN.js").then((m) => m.tweetsCommand),
|
|
34
34
|
cards: () => import("./cards-PKHXYEPN.js").then((m) => m.cardsCommand),
|
|
35
|
-
draft: () => import("./draft-
|
|
35
|
+
draft: () => import("./draft-GJXYFMN3.js").then((m) => m.draftCommand),
|
|
36
36
|
media: () => import("./media-4NRZA5ZK.js").then((m) => m.mediaCommand),
|
|
37
37
|
audiences: () => import("./audiences-VTLO36XT.js").then((m) => m.audiencesCommand),
|
|
38
|
-
"targeting-criteria": () => import("./targeting-criteria-
|
|
38
|
+
"targeting-criteria": () => import("./targeting-criteria-2QXAUXZK.js").then((m) => m.targetingCriteriaCommand),
|
|
39
39
|
"targeting-constants": () => import("./targeting-constants-Z2RBJTVY.js").then((m) => m.targetingConstantsCommand),
|
|
40
40
|
"active-entities": () => import("./active-entities-UWSWFO62.js").then((m) => m.activeEntitiesCommand),
|
|
41
41
|
stats: () => import("./stats-D75DTFAJ.js").then((m) => m.statsCommand)
|
|
@@ -44,4 +44,4 @@ Full guide: __tooling__/docs/tools/baker/ads-x.md`
|
|
|
44
44
|
export {
|
|
45
45
|
xCommand
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=x-
|
|
47
|
+
//# sourceMappingURL=x-QDE43RUR.js.map
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/research/hints.ts"],"sourcesContent":["/**\n * The `research` family shipped with no `hints[]` on any command. Everything\n * here is one nudge for one dead end that an audited run actually hit — not a\n * running commentary on healthy results.\n */\n\nimport {\n RESEARCH_GOOGLE_ADS_MAX_COPY,\n type ResearchCompanyHiring,\n type ResearchCompanyIndustry,\n type ResearchRedditSource,\n} from \"@baker/api\";\nimport type { QueryContext } from \"../../geo-context.ts\";\nimport type { ResearchFix } from \"./output.ts\";\n\ntype Depth = \"medium\" | \"high\" | \"xhigh\";\n\n/**\n * `advertisers` is named after advertisers and returns none of their advertising.\n * A run read the name as \"SERP ad creative\", got domain economics, and wrote \"no\n * live paid ad copy captured\" into the client's vault without ever trying the\n * command that does return copy. So this fires on every call, not just empty ones.\n */\nexport const AD_COPY_ROUTE =\n \"This returns competing domains and their SERP economics — no ad copy, no headlines, no creative. \" +\n \"For a competitor's Google ads and their copy: `baker research google-ads <competitor.com> --copy` \" +\n \"(Google's Ads Transparency Center: every ad, how long it has run, and the text ads' headline and description). \" +\n 'For Meta and LinkedIn: `baker winning-ads advertisers \"<brand>\"` → ' +\n '`baker winning-ads search \"<brief>\" --advertiser-id <id>` → `baker winning-ads content <adId>` ' +\n \"(`primary_text` / `headline` / `cta`, plus the spoken transcript and on-screen text for video). \" +\n \"Do not keep querying this command for copy.\";\n\n/**\n * Empty SERP data has two causes and only one is worth a second call: the wrong\n * market. Once the market was explicit, a re-query is waste — say so, because\n * \"no rows\" otherwise reads as \"reword the keyword\".\n */\nexport function noSerpRowsHints(rowCount: number, queryContext: QueryContext): string[] {\n if (rowCount > 0) {\n return [];\n }\n const defaulted = queryContext.location_is_default || queryContext.language_is_default;\n if (defaulted) {\n return [\n `No rows for ${queryContext.location} / ${queryContext.language} — the market you did not set. ` +\n \"Set --location and --language for the client's actual market and re-run once \" +\n \"(`baker research countries` / `baker research languages` for the accepted codes) \" +\n \"before you touch the keyword.\",\n ];\n }\n return [\n `No rows for ${queryContext.location} / ${queryContext.language}, which you set explicitly. ` +\n \"This term has no third-party SERP coverage in that market — move on rather than re-querying it. \" +\n \"For demand signal try `baker research autocomplete`; for a competitor's actual terms, \" +\n \"`baker research keywords-for-site <domain>`.\",\n ];\n}\n\nexport function advertisersHints(rowCount: number, queryContext: QueryContext): string[] {\n return [...noSerpRowsHints(rowCount, queryContext), AD_COPY_ROUTE];\n}\n\n/**\n * \"This competitor buys no paid search\" is a real competitive answer, but it\n * arrives as an empty array that looks like a broken call — so say which it is\n * before the agent re-runs the same query with a different sort.\n */\nexport function keywordsForSiteHints(\n rowCount: number,\n queryContext: QueryContext,\n typeFilter: string | undefined,\n): string[] {\n if (rowCount > 0) {\n return [];\n }\n if (typeFilter === \"paid\" || typeFilter === \"organic\") {\n return [\n `No rows with --type ${typeFilter} in ${queryContext.location} / ${queryContext.language}. ` +\n `A domain with zero ${typeFilter} keywords in a market is itself the finding — record it and move on. ` +\n \"Confirm once with --type all (nothing at all there means the domain has no SERP coverage, \" +\n \"not that it has no ads) instead of re-running with a different --sort or --limit.\",\n ];\n }\n return noSerpRowsHints(rowCount, queryContext);\n}\n\nconst THIN_ANSWER_CHARS = 600;\nconst THIN_SOURCE_COUNT = 2;\n\n// Only `medium` and `high` have somewhere to escalate to; `xhigh` is the ceiling,\n// so a thin answer there is a fact about the web, not a flag the agent forgot.\nconst ESCALATION: Partial<Record<Depth, string>> = {\n medium:\n \"`medium` is a quick lookup, not a search. Re-ask the SAME question once with `--depth high` before \" +\n \"concluding the web has nothing on it.\",\n high:\n \"`high` already thought hard about this. `--depth xhigh` is the only step left and it can run 15 minutes — \" +\n \"take it only if this answer blocks a deliverable; otherwise record the gap and move on.\",\n};\n\n/**\n * Google grounding used to come back as opaque redirect links labelled by domain,\n * and the agent guessed the real paths, 404'd, and invented links. The backend\n * now follows them; this says what to do with the ones it could not, and with\n * an answer that rests on nothing.\n */\nexport function webSourceHints(sources: Array<{ resolved?: boolean }>): string[] {\n if (sources.length === 0) {\n return [\n \"This answer came back with no sources. Treat every claim in it as Synthesis: — no source to cite. \" +\n \"Do not attach a URL to it; to cite a fact, find the page that states it and read it with `baker research fetch`.\",\n ];\n }\n // An older backend sends no `resolved`; only an explicit false is a link we know is opaque.\n const unresolved = sources.filter((s) => s.resolved === false).length;\n if (unresolved > 0) {\n return [\n `${unresolved} of ${sources.length} sources are Google links that could not be followed (resolved: false). ` +\n \"Do not cite them or guess a path from the site name — cite only a resolved URL, or open the claim's page yourself.\",\n ];\n }\n return [];\n}\n\n/**\n * The model writes article addresses into its prose from memory; one run spent\n * eight fetches on such links before learning they did not exist (BAKER-1502).\n * The backend lists every address the answer names that is none of its sources.\n */\nexport function webUnverifiedUrlHints(unverifiedUrls: string[]): string[] {\n if (unverifiedUrls.length === 0) {\n return [];\n }\n return [\n `${unverifiedUrls.length} address(es) in the answer are none of its sources (unverifiedUrls): the model wrote them, nothing read them, and they are often invented. ` +\n \"Do not cite or fetch them — cite the sources, or find the page with another `baker research web` question.\",\n ];\n}\n\n/**\n * The one thing worth saying about a page that came back fine is that you are\n * not looking at all of it — which the content itself cannot tell you.\n */\nexport function fetchHints({\n truncated,\n contentChars,\n shownChars,\n maxChars,\n}: {\n truncated: boolean;\n contentChars: number;\n shownChars: number;\n /** The `--max-chars` bound, when one was passed: it wins over `--full`. */\n maxChars?: number;\n}): string[] {\n const hints: string[] = [];\n\n if (shownChars < contentChars) {\n const more =\n maxChars === undefined\n ? \"Re-run the same command with `--full` for the whole page\"\n : \"Re-run with a larger `--max-chars` for more, or without `--max-chars` and with `--full` for the whole page\";\n hints.push(\n `Showing the first ${shownChars.toLocaleString(\"en-US\")} of ${contentChars.toLocaleString(\"en-US\")} characters. ` +\n `${more}, or \\`--find '<words>'\\` for only the lines you need — the read is cached for 24h, so it costs no extra time and no extra credit.`,\n );\n }\n\n if (truncated) hints.push(TRUNCATED_READ);\n\n return hints;\n}\n\nconst TRUNCATED_READ =\n \"This page is longer than one read returns, so the end of it is missing. \" +\n \"Don't present this as the complete page; if the part you need is further down, fetch the deeper URL directly.\";\n\n/** Where to look next when the page itself did not have it: the chrome left out of a main-content read. */\nconst wholePageNudge = (wholePage: boolean) =>\n wholePage ? \"\" : \" The read is the main content only: add `--whole-page` to include the header, nav and footer.\";\n\n/**\n * `--find` answers from the whole read, so \"no match\" is a finding about the\n * page, not a reason to dump it and grep by hand.\n */\nexport function findHints({\n find,\n matches,\n shownMatches,\n maxChars,\n wholePage,\n truncated,\n}: {\n find: string;\n matches: number;\n /** Matching lines the answer shows: fewer when the passage limit or the character budget cut it short. */\n shownMatches: number;\n /** The `--max-chars` bound, when one was passed. */\n maxChars?: number;\n wholePage: boolean;\n truncated: boolean;\n}): string[] {\n const hints: string[] = [];\n if (matches === 0) {\n hints.push(\n `No line of the page matches \\`${find}\\` (case-insensitive). Try another word the page would use — its language, a currency sign, a digit pattern like '[0-9]+,[0-9]{2}'.${wholePageNudge(wholePage)}`,\n );\n }\n if (shownMatches < matches) {\n const more = maxChars === undefined ? \"\" : \", or raise `--max-chars`\";\n hints.push(\n `${matches - shownMatches} more matching lines are not shown. Narrow \\`--find\\` to the words around what you need${more}.`,\n );\n }\n if (truncated) hints.push(TRUNCATED_READ);\n return hints;\n}\n\ninterface RefCount {\n kept: number;\n total: number;\n}\n\nexport function refsHints({\n links,\n images,\n find,\n wholePage,\n truncated,\n}: {\n links?: RefCount;\n images?: RefCount;\n find?: string;\n wholePage: boolean;\n truncated: boolean;\n}): string[] {\n const hints: string[] = [];\n const empty = (name: string, count: RefCount) => {\n if (count.kept > 0) return;\n hints.push(\n count.total > 0 && find !== undefined\n ? `None of the page's ${count.total} ${name} matches \\`${find}\\`.${wholePageNudge(wholePage)}`\n : `The page references no ${name}.${wholePageNudge(wholePage)}`,\n );\n };\n if (links) empty(\"links\", links);\n if (images) empty(\"images\", images);\n if (truncated) hints.push(TRUNCATED_READ);\n return hints;\n}\n\nexport function webDepthHints({\n answer,\n sourceCount,\n depth,\n}: {\n answer: string;\n sourceCount: number;\n depth: Depth;\n}): string[] {\n const thin = answer.length < THIN_ANSWER_CHARS || sourceCount <= THIN_SOURCE_COUNT;\n const escalation = ESCALATION[depth];\n if (!thin || !escalation) {\n return [];\n }\n return [`Thin answer (${answer.length} chars, ${sourceCount} source(s)). ${escalation}`];\n}\n\n/**\n * The volume DataForSEO returns is Google's own Keyword Planner figure resold,\n * so putting the two side by side validates nothing — a run did exactly that,\n * found all seven rows agreeing to the digit, and reported the agreement as\n * corroboration. This fires on every call rather than on a suspicious one,\n * because by the time the numbers are in a table the provenance is already gone.\n */\nexport function keywordMetricsHints({\n rows,\n asked,\n clickstream,\n queryContext,\n}: {\n rows: Array<{ keyword: string; location?: string; search_volume: number | null }>;\n asked: string[];\n clickstream: boolean;\n queryContext: QueryContext;\n}): string[] {\n if (rows.length === 0) {\n return noSerpRowsHints(0, queryContext);\n }\n\n const provenance =\n \"DataForSEO resells Google's Keyword Planner volume — planner_search_volume here is the SAME number \" +\n \"`baker ads google keywords metrics` returns, not an independent reading of it. Quoting the two as agreeing \" +\n \"sources is not corroboration.\" +\n (clickstream\n ? \" clickstream_search_volume IS independent (DataForSEO's own panels); when the two disagree, say which one you are quoting.\"\n : \" For a genuinely independent estimate of demand, re-run with --clickstream (costs 2x), or use first-party data: \" +\n \"`baker gsc query` for what already reaches the site, or the account's own search terms.\");\n\n const hints = [provenance];\n\n const compared = rows.some((row) => row.location !== undefined);\n const empty = rows\n .filter((row) => row.search_volume === null)\n .map((row) => (row.location === undefined ? row.keyword : `${row.keyword} (${row.location})`));\n if (empty.length > 0) {\n hints.push(\n `${empty.length} of ${compared ? `${rows.length} keyword/market rows` : `${asked.length} keywords`} came back with no data in ${queryContext.location} / ${queryContext.language}: ` +\n `${empty.join(\", \")}. That is missing coverage, NOT zero demand — do not report them as unsearched, and do not ` +\n \"re-query them reworded. `baker research autocomplete` on the head term is the way to find the phrasing that market uses.\",\n );\n }\n\n return hints;\n}\n\n/**\n * The archive keeps a post's words the moment it is written and its points\n * only once it has settled, so a number on something young is not the number\n * Reddit shows. Said once, when it applies, so a count is never quoted as live.\n */\nconst ARCHIVE_NOTE =\n \"Read from the Reddit archive: the words are as posted, but points and comment counts on anything under ~36h old are as first captured — don't quote those numbers as current.\";\n\n/**\n * An empty Reddit search is almost always a phrasing miss, not a silent\n * audience: Reddit matches words, and people write in their own. A run that\n * came back empty on a posts search also never looked at the replies, which is\n * where most of the verbatim voice is.\n */\nexport function redditSearchHints({\n resultCount,\n kind,\n source,\n}: {\n resultCount: number;\n kind: \"posts\" | \"comments\";\n source: ResearchRedditSource;\n}): string[] {\n const hints: string[] = [];\n if (resultCount === 0) {\n hints.push(\n \"Nothing matched. Reddit search matches words, not meaning: try the audience's own phrasing (one distinctive word, \" +\n \"or a seed from `baker research autocomplete`), a longer --since window, or other subreddits — \" +\n '`baker research reddit subreddits \"<topic>\"` finds where the audience actually talks' +\n (kind === \"posts\"\n ? \", and try --kind comments --subreddit <names> — most of the voice is in the replies, and replies are only searched inside named subreddits.\"\n : \".\"),\n );\n } else if (kind === \"posts\") {\n hints.push(\n \"Titles rarely carry the voice. Read the promising threads with `baker research reddit thread <permalink>` \" +\n \"for the replies, or search the replies directly with --kind comments --subreddit <the subreddits these came from>.\",\n );\n }\n if (source === \"archive\" && resultCount > 0) hints.push(ARCHIVE_NOTE);\n return hints;\n}\n\n/** A thread whose replies no source would serve is still the post — but it must not read as a thread nobody answered. */\nexport function redditThreadHints({\n commentsShown,\n commentsAsked,\n commentCount,\n source,\n}: {\n commentsShown: number;\n commentsAsked: number;\n commentCount: number | null;\n source: ResearchRedditSource;\n}): string[] {\n const hints: string[] = [];\n if (commentsAsked > 0 && commentsShown === 0 && (commentCount ?? 0) > 0) {\n hints.push(\n `This thread has ${commentCount} comments but none could be read just now. Quote the post only, and don't describe the replies.`,\n );\n }\n if (source === \"archive\") hints.push(ARCHIVE_NOTE);\n return hints;\n}\n\nconst REDDIT_HOST = /(^|\\.)reddit\\.com$|^redd\\.it$/i;\n\n/**\n * A subreddit's member count is its size, not its pulse. The run that prompted\n * this command mined r/CouriersUK — a real subreddit, with one post in its whole\n * history — and found nothing. One dated search tells a living subreddit from a\n * dead one before it is relied on.\n */\nexport function redditSubredditsHints({ resultCount }: { resultCount: number }): string[] {\n if (resultCount === 0) {\n return [\n 'No subreddits matched. Try the audience\\'s role or the platform they work on (\"amazon flex\", \"deliveroo\", \"nurses\"), one word at a time, or a web search for `site:reddit.com <topic>`.',\n ];\n }\n return [\n 'Members say how big a subreddit is, not how active it is. Before mining one, run `baker research reddit search \"<word>\" --subreddit <name> --since <a recent date>`: nothing back means it is quiet, so pick another. `restricted` can still be read; `private` cannot.',\n ];\n}\n\n/** A Reddit link that does not lead to the words attributed to it. Shared by `reddit thread` and `fetch`. */\nexport const REDDIT_LINK_REJECTED: ResearchFix = {\n action: \"reject\",\n explanation:\n \"Do not quote anything attributed to this link — it does not lead to those words. Find the real thread with `baker research reddit search`, and if you already wrote a quote from it, remove it.\",\n};\n\n/**\n * `research fetch` hands a Reddit URL to the Reddit reader, but its generic\n * remediation was written for ordinary pages: FORBIDDEN reads \"this will not\n * open, carry on without it\" and NOT_FOUND \"carry on\". For Reddit both are the\n * wrong advice. A page the reader will not turn into a thread is one `reddit`\n * command away, and a link that leads nowhere real must not be quoted at all.\n */\nexport function redditPageFix(url: string, code: string): ResearchFix | null {\n let host: string;\n try {\n host = new URL(url).hostname;\n } catch {\n return null;\n }\n if (!REDDIT_HOST.test(host)) return null;\n if (code === \"NOT_FOUND\") return REDDIT_LINK_REJECTED;\n if (code !== \"FORBIDDEN\") return null;\n return {\n action: \"retry_with_changes\",\n explanation:\n 'Read Reddit with its own commands: `baker research reddit search \"<words>\" --subreddit <name>` to find what people said, `baker research reddit thread <url>` for one thread.',\n };\n}\n\n/**\n * `google-ads` replaces a browser trip through Google's Ads Transparency\n * Center, so its hints keep the agent out of one: no ads is an answer, and an\n * ad whose copy Google does not give is shown by its link, never opened.\n */\nexport function googleAdsHints({\n target,\n adCount,\n located,\n textWithoutCopy,\n copyAsked,\n copyUnread,\n visual,\n}: {\n target: string;\n adCount: number;\n located: boolean;\n textWithoutCopy: number;\n copyAsked: boolean;\n copyUnread: number;\n visual: number;\n}): string[] {\n if (adCount === 0) {\n return [\n `No Google ads point to ${target}${located ? \" in that region\" : \"\"} — that is the answer, not a failed call: ` +\n \"this competitor is not advertising on Google there, or its ads point to another domain. \" +\n (located ? \"Re-run once without --location to see every region; then move on. \" : \"Move on. \") +\n `Its paid search terms, if any: \\`baker research keywords-for-site ${target} --type paid\\`.`,\n ];\n }\n const hints: string[] = [];\n if (!copyAsked && textWithoutCopy > 0) {\n hints.push(\n `${textWithoutCopy} text ads came back without their words. Re-run with --copy to read the headline and description of up to ${RESEARCH_GOOGLE_ADS_MAX_COPY} (cached, so only the reading is new).`,\n );\n }\n const pastCap = copyAsked ? textWithoutCopy - copyUnread : 0;\n if (pastCap > 0) {\n hints.push(\n `${pastCap} text ads past the first ${RESEARCH_GOOGLE_ADS_MAX_COPY} were not read — one request reads at most ${RESEARCH_GOOGLE_ADS_MAX_COPY}. ` +\n \"Narrow with --since, --location or --platform google_search and re-run for their words.\",\n );\n }\n if (visual > 0 || copyUnread > 0) {\n const without = [\n visual > 0 ? `${visual} image or video ads (Google gives no text for those)` : \"\",\n copyUnread > 0 ? `${copyUnread} text ads whose image could not be read` : \"\",\n ].filter(Boolean);\n hints.push(\n `No copy for ${without.join(\" and \")}: show those by their \\`transparency_url\\`. ` +\n \"Do not open the Transparency Center in agent-browser to read them — it is the browser load this command exists to avoid.\",\n );\n }\n return hints;\n}\n\n/**\n * A person's profile is read to write one account's ads and pages, and that is\n * all it is for. Said on every read, because the next natural step — saving\n * them to Knowledge, or reading them again next week — is the one we don't take.\n */\nexport const LINKEDIN_PERSON_USE =\n \"For ad and page messaging only; nothing is stored — quote their stated priorities into the creative brief \" +\n \"for this account, and don't save the person to Knowledge or read them again to keep track of them.\";\n\n/**\n * The people a search found are public profiles a decision model checked, not\n * contacts: said on every read, with the one next step that deepens a lead.\n */\nexport function peopleHints({\n found,\n dropped,\n verified,\n}: {\n found: number;\n dropped: number;\n verified: boolean;\n}): string[] {\n if (found === 0) {\n return [\n `Nobody in public LinkedIn results holds this role here${dropped > 0 ? ` (${dropped} profiles were elsewhere now or in another role)` : \"\"}. ` +\n \"Try the name people write on LinkedIn with --name, a broader --seniority, or the client's CRM: `baker hubspot companies contacts <domain>`.\",\n ];\n }\n const hints = [\n verified\n ? \"These are public search results a decision model checked — likely holders of the role, to confirm before anyone reaches out. Brief sales with them; never contact anyone or save them to Knowledge.\"\n : \"The check could not run, so these profiles are unchecked: Google matched the words, not the person. Read each headline before naming anyone.\",\n \"To write to one of them in their own words, read their profile once: `baker research linkedin-person <profile_url>`.\",\n ];\n return hints;\n}\n\nexport function linkedinPersonHints({ isPrivate, postCount }: { isPrivate: boolean; postCount: number }): string[] {\n if (isPrivate) {\n return [\n \"LinkedIn doesn't show this profile publicly, and reading it again won't change that. \" +\n \"Find their own words elsewhere — a keynote, podcast or earnings call through \" +\n \"`baker research transcript <url>`, or an interview through `baker research fetch <url>` — \" +\n \"or write the brief from the account's company-level priorities.\",\n ];\n }\n if (postCount === 0) {\n return [\n LINKEDIN_PERSON_USE,\n \"They have no recent posts, so their `about` is the only first-person line here. \" +\n \"Their priorities are more often said aloud: a keynote, podcast or earnings call through `baker research transcript <url>`.\",\n ];\n }\n return [LINKEDIN_PERSON_USE];\n}\n\n/**\n * A keynote runs to tens of thousands of words, which is why the default is an\n * excerpt; the transcript is cached for a week, so asking again for the rest\n * costs nothing.\n */\nexport function transcriptHints({ excerpted, truncated }: { excerpted: boolean; truncated: boolean }): string[] {\n const hints: string[] = [];\n if (excerpted) {\n hints.push(\n \"This is the opening excerpt. Re-run with `--out <file>` to write the whole text to a file and read the parts you need, \" +\n \"or `--full` to have it all here — the transcript is cached for 7 days, so either costs nothing more.\",\n );\n }\n if (truncated) {\n hints.push(\n \"The recording is longer than one transcript carries, so the end of the recording is missing. \" +\n \"Don't quote this as the whole talk.\",\n );\n }\n return hints;\n}\n\n/** The facts whose absence marks a profile as possibly another company's. */\nexport interface CompanyProfileFacts {\n linkedinUrl: string | null;\n hqCountry: string | null;\n employees: string | null;\n}\n\n/**\n * A profile missing two of its anchor facts, or sized 1-10, is often a namesake\n * on the domain asked for while the company itself runs on another one.\n */\nfunction thinProfileHint(domain: string, profile: CompanyProfileFacts): string | null {\n const missing = [\n profile.linkedinUrl ? null : \"no LinkedIn page\",\n profile.hqCountry ? null : \"no HQ country\",\n profile.employees ? null : \"no employee band\",\n ].filter((gap) => gap !== null);\n const tiny = profile.employees === \"1-10\";\n if (missing.length < 2 && !tiny) return null;\n const why = [...missing, ...(tiny ? [\"1-10 employees\"] : [])].join(\", \");\n return (\n `This profile is thin (${why}). Check ${domain} is the company's main website — companies often run on another ` +\n \"domain (e.g. factorial.es vs factorialhr.com) — before using these facts for tiering.\"\n );\n}\n\n/**\n * Hiring is a signal on top of the profile, so a lookup without it still\n * answers — and says which half is missing, so the agent neither loops on it\n * nor reads \"no openings\" into a gap. A hiring read left out on purpose\n * (`--no-hiring`) says nothing.\n */\nexport function companyHints({\n domain,\n profile,\n hiring,\n}: {\n domain: string;\n profile: CompanyProfileFacts | null;\n hiring: ResearchCompanyHiring;\n}): string[] {\n const hints: string[] = [];\n if (!profile) {\n hints.push(\n \"There's no company profile for this domain, only its hiring. Check it is the company's main website; \" +\n \"otherwise take size, industry and location from its LinkedIn page or its own site.\",\n );\n } else {\n const thin = thinProfileHint(domain, profile);\n if (thin) hints.push(thin);\n }\n if (hiring.status === \"unavailable\" && hiring.reason === \"not_configured\") {\n hints.push(\n \"Hiring signals aren't switched on for this workspace yet, so these are the firmographics alone. \" +\n \"Score the account on them and leave hiring out of the reason.\",\n );\n }\n if (hiring.status === \"unavailable\" && hiring.reason === \"failed\") {\n hints.push(\n \"Hiring signals couldn't be read this time; don't retry in a loop. Use the firmographics and say hiring is unknown for this account.\",\n );\n }\n if (hiring.status === \"not_tracked\") {\n hints.push(\n \"No hiring data is kept for this company — that means unknown, not that it isn't hiring. Don't score it down for it.\",\n );\n }\n return hints;\n}\n\nfunction industryList(industries: readonly ResearchCompanyIndustry[]): string {\n return industries.map(({ slug, companies }) => `${slug} (${companies.toLocaleString(\"en-US\")})`).join(\", \");\n}\n\n/**\n * Neighbouring industries the search left out, so a thin market is widened on\n * purpose rather than guessed at. Each count is the companies it would add.\n */\nfunction relatedIndustriesHint(related: readonly ResearchCompanyIndustry[]): string | null {\n if (related.length === 0) return null;\n return (\n `Related industries not included (companies each adds with your other filters): ${industryList(related)}` +\n \" — add them with --industry a,b to widen.\"\n );\n}\n\nexport function companySearchHints({\n total,\n returned,\n page,\n lastPage,\n related,\n}: {\n total: number;\n returned: number;\n page: number;\n lastPage: number;\n related: readonly ResearchCompanyIndustry[];\n}): string[] {\n const hints: string[] = [];\n if (total === 0) {\n hints.push(\n \"No company matches every filter. Widen one at a time — a neighbouring size band, a related industry, one more country.\",\n );\n } else if (page < lastPage && returned > 0) {\n hints.push(\n `${total} companies match and ${returned} came back (each one returned is billed). ` +\n `Use \\`total\\` to size the market; ask for \\`--page ${page + 1}\\` only if you need the next rows for the list.`,\n );\n }\n const widen = relatedIndustriesHint(related);\n if (widen) hints.push(widen);\n return hints;\n}\n\n/** An industry that is no slug refuses the search before anything is billed; the fix offers the real ones. */\nexport function unknownIndustriesFix(industries: readonly { input: string; closest: ResearchCompanyIndustry[] }[]): {\n action: \"retry_with_changes\";\n explanation: string;\n} {\n const misses = industries.map(({ input, closest }) =>\n closest.length > 0\n ? `\"${input}\" is not an industry. Closest (companies each matches with your other filters): ${industryList(closest)}.`\n : `\"${input}\" is not an industry, and none is named like it — try a broader word (software, logistics, retail).`,\n );\n return {\n action: \"retry_with_changes\",\n explanation: `${misses.join(\" \")} Pass one or several of these slugs with --industry a,b — several widen the search, any of them matching. Nothing was charged.`,\n };\n}\n"],"mappings":";;;;;AAuBO,IAAM,gBACX;AAaK,SAAS,gBAAgB,UAAkB,cAAsC;AACtF,MAAI,WAAW,GAAG;AAChB,WAAO,CAAC;AAAA,EACV;AACA,QAAM,YAAY,aAAa,uBAAuB,aAAa;AACnE,MAAI,WAAW;AACb,WAAO;AAAA,MACL,eAAe,aAAa,QAAQ,MAAM,aAAa,QAAQ;AAAA,IAIjE;AAAA,EACF;AACA,SAAO;AAAA,IACL,eAAe,aAAa,QAAQ,MAAM,aAAa,QAAQ;AAAA,EAIjE;AACF;AAEO,SAAS,iBAAiB,UAAkB,cAAsC;AACvF,SAAO,CAAC,GAAG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AC3C,MAAI,MAAO,OAAM,KAAK,KAAK;AAC3B,SAAO;AACT;AAGO,SAAS,qBAAqB,YAGnC;AACA,QAAM,SAAS,WAAW;AAAA,IAAI,CAAC,EAAE,OAAO,QAAQ,MAC9C,QAAQ,SAAS,IACb,IAAI,KAAK,mFAAmF,aAAa,OAAO,CAAC,MACjH,IAAI,KAAK;AAAA,EACf;AACA,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO,KAAK,GAAG,CAAC;AAAA,EAClC;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/research/reddit.ts"],"sourcesContent":["import {\n RESEARCH_REDDIT_THREAD_DEFAULT_COMMENTS,\n type ResearchRedditItem,\n type ResearchRedditSearchRequest,\n type ResearchRedditSearchResponse,\n type ResearchRedditSubredditsRequest,\n type ResearchRedditSubredditsResponse,\n type ResearchRedditThreadRequest,\n type ResearchRedditThreadResponse,\n} from \"@baker/api\";\nimport { defineCommand } from \"citty\";\nimport { apiPost } from \"../../client.ts\";\nimport { repeatedValues } from \"../../lib/repeatedFlags.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { REDDIT_LINK_REJECTED, redditSearchHints, redditSubredditsHints, redditThreadHints } from \"./hints.ts\";\nimport { handleResearchError, type ResearchFix, writeResearchJson } from \"./output.ts\";\n\n/**\n * Up to three sources may be asked in turn, and the archive waits out its own\n * rate limit before giving up — so a read can legitimately take a minute.\n */\nconst TIMEOUT_MS = 180_000;\n\n/** Long enough for almost every comment; a longer one says it was cut, so a partial quote is never mistaken for a whole one. */\nconst TEXT_PREVIEW_CHARS = 1_500;\n\nconst ITEM_FIELDS: Record<string, string> = {\n kind: \"post or comment\",\n subreddit: \"Where it was said\",\n title: \"The post's title (on a comment: the post it answers)\",\n text: \"Verbatim — quote this, exactly\",\n text_truncated: \"The text was cut; re-run with --full before quoting the end of it\",\n author: \"Reddit username, or null once the account is deleted\",\n score: \"Points\",\n comment_count: \"Posts only\",\n created: \"Date written (UTC)\",\n permalink: \"Cite THIS link — it is built from where the words actually are\",\n depth: \"Thread comments: 0 answers the post, 1 answers a comment\",\n source: \"reddit_api / reddit_web = live Reddit; archive = the Arctic Shift archive of Reddit\",\n};\n\nregisterSchema({\n command: \"research.reddit.search\",\n routes: [\"POST /api/research/reddit/search\"],\n effect: \"read_live\",\n description:\n \"Search Reddit posts or comments for the audience's own words. Returns verbatim text with a real permalink for each hit. Start here for voice-of-customer work on Reddit.\",\n args: {\n query: {\n type: \"string\",\n description: \"Words to match — the audience's phrasing, not a description of it\",\n required: true,\n },\n subreddit: {\n type: \"string\",\n description:\n \"Subreddits to search (up to 10): comma-separated (couriersofreddit,AmazonFlexUK) or the flag repeated. Required for --kind comments (refused without it). Without it, posts are searched across all of Reddit only while Reddit's own search answers — find names with `baker research reddit subreddits`\",\n required: false,\n },\n kind: {\n type: \"string\",\n description: \"posts (default) or comments — the replies are where most of the voice is\",\n required: false,\n enum: [\"posts\", \"comments\"],\n },\n since: { type: \"string\", description: \"Only things written on or after this day, YYYY-MM-DD\", required: false },\n limit: { type: \"number\", description: \"Results to return (1-50, default 25)\", required: false },\n full: {\n type: \"boolean\",\n description: \"Return every text whole instead of a preview\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"research.reddit.thread\",\n routes: [\"POST /api/research/reddit/thread\"],\n effect: \"read_live\",\n description:\n \"Read one Reddit thread verbatim: the post and its best comments, each with its own permalink. Use it on any Reddit link before quoting it — it also exposes links that point somewhere other than they claim.\",\n args: {\n target: {\n type: \"string\",\n description: \"The thread's link (any Reddit form, including share links) or post id\",\n required: true,\n },\n comments: { type: \"number\", description: \"Comments to return, best first (0-200, default 40)\", required: false },\n full: {\n type: \"boolean\",\n description: \"Return every text whole instead of a preview\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"research.reddit.subreddits\",\n routes: [\"POST /api/research/reddit/subreddits\"],\n effect: \"read_live\",\n description:\n \"Find the subreddits where an audience talks about a topic, with member counts and whether they can be read. Run it before searching, instead of guessing subreddit names.\",\n args: {\n query: { type: \"string\", description: 'The audience or topic, e.g. \"amazon flex uk\", \"deliveroo\"', required: true },\n limit: { type: \"number\", description: \"Subreddits to return (1-25, default 10)\", required: false },\n },\n});\n\n/** One Reddit search, as `reddit search` and `research customers` both ask it. */\nexport function searchReddit(body: ResearchRedditSearchRequest): Promise<ResearchRedditSearchResponse> {\n return apiPost<ResearchRedditSearchResponse>(\"/api/research/reddit/search\", body, { timeoutMs: TIMEOUT_MS });\n}\n\n/** Where an audience talks, as `reddit subreddits` and `research customers` both ask it. */\nexport function findSubreddits(body: ResearchRedditSubredditsRequest): Promise<ResearchRedditSubredditsResponse> {\n return apiPost<ResearchRedditSubredditsResponse>(\"/api/research/reddit/subreddits\", body, { timeoutMs: TIMEOUT_MS });\n}\n\nfunction row(item: ResearchRedditItem, full: boolean) {\n const cut = !full && item.text.length > TEXT_PREVIEW_CHARS;\n return {\n kind: item.kind,\n subreddit: item.subreddit,\n title: item.title,\n text: cut ? `${item.text.slice(0, TEXT_PREVIEW_CHARS)}…` : item.text,\n ...(cut ? { text_truncated: true } : {}),\n author: item.author,\n score: item.score,\n ...(item.kind === \"post\" ? { comment_count: item.commentCount } : {}),\n created: item.createdAt.slice(0, 10),\n permalink: item.permalink,\n ...(item.depth !== null ? { depth: item.depth } : {}),\n };\n}\n\n/**\n * The failures split three ways, and the split is the whole point: a link that\n * leads nowhere real must never be quoted, a question asked the wrong way should\n * be asked again, and a Reddit nobody will serve today is a named gap, not a\n * reason to stop the job.\n */\nfunction redditFix(code: string): ResearchFix {\n if (code === \"NOT_FOUND\") return REDDIT_LINK_REJECTED;\n if (code === \"BAD_REQUEST\" || code === \"VALIDATION_ERROR\") {\n return { action: \"retry_with_changes\", explanation: \"Follow the message above and run the command again.\" };\n }\n return {\n action: \"continue_without\",\n explanation:\n \"Don't loop on it. Finish the job with the other sources, say plainly that Reddit is a gap in this research, and never stand in a summary's paraphrase for a Reddit quote.\",\n };\n}\n\nfunction failValidation(message: string): never {\n writeResearchJson({ ok: false, error: { code: \"VALIDATION_ERROR\", message, fix: redditFix(\"VALIDATION_ERROR\") } });\n process.exit(1);\n}\n\n/** No source searches comments across all of Reddit: Reddit's own search covers posts only. */\nconst COMMENTS_NEED_SUBREDDITS =\n \"--kind comments searches inside the subreddits you name, never all of Reddit — add --subreddit (up to 10). \" +\n 'Find where the audience talks with `baker research reddit subreddits \"<audience or topic>\"`, or use the `subreddit` of the posts a search without --kind comments returned.';\n\n/** `--subreddit a,b` and `--subreddit a --subreddit b` both name every subreddit given. */\nexport function subredditsFromArgs(rawArgs: readonly string[] | undefined, parsed: unknown): string[] {\n return repeatedValues(rawArgs, \"subreddit\", parsed)\n .flatMap((value) => value.split(\",\"))\n .map((name) => name.trim())\n .filter(Boolean);\n}\n\nconst searchCommand = defineCommand({\n meta: {\n name: \"search\",\n description: `Search Reddit for the audience's own words, verbatim, each with a permalink you can cite.\n\nStart here for Reddit voice-of-customer. Matches words, not meaning — search the way the audience writes, and quote a phrase to keep it together ('\"right to work\"').\n\nExamples:\n baker research reddit search \"agency never paid\" --subreddit couriersofreddit,AmazonFlexUK\n baker research reddit search '\"right to work\"' --subreddit UKJobs,AmazonFlexUK\n baker research reddit search \"visa\" --subreddit UberEATS --kind comments --since 2025-01-01\n baker research reddit search \"side hustle student deliveries\"`,\n },\n args: {\n query: { type: \"positional\", description: \"Words to match\", required: false },\n subreddit: {\n type: \"string\",\n description: \"Subreddits (up to 10): comma-separated, or repeat the flag. Required for --kind comments\",\n required: false,\n },\n kind: { type: \"string\", description: \"posts (default) or comments\", required: false },\n since: { type: \"string\", description: \"YYYY-MM-DD\", required: false },\n limit: { type: \"string\", description: \"1-50, default 25\", required: false },\n full: { type: \"boolean\", description: \"Whole texts, not previews\", required: false },\n },\n run: async ({ args, rawArgs }) => {\n const query = (args.query as string | undefined)?.trim();\n if (!query) failValidation('Say what to search for: baker research reddit search \"<words>\"');\n const kind = (args.kind as string | undefined) ?? \"posts\";\n if (kind !== \"posts\" && kind !== \"comments\") failValidation(\"--kind must be posts or comments\");\n const subreddits = subredditsFromArgs(rawArgs, args.subreddit);\n if (kind === \"comments\" && subreddits.length === 0) failValidation(COMMENTS_NEED_SUBREDDITS);\n\n const body: ResearchRedditSearchRequest = { query, kind, subreddits };\n if (args.since) body.since = args.since as string;\n if (args.limit) body.limit = Number(args.limit);\n\n try {\n const data = await searchReddit(body);\n writeResearchJson({\n ok: true,\n data: data.results.map((item) => row(item, Boolean(args.full))),\n source: data.source,\n fields: ITEM_FIELDS,\n hints: redditSearchHints({ resultCount: data.results.length, kind, source: data.source }),\n });\n } catch (err) {\n handleResearchError(err, redditFix);\n }\n },\n});\n\nconst threadCommand = defineCommand({\n meta: {\n name: \"thread\",\n description: `Read one Reddit thread verbatim — the post and its best comments, each with its own permalink.\n\nRun it on every Reddit link before you quote from it, including links a research summary gave you: it refuses a link whose post is somewhere other than the link claims.\n\nExamples:\n baker research reddit thread \"https://www.reddit.com/r/AmazonFlexUK/comments/1abc2de/agency_still_hasnt_paid_me/\"\n baker research reddit thread \"https://www.reddit.com/r/UberEATS/s/3TzXiyxaMD\" --comments 100\n baker research reddit thread 1abc2de --full`,\n },\n args: {\n target: { type: \"positional\", description: \"Thread link or post id\", required: false },\n comments: { type: \"string\", description: \"0-200, default 40\", required: false },\n full: { type: \"boolean\", description: \"Whole texts, not previews\", required: false },\n },\n run: async ({ args }) => {\n const target = (args.target as string | undefined)?.trim();\n if (!target) failValidation(\"Pass the thread's link or post id: baker research reddit thread <url>\");\n\n const commentsAsked = args.comments ? Number(args.comments) : RESEARCH_REDDIT_THREAD_DEFAULT_COMMENTS;\n const body: ResearchRedditThreadRequest = { target, comments: commentsAsked };\n\n try {\n const data = await apiPost<ResearchRedditThreadResponse>(\"/api/research/reddit/thread\", body, {\n timeoutMs: TIMEOUT_MS,\n });\n const full = Boolean(args.full);\n writeResearchJson({\n ok: true,\n data: { post: row(data.post, full), comments: data.comments.map((item) => row(item, full)) },\n source: data.source,\n fields: ITEM_FIELDS,\n hints: redditThreadHints({\n commentsShown: data.comments.length,\n commentsAsked,\n commentCount: data.post.commentCount,\n source: data.source,\n }),\n });\n } catch (err) {\n handleResearchError(err, redditFix);\n }\n },\n});\n\nconst subredditsCommand = defineCommand({\n meta: {\n name: \"subreddits\",\n description: `Find the subreddits where an audience talks — name, members, and whether it can be read.\n\nRun it before \\`reddit search\\` instead of guessing names: a plausible-sounding subreddit can be dead (r/CouriersUK has one post), while the conversation sits in r/AmazonFlexUK or r/deliveroos.\n\nExamples:\n baker research reddit subreddits \"amazon flex uk\"\n baker research reddit subreddits \"deliveroo\" --limit 5`,\n },\n args: {\n query: { type: \"positional\", description: \"Audience or topic\", required: false },\n limit: { type: \"string\", description: \"1-25, default 10\", required: false },\n },\n run: async ({ args }) => {\n const query = (args.query as string | undefined)?.trim();\n if (!query) failValidation('Say what to look for: baker research reddit subreddits \"<audience or topic>\"');\n const body: ResearchRedditSubredditsRequest = { query };\n if (args.limit) body.limit = Number(args.limit);\n\n try {\n const data = await findSubreddits(body);\n writeResearchJson({\n ok: true,\n data: data.results,\n source: data.source,\n fields: {\n name: \"Pass this to --subreddit\",\n subscribers: \"Members — size, not activity\",\n access:\n \"public / restricted (readable, members post) / private (unreadable) / null when the source doesn't say\",\n description: \"The subreddit's own summary\",\n url: \"The subreddit\",\n },\n hints: redditSubredditsHints({ resultCount: data.results.length }),\n });\n } catch (err) {\n handleResearchError(err, redditFix);\n }\n },\n});\n\nexport const redditCommand = defineCommand({\n meta: {\n name: \"reddit\",\n description: `Read Reddit verbatim — the one site no page reader will open for us.\n\nCommands:\n subreddits — Find where the audience talks (start here)\n search — Find posts or comments in the audience's own words\n thread — Read one thread: the post and its best comments\n\nExamples:\n baker research reddit subreddits \"amazon flex uk\"\n baker research reddit search \"agency never paid\" --subreddit couriersofreddit,AmazonFlexUK --kind comments\n baker research reddit thread \"https://www.reddit.com/r/AmazonFlexUK/comments/1abc2de/\"\nFull guide: __tooling__/docs/tools/baker/research.md`,\n },\n subCommands: { subreddits: subredditsCommand, search: searchCommand, thread: threadCommand },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAAS,qBAAqB;AAW9B,IAAM,aAAa;AAGnB,IAAM,qBAAqB;AAE3B,IAAM,cAAsC;AAAA,EAC1C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,eAAe;AAAA,EACf,SAAS;AAAA,EACT,WAAW;AAAA,EACX,OAAO;AAAA,EACP,QAAQ;AACV;AAEA,eAAe;AAAA,EACb,SAAS;AAAA,EACT,QAAQ,CAAC,kCAAkC;AAAA,EAC3C,QAAQ;AAAA,EACR,aACE;AAAA,EACF,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,MAAM;AAAA,MACN,aAAa;AAAA,MACb,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,MACN,aACE;AAAA,MACF,UAAU;AAAA,IACZ;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,aAAa;AAAA,MACb,UAAU;AAAA,MACV,MAAM,CAAC,SAAS,UAAU;AAAA,IAC5B;AAAA,IACA,OAAO,EAAE,MAAM,UAAU,aAAa,wDAAwD,UAAU,MAAM;AAAA,IAC9G,OAAO,EAAE,MAAM,UAAU,aAAa,wCAAwC,UAAU,MAAM;AAAA,IAC9F,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,IACX;AAAA,EACF;AACF,CAAC;AAED,eAAe;AAAA,EACb,SAAS;AAAA,EACT,QAAQ,CAAC,kCAAkC;AAAA,EAC3C,QAAQ;AAAA,EACR,aACE;AAAA,EACF,MAAM;AAAA,IACJ,QAAQ;AAAA,MACN,MAAM;AAAA,MACN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eAAe,IAAI;AACtC,wBAAkB;AAAA,QAChB,IAAI;AAAA,QACJ,MAAM,KAAK;AAAA,QACX,QAAQ,KAAK;AAAA,QACb,QAAQ;AAAA,UACN,MAAM;AAAA,UACN,aAAa;AAAA,UACb,QACE;AAAA,UACF,aAAa;AAAA,UACb,KAAK;AAAA,QACP;AAAA,QACA,OAAO,sBAAsB,EAAE,aAAa,KAAK,QAAQ,OAAO,CAAC;AAAA,MACnE,CAAC;AAAA,IACH,SAAS,KAAK;AACZ,0BAAoB,KAAK,SAAS;AAAA,IACpC;AAAA,EACF;AACF,CAAC;AAEM,IAAM,gBAAgB,cAAc;AAAA,EACzC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYf;AAAA,EACA,aAAa,EAAE,YAAY,mBAAmB,QAAQ,eAAe,QAAQ,cAAc;AAC7F,CAAC;","names":[]}
|
package/dist/web-Q6HMBNRS.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, webUnverifiedUrlHints } 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. unverifiedUrls lists every address the answer names that is none of its sources: the model wrote it from memory and nothing read it, so it is often invented — do not cite or fetch it. 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`, and no `unverifiedUrls`; read them as optional.\ntype WebSource = Pick<ResearchWebSource, \"title\" | \"url\"> & Partial<Pick<ResearchWebSource, \"resolved\" | \"cites\">>;\ntype WebResult = Pick<ResearchWebResponse, \"answer\"> &\n Partial<Pick<ResearchWebResponse, \"unverifiedUrls\">> & { 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 unverifiedUrls:\n \"Addresses the answer's text names that are none of its sources: written by the model, not read, often invented — do not cite or fetch them\",\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 if (data.unverifiedUrls && data.unverifiedUrls.length > 0) {\n lines.push(\"\", \"## Not among the sources — unverified, likely invented: do not cite or fetch\");\n for (const url of data.unverifiedUrls) lines.push(`- ${url}`);\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 ...webUnverifiedUrlHints(data.unverifiedUrls ?? []),\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 address the answer's text names that is none of its sources is listed in \"unverifiedUrls\": the\nmodel wrote it, nothing read it, and it is often invented — do not cite or fetch it.\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,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,KAAK,MAAM;AAEvB,UAAM,YAAY,CAAC,GAAG,IAAI,KAAK,MAAM,QAAQ,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,QAAQ,GAAG,IAAI,CAAC,MAAM,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAC9G,QAAI,UAAU,SAAS,mBAAmB;AACxC,qBAAe,UAAU,QAAQ,WAAW;AAAA,IAC9C;AAEA,UAAM,QAAU,KAAK,SAAoB;AACzC,QAAI,CAAC,CAAC,UAAU,QAAQ,OAAO,EAAE,SAAS,KAAK,GAAG;AAChD,wBAAkB;AAAA,QAChB,IAAI;AAAA,QACJ,OAAO,EAAE,MAAM,oBAAoB,SAAS,4CAA4C;AAAA,MAC1F,CAAC;AACD,cAAQ,KAAK,CAAC;AAAA,IAChB;AAGA,QAAI,UAAU,WAAW,UAAU,SAAS,2BAA2B;AACrE,qBAAe,UAAU,QAAQ,2BAA2B,yBAAyB;AAAA,IACvF;AAEA,UAAM,OAAO,CAAC,aAAqB,QAAQ,UAAU,KAAK;AAC1D,UAAM,SAAU,KAAK,UAAqB;AAE1C,QAAI,UAAU,SAAS,GAAG;AACxB,mBAAa,MAAM,SAAS,WAAW,IAAI,GAAG,MAAM;AACpD;AAAA,IACF;AACA,QAAI;AACF,YAAM,EAAE,MAAM,MAAM,IAAI,MAAM,KAAK,UAAU,CAAC,KAAK,EAAE;AACrD,UAAI,WAAW,MAAM;AACnB,gBAAQ,OAAO,MAAM,YAAY,IAAI,CAAC;AACtC,2BAAmB,OAAO,MAAM;AAChC;AAAA,MACF;AACA,wBAAkB,EAAE,IAAI,MAAM,MAAM,QAAQ,QAAQ,MAAM,CAAC;AAAA,IAC7D,SAAS,KAAK;AACZ,0BAAoB,GAAG;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
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
|