nolo-cli 0.259.0-alpha.1 → 0.260.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 (316) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-EO6JFCOF.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-WIA56QT4.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-OCMWZLYG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-ER2NZ7BC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-NXRWS7NS.js} +142 -126
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-PFXGZZ3Y.js} +87 -68
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-2Q55CSL4.js} +68 -59
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-EUNS7Y2Z.js} +10 -7
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-S2VMPSWL.js} +9 -6
  14. package/agentRecordCommands-FUFI526H.js +210 -0
  15. package/agentRun-ZNMUPDHF.js +250 -0
  16. package/agentRunCommand-ISVQ2UYC.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-NEK44LDM.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-4ZJJJN4M.js} +15 -18
  20. package/appConfigCommands-MPHS6FHD.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-W26WGENW.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-ER7IOF5E.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-P6GXJNUD.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-ACA2IZZM.js} +74 -58
  26. package/appMigrateCommands-OGF4E2W6.js +230 -0
  27. package/appSourceCommands-GAHVBRUM.js +279 -0
  28. package/{authCommand-V6EOMZX6.js → authCommand-PXE7NZTQ.js} +26 -40
  29. package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
  32. package/{chunk-KLMBM6P6.js → chunk-2CKFROQS.js} +2454 -1115
  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-ZYPXOQS2.js → chunk-3EPED3UO.js} +1 -1
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-HPDLPEUG.js → chunk-42JZNSAY.js} +267 -234
  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-OKAXQFON.js → chunk-52BNL6GP.js} +4 -4
  47. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  48. package/{chunk-QGFLVQ6E.js → chunk-6KUTNAPU.js} +4 -14
  49. package/{chunk-MNFUKRRU.js → chunk-6XAAKRJB.js} +7 -7
  50. package/{chunk-P27E22MA.js → chunk-6Z6DGDPI.js} +1 -1
  51. package/chunk-72VWN4VK.js +51 -0
  52. package/{chunk-L4XST72F.js → chunk-75FZ2Z7C.js} +16027 -17392
  53. package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
  54. package/{chunk-MXA54TQM.js → chunk-76K4GTY5.js} +1 -1
  55. package/{chunk-VNHZJEQN.js → chunk-7HUCUD2I.js} +3 -3
  56. package/chunk-7LR2IFUH.js +100 -0
  57. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  58. package/{chunk-Y2TCTNUD.js → chunk-7QO6YSA4.js} +4 -4
  59. package/{chunk-DBJODIZ6.js → chunk-7RYH7YIY.js} +19 -27
  60. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  61. package/chunk-AMNZPQCY.js +635 -0
  62. package/chunk-AMTF6FJD.js +356 -0
  63. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  64. package/{chunk-WSLL7VV4.js → chunk-B4NA5UJR.js} +9 -9
  65. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  66. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  67. package/{chunk-46FETNLF.js → chunk-BTIFQBYW.js} +7 -6
  68. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  69. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  70. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  71. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  72. package/{chunk-MPGR4ZNR.js → chunk-CRGPRAJ4.js} +46 -42
  73. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  74. package/{chunk-R3TUHCSJ.js → chunk-CZHIOBBK.js} +8 -3
  75. package/chunk-D3ONA3FP.js +762 -0
  76. package/chunk-D3SAQ6T7.js +1697 -0
  77. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  78. package/{chunk-KQHEGELM.js → chunk-DEAII55O.js} +16 -6
  79. package/{chunk-J55F3IEZ.js → chunk-DKJQEFNG.js} +1 -1
  80. package/chunk-DLXL4NSL.js +1179 -0
  81. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  82. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  83. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  84. package/chunk-EJHLDJWZ.js +58 -0
  85. package/{chunk-6B2OBX5B.js → chunk-EMFZXJTN.js} +15 -47
  86. package/chunk-ER6NTALN.js +34 -0
  87. package/chunk-EUHMI5KG.js +101 -0
  88. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  89. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  90. package/{chunk-YFEK7ACQ.js → chunk-FGD4NMTP.js} +4 -4
  91. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  92. package/chunk-FI4DPLR7.js +902 -0
  93. package/chunk-FKVLQNGJ.js +25 -0
  94. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  95. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  96. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  97. package/{chunk-5BIDJVNX.js → chunk-G5JGA5YM.js} +180 -31
  98. package/{chunk-57V4PADY.js → chunk-GMBWWBSJ.js} +781 -449
  99. package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
  100. package/{chunk-KT7S7ANZ.js → chunk-GZ4I5EMM.js} +9 -9
  101. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  102. package/chunk-HJTI7RZV.js +94 -0
  103. package/{chunk-QXTEEEIN.js → chunk-HPIY372N.js} +7 -7
  104. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  105. package/{chunk-HDKMVYNJ.js → chunk-I3NWAILT.js} +6 -4
  106. package/{chunk-JZO7KUF3.js → chunk-IM7HCFB4.js} +313 -275
  107. package/{chunk-UWWOWTW2.js → chunk-INN2PBW7.js} +1 -1
  108. package/chunk-IV6VUVLJ.js +88 -0
  109. package/chunk-J42X32PV.js +472 -0
  110. package/{chunk-UA3QTA2S.js → chunk-JHQNWV2C.js} +4441 -2569
  111. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  112. package/{chunk-BIDSIRTS.js → chunk-JUNYPVL6.js} +10 -16
  113. package/chunk-JVEKCQAP.js +222 -0
  114. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  115. package/chunk-KDDXC2IH.js +148 -0
  116. package/chunk-KGKTN2NX.js +25 -0
  117. package/chunk-KGWE224L.js +246 -0
  118. package/chunk-L3UFGEDU.js +17157 -0
  119. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  120. package/{chunk-7OVOZRZF.js → chunk-LIH7WSX5.js} +23 -379
  121. package/chunk-LJOPY4TL.js +443 -0
  122. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  123. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  124. package/chunk-LXP53WGF.js +168 -0
  125. package/chunk-MDAYRIP7.js +1889 -0
  126. package/chunk-MRACVEPZ.js +7 -0
  127. package/chunk-NHLLXINQ.js +8 -0
  128. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  131. package/chunk-PL5RKESU.js +40 -0
  132. package/{chunk-MHKPUGPD.js → chunk-PQ3QZMJK.js} +20 -4
  133. package/chunk-Q5FJJ6XI.js +103 -0
  134. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  135. package/{chunk-6YX2RAQN.js → chunk-QZCLCAYC.js} +89 -164
  136. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  137. package/{chunk-JLZJL3WC.js → chunk-RDZ5OIAT.js} +370 -39
  138. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  139. package/chunk-RF576RYE.js +117 -0
  140. package/chunk-RI7SXDJW.js +1317 -0
  141. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  142. package/{chunk-2CT2J3O6.js → chunk-RL6H2A2Z.js} +2493 -4055
  143. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  144. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  145. package/chunk-S7BF2OGX.js +432 -0
  146. package/{chunk-6VEO7Z3Y.js → chunk-SD4MBKZ7.js} +6 -6
  147. package/{chunk-KWNVPY6M.js → chunk-SGEBRBF3.js} +7 -4
  148. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  149. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  150. package/{chunk-Y2GWUBNS.js → chunk-SX6PDLBZ.js} +279 -149
  151. package/{chunk-XNNBXUEM.js → chunk-T4WU747C.js} +5 -5
  152. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  153. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  154. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  155. package/{chunk-NCFKHYDM.js → chunk-UOLGGEEC.js} +774 -119
  156. package/{chunk-4EACJPZI.js → chunk-USFG4EWQ.js} +51 -42
  157. package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
  158. package/{chunk-XPETQ4MR.js → chunk-VDC3BW24.js} +24 -10
  159. package/chunk-VH356OQ3.js +425 -0
  160. package/{chunk-U6QNVOR5.js → chunk-VKM7DOYB.js} +130 -6
  161. package/{chunk-CJOOF4L5.js → chunk-VPAO5WQX.js} +17 -14
  162. package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
  163. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  164. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  165. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  166. package/chunk-WLJNHFEB.js +1710 -0
  167. package/chunk-WMBJDXMY.js +408 -0
  168. package/chunk-WSQLCWLQ.js +201 -0
  169. package/{chunk-YN23INFZ.js → chunk-WXD6Y7DW.js} +23 -2
  170. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  171. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  172. package/{chunk-7BIJFGKS.js → chunk-XQFDCRG3.js} +105 -51
  173. package/chunk-XT6C2QZW.js +46 -0
  174. package/{chunk-5YS6QHGT.js → chunk-Y7THFNVJ.js} +9 -9
  175. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  176. package/{chunk-RD3QLZQV.js → chunk-YM5XULB2.js} +324 -2
  177. package/{chunk-FZENZCIA.js → chunk-YNP3ITPU.js} +19 -12
  178. package/{chunk-U35UUM5K.js → chunk-YOUSQIIK.js} +1 -1
  179. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  180. package/{chunk-IYLUK67R.js → chunk-YU235GGN.js} +25 -8
  181. package/chunk-YWEZSBLL.js +790 -0
  182. package/chunk-Z3KTXWWB.js +76 -0
  183. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  184. package/chunk-ZD7OULYZ.js +368 -0
  185. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  186. package/{chunk-HQUGB2HM.js → chunk-ZTCMXPIS.js} +62 -50
  187. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-KMXS7JP5.js} +20 -14
  188. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  189. package/cliAuthorityBrokerProcess-DCCUT4YQ.js +34 -0
  190. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-YDGDHIEE.js} +5 -2
  191. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  192. package/cliLocalAgentRecordReader-X2YHEBWI.js +113 -0
  193. package/cloudAutomationCommands-C6Q3BFRB.js +310 -0
  194. package/{commandRegistry-IFYQLPGM.js → commandRegistry-TYYYTW5E.js} +260 -121
  195. package/{contentThunks-QCFCD2X3.js → contentThunks-E6BJ5YSX.js} +45 -43
  196. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  197. package/createAgentAutomationAction-L3NLCIIW.js +172 -0
  198. package/{createDialogAction-ZAJERW62.js → createDialogAction-QSWKRPWQ.js} +46 -42
  199. package/{createPageAction-QCVBMP4C.js → createPageAction-ZVVUT4CZ.js} +49 -45
  200. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  201. package/{dbSlice-RWPSVHBC.js → dbSlice-SEVKNA7A.js} +21 -16
  202. package/deleteDbKey-43MTK2DI.js +86 -0
  203. package/{dialogCommands-4IEQUALS.js → dialogCommands-UVMTIFSA.js} +80 -66
  204. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  205. package/{dialogNotifyCommand-IASQGEMW.js → dialogNotifyCommand-LMWF7EQI.js} +22 -14
  206. package/dialogPortabilityCommands-PAMLEBST.js +3036 -0
  207. package/{dialogSlice-XFYID6KE.js → dialogSlice-VHPXENDZ.js} +43 -42
  208. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
  209. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
  210. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-H4RLIUNX.js} +68 -59
  211. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-OVAKCBMT.js} +68 -59
  212. package/{docReadCommands-EXQI7ETH.js → docReadCommands-KFISIUVA.js} +67 -58
  213. package/{docStore-MWFUKZL2.js → docStore-X7BEA735.js} +16 -17
  214. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-VOEER36L.js} +68 -59
  215. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  216. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  217. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  218. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
  219. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-PJAIKZQP.js} +138 -122
  220. package/index.js +35 -21
  221. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  222. package/localAutomationCommands-UU66LOWB.js +198 -0
  223. package/localAutomationRuntime-SW4R42SZ.js +60 -0
  224. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  225. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-WRBLXFUZ.js} +136 -119
  226. package/localRuntimeAuthority-3YDFZD3L.js +44 -0
  227. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-CJWJK47G.js} +1 -1
  228. package/{machineCommands-CL5XK5UC.js → machineCommands-JFYED66N.js} +251 -357
  229. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  230. package/machineWsRunDispatch-CZUV2FXE.js +227 -0
  231. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-HLU72QME.js} +40 -22
  232. package/mcpLocalManageCommands-OHHU6F5C.js +212 -0
  233. package/{memberThunks-43B7UYC5.js → memberThunks-FJW4GPM5.js} +102 -22
  234. package/{memoryCommands-BC6REPQB.js → memoryCommands-2RLHDMU2.js} +25 -34
  235. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  236. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  237. package/package.json +3 -3
  238. package/parityCommands-7EWR34P3.js +613 -0
  239. package/{projectArchive-OC63TWTD.js → projectArchive-JIVRMXVV.js} +49 -45
  240. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  241. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  242. package/{read-KG6INYUT.js → read-6YR57D6V.js} +11 -10
  243. package/{readDocTool-N3GA52JR.js → readDocTool-NKOGL2MW.js} +5 -1
  244. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-V26AN2FL.js} +926 -572
  245. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  246. package/remove-BF33RCTH.js +32 -0
  247. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-GWHBWF4W.js} +22 -26
  248. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
  249. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
  250. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  251. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-RL6FGO7T.js} +16 -17
  252. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-XJASBB3K.js} +23 -27
  253. package/{settingThunks-DVKG4X4S.js → settingThunks-ZT7ZYXXL.js} +170 -497
  254. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  255. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-65WQHVOI.js} +68 -57
  256. package/spacePruneCommand-PTMRUWYJ.js +233 -0
  257. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  258. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-B5NICHZW.js} +225 -137
  259. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-X6DFOIAX.js} +19 -23
  260. package/{tableCommands-EFA754RE.js → tableCommands-6E77VD73.js} +28 -49
  261. package/{toolApiClient-N5PYW2R3.js → toolApiClient-GTTWEV6P.js} +15 -4
  262. package/{tools-2Q2LBDUC.js → tools-UMCPIQX6.js} +73 -63
  263. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-O7UDLNQU.js} +20 -13
  264. package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
  265. package/{updateCommands-GJGRS6JK.js → updateCommands-DXDIAQFS.js} +12 -7
  266. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-HZLKWVKM.js} +57 -58
  267. package/{usageCommand-WI6SQOPB.js → usageCommand-WYLNBDHB.js} +6 -8
  268. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-AEUPY2PE.js} +11 -15
  269. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  270. package/workContext-ZAW6VXT7.js +18 -0
  271. package/workContextQueryProjection-CACY5VFE.js +23 -0
  272. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  273. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  274. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  275. package/agentRunCommand-DMVGBPLI.js +0 -232
  276. package/chunk-2MBTWINN.js +0 -89
  277. package/chunk-523DITKR.js +0 -32
  278. package/chunk-BUDVRYES.js +0 -2213
  279. package/chunk-BZMDWGQQ.js +0 -47
  280. package/chunk-GAHJLSDO.js +0 -107
  281. package/chunk-GYX6XTAI.js +0 -84
  282. package/chunk-HNUWUO75.js +0 -93
  283. package/chunk-HSBHS6KT.js +0 -33401
  284. package/chunk-KG27JIG4.js +0 -136
  285. package/chunk-OB4FBZXJ.js +0 -364
  286. package/chunk-OKH74FML.js +0 -3746
  287. package/chunk-OLZBQWZU.js +0 -6
  288. package/chunk-OOV5JN25.js +0 -1317
  289. package/chunk-OQFOE4SJ.js +0 -405
  290. package/chunk-PXYBUFDB.js +0 -53
  291. package/chunk-R3FZHW4Q.js +0 -103
  292. package/chunk-R3MV2GII.js +0 -106
  293. package/chunk-SCAC3NM5.js +0 -11751
  294. package/chunk-SR4FE5VD.js +0 -9
  295. package/chunk-SYTHYBMI.js +0 -3558
  296. package/chunk-UKZX3NHN.js +0 -48
  297. package/chunk-UVLYNWIE.js +0 -74
  298. package/chunk-VQX5JJNI.js +0 -861
  299. package/chunk-X4O7FJF5.js +0 -160
  300. package/chunk-YJPK35HB.js +0 -175
  301. package/chunk-YNIYE47Z.js +0 -105
  302. package/chunk-Z4PCXPUE.js +0 -127
  303. package/chunk-ZR5IVL4N.js +0 -862
  304. package/chunk-ZTHAJU3O.js +0 -2537
  305. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  306. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  307. package/deleteFile-ECU6FU5C.js +0 -55
  308. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  309. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  310. package/markdownToSlate-PXYAIBVL.js +0 -8
  311. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  312. package/webapi-QVV65DQF.js +0 -2487
  313. package/workContext-Y3ADAPZU.js +0 -14
  314. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  315. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  316. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -0,0 +1,148 @@
