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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-PODMRXJJ.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-NJTYNXXR.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-RUPXLROG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-57EJ2UBC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-DRFCOTYP.js} +185 -147
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-FHENHUBF.js} +143 -127
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-BMVKNYIY.js} +9 -6
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-W66W5K3V.js} +88 -69
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-C3BUBCXU.js} +69 -60
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-VIWKP7DM.js} +11 -8
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-5SNSXOY7.js} +10 -7
  14. package/agentRecordCommands-DYMHWTID.js +210 -0
  15. package/agentRun-QVFG3CI4.js +250 -0
  16. package/agentRunCommand-YV4V5HSL.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-RGBHKPKJ.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-LVEMOYS2.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-OJCM7OUX.js} +15 -18
  20. package/appConfigCommands-ZUXQLE7L.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-L5UKUMXY.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-KX2BRQUW.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-7LHRSWW7.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-F7SDFCUK.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-U4NJKSMZ.js} +74 -58
  26. package/appMigrateCommands-JAPOLYSW.js +230 -0
  27. package/appSourceCommands-TLXPWXUH.js +279 -0
  28. package/authCommand-AU3GZBZ2.js +65 -0
  29. package/{authCommands-T5FODCEG.js → authCommands-JKBWMUQ4.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-F47WYQWF.js} +68 -18
  32. package/{chunk-5YS6QHGT.js → chunk-2FGFY72B.js} +9 -9
  33. package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
  34. package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
  35. package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
  36. package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
  37. package/chunk-35JIFLIG.js +30 -0
  38. package/{chunk-7OVOZRZF.js → chunk-3B7OTHDW.js} +23 -379
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-XNNBXUEM.js → chunk-3TII7WCF.js} +5 -5
  42. package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
  43. package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
  44. package/chunk-4IVMDQBA.js +261 -0
  45. package/chunk-4Y6CZ2N4.js +82 -0
  46. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  47. package/{chunk-KQHEGELM.js → chunk-63G7JWEA.js} +16 -6
  48. package/{chunk-4EACJPZI.js → chunk-6BBXJGIQ.js} +51 -42
  49. package/chunk-72VWN4VK.js +51 -0
  50. package/chunk-7LR2IFUH.js +100 -0
  51. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  52. package/{chunk-XPETQ4MR.js → chunk-7X4BFUJV.js} +24 -10
  53. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  54. package/chunk-A4O76A6V.js +432 -0
  55. package/chunk-AMNZPQCY.js +635 -0
  56. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  57. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  58. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  59. package/{chunk-U6QNVOR5.js → chunk-BUGLH2A7.js} +130 -6
  60. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  61. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  62. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  63. package/{chunk-Y2TCTNUD.js → chunk-CK2LMTYO.js} +4 -4
  64. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  65. package/{chunk-57V4PADY.js → chunk-CNYPQYXT.js} +781 -449
  66. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  67. package/chunk-D3ONA3FP.js +762 -0
  68. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  69. package/chunk-DLXL4NSL.js +1179 -0
  70. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  71. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  72. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  73. package/{chunk-DBJODIZ6.js → chunk-EQOWWSNQ.js} +19 -27
  74. package/chunk-ER6NTALN.js +34 -0
  75. package/{chunk-L4XST72F.js → chunk-ERCSHBUD.js} +16027 -17392
  76. package/chunk-EUHMI5KG.js +101 -0
  77. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  78. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  79. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  80. package/chunk-FI4DPLR7.js +902 -0
  81. package/{chunk-HDKMVYNJ.js → chunk-FNLT7NKG.js} +7 -11
  82. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  83. package/chunk-FP46RAJQ.js +58 -0
  84. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  85. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  86. package/{chunk-FZENZCIA.js → chunk-GEC4CHS2.js} +19 -12
  87. package/chunk-GF4LYNNZ.js +25 -0
  88. package/{chunk-IYLUK67R.js → chunk-GH6SS2DZ.js} +25 -8
  89. package/chunk-HAZ6UVH4.js +368 -0
  90. package/{chunk-OKAXQFON.js → chunk-HB4J5HA6.js} +4 -4
  91. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  92. package/chunk-HJTI7RZV.js +94 -0
  93. package/{chunk-HQUGB2HM.js → chunk-HMFKYZKP.js} +62 -50
  94. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  95. package/{chunk-46FETNLF.js → chunk-IN4B6Z2D.js} +7 -6
  96. package/chunk-IV6VUVLJ.js +88 -0
  97. package/{chunk-LLUBUHNT.js → chunk-IWWJSSST.js} +5 -9
  98. package/{chunk-7BIJFGKS.js → chunk-J22PFCQN.js} +106 -52
  99. package/chunk-J42X32PV.js +472 -0
  100. package/{chunk-LCBAMY2M.js → chunk-JKVOKKMQ.js} +0 -7
  101. package/{chunk-KT7S7ANZ.js → chunk-JPYOHIHX.js} +9 -9
  102. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  103. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  104. package/{chunk-KLMBM6P6.js → chunk-KALCFXQO.js} +2454 -1115
  105. package/chunk-KDDXC2IH.js +148 -0
  106. package/chunk-KGKTN2NX.js +25 -0
  107. package/chunk-KGWE224L.js +246 -0
  108. package/{chunk-OYUMJMC5.js → chunk-KSV6T4AH.js} +6 -1
  109. package/{chunk-P27E22MA.js → chunk-L43DGEPZ.js} +1 -1
  110. package/{chunk-5BIDJVNX.js → chunk-L45P4JTE.js} +180 -31
  111. package/chunk-LHCIIUCX.js +222 -0
  112. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  113. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  114. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  115. package/{chunk-BIDSIRTS.js → chunk-LTCZOOAM.js} +11 -17
  116. package/chunk-LUTSMSIL.js +425 -0
  117. package/chunk-LXP53WGF.js +168 -0
  118. package/{chunk-2CT2J3O6.js → chunk-M7VNNPVX.js} +2493 -4055
  119. package/chunk-MDAYRIP7.js +1889 -0
  120. package/{chunk-6B2OBX5B.js → chunk-MMXHIHJZ.js} +15 -47
  121. package/{chunk-HPDLPEUG.js → chunk-MPWQI36J.js} +267 -234
  122. package/chunk-MRACVEPZ.js +7 -0
  123. package/{chunk-ZYPXOQS2.js → chunk-MSFKHPA6.js} +1 -1
  124. package/chunk-NHLLXINQ.js +8 -0
  125. package/{chunk-QXTEEEIN.js → chunk-NJCTPWJU.js} +8 -8
  126. package/chunk-NLS7F5DW.js +1697 -0
  127. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  128. package/{chunk-JLZJL3WC.js → chunk-O77F26YB.js} +370 -39
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-YN23INFZ.js → chunk-OIOMBPCA.js} +23 -2
  131. package/{chunk-CJOOF4L5.js → chunk-OSZNERNW.js} +17 -14
  132. package/{chunk-JZO7KUF3.js → chunk-P4I55ASV.js} +313 -275
  133. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  134. package/chunk-PL5RKESU.js +40 -0
  135. package/chunk-Q5FJJ6XI.js +103 -0
  136. package/{chunk-WS36XPJD.js → chunk-Q5IXZF3S.js} +82 -6
  137. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  138. package/{chunk-WSLL7VV4.js → chunk-QXWXRBOL.js} +9 -9
  139. package/{chunk-MXA54TQM.js → chunk-QZYQ3Y3G.js} +1 -1
  140. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  141. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  142. package/chunk-RF576RYE.js +117 -0
  143. package/chunk-RI7SXDJW.js +1317 -0
  144. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  145. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  146. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  147. package/{chunk-J55F3IEZ.js → chunk-SARJZIGR.js} +1 -1
  148. package/chunk-SJFL32RD.js +356 -0
  149. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  150. package/{chunk-MPGR4ZNR.js → chunk-SRVLHMES.js} +46 -42
  151. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  152. package/{chunk-RD3QLZQV.js → chunk-SWJRX4M5.js} +324 -2
  153. package/{chunk-R3TUHCSJ.js → chunk-T3Y2NA4H.js} +8 -3
  154. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  155. package/{chunk-KWNVPY6M.js → chunk-TJXO66M2.js} +8 -5
  156. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  157. package/{chunk-ADYWV732.js → chunk-U5PSCTMR.js} +264 -177
  158. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  159. package/{chunk-QGFLVQ6E.js → chunk-UBOTXA3Z.js} +4 -14
  160. package/{chunk-6YX2RAQN.js → chunk-UEZL3RBG.js} +89 -164
  161. package/{chunk-NCFKHYDM.js → chunk-UJL23HBL.js} +774 -119
  162. package/chunk-ULPU4C43.js +1710 -0
  163. package/{chunk-UA3QTA2S.js → chunk-VC3MAT33.js} +4442 -2570
  164. package/{chunk-VNHZJEQN.js → chunk-VCESLFF4.js} +3 -3
  165. package/chunk-VOO3YQQP.js +17157 -0
  166. package/{chunk-Y2GWUBNS.js → chunk-VZDSNDUD.js} +279 -149
  167. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  168. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  169. package/chunk-WEEB2JKA.js +443 -0
  170. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  171. package/chunk-WMBJDXMY.js +408 -0
  172. package/chunk-WSQLCWLQ.js +201 -0
  173. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  174. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  175. package/{chunk-MNFUKRRU.js → chunk-XKNDVHF5.js} +7 -7
  176. package/{chunk-MHKPUGPD.js → chunk-XREMPMNK.js} +20 -4
  177. package/chunk-XT6C2QZW.js +46 -0
  178. package/chunk-XUDXQT7R.js +790 -0
  179. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  180. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  181. package/{chunk-U35UUM5K.js → chunk-YVOUSIIA.js} +1 -1
  182. package/{chunk-6VEO7Z3Y.js → chunk-Z27AH6A5.js} +6 -6
  183. package/chunk-Z3KTXWWB.js +76 -0
  184. package/{chunk-UWWOWTW2.js → chunk-Z7EP5HDL.js} +1 -1
  185. package/{chunk-YFEK7ACQ.js → chunk-ZB2E724W.js} +4 -4
  186. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  187. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  188. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-BJJEXHSZ.js} +20 -14
  189. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  190. package/cliAuthorityBrokerProcess-VIJEKQSX.js +34 -0
  191. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-NDMKN4X2.js} +6 -3
  192. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  193. package/cliLocalAgentRecordReader-KCZS2MZU.js +113 -0
  194. package/cloudAutomationCommands-2WQUGQSW.js +310 -0
  195. package/{commandRegistry-IFYQLPGM.js → commandRegistry-C64JBZJ3.js} +288 -121
  196. package/{contentThunks-QCFCD2X3.js → contentThunks-G3HEIRXC.js} +45 -43
  197. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  198. package/createAgentAutomationAction-DSBL3X3A.js +172 -0
  199. package/createDialogAction-OHFUHC53.js +86 -0
  200. package/{createPageAction-QCVBMP4C.js → createPageAction-E6JZSZLU.js} +49 -45
  201. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  202. package/{dbSlice-RWPSVHBC.js → dbSlice-U3GPLEL3.js} +21 -16
  203. package/deleteDbKey-DRXKWJX5.js +86 -0
  204. package/{dialogCommands-4IEQUALS.js → dialogCommands-4EX2OTIC.js} +80 -66
  205. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  206. package/dialogNotifyCommand-4SCE2Z2R.js +44 -0
  207. package/dialogPortabilityCommands-ZSFFHRX4.js +3036 -0
  208. package/{dialogSlice-XFYID6KE.js → dialogSlice-PRZCIJCH.js} +43 -42
  209. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-RKB76OVX.js} +84 -70
  210. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-BP7HMRYP.js} +7 -4
  211. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-JGPNGIZ7.js} +68 -59
  212. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-XRJTNRDH.js} +68 -59
  213. package/{docReadCommands-EXQI7ETH.js → docReadCommands-6GFO4ARS.js} +67 -58
  214. package/{docStore-MWFUKZL2.js → docStore-QRLIWFTU.js} +16 -17
  215. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-W2GXMUXW.js} +68 -59
  216. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  217. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  218. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  219. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-DHGWURJZ.js} +265 -119
  220. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-FPUZ7RMI.js} +138 -122
  221. package/index.js +36 -22
  222. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  223. package/localAutomationCommands-ZMU22RQJ.js +198 -0
  224. package/localAutomationRuntime-MU5FGJ3V.js +60 -0
  225. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  226. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-YBXQBV4G.js} +136 -119
  227. package/localRuntimeAuthority-LDXMEDO5.js +44 -0
  228. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-6TQZDLNU.js} +1 -1
  229. package/{machineCommands-CL5XK5UC.js → machineCommands-57RTUYRV.js} +251 -357
  230. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  231. package/machineWsRunDispatch-VBKV3FFE.js +227 -0
  232. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-J76SOJVZ.js} +40 -22
  233. package/mcpLocalManageCommands-USETIMHB.js +212 -0
  234. package/{memberThunks-43B7UYC5.js → memberThunks-7UERUEMI.js} +102 -22
  235. package/{memoryCommands-BC6REPQB.js → memoryCommands-N7NHEE55.js} +25 -34
  236. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  237. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  238. package/package.json +3 -3
  239. package/parityCommands-LYDLWSLK.js +613 -0
  240. package/{projectArchive-OC63TWTD.js → projectArchive-KCNQDVWJ.js} +49 -45
  241. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  242. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  243. package/{read-KG6INYUT.js → read-SPSQ6NLR.js} +11 -10
  244. package/{readDocTool-N3GA52JR.js → readDocTool-ENUL2GNL.js} +5 -1
  245. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-MKS7TAEF.js} +927 -573
  246. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  247. package/remove-TNNDO635.js +32 -0
  248. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-POPUZ3WU.js} +22 -26
  249. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-KVILXQNI.js} +117 -82
  250. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-4J2DP4LZ.js} +23 -16
  251. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  252. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-35THMVBP.js} +16 -17
  253. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-WLXBNIG7.js} +23 -27
  254. package/{settingThunks-DVKG4X4S.js → settingThunks-6Y5U5M5N.js} +170 -497
  255. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  256. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-LXNJBO2U.js} +293 -58
  257. package/spacePruneCommand-2ITUFYBM.js +233 -0
  258. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  259. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-EY6MFKCA.js} +225 -137
  260. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-TG6BQRDA.js} +19 -23
  261. package/{tableCommands-EFA754RE.js → tableCommands-35G34R4B.js} +28 -49
  262. package/{toolApiClient-N5PYW2R3.js → toolApiClient-MPQIFYXP.js} +15 -4
  263. package/{tools-2Q2LBDUC.js → tools-CSLTRRUR.js} +73 -63
  264. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-ALR4Q3JM.js} +20 -13
  265. package/tuiSummaryLlmCaller-3Y3JEXJK.js +52 -0
  266. package/{updateCommands-GJGRS6JK.js → updateCommands-GHQVP6Z5.js} +13 -8
  267. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-LFAWF5EW.js} +57 -58
  268. package/{usageCommand-WI6SQOPB.js → usageCommand-5VKW6T4C.js} +6 -8
  269. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-VUQETFMW.js} +11 -15
  270. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  271. package/workContext-ZAW6VXT7.js +18 -0
  272. package/workContextQueryProjection-CACY5VFE.js +23 -0
  273. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  274. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  275. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  276. package/agentRunCommand-DMVGBPLI.js +0 -232
  277. package/authCommand-V6EOMZX6.js +0 -79
  278. package/chunk-2MBTWINN.js +0 -89
  279. package/chunk-523DITKR.js +0 -32
  280. package/chunk-BUDVRYES.js +0 -2213
  281. package/chunk-BZMDWGQQ.js +0 -47
  282. package/chunk-GAHJLSDO.js +0 -107
  283. package/chunk-GYX6XTAI.js +0 -84
  284. package/chunk-HNUWUO75.js +0 -93
  285. package/chunk-HSBHS6KT.js +0 -33401
  286. package/chunk-KG27JIG4.js +0 -136
  287. package/chunk-OB4FBZXJ.js +0 -364
  288. package/chunk-OKH74FML.js +0 -3746
  289. package/chunk-OLZBQWZU.js +0 -6
  290. package/chunk-OOV5JN25.js +0 -1317
  291. package/chunk-OQFOE4SJ.js +0 -405
  292. package/chunk-PXYBUFDB.js +0 -53
  293. package/chunk-R3FZHW4Q.js +0 -103
  294. package/chunk-R3MV2GII.js +0 -106
  295. package/chunk-SCAC3NM5.js +0 -11751
  296. package/chunk-SR4FE5VD.js +0 -9
  297. package/chunk-SYTHYBMI.js +0 -3558
  298. package/chunk-UKZX3NHN.js +0 -48
  299. package/chunk-UVLYNWIE.js +0 -74
  300. package/chunk-VQX5JJNI.js +0 -861
  301. package/chunk-X4O7FJF5.js +0 -160
  302. package/chunk-YJPK35HB.js +0 -175
  303. package/chunk-YNIYE47Z.js +0 -105
  304. package/chunk-Z4PCXPUE.js +0 -127
  305. package/chunk-ZR5IVL4N.js +0 -862
  306. package/chunk-ZTHAJU3O.js +0 -2537
  307. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  308. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  309. package/createDialogAction-ZAJERW62.js +0 -82
  310. package/deleteFile-ECU6FU5C.js +0 -55
  311. package/dialogNotifyCommand-IASQGEMW.js +0 -36
  312. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  313. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  314. package/markdownToSlate-PXYAIBVL.js +0 -8
  315. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  316. package/webapi-QVV65DQF.js +0 -2487
  317. package/workContext-Y3ADAPZU.js +0 -14
  318. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  319. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  320. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -0,0 +1,635 @@
