nolo-cli 0.225.0-alpha.1 → 0.225.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 (245) hide show
  1. package/{_executeModel-L5VHAXSU.js → _executeModel-UCWDB72C.js} +79 -73
  2. package/{action-CK64LS6S.js → action-24MZYW2B.js} +11 -8
  3. package/{addContentAction-EQXMFNPR.js → addContentAction-HEMCSSHT.js} +14 -13
  4. package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-SQYDOXHA.js} +15 -14
  5. package/{agentDeleteCommand-4WC7INCX.js → agentDeleteCommand-P7O3ACNJ.js} +131 -124
  6. package/{agentEmailCommands-3XFR6WY7.js → agentEmailCommands-A5BRSYWK.js} +134 -123
  7. package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
  8. package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
  9. package/{agentListCommands-BBCP5XYW.js → agentListCommands-LDRCOOMO.js} +112 -496
  10. package/{agentMachineCommands-YZDCOLQL.js → agentMachineCommands-AYL53KJV.js} +65 -58
  11. package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-N5EA3ED2.js} +6 -6
  12. package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-QQQZSC6S.js} +6 -6
  13. package/agentRecordCommands-FICBZ57C.js +188 -0
  14. package/{agentRunCommand-NHYBV4G5.js → agentRunCommand-CTXQGDUM.js} +135 -120
  15. package/{agentRunControl-7A2FOXIJ.js → agentRunControl-CO6BASZF.js} +20 -14
  16. package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-5YN4D5WT.js} +48 -41
  17. package/{agentSlice-O6IGTM3Y.js → agentSlice-DJ5D4DU4.js} +18 -17
  18. package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-B4E7N7M2.js} +58 -51
  19. package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-E4DTXRRM.js} +58 -51
  20. package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-FCNHYHZM.js} +58 -51
  21. package/{appGetCommands-LN72GAOA.js → appGetCommands-4DXSQHUZ.js} +58 -51
  22. package/{appListCommands-IJQQ3VND.js → appListCommands-2NN5E4F6.js} +58 -51
  23. package/{authCommand-7JXW54U4.js → authCommand-47DR6GZT.js} +33 -28
  24. package/{authCommands-YDNAIDEY.js → authCommands-ZZ3L5IFM.js} +16 -11
  25. package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-AYWYQVA4.js} +5 -5
  26. package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-VZWAY2KR.js} +6 -6
  27. package/{chunk-YDBMZ7FV.js → chunk-24GVXSWK.js} +3 -3
  28. package/{chunk-JCK3EFZS.js → chunk-25OCZXSX.js} +63 -32
  29. package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
  30. package/chunk-2SXN7LAY.js +15 -0
  31. package/{chunk-N5PQJKCY.js → chunk-2XMKW2OY.js} +13 -12
  32. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  33. package/{chunk-UKS7D2NL.js → chunk-3NFWMSTA.js} +111 -26
  34. package/{chunk-TZEP5J4A.js → chunk-3V6JT6WN.js} +2935 -1412
  35. package/{chunk-SBVTHMEG.js → chunk-4FE3IWRE.js} +1 -1
  36. package/{chunk-4JVNURX4.js → chunk-4YFC3DWW.js} +68 -16
  37. package/chunk-4ZCTKB27.js +31 -0
  38. package/chunk-53W5BXLN.js +340 -0
  39. package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
  40. package/{chunk-VFBVA3U2.js → chunk-5TJE4QCL.js} +131 -40
  41. package/{chunk-YXMBJ7UH.js → chunk-6BGJHJRN.js} +21 -21
  42. package/chunk-6D25V6CB.js +133 -0
  43. package/chunk-6RSNVJGO.js +279 -0
  44. package/{chunk-IZIN2UNJ.js → chunk-6X3CS6NJ.js} +203 -24
  45. package/{chunk-XZGQ6ZCV.js → chunk-6XBOPKUH.js} +27 -90
  46. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  47. package/{chunk-62HXNQVV.js → chunk-776CXKMX.js} +1 -1
  48. package/chunk-7NIBQ4HY.js +138 -0
  49. package/{chunk-7Z6EW7AH.js → chunk-7OTNBI77.js} +13 -6
  50. package/{chunk-HOK3ILHA.js → chunk-7Q7MKJZN.js} +590 -330
  51. package/{chunk-KZU52OJ5.js → chunk-7U2TFUWW.js} +6 -6
  52. package/{chunk-IUD7YR3B.js → chunk-B72AFRR2.js} +15 -15
  53. package/{chunk-4HFTBHBF.js → chunk-BDERPCJW.js} +8 -8
  54. package/chunk-BEM6LPD2.js +734 -0
  55. package/chunk-BIDSIRTS.js +307 -0
  56. package/{chunk-6J4TTPS2.js → chunk-BIJTI5SX.js} +5 -5
  57. package/chunk-BWW6WRX6.js +1438 -0
  58. package/{chunk-AGP3YSEC.js → chunk-C3GOEQJF.js} +46 -1
  59. package/chunk-C5A54QS7.js +108 -0
  60. package/{chunk-MOMR7NMG.js → chunk-C646JEUV.js} +2 -2
  61. package/{chunk-YI5CDUJD.js → chunk-CT6GT2BG.js} +9 -9
  62. package/{chunk-PVZY6P3S.js → chunk-CZLSTOVM.js} +2 -2
  63. package/{chunk-LJSNEV7M.js → chunk-DGUUOHBF.js} +8 -8
  64. package/{chunk-C4WTX5TU.js → chunk-DIBQXNGW.js} +2 -2
  65. package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
  66. package/{chunk-K44HIUBX.js → chunk-DLTMAXLF.js} +13 -13
  67. package/chunk-DVYAFH2Q.js +103 -0
  68. package/{chunk-SOG7OEXX.js → chunk-DWWUVRB5.js} +1 -1
  69. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  70. package/{chunk-GNHMRBYZ.js → chunk-EBKHA63G.js} +106 -14
  71. package/{chunk-KC4SCKXO.js → chunk-EIFSCI4C.js} +990 -1370
  72. package/{chunk-F3YK7KIU.js → chunk-EW37CXCQ.js} +4 -4
  73. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  74. package/{chunk-2VUZSVAS.js → chunk-F3FQPVHE.js} +57 -20
  75. package/{chunk-ZRAARRA3.js → chunk-FCAMGBLY.js} +1399 -2978
  76. package/{chunk-AK5O76CC.js → chunk-FPMPWNVQ.js} +3 -3
  77. package/{chunk-WQEMD4Z4.js → chunk-FSIEHQNH.js} +420 -120
  78. package/{chunk-FNDSBM4J.js → chunk-FXX6VFMV.js} +571 -348
  79. package/{chunk-7XS4W5KP.js → chunk-G6OPRPXH.js} +128 -149
  80. package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
  81. package/{chunk-2TIQO6TC.js → chunk-GCVFX6ZL.js} +206 -308
  82. package/{chunk-P25E3CKY.js → chunk-H6CHPU6M.js} +4 -4
  83. package/chunk-HNWZJI4N.js +33394 -0
  84. package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
  85. package/{chunk-KNIIRXHF.js → chunk-IPRPYKBP.js} +46 -8
  86. package/{chunk-C4VAR65S.js → chunk-IUXBKS5L.js} +200 -120
  87. package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
  88. package/{chunk-Z6USB65D.js → chunk-KGIIZXPL.js} +347 -14
  89. package/chunk-KK3FCYZM.js +647 -0
  90. package/{chunk-GBZ4YKEO.js → chunk-KOIDLCAQ.js} +8 -8
  91. package/{chunk-2ZKFCIJJ.js → chunk-LCQJH7KN.js} +1 -1
  92. package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
  93. package/{chunk-4NA3YTBC.js → chunk-LMFMV5UC.js} +8 -8
  94. package/{chunk-XN23AUVU.js → chunk-LMZRXDWG.js} +8 -5
  95. package/{chunk-EWPDMS4N.js → chunk-LN4ZVSO7.js} +30 -15
  96. package/{chunk-GOAPXKQU.js → chunk-LT3DMEIB.js} +4 -4
  97. package/{chunk-GGKNJ42M.js → chunk-LYDEFPQP.js} +18 -108
  98. package/{chunk-FTQWYWUI.js → chunk-MDVP5TLI.js} +1 -1
  99. package/{chunk-EOWLBDY6.js → chunk-MM73SP4K.js} +1 -1
  100. package/chunk-MVOZ22RZ.js +26 -0
  101. package/{chunk-3QFLXA24.js → chunk-N6EN3HK3.js} +3 -3
  102. package/{chunk-D726I5AZ.js → chunk-NBB2EBQD.js} +2 -2
  103. package/{chunk-DISQCYPE.js → chunk-NL7J2J5Z.js} +6 -6
  104. package/{chunk-JM5C4EUA.js → chunk-NQQL2DKF.js} +6 -6
  105. package/{chunk-LS2MGTUS.js → chunk-NWWQY2J5.js} +15 -15
  106. package/{chunk-TXGQ4O5S.js → chunk-OATIWAKN.js} +20 -174
  107. package/{chunk-KYH7XW3K.js → chunk-OJRTTERA.js} +77 -2
  108. package/{chunk-VV7TXWOC.js → chunk-OYHJ4TW7.js} +6 -6
  109. package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
  110. package/{chunk-2VA6TU4I.js → chunk-QES2NCVM.js} +17 -14
  111. package/{chunk-WG2LFJYB.js → chunk-QGMIUVBT.js} +39 -30
  112. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  113. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  114. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  115. package/{chunk-AMEOV5VZ.js → chunk-S25VJYXV.js} +41 -35
  116. package/chunk-SR4FE5VD.js +9 -0
  117. package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
  118. package/{chunk-GVGOEMNV.js → chunk-T444ENEC.js} +3 -3
  119. package/{chunk-67BE44IS.js → chunk-TE2XH4KH.js} +1 -1
  120. package/{chunk-5RKUPJYL.js → chunk-TFGGNRT6.js} +11 -3
  121. package/{chunk-ZH6MUQEO.js → chunk-TTEBPPUV.js} +1 -1
  122. package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
  123. package/{chunk-AVHRSJUH.js → chunk-TXFYIWAW.js} +32 -25
  124. package/{chunk-KOXKKHFE.js → chunk-TXQVH72L.js} +9 -4
  125. package/{chunk-OBSEKCVK.js → chunk-U4VSBDO5.js} +88 -0
  126. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  127. package/{chunk-KDAGMRDA.js → chunk-UAHUJ4HH.js} +100 -32
  128. package/{chunk-BGGHA5DV.js → chunk-UAOFSUG7.js} +1 -1
  129. package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
  130. package/chunk-UKSKCDBG.js +62 -0
  131. package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
  132. package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
  133. package/chunk-WDWZPASX.js +29 -0
  134. package/chunk-WFGNWWJI.js +326 -0
  135. package/{chunk-UYOICCYG.js → chunk-WHO3LYDW.js} +64 -89
  136. package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
  137. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  138. package/{chunk-QLFCTYRH.js → chunk-X37RQEA3.js} +17 -10
  139. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  140. package/chunk-X7IA2B7R.js +166 -0
  141. package/{chunk-GIABSSWQ.js → chunk-XAFOLWLU.js} +4 -4
  142. package/{chunk-45LZIYXB.js → chunk-XNEDFWT4.js} +2 -2
  143. package/{chunk-EOJZGQAE.js → chunk-Y5RN44VH.js} +103 -100
  144. package/{chunk-OB6DVWPF.js → chunk-YFRJAE3R.js} +319 -95
  145. package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
  146. package/{chunk-3KNEE64G.js → chunk-YMCSR7PA.js} +14 -14
  147. package/chunk-YUZ2DAIH.js +34 -0
  148. package/chunk-Z6YTCDU4.js +24 -0
  149. package/{chunk-XQBIZRGW.js → chunk-ZBQ5UGYY.js} +3 -3
  150. package/{chunk-VREDDN25.js → chunk-ZQUCJBS4.js} +14 -9
  151. package/{chunk-UEKXWO7A.js → chunk-ZT3DYK5T.js} +15 -4
  152. package/{chunk-LM2PS3YS.js → chunk-ZTLTDUV6.js} +24 -11
  153. package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
  154. package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-RFR7ZCSK.js} +12 -12
  155. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  156. package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
  157. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  158. package/{cliLocalAgentRecordReader-6FXGFBI3.js → cliLocalAgentRecordReader-AJ4UKHKT.js} +51 -45
  159. package/{commandRegistry-HJDPQSQ4.js → commandRegistry-IHWZVV4G.js} +98 -94
  160. package/{contentThunks-I6OR5ENG.js → contentThunks-YQRCBDKF.js} +38 -35
  161. package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-W67DE765.js} +4 -4
  162. package/{createAgentAutomationAction-7BCCTWO5.js → createAgentAutomationAction-ERSDNR4R.js} +38 -35
  163. package/{createDialogAction-CU27KSCJ.js → createDialogAction-QXC7JZPE.js} +39 -37
  164. package/{createPageAction-CWRTEYVA.js → createPageAction-RLZ7776F.js} +40 -37
  165. package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
  166. package/{dbSlice-ZJPDIFER.js → dbSlice-7M2ESEUO.js} +13 -12
  167. package/{deleteFile-Q3YDB4ML.js → deleteFile-WO6WSSNK.js} +10 -7
  168. package/{dialogCommands-OPTRZWTE.js → dialogCommands-UIRO4QNN.js} +62 -56
  169. package/dialogMessageRecord-OAV77LT7.js +7 -0
  170. package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-VDUFYBZV.js} +14 -14
  171. package/{dialogSlice-XODSLDHY.js → dialogSlice-A4U3C76D.js} +36 -33
  172. package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-SEC6UZWM.js} +3 -3
  173. package/{docCreateCommands-36WS33BK.js → docCreateCommands-MHPYTJWR.js} +56 -49
  174. package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-VYULMBAQ.js} +58 -51
  175. package/{docReadCommands-QZMSFMPN.js → docReadCommands-FV3GGZ7V.js} +56 -49
  176. package/{docStore-TVN4SNVE.js → docStore-AWWI72FA.js} +15 -14
  177. package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-JNS3HX7F.js} +56 -49
  178. package/fetchMessages-TQEUZD7H.js +2 -2
  179. package/{getPricing-VNGFM4PN.js → getPricing-U5AR7ZHS.js} +5 -5
  180. package/{handleSendMessageAction-NSEMVHWX.js → handleSendMessageAction-WDJOUDNV.js} +68 -63
  181. package/{hostCredentialCreate-WBZY7DZB.js → hostCredentialCreate-H3FF2SAO.js} +123 -111
  182. package/index.js +56 -18
  183. package/keys-RWF7UCB4.js +2 -2
  184. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  185. package/{localDialogRead-SVTPA5GY.js → localDialogRead-3T2KMCRC.js} +1 -1
  186. package/{localRuntimeAdapter-OAIWERFA.js → localRuntimeAdapter-JAQQXZJP.js} +126 -113
  187. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
  188. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
  189. package/{machineCommands-OI37ZUQ4.js → machineCommands-WYOFNB5I.js} +146 -120
  190. package/{machineWsRunDispatch-73HKPV6D.js → machineWsRunDispatch-Y7UIAZNM.js} +118 -107
  191. package/markdownToSlate-KIYM7B3P.js +8 -0
  192. package/mcpLocalAuthorizeCommand-SCYEFLRK.js +106 -0
  193. package/{memberThunks-JRYNONYV.js → memberThunks-DIITWU4M.js} +22 -17
  194. package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
  195. package/{models-H5NNZRLH.js → models-CINY5UZR.js} +2 -2
  196. package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
  197. package/package.json +1 -1
  198. package/{projectArchive-GVEARCOG.js → projectArchive-IZJXBW5N.js} +43 -40
  199. package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-2QWXPJXZ.js} +6 -6
  200. package/{providerRegistry-KJGB5XWS.js → providerRegistry-W4LCKK6V.js} +6 -6
  201. package/{read-Q7GOHGNP.js → read-OBLJNMA2.js} +9 -8
  202. package/{readDocTool-Z5OQ6422.js → readDocTool-QQZ4DAER.js} +1 -1
  203. package/{readlineWorkspace-5DWUGNSU.js → readlineWorkspace-WF3SWZGR.js} +7055 -5248
  204. package/rememberExplicit-CPAPONSI.js +15 -0
  205. package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-HC3SOY3G.js} +17 -16
  206. package/{runAgentClientLoop-RDXIPF34.js → runAgentClientLoop-Z7V6TA3O.js} +97 -72
  207. package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-KX6YLPWV.js} +17 -17
  208. package/{secretCommands-LJXOOYA7.js → secretCommands-STRAX275.js} +4 -4
  209. package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-DDZUQPY6.js} +16 -15
  210. package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-EB67OMAJ.js} +17 -16
  211. package/{settingThunks-AXTBX3Q5.js → settingThunks-TN6GFASU.js} +181 -62
  212. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
  213. package/{spaceCommands-GUKMDRWN.js → spaceCommands-HBYQUVJI.js} +61 -54
  214. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  215. package/{streamAgentChatTurn-XEYQZPDJ.js → streamAgentChatTurn-CM7QQXOS.js} +178 -173
  216. package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-XY5TKQQE.js} +15 -14
  217. package/{tableCommands-HITDSLHS.js → tableCommands-MXFL3JIT.js} +13 -10
  218. package/{toolApiClient-OGQEBQVX.js → toolApiClient-53YMJ2G6.js} +8 -6
  219. package/{tools-6DFTHCFX.js → tools-AT6H73LD.js} +66 -62
  220. package/tuiRestart-272SAYSK.js +41 -0
  221. package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-K2OVRVHG.js} +20 -19
  222. package/{updateCommands-RJVCRSBP.js → updateCommands-O3BOVVVN.js} +8 -6
  223. package/{updateDialogTitleAction-AMSBV2H7.js → updateDialogTitleAction-PGY4UPLH.js} +38 -35
  224. package/{usageCommand-YPJ2ZI2F.js → usageCommand-SCF3ROV2.js} +4 -4
  225. package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-K5WPIBA5.js} +5 -5
  226. package/webapi-24RZDIIQ.js +2488 -0
  227. package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-WJDUZLEO.js} +2 -2
  228. package/workContext-Y3ADAPZU.js +14 -0
  229. package/workContextAccess-UZHDLBUR.js +11 -0
  230. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  231. package/agentRecordCommands-KLYKI4Z7.js +0 -177
  232. package/chunk-2THCNKE4.js +0 -147
  233. package/chunk-2WZXXAQD.js +0 -57
  234. package/chunk-5ZMIIR23.js +0 -265
  235. package/chunk-652XYZGP.js +0 -352
  236. package/chunk-BJF2MHJ3.js +0 -118
  237. package/chunk-KEPOVMF4.js +0 -91
  238. package/chunk-QZI44GWV.js +0 -776
  239. package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
  240. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  241. package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
  242. package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
  243. package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
  244. package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
  245. package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-HFJIN5IZ.js} +8 -8
