nolo-cli 0.228.0-alpha.1 → 0.228.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-WZKT6XEU.js → _executeModel-GIFVXKDT.js} +89 -82
  3. package/{accountResolver-QETKNC7T.js → accountResolver-NGICIMEE.js} +1 -1
  4. package/{action-GDZDXPMB.js → action-WZTKEF5H.js} +9 -6
  5. package/{addContentAction-7RO4AMRI.js → addContentAction-MLI6GOBV.js} +14 -13
  6. package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-ARGQM22H.js} +17 -16
  7. package/{agentDeleteCommand-PZWRHNXY.js → agentDeleteCommand-UF7XVELS.js} +120 -111
  8. package/{agentEmailCommands-QTKMEICX.js → agentEmailCommands-SFHRPQYC.js} +120 -107
  9. package/agentListCommands-IXKBP3W5.js +644 -0
  10. package/{agentMachineCommands-7QGICJLM.js → agentMachineCommands-7NX6PWQ6.js} +56 -48
  11. package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-C5T7C5KZ.js} +2 -2
  12. package/{agentPullCommand-KHV4EELF.js → agentPullCommand-4EQZYHU4.js} +1 -1
  13. package/agentRecordCommands-IUNX6XD6.js +188 -0
  14. package/{agentRunCommand-OFQLOF5Y.js → agentRunCommand-LCR4XADM.js} +127 -111
  15. package/{agentRunControl-MBG4U6SL.js → agentRunControl-RN2P6AOD.js} +11 -9
  16. package/{agentRuntimeLocal-TU4LA353.js → agentRuntimeLocal-LVXPQ7QA.js} +57 -43
  17. package/{agentSlice-L4SBGWTB.js → agentSlice-ZGMOH6TE.js} +15 -14
  18. package/{appDeleteCommands-JWP3XPUA.js → appDeleteCommands-BESCJOQM.js} +56 -48
  19. package/{appDeployCommands-6E4TQCWI.js → appDeployCommands-LPTR6IOX.js} +56 -48
  20. package/{appDeployStatusCommands-ALU4SADG.js → appDeployStatusCommands-BZ7KZ5RD.js} +56 -48
  21. package/{appGetCommands-JEY4L6L4.js → appGetCommands-EDWGJV4S.js} +56 -48
  22. package/{appListCommands-PCAVHU7M.js → appListCommands-OPRWYPM6.js} +56 -48
  23. package/{authCommand-CGRIIOOV.js → authCommand-3C3RN4OU.js} +25 -19
  24. package/{authCommands-55OGQGCR.js → authCommands-ZMVEDCQD.js} +12 -6
  25. package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-VRCMQ77Q.js} +7 -7
  26. package/{chromeCommands-G5UDKVSV.js → chromeCommands-O4IIKTBD.js} +384 -7
  27. package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-NZITLHWO.js} +3 -3
  28. package/{chunk-AUAJTAFM.js → chunk-2BKNICGK.js} +4 -4
  29. package/{chunk-QYB23WUH.js → chunk-2FK2KZSL.js} +1 -1
  30. package/chunk-2SXN7LAY.js +15 -0
  31. package/{chunk-H6L2NFHY.js → chunk-3DJJ4CFG.js} +11 -11
  32. package/{chunk-TSPMLCWI.js → chunk-4IQN6FWY.js} +5 -5
  33. package/{chunk-GUXZK7SE.js → chunk-4OXPN3WC.js} +17 -6
  34. package/chunk-4ZCTKB27.js +31 -0
  35. package/chunk-53W5BXLN.js +340 -0
  36. package/{chunk-3P54D2E4.js → chunk-5HUO7SEX.js} +9 -107
  37. package/chunk-6ASGEP5D.js +21 -0
  38. package/{chunk-DDC6P6EH.js → chunk-6CXQ3YNJ.js} +68 -40
  39. package/{chunk-G7IUT2V3.js → chunk-6MTVACLN.js} +365 -64
  40. package/{chunk-ZOHO6MOF.js → chunk-6RSNVJGO.js} +2 -99
  41. package/{chunk-XSW4EXQV.js → chunk-6TVYUQRM.js} +55 -18
  42. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  43. package/{chunk-7Z6EW7AH.js → chunk-6XVPMGXK.js} +97 -11
  44. package/{chunk-ALAES342.js → chunk-73PZD7JZ.js} +9 -5
  45. package/{chunk-2MCB7CD7.js → chunk-7UVVLYKC.js} +9 -9
  46. package/{chunk-S6FDXXZV.js → chunk-ADOOL3PG.js} +2 -2
  47. package/{chunk-OWKNSIXL.js → chunk-AEZBAFC6.js} +334 -77
  48. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  49. package/{chunk-RG2DGNL6.js → chunk-ARFCL53U.js} +5 -5
  50. package/{chunk-SRCCSTIM.js → chunk-AS6L5KSD.js} +4 -4
  51. package/{chunk-GPOV42YM.js → chunk-BAH3BAUZ.js} +8 -8
  52. package/{chunk-N5Z2V73W.js → chunk-BFKJ2RS3.js} +1 -1
  53. package/{chunk-F6Z6ZCUV.js → chunk-BVEDT6DM.js} +3 -3
  54. package/chunk-C5A54QS7.js +108 -0
  55. package/{chunk-CD3RU7XL.js → chunk-CD2DK5JA.js} +120 -14
  56. package/{chunk-BP5ZJ6B4.js → chunk-CD64YXRB.js} +1 -1
  57. package/{chunk-VP3BINY7.js → chunk-CIGCTSBF.js} +31 -1
  58. package/{chunk-D6YNCNM6.js → chunk-CIUZXD5D.js} +12 -12
  59. package/{chunk-EVGU5P4U.js → chunk-CO6E7YK6.js} +1 -1
  60. package/{chunk-VMJVAJ6W.js → chunk-CTIEJRTP.js} +28 -4
  61. package/{chunk-7JGMNKKG.js → chunk-CTWCZKNS.js} +29 -8
  62. package/{chunk-YFLVRVYK.js → chunk-D25ONVOH.js} +1 -1
  63. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  64. package/{chunk-262R3XNN.js → chunk-E5RYFR7E.js} +334 -103
  65. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  66. package/{chunk-HSSBDZLD.js → chunk-EDT65EUE.js} +6 -6
  67. package/{chunk-IAAIUH64.js → chunk-EQZQUQ33.js} +7 -7
  68. package/{chunk-HBRDSQ3M.js → chunk-ESN4WNWU.js} +3 -2
  69. package/{chunk-2YGBI2XB.js → chunk-FE7G6DSP.js} +11 -1
  70. package/{chunk-547ENH5T.js → chunk-FFFKAOJN.js} +4 -4
  71. package/{chunk-5ZUOVCKT.js → chunk-FGHEF6WI.js} +3 -1
  72. package/{chunk-IXG6YXQM.js → chunk-FTWAOKFU.js} +795 -361
  73. package/chunk-GAHJLSDO.js +107 -0
  74. package/{chunk-2X7WFDT6.js → chunk-GX6DITLQ.js} +1 -1
  75. package/{chunk-GYS5FUYR.js → chunk-HCCQEMTK.js} +28 -28
  76. package/{chunk-CMMI3DAT.js → chunk-HZDK56EK.js} +33 -26
  77. package/{chunk-UE2EVEYS.js → chunk-IIOSZAJX.js} +4 -4
  78. package/chunk-IIRJ4P4I.js +24 -0
  79. package/{chunk-QCB42576.js → chunk-IJZC2KIJ.js} +1 -1
  80. package/{chunk-RYOLWYBK.js → chunk-ITBX27W6.js} +97 -21
  81. package/{chunk-VSYTM22R.js → chunk-J2VIGDJN.js} +6 -6
  82. package/{chunk-QBZCGP34.js → chunk-JEWMQR6J.js} +1 -1
  83. package/{chunk-6QHKRARD.js → chunk-JFRJEPFI.js} +29 -5
  84. package/{chunk-S6K5F3KP.js → chunk-JP2BH4NC.js} +1 -1
  85. package/{chunk-MDZWUD3R.js → chunk-JU7VN4LF.js} +38 -29
  86. package/{chunk-RTHFJZ6M.js → chunk-K26XPZRB.js} +2 -2
  87. package/{chunk-ZYKJBRZ3.js → chunk-K7VIXYTZ.js} +1 -3
  88. package/chunk-KK3FCYZM.js +647 -0
  89. package/chunk-KLAMJNKQ.js +33394 -0
  90. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  91. package/chunk-KXOPLLFP.js +190 -0
  92. package/{chunk-GOCSSER3.js → chunk-KZ5OD2MO.js} +4 -4
  93. package/{chunk-ILHQ2AXT.js → chunk-KZAT2M2V.js} +14 -8
  94. package/chunk-LHCGKAFO.js +739 -0
  95. package/{chunk-XJPLSAPJ.js → chunk-LMGFVH65.js} +107 -104
  96. package/{chunk-QRGDJA4B.js → chunk-LTVEOOZL.js} +19 -6
  97. package/{chunk-L32W3PRP.js → chunk-MAA42MMV.js} +233 -17
  98. package/{chunk-ATEKLSLR.js → chunk-MTM4LRVG.js} +14 -9
  99. package/chunk-MVOZ22RZ.js +26 -0
  100. package/{chunk-2NPD3FTX.js → chunk-MYYNZG2M.js} +139 -39
  101. package/{chunk-DBUR22G5.js → chunk-MZVCFV3T.js} +19 -15
  102. package/{chunk-K67C2JUC.js → chunk-N74XL3NI.js} +9 -9
  103. package/{chunk-VS276URX.js → chunk-NEG5LYK5.js} +1 -1
  104. package/{chunk-RBPUNSG5.js → chunk-OAZP4TSA.js} +18 -108
  105. package/{chunk-SMJEXX2S.js → chunk-ODBYGVO2.js} +232 -10
  106. package/{chunk-M4SFKP5L.js → chunk-OHUYN3YU.js} +3 -3
  107. package/{chunk-HYLRQDEE.js → chunk-OLGFIQN2.js} +6 -6
  108. package/{chunk-M3JEW6N6.js → chunk-OYUMJMC5.js} +15 -0
  109. package/chunk-P27E22MA.js +203 -0
  110. package/{chunk-BIWI5M4E.js → chunk-PBPXXMWZ.js} +1 -1
  111. package/{chunk-OBSEKCVK.js → chunk-PQ63BDV3.js} +210 -51
  112. package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
  113. package/{chunk-OG6MQOQG.js → chunk-QMNVV3YM.js} +10 -37
  114. package/{chunk-GACR7H6T.js → chunk-R5NRFXGD.js} +5 -5
  115. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  116. package/{chunk-4WVJLODK.js → chunk-RHBD22LV.js} +9 -4
  117. package/{chunk-EXJK7TQO.js → chunk-RMWDKLBE.js} +1520 -562
  118. package/{chunk-TGNIKIHR.js → chunk-RR3MB26M.js} +2 -2
  119. package/{chunk-OOJNQK6V.js → chunk-S25VJYXV.js} +8 -2
  120. package/{chunk-STJ6LSQE.js → chunk-SCMYAGQE.js} +1135 -712
  121. package/{chunk-YKY4OVOX.js → chunk-SPU3L3OR.js} +17 -170
  122. package/chunk-SR4FE5VD.js +9 -0
  123. package/{chunk-DUUDXSLX.js → chunk-SX6AWTNK.js} +28 -4
  124. package/{chunk-ZH3KXFHS.js → chunk-TMRJGSK2.js} +1 -1
  125. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  126. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  127. package/{chunk-UAIHKQIA.js → chunk-U6RD332P.js} +18 -2
  128. package/{chunk-3U44JB3O.js → chunk-UF6J7NXV.js} +1 -1
  129. package/{chunk-Q3IVPFVO.js → chunk-UHW6SCVK.js} +1 -1
  130. package/chunk-UOUMPHS5.js +103 -0
  131. package/{chunk-HHFGE2WF.js → chunk-UPOW5HTG.js} +5 -5
  132. package/{chunk-DEA37IUY.js → chunk-V4IYI3SB.js} +2 -2
  133. package/{chunk-UWAIJOF2.js → chunk-VKCPKCSS.js} +66 -92
  134. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  135. package/{chunk-OBIC6EG7.js → chunk-VUHKG4KS.js} +3 -3
  136. package/{chunk-EEOOBRA7.js → chunk-W3HSD32M.js} +13 -6
  137. package/{chunk-P2ZLUIW2.js → chunk-W6T4FNZP.js} +351 -26
  138. package/chunk-WDWZPASX.js +29 -0
  139. package/chunk-WFGNWWJI.js +326 -0
  140. package/{chunk-R6Z5S5GA.js → chunk-WQDTSK5U.js} +51 -14
  141. package/{chunk-OYU2MA5S.js → chunk-X22AUZKL.js} +152 -167
  142. package/{chunk-4ZGPHFLE.js → chunk-X3OZ655T.js} +2 -2
  143. package/{chunk-NHY322ZU.js → chunk-XCA4WHX5.js} +588 -64
  144. package/{chunk-TI2EPRHE.js → chunk-XJSEST7D.js} +3 -3
  145. package/{chunk-JUSHVFNF.js → chunk-XNTZD4AE.js} +1230 -1356
  146. package/chunk-XSRSAU3O.js +133 -0
  147. package/{chunk-CYWNWA77.js → chunk-Y4NPF2UN.js} +6 -3
  148. package/{chunk-FJSNBZXR.js → chunk-YDRRGVT5.js} +1 -1
  149. package/{chunk-R3NEQZ53.js → chunk-YFW4H6DL.js} +405 -338
  150. package/{chunk-BNMPUQW6.js → chunk-YGDYYFRX.js} +20 -24
  151. package/{chunk-4N6G2CKP.js → chunk-YHNUDTU4.js} +49 -3
  152. package/chunk-YJPK35HB.js +175 -0
  153. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  154. package/{chunk-AGYPUBFW.js → chunk-Z7KE4K3H.js} +195 -123
  155. package/{chunk-DGYCDA6W.js → chunk-ZM5AZTQG.js} +20 -13
  156. package/{chunk-CBUZ6DKA.js → chunk-ZQ6K57FJ.js} +1 -1
  157. package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-37ZNEY5Y.js} +9 -9
  158. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  159. package/{cliLocalAgentRecordReader-M3F76NIP.js → cliLocalAgentRecordReader-MCQVRWBR.js} +59 -47
  160. package/{commandRegistry-ZLWHQVAI.js → commandRegistry-NTH5IAN5.js} +104 -92
  161. package/{contentThunks-4ZX2TO7C.js → contentThunks-SPXTX5U2.js} +38 -36
  162. package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-TIFCHCUN.js} +1 -1
  163. package/{createAgentAutomationAction-L4CYUZJG.js → createAgentAutomationAction-KUQKCOXB.js} +38 -36
  164. package/{createDialogAction-QTU2R2Q3.js → createDialogAction-HJN5U3XS.js} +39 -37
  165. package/{createPageAction-F3GJTHW2.js → createPageAction-ZAHRDOAU.js} +43 -41
  166. package/{db-M7FU2GNK.js → db-CMUTP3W5.js} +2 -2
  167. package/{dbSlice-XRUZOGSU.js → dbSlice-656PMWR2.js} +13 -12
  168. package/{deleteFile-6URDHYRB.js → deleteFile-ZCQESEEQ.js} +10 -7
  169. package/{dialogCommands-NRLCOPJR.js → dialogCommands-KZTZLWPZ.js} +61 -54
  170. package/dialogMessageRecord-OAV77LT7.js +7 -0
  171. package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-PST75COP.js} +11 -11
  172. package/{dialogSlice-P2S4LXQD.js → dialogSlice-BXIERQHO.js} +39 -37
  173. package/{dialogUsageCommand-W2WCSGKF.js → dialogUsageCommand-6RW2FY6K.js} +5 -5
  174. package/{docCreateCommands-YJRDA3RX.js → docCreateCommands-26HJ5NAY.js} +55 -47
  175. package/{docDeleteCommands-A5QIHZNF.js → docDeleteCommands-UAOHH5XK.js} +57 -49
  176. package/{docReadCommands-CF2LTMYH.js → docReadCommands-4ADG7YE6.js} +55 -47
  177. package/{docStore-6O7NYL6A.js → docStore-FZ75HWP2.js} +15 -14
  178. package/{docUpdateCommands-QRKV4ZXE.js → docUpdateCommands-OGFJZENF.js} +55 -47
  179. package/fetchMessages-TQEUZD7H.js +1 -1
  180. package/{getPricing-LF5C4XSI.js → getPricing-FCHYVRJU.js} +4 -4
  181. package/{handleSendMessageAction-7IHLR37A.js → handleSendMessageAction-KP6GGBFY.js} +84 -79
  182. package/{hostCredentialCreate-VNCQUAFT.js → hostCredentialCreate-23TX56G7.js} +119 -105
  183. package/index.js +8 -8
  184. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  185. package/{localDialogRead-CCOCVGAP.js → localDialogRead-CIOTQM5T.js} +1 -1
  186. package/{localRuntimeAdapter-FOWVNMIK.js → localRuntimeAdapter-MTUWOYPN.js} +126 -111
  187. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-TYHQCTZN.js} +5 -3
  188. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-BO7IVWAZ.js} +1 -1
  189. package/{machineCommands-ZGC3J4JB.js → machineCommands-4WJUJQHW.js} +260 -323
  190. package/{machineWsRunDispatch-KK5U4M3G.js → machineWsRunDispatch-V3U4JM67.js} +115 -102
  191. package/markdownToSlate-KIYM7B3P.js +8 -0
  192. package/mcpLocalAuthorizeCommand-TI656UWC.js +106 -0
  193. package/{memberThunks-7Y3OYSJQ.js → memberThunks-JFYC4Z5L.js} +20 -15
  194. package/{models-H5NNZRLH.js → models-EP7VG6N2.js} +2 -2
  195. package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
  196. package/package.json +1 -1
  197. package/{projectArchive-7ZDYBXAX.js → projectArchive-NU2Z5HOR.js} +45 -43
  198. package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-4H7YP5D7.js} +6 -6
  199. package/{providerRegistry-ZI2KORJ7.js → providerRegistry-F3UPOTIY.js} +6 -6
  200. package/{read-TYMBGEXO.js → read-BRZHXUJ6.js} +9 -8
  201. package/{readDocTool-SKQVHBLO.js → readDocTool-N7RVFQEE.js} +1 -1
  202. package/{readlineWorkspace-YHT4SX2C.js → readlineWorkspace-T56MRMS5.js} +6426 -3669
  203. package/rememberExplicit-CPAPONSI.js +15 -0
  204. package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-J7XU7OUX.js} +19 -18
  205. package/{runAgentClientLoop-H4ED5V3K.js → runAgentClientLoop-O2GRCGRZ.js} +97 -75
  206. package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-RDRJXMXC.js} +8 -8
  207. package/{secretCommands-KZWBZIYS.js → secretCommands-2FEMRUFM.js} +3 -3
  208. package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-Q4V2ZZW2.js} +16 -15
  209. package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-742H5S6T.js} +19 -18
  210. package/{settingThunks-ZRGWVGZD.js → settingThunks-T4FXSV6M.js} +185 -66
  211. package/{skillDiscovery-I37M5KJC.js → skillDiscovery-MDDKPTW3.js} +4 -3
  212. package/{spaceCommands-MEH3HJBC.js → spaceCommands-W5TAVFDT.js} +59 -51
  213. package/{streamAgentChatTurn-ZXPOXU33.js → streamAgentChatTurn-OWDJMU5E.js} +238 -178
  214. package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-HLDLHRRA.js} +17 -16
  215. package/{tableCommands-FTAOCBTX.js → tableCommands-44GC4N6J.js} +8 -5
  216. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  217. package/{tools-2MRWA2PP.js → tools-O7SGGVA3.js} +67 -62
  218. package/{tuiRestart-2IL37YIB.js → tuiRestart-EOGC2BYY.js} +10 -10
  219. package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-TM5BU73J.js} +16 -15
  220. package/{updateCommands-CPATDG6J.js → updateCommands-FBYA5WVG.js} +3 -3
  221. package/{updateDialogTitleAction-RZ3KZSGQ.js → updateDialogTitleAction-EXSZGTLL.js} +40 -38
  222. package/{usageCommand-2BF74MKF.js → usageCommand-L4OFWXEU.js} +2 -2
  223. package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-7JR33UHS.js} +3 -3
  224. package/webapi-QVV65DQF.js +2487 -0
  225. package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-M4V77OUB.js} +2 -2
  226. package/workContext-Y3ADAPZU.js +14 -0
  227. package/workContextAccess-VU5I4LKZ.js +11 -0
  228. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  229. package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-ZCSQCHG3.js} +2 -2
  230. package/agentListCommands-GUGMORTK.js +0 -1005
  231. package/agentRecordCommands-SLLADS5C.js +0 -175
  232. package/chunk-2WZXXAQD.js +0 -57
  233. package/chunk-5ZMIIR23.js +0 -265
  234. package/chunk-62HXNQVV.js +0 -134
  235. package/chunk-TUSTONB3.js +0 -81
  236. package/chunk-ZXF6D3I6.js +0 -359
  237. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
  238. /package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