1
+ // node_modules/reselect/dist/reselect.mjs
2
+ var CACHE_SIZE_CHECK_THRESHOLD = 1e3;
3
+ var runCacheSizeCheck = (cacheSize, funcName) => {
4
+ let stack = void 0;
5
+ try {
6
+ throw new Error();
7
+ } catch (e) {
8
+ ;
9
+ ({ stack } = e);
10
+ }
11
+ console.warn(
12
+ `A function memoized with weakMapMemoize${funcName ? ` (\`${funcName}\`)` : ""} has seen over ${cacheSize} distinct values for the same primitive argument position.
13
+ Results keyed by primitive arguments are held strongly and are only released by \`clearCache()\`, so this cache will keep growing for as long as the function keeps seeing new values.
14
+ If it is called with ever-changing primitives (ids, offsets, timestamps), pass the \`maxSize\` option to bound the cache, switch to \`lruMemoize\`, or call \`.clearCache()\` at a suitable point.
15
+ See https://reselect.js.org/api/development-only-checks#cachesizecheck for details.`,
16
+ { stack }
17
+ );
18
+ };
19
+ var globalDevModeChecks = {
20
+ inputStabilityCheck: "once",
21
+ identityFunctionCheck: "once",
22
+ cacheSizeCheck: "once"
23
+ };
24
+ var StrongRef = class {
25
+ constructor(value) {
26
+ this.value = value;
27
+ }
28
+ deref() {
29
+ return this.value;
30
+ }
31
+ };
32
+ var getWeakRef = () => typeof WeakRef === "undefined" ? StrongRef : WeakRef;
33
+ var Ref = /* @__PURE__ */ getWeakRef();
34
+ var UNTERMINATED = 0;
35
+ var TERMINATED = 1;
36
+ function createCacheNode() {
37
+ return {
38
+ s: UNTERMINATED,
39
+ v: void 0,
40
+ o: null,
41
+ p: null
42
+ };
43
+ }
44
+ function maybeDeref(r) {
45
+ if (r instanceof Ref) {
46
+ return r.deref();
47
+ }
48
+ return r;
49
+ }
50
+ function weakMapMemoize(func, options = {}) {
51
+ let fnNode = createCacheNode();
52
+ const { resultEqualityCheck, maxSize } = options;
53
+ const useGenerations = maxSize !== void 0;
54
+ if (useGenerations && (!Number.isInteger(maxSize) || maxSize < 1)) {
55
+ throw new TypeError(
56
+ `maxSize must be a positive integer, received: ${maxSize}`
57
+ );
58
+ }
59
+ let prevNode = null;
60
+ let insertionCount = 0;
61
+ let lastResult;
62
+ let resultsCount = 0;
63
+ let hasWarnedAboutCacheSize = false;
64
+ function maybeFlipGenerations() {
65
+ if (insertionCount >= maxSize) {
66
+ prevNode = fnNode;
67
+ fnNode = createCacheNode();
68
+ insertionCount = 0;
69
+ }
70
+ }
71
+ function memoized() {
72
+ let cacheNode = fnNode;
73
+ const { length } = arguments;
74
+ for (let i = 0, l = length; i < l; i++) {
75
+ const arg = arguments[i];
76
+ if (typeof arg === "function" || typeof arg === "object" && arg !== null) {
77
+ let objectCache = cacheNode.o;
78
+ if (objectCache === null) {
79
+ cacheNode.o = objectCache = /* @__PURE__ */ new WeakMap();
80
+ }
81
+ const objectNode = objectCache.get(arg);
82
+ if (objectNode === void 0) {
83
+ cacheNode = createCacheNode();
84
+ objectCache.set(arg, cacheNode);
85
+ } else {
86
+ cacheNode = objectNode;
87
+ }
88
+ } else {
89
+ let primitiveCache = cacheNode.p;
90
+ if (primitiveCache === null) {
91
+ cacheNode.p = primitiveCache = /* @__PURE__ */ new Map();
92
+ }
93
+ const primitiveNode = primitiveCache.get(arg);
94
+ if (primitiveNode === void 0) {
95
+ cacheNode = createCacheNode();
96
+ primitiveCache.set(arg, cacheNode);
97
+ insertionCount++;
98
+ if (process.env.NODE_ENV !== "production") {
99
+ if (primitiveCache.size > CACHE_SIZE_CHECK_THRESHOLD) {
100
+ const { cacheSizeCheck } = globalDevModeChecks;
101
+ if (cacheSizeCheck === "always" || cacheSizeCheck === "once" && !hasWarnedAboutCacheSize) {
102
+ hasWarnedAboutCacheSize = true;
103
+ runCacheSizeCheck(primitiveCache.size, func.name);
104
+ }
105
+ }
106
+ }
107
+ } else {
108
+ cacheNode = primitiveNode;
109
+ }
110
+ }
111
+ }
112
+ if (cacheNode.s === TERMINATED) {
113
+ return cacheNode.v;
114
+ }
115
+ if (prevNode !== null) {
116
+ let prevCacheNode = prevNode;
117
+ for (let i = 0, l = length; i < l; i++) {
118
+ const arg = arguments[i];
119
+ let next;
120
+ if (typeof arg === "function" || typeof arg === "object" && arg !== null) {
121
+ const prevObjectCache = prevCacheNode.o;
122
+ next = prevObjectCache !== null ? prevObjectCache.get(arg) : void 0;
123
+ } else {
124
+ const prevPrimitiveCache = prevCacheNode.p;
125
+ next = prevPrimitiveCache !== null ? prevPrimitiveCache.get(arg) : void 0;
126
+ }
127
+ if (next === void 0) {
128
+ prevCacheNode = null;
129
+ break;
130
+ }
131
+ prevCacheNode = next;
132
+ }
133
+ if (prevCacheNode !== null && prevCacheNode.s === TERMINATED) {
134
+ const promotedNode = cacheNode;
135
+ promotedNode.s = TERMINATED;
136
+ promotedNode.v = prevCacheNode.v;
137
+ maybeFlipGenerations();
138
+ return prevCacheNode.v;
139
+ }
140
+ }
141
+ const terminatedNode = cacheNode;
142
+ let result = func.apply(null, arguments);
143
+ resultsCount++;
144
+ if (resultEqualityCheck) {
145
+ const lastResultValue = maybeDeref(lastResult);
146
+ if (lastResultValue != null && resultEqualityCheck(lastResultValue, result)) {
147
+ result = lastResultValue;
148
+ resultsCount !== 0 && resultsCount--;
149
+ }
150
+ const needsWeakRef = typeof result === "object" && result !== null || typeof result === "function";
151
+ lastResult = needsWeakRef ? /* @__PURE__ */ new Ref(result) : result;
152
+ }
153
+ terminatedNode.s = TERMINATED;
154
+ terminatedNode.v = result;
155
+ if (useGenerations) {
156
+ maybeFlipGenerations();
157
+ }
158
+ return result;
159
+ }
160
+ memoized.clearCache = () => {
161
+ fnNode = createCacheNode();
162
+ prevNode = null;
163
+ insertionCount = 0;
164
+ memoized.resetResultsCount();
165
+ if (process.env.NODE_ENV !== "production") {
166
+ hasWarnedAboutCacheSize = false;
167
+ }
168
+ };
169
+ memoized.resultsCount = () => resultsCount;
170
+ memoized.resetResultsCount = () => {
171
+ resultsCount = 0;
172
+ };
173
+ return memoized;
174
+ }
175
+ var runIdentityFunctionCheck = (resultFunc, inputSelectorsResults, outputSelectorResult) => {
176
+ if (inputSelectorsResults.length === 1 && inputSelectorsResults[0] === outputSelectorResult) {
177
+ let isInputSameAsOutput = false;
178
+ try {
179
+ const emptyObject = {};
180
+ if (resultFunc(emptyObject) === emptyObject) isInputSameAsOutput = true;
181
+ } catch {
182
+ }
183
+ if (isInputSameAsOutput) {
184
+ let stack = void 0;
185
+ try {
186
+ throw new Error();
187
+ } catch (e) {
188
+ ;
189
+ ({ stack } = e);
190
+ }
191
+ console.warn(
192
+ "The result function returned its own inputs without modification. e.g\n`createSelector([state => state.todos], todos => todos)`\nThis could lead to inefficient memoization and unnecessary re-renders.\nEnsure transformation logic is in the result function, and extraction logic is in the input selectors.",
193
+ { stack }
194
+ );
195
+ }
196
+ }
197
+ };
198
+ var withoutResultEqualityCheck = (option) => {
199
+ if (option === null || typeof option !== "object" || !("resultEqualityCheck" in option)) {
200
+ return option;
201
+ }
202
+ const optionCopy = { ...option };
203
+ delete optionCopy.resultEqualityCheck;
204
+ return optionCopy;
205
+ };
206
+ var runInputStabilityCheck = (inputSelectorResultsObject, options, inputSelectorArgs) => {
207
+ const { memoize, memoizeOptions } = options;
208
+ const { inputSelectorResults, inputSelectorResultsCopy } = inputSelectorResultsObject;
209
+ const probeMemoizeOptions = [];
210
+ const { length } = memoizeOptions;
211
+ for (let i = 0; i < length; i++) {
212
+ probeMemoizeOptions.push(withoutResultEqualityCheck(memoizeOptions[i]));
213
+ }
214
+ const createAnEmptyObject = memoize(() => ({}), ...probeMemoizeOptions);
215
+ const areInputSelectorResultsEqual = createAnEmptyObject.apply(null, inputSelectorResults) === createAnEmptyObject.apply(null, inputSelectorResultsCopy);
216
+ if (!areInputSelectorResultsEqual) {
217
+ let stack = void 0;
218
+ try {
219
+ throw new Error();
220
+ } catch (e) {
221
+ ;
222
+ ({ stack } = e);
223
+ }
224
+ console.warn(
225
+ "An input selector returned a different result when passed same arguments.\nThis means your output selector will likely run more frequently than intended.\nAvoid returning a new reference inside your input selector, e.g.\n`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)`",
226
+ {
227
+ arguments: inputSelectorArgs,
228
+ firstInputs: inputSelectorResults,
229
+ secondInputs: inputSelectorResultsCopy,
230
+ stack
231
+ }
232
+ );
233
+ }
234
+ };
235
+ function assertIsFunction(func, errorMessage = `expected a function, instead received ${typeof func}`) {
236
+ if (typeof func !== "function") {
237
+ throw new TypeError(errorMessage);
238
+ }
239
+ }
240
+ function assertIsArrayOfFunctions(array, errorMessage = `expected all items to be functions, instead received the following types: `) {
241
+ if (!array.every((item) => typeof item === "function")) {
242
+ const itemTypes = array.map(
243
+ (item) => typeof item === "function" ? `function ${item.name || "unnamed"}()` : typeof item
244
+ ).join(", ");
245
+ throw new TypeError(`${errorMessage}[${itemTypes}]`);
246
+ }
247
+ }
248
+ var ensureIsArray = (item) => {
249
+ return Array.isArray(item) ? item : [item];
250
+ };
251
+ function getDependencies(createSelectorArgs) {
252
+ const dependencies = Array.isArray(createSelectorArgs[0]) ? createSelectorArgs[0] : createSelectorArgs;
253
+ assertIsArrayOfFunctions(
254
+ dependencies,
255
+ `createSelector expects all input-selectors to be functions, but received the following types: `
256
+ );
257
+ return dependencies;
258
+ }
259
+ function collectInputSelectorResults(dependencies, inputSelectorArgs) {
260
+ const inputSelectorResults = [];
261
+ const { length } = dependencies;
262
+ for (let i = 0; i < length; i++) {
263
+ inputSelectorResults.push(dependencies[i].apply(null, inputSelectorArgs));
264
+ }
265
+ return inputSelectorResults;
266
+ }
267
+ function createSelectorCreator(memoizeOrOptions, ...memoizeOptionsFromArgs) {
268
+ const createSelectorCreatorOptions = typeof memoizeOrOptions === "function" ? {
269
+ memoize: memoizeOrOptions,
270
+ memoizeOptions: memoizeOptionsFromArgs
271
+ } : memoizeOrOptions;
272
+ const createSelector2 = (...createSelectorArgs) => {
273
+ let recomputations = 0;
274
+ let dependencyRecomputations = 0;
275
+ let lastResult;
276
+ let directlyPassedOptions = {};
277
+ let resultFunc = createSelectorArgs.pop();
278
+ if (typeof resultFunc === "object") {
279
+ directlyPassedOptions = resultFunc;
280
+ resultFunc = createSelectorArgs.pop();
281
+ }
282
+ assertIsFunction(
283
+ resultFunc,
284
+ `createSelector expects an output function after the inputs, but received: [${typeof resultFunc}]`
285
+ );
286
+ const combinedOptions = {
287
+ ...createSelectorCreatorOptions,
288
+ ...directlyPassedOptions
289
+ };
290
+ const {
291
+ memoize,
292
+ memoizeOptions = [],
293
+ argsMemoize = weakMapMemoize,
294
+ argsMemoizeOptions = []
295
+ } = combinedOptions;
296
+ const finalMemoizeOptions = ensureIsArray(memoizeOptions);
297
+ const finalArgsMemoizeOptions = ensureIsArray(argsMemoizeOptions);
298
+ const dependencies = getDependencies(createSelectorArgs);
299
+ const memoizedResultFunc = memoize(function recomputationWrapper() {
300
+ recomputations++;
301
+ return resultFunc.apply(
302
+ null,
303
+ arguments
304
+ );
305
+ }, ...finalMemoizeOptions);
306
+ let firstRun = true;
307
+ const selector = argsMemoize(function dependenciesChecker() {
308
+ dependencyRecomputations++;
309
+ const { length } = dependencies;
310
+ const inputSelectorResults = new Array(length);
311
+ for (let i = 0; i < length; i++) {
312
+ inputSelectorResults[i] = dependencies[i].apply(null, arguments);
313
+ }
314
+ lastResult = memoizedResultFunc.apply(null, inputSelectorResults);
315
+ if (process.env.NODE_ENV !== "production") {
316
+ const { devModeChecks } = combinedOptions;
317
+ const identityFunctionCheck = devModeChecks !== void 0 && Object.prototype.hasOwnProperty.call(
318
+ devModeChecks,
319
+ "identityFunctionCheck"
320
+ ) ? devModeChecks.identityFunctionCheck : globalDevModeChecks.identityFunctionCheck;
321
+ const inputStabilityCheck = devModeChecks !== void 0 && Object.prototype.hasOwnProperty.call(
322
+ devModeChecks,
323
+ "inputStabilityCheck"
324
+ ) ? devModeChecks.inputStabilityCheck : globalDevModeChecks.inputStabilityCheck;
325
+ if (identityFunctionCheck === "always" || identityFunctionCheck === "once" && firstRun) {
326
+ runIdentityFunctionCheck(
327
+ resultFunc,
328
+ inputSelectorResults,
329
+ lastResult
330
+ );
331
+ }
332
+ if (inputStabilityCheck === "always" || inputStabilityCheck === "once" && firstRun) {
333
+ const inputSelectorResultsCopy = collectInputSelectorResults(
334
+ dependencies,
335
+ arguments
336
+ );
337
+ runInputStabilityCheck(
338
+ { inputSelectorResults, inputSelectorResultsCopy },
339
+ { memoize, memoizeOptions: finalMemoizeOptions },
340
+ arguments
341
+ );
342
+ }
343
+ if (firstRun) firstRun = false;
344
+ }
345
+ return lastResult;
346
+ }, ...finalArgsMemoizeOptions);
347
+ return Object.assign(selector, {
348
+ resultFunc,
349
+ memoizedResultFunc,
350
+ dependencies,
351
+ dependencyRecomputations: () => dependencyRecomputations,
352
+ resetDependencyRecomputations: () => {
353
+ dependencyRecomputations = 0;
354
+ },
355
+ lastResult: () => lastResult,
356
+ recomputations: () => recomputations,
357
+ resetRecomputations: () => {
358
+ recomputations = 0;
359
+ },
360
+ memoize,
361
+ argsMemoize
362
+ });
363
+ };
364
+ Object.assign(createSelector2, {
365
+ withTypes: () => createSelector2
366
+ });
367
+ return createSelector2;
368
+ }
369
+ var createSelector = /* @__PURE__ */ createSelectorCreator(weakMapMemoize);
370
+
371
+ // node_modules/redux/dist/redux.mjs
372
+ var randomString = () => Math.random().toString(36).substring(7).split("").join(".");
373
+ var ActionTypes = {
374
+ INIT: `@@redux/INIT${/* @__PURE__ */ randomString()}`,
375
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ randomString()}`,
376
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${randomString()}`
377
+ };
378
+ function isPlainObject(obj) {
379
+ if (typeof obj !== "object" || obj === null)
380
+ return false;
381
+ let proto = obj;
382
+ while (Object.getPrototypeOf(proto) !== null) {
383
+ proto = Object.getPrototypeOf(proto);
384
+ }
385
+ return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null;
386
+ }
387
+ function compose(...funcs) {
388
+ if (funcs.length === 0) {
389
+ return (arg) => arg;
390
+ }
391
+ if (funcs.length === 1) {
392
+ return funcs[0];
393
+ }
394
+ return funcs.reduce((a, b) => (...args) => a(b(...args)));
395
+ }
396
+ function isAction(action) {
397
+ return isPlainObject(action) && "type" in action && typeof action.type === "string";
398
+ }
399
+
400
+ // node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs
401
+ var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
402
+ if (arguments.length === 0) return void 0;
403
+ if (typeof arguments[0] === "object") return compose;
404
+ return compose.apply(null, arguments);
405
+ };
406
+ typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
407
+ var hasMatchFunction = (v) => {
408
+ return v && typeof v.match === "function";
409
+ };
410
+ function createAction(type, prepareAction) {
411
+ function actionCreator(...args) {
412
+ if (prepareAction) {
413
+ let prepared = prepareAction(...args);
414
+ if (!prepared) throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(0) : "prepareAction did not return an object");
415
+ return {
416
+ type,
417
+ payload: prepared.payload,
418
+ ..."meta" in prepared && { meta: prepared.meta },
419
+ ..."error" in prepared && { error: prepared.error }
420
+ };
421
+ }
422
+ return {
423
+ type,
424
+ payload: args[0]
425
+ };
426
+ }
427
+ actionCreator.toString = () => `${type}`;
428
+ actionCreator.type = type;
429
+ actionCreator.match = (action) => action != null && action.type === type && isAction(action);
430
+ return actionCreator;
431
+ }
432
+ var matches = (matcher, action) => {
433
+ if (hasMatchFunction(matcher)) return matcher.match(action);
434
+ else return matcher(action);
435
+ };
436
+ function isAnyOf(...matchers) {
437
+ return (action) => {
438
+ return matchers.some((matcher) => matches(matcher, action));
439
+ };
440
+ }
441
+ var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";
442
+ var nanoid = (size = 21) => {
443
+ let id = "";
444
+ let i = size;
445
+ while (i--) id += urlAlphabet[Math.random() * 64 | 0];
446
+ return id;
447
+ };
448
+ var commonProperties = [
449
+ "name",
450
+ "message",
451
+ "stack",
452
+ "code"
453
+ ];
454
+ var RejectWithValue = class {
455
+ payload;
456
+ meta;
457
+ _type;
458
+ constructor(payload, meta) {
459
+ this.payload = payload;
460
+ this.meta = meta;
461
+ }
462
+ };
463
+ var FulfillWithMeta = class {
464
+ payload;
465
+ meta;
466
+ _type;
467
+ constructor(payload, meta) {
468
+ this.payload = payload;
469
+ this.meta = meta;
470
+ }
471
+ };
472
+ var miniSerializeError = (value) => {
473
+ if (typeof value === "object" && value !== null) {
474
+ const simpleError = {};
475
+ for (const property of commonProperties) if (typeof value[property] === "string") simpleError[property] = value[property];
476
+ return simpleError;
477
+ }
478
+ return { message: String(value) };
479
+ };
480
+ var externalAbortMessage = "External signal was aborted";
481
+ var createAsyncThunk = /* @__PURE__ */ (() => {
482
+ function createAsyncThunk2(typePrefix, payloadCreator, options) {
483
+ const fulfilled = createAction(typePrefix + "/fulfilled", (payload, requestId, arg, meta) => ({
484
+ payload,
485
+ meta: {
486
+ ...meta || {},
487
+ arg,
488
+ requestId,
489
+ requestStatus: "fulfilled"
490
+ }
491
+ }));
492
+ const pending = createAction(typePrefix + "/pending", (requestId, arg, meta) => ({
493
+ payload: void 0,
494
+ meta: {
495
+ ...meta || {},
496
+ arg,
497
+ requestId,
498
+ requestStatus: "pending"
499
+ }
500
+ }));
501
+ const rejected = createAction(typePrefix + "/rejected", (error, requestId, arg, payload, meta) => ({
502
+ payload,
503
+ error: (options && options.serializeError || miniSerializeError)(error || "Rejected"),
504
+ meta: {
505
+ ...meta || {},
506
+ arg,
507
+ requestId,
508
+ rejectedWithValue: payload !== void 0,
509
+ requestStatus: "rejected",
510
+ aborted: error?.name === "AbortError",
511
+ condition: error?.name === "ConditionError"
512
+ }
513
+ }));
514
+ function actionCreator(arg, { signal } = {}) {
515
+ return (dispatch, getState, extra) => {
516
+ const requestId = options?.idGenerator ? options.idGenerator(arg) : nanoid();
517
+ const abortController = new AbortController();
518
+ let abortHandler;
519
+ let abortReason;
520
+ function abort(reason) {
521
+ abortReason = reason;
522
+ abortController.abort();
523
+ }
524
+ if (signal) {
525
+ if (signal.aborted) abort(externalAbortMessage);
526
+ else signal.addEventListener("abort", () => abort(externalAbortMessage), { once: true });
527
+ }
528
+ const promise = async function() {
529
+ let finalAction;
530
+ try {
531
+ let conditionResult = options?.condition?.(arg, {
532
+ getState,
533
+ extra
534
+ });
535
+ if (isThenable(conditionResult)) conditionResult = await conditionResult;
536
+ if (conditionResult === false) throw {
537
+ name: "ConditionError",
538
+ message: "Aborted due to condition callback returning false."
539
+ };
540
+ if (abortController.signal.aborted) throw {
541
+ name: "AbortError",
542
+ message: abortReason || "Aborted"
543
+ };
544
+ const abortedPromise = new Promise((_, reject) => {
545
+ abortHandler = () => {
546
+ reject({
547
+ name: "AbortError",
548
+ message: abortReason || "Aborted"
549
+ });
550
+ };
551
+ abortController.signal.addEventListener("abort", abortHandler, { once: true });
552
+ });
553
+ dispatch(pending(requestId, arg, options?.getPendingMeta?.({
554
+ requestId,
555
+ arg
556
+ }, {
557
+ getState,
558
+ extra
559
+ })));
560
+ finalAction = await Promise.race([abortedPromise, Promise.resolve(payloadCreator(arg, {
561
+ dispatch,
562
+ getState,
563
+ extra,
564
+ requestId,
565
+ signal: abortController.signal,
566
+ abort,
567
+ rejectWithValue: (value, meta) => {
568
+ return new RejectWithValue(value, meta);
569
+ },
570
+ fulfillWithValue: (value, meta) => {
571
+ return new FulfillWithMeta(value, meta);
572
+ }
573
+ })).then((result) => {
574
+ if (result instanceof RejectWithValue) throw result;
575
+ if (result instanceof FulfillWithMeta) return fulfilled(result.payload, requestId, arg, result.meta);
576
+ return fulfilled(result, requestId, arg);
577
+ })]);
578
+ } catch (err) {
579
+ finalAction = err instanceof RejectWithValue ? rejected(null, requestId, arg, err.payload, err.meta) : rejected(err, requestId, arg);
580
+ } finally {
581
+ if (abortHandler) abortController.signal.removeEventListener("abort", abortHandler);
582
+ }
583
+ if (!(options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition)) dispatch(finalAction);
584
+ return finalAction;
585
+ }();
586
+ return Object.assign(promise, {
587
+ abort,
588
+ requestId,
589
+ arg,
590
+ unwrap() {
591
+ return promise.then(unwrapResult);
592
+ }
593
+ });
594
+ };
595
+ }
596
+ return Object.assign(actionCreator, {
597
+ pending,
598
+ rejected,
599
+ fulfilled,
600
+ settled: isAnyOf(rejected, fulfilled),
601
+ typePrefix
602
+ });
603
+ }
604
+ createAsyncThunk2.withTypes = () => createAsyncThunk2;
605
+ return createAsyncThunk2;
606
+ })();
607
+ function unwrapResult(action) {
608
+ if (action.meta && action.meta.rejectedWithValue) throw action.payload;
609
+ if (action.error) throw action.error;
610
+ return action.payload;
611
+ }
612
+ function isThenable(value) {
613
+ return value !== null && typeof value === "object" && typeof value.then === "function";
614
+ }
615
+ var listener = "listener";
616
+ var completed = "completed";
617
+ var cancelled = "cancelled";
618
+ var taskCancelled = `task-${cancelled}`;
619
+ var taskCompleted = `task-${completed}`;
620
+ var listenerCancelled = `${listener}-${cancelled}`;
621
+ var listenerCompleted = `${listener}-${completed}`;
622
+ var { assign } = Object;
623
+ var alm = "listenerMiddleware";
624
+ var addListener = /* @__PURE__ */ assign(/* @__PURE__ */ createAction(`${alm}/add`), { withTypes: () => addListener });
625
+ var clearAllListeners = /* @__PURE__ */ createAction(`${alm}/removeAll`);
626
+ var removeListener = /* @__PURE__ */ assign(/* @__PURE__ */ createAction(`${alm}/remove`), { withTypes: () => removeListener });
627
+ var ORIGINAL_STATE = Symbol.for("rtk-state-proxy-original");
628
+ function formatProdErrorMessage(code) {
629
+ return `Minified Redux Toolkit error #${code}; visit https://redux-toolkit.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `;
630
+ }
631
+
632
+ export {
633
+ createSelector,
634
+ createAsyncThunk
635
+ };
@@ -1,65 +1,12 @@
1
- import {
2
- fetchReferenceContents,
3
- resolveReferenceAssets
4
- } from "./chunk-KT7S7ANZ.js";
5
- import {
6
- updateTokensAction
7
- } from "./chunk-2CT2J3O6.js";
8
- import {
9
- applyUpdateTokensFulfilled
10
- } from "./chunk-U35UUM5K.js";
11
1
  import {
12
2
  extractReasoningFromResponseOutput,
13
3
  extractTextFromResponseOutput,
14
4
  extractToolCallsFromResponseOutput
15
- } from "./chunk-FXEPZKNJ.js";
5
+ } from "./chunk-2MIZHEND.js";
16
6
  import {
17
7
  isRecord
18
8
  } from "./chunk-KUG52IAP.js";
