nolo-cli 0.228.0-alpha.2 → 0.228.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.
Files changed (235) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-VYCHHZVT.js → _executeModel-GIFVXKDT.js} +88 -83
  3. package/{accountResolver-QETKNC7T.js → accountResolver-NGICIMEE.js} +1 -1
  4. package/{action-GDZDXPMB.js → action-WZTKEF5H.js} +9 -6
  5. package/{addContentAction-7RO4AMRI.js → addContentAction-MLI6GOBV.js} +14 -13
  6. package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-ARGQM22H.js} +17 -16
  7. package/{agentDeleteCommand-QWQKT54A.js → agentDeleteCommand-UF7XVELS.js} +118 -111
  8. package/{agentEmailCommands-EISMBIRE.js → agentEmailCommands-SFHRPQYC.js} +118 -107
  9. package/{agentListCommands-4WLG32IW.js → agentListCommands-IXKBP3W5.js} +208 -177
  10. package/{agentMachineCommands-DC6NKWTU.js → agentMachineCommands-7NX6PWQ6.js} +55 -48
  11. package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-C5T7C5KZ.js} +2 -2
  12. package/{agentPullCommand-KHV4EELF.js → agentPullCommand-4EQZYHU4.js} +1 -1
  13. package/agentRecordCommands-IUNX6XD6.js +188 -0
  14. package/{agentRunCommand-QM7ETUTX.js → agentRunCommand-LCR4XADM.js} +125 -111
  15. package/{agentRunControl-MBG4U6SL.js → agentRunControl-RN2P6AOD.js} +11 -9
  16. package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-LVXPQ7QA.js} +56 -43
  17. package/{agentSlice-UG76KEBH.js → agentSlice-ZGMOH6TE.js} +15 -14
  18. package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-BESCJOQM.js} +55 -48
  19. package/{appDeployCommands-AU4IUN33.js → appDeployCommands-LPTR6IOX.js} +55 -48
  20. package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-BZ7KZ5RD.js} +55 -48
  21. package/{appGetCommands-BGTLIQ4K.js → appGetCommands-EDWGJV4S.js} +55 -48
  22. package/{appListCommands-CUCPRUXW.js → appListCommands-OPRWYPM6.js} +55 -48
  23. package/{authCommand-OZ2KTP4Z.js → authCommand-3C3RN4OU.js} +25 -19
  24. package/{authCommands-55OGQGCR.js → authCommands-ZMVEDCQD.js} +12 -6
  25. package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-VRCMQ77Q.js} +7 -7
  26. package/{chromeCommands-G5UDKVSV.js → chromeCommands-O4IIKTBD.js} +384 -7
  27. package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-NZITLHWO.js} +3 -3
  28. package/{chunk-VQ5N5GSV.js → chunk-2BKNICGK.js} +4 -4
  29. package/{chunk-QYB23WUH.js → chunk-2FK2KZSL.js} +1 -1
  30. package/chunk-2SXN7LAY.js +15 -0
  31. package/{chunk-3VZLEKV2.js → chunk-3DJJ4CFG.js} +11 -11
  32. package/{chunk-TSPMLCWI.js → chunk-4IQN6FWY.js} +5 -5
  33. package/{chunk-XAG3FWBE.js → chunk-4OXPN3WC.js} +6 -6
  34. package/chunk-4ZCTKB27.js +31 -0
  35. package/chunk-53W5BXLN.js +340 -0
  36. package/{chunk-42OKN2LI.js → chunk-5HUO7SEX.js} +9 -107
  37. package/chunk-6ASGEP5D.js +21 -0
  38. package/{chunk-MJI3UAXN.js → chunk-6CXQ3YNJ.js} +40 -36
  39. package/{chunk-G7IUT2V3.js → chunk-6MTVACLN.js} +365 -64
  40. package/{chunk-ZOHO6MOF.js → chunk-6RSNVJGO.js} +2 -99
  41. package/{chunk-XSW4EXQV.js → chunk-6TVYUQRM.js} +55 -18
  42. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  43. package/{chunk-7Z6EW7AH.js → chunk-6XVPMGXK.js} +97 -11
  44. package/{chunk-ALAES342.js → chunk-73PZD7JZ.js} +9 -5
  45. package/{chunk-TCZ2VJZQ.js → chunk-7UVVLYKC.js} +9 -9
  46. package/{chunk-S6FDXXZV.js → chunk-ADOOL3PG.js} +2 -2
  47. package/{chunk-OWKNSIXL.js → chunk-AEZBAFC6.js} +334 -77
  48. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  49. package/{chunk-RG2DGNL6.js → chunk-ARFCL53U.js} +5 -5
  50. package/{chunk-SRCCSTIM.js → chunk-AS6L5KSD.js} +4 -4
  51. package/{chunk-WFDNADFX.js → chunk-BAH3BAUZ.js} +8 -8
  52. package/{chunk-N5Z2V73W.js → chunk-BFKJ2RS3.js} +1 -1
  53. package/{chunk-F6Z6ZCUV.js → chunk-BVEDT6DM.js} +3 -3
  54. package/chunk-C5A54QS7.js +108 -0
  55. package/{chunk-CD3RU7XL.js → chunk-CD2DK5JA.js} +120 -14
  56. package/{chunk-BP5ZJ6B4.js → chunk-CD64YXRB.js} +1 -1
  57. package/{chunk-VP3BINY7.js → chunk-CIGCTSBF.js} +31 -1
  58. package/{chunk-TQEKUOTI.js → chunk-CIUZXD5D.js} +12 -12
  59. package/{chunk-EVGU5P4U.js → chunk-CO6E7YK6.js} +1 -1
  60. package/{chunk-VMJVAJ6W.js → chunk-CTIEJRTP.js} +28 -4
  61. package/{chunk-7JGMNKKG.js → chunk-CTWCZKNS.js} +29 -8
  62. package/{chunk-YFLVRVYK.js → chunk-D25ONVOH.js} +1 -1
  63. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  64. package/{chunk-262R3XNN.js → chunk-E5RYFR7E.js} +334 -103
  65. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  66. package/{chunk-HSSBDZLD.js → chunk-EDT65EUE.js} +6 -6
  67. package/{chunk-YVFH2MFB.js → chunk-EQZQUQ33.js} +7 -7
  68. package/{chunk-HBRDSQ3M.js → chunk-ESN4WNWU.js} +3 -2
  69. package/{chunk-2YGBI2XB.js → chunk-FE7G6DSP.js} +11 -1
  70. package/{chunk-547ENH5T.js → chunk-FFFKAOJN.js} +4 -4
  71. package/{chunk-5ZUOVCKT.js → chunk-FGHEF6WI.js} +3 -1
  72. package/{chunk-GAYNXB6T.js → chunk-FTWAOKFU.js} +756 -333
  73. package/chunk-GAHJLSDO.js +107 -0
  74. package/{chunk-2X7WFDT6.js → chunk-GX6DITLQ.js} +1 -1
  75. package/{chunk-HXB4VDGK.js → chunk-HCCQEMTK.js} +28 -28
  76. package/{chunk-CMMI3DAT.js → chunk-HZDK56EK.js} +33 -26
  77. package/{chunk-OTKSESZR.js → chunk-IIOSZAJX.js} +4 -4
  78. package/chunk-IIRJ4P4I.js +24 -0
  79. package/{chunk-OJ45MEEI.js → chunk-IJZC2KIJ.js} +1 -1
  80. package/{chunk-MNEZUL5S.js → chunk-ITBX27W6.js} +92 -31
  81. package/{chunk-LYD6C7OU.js → chunk-J2VIGDJN.js} +6 -6
  82. package/{chunk-M3OZRQNH.js → chunk-JEWMQR6J.js} +1 -1
  83. package/{chunk-6QHKRARD.js → chunk-JFRJEPFI.js} +29 -5
  84. package/{chunk-S6K5F3KP.js → chunk-JP2BH4NC.js} +1 -1
  85. package/{chunk-EGHP7KOY.js → chunk-JU7VN4LF.js} +38 -29
  86. package/{chunk-RTHFJZ6M.js → chunk-K26XPZRB.js} +2 -2
  87. package/{chunk-ZYKJBRZ3.js → chunk-K7VIXYTZ.js} +1 -3
  88. package/chunk-KK3FCYZM.js +647 -0
  89. package/chunk-KLAMJNKQ.js +33394 -0
  90. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  91. package/chunk-KXOPLLFP.js +190 -0
  92. package/{chunk-MZG5CETE.js → chunk-KZ5OD2MO.js} +4 -4
  93. package/{chunk-ILHQ2AXT.js → chunk-KZAT2M2V.js} +14 -8
  94. package/chunk-LHCGKAFO.js +739 -0
  95. package/{chunk-HF7BLF3F.js → chunk-LMGFVH65.js} +107 -104
  96. package/{chunk-QRGDJA4B.js → chunk-LTVEOOZL.js} +19 -6
  97. package/{chunk-L32W3PRP.js → chunk-MAA42MMV.js} +233 -17
  98. package/{chunk-ATEKLSLR.js → chunk-MTM4LRVG.js} +14 -9
  99. package/chunk-MVOZ22RZ.js +26 -0
  100. package/{chunk-U2HBB7RS.js → chunk-MYYNZG2M.js} +132 -32
  101. package/{chunk-DBUR22G5.js → chunk-MZVCFV3T.js} +19 -15
  102. package/{chunk-WCFFRBL5.js → chunk-N74XL3NI.js} +9 -9
  103. package/{chunk-VS276URX.js → chunk-NEG5LYK5.js} +1 -1
  104. package/{chunk-RBPUNSG5.js → chunk-OAZP4TSA.js} +18 -108
  105. package/{chunk-4QYJPWHH.js → chunk-ODBYGVO2.js} +232 -10
  106. package/{chunk-M4SFKP5L.js → chunk-OHUYN3YU.js} +3 -3
  107. package/{chunk-HYLRQDEE.js → chunk-OLGFIQN2.js} +6 -6
  108. package/{chunk-M3JEW6N6.js → chunk-OYUMJMC5.js} +15 -0
  109. package/chunk-P27E22MA.js +203 -0
  110. package/{chunk-BIWI5M4E.js → chunk-PBPXXMWZ.js} +1 -1
  111. package/{chunk-OBSEKCVK.js → chunk-PQ63BDV3.js} +210 -51
  112. package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
  113. package/{chunk-XFXFPUO7.js → chunk-QMNVV3YM.js} +10 -37
  114. package/{chunk-CNMY2XM6.js → chunk-R5NRFXGD.js} +5 -5
  115. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  116. package/{chunk-4WVJLODK.js → chunk-RHBD22LV.js} +9 -4
  117. package/{chunk-45CAVC35.js → chunk-RMWDKLBE.js} +1489 -286
  118. package/{chunk-ZEVQHCLM.js → chunk-RR3MB26M.js} +2 -2
  119. package/{chunk-OOJNQK6V.js → chunk-S25VJYXV.js} +8 -2
  120. package/{chunk-DLXMMTGM.js → chunk-SCMYAGQE.js} +1067 -705
  121. package/{chunk-YKY4OVOX.js → chunk-SPU3L3OR.js} +17 -170
  122. package/chunk-SR4FE5VD.js +9 -0
  123. package/{chunk-DUUDXSLX.js → chunk-SX6AWTNK.js} +28 -4
  124. package/{chunk-ZH3KXFHS.js → chunk-TMRJGSK2.js} +1 -1
  125. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  126. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  127. package/{chunk-UAIHKQIA.js → chunk-U6RD332P.js} +18 -2
  128. package/{chunk-3U44JB3O.js → chunk-UF6J7NXV.js} +1 -1
  129. package/{chunk-5YMA6DDZ.js → chunk-UHW6SCVK.js} +1 -1
  130. package/chunk-UOUMPHS5.js +103 -0
  131. package/{chunk-HHFGE2WF.js → chunk-UPOW5HTG.js} +5 -5
  132. package/{chunk-DEA37IUY.js → chunk-V4IYI3SB.js} +2 -2
  133. package/{chunk-XTJKU3Z4.js → chunk-VKCPKCSS.js} +66 -92
  134. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  135. package/{chunk-OBIC6EG7.js → chunk-VUHKG4KS.js} +3 -3
  136. package/{chunk-EEOOBRA7.js → chunk-W3HSD32M.js} +13 -6
  137. package/{chunk-P2ZLUIW2.js → chunk-W6T4FNZP.js} +351 -26
  138. package/chunk-WDWZPASX.js +29 -0
  139. package/{chunk-R6Z5S5GA.js → chunk-WQDTSK5U.js} +51 -14
  140. package/{chunk-X3E6EHJW.js → chunk-X22AUZKL.js} +149 -165
  141. package/{chunk-4ZGPHFLE.js → chunk-X3OZ655T.js} +2 -2
  142. package/{chunk-RRDRQOEC.js → chunk-XCA4WHX5.js} +95 -77
  143. package/{chunk-TI2EPRHE.js → chunk-XJSEST7D.js} +3 -3
  144. package/{chunk-3QIYD3VM.js → chunk-XNTZD4AE.js} +870 -1068
  145. package/chunk-XSRSAU3O.js +133 -0
  146. package/{chunk-7FEP5USX.js → chunk-Y4NPF2UN.js} +3 -3
  147. package/{chunk-FJSNBZXR.js → chunk-YDRRGVT5.js} +1 -1
  148. package/{chunk-7BCG67EI.js → chunk-YFW4H6DL.js} +405 -338
  149. package/{chunk-JQZRSXS5.js → chunk-YGDYYFRX.js} +9 -13
  150. package/{chunk-4N6G2CKP.js → chunk-YHNUDTU4.js} +49 -3
  151. package/chunk-YJPK35HB.js +175 -0
  152. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  153. package/{chunk-FPBJM2BW.js → chunk-Z7KE4K3H.js} +195 -126
  154. package/{chunk-DGYCDA6W.js → chunk-ZM5AZTQG.js} +20 -13
  155. package/{chunk-CBUZ6DKA.js → chunk-ZQ6K57FJ.js} +1 -1
  156. package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-37ZNEY5Y.js} +9 -9
  157. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  158. package/{cliLocalAgentRecordReader-H3HYQRRR.js → cliLocalAgentRecordReader-MCQVRWBR.js} +58 -47
  159. package/{commandRegistry-FVYPE2IN.js → commandRegistry-NTH5IAN5.js} +104 -92
  160. package/{contentThunks-GNFPG32S.js → contentThunks-SPXTX5U2.js} +38 -36
  161. package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-TIFCHCUN.js} +1 -1
  162. package/{createAgentAutomationAction-PB4QIFQ4.js → createAgentAutomationAction-KUQKCOXB.js} +38 -36
  163. package/{createDialogAction-EVTOPY7A.js → createDialogAction-HJN5U3XS.js} +39 -37
  164. package/{createPageAction-2UYF2IDZ.js → createPageAction-ZAHRDOAU.js} +43 -41
  165. package/{db-M7FU2GNK.js → db-CMUTP3W5.js} +2 -2
  166. package/{dbSlice-XRUZOGSU.js → dbSlice-656PMWR2.js} +13 -12
  167. package/{deleteFile-6URDHYRB.js → deleteFile-ZCQESEEQ.js} +10 -7
  168. package/{dialogCommands-6SZD4TYP.js → dialogCommands-KZTZLWPZ.js} +60 -54
  169. package/dialogMessageRecord-OAV77LT7.js +7 -0
  170. package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-PST75COP.js} +11 -11
  171. package/{dialogSlice-5EQ2A6LY.js → dialogSlice-BXIERQHO.js} +39 -37
  172. package/{dialogUsageCommand-W2WCSGKF.js → dialogUsageCommand-6RW2FY6K.js} +5 -5
  173. package/{docCreateCommands-25E6PGN3.js → docCreateCommands-26HJ5NAY.js} +54 -47
  174. package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-UAOHH5XK.js} +56 -49
  175. package/{docReadCommands-JY2E5XEN.js → docReadCommands-4ADG7YE6.js} +54 -47
  176. package/{docStore-OKKIKLT3.js → docStore-FZ75HWP2.js} +15 -14
  177. package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-OGFJZENF.js} +54 -47
  178. package/fetchMessages-TQEUZD7H.js +1 -1
  179. package/{getPricing-LF5C4XSI.js → getPricing-FCHYVRJU.js} +4 -4
  180. package/{handleSendMessageAction-LNT7SZND.js → handleSendMessageAction-KP6GGBFY.js} +82 -78
  181. package/{hostCredentialCreate-XUU2CSHI.js → hostCredentialCreate-23TX56G7.js} +117 -105
  182. package/index.js +8 -8
  183. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  184. package/{localDialogRead-CCOCVGAP.js → localDialogRead-CIOTQM5T.js} +1 -1
  185. package/{localRuntimeAdapter-IBSTMSX7.js → localRuntimeAdapter-MTUWOYPN.js} +124 -111
  186. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-TYHQCTZN.js} +5 -3
  187. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-BO7IVWAZ.js} +1 -1
  188. package/{machineCommands-HSQHDHOT.js → machineCommands-4WJUJQHW.js} +241 -321
  189. package/{machineWsRunDispatch-L6H7J66T.js → machineWsRunDispatch-V3U4JM67.js} +113 -102
  190. package/markdownToSlate-KIYM7B3P.js +8 -0
  191. package/mcpLocalAuthorizeCommand-TI656UWC.js +106 -0
  192. package/{memberThunks-7Y3OYSJQ.js → memberThunks-JFYC4Z5L.js} +20 -15
  193. package/{models-H5NNZRLH.js → models-EP7VG6N2.js} +2 -2
  194. package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
  195. package/package.json +1 -1
  196. package/{projectArchive-FQO654Z3.js → projectArchive-NU2Z5HOR.js} +45 -43
  197. package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-4H7YP5D7.js} +6 -6
  198. package/{providerRegistry-ZI2KORJ7.js → providerRegistry-F3UPOTIY.js} +6 -6
  199. package/{read-TYMBGEXO.js → read-BRZHXUJ6.js} +9 -8
  200. package/{readDocTool-SKQVHBLO.js → readDocTool-N7RVFQEE.js} +1 -1
  201. package/{readlineWorkspace-7U272DSA.js → readlineWorkspace-T56MRMS5.js} +6423 -3669
  202. package/rememberExplicit-CPAPONSI.js +15 -0
  203. package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-J7XU7OUX.js} +19 -18
  204. package/{runAgentClientLoop-AF4JQIJ7.js → runAgentClientLoop-O2GRCGRZ.js} +96 -76
  205. package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-RDRJXMXC.js} +8 -8
  206. package/{secretCommands-KZWBZIYS.js → secretCommands-2FEMRUFM.js} +3 -3
  207. package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-Q4V2ZZW2.js} +16 -15
  208. package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-742H5S6T.js} +19 -18
  209. package/{settingThunks-ZRGWVGZD.js → settingThunks-T4FXSV6M.js} +185 -66
  210. package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-MDDKPTW3.js} +4 -3
  211. package/{spaceCommands-5VNWMDBE.js → spaceCommands-W5TAVFDT.js} +58 -51
  212. package/{streamAgentChatTurn-YSPEFY4K.js → streamAgentChatTurn-OWDJMU5E.js} +234 -177
  213. package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-HLDLHRRA.js} +17 -16
  214. package/{tableCommands-FTAOCBTX.js → tableCommands-44GC4N6J.js} +8 -5
  215. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  216. package/{tools-M35PTIFB.js → tools-O7SGGVA3.js} +65 -62
  217. package/{tuiRestart-2IL37YIB.js → tuiRestart-EOGC2BYY.js} +10 -10
  218. package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-TM5BU73J.js} +16 -15
  219. package/{updateCommands-CPATDG6J.js → updateCommands-FBYA5WVG.js} +3 -3
  220. package/{updateDialogTitleAction-IMIRJRQQ.js → updateDialogTitleAction-EXSZGTLL.js} +40 -38
  221. package/{usageCommand-2BF74MKF.js → usageCommand-L4OFWXEU.js} +2 -2
  222. package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-7JR33UHS.js} +3 -3
  223. package/webapi-QVV65DQF.js +2487 -0
  224. package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-M4V77OUB.js} +2 -2
  225. package/workContext-Y3ADAPZU.js +14 -0
  226. package/workContextAccess-VU5I4LKZ.js +11 -0
  227. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  228. package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-ZCSQCHG3.js} +2 -2
  229. package/agentRecordCommands-IZYUVHME.js +0 -177
  230. package/chunk-5ZMIIR23.js +0 -265
  231. package/chunk-62HXNQVV.js +0 -134
  232. package/chunk-TUSTONB3.js +0 -81
  233. package/chunk-ZXF6D3I6.js +0 -359
  234. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
  235. /package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
