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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-PODMRXJJ.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-NJTYNXXR.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-RUPXLROG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-57EJ2UBC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-DRFCOTYP.js} +185 -147
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-FHENHUBF.js} +143 -127
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-BMVKNYIY.js} +9 -6
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-W66W5K3V.js} +88 -69
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-C3BUBCXU.js} +69 -60
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-VIWKP7DM.js} +11 -8
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-5SNSXOY7.js} +10 -7
  14. package/agentRecordCommands-DYMHWTID.js +210 -0
  15. package/agentRun-QVFG3CI4.js +250 -0
  16. package/agentRunCommand-YV4V5HSL.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-RGBHKPKJ.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-LVEMOYS2.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-OJCM7OUX.js} +15 -18
  20. package/appConfigCommands-ZUXQLE7L.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-L5UKUMXY.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-KX2BRQUW.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-7LHRSWW7.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-F7SDFCUK.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-U4NJKSMZ.js} +74 -58
  26. package/appMigrateCommands-JAPOLYSW.js +230 -0
  27. package/appSourceCommands-TLXPWXUH.js +279 -0
  28. package/authCommand-AU3GZBZ2.js +65 -0
  29. package/{authCommands-T5FODCEG.js → authCommands-JKBWMUQ4.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-F47WYQWF.js} +68 -18
  32. package/{chunk-5YS6QHGT.js → chunk-2FGFY72B.js} +9 -9
  33. package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
  34. package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
  35. package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
  36. package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
  37. package/chunk-35JIFLIG.js +30 -0
  38. package/{chunk-7OVOZRZF.js → chunk-3B7OTHDW.js} +23 -379
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-XNNBXUEM.js → chunk-3TII7WCF.js} +5 -5
  42. package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
  43. package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
  44. package/chunk-4IVMDQBA.js +261 -0
  45. package/chunk-4Y6CZ2N4.js +82 -0
  46. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  47. package/{chunk-KQHEGELM.js → chunk-63G7JWEA.js} +16 -6
  48. package/{chunk-4EACJPZI.js → chunk-6BBXJGIQ.js} +51 -42
  49. package/chunk-72VWN4VK.js +51 -0
  50. package/chunk-7LR2IFUH.js +100 -0
  51. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  52. package/{chunk-XPETQ4MR.js → chunk-7X4BFUJV.js} +24 -10
  53. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  54. package/chunk-A4O76A6V.js +432 -0
  55. package/chunk-AMNZPQCY.js +635 -0
  56. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  57. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  58. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  59. package/{chunk-U6QNVOR5.js → chunk-BUGLH2A7.js} +130 -6
  60. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  61. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  62. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  63. package/{chunk-Y2TCTNUD.js → chunk-CK2LMTYO.js} +4 -4
  64. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  65. package/{chunk-57V4PADY.js → chunk-CNYPQYXT.js} +781 -449
  66. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  67. package/chunk-D3ONA3FP.js +762 -0
  68. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  69. package/chunk-DLXL4NSL.js +1179 -0
  70. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  71. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  72. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  73. package/{chunk-DBJODIZ6.js → chunk-EQOWWSNQ.js} +19 -27
  74. package/chunk-ER6NTALN.js +34 -0
  75. package/{chunk-L4XST72F.js → chunk-ERCSHBUD.js} +16027 -17392
  76. package/chunk-EUHMI5KG.js +101 -0
  77. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  78. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  79. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  80. package/chunk-FI4DPLR7.js +902 -0
  81. package/{chunk-HDKMVYNJ.js → chunk-FNLT7NKG.js} +7 -11
  82. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  83. package/chunk-FP46RAJQ.js +58 -0
  84. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  85. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  86. package/{chunk-FZENZCIA.js → chunk-GEC4CHS2.js} +19 -12
  87. package/chunk-GF4LYNNZ.js +25 -0
  88. package/{chunk-IYLUK67R.js → chunk-GH6SS2DZ.js} +25 -8
  89. package/chunk-HAZ6UVH4.js +368 -0
  90. package/{chunk-OKAXQFON.js → chunk-HB4J5HA6.js} +4 -4
  91. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  92. package/chunk-HJTI7RZV.js +94 -0
  93. package/{chunk-HQUGB2HM.js → chunk-HMFKYZKP.js} +62 -50
  94. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  95. package/{chunk-46FETNLF.js → chunk-IN4B6Z2D.js} +7 -6
  96. package/chunk-IV6VUVLJ.js +88 -0
  97. package/{chunk-LLUBUHNT.js → chunk-IWWJSSST.js} +5 -9
  98. package/{chunk-7BIJFGKS.js → chunk-J22PFCQN.js} +106 -52
  99. package/chunk-J42X32PV.js +472 -0
  100. package/{chunk-LCBAMY2M.js → chunk-JKVOKKMQ.js} +0 -7
  101. package/{chunk-KT7S7ANZ.js → chunk-JPYOHIHX.js} +9 -9
  102. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  103. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  104. package/{chunk-KLMBM6P6.js → chunk-KALCFXQO.js} +2454 -1115
  105. package/chunk-KDDXC2IH.js +148 -0
  106. package/chunk-KGKTN2NX.js +25 -0
  107. package/chunk-KGWE224L.js +246 -0
  108. package/{chunk-OYUMJMC5.js → chunk-KSV6T4AH.js} +6 -1
  109. package/{chunk-P27E22MA.js → chunk-L43DGEPZ.js} +1 -1
  110. package/{chunk-5BIDJVNX.js → chunk-L45P4JTE.js} +180 -31
  111. package/chunk-LHCIIUCX.js +222 -0
  112. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  113. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  114. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  115. package/{chunk-BIDSIRTS.js → chunk-LTCZOOAM.js} +11 -17
  116. package/chunk-LUTSMSIL.js +425 -0
  117. package/chunk-LXP53WGF.js +168 -0
  118. package/{chunk-2CT2J3O6.js → chunk-M7VNNPVX.js} +2493 -4055
  119. package/chunk-MDAYRIP7.js +1889 -0
  120. package/{chunk-6B2OBX5B.js → chunk-MMXHIHJZ.js} +15 -47
  121. package/{chunk-HPDLPEUG.js → chunk-MPWQI36J.js} +267 -234
  122. package/chunk-MRACVEPZ.js +7 -0
  123. package/{chunk-ZYPXOQS2.js → chunk-MSFKHPA6.js} +1 -1
  124. package/chunk-NHLLXINQ.js +8 -0
  125. package/{chunk-QXTEEEIN.js → chunk-NJCTPWJU.js} +8 -8
  126. package/chunk-NLS7F5DW.js +1697 -0
  127. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  128. package/{chunk-JLZJL3WC.js → chunk-O77F26YB.js} +370 -39
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-YN23INFZ.js → chunk-OIOMBPCA.js} +23 -2
  131. package/{chunk-CJOOF4L5.js → chunk-OSZNERNW.js} +17 -14
  132. package/{chunk-JZO7KUF3.js → chunk-P4I55ASV.js} +313 -275
  133. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  134. package/chunk-PL5RKESU.js +40 -0
  135. package/chunk-Q5FJJ6XI.js +103 -0
  136. package/{chunk-WS36XPJD.js → chunk-Q5IXZF3S.js} +82 -6
  137. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  138. package/{chunk-WSLL7VV4.js → chunk-QXWXRBOL.js} +9 -9
  139. package/{chunk-MXA54TQM.js → chunk-QZYQ3Y3G.js} +1 -1
  140. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  141. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  142. package/chunk-RF576RYE.js +117 -0
  143. package/chunk-RI7SXDJW.js +1317 -0
  144. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  145. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  146. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  147. package/{chunk-J55F3IEZ.js → chunk-SARJZIGR.js} +1 -1
  148. package/chunk-SJFL32RD.js +356 -0
  149. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  150. package/{chunk-MPGR4ZNR.js → chunk-SRVLHMES.js} +46 -42
  151. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  152. package/{chunk-RD3QLZQV.js → chunk-SWJRX4M5.js} +324 -2
  153. package/{chunk-R3TUHCSJ.js → chunk-T3Y2NA4H.js} +8 -3
  154. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  155. package/{chunk-KWNVPY6M.js → chunk-TJXO66M2.js} +8 -5
  156. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  157. package/{chunk-ADYWV732.js → chunk-U5PSCTMR.js} +264 -177
  158. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  159. package/{chunk-QGFLVQ6E.js → chunk-UBOTXA3Z.js} +4 -14
  160. package/{chunk-6YX2RAQN.js → chunk-UEZL3RBG.js} +89 -164
  161. package/{chunk-NCFKHYDM.js → chunk-UJL23HBL.js} +774 -119
  162. package/chunk-ULPU4C43.js +1710 -0
  163. package/{chunk-UA3QTA2S.js → chunk-VC3MAT33.js} +4442 -2570
  164. package/{chunk-VNHZJEQN.js → chunk-VCESLFF4.js} +3 -3
  165. package/chunk-VOO3YQQP.js +17157 -0
  166. package/{chunk-Y2GWUBNS.js → chunk-VZDSNDUD.js} +279 -149
  167. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  168. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  169. package/chunk-WEEB2JKA.js +443 -0
  170. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  171. package/chunk-WMBJDXMY.js +408 -0
  172. package/chunk-WSQLCWLQ.js +201 -0
  173. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  174. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  175. package/{chunk-MNFUKRRU.js → chunk-XKNDVHF5.js} +7 -7
  176. package/{chunk-MHKPUGPD.js → chunk-XREMPMNK.js} +20 -4
  177. package/chunk-XT6C2QZW.js +46 -0
  178. package/chunk-XUDXQT7R.js +790 -0
  179. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  180. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  181. package/{chunk-U35UUM5K.js → chunk-YVOUSIIA.js} +1 -1
  182. package/{chunk-6VEO7Z3Y.js → chunk-Z27AH6A5.js} +6 -6
  183. package/chunk-Z3KTXWWB.js +76 -0
  184. package/{chunk-UWWOWTW2.js → chunk-Z7EP5HDL.js} +1 -1
  185. package/{chunk-YFEK7ACQ.js → chunk-ZB2E724W.js} +4 -4
  186. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  187. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  188. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-BJJEXHSZ.js} +20 -14
  189. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  190. package/cliAuthorityBrokerProcess-VIJEKQSX.js +34 -0
  191. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-NDMKN4X2.js} +6 -3
  192. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  193. package/cliLocalAgentRecordReader-KCZS2MZU.js +113 -0
  194. package/cloudAutomationCommands-2WQUGQSW.js +310 -0
  195. package/{commandRegistry-IFYQLPGM.js → commandRegistry-C64JBZJ3.js} +288 -121
  196. package/{contentThunks-QCFCD2X3.js → contentThunks-G3HEIRXC.js} +45 -43
  197. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  198. package/createAgentAutomationAction-DSBL3X3A.js +172 -0
  199. package/createDialogAction-OHFUHC53.js +86 -0
  200. package/{createPageAction-QCVBMP4C.js → createPageAction-E6JZSZLU.js} +49 -45
  201. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  202. package/{dbSlice-RWPSVHBC.js → dbSlice-U3GPLEL3.js} +21 -16
  203. package/deleteDbKey-DRXKWJX5.js +86 -0
  204. package/{dialogCommands-4IEQUALS.js → dialogCommands-4EX2OTIC.js} +80 -66
  205. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  206. package/dialogNotifyCommand-4SCE2Z2R.js +44 -0
  207. package/dialogPortabilityCommands-ZSFFHRX4.js +3036 -0
  208. package/{dialogSlice-XFYID6KE.js → dialogSlice-PRZCIJCH.js} +43 -42
  209. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-RKB76OVX.js} +84 -70
  210. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-BP7HMRYP.js} +7 -4
  211. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-JGPNGIZ7.js} +68 -59
  212. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-XRJTNRDH.js} +68 -59
  213. package/{docReadCommands-EXQI7ETH.js → docReadCommands-6GFO4ARS.js} +67 -58
  214. package/{docStore-MWFUKZL2.js → docStore-QRLIWFTU.js} +16 -17
  215. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-W2GXMUXW.js} +68 -59
  216. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  217. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  218. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  219. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-DHGWURJZ.js} +265 -119
  220. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-FPUZ7RMI.js} +138 -122
  221. package/index.js +36 -22
  222. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  223. package/localAutomationCommands-ZMU22RQJ.js +198 -0
  224. package/localAutomationRuntime-MU5FGJ3V.js +60 -0
  225. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  226. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-YBXQBV4G.js} +136 -119
  227. package/localRuntimeAuthority-LDXMEDO5.js +44 -0
  228. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-6TQZDLNU.js} +1 -1
  229. package/{machineCommands-CL5XK5UC.js → machineCommands-57RTUYRV.js} +251 -357
  230. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  231. package/machineWsRunDispatch-VBKV3FFE.js +227 -0
  232. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-J76SOJVZ.js} +40 -22
  233. package/mcpLocalManageCommands-USETIMHB.js +212 -0
  234. package/{memberThunks-43B7UYC5.js → memberThunks-7UERUEMI.js} +102 -22
  235. package/{memoryCommands-BC6REPQB.js → memoryCommands-N7NHEE55.js} +25 -34
  236. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  237. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  238. package/package.json +3 -3
  239. package/parityCommands-LYDLWSLK.js +613 -0
  240. package/{projectArchive-OC63TWTD.js → projectArchive-KCNQDVWJ.js} +49 -45
  241. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  242. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  243. package/{read-KG6INYUT.js → read-SPSQ6NLR.js} +11 -10
  244. package/{readDocTool-N3GA52JR.js → readDocTool-ENUL2GNL.js} +5 -1
  245. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-MKS7TAEF.js} +927 -573
  246. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  247. package/remove-TNNDO635.js +32 -0
  248. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-POPUZ3WU.js} +22 -26
  249. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-KVILXQNI.js} +117 -82
  250. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-4J2DP4LZ.js} +23 -16
  251. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  252. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-35THMVBP.js} +16 -17
  253. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-WLXBNIG7.js} +23 -27
  254. package/{settingThunks-DVKG4X4S.js → settingThunks-6Y5U5M5N.js} +170 -497
  255. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  256. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-LXNJBO2U.js} +293 -58
  257. package/spacePruneCommand-2ITUFYBM.js +233 -0
  258. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  259. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-EY6MFKCA.js} +225 -137
  260. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-TG6BQRDA.js} +19 -23
  261. package/{tableCommands-EFA754RE.js → tableCommands-35G34R4B.js} +28 -49
  262. package/{toolApiClient-N5PYW2R3.js → toolApiClient-MPQIFYXP.js} +15 -4
  263. package/{tools-2Q2LBDUC.js → tools-CSLTRRUR.js} +73 -63
  264. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-ALR4Q3JM.js} +20 -13
  265. package/tuiSummaryLlmCaller-3Y3JEXJK.js +52 -0
  266. package/{updateCommands-GJGRS6JK.js → updateCommands-GHQVP6Z5.js} +13 -8
  267. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-LFAWF5EW.js} +57 -58
  268. package/{usageCommand-WI6SQOPB.js → usageCommand-5VKW6T4C.js} +6 -8
  269. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-VUQETFMW.js} +11 -15
  270. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  271. package/workContext-ZAW6VXT7.js +18 -0
  272. package/workContextQueryProjection-CACY5VFE.js +23 -0
  273. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  274. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  275. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  276. package/agentRunCommand-DMVGBPLI.js +0 -232
  277. package/authCommand-V6EOMZX6.js +0 -79
  278. package/chunk-2MBTWINN.js +0 -89
  279. package/chunk-523DITKR.js +0 -32
  280. package/chunk-BUDVRYES.js +0 -2213
  281. package/chunk-BZMDWGQQ.js +0 -47
  282. package/chunk-GAHJLSDO.js +0 -107
  283. package/chunk-GYX6XTAI.js +0 -84
  284. package/chunk-HNUWUO75.js +0 -93
  285. package/chunk-HSBHS6KT.js +0 -33401
  286. package/chunk-KG27JIG4.js +0 -136
  287. package/chunk-OB4FBZXJ.js +0 -364
  288. package/chunk-OKH74FML.js +0 -3746
  289. package/chunk-OLZBQWZU.js +0 -6
  290. package/chunk-OOV5JN25.js +0 -1317
  291. package/chunk-OQFOE4SJ.js +0 -405
  292. package/chunk-PXYBUFDB.js +0 -53
  293. package/chunk-R3FZHW4Q.js +0 -103
  294. package/chunk-R3MV2GII.js +0 -106
  295. package/chunk-SCAC3NM5.js +0 -11751
  296. package/chunk-SR4FE5VD.js +0 -9
  297. package/chunk-SYTHYBMI.js +0 -3558
  298. package/chunk-UKZX3NHN.js +0 -48
  299. package/chunk-UVLYNWIE.js +0 -74
  300. package/chunk-VQX5JJNI.js +0 -861
  301. package/chunk-X4O7FJF5.js +0 -160
  302. package/chunk-YJPK35HB.js +0 -175
  303. package/chunk-YNIYE47Z.js +0 -105
  304. package/chunk-Z4PCXPUE.js +0 -127
  305. package/chunk-ZR5IVL4N.js +0 -862
  306. package/chunk-ZTHAJU3O.js +0 -2537
  307. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  308. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  309. package/createDialogAction-ZAJERW62.js +0 -82
  310. package/deleteFile-ECU6FU5C.js +0 -55
  311. package/dialogNotifyCommand-IASQGEMW.js +0 -36
  312. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  313. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  314. package/markdownToSlate-PXYAIBVL.js +0 -8
  315. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  316. package/webapi-QVV65DQF.js +0 -2487
  317. package/workContext-Y3ADAPZU.js +0 -14
  318. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  319. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  320. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -1,22 +1,18 @@