@@ -8,35 +8,8 @@ import {
8
8
  getMemoryEvidenceVNext,
9
9
  getMemoryEvidenceVNextStrict,
10
10
  getMemoryStateVNext,
11
- listMemoryStatesForEntityVNext,
12
- loadMemoryVNextCatalog
11
+ listMemoryStatesForEntityVNext
13
12
  } from "./chunk-324FWHUA.js";
14
- import {
15
- recallMemoryVNextLocal
16
- } from "./chunk-4D4QD7FT.js";
17
- import {
18
- DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
19
- buildMemoryOverlay
20
- } from "./chunk-4I2MXV5Q.js";
21
- import {
22
- createMemoryKey
23
- } from "./chunk-SYTHYBMI.js";
24
-
25
- // packages/ai/memory/storeShared.ts
26
- var retrievalCountOf = (item) => item.activationCount ?? 0;
27
- var touchMemoryItemsInDb = async (db, items, now = (/* @__PURE__ */ new Date()).toISOString()) => {
28
- if (items.length === 0) return;
29
- const batch = db.batch();
30
- for (const item of items) {
31
- batch.put(createMemoryKey(item.ownerType, item.ownerId, item.id), {
32
- ...item,
33
- // retrieval bookkeeping on legacy storage names — see doc comment above
34
- lastActivatedAt: now,
35
- activationCount: retrievalCountOf(item) + 1
36
- });
37
- }
38
- await batch.write();
39
- };
40
13
 