@@ -7,13 +7,13 @@ import {
7
7
  listRemotePublicAgents,
8
8
  normalizeListedAgent,
9
9
  parseAgentListArgs
10
- } from "./chunk-7FEP5USX.js";
10
+ } from "./chunk-Y4NPF2UN.js";
11
11
  import {
12
12
  refreshSubscriptionQuotas
13
- } from "./chunk-TUSTONB3.js";
13
+ } from "./chunk-P27E22MA.js";
14
14
  import {
15
15
  getReadableCliDb
16
- } from "./chunk-YFLVRVYK.js";
16
+ } from "./chunk-D25ONVOH.js";
17
17
  import {
18
18
  applyCredentialAvailability,
19
19
  clearCredentialAvailabilityIfMarkedAt,
@@ -23,11 +23,13 @@ import {
23
23
  import {
24
24
  buildAgentDiscoveryResult,
25
25
  injectSpeedContextIntoListAgentsResult,
26
+ isLocalDispatchSpeedSource,
27
+ isServerDispatchSpeedSource,
26
28
  matchesAgentQuery,
27
29
  resolvePaginationArgs,
28
30
  summarizeCredentialGroups,
29
31
  toDiscoverySafeAgentSummary
30
- } from "./chunk-RRDRQOEC.js";
32
+ } from "./chunk-XCA4WHX5.js";
31
33
  import "./chunk-AMWMV56B.js";
32
34
  import {
33
35
  buildSpaceLookup,
@@ -35,40 +37,34 @@ import {
35
37
  } from "./chunk-ID4G2MAR.js";
36
38
  import {
37
39
  readLiveDbRecordAfterTombstoneMerge
38
- } from "./chunk-M3OZRQNH.js";
40
+ } from "./chunk-JEWMQR6J.js";
39
41
  import {
40
42
  queryUserRecords,
41
43
  readDbRecord
42
- } from "./chunk-TQEKUOTI.js";
43
- import "./chunk-5ZUOVCKT.js";
44
+ } from "./chunk-CIUZXD5D.js";
45
+ import "./chunk-FGHEF6WI.js";
46
+ import {
47
+ listRecentRunRecords
48
+ } from "./chunk-AEZBAFC6.js";
49
+ import "./chunk-S25VJYXV.js";
44
50
  import "./chunk-UEILX4EV.js";