@@ -2,33 +2,6 @@ import {
2
2
  estimateTokenCount
3
3
  } from "./chunk-PSCNXBYA.js";
4
4
 
5
- // packages/ai/tools/agent/agentRunName.ts
6
- async function resolveAgentRunName(agentKey, candidates, readAgent) {
7
- for (const candidate of candidates) {
8
- if (typeof candidate === "string" && candidate.trim()) return candidate.trim();
9
- }
10
- try {
11
- const record = await readAgent?.(agentKey);
12
- if (!record?.deletedAt && !record?.deleted && !record?.isDeleted && typeof record?.name === "string" && record.name.trim()) {
13
- return record.name.trim();
14
- }
15
- } catch {
16
- }
17
- return shortAgentKey(agentKey);
18
- }
19
- function shortAgentKey(agentKey) {
20
- return agentKey.trim().slice(-24) || "unknown-agent";
21
- }
22
-
23
- // packages/ai/tools/agent/runTitle.ts
24
- var RUN_TITLE_MAX = 60;
25
- function normalizeRunTitle(value) {
26
- if (typeof value !== "string") return void 0;
27
- const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
28
- if (!cleaned) return void 0;
29
- return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
30
- }
31
-
32
5
  // packages/ai/tools/agent/agentRunDisplayHelpers.ts