1
1
  import {
2
2
  shouldUseServerProxy
3
- } from "./chunk-UKZX3NHN.js";
4
- import {
5
- ANTIGRAVITY_CLOUD_CODE_BASE_URL,
6
- isAntigravityCloudCodeBaseUrl,
7
- isAntigravityOAuthAgent
8
- } from "./chunk-6SOWMEAY.js";
3
+ } from "./chunk-CEIWXKHP.js";
9
4
  import {
10
5
  isAgentCredentialShared
11
- } from "./chunk-LVZVSLKO.js";
6
+ } from "./chunk-KGKTN2NX.js";
12
7
  import {
13
8
  isOpenAiResponsesModel,
14
9
  resolvePlatformChatCompletionsEndpoint,
15
10
  resolvePlatformResponsesEndpoint
16
- } from "./chunk-2JHGUL5K.js";
11
+ } from "./chunk-BVYHE6QD.js";
17
12
  import {
13
+ effectiveAgentRoutingConfig,
18
14
  findModelConfig
19
- } from "./chunk-OKH74FML.js";
15
+ } from "./chunk-RI7SXDJW.js";
20
16
  import {
21
17
  asOptionalTrimmedString
22
18
  } from "./chunk-G3SUCT4W.js";
@@ -24,13 +20,49 @@ import {
24
20
  asTrimmedLowercaseString
25
21
  } from "./chunk-QSJ3HFEF.js";
