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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-EO6JFCOF.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-WIA56QT4.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-OCMWZLYG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-ER2NZ7BC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-NXRWS7NS.js} +142 -126
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-PFXGZZ3Y.js} +87 -68
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-2Q55CSL4.js} +68 -59
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-EUNS7Y2Z.js} +10 -7
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-S2VMPSWL.js} +9 -6
  14. package/agentRecordCommands-FUFI526H.js +210 -0
  15. package/agentRun-ZNMUPDHF.js +250 -0
  16. package/agentRunCommand-ISVQ2UYC.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-NEK44LDM.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-4ZJJJN4M.js} +15 -18
  20. package/appConfigCommands-MPHS6FHD.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-W26WGENW.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-ER7IOF5E.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-P6GXJNUD.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-ACA2IZZM.js} +74 -58
  26. package/appMigrateCommands-OGF4E2W6.js +230 -0
  27. package/appSourceCommands-GAHVBRUM.js +279 -0
  28. package/{authCommand-V6EOMZX6.js → authCommand-PXE7NZTQ.js} +26 -40
  29. package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
  32. package/{chunk-KLMBM6P6.js → chunk-2CKFROQS.js} +2454 -1115
  33. package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
  34. package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
  35. package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
  36. package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
  37. package/chunk-35JIFLIG.js +30 -0
  38. package/{chunk-ZYPXOQS2.js → chunk-3EPED3UO.js} +1 -1
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-HPDLPEUG.js → chunk-42JZNSAY.js} +267 -234
  42. package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
  43. package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
  44. package/chunk-4IVMDQBA.js +261 -0
  45. package/chunk-4Y6CZ2N4.js +82 -0
  46. package/{chunk-OKAXQFON.js → chunk-52BNL6GP.js} +4 -4
  47. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  48. package/{chunk-QGFLVQ6E.js → chunk-6KUTNAPU.js} +4 -14
  49. package/{chunk-MNFUKRRU.js → chunk-6XAAKRJB.js} +7 -7
  50. package/{chunk-P27E22MA.js → chunk-6Z6DGDPI.js} +1 -1
  51. package/chunk-72VWN4VK.js +51 -0
  52. package/{chunk-L4XST72F.js → chunk-75FZ2Z7C.js} +16027 -17392
  53. package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
  54. package/{chunk-MXA54TQM.js → chunk-76K4GTY5.js} +1 -1
  55. package/{chunk-VNHZJEQN.js → chunk-7HUCUD2I.js} +3 -3
  56. package/chunk-7LR2IFUH.js +100 -0
  57. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  58. package/{chunk-Y2TCTNUD.js → chunk-7QO6YSA4.js} +4 -4
  59. package/{chunk-DBJODIZ6.js → chunk-7RYH7YIY.js} +19 -27
  60. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  61. package/chunk-AMNZPQCY.js +635 -0
  62. package/chunk-AMTF6FJD.js +356 -0
  63. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  64. package/{chunk-WSLL7VV4.js → chunk-B4NA5UJR.js} +9 -9
  65. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  66. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  67. package/{chunk-46FETNLF.js → chunk-BTIFQBYW.js} +7 -6
  68. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  69. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  70. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  71. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  72. package/{chunk-MPGR4ZNR.js → chunk-CRGPRAJ4.js} +46 -42
  73. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  74. package/{chunk-R3TUHCSJ.js → chunk-CZHIOBBK.js} +8 -3
  75. package/chunk-D3ONA3FP.js +762 -0
  76. package/chunk-D3SAQ6T7.js +1697 -0
  77. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  78. package/{chunk-KQHEGELM.js → chunk-DEAII55O.js} +16 -6
  79. package/{chunk-J55F3IEZ.js → chunk-DKJQEFNG.js} +1 -1
  80. package/chunk-DLXL4NSL.js +1179 -0
  81. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  82. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  83. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  84. package/chunk-EJHLDJWZ.js +58 -0
  85. package/{chunk-6B2OBX5B.js → chunk-EMFZXJTN.js} +15 -47
  86. package/chunk-ER6NTALN.js +34 -0
  87. package/chunk-EUHMI5KG.js +101 -0
  88. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  89. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  90. package/{chunk-YFEK7ACQ.js → chunk-FGD4NMTP.js} +4 -4
  91. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  92. package/chunk-FI4DPLR7.js +902 -0
  93. package/chunk-FKVLQNGJ.js +25 -0
  94. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  95. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  96. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  97. package/{chunk-5BIDJVNX.js → chunk-G5JGA5YM.js} +180 -31
  98. package/{chunk-57V4PADY.js → chunk-GMBWWBSJ.js} +781 -449
  99. package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
  100. package/{chunk-KT7S7ANZ.js → chunk-GZ4I5EMM.js} +9 -9
  101. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  102. package/chunk-HJTI7RZV.js +94 -0
  103. package/{chunk-QXTEEEIN.js → chunk-HPIY372N.js} +7 -7
  104. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  105. package/{chunk-HDKMVYNJ.js → chunk-I3NWAILT.js} +6 -4
  106. package/{chunk-JZO7KUF3.js → chunk-IM7HCFB4.js} +313 -275
  107. package/{chunk-UWWOWTW2.js → chunk-INN2PBW7.js} +1 -1
  108. package/chunk-IV6VUVLJ.js +88 -0
  109. package/chunk-J42X32PV.js +472 -0
  110. package/{chunk-UA3QTA2S.js → chunk-JHQNWV2C.js} +4441 -2569
  111. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  112. package/{chunk-BIDSIRTS.js → chunk-JUNYPVL6.js} +10 -16
  113. package/chunk-JVEKCQAP.js +222 -0
  114. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  115. package/chunk-KDDXC2IH.js +148 -0
  116. package/chunk-KGKTN2NX.js +25 -0
  117. package/chunk-KGWE224L.js +246 -0
  118. package/chunk-L3UFGEDU.js +17157 -0
  119. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  120. package/{chunk-7OVOZRZF.js → chunk-LIH7WSX5.js} +23 -379
  121. package/chunk-LJOPY4TL.js +443 -0
  122. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  123. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  124. package/chunk-LXP53WGF.js +168 -0
  125. package/chunk-MDAYRIP7.js +1889 -0
  126. package/chunk-MRACVEPZ.js +7 -0
  127. package/chunk-NHLLXINQ.js +8 -0
  128. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  131. package/chunk-PL5RKESU.js +40 -0
  132. package/{chunk-MHKPUGPD.js → chunk-PQ3QZMJK.js} +20 -4
  133. package/chunk-Q5FJJ6XI.js +103 -0
  134. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  135. package/{chunk-6YX2RAQN.js → chunk-QZCLCAYC.js} +89 -164
  136. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  137. package/{chunk-JLZJL3WC.js → chunk-RDZ5OIAT.js} +370 -39
  138. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  139. package/chunk-RF576RYE.js +117 -0
  140. package/chunk-RI7SXDJW.js +1317 -0
  141. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  142. package/{chunk-2CT2J3O6.js → chunk-RL6H2A2Z.js} +2493 -4055
  143. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  144. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  145. package/chunk-S7BF2OGX.js +432 -0
  146. package/{chunk-6VEO7Z3Y.js → chunk-SD4MBKZ7.js} +6 -6
  147. package/{chunk-KWNVPY6M.js → chunk-SGEBRBF3.js} +7 -4
  148. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  149. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  150. package/{chunk-Y2GWUBNS.js → chunk-SX6PDLBZ.js} +279 -149
  151. package/{chunk-XNNBXUEM.js → chunk-T4WU747C.js} +5 -5
  152. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  153. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  154. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  155. package/{chunk-NCFKHYDM.js → chunk-UOLGGEEC.js} +774 -119
  156. package/{chunk-4EACJPZI.js → chunk-USFG4EWQ.js} +51 -42
  157. package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
  158. package/{chunk-XPETQ4MR.js → chunk-VDC3BW24.js} +24 -10
  159. package/chunk-VH356OQ3.js +425 -0
  160. package/{chunk-U6QNVOR5.js → chunk-VKM7DOYB.js} +130 -6
  161. package/{chunk-CJOOF4L5.js → chunk-VPAO5WQX.js} +17 -14
  162. package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
  163. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  164. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  165. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  166. package/chunk-WLJNHFEB.js +1710 -0
  167. package/chunk-WMBJDXMY.js +408 -0
  168. package/chunk-WSQLCWLQ.js +201 -0
  169. package/{chunk-YN23INFZ.js → chunk-WXD6Y7DW.js} +23 -2
  170. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  171. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  172. package/{chunk-7BIJFGKS.js → chunk-XQFDCRG3.js} +105 -51
  173. package/chunk-XT6C2QZW.js +46 -0
  174. package/{chunk-5YS6QHGT.js → chunk-Y7THFNVJ.js} +9 -9
  175. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  176. package/{chunk-RD3QLZQV.js → chunk-YM5XULB2.js} +324 -2
  177. package/{chunk-FZENZCIA.js → chunk-YNP3ITPU.js} +19 -12
  178. package/{chunk-U35UUM5K.js → chunk-YOUSQIIK.js} +1 -1
  179. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  180. package/{chunk-IYLUK67R.js → chunk-YU235GGN.js} +25 -8
  181. package/chunk-YWEZSBLL.js +790 -0
  182. package/chunk-Z3KTXWWB.js +76 -0
  183. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  184. package/chunk-ZD7OULYZ.js +368 -0
  185. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  186. package/{chunk-HQUGB2HM.js → chunk-ZTCMXPIS.js} +62 -50
  187. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-KMXS7JP5.js} +20 -14
  188. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  189. package/cliAuthorityBrokerProcess-DCCUT4YQ.js +34 -0
  190. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-YDGDHIEE.js} +5 -2
  191. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  192. package/cliLocalAgentRecordReader-X2YHEBWI.js +113 -0
  193. package/cloudAutomationCommands-C6Q3BFRB.js +310 -0
  194. package/{commandRegistry-IFYQLPGM.js → commandRegistry-TYYYTW5E.js} +260 -121
  195. package/{contentThunks-QCFCD2X3.js → contentThunks-E6BJ5YSX.js} +45 -43
  196. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  197. package/createAgentAutomationAction-L3NLCIIW.js +172 -0
  198. package/{createDialogAction-ZAJERW62.js → createDialogAction-QSWKRPWQ.js} +46 -42
  199. package/{createPageAction-QCVBMP4C.js → createPageAction-ZVVUT4CZ.js} +49 -45
  200. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  201. package/{dbSlice-RWPSVHBC.js → dbSlice-SEVKNA7A.js} +21 -16
  202. package/deleteDbKey-43MTK2DI.js +86 -0
  203. package/{dialogCommands-4IEQUALS.js → dialogCommands-UVMTIFSA.js} +80 -66
  204. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  205. package/{dialogNotifyCommand-IASQGEMW.js → dialogNotifyCommand-LMWF7EQI.js} +22 -14
  206. package/dialogPortabilityCommands-PAMLEBST.js +3036 -0
  207. package/{dialogSlice-XFYID6KE.js → dialogSlice-VHPXENDZ.js} +43 -42
  208. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
  209. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
  210. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-H4RLIUNX.js} +68 -59
  211. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-OVAKCBMT.js} +68 -59
  212. package/{docReadCommands-EXQI7ETH.js → docReadCommands-KFISIUVA.js} +67 -58
  213. package/{docStore-MWFUKZL2.js → docStore-X7BEA735.js} +16 -17
  214. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-VOEER36L.js} +68 -59
  215. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  216. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  217. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  218. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
  219. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-PJAIKZQP.js} +138 -122
  220. package/index.js +35 -21
  221. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  222. package/localAutomationCommands-UU66LOWB.js +198 -0
  223. package/localAutomationRuntime-SW4R42SZ.js +60 -0
  224. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  225. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-WRBLXFUZ.js} +136 -119
  226. package/localRuntimeAuthority-3YDFZD3L.js +44 -0
  227. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-CJWJK47G.js} +1 -1
  228. package/{machineCommands-CL5XK5UC.js → machineCommands-JFYED66N.js} +251 -357
  229. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  230. package/machineWsRunDispatch-CZUV2FXE.js +227 -0
  231. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-HLU72QME.js} +40 -22
  232. package/mcpLocalManageCommands-OHHU6F5C.js +212 -0
  233. package/{memberThunks-43B7UYC5.js → memberThunks-FJW4GPM5.js} +102 -22
  234. package/{memoryCommands-BC6REPQB.js → memoryCommands-2RLHDMU2.js} +25 -34
  235. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  236. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  237. package/package.json +3 -3
  238. package/parityCommands-7EWR34P3.js +613 -0
  239. package/{projectArchive-OC63TWTD.js → projectArchive-JIVRMXVV.js} +49 -45
  240. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  241. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  242. package/{read-KG6INYUT.js → read-6YR57D6V.js} +11 -10
  243. package/{readDocTool-N3GA52JR.js → readDocTool-NKOGL2MW.js} +5 -1
  244. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-V26AN2FL.js} +926 -572
  245. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  246. package/remove-BF33RCTH.js +32 -0
  247. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-GWHBWF4W.js} +22 -26
  248. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
  249. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
  250. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  251. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-RL6FGO7T.js} +16 -17
  252. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-XJASBB3K.js} +23 -27
  253. package/{settingThunks-DVKG4X4S.js → settingThunks-ZT7ZYXXL.js} +170 -497
  254. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  255. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-65WQHVOI.js} +68 -57
  256. package/spacePruneCommand-PTMRUWYJ.js +233 -0
  257. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  258. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-B5NICHZW.js} +225 -137
  259. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-X6DFOIAX.js} +19 -23
  260. package/{tableCommands-EFA754RE.js → tableCommands-6E77VD73.js} +28 -49
  261. package/{toolApiClient-N5PYW2R3.js → toolApiClient-GTTWEV6P.js} +15 -4
  262. package/{tools-2Q2LBDUC.js → tools-UMCPIQX6.js} +73 -63
  263. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-O7UDLNQU.js} +20 -13
  264. package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
  265. package/{updateCommands-GJGRS6JK.js → updateCommands-DXDIAQFS.js} +12 -7
  266. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-HZLKWVKM.js} +57 -58
  267. package/{usageCommand-WI6SQOPB.js → usageCommand-WYLNBDHB.js} +6 -8
  268. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-AEUPY2PE.js} +11 -15
  269. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  270. package/workContext-ZAW6VXT7.js +18 -0
  271. package/workContextQueryProjection-CACY5VFE.js +23 -0
  272. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  273. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  274. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  275. package/agentRunCommand-DMVGBPLI.js +0 -232
  276. package/chunk-2MBTWINN.js +0 -89
  277. package/chunk-523DITKR.js +0 -32
  278. package/chunk-BUDVRYES.js +0 -2213
  279. package/chunk-BZMDWGQQ.js +0 -47
  280. package/chunk-GAHJLSDO.js +0 -107
  281. package/chunk-GYX6XTAI.js +0 -84
  282. package/chunk-HNUWUO75.js +0 -93
  283. package/chunk-HSBHS6KT.js +0 -33401
  284. package/chunk-KG27JIG4.js +0 -136
  285. package/chunk-OB4FBZXJ.js +0 -364
  286. package/chunk-OKH74FML.js +0 -3746
  287. package/chunk-OLZBQWZU.js +0 -6
  288. package/chunk-OOV5JN25.js +0 -1317
  289. package/chunk-OQFOE4SJ.js +0 -405
  290. package/chunk-PXYBUFDB.js +0 -53
  291. package/chunk-R3FZHW4Q.js +0 -103
  292. package/chunk-R3MV2GII.js +0 -106
  293. package/chunk-SCAC3NM5.js +0 -11751
  294. package/chunk-SR4FE5VD.js +0 -9
  295. package/chunk-SYTHYBMI.js +0 -3558
  296. package/chunk-UKZX3NHN.js +0 -48
  297. package/chunk-UVLYNWIE.js +0 -74
  298. package/chunk-VQX5JJNI.js +0 -861
  299. package/chunk-X4O7FJF5.js +0 -160
  300. package/chunk-YJPK35HB.js +0 -175
  301. package/chunk-YNIYE47Z.js +0 -105
  302. package/chunk-Z4PCXPUE.js +0 -127
  303. package/chunk-ZR5IVL4N.js +0 -862
  304. package/chunk-ZTHAJU3O.js +0 -2537
  305. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  306. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  307. package/deleteFile-ECU6FU5C.js +0 -55
  308. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  309. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  310. package/markdownToSlate-PXYAIBVL.js +0 -8
  311. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  312. package/webapi-QVV65DQF.js +0 -2487
  313. package/workContext-Y3ADAPZU.js +0 -14
  314. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  315. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  316. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -7,22 +7,19 @@ import {
7
7
  buildForegroundTurnAdmissionFetchInit,
8
8
  buildStaticContexts,
9
9
  canProxyToExplicitServerBase,
10
- clearGateTurn,
11
10
  compressOldToolResults,
12
11
  consumeAgentRunStream,
13
12
  mergeAgentToolsWithRuntime,
14
13
  mergeContexts,
15
14
  projectDesktopToolUiContent,
16
- pushGate,
17
15
  resolveImageGenerationStreamingState,
18
16
  resolveTurnToolContext,
19
- targetForRunKind,
20
17
  validateAccessAndBalance,
21
18
  withRequestContextBlocks
22
- } from "./chunk-6YX2RAQN.js";
19
+ } from "./chunk-QZCLCAYC.js";
23
20
  import {
24
21
  resolveUserSkillRuntime
25
- } from "./chunk-VNHZJEQN.js";
22
+ } from "./chunk-7HUCUD2I.js";
26
23
  import {
27
24
  buildEmptyCompletionRepairBody,
28
25
  buildFinalCompletionsRequestBody,
@@ -34,13 +31,13 @@ import {
34
31
  sendOpenAICompletionsRequest,
35
32
  serializeAgentRunMessages,
36
33
  updateTotalUsage
37
- } from "./chunk-4EACJPZI.js";
34
+ } from "./chunk-USFG4EWQ.js";
38
35
  import "./chunk-JEXVIMYZ.js";