41
14
  // packages/ai/memory/vnext/applyMutation.ts
42
15
  async function validateMutation(db, ownerId, mutation) {
@@ -301,76 +274,6 @@ var applyMemoryInterpreterMutation = async (db, ownerId, mutation) => {
301
274
  }
302
275
  };
303
276
 
304
- // packages/ai/memory/remember.ts
305
- var RESIDENT_MAX_CONTENT_CHARS = 240;
306
-
307
- // packages/ai/memory/vnext/pureVNextRuntime.ts
308
- function deriveStateResident(state, ownerType) {
309
- if (ownerType !== "user") return false;
310
- if (state.text.trim().length > RESIDENT_MAX_CONTENT_CHARS) return false;
311
- return state.facet === "preference" || state.facet === "style";
312
- }
313
- var buildSynthesizedStateItem = (state, entity, ownerType, ownerId) => ({
314
- id: `vnext-state-${state.id}`,
315
- ownerType,
316
- ownerId,
317
- visibility: "private",
318
- subjectType: "user",
319
- subjectId: ownerId,
320
- kind: "semantic",
321
- content: state.text.trim(),
322
- createdAt: state.createdAt,
323
- lastActivatedAt: state.createdAt,
324
- activationCount: 1,
325
- importance: 0.9,
326
- confidence: 0.9,
327
- resident: deriveStateResident(state, ownerType)
328
- });
329
- async function resolvePureVNextRuntime(input) {
330
- const { db, owners, userInput } = input;
331
- if (owners.length === 0 || !userInput.trim()) {
332
- return { selectedItems: [], promptBlock: buildMemoryOverlay([], { injectionEmit: input.injectionEmit }), recalledStateCount: 0 };
333
- }
334
- const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
335
- const catalogs = await Promise.all(
336
- ownerIds.map((ownerId) => loadMemoryVNextCatalog(db, ownerId))
337
- );
338
- const selectedItems = [];
339
- const seenStateKeys = /* @__PURE__ */ new Set();
340
- for (let i = 0; i < owners.length; i++) {
341
- const owner = owners[i];
342
- const catalog = catalogs[i];
343
- const currentStates = catalog.states.filter((s) => !s.retiredAt && s.text.trim());
344
- const hits = recallMemoryVNextLocal({
345
- query: userInput,
346
- entities: catalog.entities,
347
- states: currentStates
348
- });
349
- const entityById = new Map(catalog.entities.map((e) => [e.id, e]));
350
- for (const hit of hits) {
351
- const stateKey = `${hit.state.ownerId}\0${hit.state.id}`;
352
- if (seenStateKeys.has(stateKey)) continue;
353
- seenStateKeys.add(stateKey);
354
- selectedItems.push(
355
- buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
356
- );
357
- }
358
- }
359
- const promptBlock = buildMemoryOverlay(selectedItems, {
360
- sources: new Map(selectedItems.map((item) => [item, "vnext"])),
361
- injectionEmit: input.injectionEmit,
362
- maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
363
- });
364
- return {
365
- selectedItems,
366
- promptBlock,
367
- recalledStateCount: selectedItems.length
368
- };
369
- }
370
-
371
277
  export {
372
- touchMemoryItemsInDb,
373
- applyMemoryInterpreterMutation,
374
- deriveStateResident,
375
- resolvePureVNextRuntime
278
+ applyMemoryInterpreterMutation
376
279
  };
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-R5GO3YZP.js";
8
8
  import {
9
9
  getCliLocale
10
- } from "./chunk-262R3XNN.js";
10
+ } from "./chunk-E5RYFR7E.js";
11
11
  import {
12
12
  ANTIGRAVITY_AUTH_URL,
13
13
  ANTIGRAVITY_CALLBACK_PATH,
@@ -21,19 +21,19 @@ import {
21
21
  getAntigravityUserAgent,
22
22
  normalizeAntigravityTokenPayload,
23
23
  refreshAntigravityToken
24
- } from "./chunk-7JGMNKKG.js";
24
+ } from "./chunk-CTWCZKNS.js";
25
25
  import {
26
26
  toErrorMessage
27
27
  } from "./chunk-HNMXYYJR.js";