26
22
 
23
+ // packages/agent-runtime/oauthProviderRefs.ts
24
+ var OAUTH_PROVIDER_REFS = [
25
+ "chatgpt",
26
+ "xai",
27
+ "cursor",
28
+ "devin"
29
+ ];
30
+ var RETIRED_OAUTH_PROVIDER_REFS = ["antigravity", "claude"];
31
+ var isRetiredOAuthProviderRef = (ref) => RETIRED_OAUTH_PROVIDER_REFS.includes(normalizeRef(ref));
32
+ function formatRetiredOAuthProviderRefMessage(ref) {
33
+ return `OAuth \u901A\u9053 "${ref}" \u5DF2\u79FB\u9664\uFF08Antigravity / Claude Pro-Max \u8BA2\u9605\u767B\u5F55\u4E0D\u518D\u53D7\u652F\u6301\uFF09\u3002\u8FD9\u6761 Agent \u8BB0\u5F55\u7684 apiKeyRef \u4ECD\u6307\u5411\u5B83\uFF0C\u5DF2\u62D2\u7EDD\uFF08fail-closed\uFF09\uFF0C\u4E0D\u4F1A\u56DE\u843D\u5230\u81EA\u5B9A\u4E49\u7AEF\u70B9\u6216\u5E73\u53F0\u9ED8\u8BA4\u5206\u652F\u3002\u8BF7\u6539\u7528 API Key\uFF08Anthropic / Gemini API\uFF09\u6216\u6362\u7528\u4ECD\u652F\u6301\u7684\u901A\u9053\uFF1A${OAUTH_PROVIDER_REF_LIST_COPY}\u3002`;
34
+ }
35
+ var METERED_API_KEY_REF_PREFIX = "api-key:";
36
+ var normalizeRef = (ref) => typeof ref === "string" ? ref.trim().toLowerCase() : "";
37
+ var isKnownOAuthProviderRef = (ref) => OAUTH_PROVIDER_REFS.includes(normalizeRef(ref));
38
+ var isMeteredApiKeyRef = (ref) => {
39
+ const trimmed = typeof ref === "string" ? ref.trim() : "";
40
+ return trimmed.length > METERED_API_KEY_REF_PREFIX.length && trimmed.slice(0, METERED_API_KEY_REF_PREFIX.length).toLowerCase() === METERED_API_KEY_REF_PREFIX;
41
+ };
42
+ var OAUTH_PROVIDER_REF_LIST_COPY = OAUTH_PROVIDER_REFS.join(" / ");
43
+ function classifyAgentApiKeyRef(raw) {
44
+ const trimmed = typeof raw === "string" ? raw.trim() : "";
45
+ if (!trimmed) return { ok: true, kind: "empty" };
46
+ if (isKnownOAuthProviderRef(trimmed)) {
47
+ return {
48
+ ok: true,
49
+ kind: "oauth-provider",
50
+ provider: normalizeRef(trimmed)
51
+ };
52
+ }
53
+ if (isMeteredApiKeyRef(trimmed)) return { ok: true, kind: "metered-api-key" };
54
+ return { ok: false, kind: "unsupported-oauth-provider", ref: trimmed };
55
+ }
56
+ function formatUnsupportedAgentApiKeyRefMessage(raw) {
57
+ const shown = typeof raw === "string" ? raw.trim() : "";
58
+ return `apiKeyRef "${shown}" \u4E0D\u662F\u53D7\u652F\u6301\u7684\u53D6\u503C\uFF0C\u8BB0\u5F55\u672A\u5199\u5165\u3002\u5408\u6CD5\u53D6\u503C\uFF1AOAuth provider ref\uFF08${OAUTH_PROVIDER_REF_LIST_COPY}\uFF09\uFF0C\u6216\u8BA1\u91CF/\u8BBE\u5907 broker ref\uFF08\u4EE5 "${METERED_API_KEY_REF_PREFIX}" \u5F00\u5934\uFF0C\u5982 ${METERED_API_KEY_REF_PREFIX}agent-...\uFF09\u3002\u6539\u6CD5\uFF1A\u628A apiKeyRef \u6539\u6210\u4E0A\u9762\u67D0\u4E2A\u53D7\u652F\u6301\u7684\u53D6\u503C\uFF0C\u6216\u6539\u7528 ${METERED_API_KEY_REF_PREFIX}<id>\uFF1B\u82E5\u8981\u7528\u81EA\u5E26 API key\uFF0C\u8BF7\u6E05\u7A7A apiKeyRef \u5E76\u586B\u5199 apiKey\u3002`;
59
+ }
60
+
27
61
  // packages/agent-runtime/agentCallPlan.ts