39
36
  import {
40
37
  inlineImageUrlsForCustomProvider,
41
38
  prepareTools,
42
39
  shouldInlineImageUrlsForAgent
43
- } from "./chunk-QXTEEEIN.js";
40
+ } from "./chunk-HPIY372N.js";
44
41
  import {
45
42
  DirectApiKeyResolutionError,
46
43
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -52,33 +49,43 @@ import {
52
49
  sanitizeOutboundResponsesInput,
53
50
  selectResponsesConversationState,
54
51
  updateResponsesConversationState
55
- } from "./chunk-MPGR4ZNR.js";
56
- import "./chunk-KZ4A7EIV.js";
52
+ } from "./chunk-CRGPRAJ4.js";
53
+ import "./chunk-56OAS5RZ.js";
57
54
  import {
58
- selectMaxExecutionTime
59
- } from "./chunk-KLMBM6P6.js";
60
- import "./chunk-Q2EERN52.js";
55
+ isWebMcpTurnAllowed,
56
+ resolveWebTurnMcpInjection,
57
+ stripMcpWebTools
58
+ } from "./chunk-2CKFROQS.js";
59
+ import "./chunk-FF5ZRKW7.js";
60
+ import "./chunk-NHLLXINQ.js";
61
61
  import "./chunk-MVOZ22RZ.js";
