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,408 @@
1
+ // node_modules/@noble/hashes/_u64.js
2
+ var fromNumH = (n) => n / 2 ** 32 | 0;
3
+ var fromNumL = (n) => n >>> 0;
4
+ function setU64FromNum(view, byteOffset, n, isLE) {
5
+ const h = fromNumH(n);
6
+ const l = fromNumL(n);
7
+ view.setUint32(byteOffset, isLE ? l : h, isLE);
8
+ view.setUint32(byteOffset + 4, isLE ? h : l, isLE);
9
+ }
10
+
11
+ // node_modules/@noble/hashes/utils.js
12
+ function isBytes(a) {
13
+ return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array" && "BYTES_PER_ELEMENT" in a && a.BYTES_PER_ELEMENT === 1;
14
+ }
15
+ var atitle = (title) => title ? `"${title}" ` : "";
16
+ function anumber(n, title = "") {
17
+ if (typeof n !== "number")
18
+ throw new TypeError(atitle(title) + "expected number, got " + typeof n);
19
+ if (!Number.isSafeInteger(n) || n < 0)
20
+ throw new RangeError(atitle(title) + "expected integer >= 0, got " + n);
21
+ return n;
22
+ }
23
+ function abytes(value, length, title = "") {
24
+ if (isBytes(value) && (length === void 0 || value.length === length))
25
+ return value;
26
+ if (length !== void 0)
27
+ anumber(length, "length");
28
+ const bytes = isBytes(value);
29
+ const ofLen = length !== void 0 ? ` of length ${length}` : "";
30
+ const got = bytes ? `length=${value.length}` : `type=${typeof value}`;
31
+ const message = atitle(title) + "expected Uint8Array" + ofLen + ", got " + got;
32
+ if (!bytes)
33
+ throw new TypeError(message);
34
+ throw new RangeError(message);
35
+ }
36
+ var aobject = (value, label) => {
37
+ if (value === null || typeof value !== "object" || Array.isArray(value))
38
+ throw new TypeError((label === "object" ? "" : `"${label}" `) + "expected object, got type=" + typeof value);
39
+ };
40
+ var aopts = (value, label) => {
41
+ aobject(value, label);
42
+ const proto = Object.getPrototypeOf(value);
43
+ if (proto !== Object.prototype && proto !== null)
44
+ throw new TypeError(`"${label}" expected plain object`);
45
+ if (Object.hasOwn(value, "__proto__"))
46
+ throw new TypeError(`"${label}.__proto__" is not allowed`);
47
+ };
48
+ function aexists(instance, checkFinished = true) {
49
+ if (instance.destroyed)
50
+ throw new Error("hash was destroyed");
51
+ if (checkFinished && instance.finished)
52
+ throw new Error("digest() was already called");
53
+ }
54
+ function aoutput(out, instance) {
55
+ abytes(out, void 0, "output");
56
+ const min = instance.outputLen;
57
+ if (!(out.length >= min)) {
58
+ throw new RangeError('"output" expected length >= ' + min);
59
+ }
60
+ }
61
+ function clean(...arrays) {
62
+ for (let i = 0; i < arrays.length; i++) {
63
+ arrays[i].fill(0);
64
+ }
65
+ }
66
+ function createView(arr) {
67
+ return new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
68
+ }
69
+ function rotr(word, shift) {
70
+ return word << 32 - shift | word >>> shift;
71
+ }
72
+ var hasHexBuiltin = /* @__PURE__ */ (() => (
73
+ // @ts-ignore
74
+ typeof Uint8Array.from([]).toHex === "function" && typeof Uint8Array.fromHex === "function"
75
+ ))();
76
+ var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
77
+ function bytesToHex(bytes) {
78
+ abytes(bytes);
79
+ if (hasHexBuiltin)
80
+ return bytes.toHex();
81
+ let hex = "";
82
+ for (let i = 0; i < bytes.length; i++) {
83
+ hex += hexes[bytes[i]];
84
+ }
85
+ return hex;
86
+ }
87
+ function utf8ToBytes(str) {
88
+ if (typeof str !== "string")
89
+ throw new TypeError("string expected");
90
+ const encoded = new TextEncoder().encode(str);
91
+ try {
92
+ return new Uint8Array(encoded);
93
+ } finally {
94
+ clean(encoded);
95
+ }
96
+ }
97
+ function checkOpts(defaults, opts, title = "opts") {
98
+ aopts(defaults, "defaults");
99
+ if (opts !== void 0)
100
+ aopts(opts, title);
101
+ const merged = Object.assign(/* @__PURE__ */ Object.create(null), defaults, opts);
102
+ return merged;
103
+ }
104
+ function createHasher(hashCons, info = {}) {
105
+ if (typeof hashCons !== "function")
106
+ throw new TypeError('"hashCons" expected function, got type=' + typeof hashCons);
107
+ info = checkOpts({}, info, "info");
108
+ const hashC = (msg, opts) => hashCons(opts).update(msg).digest();
109
+ const tmp = hashCons(void 0);
110
+ hashC.outputLen = tmp.outputLen;
111
+ hashC.blockLen = tmp.blockLen;
112
+ hashC.canXOF = tmp.canXOF;
113
+ hashC.create = (opts) => hashCons(opts);
114
+ Object.assign(hashC, info);
115
+ return Object.freeze(hashC);
116
+ }
117
+ var oidNist = (suffix) => ({
118
+ // Current NIST hashAlgs suffixes used here fit in one DER subidentifier octet.
119
+ // Larger suffix values would need base-128 OID encoding and a different length byte.
120
+ oid: Uint8Array.from([6, 9, 96, 134, 72, 1, 101, 3, 4, 2, suffix])
121
+ });
122
+
123
+ // node_modules/@noble/hashes/_md.js
124
+ function Chi(a, b, c) {
125
+ return a & b ^ ~a & c;
126
+ }
127
+ function Maj(a, b, c) {
128
+ return a & b ^ a & c ^ b & c;
129
+ }
130
+ var HashMD = class {
131
+ blockLen;
132
+ outputLen;
133
+ canXOF = false;
134
+ padOffset;
135
+ isLE;
136
+ // For partial updates less than block size
137
+ buffer;
138
+ view;
139
+ finished = false;
140
+ length = 0;
141
+ pos = 0;
142
+ destroyed = false;
143
+ constructor(blockLen, outputLen, padOffset, isLE) {
144
+ this.blockLen = blockLen;
145
+ this.outputLen = outputLen;
146
+ this.padOffset = padOffset;
147
+ this.isLE = isLE;
148
+ this.buffer = new Uint8Array(blockLen);
149
+ this.view = createView(this.buffer);
150
+ }
151
+ update(data) {
152
+ aexists(this);
153
+ abytes(data);
154
+ const { view, buffer, blockLen } = this;
155
+ const len = data.length;
156
+ let processed = false;
157
+ for (let pos = 0; pos < len; ) {
158
+ const take = Math.min(blockLen - this.pos, len - pos);
159
+ if (take === blockLen) {
160
+ const dataView = createView(data);
161
+ for (; blockLen <= len - pos; pos += blockLen)
162
+ this.process(dataView, pos);
163
+ processed = true;
164
+ continue;
165
+ }
166
+ buffer.set(pos === 0 && take === len ? data : data.subarray(pos, pos + take), this.pos);
167
+ this.pos += take;
168
+ pos += take;
169
+ if (this.pos === blockLen) {
170
+ this.process(view, 0);
171
+ this.pos = 0;
172
+ processed = true;
173
+ }
174
+ }
175
+ this.length += data.length;
176
+ if (processed)
177
+ this.roundClean();
178
+ return this;
179
+ }
180
+ digestInto(out) {
181
+ aexists(this);
182
+ aoutput(out, this);
183
+ this.finished = true;
184
+ const { buffer, view, blockLen, isLE } = this;
185
+ let { pos } = this;
186
+ buffer[pos++] = 128;
187
+ buffer.fill(0, pos);
188
+ if (this.padOffset > blockLen - pos) {
189
+ this.process(view, 0);
190
+ buffer.fill(0);
191
+ }
192
+ setU64FromNum(view, blockLen - 8, this.length * 8, isLE);
193
+ this.process(view, 0);
194
+ this.roundClean();
195
+ const oview = out === buffer ? view : createView(out);
196
+ const len = this.outputLen;
197
+ const outLen = len / 4;
198
+ const state = this.get();
199
+ if (len % 4 || outLen > state.length)
200
+ throw new Error("invalid outputLen");
201
+ for (let i = 0; i < outLen; i++)
202
+ oview.setUint32(4 * i, state[i], isLE);
203
+ }
204
+ digest() {
205
+ const { buffer, outputLen } = this;
206
+ this.digestInto(buffer);
207
+ const res = buffer.slice(0, outputLen);
208
+ this.destroy();
209
+ return res;
210
+ }
211
+ _cloneIntoMeta(to) {
212
+ const { buffer, length, finished, destroyed, pos } = this;
213
+ to.destroyed = destroyed;
214
+ to.finished = finished;
215
+ to.length = length;
216
+ to.pos = pos;
217
+ if (pos)
218
+ to.buffer.set(buffer);
219
+ return to;
220
+ }
221
+ clone() {
222
+ return this._cloneInto();
223
+ }
224
+ };
225
+ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
226
+ 1779033703,
227
+ 3144134277,
228
+ 1013904242,
229
+ 2773480762,
230
+ 1359893119,
231
+ 2600822924,
232
+ 528734635,
233
+ 1541459225
234
+ ]);
235
+
236
+ // node_modules/@noble/hashes/sha2.js
237
+ var SHA256_K = /* @__PURE__ */ Uint32Array.from([
238
+ 1116352408,
239
+ 1899447441,
240
+ 3049323471,
241
+ 3921009573,
242
+ 961987163,
243
+ 1508970993,
244
+ 2453635748,
245
+ 2870763221,
246
+ 3624381080,
247
+ 310598401,
248
+ 607225278,
249
+ 1426881987,
250
+ 1925078388,
251
+ 2162078206,
252
+ 2614888103,
253
+ 3248222580,
254
+ 3835390401,
255
+ 4022224774,
256
+ 264347078,
257
+ 604807628,
258
+ 770255983,
259
+ 1249150122,
260
+ 1555081692,
261
+ 1996064986,
262
+ 2554220882,
263
+ 2821834349,
264
+ 2952996808,
265
+ 3210313671,
266
+ 3336571891,
267
+ 3584528711,
268
+ 113926993,
269
+ 338241895,
270
+ 666307205,
271
+ 773529912,
272
+ 1294757372,
273
+ 1396182291,
274
+ 1695183700,
275
+ 1986661051,
276
+ 2177026350,
277
+ 2456956037,
278
+ 2730485921,
279
+ 2820302411,
280
+ 3259730800,
281
+ 3345764771,
282
+ 3516065817,
283
+ 3600352804,
284
+ 4094571909,
285
+ 275423344,
286
+ 430227734,
287
+ 506948616,
288
+ 659060556,
289
+ 883997877,
290
+ 958139571,
291
+ 1322822218,
292
+ 1537002063,
293
+ 1747873779,
294
+ 1955562222,
295
+ 2024104815,
296
+ 2227730452,
297
+ 2361852424,
298
+ 2428436474,
299
+ 2756734187,
300
+ 3204031479,
301
+ 3329325298
302
+ ]);
303
+ var SHA256_W = /* @__PURE__ */ new Uint32Array(64);
304
+ var SHA2_32B = class extends HashMD {
305
+ // We cannot use array here since array allows indexing by variable
306
+ // which means optimizer/compiler cannot use registers.
307
+ // Numeric initializers matter: starting the fields as `undefined` changes
308
+ // V8's field representation and makes sha256 3x slower (measured).
309
+ A = 0;
310
+ B = 0;
311
+ C = 0;
312
+ D = 0;
313
+ E = 0;
314
+ F = 0;
315
+ G = 0;
316
+ H = 0;
317
+ constructor(outputLen, IV) {
318
+ super(64, outputLen, 8, false);
319
+ this.A = IV[0] | 0;
320
+ this.B = IV[1] | 0;
321
+ this.C = IV[2] | 0;
322
+ this.D = IV[3] | 0;
323
+ this.E = IV[4] | 0;
324
+ this.F = IV[5] | 0;
325
+ this.G = IV[6] | 0;
326
+ this.H = IV[7] | 0;
327
+ }
328
+ get() {
329
+ const { A, B, C, D, E, F, G, H } = this;
330
+ return [A, B, C, D, E, F, G, H];
331
+ }
332
+ // prettier-ignore
333
+ set(A, B, C, D, E, F, G, H) {
334
+ this.A = A | 0;
335
+ this.B = B | 0;
336
+ this.C = C | 0;
337
+ this.D = D | 0;
338
+ this.E = E | 0;
339
+ this.F = F | 0;
340
+ this.G = G | 0;
341
+ this.H = H | 0;
342
+ }
343
+ _cloneInto(to) {
344
+ (to ||= new this.constructor()).set(...this.get());
345
+ return this._cloneIntoMeta(to);
346
+ }
347
+ process(view, offset) {
348
+ for (let i = 0; i < 16; i++, offset += 4)
349
+ SHA256_W[i] = view.getUint32(offset, false);
350
+ for (let i = 16; i < 64; i++) {
351
+ const W15 = SHA256_W[i - 15];
352
+ const W2 = SHA256_W[i - 2];
353
+ const s0 = rotr(W15, 7) ^ rotr(W15, 18) ^ W15 >>> 3;
354
+ const s1 = rotr(W2, 17) ^ rotr(W2, 19) ^ W2 >>> 10;
355
+ SHA256_W[i] = s1 + SHA256_W[i - 7] + s0 + SHA256_W[i - 16] | 0;
356
+ }
357
+ let { A, B, C, D, E, F, G, H } = this;
358
+ for (let i = 0; i < 64; i++) {
359
+ const sigma1 = rotr(E, 6) ^ rotr(E, 11) ^ rotr(E, 25);
360
+ const T1 = H + sigma1 + Chi(E, F, G) + SHA256_K[i] + SHA256_W[i] | 0;
361
+ const sigma0 = rotr(A, 2) ^ rotr(A, 13) ^ rotr(A, 22);
362
+ const T2 = sigma0 + Maj(A, B, C) | 0;
363
+ H = G;
364
+ G = F;
365
+ F = E;
366
+ E = D + T1 | 0;
367
+ D = C;
368
+ C = B;
369
+ B = A;
370
+ A = T1 + T2 | 0;
371
+ }
372
+ A = A + this.A | 0;
373
+ B = B + this.B | 0;
374
+ C = C + this.C | 0;
375
+ D = D + this.D | 0;
376
+ E = E + this.E | 0;
377
+ F = F + this.F | 0;
378
+ G = G + this.G | 0;
379
+ H = H + this.H | 0;
380
+ this.set(A, B, C, D, E, F, G, H);
381
+ }
382
+ roundClean() {
383
+ clean(SHA256_W);
384
+ }
385
+ destroy() {
386
+ this.destroyed = true;
387
+ this.set(0, 0, 0, 0, 0, 0, 0, 0);
388
+ clean(this.buffer);
389
+ }
390
+ };
391
+ var _SHA256 = class extends SHA2_32B {
392
+ constructor() {
393
+ super(32, SHA256_IV);
394
+ }
395
+ };
396
+ var sha256 = /* @__PURE__ */ createHasher(
397
+ () => new _SHA256(),
398
+ /* @__PURE__ */ oidNist(1)
399
+ );
400
+
401
+ // packages/core/sha256.ts
402
+ function sha256Hex(text) {
403
+ return bytesToHex(sha256(utf8ToBytes(text)));
404
+ }
405
+
406
+ export {
407
+ sha256Hex
408
+ };
@@ -0,0 +1,201 @@
1
+ import {
2
+ recallMemoryVNextLocal
3
+ } from "./chunk-4D4QD7FT.js";
4
+ import {
5
+ DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
6
+ buildMemoryOverlay
7
+ } from "./chunk-PVFYPUIM.js";
8
+ import {
9
+ isWorkContextState
10
+ } from "./chunk-4INJGWE3.js";
11
+ import {
12
+ applyMemoryInterpreterMutation
13
+ } from "./chunk-2ZBPWX7N.js";
14
+ import {
15
+ getMemoryStateVNext,
16
+ iterateMemoryStatesForOwnerVNext,
17
+ loadMemoryVNextCatalog
18
+ } from "./chunk-HHXF57CL.js";
19
+ import {
20
+ createMemoryKey
21
+ } from "./chunk-DLXL4NSL.js";
22
+
23
+ // packages/ai/memory/vnext/explicitItems.ts
24
+ import { isDeepStrictEqual } from "node:util";
25
+
26
+ // packages/ai/memory/vnext/explicitRekey.ts
27
+ var EXPLICIT_REKEY_BATCH_SIZE = 100;
28
+
29
+ // packages/ai/memory/vnext/explicitItems.ts
30
+ function projectExplicitMemoryItem(state, owner) {
31
+ if (state.retiredAt || state.facet !== "explicit-memory") return;
32
+ const v = state.value;
33
+ if (!v || !["episodic", "semantic", "procedural"].includes(String(v.kind))) return;
34
+ return {
35
+ id: `vnext-state-${state.id}`,
36
+ ...owner,
37
+ content: state.text,
38
+ kind: v.kind,
39
+ subjectType: v.subjectType,
40
+ subjectId: String(v.subjectId),
41
+ visibility: v.visibility,
42
+ createdAt: state.createdAt,
43
+ lastActivatedAt: state.createdAt,
44
+ activationCount: 0,
45
+ importance: Number(v.importance) || 0,
46
+ confidence: Number(v.confidence) || 0,
47
+ ...v.resident === true ? { resident: true } : {},
48
+ tags: v.tags,
49
+ patternKey: v.patternKey,
50
+ recurrenceEvidence: v.recurrenceEvidence,
51
+ provenance: v.provenance,
52
+ sourceKind: v.sourceKind,
53
+ sourceDialogId: v.sourceDialogId
54
+ };
55
+ }
56
+ async function* scanExplicitRekeyBatches(db, machineId) {
57
+ const owner = { ownerType: "user", ownerId: machineId };
58
+ let batch = [];
59
+ for await (const state of iterateMemoryStatesForOwnerVNext(db, `user:${encodeURIComponent(machineId)}`)) {
60
+ const memory = projectExplicitMemoryItem(state, owner);
61
+ if (!memory) continue;
62
+ const { content, kind, subjectType, subjectId, createdAt, confidence, importance, tags } = memory;
63
+ const topicKey = state.value.topicKey;
64
+ batch.push({ state, item: {
65
+ sourceId: state.id,
66
+ content,
67
+ kind,
68
+ subjectType,
69
+ subjectId,
70
+ createdAt,
71
+ confidence,
72
+ importance,
73
+ tags,
74
+ ...typeof topicKey === "string" ? { topicKey } : {}
75
+ } });
76
+ if (batch.length === EXPLICIT_REKEY_BATCH_SIZE) {
77
+ yield batch;
78
+ batch = [];
79
+ }
80
+ }
81
+ if (batch.length > 0) yield batch;
82
+ }
83
+ async function archiveRekeyedExplicitSnapshots(db, snapshots) {
84
+ if (snapshots.length === 0) return;
85
+ const ownerId = snapshots[0].state.ownerId;
86
+ await applyMemoryInterpreterMutation(db, ownerId, async () => {
87
+ const states = [];
88
+ const retiredAt = (/* @__PURE__ */ new Date()).toISOString();
89
+ for (const { state } of snapshots) {
90
+ const current = await getMemoryStateVNext(db, ownerId, state.id);
91
+ if (isDeepStrictEqual(current, state)) states.push({ ...state, retiredAt });
92
+ }
93
+ return {
94
+ action: states.length ? "update" : "no_op",
95
+ reason: "Explicit login snapshots acknowledged by the server",
96
+ states
97
+ };
98
+ });
99
+ }
100
+
101
+ // packages/ai/memory/storeShared.ts
102
+ var retrievalCountOf = (item) => item.activationCount ?? 0;
103
+ var touchMemoryItemsInDb = async (db, items, now = (/* @__PURE__ */ new Date()).toISOString()) => {
104
+ if (items.length === 0) return;
105
+ const batch = db.batch();
106
+ for (const item of items) {
107
+ batch.put(createMemoryKey(item.ownerType, item.ownerId, item.id), {
108
+ ...item,
109
+ // retrieval bookkeeping on legacy storage names — see doc comment above
110
+ lastActivatedAt: now,
111
+ activationCount: retrievalCountOf(item) + 1
112
+ });
113
+ }
114
+ await batch.write();
115
+ };
116
+
117
+ // packages/ai/memory/remember.ts
118
+ var RESIDENT_MAX_CONTENT_CHARS = 240;
119
+
120
+ // packages/ai/memory/vnext/pureVNextRuntime.ts
121
+ function deriveStateResident(state, ownerType) {
122
+ if (ownerType !== "user") return false;
123
+ if (state.text.trim().length > RESIDENT_MAX_CONTENT_CHARS) return false;
124
+ return state.facet === "preference" || state.facet === "style";
125
+ }
126
+ var buildSynthesizedStateItem = (state, ownerType, ownerId) => ({
127
+ id: `vnext-state-${state.id}`,
128
+ ownerType,
129
+ ownerId,
130
+ visibility: "private",
131
+ subjectType: "user",
132
+ subjectId: ownerId,
133
+ kind: "semantic",
134
+ content: state.text.trim(),
135
+ createdAt: state.createdAt,
136
+ lastActivatedAt: state.createdAt,
137
+ activationCount: 1,
138
+ importance: 0.9,
139
+ confidence: 0.9,
140
+ resident: deriveStateResident(state, ownerType)
141
+ });
142
+ async function resolvePureVNextRuntime(input) {
143
+ const { db, owners, userInput } = input;
144
+ if (owners.length === 0 || !userInput.trim()) {
145
+ return { selectedItems: [], promptBlock: buildMemoryOverlay([], { injectionEmit: input.injectionEmit }), recalledStateCount: 0 };
146
+ }
147
+ const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
148
+ const catalogs = await Promise.all(
149
+ ownerIds.map((ownerId) => loadMemoryVNextCatalog(db, ownerId))
150
+ );
151
+ const selectedItems = [];
152
+ const seenStateKeys = /* @__PURE__ */ new Set();
153
+ for (let i = 0; i < owners.length; i++) {
154
+ const owner = owners[i];
155
+ const catalog = catalogs[i];
156
+ const currentStates = catalog.states.filter(
157
+ (s) => !s.retiredAt && s.text.trim() && !isWorkContextState(s)
158
+ );
159
+ const hits = recallMemoryVNextLocal({
160
+ query: userInput,
161
+ entities: catalog.entities,
162
+ states: currentStates
163
+ });
164
+ const residents = owner.ownerType === "user" ? currentStates.filter((state) => {
165
+ const preference = state.globalResponsePreference;
166
+ return state.ownerId === ownerIds[i] && state.facet === "response_style_preference" && preference?.quote && preference.quote.length <= RESIDENT_MAX_CONTENT_CHARS && state.evidenceIds.includes(preference.evidenceId);
167
+ }) : [];
168
+ const residentIds = new Set(residents.map((state) => state.id));
169
+ for (const state of [...residents, ...hits.map((hit) => hit.state)]) {
170
+ const stateKey = `${state.ownerId}\0${state.id}`;
171
+ if (seenStateKeys.has(stateKey)) continue;
172
+ seenStateKeys.add(stateKey);
173
+ const item = buildSynthesizedStateItem(state, owner.ownerType, owner.ownerId);
174
+ if (residentIds.has(state.id) && state.globalResponsePreference) {
175
+ item.content = state.globalResponsePreference.quote;
176
+ item.resident = true;
177
+ item.sourceKind = "explicit-user-directive";
178
+ item.provenance = "stated";
179
+ }
180
+ selectedItems.push(item);
181
+ }
182
+ }
183
+ const promptBlock = buildMemoryOverlay(selectedItems, {
184
+ sources: new Map(selectedItems.map((item) => [item, "vnext"])),
185
+ injectionEmit: input.injectionEmit,
186
+ maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
187
+ });
188
+ return {
189
+ selectedItems,
190
+ promptBlock,
191
+ recalledStateCount: selectedItems.length
192
+ };
193
+ }
194
+
195
+ export {
196
+ touchMemoryItemsInDb,
197
+ scanExplicitRekeyBatches,
198
+ archiveRekeyedExplicitSnapshots,
199
+ deriveStateResident,
200
+ resolvePureVNextRuntime
201
+ };
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-UAD2WT54.js";
4
4
  import {
5
5
  toTimestampMs
6
- } from "./chunk-ADYWV732.js";
6
+ } from "./chunk-76B6YUQS.js";
7
7
  import {
8
8
  require_react
9
- } from "./chunk-RD3QLZQV.js";
9
+ } from "./chunk-YM5XULB2.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-U67V476Y.js";
@@ -80,6 +80,16 @@ function updateCurrentSpaceIfMatch(spaceId, space) {
80
80
  }