33
6
  function buildDelegatedTaskContent(task, input) {
34
7
  if (input === void 0 || input === null) {
@@ -314,12 +287,18 @@ function formatFinishedRunCard(agentName, status, opts) {
314
287
  const L = resolveLabels(opts?.labels);
315
288
  const icon = getAgentRunStatusIcon(status);
316
289
  const age = formatRunAge(opts?.timing, opts?.now);
317
- const summary = [L.statusWord(status), age, formatProgressRow(opts?.toolCallCount, opts?.lastToolNames, L)].filter(Boolean).join(" \xB7 ");
318
- const lines = [L.runFinished, ` ${icon} ${summary}`];
290
+ const progress = formatProgressRow(opts?.toolCallCount, opts?.lastToolNames, L);
319
291
  const identity = formatIdentityRow(agentName, opts?.runId, {
320
292
  title: opts?.title,
321
293
  unnamedAgent: L.unnamedAgent
322
294
  });
295
+ if (status === "done" && !opts?.errorMessage?.trim()) {
296
+ const head = identity || L.statusWord(status);
297
+ const parts = [head, age, progress].filter(Boolean);
298
+ return `${icon} ${parts.join(" \xB7 ")}`;
299
+ }
300
+ const summary = [L.statusWord(status), age, progress].filter(Boolean).join(" \xB7 ");
301
+ const lines = [L.runFinished, ` ${icon} ${summary}`];
323
302
  if (identity) {
324
303
  lines.push(` ${L.rows.agent}${identity}`);
325
304
  }
@@ -381,7 +360,7 @@ function formatAgentListCard(agents, maxDisplay = 8, now = /* @__PURE__ */ new D
381
360
  const model = agent.model || "\u2014";
382
361
  const source = agent.apiSource || agent.provider || agent.cliProvider || "\u2014";
383
362
  const key = agent.agentKey || "(agentKey unavailable)";
384
- lines.push(`${star}${own} ${name} ${model} ${source}${includeKeys ? ` ${key}` : ""}`);
363
+ lines.push(`${star} ${own} ${name} ${model} ${source}${includeKeys ? ` ${key}` : ""}`);
385
364
  if (agent.availabilityStatus === "rate_limited" || agent.availabilityStatus === "quota_exhausted") {
386
365
  const until = typeof agent.nextAvailableAt === "number" ? formatLocalClockUntil(agent.nextAvailableAt, now) : void 0;
387
366
  lines.push(
@@ -403,11 +382,34 @@ function formatLocalClockUntil(atMs, now) {
403
382
  return sameDay ? time : `${pad(at.getMonth() + 1)}-${pad(at.getDate())} ${time}`;
404
383
  }
405
384
 
385
+ // packages/ai/tools/agent/agentRunName.ts
386
+ async function resolveAgentRunName(agentKey, candidates, readAgent) {
387
+ for (const candidate of candidates) {
388
+ if (typeof candidate === "string" && candidate.trim()) return candidate.trim();
389
+ }
390
+ try {
391
+ const record = await readAgent?.(agentKey);
392
+ if (!record?.deletedAt && !record?.deleted && !record?.isDeleted && typeof record?.name === "string" && record.name.trim()) {
393
+ return record.name.trim();
394
+ }
395
+ } catch {
396
+ }
397
+ return shortAgentKey(agentKey);
398
+ }
399
+ function shortAgentKey(agentKey) {
400
+ return agentKey.trim().slice(-24) || "unknown-agent";
401
+ }
402
+
403
+ // packages/ai/tools/agent/runTitle.ts
404
+ var RUN_TITLE_MAX = 60;
405
+ function normalizeRunTitle(value) {
406
+ if (typeof value !== "string") return void 0;
407
+ const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
408
+ if (!cleaned) return void 0;
409
+ return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
410
+ }
411
+
406
412
  export {
407
- resolveAgentRunName,
408
- shortAgentKey,
409
- RUN_TITLE_MAX,
410
- normalizeRunTitle,
411
413
  buildDelegatedTaskContent,
412
414
  calculateDelegatedPayloadMetrics,
413
415
  getAgentRunStatusIcon,
@@ -427,5 +429,9 @@ export {
427
429
  formatListRunsCard,
428
430
  formatNotFoundRunCard,
429
431
  isAgentRunTerminalStatus,
430
- formatAgentListCard
432
+ formatAgentListCard,
433
+ resolveAgentRunName,
434
+ shortAgentKey,
435
+ RUN_TITLE_MAX,
436
+ normalizeRunTitle
431
437
  };
@@ -0,0 +1,9 @@
1
+ // packages/core/sha256.ts
2
+ import SHA256 from "crypto-js/sha256.js";
3
+ function sha256Hex(text) {
4
+ return SHA256(text).toString();
5
+ }
6
+
7
+ export {
8
+ sha256Hex
9
+ };
@@ -113,9 +113,10 @@ var MemoryAuthorityBacking = class {
113
113
  entries.reverse();
114
114
  }
115
115
  for (const entry of entries) {
116
- if (options.gte && entry.key < options.gte) continue;
117
- if (options.lte && entry.key > options.lte) continue;
118
- if (options.lt && entry.key >= options.lt) continue;
116
+ if (options.gt !== void 0 && entry.key <= options.gt) continue;
117
+ if (options.gte !== void 0 && entry.key < options.gte) continue;
118
+ if (options.lte !== void 0 && entry.key > options.lte) continue;
119
+ if (options.lt !== void 0 && entry.key >= options.lt) continue;
119
120
  const value = options.values === false ? void 0 : entry.value;
120
121
  yield [entry.key, value];
121
122
  }
@@ -273,6 +274,10 @@ function createSqliteAuthorityStore(dbPath) {
273
274
  async *iterator(options = {}) {
274
275
  const conditions = [];
275
276
  const params = [];
277
+ if (options.gt !== void 0) {
278
+ conditions.push("key > ?");
279
+ params.push(options.gt);
280
+ }
276
281
  if (options.gte !== void 0) {
277
282
  conditions.push("key >= ?");
278
283
  params.push(options.gte);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  selectCurrentServer
3
- } from "./chunk-VREDDN25.js";
3
+ } from "./chunk-ZQUCJBS4.js";
4
4
  import {
5
5
  patch
6
- } from "./chunk-AVHRSJUH.js";
6
+ } from "./chunk-TXFYIWAW.js";
7
7
  import {
8
8
  getIsDesktopApp
9
- } from "./chunk-AGP3YSEC.js";
9
+ } from "./chunk-C3GOEQJF.js";
10
10
  import {
11
11
  selectIdentityToken
12
12
  } from "./chunk-PXYBUFDB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveLocalUserId
3
- } from "./chunk-KZU52OJ5.js";
3
+ } from "./chunk-7U2TFUWW.js";
4
4
  import {
5
5
  resolveNoloHome
6
6
  } from "./chunk-GLKOYSRU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-OB6DVWPF.js";
3
+ } from "./chunk-YFRJAE3R.js";
4
4
 
5
5
  // packages/cli/windowsSelfUpdate.ts
6
6
  import { spawn } from "node:child_process";
@@ -304,11 +304,12 @@ const switchWindowsShims = (shimDir, entrypoint) => {
304
304
  throw new Error("Refusing to downgrade " + payload.currentVersion + " to " + targetVersion);
305
305
  }
306
306
 
307
- if (compare(targetVersion, payload.currentVersion) > 0) {
307
+ if (compare(targetVersion, payload.currentVersion) >= 0) {
308
308
  log("phase: install-target");
309
309
  const versionPrefix = join(payload.managedRoot, targetVersion + "-" + payload.updateId);
310
310
  uncommittedVersionPrefix = versionPrefix;
311
- mkdirSync(versionPrefix, { recursive: true });
311
+ mkdirSync(payload.managedRoot, { recursive: true });
312
+ mkdirSync(versionPrefix);
312
313
  // Install the exact version resolved from the dist-tag above — never the
313
314
  // floating channel tag — so the staged package is the verified one.
314
315
  const install = runNpm(["install", "-g", "--prefix", versionPrefix, "nolo-cli@" + targetVersion, "--force", "--progress"]);
@@ -320,6 +321,13 @@ const switchWindowsShims = (shimDir, entrypoint) => {
320
321
  }
321
322
  const stagedEntrypoint = join(versionPrefix, "node_modules", "nolo-cli", "index.js");
322
323
  if (!existsSync(stagedEntrypoint)) throw new Error("Staged nolo entrypoint is missing");
324
+ const preflight = spawnSync(payload.nodePath, [stagedEntrypoint, "-v"], {
325
+ encoding: "utf8", windowsHide: true, env: process.env,
326
+ cwd: payload.updateDir, timeout: 30 * 1000,
327
+ });
328
+ if (preflight.error || preflight.status !== 0 || String(preflight.stdout || "").trim() !== "nolo-cli " + targetVersion) {
329
+ throw new Error("The staged CLI failed its pre-switch version check");
330
+ }
323
331
  assertLockOwnership();
324
332
  log("phase: switch-shims");
325
333
  const switchedShims = switchWindowsShims(prefix, stagedEntrypoint);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-UKS7D2NL.js";
4
+ } from "./chunk-3NFWMSTA.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveAuthToken,
3
3
  resolveServerUrl
4
- } from "./chunk-2THCNKE4.js";
4
+ } from "./chunk-BIDSIRTS.js";
5
5
 
6
6
  // packages/cli/subscriptionQuotaRefresh.ts
7
7
  var CATALOG_QUOTA_REFRESH_TIMEOUT_MS = 2e3;
@@ -6,12 +6,12 @@ import {
6
6
  loadFileFromIndexedDb,
7
7
  removeAction,
8
8
  saveFileToIndexedDb
9
- } from "./chunk-C4WTX5TU.js";
9
+ } from "./chunk-DIBQXNGW.js";
10
10
  import {
11
11
  readAction,
12
12
  readRequestManager,
13
13
  resolveAgentReadServers
14
- } from "./chunk-QLFCTYRH.js";
14
+ } from "./chunk-X37RQEA3.js";
15
15
  import {
16
16
  beginWriteAck,
17
17
  compareRemoteRecordsByComparableTime,
@@ -29,22 +29,28 @@ import {
29
29
  shouldReplaceLocalWithRemoteRecord,
30
30
  shouldReplicateLocalRecord,
31
31
  uploadToCurrentServer
32
- } from "./chunk-2VUZSVAS.js";
32
+ } from "./chunk-F3FQPVHE.js";
33
33
  import {
34
34
  asyncThunkCreator,
35
35
  buildCreateSlice,
36
36
  createEntityAdapter,
37
37
  noloDeleteRequest
38
- } from "./chunk-7Z6EW7AH.js";
38
+ } from "./chunk-7OTNBI77.js";
39
39
  import {
40
40
  fetchFromClientDb,
41
41
  fetchFromServer,
42
+ googleSessionRequestToken,
43
+ googleSessionServer,
42
44
  logger,
43
- normalizeTimeFields
44
- } from "./chunk-AGP3YSEC.js";
45
+ normalizeTimeFields,
46
+ scopeGoogleSessionServers
47
+ } from "./chunk-C3GOEQJF.js";
45
48
  import {
46
49
  isTombstoneRecord
47
50
  } from "./chunk-BV3FLP2L.js";
