nolo-cli 0.259.0-alpha.1 → 0.261.0-alpha.1

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 (320) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-PODMRXJJ.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-NJTYNXXR.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-RUPXLROG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-57EJ2UBC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-DRFCOTYP.js} +185 -147
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-FHENHUBF.js} +143 -127
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-BMVKNYIY.js} +9 -6
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-W66W5K3V.js} +88 -69
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-C3BUBCXU.js} +69 -60
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-VIWKP7DM.js} +11 -8
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-5SNSXOY7.js} +10 -7
  14. package/agentRecordCommands-DYMHWTID.js +210 -0
  15. package/agentRun-QVFG3CI4.js +250 -0
  16. package/agentRunCommand-YV4V5HSL.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-RGBHKPKJ.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-LVEMOYS2.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-OJCM7OUX.js} +15 -18
  20. package/appConfigCommands-ZUXQLE7L.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-L5UKUMXY.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-KX2BRQUW.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-7LHRSWW7.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-F7SDFCUK.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-U4NJKSMZ.js} +74 -58
  26. package/appMigrateCommands-JAPOLYSW.js +230 -0
  27. package/appSourceCommands-TLXPWXUH.js +279 -0
  28. package/authCommand-AU3GZBZ2.js +65 -0
  29. package/{authCommands-T5FODCEG.js → authCommands-JKBWMUQ4.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-F47WYQWF.js} +68 -18
  32. package/{chunk-5YS6QHGT.js → chunk-2FGFY72B.js} +9 -9
  33. package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
  34. package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
  35. package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
  36. package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
  37. package/chunk-35JIFLIG.js +30 -0
  38. package/{chunk-7OVOZRZF.js → chunk-3B7OTHDW.js} +23 -379
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-XNNBXUEM.js → chunk-3TII7WCF.js} +5 -5
  42. package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
  43. package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
  44. package/chunk-4IVMDQBA.js +261 -0
  45. package/chunk-4Y6CZ2N4.js +82 -0
  46. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  47. package/{chunk-KQHEGELM.js → chunk-63G7JWEA.js} +16 -6
  48. package/{chunk-4EACJPZI.js → chunk-6BBXJGIQ.js} +51 -42
  49. package/chunk-72VWN4VK.js +51 -0
  50. package/chunk-7LR2IFUH.js +100 -0
  51. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  52. package/{chunk-XPETQ4MR.js → chunk-7X4BFUJV.js} +24 -10
  53. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  54. package/chunk-A4O76A6V.js +432 -0
  55. package/chunk-AMNZPQCY.js +635 -0
  56. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  57. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  58. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  59. package/{chunk-U6QNVOR5.js → chunk-BUGLH2A7.js} +130 -6
  60. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  61. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  62. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  63. package/{chunk-Y2TCTNUD.js → chunk-CK2LMTYO.js} +4 -4
  64. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  65. package/{chunk-57V4PADY.js → chunk-CNYPQYXT.js} +781 -449
  66. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  67. package/chunk-D3ONA3FP.js +762 -0
  68. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  69. package/chunk-DLXL4NSL.js +1179 -0
  70. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  71. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  72. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  73. package/{chunk-DBJODIZ6.js → chunk-EQOWWSNQ.js} +19 -27
  74. package/chunk-ER6NTALN.js +34 -0
  75. package/{chunk-L4XST72F.js → chunk-ERCSHBUD.js} +16027 -17392
  76. package/chunk-EUHMI5KG.js +101 -0
  77. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  78. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  79. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  80. package/chunk-FI4DPLR7.js +902 -0
  81. package/{chunk-HDKMVYNJ.js → chunk-FNLT7NKG.js} +7 -11
  82. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  83. package/chunk-FP46RAJQ.js +58 -0
  84. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  85. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  86. package/{chunk-FZENZCIA.js → chunk-GEC4CHS2.js} +19 -12
  87. package/chunk-GF4LYNNZ.js +25 -0
  88. package/{chunk-IYLUK67R.js → chunk-GH6SS2DZ.js} +25 -8
  89. package/chunk-HAZ6UVH4.js +368 -0
  90. package/{chunk-OKAXQFON.js → chunk-HB4J5HA6.js} +4 -4
  91. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  92. package/chunk-HJTI7RZV.js +94 -0
  93. package/{chunk-HQUGB2HM.js → chunk-HMFKYZKP.js} +62 -50
  94. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  95. package/{chunk-46FETNLF.js → chunk-IN4B6Z2D.js} +7 -6
  96. package/chunk-IV6VUVLJ.js +88 -0
  97. package/{chunk-LLUBUHNT.js → chunk-IWWJSSST.js} +5 -9
  98. package/{chunk-7BIJFGKS.js → chunk-J22PFCQN.js} +106 -52
  99. package/chunk-J42X32PV.js +472 -0
  100. package/{chunk-LCBAMY2M.js → chunk-JKVOKKMQ.js} +0 -7
  101. package/{chunk-KT7S7ANZ.js → chunk-JPYOHIHX.js} +9 -9
  102. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  103. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  104. package/{chunk-KLMBM6P6.js → chunk-KALCFXQO.js} +2454 -1115
  105. package/chunk-KDDXC2IH.js +148 -0
  106. package/chunk-KGKTN2NX.js +25 -0
  107. package/chunk-KGWE224L.js +246 -0
  108. package/{chunk-OYUMJMC5.js → chunk-KSV6T4AH.js} +6 -1
  109. package/{chunk-P27E22MA.js → chunk-L43DGEPZ.js} +1 -1
  110. package/{chunk-5BIDJVNX.js → chunk-L45P4JTE.js} +180 -31
  111. package/chunk-LHCIIUCX.js +222 -0
  112. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  113. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  114. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  115. package/{chunk-BIDSIRTS.js → chunk-LTCZOOAM.js} +11 -17
  116. package/chunk-LUTSMSIL.js +425 -0
  117. package/chunk-LXP53WGF.js +168 -0
  118. package/{chunk-2CT2J3O6.js → chunk-M7VNNPVX.js} +2493 -4055
  119. package/chunk-MDAYRIP7.js +1889 -0
  120. package/{chunk-6B2OBX5B.js → chunk-MMXHIHJZ.js} +15 -47
  121. package/{chunk-HPDLPEUG.js → chunk-MPWQI36J.js} +267 -234
  122. package/chunk-MRACVEPZ.js +7 -0
  123. package/{chunk-ZYPXOQS2.js → chunk-MSFKHPA6.js} +1 -1
  124. package/chunk-NHLLXINQ.js +8 -0
  125. package/{chunk-QXTEEEIN.js → chunk-NJCTPWJU.js} +8 -8
  126. package/chunk-NLS7F5DW.js +1697 -0
  127. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  128. package/{chunk-JLZJL3WC.js → chunk-O77F26YB.js} +370 -39
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-YN23INFZ.js → chunk-OIOMBPCA.js} +23 -2
  131. package/{chunk-CJOOF4L5.js → chunk-OSZNERNW.js} +17 -14
  132. package/{chunk-JZO7KUF3.js → chunk-P4I55ASV.js} +313 -275
  133. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  134. package/chunk-PL5RKESU.js +40 -0
  135. package/chunk-Q5FJJ6XI.js +103 -0
  136. package/{chunk-WS36XPJD.js → chunk-Q5IXZF3S.js} +82 -6
  137. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  138. package/{chunk-WSLL7VV4.js → chunk-QXWXRBOL.js} +9 -9
  139. package/{chunk-MXA54TQM.js → chunk-QZYQ3Y3G.js} +1 -1
  140. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  141. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  142. package/chunk-RF576RYE.js +117 -0
  143. package/chunk-RI7SXDJW.js +1317 -0
  144. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  145. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  146. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  147. package/{chunk-J55F3IEZ.js → chunk-SARJZIGR.js} +1 -1
  148. package/chunk-SJFL32RD.js +356 -0
  149. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  150. package/{chunk-MPGR4ZNR.js → chunk-SRVLHMES.js} +46 -42
  151. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  152. package/{chunk-RD3QLZQV.js → chunk-SWJRX4M5.js} +324 -2
  153. package/{chunk-R3TUHCSJ.js → chunk-T3Y2NA4H.js} +8 -3
  154. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  155. package/{chunk-KWNVPY6M.js → chunk-TJXO66M2.js} +8 -5
  156. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  157. package/{chunk-ADYWV732.js → chunk-U5PSCTMR.js} +264 -177
  158. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  159. package/{chunk-QGFLVQ6E.js → chunk-UBOTXA3Z.js} +4 -14
  160. package/{chunk-6YX2RAQN.js → chunk-UEZL3RBG.js} +89 -164
  161. package/{chunk-NCFKHYDM.js → chunk-UJL23HBL.js} +774 -119
  162. package/chunk-ULPU4C43.js +1710 -0
  163. package/{chunk-UA3QTA2S.js → chunk-VC3MAT33.js} +4442 -2570
  164. package/{chunk-VNHZJEQN.js → chunk-VCESLFF4.js} +3 -3
  165. package/chunk-VOO3YQQP.js +17157 -0
  166. package/{chunk-Y2GWUBNS.js → chunk-VZDSNDUD.js} +279 -149
  167. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  168. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  169. package/chunk-WEEB2JKA.js +443 -0
  170. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  171. package/chunk-WMBJDXMY.js +408 -0
  172. package/chunk-WSQLCWLQ.js +201 -0
  173. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  174. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  175. package/{chunk-MNFUKRRU.js → chunk-XKNDVHF5.js} +7 -7
  176. package/{chunk-MHKPUGPD.js → chunk-XREMPMNK.js} +20 -4
  177. package/chunk-XT6C2QZW.js +46 -0
  178. package/chunk-XUDXQT7R.js +790 -0
  179. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  180. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  181. package/{chunk-U35UUM5K.js → chunk-YVOUSIIA.js} +1 -1
  182. package/{chunk-6VEO7Z3Y.js → chunk-Z27AH6A5.js} +6 -6
  183. package/chunk-Z3KTXWWB.js +76 -0
  184. package/{chunk-UWWOWTW2.js → chunk-Z7EP5HDL.js} +1 -1
  185. package/{chunk-YFEK7ACQ.js → chunk-ZB2E724W.js} +4 -4
  186. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  187. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  188. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-BJJEXHSZ.js} +20 -14
  189. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  190. package/cliAuthorityBrokerProcess-VIJEKQSX.js +34 -0
  191. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-NDMKN4X2.js} +6 -3
  192. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  193. package/cliLocalAgentRecordReader-KCZS2MZU.js +113 -0
  194. package/cloudAutomationCommands-2WQUGQSW.js +310 -0
  195. package/{commandRegistry-IFYQLPGM.js → commandRegistry-C64JBZJ3.js} +288 -121
  196. package/{contentThunks-QCFCD2X3.js → contentThunks-G3HEIRXC.js} +45 -43
  197. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  198. package/createAgentAutomationAction-DSBL3X3A.js +172 -0
  199. package/createDialogAction-OHFUHC53.js +86 -0
  200. package/{createPageAction-QCVBMP4C.js → createPageAction-E6JZSZLU.js} +49 -45
  201. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  202. package/{dbSlice-RWPSVHBC.js → dbSlice-U3GPLEL3.js} +21 -16
  203. package/deleteDbKey-DRXKWJX5.js +86 -0
  204. package/{dialogCommands-4IEQUALS.js → dialogCommands-4EX2OTIC.js} +80 -66
  205. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  206. package/dialogNotifyCommand-4SCE2Z2R.js +44 -0
  207. package/dialogPortabilityCommands-ZSFFHRX4.js +3036 -0
  208. package/{dialogSlice-XFYID6KE.js → dialogSlice-PRZCIJCH.js} +43 -42
  209. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-RKB76OVX.js} +84 -70
  210. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-BP7HMRYP.js} +7 -4
  211. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-JGPNGIZ7.js} +68 -59
  212. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-XRJTNRDH.js} +68 -59
  213. package/{docReadCommands-EXQI7ETH.js → docReadCommands-6GFO4ARS.js} +67 -58
  214. package/{docStore-MWFUKZL2.js → docStore-QRLIWFTU.js} +16 -17
  215. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-W2GXMUXW.js} +68 -59
  216. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  217. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  218. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  219. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-DHGWURJZ.js} +265 -119
  220. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-FPUZ7RMI.js} +138 -122
  221. package/index.js +36 -22
  222. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  223. package/localAutomationCommands-ZMU22RQJ.js +198 -0
  224. package/localAutomationRuntime-MU5FGJ3V.js +60 -0
  225. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  226. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-YBXQBV4G.js} +136 -119
  227. package/localRuntimeAuthority-LDXMEDO5.js +44 -0
  228. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-6TQZDLNU.js} +1 -1
  229. package/{machineCommands-CL5XK5UC.js → machineCommands-57RTUYRV.js} +251 -357
  230. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  231. package/machineWsRunDispatch-VBKV3FFE.js +227 -0
  232. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-J76SOJVZ.js} +40 -22
  233. package/mcpLocalManageCommands-USETIMHB.js +212 -0
  234. package/{memberThunks-43B7UYC5.js → memberThunks-7UERUEMI.js} +102 -22
  235. package/{memoryCommands-BC6REPQB.js → memoryCommands-N7NHEE55.js} +25 -34
  236. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  237. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  238. package/package.json +3 -3
  239. package/parityCommands-LYDLWSLK.js +613 -0
  240. package/{projectArchive-OC63TWTD.js → projectArchive-KCNQDVWJ.js} +49 -45
  241. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  242. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  243. package/{read-KG6INYUT.js → read-SPSQ6NLR.js} +11 -10
  244. package/{readDocTool-N3GA52JR.js → readDocTool-ENUL2GNL.js} +5 -1
  245. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-MKS7TAEF.js} +927 -573
  246. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  247. package/remove-TNNDO635.js +32 -0
  248. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-POPUZ3WU.js} +22 -26
  249. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-KVILXQNI.js} +117 -82
  250. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-4J2DP4LZ.js} +23 -16
  251. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  252. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-35THMVBP.js} +16 -17
  253. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-WLXBNIG7.js} +23 -27
  254. package/{settingThunks-DVKG4X4S.js → settingThunks-6Y5U5M5N.js} +170 -497
  255. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  256. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-LXNJBO2U.js} +293 -58
  257. package/spacePruneCommand-2ITUFYBM.js +233 -0
  258. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  259. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-EY6MFKCA.js} +225 -137
  260. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-TG6BQRDA.js} +19 -23
  261. package/{tableCommands-EFA754RE.js → tableCommands-35G34R4B.js} +28 -49
  262. package/{toolApiClient-N5PYW2R3.js → toolApiClient-MPQIFYXP.js} +15 -4
  263. package/{tools-2Q2LBDUC.js → tools-CSLTRRUR.js} +73 -63
  264. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-ALR4Q3JM.js} +20 -13
  265. package/tuiSummaryLlmCaller-3Y3JEXJK.js +52 -0
  266. package/{updateCommands-GJGRS6JK.js → updateCommands-GHQVP6Z5.js} +13 -8
  267. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-LFAWF5EW.js} +57 -58
  268. package/{usageCommand-WI6SQOPB.js → usageCommand-5VKW6T4C.js} +6 -8
  269. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-VUQETFMW.js} +11 -15
  270. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  271. package/workContext-ZAW6VXT7.js +18 -0
  272. package/workContextQueryProjection-CACY5VFE.js +23 -0
  273. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  274. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  275. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  276. package/agentRunCommand-DMVGBPLI.js +0 -232
  277. package/authCommand-V6EOMZX6.js +0 -79
  278. package/chunk-2MBTWINN.js +0 -89
  279. package/chunk-523DITKR.js +0 -32
  280. package/chunk-BUDVRYES.js +0 -2213
  281. package/chunk-BZMDWGQQ.js +0 -47
  282. package/chunk-GAHJLSDO.js +0 -107
  283. package/chunk-GYX6XTAI.js +0 -84
  284. package/chunk-HNUWUO75.js +0 -93
  285. package/chunk-HSBHS6KT.js +0 -33401
  286. package/chunk-KG27JIG4.js +0 -136
  287. package/chunk-OB4FBZXJ.js +0 -364
  288. package/chunk-OKH74FML.js +0 -3746
  289. package/chunk-OLZBQWZU.js +0 -6
  290. package/chunk-OOV5JN25.js +0 -1317
  291. package/chunk-OQFOE4SJ.js +0 -405
  292. package/chunk-PXYBUFDB.js +0 -53
  293. package/chunk-R3FZHW4Q.js +0 -103
  294. package/chunk-R3MV2GII.js +0 -106
  295. package/chunk-SCAC3NM5.js +0 -11751
  296. package/chunk-SR4FE5VD.js +0 -9
  297. package/chunk-SYTHYBMI.js +0 -3558
  298. package/chunk-UKZX3NHN.js +0 -48
  299. package/chunk-UVLYNWIE.js +0 -74
  300. package/chunk-VQX5JJNI.js +0 -861
  301. package/chunk-X4O7FJF5.js +0 -160
  302. package/chunk-YJPK35HB.js +0 -175
  303. package/chunk-YNIYE47Z.js +0 -105
  304. package/chunk-Z4PCXPUE.js +0 -127
  305. package/chunk-ZR5IVL4N.js +0 -862
  306. package/chunk-ZTHAJU3O.js +0 -2537
  307. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  308. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  309. package/createDialogAction-ZAJERW62.js +0 -82
  310. package/deleteFile-ECU6FU5C.js +0 -55
  311. package/dialogNotifyCommand-IASQGEMW.js +0 -36
  312. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  313. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  314. package/markdownToSlate-PXYAIBVL.js +0 -8
  315. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  316. package/webapi-QVV65DQF.js +0 -2487
  317. package/workContext-Y3ADAPZU.js +0 -14
  318. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  319. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  320. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -1,35 +1,43 @@