45
51
  import "./chunk-GBWGPTA7.js";
46
- import {
47
- listRunRecords
48
- } from "./chunk-OWKNSIXL.js";
49
- import "./chunk-2X7WFDT6.js";
50
- import "./chunk-OOJNQK6V.js";
51
- import "./chunk-BV3FLP2L.js";
52
- import "./chunk-OJ45MEEI.js";
53
- import "./chunk-BR3GT6MR.js";
54
- import "./chunk-3QIYD3VM.js";
52
+ import "./chunk-IJZC2KIJ.js";
53
+ import "./chunk-XNTZD4AE.js";
54
+ import "./chunk-LHCGKAFO.js";
55
55
  import "./chunk-ZNFJWEN4.js";
56
- import "./chunk-U2HBB7RS.js";
57
- import "./chunk-PWTNI4N7.js";
56
+ import "./chunk-MYYNZG2M.js";
57
+ import "./chunk-ANUP75N2.js";
58
58
  import "./chunk-AL3TYDIF.js";
59
- import "./chunk-HSSBDZLD.js";
59
+ import "./chunk-EDT65EUE.js";
60
60
  import "./chunk-HNUWUO75.js";
61
61
  import "./chunk-CHOZJMJS.js";
62
- import "./chunk-XAG3FWBE.js";
63
- import "./chunk-LKA64WH4.js";
64
- import "./chunk-BYXBJQAS.js";
65
- import "./chunk-DUUDXSLX.js";
66
- import "./chunk-QYB23WUH.js";
62
+ import "./chunk-4OXPN3WC.js";
63
+ import "./chunk-2FK2KZSL.js";
67
64
  import "./chunk-56GBUMO5.js";