51
+ import {
52
+ isPublicBuiltinPlatformAgentKey
53
+ } from "./chunk-WRKMXMU7.js";
48
54
  import {
49
55
  fileKey,
50
56
  getFileIdFromKey
@@ -52,12 +58,12 @@ import {
52
58
  import {
53
59
  ulid
54
60
  } from "./chunk-OJKUU3LP.js";
55
- import {
56
- isRecord
57
- } from "./chunk-KUG52IAP.js";
58
61
  import {
59
62
  API_ENDPOINTS
60
63
  } from "./chunk-LCBAMY2M.js";
64
+ import {
65
+ isRecord
66
+ } from "./chunk-KUG52IAP.js";
61
67
 
62
68
  // packages/database/protectedRecordProtocol.ts
63
69
  var PROTECTED_RECORD_PROTOCOL_VERSION = 1;
@@ -643,14 +649,14 @@ async function getPageReadBaseline(db, actorId, dbKey) {
643
649
  async function readProtectedPage(options) {
644
650
  const { db, actorId, dbKey } = options;
645
651
  const assertAccess = (origin) => {
646
- const access = options.getCurrentAccess?.() ?? options;
647
- if (access.actorId !== actorId || !access.token?.trim()) {
652
+ const access2 = options.getCurrentAccess?.() ?? options;
653
+ if (access2.actorId !== actorId || !access2.token?.trim()) {
648
654
  throw Error("\u6587\u6863\u8BFB\u53D6\u8EAB\u4EFD\u5DF2\u53D8\u5316\u6216\u8BA4\u8BC1\u5DF2\u64A4\u9500\uFF0C\u5DF2\u505C\u6B62\u8BFB\u53D6");
649
655
  }
650
- if (origin && !access.servers.some((server) => originOf(server) === origin)) {
656
+ if (origin && !access2.servers.some((server) => originOf(server) === origin)) {
651
657
  throw Error("\u6587\u6863\u5F52\u5C5E\u670D\u52A1\u5668\u4E0D\u5728\u5DF2\u914D\u7F6E\u670D\u52A1\u5668\u4E2D\u6216\u5DF2\u79FB\u9664\uFF0C\u672A\u53D1\u9001\u8BA4\u8BC1\u4FE1\u606F\uFF0C\u672A\u8F6C\u53D1\u8BA4\u8BC1\u4FE1\u606F");
652
658
  }
653
- return access.token;
659
+ return origin ? googleSessionRequestToken(access2.token, origin) : access2.token;
654
660
  };
655
661
  assertAccess();
656
662
  const sync = options.sync ?? createProtectedRecordSync({ db });
@@ -664,13 +670,10 @@ async function readProtectedPage(options) {
664
670
  sync,
665
671
  fetch: options.fetch,
666
672
  isAuthorityAllowed: (origin) => {
667
- const access = options.getCurrentAccess();
668
- return access.actorId === actorId && access.servers.some((server) => originOf(server) === origin);
673
+ const access2 = options.getCurrentAccess();
674
+ return access2.actorId === actorId && access2.servers.some((server) => originOf(server) === origin);
669
675
  },
670
- getToken: async () => {
671
- const access = options.getCurrentAccess();
672
- return access.actorId === actorId ? access.token ?? null : null;
673
- }
676
+ getToken: async ({ authorityServer }) => assertAccess(authorityServer)
674
677
  });
675
678
  for (let count = 0; count < state.outbox.length; count++) {
676
679
  if ((await transport.sendNext({ actorId, dbKey })).outcome !== "acked") break;
@@ -683,7 +686,9 @@ async function readProtectedPage(options) {
683
686
  return state.workingCopy.data;
684
687
  }
685
688
  }
686
- const servers = saved ? [saved.authorityServer] : options.servers;
689
+ const access = options.getCurrentAccess?.() ?? options;
690
+ const googleAuthority = googleSessionServer(access.token);
691
+ const servers = saved ? [saved.authorityServer] : options.servers.filter((server) => access.servers.some((candidate) => originOf(candidate) === originOf(server)) && (!googleAuthority || originOf(server) === googleAuthority));
687
692
  for (const server of servers) {
688
693
  const origin = originOf(server);
689
694
  if (!origin) continue;
@@ -832,6 +837,7 @@ var readAndWaitAction = async (payload, thunkApi) => {
832
837
  userAuthorityRegistry
833
838
  } = getRuntimeServerContext(state, preferredServerOrigin);
834
839
  const allServers = resolveAgentReadServers({ dbKey, configuredServers });
840
+ const fetchScopedFromServer = (server, key, token, signal) => signal === void 0 ? fetchFromServer(server, key, googleSessionRequestToken(token, server, isPublicBuiltinPlatformAgentKey(key))) : fetchFromServer(server, key, googleSessionRequestToken(token, server, isPublicBuiltinPlatformAgentKey(key)), signal);
835
841
  const isLoggedIn = !!currentToken;
836
842
  const executeReadAndWait = async () => {
837
843
  if (dbKey.startsWith("page-") && currentUserId && currentToken && typeof db.batch === "function") {
@@ -857,11 +863,12 @@ var readAndWaitAction = async (payload, thunkApi) => {
857
863
  currentServer,
858
864
  userAuthorityRegistry
859
865
  });
860
- const readServers = planAuthorityReadServers({
866
+ let readServers = planAuthorityReadServers({
861
867
  allServers,
862
868
  authorityServer: preferredServerOrigin ?? authority.authorityServer,
863
869
  serverOrigin: authority.serverOrigin
864
870
  });
871
+ if (!isPublicBuiltinPlatformAgentKey(dbKey)) readServers = scopeGoogleSessionServers(currentToken, currentServer, readServers);
865
872
  const hasPreferredAuthorityServer = !!preferredServerOrigin || !!authority.authorityServer;
866
873
  const preferredAuthorityServer = hasPreferredAuthorityServer ? readServers[0] : null;
867
874
  if (readServers.length === 0) {
@@ -874,7 +881,7 @@ var readAndWaitAction = async (payload, thunkApi) => {
874
881
  }
875
882
  if (preferredAuthorityServer) {
876
883
  try {
877
- const preferredRemoteData = await fetchFromServer(
884
+ const preferredRemoteData = await fetchScopedFromServer(
878
885
  preferredAuthorityServer,
879
886
  dbKey,
880
887
  isLoggedIn ? currentToken : void 0
@@ -888,7 +895,7 @@ var readAndWaitAction = async (payload, thunkApi) => {
888
895
  }
889
896
  const remainingReadServers = preferredAuthorityServer ? readServers.filter((server) => server !== preferredAuthorityServer) : readServers;
890
897
  const remotePromises = remainingReadServers.map(
891
- (server) => fetchFromServer(server, dbKey, isLoggedIn ? currentToken : void 0)
898
+ (server) => fetchScopedFromServer(server, dbKey, isLoggedIn ? currentToken : void 0)
892
899
  );
893
900
  const chosenData = await processRemoteData(
894
901
  db,
@@ -1487,7 +1494,7 @@ var dbSlice = createSliceWithThunks({
1487
1494
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
1488
1495
  read: create.asyncThunk(
1489
1496
  async (payload, thunkApi) => {
1490
- const { readAction: readAction2 } = await import("./read-Q7GOHGNP.js");
1497
+ const { readAction: readAction2 } = await import("./read-OBLJNMA2.js");
1491
1498
  return readAction2(payload, thunkApi);
1492
1499
  },
1493
1500
  {
@@ -1561,7 +1568,7 @@ var dbSlice = createSliceWithThunks({
1561
1568
  // 这里改成动态 import,运行期才解析,彻底断开这条边。
1562
1569
  share: create.asyncThunk(
1563
1570
  async (config, thunkApi) => {
1564
- const { shareResourceAction } = await import("./action-CK64LS6S.js");
1571
+ const { shareResourceAction } = await import("./action-24MZYW2B.js");
1565
1572
  return shareResourceAction(config, thunkApi);
1566
1573
  }
1567
1574
  ),
@@ -2,15 +2,18 @@ import {
2
2
  getCurrentSpaceIdRaw,
3
3
  setCurrentSpaceBoth,
4
4
  setSpaceInitialized
5
- } from "./chunk-MOMR7NMG.js";
5
+ } from "./chunk-C646JEUV.js";
6
6
  import {
7
7
  createSpaceKey,
8
8
  normalizeSpaceId
9
9
  } from "./chunk-UAD2WT54.js";
10
10
  import {
11
11
  fetchFromServer,
12
- getAllServers
13
- } from "./chunk-AGP3YSEC.js";
12
+ getAllServers,
13
+ googleSessionRequestToken,
14
+ isGoogleAuthoritySession,
15
+ scopeGoogleSessionServers
16
+ } from "./chunk-C3GOEQJF.js";
14
17
  import {
15
18
  selectIdentityToken,
16
19
  selectIdentityUserId
@@ -23,7 +26,7 @@ import {
23
26
  var resolveSpaceRemoteServers = (state) => {
24
27
  const currentServer = typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : void 0;
25
28
  const syncServers = Array.isArray(state?.settings?.syncServers) ? state.settings.syncServers : void 0;
26
- return getAllServers(currentServer, syncServers);
29
+ return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, getAllServers(currentServer, syncServers));
27
30
  };
28
31
  var selectSpaceRemoteAuth = (state) => ({
29
32
  token: selectIdentityToken(state) ?? null,
@@ -40,11 +43,13 @@ var membershipFetchCache = /* @__PURE__ */ new Map();
40
43
  var MEMBERSHIP_FETCH_CACHE_TTL_MS = 3e4;
41
44
  async function fetchMembershipsFromServer(server, token, userId, timeoutMs) {
42
45
  if (!token) return { ok: false, memberships: [] };
46
+ googleSessionRequestToken(token, server);
43
47
  const controller = new AbortController();
44
48
  const timeoutId = setTimeout(() => controller.abort(), timeoutMs);
45
49
  try {
46
50
  const response = await fetch(`${server}/rpc/getUserSpaceMemberships`, {
47
51
  method: "POST",
52
+ ...isGoogleAuthoritySession(token) ? { redirect: "error", credentials: "omit" } : {},
48
53
  headers: {
49
54
  Authorization: `Bearer ${token}`,
50
55
  "Content-Type": "application/json"
@@ -63,6 +63,8 @@ var CLOUDFLARE_CLAUDE_SONNET_5_5_UPSTREAM_MODEL_ID = "anthropic/claude-sonnet-5.
63
63
  var CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE = "https://api.cloudflare.com/client/v4/accounts/{account}/ai/v1/messages";
64
64
  var PLATFORM_HOSTED_GROK_4_6_MODEL = "grok-4.6";
65
65
  var PLATFORM_HOSTED_GPT_6_ASTRA_MODEL = "gpt-6-astra";
66
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL = "gpt-6.2-astra";
67
+ var PLATFORM_HOSTED_GPT_6_2_SOL_MODEL = "gpt-6.2-sol";
66
68
  var PLATFORM_HOSTED_GPT_6_LUNA_MODEL = "gpt-6-luna";
67
69
  var PLATFORM_HOSTED_GPT_6_SOL_MODEL = "gpt-6-sol";
68
70
  var PLATFORM_HOSTED_GPT_56_SOL_MODEL = "gpt-5.6-sol";
@@ -93,6 +95,8 @@ var PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL = "deepseek-v4-flash-vision-
93
95
  var PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL = "deepseek-v4-pro";
94
96
  var PLATFORM_HOSTED_LEGACY_DEEPSEEK_V4_FLASH_MODEL = "deepseek-v4-flash";
95
97
  var OPENAI_GPT_6_ASTRA_UPSTREAM_MODEL_ID = "gpt-6-astra";
98
+ var OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID = "gpt-6.2-astra";
99
+ var OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID = "gpt-6.2-sol";
96
100
  var OPENAI_GPT_6_LUNA_UPSTREAM_MODEL_ID = "gpt-6-luna";
97
101
  var OPENAI_GPT_6_1_SOL_UPSTREAM_MODEL_ID = "gpt-6.1-sol";
98
102
  var OPENAI_GPT_6_1_TERRA_UPSTREAM_MODEL_ID = "gpt-6.1-terra";
@@ -335,6 +339,22 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
335
339
  wire: "responses",
336
340
  agentRunHosted: true
337
341
  },
342
+ [PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL]: {
343
+ endpoint: "https://api.openai.com/v1/responses",
344
+ usageProvider: "openai",
345
+ keyName: "openai",
346
+ upstreamModelId: OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID,
347
+ wire: "responses",
348
+ agentRunHosted: true
349
+ },
350
+ [PLATFORM_HOSTED_GPT_6_2_SOL_MODEL]: {
351
+ endpoint: "https://api.openai.com/v1/responses",
352
+ usageProvider: "openai",
353
+ keyName: "openai",
354
+ upstreamModelId: OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID,
355
+ wire: "responses",
356
+ agentRunHosted: true
357
+ },
338
358
  // GPT-6 Luna(2026-09-22 随 GPT-6 Sol/Luna 上线):官方直连 Responses 线。
339
359
  [PLATFORM_HOSTED_GPT_6_LUNA_MODEL]: {
340
360
  endpoint: "https://api.openai.com/v1/responses",
@@ -765,6 +785,34 @@ var PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE = {
765
785
  output: toPlatformCredits(75)
766
786
  // 600 credits
767
787
  };
788
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE = {
789
+ input: toPlatformCredits(8),
790
+ inputCacheHit: toPlatformCredits(0.4),
791
+ cachingRead: toPlatformCredits(0.4),
792
+ cachingWrite: toPlatformCredits(10),
793
+ output: toPlatformCredits(40)
794
+ };
795
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE = {
796
+ input: toPlatformCredits(16),
797
+ inputCacheHit: toPlatformCredits(0.8),
798
+ cachingRead: toPlatformCredits(0.8),
799
+ cachingWrite: toPlatformCredits(20),
800
+ output: toPlatformCredits(60)
801
+ };
802
+ var PLATFORM_HOSTED_GPT_6_2_SOL_PRICE = {
803
+ input: toPlatformCredits(2),
804
+ inputCacheHit: toPlatformCredits(0.1),
805
+ cachingRead: toPlatformCredits(0.1),
806
+ cachingWrite: toPlatformCredits(2.5),
807
+ output: toPlatformCredits(10)
808
+ };
809
+ var PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE = {
810
+ input: toPlatformCredits(4),
811
+ inputCacheHit: toPlatformCredits(0.2),
812
+ cachingRead: toPlatformCredits(0.2),
813
+ cachingWrite: toPlatformCredits(5),
814
+ output: toPlatformCredits(15)
815
+ };
768
816
  var PLATFORM_HOSTED_GPT_56_SOL_PRICE = {
769
817
  input: toPlatformCredits(2),
770
818
  // 16 credits
@@ -1311,6 +1359,46 @@ var platformHostedModels = [
1311
1359
  supportsTool: false
1312
1360
  },
1313
1361
  // GPT-6 / GPT-5.6 系:OpenAI 官方 chat.completions,平台价按短上下文价目。
1362
+ {
1363
+ name: PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL,
1364
+ displayName: "GPT-6.2 Astra",
1365
+ hasVision: true,
1366
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE },
1367
+ pricingStrategy: {
1368
+ type: "tiered_context",
1369
+ tiers: [
1370
+ {
1371
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1372
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE }
1373
+ }
1374
+ ]
1375
+ },
1376
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1377
+ maxOutputTokens: 128e3,
1378
+ contextWindow: 105e4,
1379
+ supportsTool: true,
1380
+ supportsReasoningEffort: true
1381
+ },
1382
+ {
1383
+ name: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
1384
+ displayName: "GPT-6.2 Sol",
1385
+ hasVision: true,
1386
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_PRICE },
1387
+ pricingStrategy: {
1388
+ type: "tiered_context",
1389
+ tiers: [
1390
+ {
1391
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1392
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE }
1393
+ }
1394
+ ]
1395
+ },
1396
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1397
+ maxOutputTokens: 128e3,
1398
+ contextWindow: 105e4,
1399
+ supportsTool: true,
1400
+ supportsReasoningEffort: true
1401
+ },
1314
1402
  {
1315
1403
  name: PLATFORM_HOSTED_GPT_6_ASTRA_MODEL,
1316
1404
  displayName: "GPT-6 Astra",
@@ -1,6 +1,11 @@
1
1
  // packages/cli/tui/ciStatus.ts
2
2
  import { execFile } from "node:child_process";
3
- var DEFAULT_SSH_HOST = "root@62.83.99.45";
3
+
4
+ // packages/core/infraHosts.ts
5
+ var ALPHA_ORIGIN_IP = "62.83.99.45";
6
+
7
+ // packages/cli/tui/ciStatus.ts
8
+ var DEFAULT_SSH_HOST = `root@${ALPHA_ORIGIN_IP}`;
4
9
  var DEFAULT_CI_PORT = "3900";
5
10
  function resolveCiSshTarget(env = process.env) {
6
11
  const override = env.NOLO_CI_SSH_HOST?.trim();
@@ -21,8 +26,15 @@ function buildCiStatusCommand(limit, env = process.env) {
21
26
  const safeLimit = Math.max(1, Math.min(20, Math.trunc(limit) || 5));
22
27
  return compactStatusBeforeTransport(`curl -s -m 3 "http://127.0.0.1:${resolveCiPort(env)}/status?limit=${safeLimit}"`);
23
28
  }
24
- function resolveSshTarget() {
25
- return resolveCiSshTarget();
29
+ function isCiStatusTestOrCiEnvironment(env = process.env) {
30
+ return env.NODE_ENV === "test" || process.env.NODE_ENV === "test" || env.BUN_ENV === "test" || process.env.BUN_ENV === "test" || Boolean(
31
+ env.CI || process.env.CI || env.GITHUB_ACTIONS || process.env.GITHUB_ACTIONS
32
+ );
33
+ }
34
+ function shouldBlockRealSsh(env, execFileImpl) {
35
+ if (execFileImpl !== execFile) return false;
36
+ if (env.NOLO_CI_STATUS_ALLOW_SSH === "1") return false;
37
+ return isCiStatusTestOrCiEnvironment(env);
26
38
  }
27
39
  function asRecord(value) {
28
40
  return typeof value === "object" && value !== null ? value : void 0;
@@ -74,13 +86,16 @@ function parseCiStatusPayload(raw) {
74
86
  const single = toCiJob(parsed);
75
87
  return single ? [single] : void 0;
76
88
  }
77
- function buildRemoteCommand(limit) {
78
- return buildCiStatusCommand(limit);
89
+ function buildRemoteCommand(limit, env = process.env) {
90
+ return buildCiStatusCommand(limit, env);
79
91
  }
80
- function fetchCiStatus(limit = 5, timeoutMs = 4e3, signal) {
81
- return fetchCiPayload(buildRemoteCommand(limit), parseCiStatusPayload, timeoutMs, resolveSshTarget(), signal);
92
+ function fetchCiStatus(limit = 5, timeoutMs = 4e3, signal, env = process.env, execFileImpl = execFile) {
93
+ return fetchCiPayload(buildRemoteCommand(limit, env), parseCiStatusPayload, timeoutMs, resolveCiSshTarget(env), signal, execFileImpl, env);
82
94
  }
83
- function fetchCiPayload(command, parse, timeoutMs, sshTarget, signal, execFileImpl = execFile) {
95
+ function fetchCiPayload(command, parse, timeoutMs, sshTarget, signal, execFileImpl = execFile, env = process.env) {
96
+ if (shouldBlockRealSsh(env, execFileImpl)) {
97
+ return Promise.resolve(void 0);
98
+ }
84
99
  return new Promise((resolve) => {
85
100
  let settled = false;
86
101
  let guard;
@@ -132,24 +147,25 @@ function summarizeLatest(jobs) {
132
147
  }
133
148
  return `ci:${sha} ${latest.status}`;
134
149
  }
135
- function buildCancelCommand(jobId) {
136
- const port = resolveCiPort();
150
+ function buildCancelCommand(jobId, env = process.env) {
151
+ const port = resolveCiPort(env);
137
152
  const body = JSON.stringify({ jobId }).replace(/'/g, "'\\''");
138
153
  const endpoint = `http://127.0.0.1:${port}/cancel`;
139
154
  const tokenRef = `$(grep -m1 '^NOLO_CI_ADMIN_TOKEN=' "$HOME/.config/nolo-ci.env" 2>/dev/null | cut -d= -f2-)`;
140
155
  return `curl -s -m 110 -H "Authorization: Bearer ${tokenRef}" -H 'Content-Type: application/json' -X POST --data '${body}' "${endpoint}"`;
141
156
  }
142
- function fetchCiCancel(jobId, timeoutMs = 12e4, execFileImpl = execFile) {
157
+ function fetchCiCancel(jobId, timeoutMs = 12e4, execFileImpl = execFile, env = process.env) {
143
158
  return fetchCiPayload(
144
- buildCancelCommand(jobId),
159
+ buildCancelCommand(jobId, env),
145
160
  (stdout) => {
146
161
  const response = JSON.parse(stdout);
147
162
  return response?.ok === true && response?.cancelled === true && response?.jobId === jobId ? true : false;
148
163
  },
149
164
  timeoutMs,
150
- resolveSshTarget(),
165
+ resolveCiSshTarget(env),
151
166
  void 0,
152
- execFileImpl
167
+ execFileImpl,
168
+ env
153
169
  );
154
170
  }
155
171