nolo-cli 0.213.0 → 0.220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/{_executeModel-CUJLCFWR.js → _executeModel-BNEMFCAO.js} +125 -96
- package/{accountResolver-4LKIHEKL.js → accountResolver-QETKNC7T.js} +4 -4
- package/{action-DF5UYSJF.js → action-GDZDXPMB.js} +14 -13
- package/{addContentAction-WERAONNY.js → addContentAction-7RO4AMRI.js} +21 -20
- package/{addDialogAgentAction-7VI7YRML.js → addDialogAgentAction-EVYBGTXB.js} +26 -25
- package/{agentDeleteCommand-XJORXPGU.js → agentDeleteCommand-7QTQNFCO.js} +145 -137
- package/{agentEmailCommands-XTYYFR6Z.js → agentEmailCommands-I7SHOSD6.js} +146 -139
- package/{agentFavoriteCommands-EDK743YA.js → agentFavoriteCommands-7LOP3HUD.js} +11 -12
- package/{agentGrantCommands-RQWK2TEV.js → agentGrantCommands-L6O2HVJI.js} +9 -9
- package/{agentListCommands-OBLRBLHS.js → agentListCommands-GUGMORTK.js} +180 -103
- package/{agentMachineCommands-5FMT3OT5.js → agentMachineCommands-UMDKILU3.js} +75 -66
- package/{agentProviderCommands-Q5O33MED.js → agentProviderCommands-STI3DQ6A.js} +8 -8
- package/{agentPullCommand-6EM3URVK.js → agentPullCommand-KHV4EELF.js} +11 -11
- package/agentRecordCommands-YTAMTHOY.js +175 -0
- package/agentRunCommand-DBM6YNO6.js +207 -0
- package/{agentRunControl-TAMHJQSR.js → agentRunControl-MBG4U6SL.js} +40 -19
- package/{agentRuntimeLocal-SOO2OPJG.js → agentRuntimeLocal-TU4LA353.js} +55 -48
- package/{agentSlice-CHR6KOZN.js → agentSlice-DPG7Q7IA.js} +24 -23
- package/{appDeleteCommands-GUP6P5YE.js → appDeleteCommands-JWP3XPUA.js} +67 -58
- package/{appDeployCommands-MH2FX4O5.js → appDeployCommands-6E4TQCWI.js} +67 -58
- package/{appDeployStatusCommands-SUHN3HPJ.js → appDeployStatusCommands-ALU4SADG.js} +67 -58
- package/{appGetCommands-YWDEX6Z4.js → appGetCommands-JEY4L6L4.js} +67 -58
- package/{appListCommands-ZQVMLPAY.js → appListCommands-PCAVHU7M.js} +67 -58
- package/{authCommand-PWX2ZNUP.js → authCommand-CGRIIOOV.js} +37 -33
- package/{authCommands-HV3EAU3V.js → authCommands-55OGQGCR.js} +16 -12
- package/{builtinSkillRegistry-2QETTQPM.js → builtinSkillRegistry-BAE2LDXF.js} +11 -13
- package/{chromeCommands-REEAH4SX.js → chromeCommands-G5UDKVSV.js} +3 -3
- package/{chromeOpsCommands-DIVM2K3T.js → chromeOpsCommands-WAA45NCS.js} +23 -13
- package/{chunk-VNYYOX3V.js → chunk-262R3XNN.js} +157 -50
- package/chunk-2MCB7CD7.js +98 -0
- package/{chunk-CTPXME7U.js → chunk-2NPD3FTX.js} +30 -7
- package/{chunk-YB3YZK56.js → chunk-2WZXXAQD.js} +1 -67
- package/{chunk-HRMJUN5J.js → chunk-2X7WFDT6.js} +1 -1
- package/chunk-2YGBI2XB.js +30 -0
- package/{chunk-TY3TIUJK.js → chunk-324FWHUA.js} +85 -3
- package/{chunk-KFLT5KAD.js → chunk-3NNXR7EH.js} +20 -20
- package/{chunk-ZRSNONOB.js → chunk-3P54D2E4.js} +8 -3
- package/{chunk-7OCO4TDT.js → chunk-3U44JB3O.js} +1 -1
- package/{chunk-TX5EYMGT.js → chunk-44J7Z5AQ.js} +34 -258
- package/chunk-4D4QD7FT.js +201 -0
- package/chunk-4I2MXV5Q.js +275 -0
- package/{chunk-MYOH447Z.js → chunk-4JVNURX4.js} +1 -1
- package/{chunk-COFEN36Z.js → chunk-4ZGPHFLE.js} +3 -3
- package/{chunk-ZXOUUDCG.js → chunk-53MFERZ3.js} +3869 -362
- package/chunk-547ENH5T.js +226 -0
- package/{chunk-YDH3FDFQ.js → chunk-5FUN7EG4.js} +1 -1
- package/{chunk-6DWMYIUY.js → chunk-5WKDR7HS.js} +14 -9
- package/chunk-5ZUOVCKT.js +32 -0
- package/{chunk-T43B7LB2.js → chunk-62HXNQVV.js} +1 -1
- package/{chunk-ZC3CMUKU.js → chunk-6OVNSQHN.js} +84 -2
- package/{chunk-IXNGOHV5.js → chunk-6QHKRARD.js} +12 -153
- package/{chunk-4T2WNOY7.js → chunk-6RDBLXVQ.js} +28 -17
- package/{chunk-EYLGAEB4.js → chunk-6XRPBZRS.js} +134 -0
- package/{chunk-KIM6CLW5.js → chunk-7JGMNKKG.js} +57 -26
- package/{chunk-P5L7CXOC.js → chunk-7Z6EW7AH.js} +3 -2
- package/chunk-AGYPUBFW.js +686 -0
- package/{chunk-Y63ZSOR6.js → chunk-AL3TYDIF.js} +1 -1
- package/{chunk-NOKUNJON.js → chunk-ALAES342.js} +75 -94
- package/{chunk-4I7ERB7F.js → chunk-ATEKLSLR.js} +2 -2
- package/{chunk-CRHOO2ZR.js → chunk-AUAJTAFM.js} +8 -8
- package/{chunk-LLRPJECG.js → chunk-AWIL6EHN.js} +15 -157
- package/chunk-BIDSIRTS.js +307 -0
- package/chunk-BIWI5M4E.js +62 -0
- package/{chunk-4VJAC32I.js → chunk-BNMPUQW6.js} +3 -2
- package/{chunk-RLBNLZVC.js → chunk-BP5ZJ6B4.js} +1 -1
- package/{chunk-NBTY7YJF.js → chunk-BR3GT6MR.js} +1 -0
- package/{chunk-7RFNTILS.js → chunk-BUDVRYES.js} +2 -2
- package/{chunk-SVYO6AO7.js → chunk-BV3FLP2L.js} +41 -1
- package/{chunk-ZL5RAEEB.js → chunk-CBUZ6DKA.js} +3 -3
- package/{chunk-SM3NSZJV.js → chunk-CD3RU7XL.js} +36 -2
- package/chunk-CMMI3DAT.js +1621 -0
- package/{chunk-J2NHJ7WX.js → chunk-CYWNWA77.js} +6 -6
- package/{chunk-MOIJOHA5.js → chunk-D6YNCNM6.js} +35 -21
- package/{chunk-H2TJUNCH.js → chunk-DBUR22G5.js} +16 -16
- package/chunk-DEA37IUY.js +271 -0
- package/{chunk-O2TZF4AI.js → chunk-DGYCDA6W.js} +4 -4
- package/{chunk-YWSEPJ7C.js → chunk-DUUDXSLX.js} +21 -7
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-H5HF7TJA.js → chunk-EEOOBRA7.js} +6 -6
- package/{chunk-Y6ORVLSS.js → chunk-EVGU5P4U.js} +1 -1
- package/chunk-EWQ3HGNZ.js +90 -0
- package/{chunk-6VLJ6YA7.js → chunk-F6Z6ZCUV.js} +9 -9
- package/{chunk-75XIDFBW.js → chunk-FJ23FZXF.js} +72 -28
- package/chunk-FJSNBZXR.js +142 -0
- package/{chunk-WRYQ35LQ.js → chunk-G7IUT2V3.js} +860 -57
- package/{chunk-PCLE46CE.js → chunk-GBWGPTA7.js} +2 -1
- package/{chunk-H7PPIYWP.js → chunk-GPOV42YM.js} +19 -19
- package/{chunk-W4S457LU.js → chunk-GUXZK7SE.js} +42 -6
- package/{chunk-QHPRUL4O.js → chunk-GV6PRJBU.js} +4 -4
- package/{chunk-YUA6OAH5.js → chunk-HBRDSQ3M.js} +2 -2
- package/{chunk-G7MLNNEX.js → chunk-HHFGE2WF.js} +7 -7
- package/{chunk-OQPKUBPB.js → chunk-HSSBDZLD.js} +19 -7
- package/{chunk-EHSZD5OI.js → chunk-HXER7YJF.js} +4 -4
- package/{chunk-TAKB25RM.js → chunk-HYLRQDEE.js} +6 -6
- package/{chunk-LOEO7LRC.js → chunk-ILHQ2AXT.js} +10 -8
- package/{chunk-BBJ22CLB.js → chunk-JJMR2EA3.js} +64 -34
- package/{chunk-G2BQWAVT.js → chunk-JLAMNSBC.js} +4 -4
- package/{chunk-RSHTSUEG.js → chunk-JUSHVFNF.js} +2133 -622
- package/{chunk-YJAFKXMU.js → chunk-KHVFJSVE.js} +54 -49
- package/{chunk-X7SDOJUM.js → chunk-KRI6N5QZ.js} +16 -16
- package/{chunk-7BT37FK3.js → chunk-L32W3PRP.js} +675 -128
- package/chunk-LKA64WH4.js +227 -0
- package/{chunk-HUBHAQK2.js → chunk-LMRRCEDE.js} +31 -31
- package/chunk-M4SFKP5L.js +675 -0
- package/{chunk-MDB67IWP.js → chunk-MSMHU36U.js} +12 -12
- package/{chunk-7Y4YTDQF.js → chunk-MXKWTPUM.js} +288 -166
- package/{chunk-WYDI6TGM.js → chunk-MXRUXMZ3.js} +94 -135
- package/{chunk-AZMYUSVF.js → chunk-N5Z2V73W.js} +1 -1
- package/{chunk-QG4AOSON.js → chunk-NHY322ZU.js} +154 -32
- package/{chunk-UHJGXRJ4.js → chunk-OBIC6EG7.js} +6 -6
- package/{chunk-GOO6G4PY.js → chunk-OBSEKCVK.js} +123 -70
- package/{chunk-WMTBPBMP.js → chunk-OG6MQOQG.js} +130 -60
- package/{chunk-XJWWBO34.js → chunk-OJKUU3LP.js} +5 -7
- package/{chunk-ALQ3657A.js → chunk-OOJNQK6V.js} +21 -1
- package/{chunk-NSAPDIN2.js → chunk-OWKNSIXL.js} +679 -74
- package/{chunk-6XIE5ZGI.js → chunk-PDCV7P5W.js} +1 -1
- package/{chunk-A7TFUNZO.js → chunk-PPJYZRSQ.js} +6 -2
- package/{chunk-F6UUQOG6.js → chunk-Q3IVPFVO.js} +4 -4
- package/{chunk-VO4WSAVP.js → chunk-QBZCGP34.js} +3 -3
- package/chunk-QCB42576.js +13 -0
- package/chunk-QHEN7NZ7.js +46 -0
- package/{chunk-3UKL3HPD.js → chunk-QJTZ76CP.js} +32 -84
- package/{chunk-V5Y3R6BT.js → chunk-QRGDJA4B.js} +215 -212
- package/{chunk-4KB6WQUL.js → chunk-QYB23WUH.js} +1 -1
- package/{chunk-ZNWI6OVT.js → chunk-R44TU3MZ.js} +85 -11
- package/{chunk-PYRUW7XN.js → chunk-R6Z5S5GA.js} +139 -57
- package/{chunk-VL5KOY2C.js → chunk-R7XWZDOH.js} +125 -29
- package/{chunk-R5O4QAWG.js → chunk-RBPUNSG5.js} +11 -77
- package/{chunk-NJLL224W.js → chunk-RG2DGNL6.js} +3 -3
- package/{chunk-C6KNNXWU.js → chunk-RGQ4UUWZ.js} +25 -2
- package/{chunk-TCZHTTUU.js → chunk-RTHFJZ6M.js} +11 -11
- package/{chunk-RZOV7OMV.js → chunk-RYOLWYBK.js} +146 -200
- package/{chunk-OWYYDMGJ.js → chunk-S2NTVGA2.js} +4 -2
- package/{chunk-XHQC4PXX.js → chunk-S5NA3C52.js} +488 -226
- package/{secretCommands-LXDWOLZ6.js → chunk-S6FDXXZV.js} +190 -15
- package/chunk-S6K5F3KP.js +99 -0
- package/{chunk-INN4LTAJ.js → chunk-SRCCSTIM.js} +8 -8
- package/{chunk-JY5NGFFH.js → chunk-SYTHYBMI.js} +5 -5
- package/{chunk-UYD5HQ6T.js → chunk-SZVMASJ2.js} +3300 -1396
- package/{chunk-FUGMREBO.js → chunk-TGNIKIHR.js} +3 -3
- package/{chunk-HPFCI4SK.js → chunk-TI2EPRHE.js} +4 -4
- package/chunk-TLE77UJ5.js +230 -0
- package/chunk-TSPMLCWI.js +364 -0
- package/{chunk-YGILMZ7N.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-4VNS5WPM.js → chunk-U67V476Y.js} +1 -8
- package/{chunk-F7CI2ZC5.js → chunk-UAIHKQIA.js} +2 -1
- package/{chunk-WPORQFYN.js → chunk-UVLYNWIE.js} +2 -2
- package/{chunk-H4UOTUOX.js → chunk-VMJVAJ6W.js} +152 -19
- package/{chunk-KC4XDTT3.js → chunk-VS276URX.js} +4 -4
- package/{chunk-YTF4WH7J.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/{chunk-RPQXPZZF.js → chunk-XSW4EXQV.js} +976 -17
- package/{chunk-7QTZCMKL.js → chunk-XTETTSKN.js} +3036 -2468
- package/{chunk-J5JTMQIA.js → chunk-YFLVRVYK.js} +1 -1
- package/chunk-YKY4OVOX.js +1141 -0
- package/{chunk-MMA3LZ3W.js → chunk-YNIYE47Z.js} +1 -1
- package/chunk-YZMNK53S.js +68 -0
- package/{chunk-FY7F4Q6X.js → chunk-Z4PCXPUE.js} +2 -2
- package/{chunk-INUFILG6.js → chunk-ZH3KXFHS.js} +11 -3
- package/chunk-ZOHO6MOF.js +376 -0
- package/{cliAgentConfigHelpers-WJBZQTLW.js → cliAgentConfigHelpers-BTRHMPW2.js} +18 -19
- package/{cliAuthorityBrokerClient-PM3U6Q6J.js → cliAuthorityBrokerClient-XHH7MH2P.js} +1 -1
- package/{cliAuthorityStoreDriver-TKLXNNTG.js → cliAuthorityStoreDriver-6FE3BJNB.js} +1 -1
- package/{cliEnvHelpers-BVYTMUPJ.js → cliEnvHelpers-CNMP3RDX.js} +3 -3
- package/{cliExecutor-BWBF2MTI.js → cliExecutor-K6FDZTQ2.js} +4 -2
- package/cliLocalAgentRecordReader-M3F76NIP.js +90 -0
- package/{commandRegistry-W63CYRZJ.js → commandRegistry-T3UBK6OA.js} +105 -97
- package/{contentThunks-U7PL5MQD.js → contentThunks-YEPZAHXU.js} +53 -48
- package/{cooldownCommands-TIGUHXTD.js → cooldownCommands-YB5H5BBK.js} +5 -4
- package/{createAgentAutomationAction-OLBQDD6R.js → createAgentAutomationAction-TBIIO5WT.js} +51 -48
- package/{createDialogAction-SVH6B3SB.js → createDialogAction-KBKMYFTQ.js} +52 -53
- package/{createPageAction-F4DIWZ2Z.js → createPageAction-3FGAPLJO.js} +56 -53
- package/{cursorProvider-YGGNMVWX.js → cursorProvider-2RACMEMF.js} +1 -1
- package/{db-HUCI5R4G.js → db-M7FU2GNK.js} +10 -7
- package/{dbSlice-BVH2YZPQ.js → dbSlice-XRUZOGSU.js} +20 -19
- package/{deleteFile-5YOEKV4U.js → deleteFile-6URDHYRB.js} +12 -12
- package/{desktopFolderProjects-SFY5EZS3.js → desktopFolderProjects-4POAMVJN.js} +2 -2
- package/{dialogCommands-KHIEPY3M.js → dialogCommands-NRLCOPJR.js} +71 -64
- package/dialogNotifyCommand-SHGPCU22.js +36 -0
- package/{dialogSlice-ZCTDV2PZ.js → dialogSlice-DP2WTMNO.js} +48 -45
- package/{dialogUsageCommand-7KCPYGHG.js → dialogUsageCommand-W2WCSGKF.js} +11 -10
- package/{docCreateCommands-DPMZI7G5.js → docCreateCommands-YJRDA3RX.js} +66 -59
- package/{docDeleteCommands-IRQQLUBT.js → docDeleteCommands-A5QIHZNF.js} +69 -62
- package/{docReadCommands-LK37XH6L.js → docReadCommands-CF2LTMYH.js} +66 -59
- package/{docStore-V2KECILA.js → docStore-NDY3K3PK.js} +25 -24
- package/{docUpdateCommands-O6T3HJHH.js → docUpdateCommands-QRKV4ZXE.js} +69 -62
- package/{fetchMessages-NR4KNQLO.js → fetchMessages-TQEUZD7H.js} +8 -7
- package/{getPricing-2MNMXEVG.js → getPricing-LF5C4XSI.js} +7 -7
- package/{handleSendMessageAction-2PE25WM3.js → handleSendMessageAction-IUGVVJ43.js} +206 -314
- package/{hostCredentialCreate-S233UMAP.js → hostCredentialCreate-X2ZFRXDR.js} +132 -124
- package/index.js +65 -27
- package/{keys-BEGDOTRL.js → keys-RWF7UCB4.js} +5 -4
- package/legacyMigration-TF4SYJCZ.js +19 -0
- package/{lib-5KKIBFIT.js → lib-OT5OTXRU.js} +7087 -6664
- package/{localDialogRead-7NNDVVF7.js → localDialogRead-CCOCVGAP.js} +3 -3
- package/{localFirstLog-DHNOY2NA.js → localFirstLog-OIETGK66.js} +1 -1
- package/localRecall-BDYKXB46.js +17 -0
- package/{localRuntimeAdapter-KY6WXNBR.js → localRuntimeAdapter-KAG3T4LF.js} +138 -130
- package/{localRuntimeAuthority-OYH4AE4G.js → localRuntimeAuthority-IBJAT62G.js} +1 -1
- package/{localRuntimeDb-VBIMCWUC.js → localRuntimeDb-N7KHDXS2.js} +2 -2
- package/{machineCommands-Q6HA3IXF.js → machineCommands-6NIQJE2A.js} +143 -135
- package/{machineInfo-UKPTZO5Y.js → machineInfo-LWHTEBHJ.js} +1 -1
- package/machineWsRunDispatch-RA5NOSGG.js +190 -0
- package/{memberThunks-7EDJADWU.js → memberThunks-7Y3OYSJQ.js} +30 -29
- package/{memoryCommands-ASCE5STX.js → memoryCommands-BC6REPQB.js} +7 -7
- package/models-H5NNZRLH.js +9 -0
- package/{oauthTokenStore-OEERZFUC.js → oauthTokenStore-RUYNYALS.js} +1 -1
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +6 -6
- package/overlay-BBQZXGYI.js +13 -0
- package/package.json +2 -2
- package/{pdf-U6KSUEZZ.js → pdf-KE3QI2V7.js} +1 -1
- package/{processSpawn-ZU5QFM43.js → processSpawn-6GEO77KV.js} +1 -1
- package/{profileConfig-KN3N2BLF.js → profileConfig-KOWK4HOG.js} +1 -1
- package/{projectArchive-DRTDIMEV.js → projectArchive-OIUP63MV.js} +59 -56
- package/{providerPresetApply-YXGV6NXB.js → providerPresetApply-WHAMP2D5.js} +20 -13
- package/{providerRegistry-S6UL6UNA.js → providerRegistry-ZI2KORJ7.js} +11 -11
- package/{read-4V2RMG7N.js → read-TYMBGEXO.js} +13 -13
- package/{readDocTool-BH6ATGQO.js → readDocTool-SKQVHBLO.js} +2 -2
- package/{readlineWorkspace-2W4WRCOU.js → readlineWorkspace-ZGC4KSXG.js} +7760 -6499
- package/{removeDialogAgentAction-LYAZGNKW.js → removeDialogAgentAction-F5QE2O2B.js} +29 -28
- package/{runAgentClientLoop-J2VQBS2Z.js → runAgentClientLoop-NKUW2DSJ.js} +94 -88
- package/{runtimeDoctorCommands-QAI3MBKQ.js → runtimeDoctorCommands-RRKPBGVO.js} +19 -19
- package/{runtimeModeArgs-2Y7BALTO.js → runtimeModeArgs-X7DL7PUN.js} +1 -1
- package/secretCommands-KZWBZIYS.js +24 -0
- package/{setDialogExtraReferencesAction-OCRPGPYH.js → setDialogExtraReferencesAction-72L27ERM.js} +25 -24
- package/{setPrimaryDialogAgentAction-HFJDQIBU.js → setPrimaryDialogAgentAction-GJJDUSGJ.js} +29 -28
- package/{settingThunks-RAMHMTGM.js → settingThunks-ZRGWVGZD.js} +99 -90
- package/{skillDiscovery-XKHROSH2.js → skillDiscovery-I37M5KJC.js} +4 -4
- package/{skillSummaryMarker-42HKSXYY.js → skillSummaryMarker-62UW7HI7.js} +1 -1
- package/{slateToRenderMarkdown-Y5IYN73U.js → slateToRenderMarkdown-R3X74MCX.js} +1 -1
- package/{slateUtils-NGV2NMKM.js → slateUtils-ESQAJ6RN.js} +1 -1
- package/{spaceCommands-KVJZVKVO.js → spaceCommands-MEH3HJBC.js} +66 -57
- package/store-Z53ICFL3.js +48 -0
- package/{streamAgentChatTurn-GHBMJJ6S.js → streamAgentChatTurn-FJTUUXHJ.js} +886 -668
- package/{switchDialogAgentAction-EBRMW3RA.js → switchDialogAgentAction-IIJBPND3.js} +26 -25
- package/{tableCommands-MP6VFSVT.js → tableCommands-FTAOCBTX.js} +13 -13
- package/tombstones-FQQMEDOW.js +32 -0
- package/{toolApiClient-HGNO53TC.js → toolApiClient-OGQEBQVX.js} +4 -4
- package/{tools-EWKCPKMS.js → tools-ZXHIAOSP.js} +82 -81
- package/tuiRestart-2IL37YIB.js +41 -0
- package/tuiSummaryLlmCaller-W2QN4VAC.js +44 -0
- package/{updateCommands-ZQYU6SCI.js → updateCommands-CPATDG6J.js} +11 -7
- package/{updateDialogTitleAction-5GGMBTDF.js → updateDialogTitleAction-JMKLKL4P.js} +54 -51
- package/{usageCommand-F4IPVMIZ.js → usageCommand-2BF74MKF.js} +11 -10
- package/{usageRebuildCommand-HAW2AD5N.js → usageRebuildCommand-UHB55BQM.js} +12 -11
- package/userDataMerge-HT2ZVHBJ.js +13 -0
- package/{windowsSelfUpdate-257DV2T6.js → windowsSelfUpdate-ZFD6J5HF.js} +3 -3
- package/{workloadLifecycle-4C42SVBD.js → workloadLifecycle-HFJIN5IZ.js} +4 -4
- package/agentRecordCommands-ZQ7SVYGG.js +0 -167
- package/agentRunCommand-WS7IGO2W.js +0 -196
- package/chunk-3CGG2PAL.js +0 -594
- package/chunk-5MQRBSMW.js +0 -862
- package/chunk-5XBUWM6I.js +0 -89
- package/chunk-CJEIOP3E.js +0 -0
- package/chunk-EHGEOAHI.js +0 -636
- package/chunk-FW6YHHLI.js +0 -842
- package/chunk-GPVRUGGY.js +0 -115
- package/chunk-HSVBJRF4.js +0 -339
- package/chunk-LEC5ALIN.js +0 -91
- package/chunk-WACI5I6V.js +0 -147
- package/chunk-WJZOQR2J.js +0 -151
- package/chunk-ZCWRMUWT.js +0 -89
- package/dist-M676ULYG.js +0 -7314
- package/machineWsRunDispatch-WWJQ6WR3.js +0 -182
- package/models-PJBE6JDV.js +0 -9
- package/tuiSummaryLlmCaller-ALQYUUWB.js +0 -189
- package/{chunk-AGP3YSEC.js → chunk-4N6G2CKP.js} +3 -3
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-2QHFH3DR.js → chunk-USGHJSGO.js} +3 -3
- package/{chunk-AETZ7AD6.js → chunk-W6RFEDN4.js} +3 -3
|
@@ -10,59 +10,66 @@ import {
|
|
|
10
10
|
listRemotePublicAgents,
|
|
11
11
|
normalizeListedAgent,
|
|
12
12
|
parseAgentListArgs
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
buildSpaceLookup,
|
|
16
|
-
getSpaceContentKeys
|
|
17
|
-
} from "./chunk-ID4G2MAR.js";
|
|
18
|
-
import {
|
|
19
|
-
readLiveDbRecordAfterTombstoneMerge
|
|
20
|
-
} from "./chunk-VO4WSAVP.js";
|
|
13
|
+
} from "./chunk-CYWNWA77.js";
|
|
21
14
|
import {
|
|
22
15
|
refreshSubscriptionQuotas
|
|
23
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TUSTONB3.js";
|
|
24
17
|
import {
|
|
25
18
|
getReadableCliDb
|
|
26
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YFLVRVYK.js";
|
|
27
20
|
import {
|
|
28
21
|
applyCredentialAvailability,
|
|
29
22
|
clearCredentialAvailabilityIfMarkedAt,
|
|
30
23
|
readCredentialAvailability,
|
|
31
24
|
readEffectiveCredentialEntry
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
queryUserRecords,
|
|
35
|
-
readDbRecord
|
|
36
|
-
} from "./chunk-MOIJOHA5.js";
|
|
37
|
-
import "./chunk-NBTY7YJF.js";
|
|
25
|
+
} from "./chunk-WWTSEBDF.js";
|
|
38
26
|
import {
|
|
39
27
|
buildAgentDiscoveryResult,
|
|
40
28
|
matchesAgentQuery,
|
|
41
29
|
resolvePaginationArgs,
|
|
42
30
|
summarizeCredentialGroups,
|
|
43
31
|
toDiscoverySafeAgentSummary
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-PCLE46CE.js";
|
|
32
|
+
} from "./chunk-NHY322ZU.js";
|
|
46
33
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
buildSpaceLookup,
|
|
35
|
+
getSpaceContentKeys
|
|
36
|
+
} from "./chunk-ID4G2MAR.js";
|
|
37
|
+
import {
|
|
38
|
+
readLiveDbRecordAfterTombstoneMerge
|
|
39
|
+
} from "./chunk-QBZCGP34.js";
|
|
40
|
+
import {
|
|
41
|
+
queryUserRecords,
|
|
42
|
+
readDbRecord
|
|
43
|
+
} from "./chunk-D6YNCNM6.js";
|
|
44
|
+
import "./chunk-5ZUOVCKT.js";
|
|
49
45
|
import "./chunk-UEILX4EV.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import
|
|
46
|
+
import "./chunk-GBWGPTA7.js";
|
|
47
|
+
import {
|
|
48
|
+
listRunRecords
|
|
49
|
+
} from "./chunk-OWKNSIXL.js";
|
|
50
|
+
import "./chunk-2X7WFDT6.js";
|
|
51
|
+
import "./chunk-OOJNQK6V.js";
|
|
52
|
+
import "./chunk-BV3FLP2L.js";
|
|
53
|
+
import "./chunk-QCB42576.js";
|
|
54
|
+
import "./chunk-BR3GT6MR.js";
|
|
55
|
+
import "./chunk-JUSHVFNF.js";
|
|
52
56
|
import "./chunk-ZNFJWEN4.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-2NPD3FTX.js";
|
|
58
|
+
import "./chunk-PWTNI4N7.js";
|
|
59
|
+
import "./chunk-AL3TYDIF.js";
|
|
60
|
+
import "./chunk-HSSBDZLD.js";
|
|
55
61
|
import "./chunk-HNUWUO75.js";
|
|
56
62
|
import "./chunk-CHOZJMJS.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-GUXZK7SE.js";
|
|
64
|
+
import "./chunk-LKA64WH4.js";
|
|
65
|
+
import "./chunk-2WZXXAQD.js";
|
|
66
|
+
import "./chunk-DUUDXSLX.js";
|
|
67
|
+
import "./chunk-QYB23WUH.js";
|
|
61
68
|
import "./chunk-56GBUMO5.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-AGYPUBFW.js";
|
|
70
|
+
import "./chunk-EEOOBRA7.js";
|
|
71
|
+
import "./chunk-X4O7FJF5.js";
|
|
72
|
+
import "./chunk-RYOLWYBK.js";
|
|
66
73
|
import {
|
|
67
74
|
DEFAULT_PROVIDER_RETRY_MS,
|
|
68
75
|
formatQuotaSummary,
|
|
@@ -71,79 +78,82 @@ import {
|
|
|
71
78
|
resolveCredentialCandidateKeys,
|
|
72
79
|
resolveCredentialKeyWithFallback,
|
|
73
80
|
shouldClearCooldownFromQuota
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-UHJGXRJ4.js";
|
|
81
|
+
} from "./chunk-QJTZ76CP.js";
|
|
82
|
+
import "./chunk-VS276URX.js";
|
|
83
|
+
import "./chunk-TLE77UJ5.js";
|
|
84
|
+
import "./chunk-OBIC6EG7.js";
|
|
85
|
+
import "./chunk-FJSNBZXR.js";
|
|
80
86
|
import "./chunk-2MBTWINN.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-7BT37FK3.js";
|
|
83
|
-
import "./chunk-H57T64RA.js";
|
|
87
|
+
import "./chunk-QRGDJA4B.js";
|
|
84
88
|
import "./chunk-5ZUL4CUO.js";
|
|
89
|
+
import "./chunk-L32W3PRP.js";
|
|
90
|
+
import "./chunk-H57T64RA.js";
|
|
85
91
|
import "./chunk-UKZX3NHN.js";
|
|
86
92
|
import "./chunk-5MMAK75Q.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-OQHIVPG4.js";
|
|
93
|
+
import "./chunk-USGHJSGO.js";
|
|
89
94
|
import "./chunk-KX6YBIHG.js";
|
|
95
|
+
import "./chunk-OQHIVPG4.js";
|
|
90
96
|
import "./chunk-DWLEOOGR.js";
|
|
91
97
|
import "./chunk-7DPNBQSV.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-CJEIOP3E.js";
|
|
96
|
-
import "./chunk-ZCWRMUWT.js";
|
|
97
|
-
import "./chunk-ZC3CMUKU.js";
|
|
98
|
-
import "./chunk-LOEO7LRC.js";
|
|
99
|
-
import "./chunk-M2EJHDJP.js";
|
|
100
|
-
import "./chunk-KIM6CLW5.js";
|
|
101
|
-
import "./chunk-H4UOTUOX.js";
|
|
98
|
+
import "./chunk-OW765XBU.js";
|
|
99
|
+
import "./chunk-VMJVAJ6W.js";
|
|
100
|
+
import "./chunk-EWQ3HGNZ.js";
|
|
102
101
|
import "./chunk-PSCNXBYA.js";
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-G7Y4GXTY.js";
|
|
103
|
+
import "./chunk-6UBGXX2W.js";
|
|
104
|
+
import "./chunk-G7IUT2V3.js";
|
|
105
|
+
import "./chunk-6OVNSQHN.js";
|
|
106
|
+
import "./chunk-W6RFEDN4.js";
|
|
107
|
+
import "./chunk-EVGU5P4U.js";
|
|
108
|
+
import "./chunk-ILHQ2AXT.js";
|
|
109
|
+
import "./chunk-M2EJHDJP.js";
|
|
107
110
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
111
|
+
createKey,
|
|
112
|
+
createTokenKey
|
|
113
|
+
} from "./chunk-SYTHYBMI.js";
|
|
114
|
+
import "./chunk-OJKUU3LP.js";
|
|
115
|
+
import "./chunk-YZMNK53S.js";
|
|
116
|
+
import "./chunk-I42VC5KR.js";
|
|
117
|
+
import "./chunk-U6VC4MU4.js";
|
|
118
|
+
import "./chunk-3P54D2E4.js";
|
|
119
|
+
import "./chunk-BNMPUQW6.js";
|
|
120
|
+
import "./chunk-KHCLMKZZ.js";
|
|
113
121
|
import {
|
|
114
122
|
parseUserIdFromAuthToken,
|
|
115
123
|
readOption,
|
|
116
124
|
resolveAuthToken,
|
|
117
125
|
resolveServerCandidates,
|
|
118
126
|
resolveServerUrl
|
|
119
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-BIDSIRTS.js";
|
|
120
128
|
import "./chunk-OLZBQWZU.js";
|
|
121
129
|
import "./chunk-LCBAMY2M.js";
|
|
122
|
-
import "./chunk-4SN6J65J.js";
|
|
123
|
-
import "./chunk-CF7PE763.js";
|
|
124
130
|
import "./chunk-4O22PGNQ.js";
|
|
125
131
|
import {
|
|
126
132
|
t
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
133
|
+
} from "./chunk-262R3XNN.js";
|
|
134
|
+
import "./chunk-62HXNQVV.js";
|
|
135
|
+
import "./chunk-7JGMNKKG.js";
|
|
136
|
+
import "./chunk-RTHFJZ6M.js";
|
|
137
|
+
import "./chunk-HBRDSQ3M.js";
|
|
130
138
|
import {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
} from "./chunk-JY5NGFFH.js";
|
|
134
|
-
import "./chunk-XJWWBO34.js";
|
|
135
|
-
import "./chunk-I42VC5KR.js";
|
|
136
|
-
import "./chunk-U6VC4MU4.js";
|
|
137
|
-
import "./chunk-WWC7I6TA.js";
|
|
139
|
+
toErrorMessage
|
|
140
|
+
} from "./chunk-HNMXYYJR.js";
|
|
138
141
|
import "./chunk-3EUW3WEO.js";
|
|
142
|
+
import "./chunk-CD3RU7XL.js";
|
|
143
|
+
import "./chunk-JRTNUU5Z.js";
|
|
144
|
+
import "./chunk-KUG52IAP.js";
|
|
145
|
+
import "./chunk-WWC7I6TA.js";
|
|
139
146
|
import "./chunk-G3SUCT4W.js";
|
|
140
|
-
import "./chunk-
|
|
147
|
+
import "./chunk-4SN6J65J.js";
|
|
148
|
+
import "./chunk-CF7PE763.js";
|
|
149
|
+
import "./chunk-OBSEKCVK.js";
|
|
150
|
+
import "./chunk-QSJ3HFEF.js";
|
|
151
|
+
import "./chunk-U67V476Y.js";
|
|
141
152
|
|
|
142
153
|
// packages/ai/agent/speedSampleCache.ts
|
|
143
154
|
var SPEED_SAMPLE_DISK_CACHE_TTL_MS = 10 * 6e4;
|
|
144
155
|
var SPEED_SAMPLE_SCAN_BUDGET_MS = 2500;
|
|
145
|
-
var SPEED_SAMPLE_CACHE_VERSION =
|
|
146
|
-
var SPEED_SAMPLE_LEGACY_CACHE_VERSION = 1;
|
|
156
|
+
var SPEED_SAMPLE_CACHE_VERSION = 4;
|
|
147
157
|
var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
|
|
148
158
|
var sanitizeSample = (value) => {
|
|
149
159
|
if (!value || typeof value !== "object") return null;
|
|
@@ -163,7 +173,7 @@ async function parseCacheFile(cachePath, userId) {
|
|
|
163
173
|
const parsed = JSON.parse(raw);
|
|
164
174
|
if (!parsed || typeof parsed !== "object") return null;
|
|
165
175
|
const version = parsed.version;
|
|
166
|
-
if (version !== SPEED_SAMPLE_CACHE_VERSION
|
|
176
|
+
if (version !== SPEED_SAMPLE_CACHE_VERSION) {
|
|
167
177
|
return null;
|
|
168
178
|
}
|
|
169
179
|
if (parsed.userId !== userId) return null;
|
|
@@ -180,7 +190,7 @@ async function parseCacheFile(cachePath, userId) {
|
|
|
180
190
|
}
|
|
181
191
|
samples.set(model, cleaned);
|
|
182
192
|
}
|
|
183
|
-
const complete =
|
|
193
|
+
const complete = parsed.complete === true;
|
|
184
194
|
const cursor = typeof parsed.cursor === "string" && parsed.cursor.length > 0 ? parsed.cursor : void 0;
|
|
185
195
|
return { samples, at: parsed.at, complete, cursor: complete ? void 0 : cursor };
|
|
186
196
|
} catch {
|
|
@@ -211,8 +221,8 @@ function resolveSpeedSamplesProgressPath(cachePath) {
|
|
|
211
221
|
async function writeSpeedSamplesCache(cachePath, payload) {
|
|
212
222
|
try {
|
|
213
223
|
const fs = await import("node:fs/promises");
|
|
214
|
-
const
|
|
215
|
-
await fs.mkdir(
|
|
224
|
+
const path = await import("node:path");
|
|
225
|
+
await fs.mkdir(path.dirname(cachePath), { recursive: true });
|
|
216
226
|
const tmpPath = `${cachePath}.tmp-${process.pid}-${Math.random().toString(36).slice(2, 8)}`;
|
|
217
227
|
await fs.writeFile(tmpPath, JSON.stringify(payload), "utf8");
|
|
218
228
|
await fs.rename(tmpPath, cachePath);
|
|
@@ -294,6 +304,7 @@ function buildCandidateSpeedContext(models, samplesByModel, options = {}) {
|
|
|
294
304
|
return formatCandidateSpeedFacts(resolveCandidateSpeedFacts(models, samplesByModel), options);
|
|
295
305
|
}
|
|
296
306
|
var SPEED_SAMPLE_PAGE_SIZE = 2e3;
|
|
307
|
+
var DISPATCH_ENTRY_PATH = "agent-run";
|
|
297
308
|
var eventTime = (value) => {
|
|
298
309
|
if (isFiniteNumber2(value.timestamp)) return value.timestamp;
|
|
299
310
|
if (isFiniteNumber2(value.createdAt)) return value.createdAt;
|
|
@@ -330,6 +341,25 @@ async function collectRecentSpeedSamples(db, userId, options = {}) {
|
|
|
330
341
|
const budgetMs = isFiniteNumber2(options.budgetMs) ? options.budgetMs : Number.POSITIVE_INFINITY;
|
|
331
342
|
const { start, end } = createTokenKey.rangeOfUser(userId);
|
|
332
343
|
const failedPrefix = createKey("token", userId, "failed-call", "");
|
|
344
|
+
const dispatchRunCache = /* @__PURE__ */ new Map();
|
|
345
|
+
const isDispatchSampleRecord = async (record2, resolver, cache) => {
|
|
346
|
+
if (record2.entry_path !== DISPATCH_ENTRY_PATH && record2.entry_path !== "cli-local") return false;
|
|
347
|
+
const runId = typeof record2.dialogId === "string" ? record2.dialogId.trim() : "";
|
|
348
|
+
if (!runId) return false;
|
|
349
|
+
const cacheKey = `${record2.entry_path}:${runId}`;
|
|
350
|
+
const cached = cache.get(cacheKey);
|
|
351
|
+
if (cached !== void 0) return cached;
|
|
352
|
+
let dispatch = false;
|
|
353
|
+
if (resolver) {
|
|
354
|
+
try {
|
|
355
|
+
dispatch = await resolver(runId, record2.entry_path) === true;
|
|
356
|
+
} catch {
|
|
357
|
+
dispatch = false;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
cache.set(cacheKey, dispatch);
|
|
361
|
+
return dispatch;
|
|
362
|
+
};
|
|
333
363
|
const collected = /* @__PURE__ */ new Map();
|
|
334
364
|
const startedAt = Date.now();
|
|
335
365
|
let lastKey = options.startAfter;
|
|
@@ -355,7 +385,15 @@ async function collectRecentSpeedSamples(db, userId, options = {}) {
|
|
|
355
385
|
newestKey = key;
|
|
356
386
|
if (key.startsWith(failedPrefix)) continue;
|
|
357
387
|
if (!raw || typeof raw !== "object") continue;
|
|
358
|
-
|
|
388
|
+
const record2 = raw;
|
|
389
|
+
const resolver = options.isDispatchRun ?? db.isDispatchRun;
|
|
390
|
+
if (!await isDispatchSampleRecord(
|
|
391
|
+
record2,
|
|
392
|
+
resolver ? (runId, entryPath) => resolver.call(db, runId, entryPath) : void 0,
|
|
393
|
+
dispatchRunCache
|
|
394
|
+
))
|
|
395
|
+
continue;
|
|
396
|
+
collectSample(collected, record2);
|
|
359
397
|
}
|
|
360
398
|
if (accepted === 0 || accepted < pageSize) break;
|
|
361
399
|
lastKey = newestKey;
|
|
@@ -506,22 +544,58 @@ async function injectSpeedContextIntoListAgentsResult(result, options = {}) {
|
|
|
506
544
|
}
|
|
507
545
|
}
|
|
508
546
|
|
|
547
|
+
// packages/ai/agent/dispatchSpeedProvenance.ts
|
|
548
|
+
var record = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : {};
|
|
549
|
+
function isServerDispatchSpeedSource(value, dialogId, userId) {
|
|
550
|
+
const dialog = record(value);
|
|
551
|
+
const proof = record(dialog.dispatchSpeedProvenance);
|
|
552
|
+
return proof.version === 1 && proof.source === "server-startAgentRun" && proof.userId === userId && record(dialog.runtimeBinding).tenantUserId === userId && dialog.id === dialogId;
|
|
553
|
+
}
|
|
554
|
+
function isLocalDispatchSpeedSource(value, dialogId, userId) {
|
|
555
|
+
const run = record(value);
|
|
556
|
+
const proof = record(run.dispatchSpeedProvenance);
|
|
557
|
+
return proof.version === 1 && proof.source === "cli-startAgentRun" && proof.userId === userId && typeof run.runId === "string" && run.runId.length > 0 && run.dialogId === dialogId && run.ephemeral !== true;
|
|
558
|
+
}
|
|
559
|
+
|
|
509
560
|
// packages/cli/agentListCommands.ts
|
|
510
|
-
|
|
511
|
-
|
|
561
|
+
var createCliDispatchSampleDb = (db, userId, env) => {
|
|
562
|
+
let localDialogs;
|
|
563
|
+
return {
|
|
564
|
+
iterator: (options) => db.iterator(options),
|
|
565
|
+
isDispatchRun: async (dialogId, entryPath) => {
|
|
566
|
+
if (entryPath === "cli-local") {
|
|
567
|
+
localDialogs ??= new Set(listRunRecords({ env }).filter(
|
|
568
|
+
(run) => typeof run.dialogId === "string" && isLocalDispatchSpeedSource(run, run.dialogId, userId)
|
|
569
|
+
).map((run) => run.dialogId));
|
|
570
|
+
return localDialogs.has(dialogId);
|
|
571
|
+
}
|
|
572
|
+
if (entryPath !== "agent-run") return false;
|
|
573
|
+
try {
|
|
574
|
+
return isServerDispatchSpeedSource(await db.get(`dialog-${userId}-${dialogId}`), dialogId, userId);
|
|
575
|
+
} catch {
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
};
|
|
512
581
|
function formatCooldownUntilLocal(at, now = /* @__PURE__ */ new Date()) {
|
|
513
582
|
const pad = (value) => String(value).padStart(2, "0");
|
|
514
583
|
const time = `${pad(at.getHours())}:${pad(at.getMinutes())}`;
|
|
515
584
|
const sameDay = at.getFullYear() === now.getFullYear() && at.getMonth() === now.getMonth() && at.getDate() === now.getDate();
|
|
516
585
|
return sameDay ? time : `${pad(at.getMonth() + 1)}-${pad(at.getDate())} ${time}`;
|
|
517
586
|
}
|
|
518
|
-
function resolveSpeedSamplesCachePath(env, userId) {
|
|
519
|
-
const safeUserId = userId.replace(/[^A-Za-z0-9._-]/g, "_");
|
|
520
|
-
const mergedEnv = { ...process.env, ...env };
|
|
521
|
-
return path.join(resolveNoloHome({ env: mergedEnv }), "cache", `speed-samples-${safeUserId}.json`);
|
|
522
|
-
}
|
|
523
587
|
async function runAgentListCommand(args, deps = {}) {
|
|
524
588
|
const env = deps.env ?? process.env;
|
|
589
|
+
let planningCaller;
|
|
590
|
+
try {
|
|
591
|
+
const raw = JSON.parse(env.NOLO_PLANNING_CALLER ?? "null");
|
|
592
|
+
if (raw && typeof raw === "object") planningCaller = {
|
|
593
|
+
agentKey: typeof raw.agentKey === "string" ? raw.agentKey : void 0,
|
|
594
|
+
effectiveModel: typeof raw.effectiveModel === "string" ? raw.effectiveModel : void 0,
|
|
595
|
+
runKind: raw.runKind === "subtask" ? "subtask" : "interactive"
|
|
596
|
+
};
|
|
597
|
+
} catch {
|
|
598
|
+
}
|
|
525
599
|
const output = deps.output ?? process.stdout;
|
|
526
600
|
const { wantJson, wantSafe, publicOnly, scope: requestedScope, idsOnly, showUnavailable, verbose, compact, limit, offset, query } = parseAgentListArgs(args);
|
|
527
601
|
if (requestedScope && !["preferred", "public", "all"].includes(requestedScope)) {
|
|
@@ -754,18 +828,18 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
754
828
|
fetchImpl,
|
|
755
829
|
serverUrls
|
|
756
830
|
});
|
|
757
|
-
const
|
|
758
|
-
if (!
|
|
759
|
-
const norm = normalizeListedAgent(
|
|
760
|
-
const candidateKeys = [
|
|
831
|
+
const record2 = favRead.record;
|
|
832
|
+
if (!record2 || record2.type && record2.type !== "agent") continue;
|
|
833
|
+
const norm = normalizeListedAgent(record2);
|
|
834
|
+
const candidateKeys = [record2.dbKey, record2.publicKey, record2.id].filter((key) => typeof key === "string" && key.length > 0);
|
|
761
835
|
if (spaceContentKeys && !candidateKeys.some((key) => spaceContentKeys?.has(key))) {
|
|
762
836
|
continue;
|
|
763
837
|
}
|
|
764
838
|
if (norm) {
|
|
765
839
|
if (!favKey.startsWith("agent-pub-")) {
|
|
766
840
|
norm.verifiedAgentKey = favKey;
|
|
767
|
-
if (typeof
|
|
768
|
-
norm.ownerId =
|
|
841
|
+
if (typeof record2.userId === "string" && record2.userId) {
|
|
842
|
+
norm.ownerId = record2.userId;
|
|
769
843
|
}
|
|
770
844
|
}
|
|
771
845
|
agents.push(norm);
|
|
@@ -774,7 +848,7 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
774
848
|
existingKeys.add(norm.publicKey);
|
|
775
849
|
existingKeys.add(norm.id);
|
|
776
850
|
} else {
|
|
777
|
-
extraFavoriteRecords.push(
|
|
851
|
+
extraFavoriteRecords.push(record2);
|
|
778
852
|
for (const key of candidateKeys) existingKeys.add(key);
|
|
779
853
|
}
|
|
780
854
|
} catch {
|
|
@@ -789,9 +863,11 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
789
863
|
serverUrls
|
|
790
864
|
});
|
|
791
865
|
}
|
|
792
|
-
const safeRecords = [...agents, ...extraFavoriteRecords].map((
|
|
866
|
+
const safeRecords = [...agents, ...extraFavoriteRecords].map((record2) => toDiscoverySafeAgentSummary(record2, { favoritesMap, userId })).filter((agent) => publicOnly ? agent.isPublic === true : true);
|
|
793
867
|
const discovery = buildAgentDiscoveryResult({
|
|
794
868
|
agents: safeRecords,
|
|
869
|
+
caller: planningCaller,
|
|
870
|
+
poolRestricted: Boolean(resolvedSpaceId) || serverFailures.length > 0 || source !== "global-cache",
|
|
795
871
|
scope: requestedScope ?? (publicOnly ? "public" : "all"),
|
|
796
872
|
query,
|
|
797
873
|
showUnavailable,
|
|
@@ -806,6 +882,7 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
806
882
|
success: true,
|
|
807
883
|
userId,
|
|
808
884
|
...resolvedSpaceId ? { spaceId: resolvedSpaceId } : {},
|
|
885
|
+
planningRecommendation: discovery.planningRecommendation,
|
|
809
886
|
total: discovery.total,
|
|
810
887
|
...typeof discovery.offset === "number" ? { offset: discovery.offset } : {},
|
|
811
888
|
...typeof discovery.limit === "number" ? { limit: discovery.limit } : {},
|
|
@@ -818,12 +895,13 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
818
895
|
agents: discovery.agents,
|
|
819
896
|
credentialGroups: discovery.credentialGroups
|
|
820
897
|
}, null, 2);
|
|
821
|
-
const
|
|
822
|
-
|
|
898
|
+
const cliNoloHome = env.NOLO_HOME?.trim() || (env.HOME?.trim() ? `${env.HOME.trim()}/.nolo` : "");
|
|
899
|
+
const speedAwareListResult = await injectSpeedContextIntoListAgentsResult(listResult, {
|
|
900
|
+
db: createCliDispatchSampleDb(deps.db ?? await getReadableCliDb(output), userId, env),
|
|
823
901
|
userId,
|
|
824
|
-
diskCache: { cachePath:
|
|
902
|
+
...cliNoloHome ? { diskCache: { cachePath: `${cliNoloHome}/cache/speed-samples-${userId}.json` } } : {}
|
|
825
903
|
});
|
|
826
|
-
output.write(
|
|
904
|
+
output.write(speedAwareListResult);
|
|
827
905
|
output.write("\n");
|
|
828
906
|
return 0;
|
|
829
907
|
}
|
|
@@ -923,6 +1001,5 @@ async function runAgentListCommand(args, deps = {}) {
|
|
|
923
1001
|
}
|
|
924
1002
|
}
|
|
925
1003
|
export {
|
|
926
|
-
resolveSpeedSamplesCachePath,
|
|
927
1004
|
runAgentListCommand
|
|
928
1005
|
};
|
|
@@ -1,112 +1,121 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveConnectorWebSocketTarget
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-Y5GCAMGP.js";
|
|
3
|
+
} from "./chunk-LISC7BD4.js";
|
|
5
4
|
import {
|
|
6
5
|
getReadableCliDb
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YFLVRVYK.js";
|
|
7
|
+
import "./chunk-NF64D32W.js";
|
|
8
|
+
import "./chunk-Y5GCAMGP.js";
|
|
8
9
|
import {
|
|
9
10
|
readAgentRecord,
|
|
10
11
|
resolveAgentRecordFromHybridStore,
|
|
11
12
|
writeAgentRecord
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-D6YNCNM6.js";
|
|
14
|
+
import "./chunk-5ZUOVCKT.js";
|
|
15
|
+
import "./chunk-3L2WKC3W.js";
|
|
16
|
+
import "./chunk-BV3FLP2L.js";
|
|
17
|
+
import "./chunk-QCB42576.js";
|
|
13
18
|
import {
|
|
14
19
|
resolveCliAgentKeyInput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-3L2WKC3W.js";
|
|
18
|
-
import "./chunk-SVYO6AO7.js";
|
|
19
|
-
import "./chunk-RSHTSUEG.js";
|
|
20
|
+
} from "./chunk-BR3GT6MR.js";
|
|
21
|
+
import "./chunk-JUSHVFNF.js";
|
|
20
22
|
import "./chunk-ZNFJWEN4.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-2NPD3FTX.js";
|
|
24
|
+
import "./chunk-PWTNI4N7.js";
|
|
25
|
+
import "./chunk-AL3TYDIF.js";
|
|
26
|
+
import "./chunk-HSSBDZLD.js";
|
|
23
27
|
import "./chunk-HNUWUO75.js";
|
|
24
28
|
import "./chunk-CHOZJMJS.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GUXZK7SE.js";
|
|
30
|
+
import "./chunk-LKA64WH4.js";
|
|
31
|
+
import "./chunk-2WZXXAQD.js";
|
|
32
|
+
import "./chunk-DUUDXSLX.js";
|
|
33
|
+
import "./chunk-QYB23WUH.js";
|
|
29
34
|
import "./chunk-56GBUMO5.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-UHJGXRJ4.js";
|
|
35
|
+
import "./chunk-AGYPUBFW.js";
|
|
36
|
+
import "./chunk-EEOOBRA7.js";
|
|
37
|
+
import "./chunk-X4O7FJF5.js";
|
|
38
|
+
import "./chunk-RYOLWYBK.js";
|
|
39
|
+
import "./chunk-QJTZ76CP.js";
|
|
40
|
+
import "./chunk-VS276URX.js";
|
|
41
|
+
import "./chunk-TLE77UJ5.js";
|
|
42
|
+
import "./chunk-OBIC6EG7.js";
|
|
43
|
+
import "./chunk-FJSNBZXR.js";
|
|
40
44
|
import "./chunk-2MBTWINN.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-7BT37FK3.js";
|
|
43
|
-
import "./chunk-H57T64RA.js";
|
|
45
|
+
import "./chunk-QRGDJA4B.js";
|
|
44
46
|
import "./chunk-5ZUL4CUO.js";
|
|
47
|
+
import "./chunk-L32W3PRP.js";
|
|
48
|
+
import "./chunk-H57T64RA.js";
|
|
45
49
|
import "./chunk-UKZX3NHN.js";
|
|
46
50
|
import "./chunk-5MMAK75Q.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-OQHIVPG4.js";
|
|
51
|
+
import "./chunk-USGHJSGO.js";
|
|
49
52
|
import {
|
|
50
53
|
asRecordOrEmpty
|
|
51
54
|
} from "./chunk-KX6YBIHG.js";
|
|
55
|
+
import "./chunk-OQHIVPG4.js";
|
|
52
56
|
import "./chunk-DWLEOOGR.js";
|
|
53
57
|
import "./chunk-7DPNBQSV.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-CJEIOP3E.js";
|
|
58
|
-
import "./chunk-ZCWRMUWT.js";
|
|
59
|
-
import "./chunk-ZC3CMUKU.js";
|
|
60
|
-
import "./chunk-LOEO7LRC.js";
|
|
61
|
-
import "./chunk-M2EJHDJP.js";
|
|
62
|
-
import "./chunk-KIM6CLW5.js";
|
|
63
|
-
import "./chunk-H4UOTUOX.js";
|
|
58
|
+
import "./chunk-OW765XBU.js";
|
|
59
|
+
import "./chunk-VMJVAJ6W.js";
|
|
60
|
+
import "./chunk-EWQ3HGNZ.js";
|
|
64
61
|
import "./chunk-PSCNXBYA.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import
|
|
75
|
-
|
|
76
|
-
|
|
62
|
+
import "./chunk-G7Y4GXTY.js";
|
|
63
|
+
import "./chunk-6UBGXX2W.js";
|
|
64
|
+
import "./chunk-G7IUT2V3.js";
|
|
65
|
+
import "./chunk-6OVNSQHN.js";
|
|
66
|
+
import "./chunk-W6RFEDN4.js";
|
|
67
|
+
import "./chunk-EVGU5P4U.js";
|
|
68
|
+
import "./chunk-ILHQ2AXT.js";
|
|
69
|
+
import "./chunk-M2EJHDJP.js";
|
|
70
|
+
import "./chunk-SYTHYBMI.js";
|
|
71
|
+
import "./chunk-OJKUU3LP.js";
|
|
72
|
+
import "./chunk-YZMNK53S.js";
|
|
73
|
+
import "./chunk-I42VC5KR.js";
|
|
74
|
+
import "./chunk-U6VC4MU4.js";
|
|
75
|
+
import "./chunk-3P54D2E4.js";
|
|
76
|
+
import "./chunk-BNMPUQW6.js";
|
|
77
|
+
import "./chunk-KHCLMKZZ.js";
|
|
77
78
|
import {
|
|
78
79
|
parseUserIdFromAuthToken,
|
|
79
80
|
readOption,
|
|
80
81
|
resolveAuthToken,
|
|
81
82
|
resolveServerUrl
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-BIDSIRTS.js";
|
|
83
84
|
import "./chunk-OLZBQWZU.js";
|
|
84
85
|
import "./chunk-LCBAMY2M.js";
|
|
85
|
-
import "./chunk-4SN6J65J.js";
|
|
86
|
-
import "./chunk-CF7PE763.js";
|
|
87
86
|
import "./chunk-4O22PGNQ.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
import "./chunk-62HXNQVV.js";
|
|
88
|
+
import "./chunk-7JGMNKKG.js";
|
|
89
|
+
import "./chunk-RTHFJZ6M.js";
|
|
90
|
+
import "./chunk-HBRDSQ3M.js";
|
|
91
|
+
import {
|
|
92
|
+
toErrorMessage
|
|
93
|
+
} from "./chunk-HNMXYYJR.js";
|
|
95
94
|
import "./chunk-3EUW3WEO.js";
|
|
95
|
+
import "./chunk-CD3RU7XL.js";
|
|
96
|
+
import "./chunk-JRTNUU5Z.js";
|
|
97
|
+
import "./chunk-KUG52IAP.js";
|
|
98
|
+
import "./chunk-WWC7I6TA.js";
|
|
96
99
|
import "./chunk-G3SUCT4W.js";
|
|
97
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-4SN6J65J.js";
|
|
101
|
+
import "./chunk-CF7PE763.js";
|
|
102
|
+
import "./chunk-OBSEKCVK.js";
|
|
103
|
+
import {
|
|
104
|
+
asTrimmedLowercaseString
|
|
105
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
106
|
+
import "./chunk-U67V476Y.js";
|
|
98
107
|
|
|
99
108
|
// packages/cli/agentMachineCommands.ts
|
|
100
109
|
async function defaultExecuteCli(provider, prompt, options) {
|
|
101
|
-
const { executeCli } = await import("./cliExecutor-
|
|
110
|
+
const { executeCli } = await import("./cliExecutor-K6FDZTQ2.js");
|
|
102
111
|
return executeCli(provider, prompt, options);
|
|
103
112
|
}
|
|
104
113
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
105
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
114
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-RA5NOSGG.js");
|
|
106
115
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
107
116
|
}
|
|
108
117
|
async function detectLaunchableMachineInfo() {
|
|
109
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
118
|
+
const { detectMachineInfo } = await import("./machineInfo-LWHTEBHJ.js");
|
|
110
119
|
return detectMachineInfo({ probeLaunchable: true });
|
|
111
120
|
}
|
|
112
121
|
function requiredCapabilityForAgent(agent) {
|