1
+ // packages/ai/token/applyTokenUsageToDayStats.ts
2
+ var ZERO_STATS = {
3
+ count: 0,
4
+ tokens: { input: 0, output: 0, cacheRead: 0, cacheCreation: 0 },
5
+ cost: 0,
6
+ failedCount: 0
7
+ };
8
+ function normalizeStats(s) {
9
+ if (!s) return { ...ZERO_STATS };
10
+ const t = s.tokens;
11
+ return {
12
+ count: s.count ?? 0,
13
+ tokens: {
14
+ input: t?.input ?? 0,
15
+ output: t?.output ?? 0,
16
+ cacheRead: t?.cacheRead ?? t?.cache_read ?? 0,
17
+ cacheCreation: t?.cacheCreation ?? t?.cache_creation ?? 0
18
+ },
19
+ cost: s.cost ?? 0,
20
+ failedCount: s.failedCount ?? 0
21
+ };
22
+ }
23
+ function normalizeDayStats(prev, userId, timeKey) {
24
+ if (!prev) {
25
+ return {
26
+ userId,
27
+ period: "day",
28
+ timeKey,
29
+ total: { ...ZERO_STATS },
30
+ models: {},
31
+ providers: {},
32
+ agents: {},
33
+ entryPaths: {},
34
+ categories: {},
35
+ modelCategories: {}
36
+ };
37
+ }
38
+ const normalizeMap = (m) => {
39
+ if (!m) return {};
40
+ const out = {};
41
+ for (const [k, v] of Object.entries(m)) out[k] = normalizeStats(v);
42
+ return out;
43
+ };
44
+ const normalizedTotal = normalizeStats(prev.total);
45
+ const normalizedModels = normalizeMap(prev.models);
46
+ const normalizedProviders = normalizeMap(prev.providers);
47
+ const normalizedAgents = normalizeMap(prev.agents);
48
+ const normalizedEntryPaths = normalizeMap(prev.entryPaths);
49
+ let categories = normalizeMap(prev.categories);
50
+ let modelCategories = normalizeMap(prev.modelCategories);
51
+ const hasCategories = Object.keys(categories).length > 0;
52
+ const hasModelCategories = Object.keys(modelCategories).length > 0;
53
+ if (!hasCategories) {
54
+ const hasActivity = normalizedTotal.count > 0 || normalizedTotal.failedCount > 0 || normalizedTotal.cost > 0 || normalizedTotal.tokens.input > 0 || normalizedTotal.tokens.output > 0;
55
+ if (hasActivity) {
56
+ categories = { platform: { ...normalizedTotal } };
57
+ }
58
+ }
59
+ if (!hasModelCategories && Object.keys(normalizedModels).length > 0) {
60
+ const legacyModelCats = {};
61
+ for (const [modelKey, modelStat] of Object.entries(normalizedModels)) {
62
+ legacyModelCats[`${modelKey}:::platform`] = { ...modelStat };
63
+ }
64
+ modelCategories = legacyModelCats;
65
+ }
66
+ return {
67
+ ...prev,
68
+ total: normalizedTotal,
69
+ models: normalizedModels,
70
+ providers: normalizedProviders,
71
+ agents: normalizedAgents,
72
+ entryPaths: normalizedEntryPaths,
73
+ categories,
74
+ modelCategories
75
+ };
76
+ }
77
+ function applyTokenUsageToDayStats(prev, delta) {
78
+ const base = normalizeDayStats(prev, delta.userId, delta.timeKey);
79
+ const modelName = delta.model || "unknown";
80
+ const providerName = delta.provider || "unknown";
81
+ const cacheRead = delta.cache_read_input_tokens ?? 0;
82
+ const cacheCreation = delta.cache_creation_input_tokens ?? 0;
83
+ const isFailed = delta.status === "failed";
84
+ const category = delta.billingCategory || "platform";
85
+ const modelCategoryKey = `${modelName}:::${category}`;
86
+ const inc = (s) => {
87
+ const n = normalizeStats(s);
88
+ if (isFailed) {
89
+ return {
90
+ ...n,
91
+ failedCount: n.failedCount + 1
92
+ };
93
+ }
94
+ return {
95
+ count: n.count + 1,
96
+ tokens: {
97
+ input: n.tokens.input + delta.input_tokens,
98
+ output: n.tokens.output + delta.output_tokens,
99
+ cacheRead: n.tokens.cacheRead + cacheRead,
100
+ cacheCreation: n.tokens.cacheCreation + cacheCreation
101
+ },
102
+ // 非计费记录(订阅/OAuth/CLI,billable=false)不向平台积分统计贡献 cost:
103
+ // 订阅已付费、不按 token 计费,若不归零,图表「成本」视图会把订阅用量误显示为积分消耗。
104
+ cost: Number((n.cost + (category === "subscription" ? 0 : delta.cost)).toFixed(6)),
105
+ failedCount: n.failedCount
106
+ };
107
+ };
108
+ const result = {
109
+ ...base,
110
+ total: inc(base.total),
111
+ models: {
112
+ ...base.models,
113
+ [modelName]: inc(base.models[modelName])
114
+ },
115
+ providers: {
116
+ ...base.providers,
117
+ [providerName]: inc(base.providers[providerName])
118
+ },
119
+ categories: {
120
+ ...base.categories,
121
+ [category]: inc(base.categories?.[category])
122
+ },
123
+ modelCategories: {
124
+ ...base.modelCategories,
125
+ [modelCategoryKey]: inc(base.modelCategories?.[modelCategoryKey])
126
+ }
127
+ };
128
+ if (delta.agentId !== void 0) {
129
+ const agentKey = delta.agentId || "unknown";
130
+ result.agents = {
131
+ ...base.agents,
132
+ [agentKey]: inc(base.agents[agentKey])
133
+ };
134
+ }
135
+ if (delta.entry_path !== void 0) {
136
+ const entryKey = delta.entry_path || "unknown";
137
+ result.entryPaths = {
138
+ ...base.entryPaths,
139
+ [entryKey]: inc(base.entryPaths[entryKey])
140
+ };
141
+ }
142
+ return result;
143
+ }
144
+
145
+ export {
146
+ normalizeStats,
147
+ applyTokenUsageToDayStats
148
+ };
@@ -0,0 +1,25 @@
1
+ import {
2
+ asOptionalTrimmedString
3
+ } from "./chunk-G3SUCT4W.js";
4
+
5
+ // packages/shared/providerSecrets.ts
6
+ function providerSecretKey(presetId) {
7
+ const normalized = presetId.trim().replace(/[^a-zA-Z0-9]+/g, "_").toUpperCase();
8
+ return `${normalized}_KEY`;
9
+ }
10
+ function isAgentCredentialShared(agent) {
11
+ return agent?.credentialSynced === true;
12
+ }
13
+ function resolveOutboundProxyApiKey(credential) {
14
+ const apiKey = asOptionalTrimmedString(credential.apiKey);
15
+ if (apiKey && !isAgentCredentialShared(credential)) {
16
+ throw new Error("\u672A\u6388\u6743\u5C06\u6B64\u5BC6\u94A5\u53D1\u9001\u5230 nolo \u4EE3\u7406\u3002\u8BF7\u4F7F\u7528\u672C\u673A\u76F4\u8FDE\uFF0C\u6216\u542F\u7528\u8DE8\u8BBE\u5907\u5171\u4EAB\u540E\u91CD\u8BD5\u3002");
17
+ }
18
+ return apiKey;
19
+ }
20
+
21
+ export {
22
+ providerSecretKey,
23
+ isAgentCredentialShared,
24
+ resolveOutboundProxyApiKey
25
+ };
@@ -0,0 +1,246 @@
1
+ // packages/database-engine/authorityStoreTypes.ts
2
+ var MAX_AUTHORITY_BATCH_GET_KEYS = 512;
3
+ var authorityBacking = Symbol("authorityBacking");
4
+
5
+ // packages/database-engine/batchedIterator.ts
6
+ async function readIteratorWindow(iterator, options) {
7
+ const resolveBatchSize = () => {
8
+ const raw = typeof options.batchSize === "function" ? options.batchSize() : options.batchSize ?? 64;
9
+ return Math.max(1, Math.min(raw, 512));
10
+ };
11
+ const maxEntries = options.maxEntries ?? Number.POSITIVE_INFINITY;
12
+ let emitted = 0;
13
+ try {
14
+ if (maxEntries <= 0) return;
15
+ if (typeof iterator.nextv === "function") {
16
+ while (emitted < maxEntries) {
17
+ const batchSize = resolveBatchSize();
18
+ const remaining = Number.isFinite(maxEntries) ? Math.min(batchSize, maxEntries - emitted) : batchSize;
19
+ if (remaining <= 0) break;
20
+ const chunk = await iterator.nextv(remaining);
21
+ if (!chunk || chunk.length === 0) break;
22
+ emitted += chunk.length;
23
+ const keepGoing = await options.onBatch(chunk);
24
+ if (keepGoing === false) break;
25
+ }
26
+ return;
27
+ }
28
+ let buffer = [];
29
+ for await (const entry of iterator) {
30
+ buffer.push(entry);
31
+ emitted += 1;
32
+ const batchSize = resolveBatchSize();
33
+ if (buffer.length >= batchSize || emitted >= maxEntries) {
34
+ const chunk = buffer;
35
+ buffer = [];
36
+ const keepGoing = await options.onBatch(chunk);
37
+ if (keepGoing === false || emitted >= maxEntries) break;
38
+ }
39
+ }
40
+ if (buffer.length > 0 && emitted <= maxEntries) {
41
+ await options.onBatch(buffer);
42
+ }
43
+ } finally {
44
+ await iterator.close?.();
45
+ }
46
+ }
47
+ async function batchGetViaSingleGet(get, keys) {
48
+ if (keys.length === 0) return [];
49
+ const out = [];
50
+ for (let offset = 0; offset < keys.length; offset += MAX_AUTHORITY_BATCH_GET_KEYS) {
51
+ const slice = keys.slice(offset, offset + MAX_AUTHORITY_BATCH_GET_KEYS);
52
+ const uniqueKeys = [];
53
+ const keyToIdx = /* @__PURE__ */ new Map();
54
+ for (const k of slice) {
55
+ if (!keyToIdx.has(k)) {
56
+ keyToIdx.set(k, uniqueKeys.length);
57
+ uniqueKeys.push(k);
58
+ }
59
+ }
60
+ const uniqueResults = await Promise.all(
61
+ uniqueKeys.map(async (key) => {
62
+ try {
63
+ const value = await get(key);
64
+ if (value === void 0) {
65
+ return { ok: false, error: { code: "NOT_FOUND", message: "Key not found" } };
66
+ }
67
+ return { ok: true, value };
68
+ } catch (error) {
69
+ const isNotFound = error?.notFound === true || error?.code === "LEVEL_NOT_FOUND" || error?.code === "NOT_FOUND";
70
+ return {
71
+ ok: false,
72
+ error: {
73
+ code: isNotFound ? "NOT_FOUND" : typeof error?.code === "string" ? error.code : "STORAGE_ERROR",
74
+ message: error instanceof Error ? error.message : String(error)
75
+ }
76
+ };
77
+ }
78
+ })
79
+ );
80
+ for (const k of slice) {
81
+ out.push(uniqueResults[keyToIdx.get(k)]);
82
+ }
83
+ }
84
+ return out;
85
+ }
86
+ function createBatchedStoreIterator(store, options) {
87
+ return store.iterator(options);
88
+ }
89
+
90
+ // packages/cli/levelLazyShim.mjs
91
+ import { createRequire } from "node:module";
92
+ var _require = createRequire(import.meta.url);
93
+ var _RealLevel;
94
+ function ensureLevel() {
95
+ if (!_RealLevel) {
96
+ _RealLevel = _require("level").Level;
97
+ }
98
+ return _RealLevel;
99
+ }
100
+ var Level = class {
101
+ /** `Level` 就是 classic-level 的 ClassicLevel,静态 repair 同样要懒加载。 */
102
+ static repair(location) {
103
+ return ensureLevel().repair(location);
104
+ }
105
+ constructor(...args) {
106
+ const RealLevel = ensureLevel();
107
+ return new RealLevel(...args);
108
+ }
109
+ };
110
+
111
+ // packages/database-engine/levelAuthorityStore.ts
112
+ var safeJsonEncoding = {
113
+ name: "safe-json",
114
+ format: "utf8",
115
+ encode: (data) => JSON.stringify(data),
116
+ decode: (data) => {
117
+ try {
118
+ return JSON.parse(data);
119
+ } catch {
120
+ console.warn("[LevelDB] Corrupted value:", data?.substring?.(0, 60));
121
+ return null;
122
+ }
123
+ }
124
+ };
125
+ function createLevelAuthorityStore(source, openOptions) {
126
+ const levelDb = typeof source === "string" ? new Level(source, {
127
+ valueEncoding: safeJsonEncoding,
128
+ ...openOptions?.cacheSize !== void 0 ? { cacheSize: openOptions.cacheSize } : {},
129
+ ...openOptions?.writeBufferSize !== void 0 ? { writeBufferSize: openOptions.writeBufferSize } : {},
130
+ ...openOptions?.blockSize !== void 0 ? { blockSize: openOptions.blockSize } : {},
131
+ ...openOptions?.compression !== void 0 ? { compression: openOptions.compression } : {},
132
+ ...openOptions?.maxOpenFiles !== void 0 ? { maxOpenFiles: openOptions.maxOpenFiles } : {}
133
+ }) : source;
134
+ const writeBatchOps = async (ops) => {
135
+ const result = levelDb.batch(ops);
136
+ if (result && typeof result.then === "function") {
137
+ await result;
138
+ return;
139
+ }
140
+ if (result && typeof result.write === "function") {
141
+ const writer = result;
142
+ for (const op of ops) {
143
+ if (op.type === "put") {
144
+ writer.put(op.key, op.value);
145
+ } else {
146
+ writer.del(op.key);
147
+ }
148
+ }
149
+ await writer.write();
150
+ return;
151
+ }
152
+ throw new Error("Level backing does not support batch writes");
153
+ };
154
+ const batchGet = async (keys) => {
155
+ if (!Array.isArray(keys)) {
156
+ throw new Error("batchGet keys must be an array");
157
+ }
158
+ if (keys.length === 0) return [];
159
+ if (keys.length > MAX_AUTHORITY_BATCH_GET_KEYS) {
160
+ throw new Error(`batchGet exceeds maximum batch size (${MAX_AUTHORITY_BATCH_GET_KEYS})`);
161
+ }
162
+ const uniqueKeys = [];
163
+ const keyToIdx = /* @__PURE__ */ new Map();
164
+ for (const key of keys) {
165
+ if (typeof key !== "string") {
166
+ throw new Error("batchGet keys must be strings");
167
+ }
168
+ if (!keyToIdx.has(key)) {
169
+ keyToIdx.set(key, uniqueKeys.length);
170
+ uniqueKeys.push(key);
171
+ }
172
+ }
173
+ if (typeof levelDb.getMany === "function") {
174
+ const rawValues = await levelDb.getMany(uniqueKeys);
175
+ const uniqueItems = rawValues.map(
176
+ (value) => value === void 0 ? { ok: false, error: { code: "NOT_FOUND", message: "Key not found" } } : { ok: true, value }
177
+ );
178
+ return keys.map((k) => uniqueItems[keyToIdx.get(k)]);
179
+ }
180
+ return batchGetViaSingleGet((key) => levelDb.get(key), keys);
181
+ };
182
+ return {
183
+ [authorityBacking]: levelDb,
184
+ get location() {
185
+ return levelDb.location;
186
+ },
187
+ get status() {
188
+ return levelDb.status;
189
+ },
190
+ async open() {
191
+ await levelDb.open();
192
+ },
193
+ async close() {
194
+ await levelDb.close();
195
+ },
196
+ async get(key) {
197
+ return levelDb.get(key);
198
+ },
199
+ batchGet,
200
+ async put(key, value) {
201
+ await levelDb.put(key, value);
202
+ },
203
+ async del(key) {
204
+ await levelDb.del(key);
205
+ },
206
+ async batchWrite(ops) {
207
+ await writeBatchOps(ops);
208
+ },
209
+ createBatch() {
210
+ const batch = levelDb.batch();
211
+ return {
212
+ put(key, value) {
213
+ batch.put(key, value);
214
+ },
215
+ del(key) {
216
+ batch.del(key);
217
+ },
218
+ async write() {
219
+ await batch.write();
220
+ }
221
+ };
222
+ },
223
+ iterator(options = {}) {
224
+ return levelDb.iterator(options);
225
+ }
226
+ };
227
+ }
228
+
229
+ // packages/database-engine/compareUtf8Keys.ts
230
+ import { Buffer } from "node:buffer";
231
+ function compareUtf8Keys(a, b) {
232
+ return Buffer.compare(
233
+ typeof a === "string" ? Buffer.from(a, "utf8") : a,
234
+ typeof b === "string" ? Buffer.from(b, "utf8") : b
235
+ );
236
+ }
237
+
238
+ export {
239
+ MAX_AUTHORITY_BATCH_GET_KEYS,
240
+ authorityBacking,
241
+ readIteratorWindow,
242
+ createBatchedStoreIterator,
243
+ compareUtf8Keys,
244
+ Level,
245
+ createLevelAuthorityStore
246
+ };