62
- import "./chunk-KG27JIG4.js";
62
+ import "./chunk-WDWZPASX.js";
63
63
  import {
64
64
  performServerProxyFetchWithRetry
65
- } from "./chunk-KT7S7ANZ.js";
65
+ } from "./chunk-GZ4I5EMM.js";
66
66
  import {
67
+ clearGateTurn,
67
68
  createSSEParser,
69
+ pushGate,
70
+ targetForRunKind,
68
71
  waitForAbortableDelay
69
- } from "./chunk-VQX5JJNI.js";
72
+ } from "./chunk-WLJNHFEB.js";
70
73
  import "./chunk-NF64D32W.js";
71
- import "./chunk-R3FZHW4Q.js";
72
- import "./chunk-WDWZPASX.js";
73
- import "./chunk-FZENZCIA.js";
74
- import "./chunk-WSLL7VV4.js";
75
- import "./chunk-VF4K2QE6.js";
76
- import "./chunk-LLUBUHNT.js";
77
- import "./chunk-U6QNVOR5.js";
74
+ import {
75
+ getUserPreferencesStore
76
+ } from "./chunk-LJOPY4TL.js";
77
+ import "./chunk-S7BF2OGX.js";
78
+ import "./chunk-VKM7DOYB.js";
79
+ import "./chunk-YNP3ITPU.js";
80
+ import "./chunk-B4NA5UJR.js";
81
+ import "./chunk-WX266G2C.js";
78
82
  import "./chunk-AGIM7IMJ.js";