81
81
  }
82
82
 
83
+ // packages/create/space/member/membershipRequestGeneration.ts
84
+ var membershipRequestSeq = 0;
85
+ function beginMembershipRequest() {
86
+ membershipRequestSeq += 1;
87
+ return membershipRequestSeq;
88
+ }
89
+ function getLatestMembershipRequestId() {
90
+ return membershipRequestSeq;
91
+ }
92
+
83
93
  // packages/create/space/spaceMembershipStore.ts
84
94
  var import_react2 = __toESM(require_react(), 1);
85
95
  var createInitialState2 = () => ({
@@ -147,6 +157,14 @@ function setMembershipRejected(errorMessage, isRemoteUnavailable) {
147
157
  };
148
158
  notify2();
149
159
  }
160
+ function setMembershipDiscarded() {
161
+ state2 = {
162
+ ...state2,
163
+ loading: false,
164
+ membershipStatus: state2.membershipStatus === "loading" ? "idle" : state2.membershipStatus
165
+ };
166
+ notify2();
167
+ }
150
168
  function appendRecoveredMemberships(recovered) {
151
169
  if (!recovered || recovered.length === 0) return;
152
170
  if (state2.memberSpaces === null) {
@@ -213,10 +231,13 @@ export {
213
231
  setCurrentSpace,
214
232
  setCurrentSpaceBoth,
215
233
  updateCurrentSpaceIfMatch,
234
+ beginMembershipRequest,
235
+ getLatestMembershipRequestId,
216
236
  getAllMemberSpaces,
217
237
  setMemberSpaces,
218
238
  setMembershipLoading,
219
239
  setMembershipRejected,
240
+ setMembershipDiscarded,
220
241
  appendRecoveredMemberships,
221
242
  setSpaceInitialized,
222
243
  setMembershipLoaded,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-FEIVARWR.js";
3
+ } from "./chunk-RIOAPUGV.js";
4
4
 
5
5
  // packages/cli/windowsSelfUpdate.ts
6
6
  import { spawn } from "node:child_process";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveAgentImageInputSupport
3
- } from "./chunk-BZLGPM5B.js";
3
+ } from "./chunk-RNLKWUVY.js";
4
4
  import {
5
5
  TOOL_HAD_IMAGES,
6
6
  hadToolImages
7
- } from "./chunk-X4O7FJF5.js";
7
+ } from "./chunk-2MIZHEND.js";
8
8
  import {
9
9
  isCompleteInstructionOutput,
10
10
  sanitizeToolOutputText,
11
11
  scrubSecrets
12
- } from "./chunk-QIGQFON2.js";
12
+ } from "./chunk-TXMFSGRY.js";
13
13
  import {
14
14
  asTrimmedString
15
15
  } from "./chunk-3EUW3WEO.js";