28
62
  var CODEX_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses";
29
63
  var CURSOR_AGENT_URL = "https://api2.cursor.sh/agent.v1.AgentService/Run";
30
64
  var DEVIN_CONNECT_URL = "https://server.codeium.com/exa.api_server_pb.ApiServerService/GetChatMessage";
31
65
  function resolveClientWire(plan) {
32
- if (plan.upstreamWire === "gemini-cca") return "chat.completions";
33
- if (plan.upstreamWire === "anthropic-messages") return "chat.completions";
34
66
  if (plan.upstreamWire === "cursor-connect") return "chat.completions";
35
67
  if (plan.upstreamWire === "devin-connect") return "chat.completions";
36
68
  if (plan.upstreamWire === "custom-gemini") return "chat.completions";
@@ -42,17 +74,12 @@ function resolveClientWire(plan) {
42
74
  return plan.upstreamWire;
43
75
  }
44
76
  var XAI_CHAT_COMPLETIONS_URL = "https://api.x.ai/v1/chat/completions";
45
- var ANTHROPIC_MESSAGES_URL = "https://api.anthropic.com/v1/messages";
46
77
  var CODEX_REQUIRED_HEADERS = [
47
78
  "chatgpt-account-id",
48
79
  "OpenAI-Beta",
49
80
  "originator",
50
81
  "version"
51
82
  ];
52
- var ANTIGRAVITY_REQUIRED_HEADERS = [
53
- "User-Agent"
54
- // antigravity-specific UA (matches getAntigravityUserAgent)
55
- ];
56
83
  function agentShouldUseServerProxy(agentConfig) {
57
84
  return shouldUseServerProxy(agentConfig);
58
85
  }
@@ -67,25 +94,18 @@ function resolveCustomUpstreamWire(endpoint, nativeProtocol) {
67
94
  function hasOwnCustomProviderKey(agentConfig) {
68
95
  const endpoint = asOptionalTrimmedString(agentConfig.customProviderUrl);
69
96
  if (!endpoint) return false;
70
- if (isAntigravityCloudCodeBaseUrl(endpoint)) return false;
71
97
  return Boolean(asOptionalTrimmedString(agentConfig.apiKey));
72
98
  }
73
- function resolveAgentCallPlan(agentConfig, _env, capabilities) {
99
+ function resolveAgentCallPlan(recordConfig, _env, capabilities) {
100
+ const agentConfig = effectiveAgentRoutingConfig(recordConfig);
74
101
  const apiKeyRef = asTrimmedLowercaseString(agentConfig.apiKeyRef);
75
102
  const provider = asTrimmedLowercaseString(
76
103
  agentConfig.provider ?? agentConfig.apiSource
77
104
  );
78
105
  const ownCustomKeyWins = hasOwnCustomProviderKey(agentConfig);
79
106
  const oauthApiKeyRef = ownCustomKeyWins ? "" : apiKeyRef;
80
- if (!ownCustomKeyWins && isAntigravityOAuthAgent(agentConfig)) {
81
- return {
82
- authMethod: { kind: "oauth", ref: "antigravity" },
83
- transport: "server-proxy",
84
- upstreamWire: "gemini-cca",
85
- endpoint: ANTIGRAVITY_CLOUD_CODE_BASE_URL,
86
- requiredHeaders: [...ANTIGRAVITY_REQUIRED_HEADERS],
87
- vendor: provider || "google-antigravity"
88
- };
107
+ if (isRetiredOAuthProviderRef(oauthApiKeyRef)) {
108
+ throw new Error(formatRetiredOAuthProviderRefMessage(oauthApiKeyRef));
89
109
  }
90
110
  if (oauthApiKeyRef === "chatgpt") {
91
111
  return {
@@ -97,16 +117,6 @@ function resolveAgentCallPlan(agentConfig, _env, capabilities) {
97
117
  vendor: provider || "openai"
98
118
  };
99
119
  }
100
- if (oauthApiKeyRef === "claude") {
101
- return {
102
- authMethod: { kind: "oauth", ref: "claude" },
103
- transport: "server-proxy",
104
- upstreamWire: "anthropic-messages",
105
- endpoint: ANTHROPIC_MESSAGES_URL,
106
- requiredHeaders: ["anthropic-version", "anthropic-beta"],
107
- vendor: provider || "anthropic"
108
- };
109
- }
110
120
  if (oauthApiKeyRef === "xai") {
111
121
  return {
112
122
  authMethod: { kind: "oauth", ref: "xai" },
@@ -187,6 +197,9 @@ function resolveAgentCallPlan(agentConfig, _env, capabilities) {
187
197
  }
188
198
 
189
199
  export {
200
+ OAUTH_PROVIDER_REFS,
201
+ classifyAgentApiKeyRef,
202
+ formatUnsupportedAgentApiKeyRefMessage,
190
203
  resolveClientWire,
191
204
  resolveAgentCallPlan
192
205
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalizeToolName
3
- } from "./chunk-YLAHYLDQ.js";
3
+ } from "./chunk-HJTI7RZV.js";
4
4
 
5
5
  // packages/ai/tools/toolExecutionSemantics.ts
6
6
  var UNKNOWN_TOOL_EXECUTION_CONTRACT = {
@@ -37,6 +37,14 @@ var serverConfirmedHandoffStep = () => ({
37
37
  concurrency: "exclusive",
38
38
  durableWebForeground: false
39
39
  });
40
+ var zohoMailReadContract = Object.freeze({
41
+ locality: "server",
42
+ sideEffects: "observable",
43
+ interaction: "confirm",
44
+ durableWebForeground: false,
45
+ replay: "unsafe",
46
+ concurrency: "exclusive"
47
+ });
40
48
  var TOOL_EXECUTION_CONTRACT = Object.freeze({
41
49
  listPlugins: serverPureRead(false),
42
50
  configurePlugin: serverPureRead(false),
@@ -66,6 +74,10 @@ var TOOL_EXECUTION_CONTRACT = Object.freeze({
66
74
  concurrency: "exclusive",
67
75
  durableWebForeground: false
68
76
  },
77
+ zohoMailListFolders: zohoMailReadContract,
78
+ zohoMailSearchMessages: zohoMailReadContract,
79
+ zohoMailReadMessage: zohoMailReadContract,
80
+ zohoMailReadMessages: zohoMailReadContract,
69
81
  // Proven durable network reads. They execute on the server but touch external
70
82
  // systems, so replay/cost semantics are intentionally not called "pure".
71
83
  exa_search: serverExternalRead("read-only"),
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  applyPublicAgentCatalogOverride
3
- } from "./chunk-223KZUJ6.js";
3
+ } from "./chunk-4HZCBA4Q.js";
4
4
  import {
5
5
  applyBuiltinAgentRuntimeOverride,
6
6
  resolveBuiltinPlatformAgentConfig
7
- } from "./chunk-CEKRIR22.js";
7
+ } from "./chunk-SU4NCTW4.js";
8
8
  import {
9
9
  buildLocalAgentLookupKeys
10
- } from "./chunk-CBIGMWMI.js";
10
+ } from "./chunk-LHJB4BXJ.js";
11
11
  import {
12
12
  localDialogMessageRecordToRuntimeMessage,
13
13
  orderDialogHistory
14
- } from "./chunk-57V4PADY.js";
14
+ } from "./chunk-CNYPQYXT.js";
15
15
  import {
16
16
  resolveAgentRuntimeConfigFromRecord
17
- } from "./chunk-6K32PBRY.js";
17
+ } from "./chunk-XJW6SLBZ.js";
18
18
  import {
19
19
  dialogMessagePrefix,
20
20
  dialogMessageRange
@@ -12,7 +12,7 @@ import {
12
12
  builtinAgentCatalogEntryById,
13
13
  catalogReleasedAtMs,
14
14
  isRetiredCatalogEntry
15
- } from "./chunk-RIWKZT7E.js";
15
+ } from "./chunk-YRPIUIEQ.js";
16
16
  import {
17
17
  parsePublicAgentId,
18
18
  parseSystemAgentId,
@@ -20,17 +20,17 @@ import {
20
20
  } from "./chunk-M2EJHDJP.js";
21
21
  import {
22
22
  getModelPricing
23
- } from "./chunk-P4R5KXU7.js";
23
+ } from "./chunk-CW6LRDSF.js";
24
24
  import {
25
25
  getModelConfig
26
- } from "./chunk-OKH74FML.js";
26
+ } from "./chunk-RI7SXDJW.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "./chunk-KUG52IAP.js";
30
30
  import {
31
31
  isNoloHostedProvider,
32
32
  isPlatformHostedImageModel
33
- } from "./chunk-JPXACKSW.js";
33
+ } from "./chunk-G22P2J7O.js";
34
34
 
35
35
  // packages/core/publicAgentSeeds.ts
36
36
  var AGENT_SEED_DEFAULTS = {
@@ -251,17 +251,18 @@ var GPT_6_ASTRA_DEF = defineAgentSeed({
251
251
  tags: ["openai", "gpt", "astra"]
252
252
  });
253
253
  var GPT_61_SOL_DEF = defineAgentSeed({
254
+ // presetKey / id / deterministicId 保持不变(硬 key 引用:收藏、Space contentKey、
255
+ // consultant 档位);2026-12-01 起模型换代为 GPT-6.2 Sol。
254
256
  id: PUBLIC_GPT_61_SOL_AGENT_ID,
255
257
  presetKey: "gpt-6-1-sol",
256
- name: "GPT-6.1 Sol",
258
+ name: "GPT-6.2 Sol",
257
259
  provider: "nolo",
258
- model: "gpt-6.1-sol",
260
+ model: "gpt-6.2-sol",
259
261
  isPublic: true,
260
- // 出自平台模型目录:gpt-6.1-sol 显式 hasVision: false(官方页无图像输入声明),
261
- // 且未声明 supportsTool —— 不要在这里把它写成会看图/能动手的模型。
262
- hasVision: false,
263
- introduction: "GPT-6.1 Sol \u516C\u5F00\u52A9\u624B\uFF0C\u5F3A\u63A8\u7406\u5FEB\u6863\uFF0C\u9002\u5408\u590D\u6742\u5206\u6790\u3001\u4EE3\u7801\u4E0E\u957F\u6587\u6863\u4EFB\u52A1\u3002\u9700\u5F00\u901A 199 \u79EF\u5206\u6863\u4F4D\u6216\u8D26\u6237\u4FDD\u6301\u6709\u6548\u4F59\u989D\uFF08\u2265 19 \u79EF\u5206\uFF09\u3002",
264
- greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT-6.1 Sol\u3002\u9002\u5408\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u5206\u6790\u548C\u957F\u6587\u6863\u5904\u7406\uFF1B\u4F7F\u7528\u524D\u8BF7\u786E\u4FDD\u8D26\u6237\u5F00\u901A\u9AD8\u9636\u6863\u4F4D\u6216\u6709\u5145\u8DB3\u53EF\u7528\u4F59\u989D\u3002",
262
+ // 出自平台模型目录:gpt-6.2-sol hasVision: true、supportsTool: true、128K 输出。
263
+ hasVision: true,
264
+ introduction: "GPT-6.2 Sol \u516C\u5F00\u52A9\u624B\uFF0C\u5F3A\u63A8\u7406\u5FEB\u6863\uFF0C\u9002\u5408\u590D\u6742\u5206\u6790\u3001\u4EE3\u7801\u4E0E\u957F\u6587\u6863\u4EFB\u52A1\u3002\u9700\u5F00\u901A 199 \u79EF\u5206\u6863\u4F4D\u6216\u8D26\u6237\u4FDD\u6301\u6709\u6548\u4F59\u989D\uFF08\u2265 19 \u79EF\u5206\uFF09\u3002",
265
+ greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT-6.2 Sol\u3002\u9002\u5408\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u5206\u6790\u548C\u957F\u6587\u6863\u5904\u7406\uFF1B\u4F7F\u7528\u524D\u8BF7\u786E\u4FDD\u8D26\u6237\u5F00\u901A\u9AD8\u9636\u6863\u4F4D\u6216\u6709\u5145\u8DB3\u53EF\u7528\u4F59\u989D\u3002",
265
266
  prompt: "\u5148\u786E\u8BA4\u7528\u6237\u8981\u89E3\u51B3\u7684\u5177\u4F53\u95EE\u9898\u4E0E\u7EA6\u675F\uFF0C\u518D\u7ED9\u51FA\u53EF\u9760\u3001\u53EF\u6267\u884C\u7684\u7ED3\u679C\u3002\n\u6D89\u53CA\u4EE3\u7801\u65F6\u8BF4\u660E\u6539\u52A8\u70B9\u3001\u8FB9\u754C\u6761\u4EF6\u4E0E\u9A8C\u8BC1\u65B9\u5F0F\uFF1B\u6D89\u53CA\u957F\u6587\u6863\u65F6\u5148\u5B9A\u4F4D\u5173\u952E\u6BB5\u843D\u518D\u4E0B\u7ED3\u8BBA\u3002\n\u4E0D\u786E\u5B9A\u7684\u5185\u5BB9\u660E\u786E\u8BF4\u660E\uFF0C\u4E0D\u7F16\u9020\u3002",
266
267
  tools: [],
267
268
  tags: ["openai", "gpt", "sol"]
@@ -312,14 +313,16 @@ var GEMINI_3_8_FLASH_DEF = defineAgentSeed({
312
313
  tags: ["google", "gemini"]
313
314
  });
314
315
  var GEMINI_4_ARGON_DEF = defineAgentSeed({
316
+ // presetKey / id / deterministicId 保持不变(硬 key 引用);2026-12-01 起
317
+ // 模型换代为 Gemini 4 Neon。
315
318
  id: deterministicId("01GEM4ARGPB", "shared-space-google-gemini-4-argon"),
316
319
  presetKey: "gemini-4-argon",
317
- name: "Gemini 4 Argon",
320
+ name: "Gemini 4 Neon",
318
321
  provider: "nolo",
319
- model: "gemini-4-argon",
322
+ model: "gemini-4-neon",
320
323
  isPublic: true,
321
- introduction: "Gemini 4 Argon \u516C\u5F00\u52A9\u624B\uFF0CGoogle \u65D7\u8230\u63A8\u7406\u6A21\u578B\uFF0C\u9002\u5408\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u3001\u591A\u6A21\u6001\u548C\u957F\u4E0A\u4E0B\u6587\u4EFB\u52A1\u3002",
322
- greeting: "\u4F60\u597D\uFF0C\u6211\u662F Gemini 4 Argon\u3002\u9002\u5408\u5904\u7406\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u3001\u591A\u6A21\u6001\u548C\u957F\u4E0A\u4E0B\u6587\u4EFB\u52A1\u3002",
324
+ introduction: "Gemini 4 Neon \u516C\u5F00\u52A9\u624B\uFF0CGoogle \u65D7\u8230\u63A8\u7406\u6A21\u578B\uFF0C\u9002\u5408\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u3001\u591A\u6A21\u6001\u548C\u957F\u4E0A\u4E0B\u6587\u4EFB\u52A1\u3002",
325
+ greeting: "\u4F60\u597D\uFF0C\u6211\u662F Gemini 4 Neon\u3002\u9002\u5408\u5904\u7406\u590D\u6742\u63A8\u7406\u3001\u4EE3\u7801\u3001\u591A\u6A21\u6001\u548C\u957F\u4E0A\u4E0B\u6587\u4EFB\u52A1\u3002",
323
326
  prompt: "\u4F18\u5148\u76F4\u63A5\u5B8C\u6210\u4EFB\u52A1\uFF1B\u9700\u8981\u63A8\u7406\u6216\u5199\u4EE3\u7801\u65F6\u4FDD\u6301\u6B65\u9AA4\u6E05\u6670\u3001\u7ED3\u8BBA\u53EF\u9760\u3002",
324
327
  tools: [],
325
328
  tags: ["google", "gemini"]
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  applyMemoryInterpreterMutation
3
- } from "./chunk-6RSNVJGO.js";
3
+ } from "./chunk-2ZBPWX7N.js";
4
4
  import {
5
5
  getMemoryEvidenceVNextStrict,
6
6
  listMemoryStatesForEntityVNext,
7
7
  loadMemoryVNextCatalog
8
- } from "./chunk-324FWHUA.js";
8
+ } from "./chunk-HHXF57CL.js";
9
9
 
10
10
  // packages/ai/memory/vnext/workContext.ts
11
11
  import { createHash } from "crypto";
12
+ var isClosedWorkStatus = (status) => status === "completed" || status === "cancelled";
12
13
  var facet = "work-context";
13
14
  var statuses = ["active", "paused", "completed", "cancelled"];
14
15
  var hash = (v) => createHash("sha256").update(JSON.stringify(v)).digest("hex");
@@ -22,19 +23,30 @@ var validScope = (s) => {
22
23
  function validValue(v) {
23
24
  return object(v) && v.version === 1 && Number.isSafeInteger(v.revision) && v.revision > 0 && statuses.includes(v.status) && bounded(v.goal, 4096) && list(v.constraints, 50, 2048) && list(v.openItems, 50, 2048) && (v.nextStep === void 0 || typeof v.nextStep === "string" && v.nextStep.length <= 4096) && list(v.latestSourceRefs, 20, 2048) && v.latestSourceRefs.length > 0 && (v.spaceId === null || bounded(v.spaceId, 256)) && list(v.dialogIds, 100, 512) && v.dialogIds.length > 0;
24
25
  }
26
+ function workGoalError(code, message) {
27
+ return Object.assign(new Error(message), { code });
28
+ }
29
+ function validateWorkContextGoal(patch, creating) {
30
+ const goal = object(patch) ? patch.goal : void 0;
31
+ if (goal === void 0) {
32
+ if (creating) throw workGoalError("WORK_MEMORY_GOAL_REQUIRED", "goal required: new work needs a real patch.goal (nonblank, up to 4096 characters).");
33
+ } else if (!bounded(goal, 4096)) {
34
+ throw workGoalError("WORK_MEMORY_INVALID_GOAL", "invalid goal: patch.goal must be a nonblank string up to 4096 characters; omit it on update to keep the existing goal.");
35
+ }
36
+ }
25
37
  function validPatch(p) {
26
38
  if (!object(p) || Object.keys(p).some((k) => !["status", "goal", "constraints", "openItems", "nextStep"].includes(k))) throw new Error("invalid patch");
27
39
  if (p.status !== void 0 && !statuses.includes(p.status)) throw new Error("invalid status");
28
- if (p.goal !== void 0 && !bounded(p.goal, 4096)) throw new Error("invalid goal");
29
40
  if (p.nextStep !== void 0 && (typeof p.nextStep !== "string" || p.nextStep.length > 4096)) throw new Error("invalid nextStep");
30
41
  for (const a of [p.constraints, p.openItems]) if (a !== void 0 && !list(a, 50, 2048)) throw new Error("invalid list");
31
42
  }
32
43
  async function updateWorkContext(db, scope, input) {
33
44
  validScope(scope);
34
45
  if (!object(input) || Object.keys(input).some((k) => !["activityId", "expectedRevision", "itemKey", "originRef", "changeId", "sourceRefs", "patch"].includes(k))) throw new Error("invalid input");
46
+ const creating = input.activityId === void 0;
47
+ validateWorkContextGoal(input.patch, creating);
35
48
  validPatch(input.patch);
36
49
  if (!bounded(input.changeId, 256) || !list(input.sourceRefs, 20, 2048) || !input.sourceRefs.length) throw new Error("source and changeId required");
37
- const creating = input.activityId === void 0;
38
50
  if (creating && (!bounded(input.itemKey, 256) || !bounded(input.originRef, 2048) || input.expectedRevision !== void 0)) throw new Error("origin and itemKey required");
39
51
  if (!creating && (!bounded(input.activityId, 256) || !Number.isSafeInteger(input.expectedRevision) || input.expectedRevision < 1 || input.itemKey !== void 0 || input.originRef !== void 0)) throw new Error("activityId and revision required");
40
52
  const activityId = creating ? `work-${hash([scope.ownerId, scope.spaceId, input.originRef, input.itemKey])}` : input.activityId;
@@ -63,7 +75,6 @@ async function updateWorkContext(db, scope, input) {
63
75
  result = { activityId, revision: old?.revision ?? 0, outcome: "conflict" };
64
76
  return { action: "no_op", reason: "revision conflict" };
65
77
  }
66
- if (!old && !input.patch.goal) throw new Error("goal required");
67
78
  const status = input.patch.status ?? old?.status ?? "active";
68
79
  const dialogIds = [.../* @__PURE__ */ new Set([...old?.dialogIds ?? [], scope.dialogId])];
69
80
  if (dialogIds.length > 100) throw new Error("dialog association limit exceeded");
@@ -102,7 +113,9 @@ async function readWorkContexts(db, scope, query = {}) {
102
113
  }
103
114
 
104
115
  export {
116
+ isClosedWorkStatus,
105
117
  isWorkContextState,
118
+ validateWorkContextGoal,
106
119
  updateWorkContext,
107
120
  readWorkContexts
108
121
  };
@@ -0,0 +1,261 @@
1
+ import {
2
+ CAPABILITY_PACKS,
3
+ expandEnabledPacks
4
+ } from "./chunk-J42X32PV.js";
5
+ import {
6
+ isRecord
7
+ } from "./chunk-KUG52IAP.js";
8
+
9
+ // packages/agent-runtime/promptCacheKey.ts
10
+ function collectStablePromptPrefix(messages, fallbackPrompt) {
11
+ const systemTexts = [];
12
+ if (fallbackPrompt?.trim()) systemTexts.push(fallbackPrompt.trim());
13
+ for (const raw of messages) {
14
+ if (!raw || typeof raw !== "object") continue;
15
+ const message = raw;
16
+ const role = String(message.role ?? "");
17
+ if (role !== "system" && role !== "developer") continue;
18
+ if (typeof message.content === "string") {
19
+ const boundary = Number(message.stable_prefix_chars);
20
+ const text = Number.isFinite(boundary) && boundary > 0 ? message.content.slice(0, boundary) : message.content;
21
+ if (text.trim()) systemTexts.push(text.trim());
22
+ }
23
+ }
24
+ return systemTexts.join("\n\n");
25
+ }
26
+ function stablePromptCacheKey(parts, namespace) {
27
+ const value = JSON.stringify(parts);
28
+ let hash = 2166136261;
29
+ for (let index = 0; index < value.length; index += 1) {
30
+ hash ^= value.charCodeAt(index);
31
+ hash = Math.imul(hash, 16777619) >>> 0;
32
+ }
33
+ return `${namespace}-${hash.toString(16).padStart(8, "0")}`;
34
+ }
35
+
36
+ // packages/agent-runtime/toolDiscovery.ts
37
+ var TOOL_DISCOVERY_CALL_NAME = "__nolo_tool_discovery";
38
+ var TOOL_DISCOVERY_ID_PREFIX = "nolo_discovery:";
39
+ function mcpDiscoveryEntry(tool) {
40
+ return {
41
+ name: JSON.stringify([tool.connectionId, tool.toolName]),
42
+ description: tool.description,
43
+ searchName: tool.toolName,
44
+ keywords: tool.keywords,
45
+ category: "mcp",
46
+ source: "mcp",
47
+ connectionId: tool.connectionId,
48
+ schemaVersion: tool.schemaVersion,
49
+ mcp: tool
50
+ };
51
+ }
52
+ function toolDiscoveryReference(tool) {
53
+ return { name: tool.name, version: tool.schemaVersion ?? stablePromptCacheKey([tool], "schema") };
54
+ }
55
+ function keywords(value) {
56
+ return value.replace(/([a-z\d])([A-Z])/g, "$1 $2").toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [];
57
+ }
58
+ function discoverTools(catalog, query, unavailable = /* @__PURE__ */ new Set()) {
59
+ const terms = [...new Set(keywords(query))];
60
+ if (terms.length === 0) return [];
61
+ const exact = terms.join(" ");
62
+ return catalog.filter((tool) => !unavailable.has(tool.name)).map((tool) => {
63
+ const name = keywords(tool.searchName ?? tool.name);
64
+ const packs = CAPABILITY_PACKS.filter((pack) => pack.tools.includes(tool.name));
65
+ const tags = new Set(keywords([
66
+ tool.category,
67
+ tool.capabilityPackId,
68
+ ...tool.keywords ?? [],
69
+ ...packs.flatMap(({ id, description: description2 }) => [id, description2])
70
+ ].filter(Boolean).join(" ")));
71
+ const description = new Set(keywords(tool.description ?? ""));
72
+ const score = name.join(" ") === exact ? 1e3 : terms.reduce((total, term) => total + (name.includes(term) ? 8 : tags.has(term) ? 4 : description.has(term) ? 1 : 0), 0);
73
+ return { tool, score };
74
+ }).filter(({ score }) => score > 0).sort((left, right) => right.score - left.score).slice(0, 5).map(({ tool }) => tool);
75
+ }
76
+ function resolveNativeToolDiscoveryProtocol(route) {
77
+ if (!route.optInFlag) return;
78
+ if (route.provider === "deepseek" && route.model === "deepseek-flash" && route.apiFormat === "responses" && route.endpoint === "https://api.deepseek.com/responses") return "deepseek-client";
79
+ if (route.provider === "openai" && route.apiFormat === "responses" && route.endpoint === "https://api.openai.com/v1/responses" && /^gpt-(?:5\.[4-9]|6(?:\.\d+)?)(?:-[a-z0-9]+)*$/.test(route.model)) {
80
+ return route.openAiSearchMode === "hosted" ? "openai-hosted" : "openai-client";
81
+ }
82
+ if (route.provider === "anthropic" && route.apiFormat === "anthropic-messages" && route.endpoint === "https://api.anthropic.com/v1/messages" && /^(?:claude-(?:opus-4-[5-8]|sonnet-4-[56]|haiku-4-5)(?:-\d{8})?|claude-(?:opus-5(?:-5)?|sonnet-5(?:-5)?|haiku-5-5|fable-5(?:-[12])?|mythos-(?:5(?:-[12])?|preview)))$/.test(route.model)) return "anthropic-hosted";
83
+ }
84
+ function readToolLoadingReferences(content) {
85
+ let value = content;
86
+ if (typeof content === "string") {
87
+ try {
88
+ value = JSON.parse(content);
89
+ } catch {
90
+ value = void 0;
91
+ }
92
+ }
93
+ const refs = (items) => Array.isArray(items) ? items.filter((ref) => isRecord(ref) && typeof ref.name === "string" && typeof ref.version === "string").map(({ name, version }) => ({ name, version })) : [];
94
+ return isRecord(value) ? { loaded: refs(value.loaded), packs: refs(value.packs) } : { loaded: [] };
95
+ }
96
+ function createToolLoadingState(authorized) {
97
+ const catalog = /* @__PURE__ */ new Map();
98
+ const ambiguous = /* @__PURE__ */ new Set();
99
+ for (const tool of authorized) {
100
+ if (catalog.delete(tool.name)) ambiguous.add(tool.name);
101
+ if (!ambiguous.has(tool.name)) catalog.set(tool.name, tool);
102
+ }
103
+ const loadedInContext = /* @__PURE__ */ new Set();
104
+ const loadedPacks = /* @__PURE__ */ new Set();
105
+ function executable(ref) {
106
+ const current = catalog.get(ref.name);
107
+ return current && toolDiscoveryReference(current).version === ref.version ? current : void 0;
108
+ }
109
+ function pack(id) {
110
+ const entry = CAPABILITY_PACKS.find((candidate) => candidate.id === id);
111
+ if (!entry) return void 0;
112
+ const names = new Set(expandEnabledPacks([id]));
113
+ const tools = [...catalog.values()].filter((tool) => names.has(tool.name));
114
+ if (!tools.length) return void 0;
115
+ const loaded = tools.map(toolDiscoveryReference);
116
+ const ref = { name: id, version: stablePromptCacheKey([entry.description, [...loaded].sort((a, b) => a.name.localeCompare(b.name))], "pack") };
117
+ return { ref, loaded, guidance: `${id}: ${entry.description} Use loadSkill for matching task guidance when available.` };
118
+ }
119
+ return {
120
+ authorized: catalog,
121
+ loadedInContext,
122
+ executable,
123
+ search(query, unavailable) {
124
+ return discoverTools([...catalog.values()], query, unavailable);
125
+ },
126
+ activatePack(id) {
127
+ const selected = pack(id);
128
+ return selected ? { loaded: selected.loaded, packs: [selected.ref] } : { loaded: [] };
129
+ },
130
+ restore(refs, eager = /* @__PURE__ */ new Set()) {
131
+ const tools = [];
132
+ const guidance = [];
133
+ for (const ref of refs.loaded) {
134
+ const tool = executable(ref);
135
+ if (!tool || loadedInContext.has(ref.name) || eager.has(ref.name)) continue;
136
+ loadedInContext.add(ref.name);
137
+ tools.push(tool);
138
+ }
139
+ for (const ref of refs.packs ?? []) {
140
+ if (loadedPacks.has(ref.name)) continue;
141
+ const selected = pack(ref.name);
142
+ if (selected?.ref.version !== ref.version) continue;
143
+ if (!selected.loaded.every((tool) => loadedInContext.has(tool.name) || eager.has(tool.name))) continue;
144
+ loadedPacks.add(ref.name);
145
+ guidance.push(selected.guidance);
146
+ }
147
+ return { tools, guidance };
148
+ }
149
+ };
150
+ }
151
+ function collectToolLoadingReferences(history) {
152
+ const loaded = /* @__PURE__ */ new Map();
153
+ const packs = /* @__PURE__ */ new Map();
154
+ let paired = /* @__PURE__ */ new Set();
155
+ for (const message of history) {
156
+ if (message.role !== "tool") {
157
+ paired = new Set(message.tool_calls?.filter(isToolDiscoveryCall).map(({ id }) => id));
158
+ } else if (message.tool_call_id && paired.delete(message.tool_call_id)) {
159
+ const refs = readToolLoadingReferences(message.content);
160
+ for (const ref of refs.loaded) loaded.set(ref.name, ref);
161
+ for (const ref of refs.packs ?? []) packs.set(ref.name, ref);
162
+ }
163
+ }
164
+ return { loaded: [...loaded.values()], ...packs.size ? { packs: [...packs.values()] } : {} };
165
+ }
166
+ function projectStaticToolDiscoveryBody(body) {
167
+ const isNativeSearch = (item) => item?.type === "tool_search_call" || item?.type === "tool_search_output" || item?.type === "tool_reference";
168
+ let projected = body;
169
+ if (Array.isArray(body.input)) {
170
+ const bridgeIds = new Set(body.input.filter((item) => item?.type === "function_call" && item.name === TOOL_DISCOVERY_CALL_NAME).map((item) => item.call_id));
171
+ const input = body.input.filter((item) => !isNativeSearch(item) && !((item?.type === "function_call" || item?.type === "function_call_output") && bridgeIds.has(item.call_id)));
172
+ if (input.length !== body.input.length) projected = { ...projected, input };
173
+ }
174
+ if (Array.isArray(body.messages)) {
175
+ const messages = filterToolDiscoveryHistory(body.messages);
176
+ if (messages !== body.messages) projected = { ...projected, messages };
177
+ }
178
+ if (Array.isArray(body.tools)) {
179
+ const tools = body.tools.filter((tool) => tool?.type !== "tool_search" && !/^tool_search_tool_/.test(tool?.type ?? "") && (tool?.function?.name ?? tool?.name) !== TOOL_DISCOVERY_CALL_NAME);
180
+ if (tools.length !== body.tools.length) projected = { ...projected, tools };
181
+ }
182
+ const choice = body.tool_choice;
183
+ if (choice?.type === "tool_search" || (choice?.function?.name ?? choice?.name) === TOOL_DISCOVERY_CALL_NAME) {
184
+ projected = { ...projected, tool_choice: void 0 };
185
+ }
186
+ return projected;
187
+ }
188
+ function isToolDiscoveryCall(call) {
189
+ return call?.function?.name === TOOL_DISCOVERY_CALL_NAME;
190
+ }
191
+ function splitHostedToolDiscovery(calls, results) {
192
+ if (!results.length || calls.some((call) => !isToolDiscoveryCall(call))) return { calls, results };
193
+ const contentById = new Map(results.map(({ callId, content }) => [callId, content]));
194
+ const completed = calls.map((call) => {
195
+ const content = contentById.get(call.id);
196
+ if (content === void 0) throw new Error("Hosted tool discovery is missing its result.");
197
+ return { call, content };
198
+ });
199
+ return { calls: [], results: [], completed };
200
+ }
201
+ function filterToolDiscoveryHistory(messages, retainPaired = false) {
202
+ let changed = false;
203
+ const output = [];
204
+ let paired = /* @__PURE__ */ new Set();
205
+ let ordinaryPrefixedCalls = /* @__PURE__ */ new Set();
206
+ for (const [index, message] of messages.entries()) {
207
+ if (message.role === "tool") {
208
+ const id = message.tool_call_id;
209
+ if (typeof id === "string" && id.startsWith(TOOL_DISCOVERY_ID_PREFIX) && !paired.delete(id) && !ordinaryPrefixedCalls.has(id)) {
210
+ changed = true;
211
+ continue;
212
+ }
213
+ } else {
214
+ paired = /* @__PURE__ */ new Set();
215
+ ordinaryPrefixedCalls = /* @__PURE__ */ new Set();
216
+ const calls = message.role === "assistant" && Array.isArray(message.tool_calls) ? message.tool_calls : [];
217
+ for (const call of calls) {
218
+ if (typeof call?.id === "string" && call.id.startsWith(TOOL_DISCOVERY_ID_PREFIX) && !isToolDiscoveryCall(call)) ordinaryPrefixedCalls.add(call.id);
219
+ }
220
+ if (calls.some(isToolDiscoveryCall)) {
221
+ if (retainPaired) {
222
+ const counts = /* @__PURE__ */ new Map();
223
+ for (const call of calls) {
224
+ if (typeof call?.id === "string") counts.set(call.id, (counts.get(call.id) ?? 0) + 1);
225
+ }
226
+ for (let next = index + 1; messages[next]?.role === "tool"; next++) {
227
+ const id = messages[next]?.tool_call_id;
228
+ if (typeof id === "string" && id.startsWith(TOOL_DISCOVERY_ID_PREFIX) && counts.get(id) === 1) paired.add(id);
229
+ }
230
+ }
231
+ const remaining = calls.filter((call) => !isToolDiscoveryCall(call) || paired.has(call.id));
232
+ if (remaining.length !== calls.length) {
233
+ changed = true;
234
+ const { tool_calls, ...rest } = message;
235
+ if (remaining.length) output.push({ ...rest, tool_calls: remaining });
236
+ else if (message.content) output.push(rest);
237
+ continue;
238
+ }
239
+ }
240
+ }
241
+ output.push(message);
242
+ }
243
+ return changed ? output : messages;
244
+ }
245
+
246
+ export {
247
+ collectStablePromptPrefix,
248
+ stablePromptCacheKey,
249
+ TOOL_DISCOVERY_CALL_NAME,
250
+ TOOL_DISCOVERY_ID_PREFIX,
251
+ mcpDiscoveryEntry,
252
+ toolDiscoveryReference,
253
+ resolveNativeToolDiscoveryProtocol,
254
+ readToolLoadingReferences,
255
+ createToolLoadingState,
256
+ collectToolLoadingReferences,
257
+ projectStaticToolDiscoveryBody,
258
+ isToolDiscoveryCall,
259
+ splitHostedToolDiscovery,
260
+ filterToolDiscoveryHistory
261
+ };