79
- import "./chunk-MNFUKRRU.js";
80
- import "./chunk-DBJODIZ6.js";
81
- import "./chunk-Y2GWUBNS.js";
83
+ import "./chunk-VF4K2QE6.js";
84
+ import "./chunk-UYZOBSSO.js";
85
+ import "./chunk-63W5N6P3.js";
86
+ import "./chunk-6XAAKRJB.js";
87
+ import "./chunk-7RYH7YIY.js";
88
+ import "./chunk-SX6PDLBZ.js";
82
89
  import {
83
90
  addToolMessage,
84
91
  addUserMessage,
@@ -90,6 +97,7 @@ import {
90
97
  messageStreaming,
91
98
  prepareAndPersistUserMessage,
92
99
  removeTransientMessage,
100
+ resolveDialogAgentMode,
93
101
  runPendingUserBatchRequest,
94
102
  selectAdmittedMessages,
95
103
  selectAllMsgs,
@@ -100,47 +108,54 @@ import {
100
108
  updateDialogSummaryAction,
101
109
  updateTokens,
102
110
  updateToolMessage
103
- } from "./chunk-2CT2J3O6.js";
104
- import "./chunk-BUDVRYES.js";
111
+ } from "./chunk-RL6H2A2Z.js";
112
+ import "./chunk-KDDXC2IH.js";
105
113
  import "./chunk-TZXPT53C.js";
106
- import "./chunk-523DITKR.js";
107
- import "./chunk-JZO7KUF3.js";
114
+ import "./chunk-6QDYSCPW.js";
115
+ import "./chunk-ER6NTALN.js";
116
+ import "./chunk-IM7HCFB4.js";
108
117
  import {
109
118
  getCurrentSpaceId
110
- } from "./chunk-YN23INFZ.js";
119
+ } from "./chunk-WXD6Y7DW.js";
111
120
  import "./chunk-BYXBJQAS.js";
121
+ import "./chunk-AMNZPQCY.js";
112
122
  import {
113
123
  createCliChatTurnStream,
114
124
  getCliChatSession,
115
125
  startCliChatSession
116
- } from "./chunk-6VEO7Z3Y.js";
117
- import "./chunk-5RGU3J7P.js";
118
- import "./chunk-UVLYNWIE.js";
119
- import "./chunk-YNIYE47Z.js";
120
- import {
121
- selectCurrentServer
122
- } from "./chunk-BZMDWGQQ.js";
123
- import "./chunk-46FETNLF.js";
126
+ } from "./chunk-SD4MBKZ7.js";
127
+ import "./chunk-REAE2SZK.js";
128
+ import "./chunk-PL5RKESU.js";
129
+ import "./chunk-FKVLQNGJ.js";
130
+ import "./chunk-BTIFQBYW.js";
124
131
  import "./chunk-UAD2WT54.js";
125
132
  import {
126
133
  patch,
127
134
  read,
128
135
  selectById,
129
136
  write
130
- } from "./chunk-ADYWV732.js";
137
+ } from "./chunk-76B6YUQS.js";
131
138
  import "./chunk-3PVYUPXK.js";
132
- import "./chunk-WS36XPJD.js";
139
+ import "./chunk-XQFDCRG3.js";
140
+ import "./chunk-GYFKKTDI.js";
141
+ import {
142
+ selectRuntimeCurrentServer
143
+ } from "./chunk-42JZNSAY.js";
144
+ import "./chunk-AMTF6FJD.js";
133
145
  import "./chunk-HXER7YJF.js";
134
146
  import {
135
147
  isGptProModel,
136
148
  isPlatformPaidAgentCall,
137
149
  shouldBlockForGptPro
138
- } from "./chunk-FP37ELBT.js";
150
+ } from "./chunk-NTBTVKKB.js";
139
151
  import "./chunk-AMWMV56B.js";
140
- import "./chunk-DXWGFL2Z.js";
152
+ import "./chunk-YY7IGJMN.js";
141
153
  import "./chunk-3L2WKC3W.js";
154
+ import "./chunk-UEILX4EV.js";
142
155
  import "./chunk-S25VJYXV.js";
143
- import "./chunk-KQHEGELM.js";
156
+ import {
157
+ resolveToolBaseUrl
158
+ } from "./chunk-DEAII55O.js";
144
159
  import "./chunk-QYPE3TS3.js";
145
160
  import {
146
161
  addActiveController,
@@ -155,32 +170,28 @@ import {
155
170
  setDialogTurnPhase,
156
171
  subscribe,
157
172
  tokenUsageLiveUpdate
158
- } from "./chunk-U35UUM5K.js";
159
- import "./chunk-RD3QLZQV.js";
160
- import "./chunk-7BIJFGKS.js";
161
- import {
162
- selectRuntimeCurrentServer
163
- } from "./chunk-HPDLPEUG.js";
164
- import "./chunk-ZTHAJU3O.js";
165
- import {
166
- getIsDesktopApp
167
- } from "./chunk-HDKMVYNJ.js";
168
- import "./chunk-YJPK35HB.js";
169
- import "./chunk-UEILX4EV.js";
170
- import "./chunk-QQ56R7KS.js";
173
+ } from "./chunk-YOUSQIIK.js";
171
174
  import {
175
+ getRuntimeServerSnapshot,
176
+ resolveDesktopSafeServer,
172
177
  selectIdentityToken,
173
178
  selectIdentityUser,
174
179
  selectIdentityUserId
175
- } from "./chunk-PXYBUFDB.js";
180
+ } from "./chunk-YM5XULB2.js";
181
+ import {
182
+ getIsDesktopApp,
183
+ googleSessionServer
184
+ } from "./chunk-I3NWAILT.js";
185
+ import "./chunk-MRACVEPZ.js";
186
+ import "./chunk-QQ56R7KS.js";
176
187
  import "./chunk-GBWGPTA7.js";
177
188
  import {
178
189
  applyPublicAgentCatalogOverride
179
- } from "./chunk-223KZUJ6.js";
190
+ } from "./chunk-4HZCBA4Q.js";
180
191
  import {
181
192
  applyBuiltinAgentRuntimeOverride,
182
193
  resolveBuiltinPlatformAgentRecord
183
- } from "./chunk-CEKRIR22.js";
194
+ } from "./chunk-SU4NCTW4.js";
184
195
  import {
185
196
  assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets,
186
197
  buildDesktopAgentRuntimeAgentConfigSnapshot,
@@ -188,44 +199,44 @@ import {
188
199
  evaluateRequestBudget,
189
200
  extractImageUrlsFromMessages,
190
201
  stripImagePartsForTextOnlyAgent
191
- } from "./chunk-6K32PBRY.js";
202
+ } from "./chunk-XJW6SLBZ.js";
192
203
  import "./chunk-BYXBJQAS.js";
193
- import "./chunk-BZLGPM5B.js";
204
+ import "./chunk-RNLKWUVY.js";
194
205
  import {
195
206
  projectUserPartForModel
196
- } from "./chunk-AIFQKNPP.js";
207
+ } from "./chunk-CL33RFD7.js";
197
208
  import "./chunk-56GBUMO5.js";
198
- import "./chunk-ZR5IVL4N.js";
199
- import "./chunk-Q2MPKE4B.js";
209
+ import "./chunk-D3ONA3FP.js";
210
+ import "./chunk-HVRG27HI.js";
200
211
  import "./chunk-LS5KAVFQ.js";