1
1
  import {
2
- deriveStateResident
3
- } from "./chunk-GAHJLSDO.js";
2
+ archiveRekeyedExplicitSnapshots,
3
+ deriveStateResident,
4
+ scanExplicitRekeyBatches
5
+ } from "./chunk-WSQLCWLQ.js";
4
6
  import {
5
7
  _appendRetiredStateBatch,
6
8
  loadMemoryVNextCatalog
7
- } from "./chunk-324FWHUA.js";
8
- import {
9
- resolveMachineId
10
- } from "./chunk-S73EPYNC.js";
9
+ } from "./chunk-HHXF57CL.js";
11
10
  import {
12
11
  getDefaultCliLocalRuntimeDb
13
- } from "./chunk-J55F3IEZ.js";
12
+ } from "./chunk-SARJZIGR.js";
13
+ import {
14
+ resolveMachineId
15
+ } from "./chunk-7LS5ATRP.js";
14
16
  import {
15
- gBase64,
16
17
  isExternalSessionKind
17
- } from "./chunk-YJPK35HB.js";
18
+ } from "./chunk-MRACVEPZ.js";
18
19
  import {
19
20
  createMemoryKey,
20
21
  createMemoryOwnerIndexKey,
21
22
  createMemorySubjectKindIndexKey,
22
23
  memoryOwnerRange
23
- } from "./chunk-SYTHYBMI.js";
24
+ } from "./chunk-DLXL4NSL.js";
24
25
  import {
25
26
  asTrimmedNonEmptyStringArray
26
27
  } from "./chunk-I42VC5KR.js";