68
- import "./chunk-FPBJM2BW.js";
69
- import "./chunk-EEOOBRA7.js";
70
- import "./chunk-X4O7FJF5.js";
71
- import "./chunk-MNEZUL5S.js";
65
+ import "./chunk-Z7KE4K3H.js";
66
+ import "./chunk-ITBX27W6.js";
67
+ import "./chunk-KXOPLLFP.js";
72
68
  import {
73
69
  DEFAULT_PROVIDER_RETRY_MS,
74
70
  formatQuotaSummary,
@@ -78,43 +74,55 @@ import {
78
74
  resolveCredentialKeyWithFallback,
79
75
  shouldClearCooldownFromQuota
80
76
  } from "./chunk-QJTZ76CP.js";
81
- import "./chunk-VS276URX.js";
77
+ import "./chunk-W3HSD32M.js";
78
+ import "./chunk-X4O7FJF5.js";
79
+ import "./chunk-DMPZMYH4.js";
80
+ import "./chunk-BYXBJQAS.js";
81
+ import "./chunk-SX6AWTNK.js";
82
82
  import "./chunk-TLE77UJ5.js";
83
- import "./chunk-OBIC6EG7.js";
84
83
  import "./chunk-WFGNWWJI.js";
85
- import "./chunk-FJSNBZXR.js";
84
+ import "./chunk-VUHKG4KS.js";
85
+ import "./chunk-YDRRGVT5.js";
86
86
  import "./chunk-2MBTWINN.js";
87
- import "./chunk-QRGDJA4B.js";
87
+ import "./chunk-LTVEOOZL.js";
88
88
  import "./chunk-5ZUL4CUO.js";
89
- import "./chunk-L32W3PRP.js";
89
+ import "./chunk-MAA42MMV.js";
90
90
  import "./chunk-H57T64RA.js";
91
91
  import "./chunk-UKZX3NHN.js";
92
+ import "./chunk-SR4FE5VD.js";
92
93
  import "./chunk-5MMAK75Q.js";
93
94
  import "./chunk-USGHJSGO.js";
95
+ import "./chunk-E6A5NHDH.js";
94
96
  import "./chunk-KX6YBIHG.js";
95
- import "./chunk-OQHIVPG4.js";
96
- import "./chunk-DWLEOOGR.js";
97
- import "./chunk-7DPNBQSV.js";
98
- import "./chunk-OW765XBU.js";
99
- import "./chunk-VMJVAJ6W.js";
97
+ import "./chunk-CTIEJRTP.js";
100
98
  import "./chunk-EWQ3HGNZ.js";
101
99
  import "./chunk-PSCNXBYA.js";
100
+ import "./chunk-DWLEOOGR.js";
101
+ import "./chunk-OW765XBU.js";
102
+ import "./chunk-7DPNBQSV.js";
103
+ import "./chunk-5HUO7SEX.js";
104
+ import "./chunk-YGDYYFRX.js";
105
+ import "./chunk-2SXN7LAY.js";
102
106
  import "./chunk-G7Y4GXTY.js";
103
107
  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";
108
+ import "./chunk-BV3FLP2L.js";
109
+ import "./chunk-4ZCTKB27.js";
110
+ import "./chunk-6MTVACLN.js";
111
+ import "./chunk-AETZ7AD6.js";
112
+ import "./chunk-CO6E7YK6.js";
113
+ import "./chunk-KHCLMKZZ.js";
110
114
  import "./chunk-SYTHYBMI.js";
111
115
  import "./chunk-OJKUU3LP.js";
112
116
  import "./chunk-YZMNK53S.js";
117
+ import "./chunk-UPOW5HTG.js";
118
+ import "./chunk-BR3GT6MR.js";
119
+ import "./chunk-NEG5LYK5.js";
120
+ import "./chunk-GX6DITLQ.js";
121
+ import "./chunk-YLAHYLDQ.js";
122
+ import "./chunk-KZAT2M2V.js";
123
+ import "./chunk-M2EJHDJP.js";
113
124
  import "./chunk-I42VC5KR.js";
114
125
  import "./chunk-U6VC4MU4.js";
115
- import "./chunk-42OKN2LI.js";
116
- import "./chunk-JQZRSXS5.js";
117
- import "./chunk-KHCLMKZZ.js";
118
126
  import {
119
127
  parseUserIdFromAuthToken,
120
128
  readOption,
@@ -127,39 +135,26 @@ import "./chunk-LCBAMY2M.js";
127
135
  import "./chunk-4O22PGNQ.js";
128
136
  import {
129
137
  t
130
- } from "./chunk-262R3XNN.js";
131
- import "./chunk-62HXNQVV.js";
132
- import "./chunk-7JGMNKKG.js";
133
- import "./chunk-RTHFJZ6M.js";
134
- import "./chunk-HBRDSQ3M.js";
138
+ } from "./chunk-E5RYFR7E.js";
139
+ import "./chunk-6ASGEP5D.js";
140
+ import "./chunk-CTWCZKNS.js";
135
141
  import {
136
142
  toErrorMessage
137
143
  } from "./chunk-HNMXYYJR.js";
144
+ import "./chunk-K26XPZRB.js";
145
+ import "./chunk-ESN4WNWU.js";
138
146
  import "./chunk-3EUW3WEO.js";
139
- import "./chunk-CD3RU7XL.js";
147
+ import "./chunk-WWC7I6TA.js";
148
+ import "./chunk-CD2DK5JA.js";
140
149
  import "./chunk-JRTNUU5Z.js";
141
150
  import "./chunk-KUG52IAP.js";
142
- import "./chunk-WWC7I6TA.js";
143
151
  import "./chunk-G3SUCT4W.js";
144
152
  import "./chunk-4SN6J65J.js";
145
153
  import "./chunk-CF7PE763.js";
146
- import "./chunk-OBSEKCVK.js";
154
+ import "./chunk-PQ63BDV3.js";
147
155
  import "./chunk-QSJ3HFEF.js";
148
156
  import "./chunk-U67V476Y.js";
149
157
 
150
- // packages/ai/agent/dispatchSpeedProvenance.ts
151
- var record = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : {};
152
- function isServerDispatchSpeedSource(value, dialogId, userId) {
153
- const dialog = record(value);
154
- const proof = record(dialog.dispatchSpeedProvenance);
155
- return proof.version === 1 && proof.source === "server-startAgentRun" && proof.userId === userId && record(dialog.runtimeBinding).tenantUserId === userId && dialog.id === dialogId;
156
- }
157
- function isLocalDispatchSpeedSource(value, dialogId, userId) {
158
- const run = record(value);
159
- const proof = record(run.dispatchSpeedProvenance);
160
- 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;
161
- }
162
-
163
158
  // packages/cli/agentListCommands.ts
164
159
  var createCliDispatchSampleDb = (db, userId, env) => {
165
160
  let localDialogs;
@@ -167,7 +162,7 @@ var createCliDispatchSampleDb = (db, userId, env) => {
167
162
  iterator: (options) => db.iterator(options),
168
163
  isDispatchRun: async (dialogId, entryPath) => {
169
164
  if (entryPath === "cli-local") {
170
- localDialogs ??= new Set(listRunRecords({ env }).filter(
165
+ localDialogs ??= new Set(listRecentRunRecords({ env, limit: 400 }).filter(
171
166
  (run) => typeof run.dialogId === "string" && isLocalDispatchSpeedSource(run, run.dialogId, userId)
172
167
  ).map((run) => run.dialogId));
173
168
  return localDialogs.has(dialogId);
@@ -219,43 +214,12 @@ async function runAgentListCommand(args, deps = {}) {
219
214
  output.write("[nolo] agent list could not read userId from AUTH_TOKEN.\n");
220
215
  return 1;
221
216
  }
217
+ const forceQuotaRefresh = args.includes("--refresh-quota");
222
218
  const fetchImpl = deps.fetchImpl ?? fetch;
223
219
  const fallbackFetchImpl = deps.fallbackFetchImpl;
224
220
  const serverUrl = resolveServerUrl(args, env);
225
221
  const serverUrls = resolveServerCandidates(args, env, serverUrl);
226
222
  try {
227
- let agents;
228
- let source;
229
- let serverFailures = [];
230
- try {
231
- const remoteResult = await listRemoteAgentsAcrossServers({
232
- authToken,
233
- fallbackFetchImpl,
234
- fetchImpl,
235
- serverUrls,
236
- userId
237
- });
238
- agents = remoteResult.agents;
239
- serverFailures = remoteResult.failures;
240
- source = "global-cache";
241
- } catch {
242
- try {
243
- const db = deps.db ?? await getReadableCliDb(output);
244
- agents = await listLocalCachedAgents({ db, userId });
245
- source = "local-cache";
246
- } catch {
247
- agents = await listRemoteAgents({
248
- authToken,
249
- fallbackFetchImpl,
250
- fetchImpl,
251
- serverUrl,
252
- userId,
253
- queryUserRecords,
254
- readDbRecord
255
- });
256
- source = "remote-cache";
257
- }
258
- }
259
223
  const pagination = resolvePaginationArgs({ limit, offset });
260
224
  const hasQuery = Boolean(query && typeof query === "string" && query.trim());
261
225
  const MAX_UPSTREAM_CEILING = 2e3;
@@ -263,16 +227,75 @@ async function runAgentListCommand(args, deps = {}) {
263
227
  MAX_UPSTREAM_CEILING,
264
228
  hasQuery ? MAX_UPSTREAM_CEILING : Math.max(500, (pagination.offset ?? 0) + (pagination.limit ?? 100))
265
229
  );
230
+ const ownAgentsPromise = (async () => {
231
+ try {
232
+ const remoteResult = await listRemoteAgentsAcrossServers({
233
+ authToken,
234
+ fallbackFetchImpl,
235
+ fetchImpl,
236
+ serverUrls,
237
+ userId
238
+ });
239
+ return {
240
+ agents: remoteResult.agents,
241
+ serverFailures: remoteResult.failures,
242
+ source: "global-cache"
243
+ };
244
+ } catch {
245
+ try {
246
+ const db = deps.db ?? await getReadableCliDb(output);
247
+ return {
248
+ agents: await listLocalCachedAgents({ db, userId }),
249
+ serverFailures: [],
250
+ source: "local-cache"
251
+ };
252
+ } catch {
253
+ return {
254
+ agents: await listRemoteAgents({
255
+ authToken,
256
+ fallbackFetchImpl,
257
+ fetchImpl,
258
+ serverUrl,
259
+ userId,
260
+ queryUserRecords,
261
+ readDbRecord
262
+ }),
263
+ serverFailures: [],
264
+ source: "remote-cache"
265
+ };
266
+ }
267
+ }
268
+ })();
269
+ const publicResultsPromise = scope !== "preferred" ? Promise.all(serverUrls.map((url) => listRemotePublicAgents({
270
+ authToken,
271
+ fetchImpl,
272
+ serverUrl: url,
273
+ limit: upstreamLimit,
274
+ query: hasQuery ? query : void 0
275
+ }))) : void 0;
276
+ const spaceLookup = spaceInput ? buildSpaceLookup(spaceInput) : null;
277
+ const spaceReadPromise = spaceLookup ? readLiveDbRecordAfterTombstoneMerge({
278
+ authToken,
279
+ dbKey: spaceLookup.spaceKey,
280
+ fallbackFetchImpl,
281
+ fetchImpl,
282
+ serverUrls
283
+ }) : void 0;
284
+ const favoritesPromise = wantSafe && !idsOnly ? listFavoriteAgentIdsAcrossServers({
285
+ authToken,
286
+ fetchImpl,
287
+ serverUrls
288
+ }).catch(() => ({})) : void 0;
289
+ const [ownResult, publicResults, spaceRead] = await Promise.all([
290
+ ownAgentsPromise,
291
+ publicResultsPromise ?? Promise.resolve(void 0),
292
+ spaceReadPromise ?? Promise.resolve(void 0)
293
+ ]);
294
+ let { agents, source, serverFailures } = ownResult;
266
295
  let cliUpstreamTruncated = false;
267
296
  let cliUpstreamTotal;
268
- if (scope !== "preferred") {
269
- const publicResults = await Promise.all(serverUrls.map((url) => listRemotePublicAgents({
270
- authToken,
271
- fetchImpl,
272
- serverUrl: url,
273
- limit: upstreamLimit,
274
- query: hasQuery ? query : void 0
275
- })));
297
+ const publicCatalogAgents = /* @__PURE__ */ new Set();
298
+ if (publicResults) {
276
299
  const publicAgents = publicResults.flatMap((r) => r.agents);
277
300
  for (const r of publicResults) {
278
301
  if (r.truncated) cliUpstreamTruncated = true;
@@ -285,32 +308,24 @@ async function runAgentListCommand(args, deps = {}) {
285
308
  for (const agent of agents) {
286
309
  if (agent.publicKey) seenPublicKeys.add(agent.publicKey);
287
310
  }
288
- agents = [
289
- ...agents,
290
- ...publicAgents.filter((agent) => {
291
- if (!agent.publicKey) return true;
292
- if (seenPublicKeys.has(agent.publicKey)) return false;
293
- seenPublicKeys.add(agent.publicKey);
294
- return true;
295
- })
296
- ];
311
+ const addedPublicAgents = publicAgents.filter((agent) => {
312
+ if (!agent.publicKey) return true;
313
+ if (seenPublicKeys.has(agent.publicKey)) return false;
314
+ seenPublicKeys.add(agent.publicKey);
315
+ return true;
316
+ });
317
+ for (const agent of addedPublicAgents) publicCatalogAgents.add(agent);
318
+ agents = [...agents, ...addedPublicAgents];
297
319
  } else {
320
+ for (const agent of publicAgents) publicCatalogAgents.add(agent);
298
321
  agents = publicAgents;
299
322
  }
300
323
  }
301
324
  agents = agents.filter((agent) => agent.privateKey.startsWith("agent-"));
302
325
  let resolvedSpaceId = null;
303
326
  let spaceContentKeys = null;
304
- if (spaceInput) {
305
- const { spaceId, spaceKey } = buildSpaceLookup(spaceInput);
306
- resolvedSpaceId = spaceId;
307
- const spaceRead = await readLiveDbRecordAfterTombstoneMerge({
308
- authToken,
309
- dbKey: spaceKey,
310
- fallbackFetchImpl,
311
- fetchImpl,
312
- serverUrls
313
- });
327
+ if (spaceLookup && spaceRead) {
328
+ resolvedSpaceId = spaceLookup.spaceId;
314
329
  serverFailures = [...serverFailures, ...spaceRead.failures];
315
330
  const spaceRecord = spaceRead.record;
316
331
  const currentSpaceContentKeys = getSpaceContentKeys(spaceRecord);
@@ -319,9 +334,10 @@ async function runAgentListCommand(args, deps = {}) {
319
334
  (agent) => currentSpaceContentKeys.has(agent.privateKey) || currentSpaceContentKeys.has(agent.publicKey) || currentSpaceContentKeys.has(agent.id)
320
335
  );
321
336
  }
322
- if (source === "global-cache") {
337
+ const decorateTargets = source === "global-cache" ? agents.filter((agent) => !publicCatalogAgents.has(agent)) : [];
338
+ if (publicOnly && decorateTargets.length > 0) {
323
339
  await decorateAgentsWithPublicStatusAcrossServers({
324
- agents,
340
+ agents: decorateTargets,
325
341
  authToken,
326
342
  fallbackFetchImpl,
327
343
  fetchImpl,
@@ -344,17 +360,28 @@ async function runAgentListCommand(args, deps = {}) {
344
360
  const refreshCandidates = !idsOnly ? [.../* @__PURE__ */ new Set([...agentsForOutput, ...agents.filter(
345
361
  (agent) => !agentsForOutput.includes(agent) && isAgentUnavailableNow(agent) && agent.credentialConfigured === true && (!query || !String(query).trim() || matchesAgentQuery(agent, query))
346
362
  )])] : agentsForOutput;
363
+ const decoratePromise = !publicOnly && decorateTargets.length > 0 ? decorateAgentsWithPublicStatusAcrossServers({
364
+ agents: decorateTargets,
365
+ authToken,
366
+ fallbackFetchImpl,
367
+ fetchImpl,
368
+ serverUrls
369
+ }) : Promise.resolve();
347
370
  if (!idsOnly) {
348
- const fresh = await refreshSubscriptionQuotas({
349
- entries: refreshCandidates.map((agent) => ({
350
- key: agent.privateKey,
351
- ...agent.quota ? { quota: agent.quota } : {},
352
- probeable: agent.credentialConfigured === true
353
- })),
354
- env,
355
- cliArgs: args,
356
- fetchImpl
357
- });
371
+ const [, fresh] = await Promise.all([
372
+ decoratePromise,
373
+ refreshSubscriptionQuotas({
374
+ entries: refreshCandidates.map((agent) => ({
375
+ key: agent.privateKey,
376
+ ...agent.quota ? { quota: agent.quota } : {},
377
+ probeable: agent.credentialConfigured === true
378
+ })),
379
+ forceRefresh: forceQuotaRefresh,
380
+ env,
381
+ cliArgs: args,
382
+ fetchImpl
383
+ })
384
+ ]);
358
385
  const now = Date.now();
359
386
  for (const agent of refreshCandidates) {
360
387
  const quota = fresh[agent.privateKey];
@@ -396,6 +423,8 @@ async function runAgentListCommand(args, deps = {}) {
396
423
  }
397
424
  }
398
425
  unavailableCount = agents.filter((agent) => isAgentUnavailableNow(agent)).length;
426
+ } else {
427
+ await decoratePromise;
399
428
  }
400
429
  const totalCount = agentsForOutput.length;
401
430
  const pagedAgents = typeof pagination.limit === "number" || typeof pagination.offset === "number" ? agentsForOutput.slice(
@@ -408,11 +437,7 @@ async function runAgentListCommand(args, deps = {}) {
408
437
  return 0;
409
438
  }
410
439
  if (wantSafe) {
411
- const favoritesMap = await listFavoriteAgentIdsAcrossServers({
412
- authToken,
413
- fetchImpl,
414
- serverUrls
415
- }).catch(() => ({}));
440
+ const favoritesMap = await (favoritesPromise ?? Promise.resolve({}));
416
441
  const existingKeys = /* @__PURE__ */ new Set();
417
442
  for (const agent of agents) {
418
443
  existingKeys.add(agent.privateKey);
@@ -421,40 +446,46 @@ async function runAgentListCommand(args, deps = {}) {
421
446
  }
422
447
  const extraFavoriteRecords = [];
423
448
  const hydratedFavoriteAgents = [];
424
- for (const favKey of Object.keys(favoritesMap)) {
425
- if (existingKeys.has(favKey)) continue;
426
- try {
427
- const favRead = await readLiveDbRecordAfterTombstoneMerge({
428
- authToken,
429
- dbKey: favKey,
430
- fallbackFetchImpl,
431
- fetchImpl,
432
- serverUrls
433
- });
434
- const record2 = favRead.record;
435
- if (!record2 || record2.type && record2.type !== "agent") continue;
436
- const norm = normalizeListedAgent(record2);
437
- const candidateKeys = [record2.dbKey, record2.publicKey, record2.id].filter((key) => typeof key === "string" && key.length > 0);
438
- if (spaceContentKeys && !candidateKeys.some((key) => spaceContentKeys?.has(key))) {
439
- continue;
449
+ const missingFavKeys = Object.keys(favoritesMap).filter((favKey) => !existingKeys.has(favKey));
450
+ const favReads = await Promise.all(
451
+ missingFavKeys.map(async (favKey) => {
452
+ try {
453
+ const favRead = await readLiveDbRecordAfterTombstoneMerge({
454
+ authToken,
455
+ dbKey: favKey,
456
+ fallbackFetchImpl,
457
+ fetchImpl,
458
+ serverUrls
459
+ });
460
+ return { favKey, record: favRead.record };
461
+ } catch {
462
+ return { favKey, record: null };
440
463
  }
441
- if (norm) {
442
- if (!favKey.startsWith("agent-pub-")) {
443
- norm.verifiedAgentKey = favKey;
444
- if (typeof record2.userId === "string" && record2.userId) {
445
- norm.ownerId = record2.userId;
446
- }
464
+ })
465
+ );
466
+ for (const { favKey, record } of favReads) {
467
+ if (existingKeys.has(favKey)) continue;
468
+ if (!record || record.type && record.type !== "agent") continue;
469
+ const norm = normalizeListedAgent(record);
470
+ const candidateKeys = [record.dbKey, record.publicKey, record.id].filter((key) => typeof key === "string" && key.length > 0);
471
+ if (spaceContentKeys && !candidateKeys.some((key) => spaceContentKeys?.has(key))) {
472
+ continue;
473
+ }
474
+ if (norm) {
475
+ if (!favKey.startsWith("agent-pub-")) {
476
+ norm.verifiedAgentKey = favKey;
477
+ if (typeof record.userId === "string" && record.userId) {
478
+ norm.ownerId = record.userId;
447
479
  }
448
- agents.push(norm);
449
- hydratedFavoriteAgents.push(norm);
450
- existingKeys.add(norm.privateKey);
451
- existingKeys.add(norm.publicKey);
452
- existingKeys.add(norm.id);
453
- } else {
454
- extraFavoriteRecords.push(record2);
455
- for (const key of candidateKeys) existingKeys.add(key);
456
480
  }
457
- } catch {
481
+ agents.push(norm);
482
+ hydratedFavoriteAgents.push(norm);
483
+ existingKeys.add(norm.privateKey);
484
+ existingKeys.add(norm.publicKey);
485
+ existingKeys.add(norm.id);
486
+ } else {
487
+ extraFavoriteRecords.push(record);
488
+ for (const key of candidateKeys) existingKeys.add(key);
458
489
  }
459
490
  }
460
491
  if (source === "global-cache" && hydratedFavoriteAgents.length > 0) {
@@ -466,7 +497,7 @@ async function runAgentListCommand(args, deps = {}) {
466
497
  serverUrls
467
498
  });
468
499
  }
469
- const safeRecords = [...agents, ...extraFavoriteRecords].map((record2) => toDiscoverySafeAgentSummary(record2, { favoritesMap, userId })).filter((agent) => publicOnly ? agent.isPublic === true : true);
500
+ const safeRecords = [...agents, ...extraFavoriteRecords].map((record) => toDiscoverySafeAgentSummary(record, { favoritesMap, userId })).filter((agent) => publicOnly ? agent.isPublic === true : true);
470
501
  const discovery = buildAgentDiscoveryResult({
471
502
  agents: safeRecords,
472
503
  caller: planningCaller,