nolo-cli 0.258.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-E2LL7FPO.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-ORNRRKJO.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
  8. package/{agentEmailCommands-2ALVFOD5.js → agentEmailCommands-NXRWS7NS.js} +142 -126
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
  10. package/{agentListCommands-6I4NQPR4.js → agentListCommands-PFXGZZ3Y.js} +87 -68
  11. package/{agentMachineCommands-PNHTIJ6A.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-3TIVJ3SR.js → agentRunControl-NEK44LDM.js} +19 -12
  18. package/{agentRuntimeLocal-3MAEFYSB.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
  19. package/{agentSlice-KOQXUPKT.js → agentSlice-4ZJJJN4M.js} +15 -18
  20. package/appConfigCommands-MPHS6FHD.js +417 -0
  21. package/{appDeleteCommands-FEPN62UR.js → appDeleteCommands-W26WGENW.js} +68 -58
  22. package/{appDeployCommands-DPFEWFYZ.js → appDeployCommands-ER7IOF5E.js} +74 -59
  23. package/{appDeployStatusCommands-LQ5X5KVX.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
  24. package/{appGetCommands-W3JBBIF7.js → appGetCommands-P6GXJNUD.js} +74 -58
  25. package/{appListCommands-LUHZS7JU.js → appListCommands-ACA2IZZM.js} +74 -58
  26. package/appMigrateCommands-OGF4E2W6.js +230 -0
  27. package/appSourceCommands-GAHVBRUM.js +279 -0
  28. package/{authCommand-HKSXJT3J.js → authCommand-PXE7NZTQ.js} +26 -40
  29. package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
  30. package/{builtinSkillRegistry-FVEEO4U2.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-4UIKH26F.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
  32. package/{chunk-KO5PFS74.js → chunk-2CKFROQS.js} +2454 -1115
  33. package/{chunk-6N4IKMTH.js → chunk-2I4R6ZRV.js} +40 -26
  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-2RZBFJEG.js → chunk-75FZ2Z7C.js} +16027 -17392
  53. package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
  54. package/{chunk-AKBNCTPY.js → chunk-76K4GTY5.js} +1 -1
  55. package/{chunk-ZMJMHXYX.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-TF427WGH.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-MUDMYJCM.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-JAGD4PSH.js → chunk-CRGPRAJ4.js} +46 -42
  73. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  74. package/{chunk-BD22OFDQ.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-E4HBZDV6.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-EXD7S7QW.js → chunk-FF5ZRKW7.js} +12 -7
  90. package/{chunk-7PTWFSZZ.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-IZHENZQ5.js → chunk-G5JGA5YM.js} +180 -31
  98. package/{chunk-7EUJ65PF.js → chunk-GMBWWBSJ.js} +782 -449
  99. package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
  100. package/{chunk-APXC3SQO.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-JGVWHUYK.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-MD7O2NN2.js → chunk-IM7HCFB4.js} +313 -275
  107. package/{chunk-DWES4SXY.js → chunk-INN2PBW7.js} +1 -1
  108. package/chunk-IV6VUVLJ.js +88 -0
  109. package/chunk-J42X32PV.js +472 -0
  110. package/{chunk-V6S5OZSP.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-JW6OURKM.js → chunk-KAHYBAEN.js} +215 -473
  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-DCTQJDDQ.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-VQR2ACSC.js → chunk-NTBTVKKB.js} +17 -25
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-APQBEIOQ.js → chunk-P4XAHM4B.js} +1 -1
  131. package/chunk-PL5RKESU.js +40 -0
  132. package/{chunk-U2H426FE.js → chunk-PQ3QZMJK.js} +20 -4
  133. package/chunk-Q5FJJ6XI.js +103 -0
  134. package/{createAgentAutomationAction-HEZ3G5L4.js → chunk-QKM55LP2.js} +3 -160
  135. package/{chunk-SIHOY5YI.js → chunk-QZCLCAYC.js} +170 -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-JOJH3KWV.js → chunk-RIOAPUGV.js} +242 -25
  142. package/{chunk-7B55IVLF.js → chunk-RL6H2A2Z.js} +2561 -4059
  143. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  144. package/{chunk-BB76X6O4.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-PNBQ5JTA.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-LJ6WIQZO.js → chunk-SX6PDLBZ.js} +279 -149
  151. package/{chunk-6VNBJ7GI.js → chunk-T4WU747C.js} +5 -5
  152. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  153. package/{chunk-KO5GO2BC.js → chunk-TXMFSGRY.js} +1 -1
  154. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  155. package/{chunk-CVDJUPBN.js → chunk-UOLGGEEC.js} +774 -119
  156. package/{chunk-ADUCBH4M.js → chunk-USFG4EWQ.js} +51 -42
  157. package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
  158. package/{chunk-ONTHDYFU.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-3GGVFHWI.js → chunk-VPAO5WQX.js} +17 -14
  162. package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
  163. package/{chunk-C63KMRJE.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-RQKTCHQM.js → chunk-WY6DMHMG.js} +1 -1
  171. package/{chunk-MLK3FEXG.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-NRUYSNSZ.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-BD5YJJLJ.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-Z3JZ2R5F.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-QKOJ5FIC.js → commandRegistry-TYYYTW5E.js} +263 -120
  195. package/{contentThunks-ZDBDDZP3.js → contentThunks-E6BJ5YSX.js} +45 -43
  196. package/{cooldownCommands-Y4ZQQ35D.js → cooldownCommands-FPAFS7XG.js} +1 -1
  197. package/createAgentAutomationAction-L3NLCIIW.js +172 -0
  198. package/{createDialogAction-DK62W5VA.js → createDialogAction-QSWKRPWQ.js} +46 -42
  199. package/{createPageAction-W6NXHVKO.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-Z24IDINY.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-62GISS77.js → dialogSlice-VHPXENDZ.js} +43 -42
  208. package/{dialogTraceCommand-FDINAIZ6.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
  209. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
  210. package/{docCreateCommands-SXA4TMGJ.js → docCreateCommands-H4RLIUNX.js} +68 -59
  211. package/{docDeleteCommands-ELXSZK3F.js → docDeleteCommands-OVAKCBMT.js} +68 -59
  212. package/{docReadCommands-DFLAQPI4.js → docReadCommands-KFISIUVA.js} +67 -58
  213. package/{docStore-UWF2PMCB.js → docStore-X7BEA735.js} +16 -17
  214. package/{docUpdateCommands-KB6M5HUH.js → docUpdateCommands-VOEER36L.js} +68 -59
  215. package/ebookDownloaderAgentCommand-2DHPGEOQ.js +674 -0
  216. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  217. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  218. package/{handleSendMessageAction-ZV6OQPQG.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
  219. package/{hostCredentialCreate-3IA5IJFG.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-SSG5ORLZ.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-4WKJ3TLO.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-JN43WW4E.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-D6EUSB2Q.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-FEZTSUSJ.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
  249. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
  250. package/{secretCommands-53NZFD4T.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-4ACQQNZL.js → spaceCommands-65WQHVOI.js} +194 -90
  256. package/spacePruneCommand-PTMRUWYJ.js +233 -0
  257. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  258. package/{streamAgentChatTurn-I425SVYJ.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-WBPFTSMK.js → tools-UMCPIQX6.js} +73 -63
  263. package/{tuiRestart-VN5F4GYU.js → tuiRestart-O7UDLNQU.js} +20 -13
  264. package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
  265. package/{updateCommands-VQEBBIGO.js → updateCommands-DXDIAQFS.js} +12 -7
  266. package/{updateDialogTitleAction-VB5DTVXV.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-ZEZKGX4M.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-BEZPBYBM.js +0 -194
  275. package/agentRunCommand-2T72V5KY.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-BXGU6274.js +0 -862
  280. package/chunk-BZMDWGQQ.js +0 -47
  281. package/chunk-GAHJLSDO.js +0 -107
  282. package/chunk-GYX6XTAI.js +0 -84
  283. package/chunk-HNUWUO75.js +0 -93
  284. package/chunk-HSBHS6KT.js +0 -33401
  285. package/chunk-KG27JIG4.js +0 -136
  286. package/chunk-OB4FBZXJ.js +0 -364
  287. package/chunk-OKH74FML.js +0 -3746
  288. package/chunk-OLZBQWZU.js +0 -6
  289. package/chunk-OOV5JN25.js +0 -1317
  290. package/chunk-OQFOE4SJ.js +0 -405
  291. package/chunk-PXYBUFDB.js +0 -53
  292. package/chunk-R3FZHW4Q.js +0 -103
  293. package/chunk-R3MV2GII.js +0 -106
  294. package/chunk-SCAC3NM5.js +0 -11751
  295. package/chunk-SR4FE5VD.js +0 -9
  296. package/chunk-SYTHYBMI.js +0 -3558
  297. package/chunk-UKZX3NHN.js +0 -48
  298. package/chunk-UVLYNWIE.js +0 -74
  299. package/chunk-WFEWP352.js +0 -861
  300. package/chunk-X4O7FJF5.js +0 -160
  301. package/chunk-YJPK35HB.js +0 -175
  302. package/chunk-YNIYE47Z.js +0 -105
  303. package/chunk-Z4PCXPUE.js +0 -127
  304. package/chunk-ZTHAJU3O.js +0 -2537
  305. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  306. package/cliLocalAgentRecordReader-Q6677YID.js +0 -104
  307. package/deleteFile-ECU6FU5C.js +0 -55
  308. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  309. package/machineWsRunDispatch-7PROH7E7.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
@@ -21,25 +21,43 @@ function safeCredentialRef(ref) {
21
21
  function brokerFailure(op) {
22
22
  throw new Error(`credential_broker_${op}_failed`);
23
23
  }
24
- function createDefaultSecretToolRunner(secretToolBin = DEFAULT_SECRET_TOOL_BIN) {
24
+ function createDefaultSecretToolRunner(secretToolBin = DEFAULT_SECRET_TOOL_BIN, timeoutMs = 15e3) {
25
25
  return (input) => new Promise((resolve) => {
26
26
  let stdout = "";
27
27
  let stderr = "";
28
28
  let settled = false;
29
+ let timer;
29
30
  const finish = (result) => {
30
31
  if (settled) return;
31
32
  settled = true;
33
+ clearTimeout(timer);
32
34
  resolve(result);
33
35
  };
34
36
  let child;
35
37
  try {
36
38
  child = spawn(secretToolBin, input.args, {
37
- stdio: ["pipe", "pipe", "pipe"]
39
+ stdio: ["pipe", "pipe", "pipe"],
40
+ detached: process.platform !== "win32"
38
41
  });
39
42
  } catch {
40
43
  finish({ exitCode: -1, stdout: "", stderr: "" });
41
44
  return;
42
45
  }
46
+ timer = setTimeout(() => {
47
+ try {
48
+ if (process.platform !== "win32" && child.pid !== void 0) {
49
+ try {
50
+ process.kill(-child.pid, "SIGKILL");
51
+ return;
52
+ } catch {
53
+ }
54
+ }
55
+ child.kill("SIGKILL");
56
+ } catch {
57
+ } finally {
58
+ finish({ exitCode: -1, stdout: "", stderr: "" });
59
+ }
60
+ }, timeoutMs);
43
61
  child.stdout?.on("data", (chunk) => {
44
62
  stdout += chunk;
45
63
  });
@@ -56,10 +74,9 @@ function createDefaultSecretToolRunner(secretToolBin = DEFAULT_SECRET_TOOL_BIN)
56
74
  stderr
57
75
  });
58
76
  });
59
- if (input.stdin !== void 0) {
60
- child.stdin?.write(input.stdin);
61
- }
62
- child.stdin?.end();
77
+ child.stdin?.on("error", () => {
78
+ });
79
+ child.stdin?.end(input.stdin);
63
80
  });
64
81
  }
65
82
  function createLinuxSecretServiceCredentialBroker(options = {}) {
@@ -131,6 +148,7 @@ function createLinuxSecretServiceCredentialBroker(options = {}) {
131
148
  import { spawn as spawn2 } from "node:child_process";
132
149
  var MACOS_KEYCHAIN_SERVICE_PREFIX = "nolo.credentials.keys";
133
150
  var MACOS_KEYCHAIN_ACCOUNT = "api-key";
151
+ var MACOS_KEYCHAIN_B64_PREFIX = "nolo-b64v1:";
134
152
  var SECURITY_ITEM_NOT_FOUND_EXIT = 44;
135
153
  var DEFAULT_SECURITY_BIN = "/usr/bin/security";
136
154
  function safeCredentialRef2(ref) {
@@ -151,24 +169,44 @@ function credentialRefToMacOsKeychainService(ref, servicePrefix = MACOS_KEYCHAIN
151
169
  function rethrowBrokerError(op, _error) {
152
170
  throw new Error(`credential_broker_${op}_failed`);
153
171
  }
154
- function createDefaultSecurityRunner(securityBin = DEFAULT_SECURITY_BIN) {
172
+ function createDefaultSecurityRunner(securityBin = DEFAULT_SECURITY_BIN, timeoutMs = 15e3) {
155
173
  return function defaultSecurityRunner(input) {
156
174
  return new Promise((resolve) => {
157
175
  let settled = false;
176
+ let timer;
158
177
  const finish = (result) => {
159
178
  if (settled) return;
160
179
  settled = true;
180
+ clearTimeout(timer);
161
181
  resolve(result);
162
182
  };
163
183
  let child;
164
184
  try {
165
185
  child = spawn2(securityBin, input.args, {
166
- stdio: ["pipe", "pipe", "pipe"]
186
+ stdio: ["pipe", "pipe", "pipe"],
187
+ detached: process.platform !== "win32"
167
188
  });
168
189
  } catch {
169
190
  finish({ exitCode: -1, stdout: "", stderr: "" });
170
191
  return;
171
192
  }
193
+ timer = setTimeout(() => {
194
+ try {
195
+ if (process.platform !== "win32" && child.pid !== void 0) {
196
+ try {
197
+ process.kill(-child.pid, "SIGKILL");
198
+ return;
199
+ } catch {
200
+ }
201
+ }
202
+ try {
203
+ child.kill("SIGKILL");
204
+ } catch {
205
+ }
206
+ } finally {
207
+ finish({ exitCode: -1, stdout: "", stderr: "" });
208
+ }
209
+ }, timeoutMs);
172
210
  let stdout = "";
173
211
  let stderr = "";
174
212
  child.stdout?.setEncoding("utf8");
@@ -182,17 +220,18 @@ function createDefaultSecurityRunner(securityBin = DEFAULT_SECURITY_BIN) {
182
220
  child.on("error", () => {
183
221
  finish({ exitCode: -1, stdout: "", stderr: "" });
184
222
  });
223
+ let stdinFailed = false;
224
+ child.stdin?.on("error", () => {
225
+ stdinFailed = true;
226
+ });
185
227
  child.on("close", (code) => {
186
228
  finish({
187
- exitCode: typeof code === "number" ? code : -1,
229
+ exitCode: !stdinFailed && typeof code === "number" ? code : -1,
188
230
  stdout,
189
231
  stderr
190
232
  });
191
233
  });
192
- if (input.stdin !== void 0) {
193
- child.stdin?.write(input.stdin);
194
- }
195
- child.stdin?.end();
234
+ child.stdin?.end(input.stdin);
196
235
  });
197
236
  };
198
237
  }
@@ -226,8 +265,17 @@ function createMacOsKeychainCredentialBroker(options = {}) {
226
265
  if (result.exitCode !== 0) {
227
266
  rethrowBrokerError("get");
228
267
  }
229
- const secret = result.stdout.replace(/\n$/, "");
230
- return secret.length > 0 ? secret : null;
268
+ const secret = result.stdout.replace(/\r?\n$/, "");
269
+ if (!secret.startsWith(MACOS_KEYCHAIN_B64_PREFIX)) {
270
+ return secret.length > 0 ? secret : null;
271
+ }
272
+ const encoded = secret.slice(MACOS_KEYCHAIN_B64_PREFIX.length);
273
+ const bytes = Buffer.from(encoded, "base64");
274
+ const decoded = bytes.toString("utf8");
275
+ if (bytes.toString("base64") !== encoded || !Buffer.from(decoded, "utf8").equals(bytes)) {
276
+ rethrowBrokerError("get");
277
+ }
278
+ return decoded;
231
279
  },
232
280
  async put(ref, secret) {
233
281
  const safeRef = safeCredentialRef2(ref);
@@ -236,27 +284,20 @@ function createMacOsKeychainCredentialBroker(options = {}) {
236
284
  throw new Error("Cannot store an empty credential secret.");
237
285
  }
238
286
  const service = serviceFor(safeRef);
239
- const stdin = `${value}
240
- ${value}
287
+ const unsafeToken = /[^A-Za-z0-9._:@/-]/;
288
+ if (!account || account.startsWith("-") || service.startsWith("-") || unsafeToken.test(account) || unsafeToken.test(service)) {
289
+ rethrowBrokerError("put");
290
+ }
291
+ const encoded = `${MACOS_KEYCHAIN_B64_PREFIX}${Buffer.from(value, "utf8").toString("base64")}`;
292
+ const stdin = `add-generic-password -U -a ${account} -s ${service} -w ${encoded}
241
293
  `;
242
294
  let result;
243
295
  try {
244
- result = await runner({
245
- args: [
246
- "add-generic-password",
247
- "-a",
248
- account,
249
- "-s",
250
- service,
251
- "-U",
252
- "-w"
253
- ],
254
- stdin
255
- });
296
+ result = await runner({ args: ["-i"], stdin });
256
297
  } catch (error) {
257
298
  rethrowBrokerError("put", error);
258
299
  }
259
- if (result.exitCode !== 0) {
300
+ if (result.exitCode !== 0 || /(?:^|\r?\n)security:/i.test(result.stderr)) {
260
301
  rethrowBrokerError("put");
261
302
  }
262
303
  },
@@ -313,11 +354,17 @@ ${value}
313
354
  // packages/agent-runtime/windowsCredentialManagerBroker.ts
314
355
  import { spawn as spawn3 } from "node:child_process";
315
356
  var WINDOWS_CREDENTIAL_TARGET_PREFIX = "nolo.credentials.keys";
357
+ var WINDOWS_CREDENTIAL_USERNAME = "api-key";
316
358
  var WIN_ERROR_NOT_FOUND = 1168;
359
+ var WIN_CREDENTIAL_NOT_FOUND_EXIT = 44;
360
+ var isNotFoundExit = (code) => code === WIN_CREDENTIAL_NOT_FOUND_EXIT || code === WIN_ERROR_NOT_FOUND;
317
361
  var WINDOWS_CREDENTIAL_MANAGER_SCRIPT = `
318
362
  $ErrorActionPreference = 'Stop'
319
363
  try {
320
- $raw = [Console]::In.ReadToEnd()
364
+ # Use redirected streams without changing console code pages (no console required).
365
+ $utf8NoBom = New-Object System.Text.UTF8Encoding($false)
366
+ $reader = New-Object System.IO.StreamReader([Console]::OpenStandardInput(), $utf8NoBom)
367
+ $raw = $reader.ReadToEnd()
321
368
  if ([string]::IsNullOrWhiteSpace($raw)) { exit 1 }
322
369
  $req = $raw | ConvertFrom-Json
323
370
  $op = [string]$req.op
@@ -350,85 +397,101 @@ public class NoloCredNative {
350
397
  public string UserName;
351
398
  }
352
399
 
353
- [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
354
- public static extern bool CredWriteW(ref CREDENTIAL userCredential, uint flags);
400
+ [DllImport("advapi32.dll", CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)]
401
+ private static extern bool CredWriteW(ref CREDENTIAL userCredential, uint flags);
355
402
 
356
- [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
357
- public static extern bool CredReadW(string target, int type, int reservedFlag, out IntPtr credentialPtr);
403
+ [DllImport("advapi32.dll", CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)]
404
+ private static extern bool CredReadW(string target, int type, int reservedFlag, out IntPtr credentialPtr);
358
405
 
359
- [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
360
- public static extern bool CredDeleteW(string target, int type, int flags);
406
+ [DllImport("advapi32.dll", CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)]
407
+ private static extern bool CredDeleteW(string target, int type, int flags);
361
408
 
362
- [DllImport("advapi32.dll", SetLastError = true)]
363
- public static extern void CredFree(IntPtr buffer);
364
- }
365
- "@
409
+ [DllImport("advapi32.dll", ExactSpelling = true)]
410
+ private static extern void CredFree(IntPtr buffer);
366
411
 
367
- if ($op -eq 'get') {
368
- $ptr = [IntPtr]::Zero
369
- $ok = [NoloCredNative]::CredReadW($target, [NoloCredNative]::CRED_TYPE_GENERIC, 0, [ref]$ptr)
370
- if (-not $ok) {
371
- exit [Runtime.InteropServices.Marshal]::GetLastWin32Error()
412
+ // Normalize before the error crosses a process boundary that may retain only 8 bits.
413
+ private static int MapWin32Exit(int error) {
414
+ return error == 0 ? 0 : (error == ERROR_NOT_FOUND ? ${WIN_CREDENTIAL_NOT_FOUND_EXIT} : 1);
415
+ }
416
+
417
+ // Capture last error before cleanup or returning through PowerShell's interpreter.
418
+ public static int Read(string target, out string secret) {
419
+ secret = string.Empty;
420
+ IntPtr ptr;
421
+ bool ok = CredReadW(target, CRED_TYPE_GENERIC, 0, out ptr);
422
+ if (!ok) return MapWin32Exit(Marshal.GetLastWin32Error());
423
+ try {
424
+ CREDENTIAL cred = (CREDENTIAL)Marshal.PtrToStructure(ptr, typeof(CREDENTIAL));
425
+ if (cred.CredentialBlobSize > 0 && cred.CredentialBlob != IntPtr.Zero) {
426
+ byte[] bytes = new byte[cred.CredentialBlobSize];
427
+ Marshal.Copy(cred.CredentialBlob, bytes, 0, bytes.Length);
428
+ secret = Encoding.UTF8.GetString(bytes);
429
+ }
430
+ return MapWin32Exit(0);
431
+ } finally {
432
+ CredFree(ptr);
372
433
  }
434
+ }
435
+
436
+ public static int Has(string target) {
437
+ IntPtr ptr;
438
+ bool ok = CredReadW(target, CRED_TYPE_GENERIC, 0, out ptr);
439
+ if (!ok) return MapWin32Exit(Marshal.GetLastWin32Error());
373
440
  try {
374
- $cred = [Runtime.InteropServices.Marshal]::PtrToStructure($ptr, [type][NoloCredNative+CREDENTIAL])
375
- if ($cred.CredentialBlobSize -le 0 -or $cred.CredentialBlob -eq [IntPtr]::Zero) {
376
- $payload = @{ secret = '' } | ConvertTo-Json -Compress
377
- [Console]::Out.Write($payload)
378
- exit 0
379
- }
380
- $bytes = New-Object byte[] $cred.CredentialBlobSize
381
- [Runtime.InteropServices.Marshal]::Copy($cred.CredentialBlob, $bytes, 0, $cred.CredentialBlobSize)
382
- $secret = [Text.Encoding]::UTF8.GetString($bytes)
383
- $payload = @{ secret = $secret } | ConvertTo-Json -Compress
384
- [Console]::Out.Write($payload)
385
- exit 0
441
+ return MapWin32Exit(0);
386
442
  } finally {
387
- [NoloCredNative]::CredFree($ptr)
443
+ CredFree(ptr);
388
444
  }
389
445
  }
390
446
 
391
- if ($op -eq 'has') {
392
- $ptr = [IntPtr]::Zero
393
- $ok = [NoloCredNative]::CredReadW($target, [NoloCredNative]::CRED_TYPE_GENERIC, 0, [ref]$ptr)
394
- if (-not $ok) {
395
- exit [Runtime.InteropServices.Marshal]::GetLastWin32Error()
447
+ public static int Write(string target, string userName, byte[] blob) {
448
+ CREDENTIAL cred = new CREDENTIAL {
449
+ Type = CRED_TYPE_GENERIC,
450
+ TargetName = target,
451
+ UserName = userName,
452
+ Persist = CRED_PERSIST_LOCAL_MACHINE,
453
+ CredentialBlobSize = blob.Length,
454
+ CredentialBlob = Marshal.AllocHGlobal(blob.Length)
455
+ };
456
+ try {
457
+ Marshal.Copy(blob, 0, cred.CredentialBlob, blob.Length);
458
+ return MapWin32Exit(CredWriteW(ref cred, 0) ? 0 : Marshal.GetLastWin32Error());
459
+ } finally {
460
+ Marshal.FreeHGlobal(cred.CredentialBlob);
396
461
  }
397
- [NoloCredNative]::CredFree($ptr)
462
+ }
463
+
464
+ public static int Delete(string target) {
465
+ return MapWin32Exit(CredDeleteW(target, CRED_TYPE_GENERIC, 0) ? 0 : Marshal.GetLastWin32Error());
466
+ }
467
+ }
468
+ "@
469
+
470
+ if ($op -eq 'get') {
471
+ $secret = ''
472
+ $code = [NoloCredNative]::Read($target, [ref]$secret)
473
+ if ($code -ne 0) { exit $code }
474
+ $payload = @{ secret = $secret } | ConvertTo-Json -Compress
475
+ $outBytes = $utf8NoBom.GetBytes($payload)
476
+ $stdout = [Console]::OpenStandardOutput()
477
+ $stdout.Write($outBytes, 0, $outBytes.Length)
478
+ $stdout.Flush()
398
479
  exit 0
399
480
  }
400
481
 
482
+ if ($op -eq 'has') {
483
+ exit ([NoloCredNative]::Has($target))
484
+ }
485
+
401
486
  if ($op -eq 'put') {
402
487
  $secret = [string]$req.secret
403
488
  if ([string]::IsNullOrEmpty($secret)) { exit 1 }
404
489
  $blob = [Text.Encoding]::UTF8.GetBytes($secret)
405
- $cred = New-Object NoloCredNative+CREDENTIAL
406
- $cred.Type = [NoloCredNative]::CRED_TYPE_GENERIC
407
- $cred.TargetName = $target
408
- $cred.UserName = 'api-key'
409
- $cred.Persist = [NoloCredNative]::CRED_PERSIST_LOCAL_MACHINE
410
- $cred.CredentialBlobSize = $blob.Length
411
- $cred.CredentialBlob = [Runtime.InteropServices.Marshal]::AllocHGlobal($blob.Length)
412
- try {
413
- if ($blob.Length -gt 0) {
414
- [Runtime.InteropServices.Marshal]::Copy($blob, 0, $cred.CredentialBlob, $blob.Length)
415
- }
416
- $ok = [NoloCredNative]::CredWriteW([ref]$cred, 0)
417
- if (-not $ok) {
418
- exit [Runtime.InteropServices.Marshal]::GetLastWin32Error()
419
- }
420
- exit 0
421
- } finally {
422
- [Runtime.InteropServices.Marshal]::FreeHGlobal($cred.CredentialBlob)
423
- }
490
+ exit ([NoloCredNative]::Write($target, '${WINDOWS_CREDENTIAL_USERNAME}', $blob))
424
491
  }
425
492
 
426
493
  if ($op -eq 'delete') {
427
- $ok = [NoloCredNative]::CredDeleteW($target, [NoloCredNative]::CRED_TYPE_GENERIC, 0)
428
- if (-not $ok) {
429
- exit [Runtime.InteropServices.Marshal]::GetLastWin32Error()
430
- }
431
- exit 0
494
+ exit ([NoloCredNative]::Delete($target))
432
495
  }
433
496
 
434
497
  exit 1
@@ -484,12 +547,15 @@ function parseGetSecretFromStdout(stdout) {
484
547
  }
485
548
  return parsed.secret;
486
549
  }
487
- function spawnShell(bin, args, stdin) {
550
+ var SHELL_TIMEOUT = Symbol("shell timeout");
551
+ function spawnShell(bin, args, stdin, timeoutMs) {
488
552
  return new Promise((resolve) => {
489
553
  let settled = false;
554
+ let timer;
490
555
  const finish = (result) => {
491
556
  if (settled) return;
492
557
  settled = true;
558
+ clearTimeout(timer);
493
559
  resolve(result);
494
560
  };
495
561
  let child;
@@ -502,6 +568,14 @@ function spawnShell(bin, args, stdin) {
502
568
  finish({ exitCode: -1, stdout: "", stderr: "" });
503
569
  return;
504
570
  }
571
+ timer = setTimeout(() => {
572
+ try {
573
+ child.kill("SIGKILL");
574
+ } catch {
575
+ } finally {
576
+ finish(SHELL_TIMEOUT);
577
+ }
578
+ }, timeoutMs);
505
579
  let stdout = "";
506
580
  let stderr = "";
507
581
  child.stdout?.setEncoding("utf8");
@@ -522,28 +596,28 @@ function spawnShell(bin, args, stdin) {
522
596
  stderr
523
597
  });
524
598
  });
525
- if (stdin !== void 0) {
526
- child.stdin?.write(stdin);
527
- }
528
- child.stdin?.end();
599
+ child.stdin?.on("error", () => {
600
+ });
601
+ child.stdin?.end(stdin);
529
602
  });
530
603
  }
531
- function createDefaultWindowsCredentialRunner(shellBin) {
604
+ function createDefaultWindowsCredentialRunner(shellBin, timeoutMs = 15e3) {
532
605
  let resolvedBin = shellBin ?? null;
533
606
  return async function defaultWindowsCredentialRunner(input) {
534
- if (resolvedBin) {
535
- return spawnShell(resolvedBin, input.args, input.stdin);
536
- }
537
- const first = await spawnShell("powershell.exe", input.args, input.stdin);
538
- if (first.exitCode !== -1) {
539
- resolvedBin = "powershell.exe";
540
- return first;
541
- }
542
- const second = await spawnShell("pwsh", input.args, input.stdin);
543
- if (second.exitCode !== -1) {
544
- resolvedBin = "pwsh";
607
+ const bins = resolvedBin ? [resolvedBin] : ["powershell.exe", "pwsh"];
608
+ let result = { exitCode: -1, stdout: "", stderr: "" };
609
+ for (const bin of bins) {
610
+ const attempt = await spawnShell(bin, input.args, input.stdin, timeoutMs);
611
+ if (attempt === SHELL_TIMEOUT) {
612
+ return { exitCode: -1, stdout: "", stderr: "" };
613
+ }
614
+ result = attempt;
615
+ if (result.exitCode !== -1) {
616
+ resolvedBin = bin;
617
+ break;
618
+ }
545
619
  }
546
- return second;
620
+ return result;
547
621
  };
548
622
  }
549
623
  function createWindowsCredentialManagerBroker(options = {}) {
@@ -564,7 +638,7 @@ function createWindowsCredentialManagerBroker(options = {}) {
564
638
  } catch (error) {
565
639
  rethrowBrokerError2("get", error);
566
640
  }
567
- if (result.exitCode === WIN_ERROR_NOT_FOUND) {
641
+ if (isNotFoundExit(result.exitCode)) {
568
642
  return null;
569
643
  }
570
644
  if (result.exitCode !== 0) {
@@ -605,9 +679,7 @@ function createWindowsCredentialManagerBroker(options = {}) {
605
679
  } catch (error) {
606
680
  rethrowBrokerError2("delete", error);
607
681
  }
608
- if (result.exitCode === 0 || result.exitCode === WIN_ERROR_NOT_FOUND) {
609
- return;
610
- }
682
+ if (result.exitCode === 0 || isNotFoundExit(result.exitCode)) return;
611
683
  rethrowBrokerError2("delete");
612
684
  },
613
685
  async has(ref) {
@@ -622,7 +694,7 @@ function createWindowsCredentialManagerBroker(options = {}) {
622
694
  } catch (error) {
623
695
  rethrowBrokerError2("has", error);
624
696
  }
625
- if (result.exitCode === WIN_ERROR_NOT_FOUND) {
697
+ if (isNotFoundExit(result.exitCode)) {
626
698
  return false;
627
699
  }
628
700
  if (result.exitCode !== 0) {
@@ -85,20 +85,17 @@ var QUICK_PROBE_SUBSTRINGS = [
85
85
  "ghs_",
86
86
  "ghr_",
87
87
  "github_pat_",
88
- "PRIVATE KEY",
89
- "Bearer ",
90
- "bearer ",
91
- "PASSWORD",
92
- "password",
93
- "PASSWD",
94
- "SECRET_KEY"
88
+ "PRIVATE KEY"
95
89
  ];
90
+ var CASE_INSENSITIVE_PROBE_REGEX = /bearer|password|passwd|secret_key/i;
96
91
  var UNPREFIXED_PROBE_REGEX = /\\b[0-9a-fA-F]{32}\\.[A-Za-z0-9]{16}\\b/;
97
92
  function hasPotentialSecrets(text) {
98
93
  if (typeof text !== "string" || text.length === 0)
99
94
  return false;
100
95
  if (QUICK_PROBE_SUBSTRINGS.some((probe) => text.includes(probe)))
101
96
  return true;
97
+ if (CASE_INSENSITIVE_PROBE_REGEX.test(text))
98
+ return true;
102
99
  return UNPREFIXED_PROBE_REGEX.test(text);
103
100
  }
104
101
  function scrubSecrets(text) {
@@ -5,14 +5,17 @@ import {
5
5
  import {
6
6
  patch,
7
7
  read
8
- } from "./chunk-ADYWV732.js";
8
+ } from "./chunk-76B6YUQS.js";
9
+ import {
10
+ emitUserDataUpdated
11
+ } from "./chunk-GYFKKTDI.js";
9
12
  import {
10
13
  DEVICE_LOCAL_OWNER_ID,
11
14
  isDeviceLocalSpaceBody
12
- } from "./chunk-HPDLPEUG.js";
15
+ } from "./chunk-42JZNSAY.js";
13
16
  import {
14
17
  selectIdentityUserId
15
- } from "./chunk-PXYBUFDB.js";
18
+ } from "./chunk-YM5XULB2.js";
16
19
 
17
20
  // packages/create/space/utils/permissions.ts
18
21
  var checkSpaceMembership = (spaceData, userId) => {
@@ -51,9 +54,7 @@ var UNCATEGORIZED_ID = "__uncategorized_container__";
51
54
 
52
55
  // packages/create/space/content/spaceContentPatch.ts
53
56
  var notifyUserDataUpdated = () => {
54
- if (typeof window !== "undefined" && typeof window.dispatchEvent === "function" && typeof window.Event === "function") {
55
- window.dispatchEvent(new window.Event("nolo-user-data-updated"));
56
- }
57
+ emitUserDataUpdated();
57
58
  };
58
59
  var loadSpaceContentOrThrow = async (dispatch, spaceId, contentKey, sourceServerOrigin) => {
59
60
  if (!contentKey || typeof contentKey !== "string" || contentKey.trim() === "") {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getModelConfig
3
- } from "./chunk-OKH74FML.js";
3
+ } from "./chunk-RI7SXDJW.js";
4
4
  import {
5
5
  isPlatformHostedDeepseekModel,
6
6
  isPlatformHostedOpenAIImageModel,
7
7
  resolvePlatformHostedRouting
8
- } from "./chunk-JPXACKSW.js";
8
+ } from "./chunk-G22P2J7O.js";
9
9
  import {
10
10
  asTrimmedLowercaseString
11
11
  } from "./chunk-QSJ3HFEF.js";