28
+ import {
29
+ asTrimmedString
30
+ } from "./chunk-3EUW3WEO.js";
27
31
  import {
28
32
  resolveAuthTokenFromEnv
29
- } from "./chunk-BIDSIRTS.js";
33
+ } from "./chunk-LTCZOOAM.js";
30
34
  import {
31
- DEFAULT_NOLO_SERVER_URL
32
- } from "./chunk-OLZBQWZU.js";
35
+ DEFAULT_NOLO_SERVER_URL,
36
+ readCliOptionOptional
37
+ } from "./chunk-RF576RYE.js";
38
+ import {
39
+ parseToken
40
+ } from "./chunk-72VWN4VK.js";
33
41
  import {
34
42
  buildCliRuntimeEnv,
35
43
  clearProfileAuthToken,
@@ -39,22 +47,6 @@ import {
39
47
  loadProfileConfig,
40
48
  saveDefaultProfile
41
49
  } from "./chunk-R5GO3YZP.js";
42
- import {
43
- asTrimmedString
44
- } from "./chunk-3EUW3WEO.js";
45
-
46
- // packages/core/crypto.ts
47
- import nacl from "tweetnacl";
48
-
49
- // packages/core/authToken.ts
50
- var parseToken = (token) => {
51
- try {
52
- const [payloadBase64] = token.split(".");
53
- return JSON.parse(gBase64.decode(payloadBase64));
54
- } catch {
55
- return null;
56
- }
57
- };
58
50
 
59
51
  // packages/core/accountSession/accountSessionCore.ts
60
52
  var isAccountIdentity = (value) => typeof value === "object" && value !== null && typeof value.userId === "string" && value.userId.length > 0;
@@ -655,21 +647,16 @@ async function scanLocalMemoryItems(localDb, machineId) {
655
647
  );
656
648
  return items.filter((item) => !!item);
657
649
  }