201
212
  import {
202
213
  extractImagePartsFromResponseOutput,
203
214
  extractTextFromResponseOutput,
204
215
  toResponsesTools
205
- } from "./chunk-FXEPZKNJ.js";
206
- import "./chunk-X4O7FJF5.js";
216
+ } from "./chunk-2MIZHEND.js";
217
+ import "./chunk-4IVMDQBA.js";
207
218
  import {
208
219
  isContextOverflowText,
209
220
  parseApiError
210
- } from "./chunk-TLE77UJ5.js";
211
- import "./chunk-QIGQFON2.js";
212
- import "./chunk-KXOPLLFP.js";
221
+ } from "./chunk-2OROOEOQ.js";
222
+ import "./chunk-TXMFSGRY.js";
223
+ import "./chunk-CA7LGAHV.js";
213
224
  import {
214
225
  resolveAgentCallPlan,
215
226
  resolveClientWire
216
- } from "./chunk-DNNPARJK.js";
227
+ } from "./chunk-3QMN3T6L.js";
228
+ import "./chunk-4Y6CZ2N4.js";
217
229
  import {
218
230
  resolveAgentContextWindow
219
- } from "./chunk-7WHCIA5V.js";
231
+ } from "./chunk-G5IAIGGD.js";
220
232
  import "./chunk-5ZUL4CUO.js";
221
233
  import {
222
234
  getModelInfo
223
- } from "./chunk-2FZVXOFX.js";
235
+ } from "./chunk-CEIWXKHP.js";
224
236
  import "./chunk-H57T64RA.js";
225
- import "./chunk-UKZX3NHN.js";
226
- import "./chunk-SR4FE5VD.js";
237
+ import "./chunk-WMBJDXMY.js";
227
238
  import "./chunk-5MMAK75Q.js";
228
- import "./chunk-USGHJSGO.js";
239
+ import "./chunk-GX2MFKF3.js";
229
240
  import "./chunk-E6A5NHDH.js";
230
241
  import {
231
242
  asRecordOrEmpty
@@ -239,70 +250,81 @@ import "./chunk-DWLEOOGR.js";
239
250
  import {
240
251
  isAbortError
241
252
  } from "./chunk-7DPNBQSV.js";
242
- import "./chunk-OW765XBU.js";
243
- import "./chunk-GYX6XTAI.js";
253
+ import "./chunk-Z3KTXWWB.js";
244
254
  import "./chunk-2SXN7LAY.js";
255
+ import {
256
+ toErrorMessage
257
+ } from "./chunk-HNMXYYJR.js";
258
+ import "./chunk-OW765XBU.js";
245
259
  import "./chunk-G7Y4GXTY.js";
246
260
  import "./chunk-6UBGXX2W.js";
247
261
  import "./chunk-BV3FLP2L.js";
248
- import "./chunk-KVMLM5VD.js";
262
+ import "./chunk-KAHYBAEN.js";
263
+ import "./chunk-J42X32PV.js";
249
264
  import "./chunk-EUGTFFO6.js";
250
265
  import "./chunk-AETZ7AD6.js";
251
- import "./chunk-5P3PPQVP.js";
266
+ import "./chunk-ZQAADXSF.js";
252
267
  import "./chunk-KHCLMKZZ.js";
253
- import "./chunk-SYTHYBMI.js";
268
+ import "./chunk-DLXL4NSL.js";
254
269
  import {
255
270
  createDialogMessageKeyAndId,
256
- dialogMessageKey
271
+ dialogMessageKey,
272
+ ulid
257
273
  } from "./chunk-OJKUU3LP.js";
258
274
  import {
259
275
  splitDialogKeyIdentity
260
276
  } from "./chunk-YZMNK53S.js";
261
277
  import {
262
278
  resolveRuntimeToolSurfaceForAgent
263
- } from "./chunk-JCQ3WCQ3.js";
264
- import "./chunk-YLAHYLDQ.js";
279
+ } from "./chunk-FOC4TORM.js";
280
+ import "./chunk-O7ZY6SUK.js";
281
+ import "./chunk-KGKTN2NX.js";
265
282
  import {
283
+ isOpenAiResponsesModel
284
+ } from "./chunk-BVYHE6QD.js";
285
+ import "./chunk-HJTI7RZV.js";
286
+ import "./chunk-ZC3CMUKU.js";
287
+ import {
288
+ PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY,
266
289
  isSystemBuiltinTrustedAgentKey
267
- } from "./chunk-RIWKZT7E.js";
290
+ } from "./chunk-YRPIUIEQ.js";
268
291
  import {
269
292
  extractCustomId
270
293
  } from "./chunk-M2EJHDJP.js";
271
294
  import "./chunk-I42VC5KR.js";
272
- import "./chunk-P4R5KXU7.js";
295
+ import {
296
+ asTrimmedString
297
+ } from "./chunk-3EUW3WEO.js";
298
+ import "./chunk-CW6LRDSF.js";
273
299
  import {
274
300
  getPublicImageAgentDefaultProfile,
275
301
  getPublicImageAgentMode
276
302
  } from "./chunk-VIDPVFP3.js";
277
303
  import "./chunk-4JH2UMJR.js";
278
- import "./chunk-U6VC4MU4.js";
279
- import "./chunk-LCBAMY2M.js";
280
- import "./chunk-EJQE5HB7.js";
281
- import "./chunk-6SOWMEAY.js";
282
- import {
283
- toErrorMessage
284
- } from "./chunk-HNMXYYJR.js";
285
- import "./chunk-LVZVSLKO.js";
286
- import {
287
- isOpenAiResponsesModel
288
- } from "./chunk-2JHGUL5K.js";
289
- import {
290
- asTrimmedString
291
- } from "./chunk-3EUW3WEO.js";
292
304
  import "./chunk-WWC7I6TA.js";
305
+ import "./chunk-U6VC4MU4.js";
293
306
  import {
294
307
  getApiEndpoint
295
- } from "./chunk-OKH74FML.js";
308
+ } from "./chunk-RI7SXDJW.js";
309
+ import "./chunk-7LR2IFUH.js";
296
310
  import "./chunk-JRTNUU5Z.js";
297
311
  import {
298
312
  isRecord
299
313
  } from "./chunk-KUG52IAP.js";
314
+ import "./chunk-72VWN4VK.js";
315
+ import "./chunk-LCBAMY2M.js";
316
+ import "./chunk-IV6VUVLJ.js";
300
317
  import {
301
318
  asOptionalTrimmedString
302
319
  } from "./chunk-G3SUCT4W.js";
320
+ import "./chunk-FI4DPLR7.js";
303
321
  import "./chunk-4SN6J65J.js";
304
322
  import "./chunk-CF7PE763.js";
305
- import "./chunk-JPXACKSW.js";
323
+ import "./chunk-DSBRIUX5.js";
324
+ import "./chunk-35JIFLIG.js";
325
+ import "./chunk-SR57FDTX.js";
326
+ import "./chunk-MDAYRIP7.js";
327
+ import "./chunk-G22P2J7O.js";
306
328
  import "./chunk-QSJ3HFEF.js";
307
329
  import "./chunk-U67V476Y.js";
308
330
 
@@ -310,6 +332,8 @@ import "./chunk-U67V476Y.js";
310
332
  function isVoiceModel(model, provider) {
311
333
  const providerLower = String(provider || "").toLowerCase();
312
334
  const modelLower = String(model || "").toLowerCase();
335
+ if (providerLower === "openai" && ["gpt-live-1", "gpt-live-1.1"].includes(modelLower)) return true;
336
+ if (providerLower === "xai" && modelLower === "grok-voice-latest") return true;
313
337
  if (providerLower === "google" && modelLower.includes("live")) return true;
314
338
  if (modelLower.includes("live-preview")) return true;
315
339
  if (modelLower.includes("live-001")) return true;
@@ -526,7 +550,13 @@ function buildResponsesRequestBodyWithTools(bodyData, agentConfig) {
526
550
  }
527
551
  ] : []