19
9
 
20
- // packages/ai/agent/fetchAgentContexts.ts
21
- async function fetchAgentContexts(references, dispatch) {
22
- if (!Array.isArray(references)) {
23
- return { botInstructionsContext: "", botKnowledgeContext: "" };
24
- }
25
- const { references: normalizedRefs, contentByKey } = await resolveReferenceAssets(references, dispatch);
26
- const instructionKeys = /* @__PURE__ */ new Set();
27
- const knowledgeKeys = /* @__PURE__ */ new Set();
28
- normalizedRefs.forEach((ref) => {
29
- if (!ref.dbKey) return;
30
- ref.type === "instruction" ? instructionKeys.add(ref.dbKey) : knowledgeKeys.add(ref.dbKey);
31
- });
32
- const [instructionsMap, knowledgeMap] = await Promise.all([
33
- fetchReferenceContents(Array.from(instructionKeys), dispatch, {
34
- preloaded: contentByKey
35
- }),
36
- fetchReferenceContents(Array.from(knowledgeKeys), dispatch, {
37
- preloaded: contentByKey
38
- })
39
- ]);
40
- return {
41
- botInstructionsContext: Array.from(instructionsMap.values()).join(""),
42
- botKnowledgeContext: Array.from(knowledgeMap.values()).join("")
43
- };
44
- }
45
-
46
- // packages/ai/agent/updateAgentTokens.ts
47
- async function updateAgentTokens(args, thunkApi) {
48
- const observedAt = Date.now();
49
- const payload = await updateTokensAction(args, thunkApi);
50
- if (args?.dialogKey && payload) {
51
- applyUpdateTokensFulfilled({
52
- observedAt,
53
- authoritative: args?.contextUsageAuthoritative !== false && (args?.usageRecord?.usage ?? args?.usage)?.billing_estimated !== true,
54
- dialogKey: args.dialogKey,
55
- input_tokens: payload.input_tokens,
56
- output_tokens: payload.output_tokens,
57
- cost: payload.cost
58
- });
59
- }
60
- return payload;
61
- }
62
-
63
10
  // packages/integrations/openai/responsesJsonToChatCompletions.ts
64
11
  var isChatCompletionsShapedJson = (value) => isRecord(value) && Array.isArray(value.choices);
65
12
  var isExplicitNonCompletedStatus = (status) => typeof status === "string" && status.trim().toLowerCase() !== "completed";
@@ -113,7 +60,6 @@ var responsesJsonToChatCompletions = (parsed) => {
113
60
  };
114
61
 
115
62
  export {
116
- fetchAgentContexts,
117
- updateAgentTokens,
63
+ projectChatUsage,
118
64
  responsesJsonToChatCompletions
119
65
  };