658
- async function performLocalMemoryRekey(args) {
659
- const { localDb, authToken, serverUrl, machineId } = args;
650
+ async function uploadRekeyBatch(args, payload) {
651
+ const { authToken, serverUrl } = args;
660
652
  const fetchImpl = args.fetchImpl ?? fetch;
661
- const items = await scanLocalMemoryItems(localDb, machineId);
662
- if (items.length === 0) {
663
- return { migrated: 0, merged: 0 };
664
- }
665
- const snapshotIds = items.map((item) => item.id);
666
653
  const response = await fetchImpl(`${serverUrl}/api/memory/rekey`, {
667
654
  method: "POST",
668
655
  headers: {
669
656
  Authorization: `Bearer ${authToken}`,
670
657
  "Content-Type": "application/json"
671
658
  },
672
- body: JSON.stringify({ items }),
659
+ body: JSON.stringify(payload),
673
660
  signal: AbortSignal?.timeout?.(3e4)
674
661
  }).catch((e) => {
675
662
  if (e?.name === "TimeoutError" || e?.name === "AbortError") {
@@ -680,23 +667,46 @@ async function performLocalMemoryRekey(args) {
680
667
  if (!response.ok) {
681
668
  let detail = "";
682
669
  try {
683
- const body2 = await response.json();
684
- detail = body2?.error?.message ?? "";
670
+ const body = await response.json();
671
+ detail = body?.error?.message ?? "";
685
672
  } catch {
686
673
  }
687
674
  throw new Error(
688
675
  `memory rekey upload failed (HTTP ${response.status})${detail ? `: ${detail}` : ""}`
689
676
  );
690
677
  }
691
- const body = await response.json().catch(() => ({}));
692
- const migrated = typeof body?.migratedCount === "number" ? body.migratedCount : 0;
693
- const merged = typeof body?.mergedCount === "number" ? body.mergedCount : 0;
694
- await deleteMemoriesForOwnerFromDb(
695
- localDb,
696
- { ownerType: "user", ownerId: machineId },
697
- { ids: snapshotIds }
698
- );
699
- return { migrated, merged };
678
+ return response.json().catch(() => ({}));
679
+ }
680
+ async function performLocalMemoryRekey(args) {
681
+ const { localDb, machineId } = args;
682
+ let items = await scanLocalMemoryItems(localDb, machineId);
683
+ let migrated = 0, merged = 0, conflicts = 0;
684
+ for await (const snapshots of scanExplicitRekeyBatches(localDb, machineId)) {
685
+ const body = await uploadRekeyBatch(args, { items, explicitItems: snapshots.map(({ item }) => item) });
686
+ const results = body?.explicitResults;
687
+ if (body?.success !== true || !Array.isArray(results) || results.length !== snapshots.length || results.some((result) => result !== "created" && result !== "no_op" && result !== "conflict")) {
688
+ throw new Error("server did not acknowledge explicit memory rekey; local copies kept");
689
+ }
690
+ await archiveRekeyedExplicitSnapshots(localDb, snapshots.filter((_, index) => results[index] !== "conflict"));
691
+ conflicts += results.filter((result) => result === "conflict").length;
692
+ migrated += typeof body.migratedCount === "number" ? body.migratedCount : 0;
693
+ merged += typeof body.mergedCount === "number" ? body.mergedCount : 0;
694
+ await deleteLegacySnapshot(localDb, machineId, items);
695
+ items = [];
696
+ }
697
+ if (items.length > 0) {
698
+ const body = await uploadRekeyBatch(args, { items });
699
+ migrated = typeof body?.migratedCount === "number" ? body.migratedCount : 0;
700
+ merged = typeof body?.mergedCount === "number" ? body.mergedCount : 0;
701
+ await deleteLegacySnapshot(localDb, machineId, items);
702
+ }
703
+ return { migrated, merged, ...conflicts > 0 ? { conflicts } : {} };
704
+ }
705
+ async function deleteLegacySnapshot(localDb, machineId, items) {
706
+ if (items.length === 0) return;
707
+ await deleteMemoriesForOwnerFromDb(localDb, { ownerType: "user", ownerId: machineId }, {
708
+ ids: items.map((item) => item.id)
709
+ });
700
710
  }
701
711
 
702
712
  // packages/cli/authCommands.ts
@@ -753,8 +763,7 @@ function formatTokenPreview(token) {
753
763
  return `${trimmed.slice(0, 8)}...`;
754
764
  }
755
765
  function getArg(args, flag) {
756
- const index = args.indexOf(flag);
757
- return index >= 0 ? args[index + 1] : void 0;
766
+ return readCliOptionOptional(args, flag);
758
767
  }
759
768
  var defaultSleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
760
769
  var defaultOpenBrowser = async (url) => {
@@ -790,6 +799,9 @@ async function saveTokenLogin(args) {
790
799
  serverUrl: args.serverUrl,
791
800
  machineId
792
801
  });
802
+ if (result.conflicts) {
803
+ args.output.log(`[nolo] Kept ${result.conflicts} explicit memory item(s) locally because they conflict with account memories.`);
804
+ }
793
805
  if (result.migrated > 0 || result.merged > 0) {
794
806
  args.output.log(
795
807
  `[nolo] Migrated ${result.migrated} local memor${result.migrated === 1 ? "y" : "ies"} to your account` + (result.merged > 0 ? ` (${result.merged} merged with existing)` : "") + "."
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MCP_CALL_TOOL_INPUT_SCHEMA,
3
3
  MCP_LIST_TOOLS_INPUT_SCHEMA
4
- } from "./chunk-KXOPLLFP.js";
4
+ } from "./chunk-CA7LGAHV.js";
5
5
  import {
6
6
  asRecordOrEmpty
7
7
  } from "./chunk-KX6YBIHG.js";
@@ -31,6 +31,31 @@ import {
31
31
  asOptionalTrimmedString
32
32
  } from "./chunk-G3SUCT4W.js";
33
33
 
34
+ // packages/core/listAgentsKeys.ts
35
+ var MAX_LIST_AGENTS_KEYS = 20;
36
+ var LIST_AGENTS_KEYS_SCHEMA = {
37
+ type: "array",
38
+ items: { type: "string" },
39
+ maxItems: MAX_LIST_AGENTS_KEYS,
40
+ description: "Exact agentKeys for rechecking known candidates only (deduplicated; a nonempty list must contain a non-blank key). Not a first full-pool scan: poolComplete is false."
41
+ };
42
+ function normalizeListAgentsKeys(value) {
43
+ if (value === void 0) return [];
44
+ if (!Array.isArray(value)) throw new Error("agentKeys must be an array of strings.");
45
+ if (value.length > MAX_LIST_AGENTS_KEYS) throw new Error(`agentKeys supports at most ${MAX_LIST_AGENTS_KEYS} entries.`);
46
+ const keys = /* @__PURE__ */ new Set();
47
+ for (const key of value) {
48
+ if (typeof key !== "string") throw new Error("agentKeys must be an array of strings.");
49
+ if (key.trim()) keys.add(key);
50
+ }
51
+ if (value.length && !keys.size) throw new Error("agentKeys must include at least one non-blank key when provided as a nonempty array.");
52
+ return [...keys];
53
+ }
54
+ function createListAgentsKeyMatcher(keys) {
55
+ const exact = new Set(keys);
56
+ return (agent) => !exact.size || agent.agentKey !== void 0 && exact.has(agent.agentKey);
57
+ }
58
+
34
59
  // packages/agent-runtime/dialogReadProjection.ts
35
60
  var DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS = 32e3;
36
61
  var MIN_RESPONSE_BUDGET_CHARS = 1024;
@@ -645,12 +670,17 @@ ${MODEL_TIER_GUIDANCE}
645
670
  \u56FE\u50CF\u6A21\u578B\u53EA\u7528\u4E8E\u56FE\u50CF\u4EFB\u52A1\uFF0C\u4E0D\u7528\u4E8E\u4EE3\u7801 / \u6587\u672C\u4EFB\u52A1\u3002
646
671
  \u6A21\u578B\u6863\u4F4D\u53EA\u53D6\u5171\u4EAB\u4EBA\u5DE5\u6620\u5C04\uFF1B\u672A\u77E5\u6A21\u578B\u4FDD\u6301 unknown \u4E14\u4ECD\u53EF\u7528\uFF0C\u4E0D\u7531 LLM \u81EA\u5C01\u6863\u4F4D\uFF0C\u4E0D\u9ED8\u8BA4\u9876\u6863\u3001\u4E0D\u5411\u7528\u6237\u7D22\u8981\u5B9A\u6863\u3002
647
672
  \u9886\u57DF\u5177\u4F53\u504F\u597D\u4EC5\u9002\u7528\u4E8E\u5BF9\u5E94 dimension\uFF1Adesign_frontend\uFF08\u8BBE\u8BA1 / \u524D\u7AEF\uFF09\u9886\u57DF\u5185\u9ED8\u8BA4\u6A21\u578B\u5BB6\u65CF\u504F\u597D\u4E3A Claude \u2192 Gemini \u2192 GPT\uFF1B\u6309\u4EFB\u52A1 difficulty \u4E0E\u5171\u4EAB\u4EBA\u5DE5\u6A21\u578B\u6863\u4F4D\u6620\u5C04\uFF0C\u5728\u504F\u597D\u5BB6\u65CF\u4E2D\u9009\u80DC\u4EFB\u7684\u5408\u9002\u6863\u4F4D\uFF0C\u5BB6\u65CF\u987A\u5E8F\u4E0D\u4EE3\u8868\u667A\u80FD\u6863\u4F4D\u6392\u540D\u3002general\uFF08\u901A\u7528\uFF09\u4E0D\u9002\u7528\u6B64\u5BB6\u65CF\u987A\u5E8F\uFF1Bwriting\uFF08\u5199\u4F5C\uFF09\u4ECD\u4E3A Gemini \u4F18\u5148\u4E8E\u5176\u4ED6\u6A21\u578B\u3002\u672A\u77E5\u6863\u4F4D\u4FDD\u6301 unknown\uFF0C\u4E0D\u63A8\u5B9A\u5BB6\u65CF\u5185\u80FD\u529B\u6392\u540D\u3002\u5176\u4F59\u6A21\u578B\u5728\u5BF9\u5E94\u7EF4\u5EA6\u672A\u77E5\uFF0C\u4E0D\u63A8\u5B9A\u5B8C\u6574\u6392\u540D\u3002
648
- \u540C\u6863\u53EF\u7528\u4E14\u65E0\u9700\u5E73\u53F0\u6263\u8D39\u65F6\uFF1A\u72EC\u7ACB\u5BA1\u67E5/\u5B89\u5168\u5951\u7EA6\u6311\u523A\u504F\u4E25\u82DB GPT\uFF1B\u524D\u7AEF\u8BBE\u8BA1/\u7CBE\u7EC6\u91CD\u6784\u504F Claude\uFF1B\u5168\u5C40\u7EDF\u7B79/\u957F\u4E0A\u4E0B\u6587\u4E32\u8054\u504F Gemini\u3002
649
- \u9886\u57DF\u504F\u597D\u53EF\u4F5C\u4E3A\u8DE8\u6863\u9009\u62E9\u7406\u7531\uFF0C\u4E0D\u8868\u793A\u4E0D\u80FD\u6362\u6863\uFF1B\u504F\u597D\u4E0D\u8986\u76D6\u771F\u5B9E\u80FD\u529B\u9650\u5236\u3001\u8D39\u7528\u6388\u6743\u3001\u4F5C\u8005\u56DE\u907F\u4E0E\u5F53\u6B21\u53EF\u7528\u6027\uFF0C\u4E0D\u5F97\u56E0\u4E3A\u300C\u8BBE\u8BA1\u4EFB\u52A1\u504F\u597D Opus\u300D\u5C31\u81EA\u52A8\u6D88\u8017\u5E73\u53F0\u79EF\u5206\u3002
673
+ \u540C\u6863\u53EF\u7528\u4E14\u65E0\u9700\u5E73\u53F0\u6263\u8D39\u65F6\uFF1A\u6DF1\u5EA6\u8BA1\u7B97\u673A\u7CFB\u7EDF/\u5B58\u50A8/\u5E76\u53D1/\u534F\u8BAE\u67B6\u6784\u8BF7\u6559\u4E0E\u65B9\u6848\u8FA8\u6790\u3001\u72EC\u7ACB\u5BA1\u67E5/\u5B89\u5168\u5951\u7EA6\u6311\u523A\u504F\u4E25\u82DB GPT\uFF1B\u524D\u7AEF\u8BBE\u8BA1/\u7CBE\u7EC6\u91CD\u6784\u504F Claude\uFF1B\u5168\u5C40\u7EDF\u7B79/\u957F\u4E0A\u4E0B\u6587\u4E32\u8054\u504F Gemini\u3002
674
+ \u9886\u57DF\u504F\u597D\u53EF\u4F5C\u4E3A\u8DE8\u6863\u9009\u62E9\u7406\u7531\uFF0C\u4E0D\u8868\u793A\u4E0D\u80FD\u6362\u6863\uFF1B\u504F\u597D\u4E0D\u8986\u76D6\u771F\u5B9E\u80FD\u529B\u9650\u5236\u3001\u8D39\u7528\u6388\u6743\u3001\u4F5C\u8005\u56DE\u907F\u4E0E\u5F53\u6B21\u53EF\u7528\u6027\uFF08\u9047\u963B\u8BF7\u6559\u4ECD\u4F18\u5148\u7EED\u539F\u89C4\u5212\u8005\uFF09\uFF0C\u4E0D\u5F97\u56E0\u4E3A\u300C\u8BBE\u8BA1\u4EFB\u52A1\u504F\u597D Opus\u300D\u5C31\u81EA\u52A8\u6D88\u8017\u5E73\u53F0\u79EF\u5206\u3002
650
675
  \u5DE5\u5177\u4EC5\u5347 \u22652 \u6863\u987B\u5148\u6709 selectionReason\uFF0C\u5176\u4F59\u4E0D\u7B26\u53EA\u63D0\u9192\u3001\u7167\u5E38\u542F\u52A8\uFF0C\u4E0D\u5F3A\u5236\u9009\u4EBA\u3001\u4E0D\u81EA\u52A8\u53D6\u6D88\u91CD\u6D3E\uFF1B\u6D3E\u53D1 Agent \u81EA\u884C\u7ED3\u5408\u9886\u57DF\u4F18\u52BF\u3001\u771F\u5B9E\u989D\u5EA6/\u7F51\u7EDC\u4E0E\u5019\u9009\u53EF\u7528\u6027\u3001\u7528\u6237\u6307\u5B9A\u4F5C\u5224\u65AD\u3002\u901F\u5EA6\u89C4\u5219\u7EDF\u4E00\u89C1\u5E38\u9A7B\u300C\u6D3E\u53D1\u9009\u4EBA \xB7 \u53EF\u7528\u6027\u4E0E\u901F\u5EA6\u300D\uFF0C\u4E0D\u5F97\u636E\u901F\u5EA6\u63A8\u5BFC\u6A21\u578B\u6863\u4F4D\u3002
651
676
  - \u53EF\u7528\u6027\u8BC1\u636E\uFF1A\u533A\u5206\u5F53\u6B21\u771F\u5B9E\u5931\u8D25\u3001\u9002\u7528\u4E14\u4ECD\u6709\u6548\u7684 quota\u3001\u8FC7\u671F\u53C2\u8003\u548C\u672A\u77E5\u3002\u89C4\u5212\u5217\u8868\u4E0E\u63A8\u8350\u4E0D\u6309\u51B7\u5374\u786C\u8FC7\u6EE4\uFF1B\u901A\u7528\u6267\u884C\u53EF\u7528\u4E0A\u9762\u7684\u6709\u6548 quota \u89C4\u5219\uFF1Breview \u81EA\u8EAB\u515C\u5E95\u4ECD\u987B\u5176\u4ED6\u5408\u89C4\u5019\u9009\u7684\u5F53\u6B21\u9519\u8BEF\u8BC1\u636E\uFF0C\u4E0D\u7528 quota \u6807\u6CE8\u66FF\u4EE3\u3002
652
677
  - 429 \u9650\u6D41\u4E0E\u77E5\u60C5\u6743\u5951\u7EA6\uFF1A\u4EFB\u4F55\u7528\u6237\u79C1\u6709\u51ED\u636E\u4E0E\u81EA\u5EFA Agent\uFF08billingSource \u4E3A user_subscription / owner_subscription / user_api / local\uFF0C\u6216 isOwned=true\uFF09\u5728 listAgents \u7684 agents[].availabilityStatus \u4E3A rate_limited \u6216 quota_exhausted \u65F6\uFF0C\u7981\u6B62\u9759\u9ED8\u8DF3\u8FC7\uFF1B\u6539\u6D3E\u5E73\u53F0 Agent\uFF08\u6D88\u8017\u5E73\u53F0\u79EF\u5206\uFF09\u524D\u5FC5\u987B\u5728\u56DE\u590D\u4E2D\u544A\u77E5\u7528\u6237\uFF1A\u54EA\u4E2A\u8BA2\u9605/\u81EA\u5EFA agent \u9650\u6D41\u3001\u9884\u8BA1\u4F55\u65F6\u6062\u590D\uFF08nextAvailableAt\uFF09\u3001\u672C\u6B21\u5C06\u6263\u5E73\u53F0\u79EF\u5206\uFF1BavailabilityStatus \u4E0E nextAvailableAt \u4EC5\u662F\u53C2\u8003\u4FE1\u606F\uFF0C\u4E0D\u62E6\u6D3E\u53D1\uFF0C\u4E0D\u5F97\u4EC5\u51ED\u51B7\u5374\u6807\u6CE8\u6392\u9664\u5019\u9009\uFF1B\u7528\u6237\u4ECD\u53EF\u7167\u5E38\u6D3E\u53D1\u5E76\u83B7\u5F97\u4E0A\u6E38\u771F\u5B9E\u7ED3\u679C\u3002`;
653
678
 
679
+ // packages/core/listAgentsFragment.ts
680
+ function isEmptyListAgentsFragmentRequest(args) {
681
+ return (args.fragmentOffset === void 0 || args.fragmentOffset === 0) && (args.fragmentAgentKey === void 0 || args.fragmentAgentKey === "") && (args.fragmentDigest === void 0 || args.fragmentDigest === "");
682
+ }
683
+
654
684
  // packages/agent-runtime/noloWorkspaceTools.ts
655
685
  var NOLO_WORKSPACE_TOOL_NAMES = [
656
686
  "listMcpConnections",
@@ -668,6 +698,7 @@ var NOLO_WORKSPACE_TOOL_NAMES = [
668
698
  "readSkillDoc",
669
699
  "loadSkill",
670
700
  "listTables",
701
+ "agentResource",
671
702
  "queryTableRows",
672
703
  "cliWhoami",
673
704
  "cliDoctor",
@@ -701,7 +732,7 @@ function stringToolParam(description) {
701
732
  return { type: "string", description };
702
733
  }
703
734
  var READ_DIALOG_TOOL_DESCRIPTION = `Read a persisted dialog (meta + messages) by full dbKey (dialog-<userId>-<id>) or dialog URL; use listDialogs when unclear. A bare id only resolves for the currently logged-in user \u2014 pass user/server. For runs, do not poll a running dialog's full transcript: prefer controlAgentRun, else mode="status" for a compact snapshot; read the transcript only after done/failed/cancelled. Responses are budgeted: reasoning_content, tool_calls, tool results and metadata are head-truncated (truncated, messagesTotal/messagesReturned, omittedChars). For review or verification take diffs from the worktree instead of the full transcript.`;
704
- var LIST_AGENTS_TOOL_DESCRIPTION = "List agents for delegation. Default scope='all' dedupes the user's own/favorite agents (owned, OAuth, custom-API, local) with the public marketplace; scope='public' discovers shared/marketplace agents only (they may consume platform credits \u2014 check billingSource). Each entry has a runnable agentKey (agent-<userId>-<id> / agent-pub-<id>): Copy the agentKey verbatim and do not infer it from the display name. Copy `agentKey` verbatim into startAgentRun. Returns planningRecommendation (reason, currentTier, requiresPaidApproval): advice when planning is needed, not authorization. availabilityStatus/availabilityReason/nextAvailableAt are advisory reference info, not dispatch gates; unavailableCount counts them. The fan-out guard limits same-batch concurrency only (sharing a credential alone is not a dependency) unless allowUnknownCredential confirms.";
735
+ var LIST_AGENTS_TOOL_DESCRIPTION = "Default scope='all': dedupe own/favorites + marketplace. scope='public': shared/marketplace only; check billingSource for credits. Copy runnable agentKey verbatim into startAgentRun, never infer from display name. planningRecommendation incl. requiresPaidApproval advises, never authorizes. availabilityStatus/availabilityReason/nextAvailableAt advisory, not gates (unavailableCount). Same-batch unknown-credential fan-out is guarded; sharing a credential alone is not a dependency. allowUnknownCredential only if credentials are confirmed independent. Use agentKeys only to recheck known candidates; never instead of the initial full-pool scan.";
705
736
  function buildNoloWorkspaceOpenAiTools(args) {
706
737
  const toolNames = new Set(args.toolNames ?? []);
707
738
  const tools = [];
@@ -763,18 +794,19 @@ function buildNoloWorkspaceOpenAiTools(args) {
763
794
  }
764
795
  }, ["query"]);
765
796
  add("listAgents", LIST_AGENTS_TOOL_DESCRIPTION, {
766
- query: stringToolParam("Optional case-insensitive search substring matching agent name, model, provider, handle, or agentKey."),
767
- scope: { type: "string", enum: ["all", "public"], description: "Discovery scope; all is the default and includes the public marketplace." },
768
- publicOnly: { type: "boolean", description: "Deprecated compatibility alias for scope='public'." },
769
- showUnavailable: { type: "boolean", description: "Deprecated no-op. Agents are always listed regardless of cooldown; availability annotations are advisory only." },
770
- verbose: { type: "boolean", description: "Return full safe-summary details when supported." },
771
- compact: { type: "boolean", description: "Return compact projection retaining admission evidence while omitting verbose text." },
772
- limit: { type: "number", description: "Maximum number of agents to return for pagination." },
773
- offset: { type: "number", description: "Pagination offset." },
774
- fragmentOffset: { type: "integer", description: "Recover an oversized candidate: start at 0, then use nextFragmentOffset, keeping offset and filters unchanged." },
775
- fragmentAgentKey: stringToolParam("Exact agentKey returned by the oversized-candidate response."),
776
- fragmentDigest: stringToolParam("SHA-256 digest returned by the first fragment; required for subsequent fragments."),
777
- space: stringToolParam("Optional space id or URL.")
797
+ query: stringToolParam("Case-insensitive substring: name/model/provider/handle/agentKey."),
798
+ agentKeys: LIST_AGENTS_KEYS_SCHEMA,
799
+ scope: { type: "string", enum: ["all", "public"], description: "all (default) or public only." },
800
+ publicOnly: { type: "boolean", description: "Deprecated alias for scope='public'." },
801
+ showUnavailable: { type: "boolean", description: "Deprecated no-op; cooldown agents remain listed." },
802
+ verbose: { type: "boolean", description: "Full safe-summary details when supported." },
803
+ compact: { type: "boolean", description: "Compact selection/admission fields; omit verbose text." },
804
+ limit: { type: "number", description: "Page size." },
805
+ offset: { type: "number", description: "Candidate offset." },
806
+ fragmentOffset: { type: "integer", description: "Oversized: 0 then nextFragmentOffset; same offset, filters, fragmentAgentKey and returned fragmentDigest." },
807
+ fragmentAgentKey: stringToolParam("Exact oversized response agentKey."),
808
+ fragmentDigest: stringToolParam("First-fragment SHA-256; required later to detect changes."),
809
+ space: stringToolParam("Space ID or URL.")
778
810
  });
779
811
  add("readAgent", "Read one agent's full config by exact agentKey returned by listAgents (agent-<userId>-<id> or agent-pub-<id>); do not use the display name.", {
780
812
  agent: stringToolParam("Exact agentKey from listAgents (preferred; copy verbatim; plain id or URL are compatibility fallbacks).")
@@ -791,17 +823,17 @@ function buildNoloWorkspaceOpenAiTools(args) {
791
823
  add("readSkillDoc", "Read one skill doc in the Nolo workspace.", {
792
824
  doc: stringToolParam("Skill doc/page key.")
793
825
  }, ["doc"]);
794
- add("loadSkill", "Load a skill and return its full instructions inline. Use legacy name alone (returns available skills if not found), or an exact reference without name: source=space + dbKey, source=builtin + slug, or source=project + projectBinding + relativePath. Do not mix selectors. Server execution supports space/builtin; local CLI/desktop execution supports builtin/project, not space.", {
795
- name: stringToolParam("Legacy skill name advertised in skill discovery. Use without exact-reference fields."),
826
+ add("loadSkill", "Return full skill instructions inline. Use legacy name alone (lists skills if missing), or one exact source without name: space+dbKey, builtin+slug, project+projectBinding+relativePath. Do not mix selectors. Server: space/builtin; CLI/desktop: builtin/project.", {
827
+ name: stringToolParam("Legacy discovery name only."),
796
828
  source: {
797
829
  type: "string",
798
830
  enum: ["space", "builtin", "project"],
799
- description: "Exact skill source. Requires dbKey for space, slug for builtin, or projectBinding and relativePath for project. Omit name."
831
+ description: "Exact source; omit name."
800
832
  },
801
- dbKey: stringToolParam("Exact skill document dbKey; use only with source=space (server execution)."),
802
- slug: stringToolParam("Exact builtin skill slug; use only with source=builtin."),
803
- projectBinding: stringToolParam("Authorized project root as an absolute path matching the executor cwd; use only with source=project (local execution)."),
804
- relativePath: stringToolParam("Project-relative path to SKILL.md within the authorized project's .agents/skills/ directory; use only with source=project (local execution).")
833
+ dbKey: stringToolParam("Space skill document dbKey."),
834
+ slug: stringToolParam("Builtin skill slug."),
835
+ projectBinding: stringToolParam("Project: authorized absolute root matching executor cwd."),
836
+ relativePath: stringToolParam("Project-relative SKILL.md under .agents/skills/.")
805
837
  });
806
838
  add("listTables", "List tables in the current user scope or an optional space scope.", {
807
839
  limit: { type: "integer", description: "Maximum tables to return." },
@@ -809,6 +841,19 @@ function buildNoloWorkspaceOpenAiTools(args) {
809
841
  titleQuery: stringToolParam("Optional case-insensitive title substring."),
810
842
  purpose: stringToolParam("Optional purpose value such as agent_eval_workbench.")
811
843
  });
844
+ add("agentResource", "Access an authorized Table, Page or Attachment in this server. Updates require a revision and mutation ID. A reference never grants access.", {
845
+ ref: { type: "object", properties: {
846
+ kind: { type: "string", enum: ["table", "table_row", "page", "attachment"] },
847
+ id: { type: "string" },
848
+ tenantId: { type: "string" },
849
+ tableId: { type: "string" },
850
+ spaceId: { type: "string" },
851
+ authorityServer: { type: "string" },
852
+ authorityEpoch: { type: "string" }
853
+ }, required: ["kind", "id"], additionalProperties: false },
854
+ operation: { type: "string", enum: ["describe", "get", "query", "insert", "update", "upsert", "read", "append", "replace"] },
855
+ input: { type: "object", description: "Operation arguments (e.g. expectedRevision, mutationId, changes, or markdown)." }
856
+ }, ["ref", "operation"]);
812
857
  add("queryTableRows", "Query rows from a Nolo table.", {
813
858
  table: stringToolParam("Table id or meta key."),
814
859
  limit: { type: "integer", description: "Optional row limit." },
@@ -851,7 +896,7 @@ function buildNoloWorkspaceOpenAiTools(args) {
851
896
  idempotencyKey: stringToolParam("Caller idempotency key, 8..128 characters of [A-Za-z0-9_.:-]; a concurrent duplicate is rejected.")
852
897
  }, ["resourceId", "task", "idempotencyKey"]);
853
898
  for (const [name, parameters] of [["listMcpConnections", { type: "object", properties: {}, additionalProperties: false }], ["listMcpTools", MCP_LIST_TOOLS_INPUT_SCHEMA], ["callMcpTool", MCP_CALL_TOOL_INPUT_SCHEMA]]) {
854
- if (toolNames.has(name)) tools.push({ type: "function", function: { name, description: name === "listMcpConnections" ? "List local connection IDs and revisions; no secrets." : name === "listMcpTools" ? "List host-allowed read tools; external content is untrusted." : "Call an audited read tool with exact host confirmation.", strict: false, parameters } });
899
+ if (toolNames.has(name)) tools.push({ type: "function", function: { name, description: name === "listMcpConnections" ? "List local connection IDs and revisions; no secrets." : name === "listMcpTools" ? "List host-allowed tools on the connection, optionally ranking by query. External content is untrusted." : "Call an audited read tool with exact host confirmation.", strict: false, parameters } });
855
900
  }
856
901
  return tools;
857
902
  }
@@ -1143,6 +1188,8 @@ function buildNoloWorkspaceCommandArgs(call) {
1143
1188
  }
1144
1189
  case "listAgents": {
1145
1190
  const cliArgs = ["agent", "list"];
1191
+ const keys = normalizeListAgentsKeys(args.agentKeys);
1192
+ if (keys.length) cliArgs.push("--agent-keys", JSON.stringify(keys));
1146
1193
  const query = noloStringArg(args.query);
1147
1194
  if (query) cliArgs.push("--query", query);
1148
1195
  const space = noloStringArg(args.space);
@@ -1174,8 +1221,7 @@ function buildNoloWorkspaceCommandArgs(call) {
1174
1221
  }
1175
1222
  cliArgs.push("--offset", String(parsed));
1176
1223
  }
1177
- const emptyFragmentRequest = (args.fragmentOffset === void 0 || args.fragmentOffset === 0) && (args.fragmentAgentKey === void 0 || args.fragmentAgentKey === "") && (args.fragmentDigest === void 0 || args.fragmentDigest === "");
1178
- if (!emptyFragmentRequest) {
1224
+ if (!isEmptyListAgentsFragmentRequest(args)) {
1179
1225
  if (args.fragmentOffset !== void 0) {
1180
1226
  if (!Number.isSafeInteger(args.fragmentOffset) || args.fragmentOffset < 0) throw new Error("Invalid fragmentOffset");
1181
1227
  cliArgs.push("--fragment-offset", String(args.fragmentOffset));
@@ -1258,9 +1304,13 @@ var AGENT_THREAD_ACTIVE_STATUSES = ["pending", "running"];
1258
1304
  var AGENT_THREAD_TERMINAL_STATUSES = ["done", "failed", "cancelled", "orphaned"];
1259
1305
 
1260
1306
  export {
1307
+ LIST_AGENTS_KEYS_SCHEMA,
1308
+ normalizeListAgentsKeys,
1309
+ createListAgentsKeyMatcher,
1261
1310
  resolveAgentSelectionPriority,
1262
1311
  compareAgentSelection,
1263
1312
  AGENT_SELECTION_PRIORITY_INSTRUCTIONS,
1313
+ isEmptyListAgentsFragmentRequest,
1264
1314
  DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
1265
1315
  projectDialogReadForAgent,
1266
1316
  createStreamingDialogReadProjector,
@@ -5,14 +5,17 @@ import {
5
5
  import {
6
6
  patch,
7
7
  read
8
- } from "./chunk-ADYWV732.js";
8
+ } from "./chunk-U5PSCTMR.js";
9
+ import {
10
+ emitUserDataUpdated
11
+ } from "./chunk-Q5IXZF3S.js";
9
12
  import {
10
13
  DEVICE_LOCAL_OWNER_ID,
11
14
  isDeviceLocalSpaceBody
12
- } from "./chunk-HPDLPEUG.js";
15
+ } from "./chunk-MPWQI36J.js";
13
16
  import {
14
17
  selectIdentityUserId
15
- } from "./chunk-PXYBUFDB.js";
18
+ } from "./chunk-SWJRX4M5.js";
16
19
 
17
20
  // packages/create/space/utils/permissions.ts
18
21
  var checkSpaceMembership = (spaceData, userId) => {
@@ -51,9 +54,7 @@ var UNCATEGORIZED_ID = "__uncategorized_container__";
51
54
 
52
55
  // packages/create/space/content/spaceContentPatch.ts
53
56
  var notifyUserDataUpdated = () => {
54
- if (typeof window !== "undefined" && typeof window.dispatchEvent === "function" && typeof window.Event === "function") {
55
- window.dispatchEvent(new window.Event("nolo-user-data-updated"));
56
- }
57
+ emitUserDataUpdated();
57
58
  };
58
59
  var loadSpaceContentOrThrow = async (dispatch, spaceId, contentKey, sourceServerOrigin) => {
59
60
  if (!contentKey || typeof contentKey !== "string" || contentKey.trim() === "") {
@@ -0,0 +1,88 @@
1
+ // packages/core/base64.ts
2
+ var STD_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
3
+ var URL_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
4
+ var DECODE_TABLE = new Int16Array(128).fill(-1);
5
+ for (let i = 0; i < 64; i++) {
6
+ DECODE_TABLE[STD_CHARS.charCodeAt(i)] = i;
7
+ DECODE_TABLE[URL_CHARS.charCodeAt(i)] = i;
8
+ }
9
+ var cachedEncoder = null;
10
+ var cachedDecoder = null;
11
+ function getEncoder() {
12
+ if (!cachedEncoder) cachedEncoder = new TextEncoder();
13
+ return cachedEncoder;
14
+ }
15
+ function getDecoder() {
16
+ if (!cachedDecoder) cachedDecoder = new TextDecoder();
17
+ return cachedDecoder;
18
+ }
19
+ function bytesToBase64(bytes, urlsafe = false) {
20
+ const alphabet = urlsafe ? URL_CHARS : STD_CHARS;
21
+ let out = "";
22
+ for (let i = 0; i < bytes.length; i += 3) {
23
+ const a = bytes[i];
24
+ const hasB = i + 1 < bytes.length;
25
+ const hasC = i + 2 < bytes.length;
26
+ const b = hasB ? bytes[i + 1] : 0;
27
+ const c = hasC ? bytes[i + 2] : 0;
28
+ const triple = a << 16 | b << 8 | c;
29
+ out += alphabet[triple >> 18 & 63];
30
+ out += alphabet[triple >> 12 & 63];
31
+ if (hasB) {
32
+ out += alphabet[triple >> 6 & 63];
33
+ } else if (!urlsafe) {
34
+ out += "=";
35
+ }
36
+ if (hasC) {
37
+ out += alphabet[triple & 63];
38
+ } else if (!urlsafe) {
39
+ out += "=";
40
+ }
41
+ }
42
+ return out;
43
+ }
44
+ function base64ToBytes(input) {
45
+ const cleaned = input.replace(/[\s=]+/g, "");
46
+ if (cleaned.length === 0) return new Uint8Array(0);
47
+ if (cleaned.length % 4 === 1) {
48
+ throw new Error("Invalid base64 length");
49
+ }
50
+ const outLen = Math.floor(cleaned.length * 3 / 4);
51
+ const out = new Uint8Array(outLen);
52
+ let outIdx = 0;
53
+ for (let i = 0; i < cleaned.length; i += 4) {
54
+ const c0 = cleaned.charCodeAt(i);
55
+ const c1 = cleaned.charCodeAt(i + 1);
56
+ const v0 = c0 < 128 ? DECODE_TABLE[c0] : -1;
57
+ const v1 = c1 < 128 ? DECODE_TABLE[c1] : -1;
58
+ if (v0 < 0 || v1 < 0) throw new Error("Invalid base64 character");
59
+ const has2 = i + 2 < cleaned.length;
60
+ const has3 = i + 3 < cleaned.length;
61
+ const c2 = has2 ? cleaned.charCodeAt(i + 2) : 0;
62
+ const c3 = has3 ? cleaned.charCodeAt(i + 3) : 0;
63
+ const v2 = has2 ? c2 < 128 ? DECODE_TABLE[c2] : -1 : 0;
64
+ const v3 = has3 ? c3 < 128 ? DECODE_TABLE[c3] : -1 : 0;
65
+ if (v2 < 0 || v3 < 0) throw new Error("Invalid base64 character");
66
+ const triple = v0 << 18 | v1 << 12 | v2 << 6 | v3;
67
+ out[outIdx++] = triple >> 16 & 255;
68
+ if (has2 && outIdx < outLen) out[outIdx++] = triple >> 8 & 255;
69
+ if (has3 && outIdx < outLen) out[outIdx++] = triple & 255;
70
+ }
71
+ return out;
72
+ }
73
+ function encodeBase64(text, urlsafe = false) {
74
+ return bytesToBase64(getEncoder().encode(text), urlsafe);
75
+ }
76
+ function decodeBase64(b64) {
77
+ return getDecoder().decode(base64ToBytes(b64));
78
+ }
79
+ var Base64 = {
80
+ encode: encodeBase64,
81
+ decode: decodeBase64,
82
+ fromUint8Array: bytesToBase64,
83
+ toUint8Array: base64ToBytes
84
+ };
85
+
86
+ export {
87
+ Base64
88
+ };
@@ -1,19 +1,15 @@
1
1
  import {
2
- require_formatISO
3
- } from "./chunk-UVLYNWIE.js";
2
+ formatLocalIso
3
+ } from "./chunk-PL5RKESU.js";
4
4
  import {
5
5
  patch,
6
6
  selectById
7
- } from "./chunk-ADYWV732.js";
7
+ } from "./chunk-U5PSCTMR.js";
8
8
  import {
9
9
  getActiveDialogKey
10
- } from "./chunk-U35UUM5K.js";
11
- import {
12
- __toESM
13
- } from "./chunk-U67V476Y.js";
10
+ } from "./chunk-YVOUSIIA.js";
14
11
 
15
12
  // packages/chat/dialog/actions/setDialogExtraReferencesAction.ts
16
- var import_formatISO = __toESM(require_formatISO());
17
13
  var setDialogExtraReferencesAction = async (extraReferences, thunkApi, dialogKey) => {
18
14
  const { dispatch, getState } = thunkApi;
19
15
  const state = getState();
@@ -33,7 +29,7 @@ var setDialogExtraReferencesAction = async (extraReferences, thunkApi, dialogKey
33
29
  dbKey: currentDialogKey,
34
30
  changes: {
35
31
  extraReferences: extraReferences ?? [],
36
- updatedAt: (0, import_formatISO.default)(/* @__PURE__ */ new Date())
32
+ updatedAt: formatLocalIso(/* @__PURE__ */ new Date())
37
33
  }
38
34
  })
39
35
  ).unwrap();