528
552
  ];
529
- const sourceBodyData = bodyData;
553
+ const sourceBodyData = agentConfig.dbKey === PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY && Array.isArray(bodyData.input) ? { ...bodyData, input: bodyData.input.map((item) => {
554
+ if (item?.role !== "user" || !Array.isArray(item.content) || !item.content.some((part) => part?.type === "input_image")) return item;
555
+ return { ...item, content: [
556
+ ...item.content.filter((part) => part?.type !== "input_image"),
557
+ { type: "input_text", text: "This message includes image attachments. For the current generation request, call openAIGptImageGenerate with the prompt; the runtime supplies current-turn reference images automatically." }
558
+ ] };
559
+ }) } : bodyData;
530
560
  const sanitizedInput = Array.isArray(sourceBodyData?.input) ? sanitizeOutboundResponsesInput(sourceBodyData.input) : sourceBodyData?.input;
531
561
  const baseBodyData = sanitizedInput !== sourceBodyData?.input ? { ...sourceBodyData, input: sanitizedInput } : sourceBodyData;
532
562
  return {
@@ -544,7 +574,8 @@ var sendOpenAIResponseRequest = async ({
544
574
  messageMetadata,
545
575
  quickChatPerfStartedAt,
546
576
  fallbackBodyData,
547
- userMessageId
577
+ userMessageId,
578
+ currentReferenceImageUrls
548
579
  }) => {
549
580
  const { dispatch, getState, signal: thunkSignal } = thunkApi;
550
581
  const dialogId = splitDialogKeyIdentity(dialogKey)?.dialogId ?? extractCustomId(dialogKey);
@@ -778,7 +809,10 @@ var sendOpenAIResponseRequest = async ({
778
809
  messageId,
779
810
  dialogId,
780
811
  dialogKey,
781
- userMessageId
812
+ userMessageId,
813
+ currentReferenceImageUrls,
814
+ serverBase: thunkApi.serverBase,
815
+ runtimeServers: thunkApi.runtimeServers
782
816
  })
783
817
  ).unwrap();
784
818
  state.content = Array.isArray(result.finalContentBuffer) ? result.finalContentBuffer.filter((part) => part?.type === "text").map((part) => part.text ?? "").join("") : state.content;
@@ -814,13 +848,14 @@ var sendOpenAIResponseRequest = async ({
814
848
  api,
815
849
  dialogKey
816
850
  });
851
+ const currentServer = thunkApi.serverBase ?? selectRuntimeCurrentServer(getState());
817
852
  attemptLoop:
818
853
  for (let attempt = 0; attempt <= MAX_INITIAL_STREAM_RETRIES; attempt += 1) {
819
854
  const response = await performFetchRequest({
820
855
  agentConfig,
821
856
  api,
822
857
  bodyData: requestBody,
823
- currentServer: selectRuntimeCurrentServer(getState()),
858
+ currentServer,
824
859
  signal,
825
860
  token: token ?? "",
826
861
  dialogId,
@@ -1698,7 +1733,7 @@ var readAgentConfigForTurn = async (dispatch, agentKey, quickChatPerfStartedAt)
1698
1733
  if (timeoutId) clearTimeout(timeoutId);
1699
1734
  }
1700
1735
  };
1701
- var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput, runtimeOptions, mergedContentCache, dialogKey, quickChatPerfStartedAt) => {
1736
+ var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput, runtimeOptions, mergedContentCache, dialogKey, quickChatPerfStartedAt, serverBase) => {
1702
1737
  if (!quickChatPerfStartedAt) {
1703
1738
  return buildDynamicContexts(
1704
1739
  state,
@@ -1707,7 +1742,8 @@ var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput
1707
1742
  userInput,
1708
1743
  runtimeOptions,
1709
1744
  mergedContentCache,
1710
- dialogKey
1745
+ dialogKey,
1746
+ serverBase
1711
1747
  );
1712
1748
  }
1713
1749
  let timeoutId;
@@ -1734,7 +1770,8 @@ var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput
1734
1770
  userInput,
1735
1771
  runtimeOptions,
1736
1772
  mergedContentCache,
1737
- dialogKey
1773
+ dialogKey,
1774
+ serverBase
1738
1775
  );
1739
1776
  return await Promise.race([
1740
1777
  contextPromise,
@@ -2051,13 +2088,19 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2051
2088
  userInput,
2052
2089
  dialogKey: explicitDialogKey,
2053
2090
  parentMessageId,
2054
- runtimeOptions,
2091
+ runtimeOptions: requestedRuntimeOptions,
2055
2092
  quickChatPerfStartedAt,
2056
2093
  ephemeralReferences,
2057
2094
  contextBlocks
2058
2095
  } = args;
2059
2096
  const { getState, dispatch, rejectWithValue } = thunkApi;
2060
2097
  const state = getState();
2098
+ const accountPolicy = getUserPreferencesStore(getState).getSnapshot();
2099
+ const runtimeServers = getRuntimeServerSnapshot(state);
2100
+ const currentServer = googleSessionServer(selectIdentityToken(state), runtimeServers.currentServer) ?? resolveDesktopSafeServer(runtimeServers.currentServer);
2101
+ const serverBase = currentServer;
2102
+ const runtimeOptions = requestedRuntimeOptions && Object.freeze({ ...requestedRuntimeOptions });
2103
+ const turnThunkApi = { ...thunkApi, accountPolicy, serverBase, runtimeServers };
2061
2104
  const loopController = new AbortController();
2062
2105
  const isTurnAborted = (error) => isAbortError(error) || loopController.signal.aborted || thunkApi.signal.aborted;
2063
2106
  const onAbort = () => loopController.abort();
@@ -2245,7 +2288,6 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2245
2288
  agentConfig.dbKey
2246
2289
  );
2247
2290
  const cleanedMessages = filterAndCleanMessages(visibleMessages);
2248
- const currentServer2 = selectCurrentServer(currentState);
2249
2291
  remoteTransientMessageId = messageId;
2250
2292
  let accumulated2 = "";
2251
2293
  let totalTurnUsage2 = void 0;
@@ -2287,7 +2329,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2287
2329
  remoteTransientMessageFinalized = true;
2288
2330
  return rejectWithValue(message);
2289
2331
  };