28
28
  import {
29
29
  asTrimmedString
30
30
  } from "./chunk-3EUW3WEO.js";
31
- import {
32
- isRecord
33
- } from "./chunk-KUG52IAP.js";
34
31
  import {
35
32
  asOptionalFiniteNumber
36
33
  } from "./chunk-WWC7I6TA.js";
34
+ import {
35
+ isRecord
36
+ } from "./chunk-KUG52IAP.js";
37
37
 
38
38
  // packages/cli/tui/wtAmbiguousWidth.ts
39
39
  import fs from "node:fs";
@@ -371,6 +371,11 @@ function stripOsc8Hyperlinks(text) {
371
371
  function stripAnsi2(text) {
372
372
  return text.replace(ANSI_ESCAPE_REGEX, "").replace(ALL_ANSI_ESCAPE_REGEX, "");
373
373
  }
374
+ var OSC8_KEEP_SPLIT_REGEX = /(\x1b\]8;[^;\x07\x1b]*;[^\x07\x1b]*(?:\x07|\x1b\\))/g;
375
+ var OSC8_WRAPPER_TOKEN_REGEX = /^\x1b\]8;[^;\x07\x1b]*;([^\x07\x1b]*)(?:\x07|\x1b\\)$/;
376
+ function stripAnsiKeepingOsc8(text) {
377
+ return text.split(OSC8_KEEP_SPLIT_REGEX).map((part, index) => index % 2 === 1 ? part : stripAnsi2(part)).join("");
378
+ }
374
379
  var SGR_SEQUENCE_REGEX = /^\x1b\[[0-9;]*m/;
375
380
  var TRAILING_SGR_REGEX = /(?:\x1b\[[0-9;]*m)+$/;
376
381
  function applyTerminalOutputToText(existing, chunk) {
@@ -631,7 +636,7 @@ function tokenizeAnsiLine(line) {
631
636
  let index = 0;
632
637
  while (index < line.length) {
633
638
  if (line[index] === "\x1B") {
634
- const osc = line.slice(index).match(/^\x1b\]8;;[^\x07\x1b]*(?:\x07|\x1b\\)/);
639
+ const osc = line.slice(index).match(/^\x1b\]8;[^;\x07\x1b]*;[^\x07\x1b]*(?:\x07|\x1b\\)/);
635
640
  if (osc) {
636
641
  tokens.push({ kind: "sgr", value: osc[0], width: 0, charIndex: index });
637
642
  index += osc[0].length;
@@ -680,6 +685,7 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
680
685
  while (contentStart < rawLine.length && rawLine[contentStart] === " ") contentStart++;
681
686
  lineToParse = rawLine.slice(contentStart);
682
687
  }
688
+ const visibleBody = stripAnsi2(styledLine.slice(prefixCharCount));
683
689
  const INLINE_RE = /(\[([^\]]+)\]\(([^)\s]+)\)|`([^`]+)`|\*\*(.+?)\*\*|(?<!\*)\*([^*]+?)\*(?!\*)|~~([^~]+?)~~)/g;
684
690
  const mapping = [];
685
691
  let lastIdx = 0;
@@ -693,18 +699,37 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
693
699
  if (match[2] !== void 0 && match[3] !== void 0) {
694
700
  const linkText = match[2];
695
701
  const linkUrl = match[3];
702
+ const cleanText = linkText.replace(/[\u0000-\u001f\u007f]/g, "");
703
+ const cleanUrl = linkUrl.replace(/[\u0000-\u001f\u007f]/g, "");
704
+ const cursor = mapping.length;
696
705
  const textOffset = contentStart + match.index + 1;
697
- for (let c = 0; c < linkText.length; c++) {
706
+ for (let c = 0; c < cleanText.length; c++) {
698
707
  mapping.push(textOffset + c);
699
708
  }
700
- const parenOffset = textOffset + linkText.length;
701
- mapping.push(parenOffset);
702
- mapping.push(parenOffset + 1);
703
- const urlOffset = parenOffset + 2;
704
- for (let c = 0; c < linkUrl.length; c++) {
705
- mapping.push(urlOffset + c);
709
+ if (visibleBody.startsWith(`${cleanText} \u2197`, cursor)) {
710
+ const closeParenOffset = contentStart + match.index + fullMatch.length - 1;
711
+ mapping.push(closeParenOffset);
712
+ mapping.push(closeParenOffset);
713
+ } else if (visibleBody.startsWith(`${cleanText} (${cleanUrl})`, cursor)) {
714
+ const parenOffset = textOffset + linkText.length;
715
+ mapping.push(parenOffset);
716
+ mapping.push(parenOffset + 1);
717
+ const urlOffset = parenOffset + 2;
718
+ for (let c = 0; c < cleanUrl.length; c++) {
719
+ mapping.push(urlOffset + c);
720
+ }
721
+ mapping.push(urlOffset + linkUrl.length);
722
+ } else if (visibleBody.startsWith(cleanText, cursor) && cleanText.trim() === cleanUrl.trim()) {
723
+ } else if (linkText.trim() !== linkUrl.trim()) {
724
+ const parenOffset = textOffset + linkText.length;
725
+ mapping.push(parenOffset);
726
+ mapping.push(parenOffset + 1);
727
+ const urlOffset = parenOffset + 2;
728
+ for (let c = 0; c < linkUrl.length; c++) {
729
+ mapping.push(urlOffset + c);
730
+ }
731
+ mapping.push(urlOffset + linkUrl.length);
706
732
  }
707
- mapping.push(urlOffset + linkUrl.length);
708
733
  } else if (match[4] !== void 0) {
709
734
  const codeText = match[4];
710
735
  const codeOffset = contentStart + match.index + 1;
@@ -753,12 +778,19 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
753
778
  const tokens = tokenizeAnsiLine(line);
754
779
  const rows = [];
755
780
  let activeStyles = [];
781
+ let activeOsc8 = null;
756
782
  const applyStyleToken = (value) => {
783
+ const oscMatch = OSC8_WRAPPER_TOKEN_REGEX.exec(value);
784
+ if (oscMatch) {
785
+ activeOsc8 = (oscMatch[1] ?? "") === "" ? null : value;
786
+ return false;
787
+ }
757
788
  if (SGR_RESET_REGEX.test(value)) {
758
789
  activeStyles = [];
759
790
  } else {
760
791
  activeStyles.push(value);
761
792
  }
793
+ return true;
762
794
  };
763
795
  let lastContentTokenIndex = -1;
764
796
  for (let i = tokens.length - 1; i >= 0; i -= 1) {
@@ -791,6 +823,7 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
791
823
  while (start < tokens.length) {
792
824
  if (start > lastContentTokenIndex && rows.length > 0) break;
793
825
  const openingStyles = [...activeStyles];
826
+ const openingOsc8 = activeOsc8;
794
827
  const isContinuation = rows.length > 0;
795
828
  const currentPrefixWidth = isContinuation ? visibleWidth(hangingIndent) : prefixWidth;
796
829
  const indentWidth = isContinuation ? visibleWidth(hangingIndent) : 0;
@@ -852,13 +885,15 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
852
885
  const token = tokens[i];
853
886
  segment += token.value;
854
887
  if (token.kind === "sgr") {
855
- sawStyle = true;
856
- applyStyleToken(token.value);
888
+ if (applyStyleToken(token.value)) {
889
+ sawStyle = true;
890
+ }
857
891
  }
858
892
  }
859
- const prefix = openingStyles.join("");
893
+ const prefix = `${openingOsc8 ?? ""}${openingStyles.join("")}`;
860
894
  const needsReset = (sawStyle || activeStyles.length > 0) && !segment.endsWith("\x1B[0m");
861
- const lineContent = `${prefix}${segment}${needsReset ? "\x1B[0m" : ""}`;
895
+ const needsOscClose = activeOsc8 !== null && !/\x1b\]8;[^;\x07\x1b]*;(?:\x07|\x1b\\)$/.test(segment);
896
+ const lineContent = `${prefix}${segment}${needsReset ? "\x1B[0m" : ""}${needsOscClose ? "\x1B]8;;\x1B\\" : ""}`;
862
897
  const rowRendered = isContinuation && hangingIndent.length > 0 ? `${hangingIndent}${lineContent}` : lineContent;
863
898
  let segSourceStart = lineSourceStart;
864
899
  let segSourceEnd = lineSourceStart;
@@ -2410,7 +2445,9 @@ var cursorRefresh = refreshCursorToken;
2410
2445
  export {
2411
2446
  ANSI_ESCAPE_REGEX,
2412
2447
  stripAnsi2 as stripAnsi,
2448
+ stripAnsiKeepingOsc8,
2413
2449
  applyTerminalOutputToText,
2450
+ resolveAmbiguousWidth,
2414
2451
  resolveBoxCharset,
2415
2452
  boxGlyphs,
2416
2453
  displayWidth,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSkillDocMarkdown
3
- } from "./chunk-W6RFEDN4.js";
3
+ } from "./chunk-AETZ7AD6.js";
4
4
 
5
5
  // packages/cli/docPageHelpers.ts
6
6
  import { readFileSync } from "node:fs";
@@ -1,3 +1,7 @@
1
+ import {
2
+ googleSessionRequestToken,
3
+ isGoogleAuthoritySession
4
+ } from "./chunk-YHNUDTU4.js";
1
5
  import {
2
6
  selectIdentityToken
3
7
  } from "./chunk-PXYBUFDB.js";
@@ -1979,7 +1983,14 @@ function createUnsortedStateAdapter(selectId) {
1979
1983
  });
1980
1984
  updates = Object.values(updatesPerEntity);
1981
1985
  if (updates.length > 0) {
1982
- if (updates.filter((update) => takeNewKey(newKeys, update, state)).length > 0) state.ids = Object.values(state.entities).map((e) => selectIdValue(e, selectId));
1986
+ if (updates.filter((update) => takeNewKey(newKeys, update, state)).length > 0) {
1987
+ const ids = /* @__PURE__ */ new Set();
1988
+ for (const id of state.ids) {
1989
+ const newId = newKeys[id] ?? id;
1990
+ if (newId in state.entities) ids.add(newId);
1991
+ }
1992
+ state.ids = Array.from(ids);
1993
+ }
1983
1994
  }
1984
1995
  }
1985
1996
  function upsertOneMutably(entity, state) {
@@ -2190,18 +2201,90 @@ var logRequestFailure = (level, message) => {
2190
2201
  }
2191
2202
  console.error(message);
2192
2203
  };
2204
+ var mutationFailureIdentifiers = /* @__PURE__ */ new Set([
2205
+ "AUTHORITY_HOME_CONTROLLED",
2206
+ "AUTHORITY_MISMATCH",
2207
+ "USER_BATCH_AUTHORITY_CONTROLLED",
2208
+ "SPACE_OWNER_AGENT_FORBIDDEN",
2209
+ "APP_WRITE_FORBIDDEN",
2210
+ "INCOMPLETE_APP_PAYLOAD",
2211
+ "REVISION_CONFLICT",
2212
+ "tombstone_conflict",
2213
+ "INVALID_REQUEST",
2214
+ "FORBIDDEN",
2215
+ "TOKEN_STATS_SERVER_MANAGED",
2216
+ "PATCH_PERMISSION_DENIED",
2217
+ "WRITE_PERMISSION_DENIED",
2218
+ "UNSUPPORTED_OAUTH_PROVIDER",
2219
+ "INVALID_AGENT_SKILL_MODE",
2220
+ "AUTOMATION_OWNER_AGENT_FORBIDDEN",
2221
+ "PROTOCOL_UNAVAILABLE",
2222
+ "INVALID_IF_MATCH",
2223
+ "provider_model_mismatch"
2224
+ ]);
2225
+ var DIAGNOSTIC_READ_TIMEOUT_MS = 1200;
2226
+ var DIAGNOSTIC_MAX_BYTES = 8 * 1024;
2227
+ var readBoundedJson = async (response) => {
2228
+ const body = response.body;
2229
+ if (!body) return null;
2230
+ const reader = body.getReader();
2231
+ const deadline = Date.now() + DIAGNOSTIC_READ_TIMEOUT_MS;
2232
+ const chunks = [];
2233
+ let received = 0;
2234
+ try {
2235
+ for (; ; ) {
2236
+ const remainingMs = deadline - Date.now();
2237
+ if (remainingMs <= 0) throw new Error("diagnostic read timed out");
2238
+ let timer;
2239
+ const timeout = new Promise((_, reject) => {
2240
+ timer = setTimeout(() => reject(new Error("diagnostic read timed out")), remainingMs);
2241
+ });
2242
+ const { done, value } = await Promise.race([reader.read(), timeout]).finally(() => {
2243
+ if (timer !== void 0) clearTimeout(timer);
2244
+ });
2245
+ if (done) break;
2246
+ received += value.byteLength;
2247
+ if (received > DIAGNOSTIC_MAX_BYTES) throw new Error("diagnostic read too large");
2248
+ chunks.push(value);
2249
+ }
2250
+ } finally {
2251
+ void reader.cancel().catch(() => {
2252
+ });
2253
+ }
2254
+ const total = chunks.reduce((sum, chunk) => sum + chunk.byteLength, 0);
2255
+ const merged = new Uint8Array(total);
2256
+ let offset = 0;
2257
+ for (const chunk of chunks) {
2258
+ merged.set(chunk, offset);
2259
+ offset += chunk.byteLength;
2260
+ }
2261
+ return JSON.parse(new TextDecoder().decode(merged));
2262
+ };
2263
+ var describeMutationFailure = async (response) => {
2264
+ const status = `HTTP ${response.status}`;
2265
+ try {
2266
+ const body = await readBoundedJson(response);
2267
+ const fields = ["error", "code", "message"].flatMap((field) => {
2268
+ const value = body?.[field];
2269
+ return typeof value === "string" && mutationFailureIdentifiers.has(value) ? [`${field}=${value}`] : [];
2270
+ });
2271
+ return fields.length ? `${status} (${fields.join(", ")})` : status;
2272
+ } catch {
2273
+ return status;
2274
+ }
2275
+ };
2193
2276
  var noloRequest = async (server, config, state, signal) => {
2194
- const headers = config.headers || {
2195
- "Content-Type": "application/json"
2196
- };
2277
+ const headers = { ...config.headers || { "Content-Type": "application/json" } };
2197
2278
  const token = selectIdentityToken(state) ?? null;
2198
- if (token) {
2199
- headers["Authorization"] = `Bearer ${token}`;
2279
+ const requestToken = googleSessionRequestToken(token ?? void 0, server);
2280
+ if (requestToken) {
2281
+ headers["Authorization"] = `Bearer ${requestToken}`;
2200
2282
  }
2201
2283
  return fetch(server + config.url, {
2202
2284
  method: config.method || "GET",
2203
2285
  headers,
2204
2286
  body: config.body,
2287
+ ...isGoogleAuthoritySession(token) ? { credentials: "omit", redirect: "error" } : {},
2205
2288
  signal,
2206
2289
  // 传递 AbortSignal
2207
2290
  ...config.keepalive ? { keepalive: true } : {}
@@ -2220,10 +2303,10 @@ var noloPatchRequest = async (server, dbKey, updates, state, signal, options) =>
2220
2303
  state,
2221
2304
  signal
2222
2305
  );
2223
- if (!response.ok) {
2306
+ if (!response.ok && failureLogLevel !== "silent") {
2224
2307
  logRequestFailure(
2225
2308
  failureLogLevel,
2226
- `PATCH request failed for ${dbKey} on ${server}: HTTP ${response.status}`
2309
+ `PATCH request failed for ${dbKey} on ${server}: ${await describeMutationFailure(response)}`
2227
2310
  );
2228
2311
  }
2229
2312
  return response.ok;
@@ -2251,10 +2334,10 @@ var noloWriteRequest = async (server, writeConfig, state, signal, options) => {
2251
2334
  state,
2252
2335
  signal
2253
2336
  );
2254
- if (!response.ok) {
2337
+ if (!response.ok && failureLogLevel !== "silent") {
2255
2338
  logRequestFailure(
2256
2339
  failureLogLevel,
2257
- `Write request failed for ${customKey} on ${server}: HTTP ${response.status}`
2340
+ `Write request failed for ${customKey} on ${server}: ${await describeMutationFailure(response)}`
2258
2341
  );
2259
2342
  }
2260
2343
  return response.ok;
@@ -2302,7 +2385,9 @@ var xhrUploadRequest = (url, formData, state, onProgress, signal) => new Promise
2302
2385
  });
2303
2386
  var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress) => {
2304
2387
  const { file, metadata, customKey, userId } = uploadConfig;
2388
+ const googleSession = isGoogleAuthoritySession(selectIdentityToken(state));
2305
2389
  try {
2390
+ googleSessionRequestToken(selectIdentityToken(state) ?? void 0, server);
2306
2391
  const isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
2307
2392
  const isRNFile = (f) => f && typeof f.uri === "string" && typeof f.name === "string" && typeof f.type === "string";
2308
2393
  if (isReactNative && isRNFile(file)) {
@@ -2328,7 +2413,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2328
2413
  if (userId) {
2329
2414
  formData.append("userId", userId);
2330
2415
  }
2331
- if (onProgress && typeof XMLHttpRequest !== "undefined") {
2416
+ if (onProgress && !googleSession && typeof XMLHttpRequest !== "undefined") {
2332
2417
  const result = await xhrUploadRequest(
2333
2418
  server + `${API_ENDPOINTS.DATABASE}/upload`,
2334
2419
  formData,
@@ -2361,6 +2446,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2361
2446
  `Upload request failed for ${customKey} on ${server}: HTTP ${response.status}`
2362
2447
  );
2363
2448
  }
2449
+ if (response.ok && googleSession && onProgress) onProgress(file.size, file.size);
2364
2450
  return response.ok;
2365
2451
  } catch (error) {
2366
2452
  if (!isAbortError(error)) {
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-4O22PGNQ.js";
13
13
  import {
14
14
  scheduleWindowsSelfUpdate
15
- } from "./chunk-ZH3KXFHS.js";
15
+ } from "./chunk-TMRJGSK2.js";
16
16
  import {
17
17
  t
18
- } from "./chunk-262R3XNN.js";
18
+ } from "./chunk-E5RYFR7E.js";
19
19
  import {
20
20
  normalizeServerOrigin
21
21
  } from "./chunk-CF7PE763.js";
@@ -125,7 +125,8 @@ function readPackageInfo() {
125
125
  };
126
126
  }
127
127
  function buildCliVersionText(info) {
128
- return `${info.name} ${info.version}`;
128
+ const normalizedName = info.name === "nolo-cli" || info.name.startsWith("nolo-cli-") ? "nolo-cli" : info.name;
129
+ return `${normalizedName} ${info.version}`;
129
130
  }
130
131
  function buildSelfUpdateCommand(serverUrl) {
131
132
  return buildNpmSelfUpdateCommand(getCliInstallChannel(serverUrl));
@@ -225,13 +226,14 @@ PACKAGE="$STAGING/lib/node_modules/nolo-cli"
225
226
  node -e 'const p=require(process.argv[1]); if(p.name!=="nolo-cli" || !/^[0-9]+\\.[0-9]+\\.[0-9]+(?:[-+][0-9A-Za-z.+-]+)?$/.test(p.version)) process.exit(1)' "$PACKAGE/package.json"
226
227
  VERSION_TEXT=$("$PACKAGE/index.js" -v)
227
228
  case "$VERSION_TEXT" in
228
- "nolo-cli "*) ;;
229
+ "nolo-cli "*) ACTUAL_VERSION=\${VERSION_TEXT#nolo-cli } ;;
230
+ "nolo-cli-"?*" "*) ACTUAL_VERSION=\${VERSION_TEXT#* } ;;
229
231
  *) echo "Error: invalid staged CLI version" >&2; exit 1 ;;
230
232
  esac
231
233
  # Fail before touching the live entry. Version is a health check, not identity:
232
234
  # every install has a unique permanent prefix, including same-version builds.
233
235
  EXPECTED=$(node -p 'require(process.argv[1]).version' "$PACKAGE/package.json")
234
- [ "$VERSION_TEXT" = "nolo-cli $EXPECTED" ]
236
+ [ "$ACTUAL_VERSION" = "$EXPECTED" ]
235
237
  if [ -d "$ENTRY" ] || { [ -e "$ENTRY" ] && [ ! -L "$ENTRY" ]; }; then echo "Error: refusing non-symlink entrypoint; retain it and migrate explicitly" >&2; exit 1; fi
236
238
  LINK="$ENTRY.new.$$"
237
239
  if [ -e "$LINK" ] || [ -L "$LINK" ]; then exit 1; fi
@@ -277,6 +279,7 @@ chmod +x "$STAGING/nolo"
277
279
  VERSION_TEXT=$("$STAGING/nolo" -v)
278
280
  case "$VERSION_TEXT" in
279
281
  "nolo-cli "*) VERSION=\${VERSION_TEXT#nolo-cli } ;;
282
+ "nolo-cli-"?*" "*) VERSION=\${VERSION_TEXT#* } ;;
280
283
  *) VERSION=$VERSION_TEXT ;;
281
284
  esac
282
285
  CORE=\${VERSION%%[-+]*}
@@ -296,6 +299,7 @@ case "$VERSION" in
296
299
  esac
297
300
  case "$CURRENT_VERSION" in
298
301
  "nolo-cli "*) CUR_VER=\${CURRENT_VERSION#nolo-cli } ;;
302
+ "nolo-cli-"?*" "*) CUR_VER=\${CURRENT_VERSION#* } ;;
299
303
  *) CUR_VER=$CURRENT_VERSION ;;
300
304
  esac
301
305
  CUR_CORE=\${CUR_VER%%[-+]*}
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  applyPublicAgentCatalogOverride
3
- } from "./chunk-DBUR22G5.js";
3
+ } from "./chunk-MZVCFV3T.js";
4
4
  import {
5
5
  applyBuiltinAgentRuntimeOverride,
6
6
  resolveBuiltinPlatformAgentConfig
7
- } from "./chunk-S6K5F3KP.js";
7
+ } from "./chunk-JP2BH4NC.js";
8
8
  import {
9
9
  buildLocalAgentLookupKeys
10
- } from "./chunk-QCB42576.js";
11
- import {
12
- LOCAL_CODEX_AGENT_ID,
13
- LOCAL_CODEX_AGENT_KEY
14
- } from "./chunk-BR3GT6MR.js";
10
+ } from "./chunk-IJZC2KIJ.js";
15
11
  import {
16
12
  localDialogMessageRecordToRuntimeMessage,
17
13
  orderDialogHistory
18
- } from "./chunk-JUSHVFNF.js";
14
+ } from "./chunk-XNTZD4AE.js";
19
15
  import {
20
16
  resolveAgentRuntimeConfigFromRecord
21
- } from "./chunk-GUXZK7SE.js";
17
+ } from "./chunk-4OXPN3WC.js";
22
18
  import {
23
19
  dialogMessagePrefix,
24
20
  dialogMessageRange
25
21
  } from "./chunk-OJKUU3LP.js";
22
+ import {
23
+ LOCAL_CODEX_AGENT_ID,
24
+ LOCAL_CODEX_AGENT_KEY
25
+ } from "./chunk-BR3GT6MR.js";
26
26
 
27
27
  // packages/cli/client/cliLocalAgentRecordReader.ts
28
28
  function resolveBuiltinLocalCliAgentConfig(agentRef, userId) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createFileCredentialBroker
3
- } from "./chunk-OQHIVPG4.js";
3
+ } from "./chunk-E6A5NHDH.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-262R3XNN.js";
6
+ } from "./chunk-E5RYFR7E.js";
7
7
 
8
8
  // packages/core/secretsStore.ts
9
9
  import {