2290
- const machineResponse = await fetch(`${currentServer2.replace(/\/+$/, "")}/api/agent/run`, {
2332
+ const machineResponse = await fetch(`${currentServer.replace(/\/+$/, "")}/api/agent/run`, {
2291
2333
  method: "POST",
2292
2334
  headers: {
2293
2335
  "Content-Type": "application/json",
@@ -2360,15 +2402,15 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2360
2402
  receiveActionGate(
2361
2403
  payload.gate,
2362
2404
  targetForRunKind("server-run", {
2363
- server: currentServer2,
2405
+ server: currentServer,
2364
2406
  token
2365
2407
  }),
2366
2408
  dialogId2
2367
2409
  );
2368
2410
  }
2369
2411
  remoteToolHandlers.handleToolPayload(payload);
2370
- if (payload.type === "text" && typeof payload.content === "string") {
2371
- accumulated2 += payload.content;
2412
+ if ((payload.type === "text" || payload.type === "text_replace") && typeof payload.content === "string") {
2413
+ accumulated2 = payload.type === "text_replace" ? payload.content : accumulated2 + payload.content;
2372
2414
  dispatch(messageStreaming({
2373
2415
  id: messageId,
2374
2416
  dialogId: dialogId2,
@@ -2674,15 +2716,13 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2674
2716
  dialogKey,
2675
2717
  dialogId
2676
2718
  });
2677
- turnPhaseTurnId = `turn-phase:${dialogId}:${crypto.randomUUID()}`;
2719
+ turnPhaseTurnId = `turn-phase:${dialogId}:${ulid()}`;
2678
2720
  claimDialogTurnPhase({ dialogKey, turnId: turnPhaseTurnId });
2679
2721
  if (shouldUseDesktopLocalRuntime(agentConfig, explicitTarget)) {
2680
2722
  const desktopMessageMetadata = buildMessageMetadata(agentConfig);
2681
2723
  const w2 = typeof globalThis !== "undefined" && globalThis.window ? globalThis.window : null;
2682
2724
  loopKey = `loop:${dialogId}`;
2683
2725
  dispatch(addActiveController({ messageId: loopKey, controller: loopController, dialogKey }));
2684
- turnPhaseTurnId = `turn-phase:${dialogId}:${Date.now().toString(36)}:${Math.random().toString(36).slice(2, 8)}`;
2685
- claimDialogTurnPhase({ dialogKey, turnId: turnPhaseTurnId });
2686
2726
  const ownsDesktopTurn = () => !loopController.signal.aborted && !thunkApi.signal.aborted && getDialogRuntimeState(dialogKey).turnPhaseTurnId === turnPhaseTurnId;
2687
2727
  const admitDesktopBatch = async () => {
2688
2728
  const admission = new AbortController();
@@ -2864,6 +2904,8 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
2864
2904
  },
2865
2905
  ...toolEvent.argumentsPreview ? {
2866
2906
  toolPayload: {
2907
+ toolName: toolEvent.toolName,
2908
+ status: "running",
2867
2909
  input: {
2868
2910
  command: toolEvent.argumentsPreview,
2869
2911
  cmd: toolEvent.argumentsPreview
@@ -3172,7 +3214,6 @@ ${info.actionHint}` : streamError;
3172
3214
  }
3173
3215
  const userInputText = extractAgentRunUserText(userInput);
3174
3216
  const explicitServerBase = asOptionalTrimmedString(args.serverBase) ?? null;
3175
- const currentServer = selectCurrentServer(state);
3176
3217
  const normalizedRequestedServerBase = explicitServerBase && normalizeServerOrigin(explicitServerBase);
3177
3218
  const normalizedCurrentServer = normalizeServerOrigin(
3178
3219
  currentServer
@@ -3348,8 +3389,8 @@ ${info.actionHint}` : streamError;
3348
3389
  );
3349
3390
  }
3350
3391
  remoteToolHandlers.handleToolPayload(payload);
3351
- if (payload.type === "text" && typeof payload.content === "string") {
3352
- accumulated += payload.content;
3392
+ if ((payload.type === "text" || payload.type === "text_replace") && typeof payload.content === "string") {
3393
+ accumulated = payload.type === "text_replace" ? payload.content : accumulated + payload.content;
3353
3394
  dispatch(messageStreaming({
3354
3395
  id: messageId,
3355
3396
  dialogId,
@@ -3412,7 +3453,7 @@ ${info.actionHint}` : streamError;
3412
3453
  };
3413
3454
  }
3414
3455
  }
3415
- const activeDialogConfig = selectDialogConfigByKey(getState(), explicitDialogKey) ?? selectCurrentDialogConfig(getState()) ?? currentDialog;
3456
+ const activeDialogConfig = selectDialogConfigByKey(getState(), dialogKey) ?? selectDialogConfigByKey(getState(), explicitDialogKey) ?? selectCurrentDialogConfig(getState()) ?? currentDialog;
3416
3457
  const turnToolContext = await resolveTurnToolContext({
3417
3458
  agentConfig,
3418
3459
  dialogConfig: activeDialogConfig,
@@ -3443,7 +3484,7 @@ ${info.actionHint}` : streamError;
3443
3484
  };
3444
3485
  const initialRawMsgs = selectAdmittedMessages(selectAllMsgs(state, dialogId));
3445
3486
  const initialHistoryIds = new Set(initialRawMsgs.map((m) => m.id));
3446
- const accountSkillRuntime = agentConfigWithReferences.runtimePromptAlreadyInMessages ? null : await resolveUserSkillRuntime(agentConfigWithReferences, state.settings);
3487
+ const accountSkillRuntime = agentConfigWithReferences.runtimePromptAlreadyInMessages ? null : await resolveUserSkillRuntime(agentConfigWithReferences, accountPolicy);
3447
3488
  const agentConfigWithTools = resolveWebAgentRuntimeToolSurface(
3448
3489
  mergeAgentToolsWithRuntime(
3449
3490
  agentConfigWithReferences,
@@ -3451,14 +3492,53 @@ ${info.actionHint}` : streamError;
3451
3492
  mentionedTools,
3452
3493
  runtimeOptions,
3453
3494
  state,
3454
- accountSkillRuntime
3495
+ accountSkillRuntime,
3496
+ accountPolicy.systemBuiltinSkills
3455
3497
  ),
3456
3498
  state
3457
3499
  );
3458
- const agentConfigForCall = applyImageConfigRuntimeOverride(
3500
+ let effectiveContextBlocks = contextBlocks;
3501
+ let agentConfigForCall = applyImageConfigRuntimeOverride(
3459
3502
  agentConfigWithTools,
3460
3503
  runtimeOptions
3461
3504
  );
3505
+ const currentUserId = selectIdentityUserId(state);
3506
+ const dialogAgentMode = activeDialogConfig ? resolveDialogAgentMode(activeDialogConfig) : void 0;
3507
+ if (!isWebMcpTurnAllowed({
3508
+ currentUserId,
3509
+ agentConfig: agentConfigForCall,
3510
+ agentKey,
3511
+ dialogAgentMode
3512
+ })) {
3513
+ if (Array.isArray(agentConfigForCall.tools)) {
3514
+ agentConfigForCall = {
3515
+ ...agentConfigForCall,
3516
+ tools: stripMcpWebTools(agentConfigForCall.tools)
3517
+ };
3518
+ }
3519
+ } else {
3520
+ const mcpInjection = await resolveWebTurnMcpInjection({
3521
+ userId: currentUserId,
3522
+ token: selectIdentityToken(state),
3523
+ baseUrl: resolveToolBaseUrl(currentServer),
3524
+ agentKey,
3525
+ agentConfig: agentConfigForCall,
3526
+ dialogAgentMode,
3527
+ signal: loopController.signal
3528
+ });
3529
+ if (mcpInjection.tools) {
3530
+ agentConfigForCall = {
3531
+ ...agentConfigForCall,
3532
+ tools: mcpInjection.tools
3533
+ };
3534
+ }
3535
+ if (mcpInjection.directoryPrompt) {
3536
+ effectiveContextBlocks = [
3537
+ ...effectiveContextBlocks ?? [],
3538
+ mcpInjection.directoryPrompt
3539
+ ];
3540
+ }
3541
+ }
3462
3542
  const effectiveAgentConfig = agentConfigForCall;
3463
3543
  const initialImageGenerationState = resolveImageGenerationStreamingState(
3464
3544
  effectiveAgentConfig
@@ -3471,7 +3551,7 @@ ${info.actionHint}` : streamError;
3471
3551
  resolveAgentCallPlan(agentConfigForCall, {})
3472
3552
  ) === "responses";
3473
3553
  if (isRespModel) {
3474
- const maxExecutionTime2 = selectMaxExecutionTime(state);
3554
+ const maxExecutionTime2 = accountPolicy.maxExecutionTime;
3475
3555
  const MAX_TIME_MS2 = maxExecutionTime2 > 0 ? maxExecutionTime2 : 24e4;
3476
3556
  const startTime2 = Date.now();
3477
3557
  const staticContexts2 = await buildStaticContextsWithToolsPrewarm(
@@ -3573,7 +3653,7 @@ ${info.actionHint}` : streamError;
3573
3653
  agentConfigForCall
3574
3654
  );
3575
3655
  logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-decision", {
3576
- hasRuntimeOptions: !!runtimeOptions,
3656
+ hasRuntimeOptions: !!requestedRuntimeOptions,
3577
3657
  isSimpleTextInput: isSimpleTextInput(userInput),
3578
3658
  referenceKeyCount: currentDialog?.referenceKeys?.length ?? 0,
3579
3659
  willSkipDynamicContext,
@@ -3594,14 +3674,15 @@ ${info.actionHint}` : streamError;
3594
3674
  runtimeOptions,
3595
3675
  mergedContentCache,
3596
3676
  dialogKey,
3597
- quickChatPerfStartedAt
3677
+ quickChatPerfStartedAt,
3678
+ serverBase
3598
3679
  );
3599
3680
  logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
3600
3681
  responseApi: true
3601
3682
  });
3602
3683
  const contexts = withRequestContextBlocks(
3603
3684
  mergeContexts(staticContexts2, dynamicContexts),
3604
- contextBlocks
3685
+ effectiveContextBlocks
3605
3686
  );
3606
3687
  const rawMessages = selectAdmittedMessages(selectAllMsgs(loopState, dialogId));
3607
3688
  let visibleMessages = buildAgentViewMessages(
@@ -3648,7 +3729,7 @@ ${info.actionHint}` : streamError;
3648
3729
  availableHistoryTokens,
3649
3730
  contextWindow: ctxWindow,
3650
3731
  preserveLatestUserByProjection: true
3651
- }, { ...thunkApi, signal: loopController.signal }),
3732
+ }, { ...turnThunkApi, signal: loopController.signal }),
3652
3733
  build: async () => {
3653
3734
  const summaryConfig = selectById(getState(), dialogKey);
3654
3735
  const refreshedContexts = { ...contexts, dialogSummary: summaryConfig?.summary || null };
@@ -3693,12 +3774,18 @@ ${info.actionHint}` : streamError;
3693
3774
  return sendOpenAIResponseRequest({
3694
3775
  bodyData,
3695
3776
  agentConfig: agentConfigForCall,
3696
- thunkApi,
3777
+ thunkApi: turnThunkApi,
3697
3778
  dialogKey,
3698
3779
  parentMessageId: currentParentMessageId2,
3699
3780
  messageMetadata: streamingMessageMetadata,
3700
3781
  quickChatPerfStartedAt,
3701
3782
  fallbackBodyData,
3783
+ ...agentConfigForCall.dbKey === PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY ? {
3784
+ currentReferenceImageUrls: extractImageUrlsFromMessages([{
3785
+ role: "user",
3786
+ content: activeTurnUserMessageId2 ? rawMessages.find((message) => message.role === "user" && message.id === activeTurnUserMessageId2)?.content : appendTempUserInput2 ? agentRunUserInput : void 0
3787
+ }])
3788
+ } : {},
3702
3789
  userMessageId: workMemoryUserMessageId(dialogId, activeTurnUserMessageId2)
3703
3790
  });
3704
3791
  }
@@ -3793,7 +3880,7 @@ ${info.actionHint}` : streamError;
3793
3880
  usage: totalTurnUsage ?? void 0
3794
3881
  };
3795
3882
  }
3796
- const maxExecutionTime = selectMaxExecutionTime(state);
3883
+ const maxExecutionTime = accountPolicy.maxExecutionTime;
3797
3884
  const MAX_TIME_MS = maxExecutionTime > 0 ? maxExecutionTime : 24e4;
3798
3885
  const startTime = Date.now();
3799
3886
  const staticContexts = await buildStaticContextsWithToolsPrewarm(
@@ -3884,7 +3971,7 @@ ${info.actionHint}` : streamError;
3884
3971
  agentConfigForCall
3885
3972
  );
3886
3973
  logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-decision", {
3887
- hasRuntimeOptions: !!runtimeOptions,
3974
+ hasRuntimeOptions: !!requestedRuntimeOptions,
3888
3975
  isSimpleTextInput: isSimpleTextInput(userInput),
3889
3976
  referenceKeyCount: currentDialog?.referenceKeys?.length ?? 0,
3890
3977
  willSkipDynamicContext,
@@ -3905,14 +3992,15 @@ ${info.actionHint}` : streamError;
3905
3992
  runtimeOptions,
3906
3993
  mergedContentCache,
3907
3994
  dialogKey,
3908
- quickChatPerfStartedAt
3995
+ quickChatPerfStartedAt,
3996
+ serverBase
3909
3997
  );
3910
3998
  logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
3911
3999
  responseApi: false
3912
4000
  });
3913
4001
  const contexts = withRequestContextBlocks(
3914
4002
  mergeContexts(staticContexts, dynamicContexts),
3915
- contextBlocks
4003
+ effectiveContextBlocks
3916
4004
  );
3917
4005
  const rawMessages = selectAdmittedMessages(selectAllMsgs(loopState, dialogId));
3918
4006
  let visibleMessages = buildAgentViewMessages(
@@ -3959,7 +4047,7 @@ ${info.actionHint}` : streamError;
3959
4047
  availableHistoryTokens,
3960
4048
  contextWindow: ctxWindow,
3961
4049
  preserveLatestUserByProjection: true
3962
- }, { ...thunkApi, signal: loopController.signal }),
4050
+ }, { ...turnThunkApi, signal: loopController.signal }),
3963
4051
  build: async () => {
3964
4052
  const summaryConfig = selectById(getState(), dialogKey);
3965
4053
  const refreshedContexts = { ...contexts, dialogSummary: summaryConfig?.summary || null };
@@ -3985,7 +4073,7 @@ ${info.actionHint}` : streamError;
3985
4073
  ),
3986
4074
  {
3987
4075
  shouldInline: shouldInlineImageUrlsForAgent(agentConfigForCall),
3988
- serverUrl: selectCurrentServer(getState()),
4076
+ serverUrl: currentServer,
3989
4077
  signal: loopController.signal
3990
4078
  }
3991
4079
  );
@@ -4023,7 +4111,7 @@ ${info.actionHint}` : streamError;
4023
4111
  return sendOpenAICompletionsRequest({
4024
4112
  bodyData,
4025
4113
  agentConfig: agentConfigForCall,
4026
- thunkApi,
4114
+ thunkApi: turnThunkApi,
4027
4115
  dialogKey,
4028
4116
  parentMessageId: currentParentMessageId,
4029
4117
  messageMetadata: streamingMessageMetadata,