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,902 @@
1
+ // node_modules/valibot/dist/index.mjs
2
+ var store$4;
3
+ var DEFAULT_CONFIG = {
4
+ lang: void 0,
5
+ message: void 0,
6
+ abortEarly: void 0,
7
+ abortPipeEarly: void 0
8
+ };
9
+ // @__NO_SIDE_EFFECTS__
10
+ function getGlobalConfig(config$1) {
11
+ if (!config$1 && !store$4) return DEFAULT_CONFIG;
12
+ return {
13
+ lang: config$1?.lang ?? store$4?.lang,
14
+ message: config$1?.message,
15
+ abortEarly: config$1?.abortEarly ?? store$4?.abortEarly,
16
+ abortPipeEarly: config$1?.abortPipeEarly ?? store$4?.abortPipeEarly
17
+ };
18
+ }
19
+ var store$3;
20
+ // @__NO_SIDE_EFFECTS__
21
+ function getGlobalMessage(lang) {
22
+ return store$3?.get(lang);
23
+ }
24
+ var store$2;
25
+ // @__NO_SIDE_EFFECTS__
26
+ function getSchemaMessage(lang) {
27
+ return store$2?.get(lang);
28
+ }
29
+ var store$1;
30
+ // @__NO_SIDE_EFFECTS__
31
+ function getSpecificMessage(reference, lang) {
32
+ return store$1?.get(reference)?.get(lang);
33
+ }
34
+ // @__NO_SIDE_EFFECTS__
35
+ function _stringify(input) {
36
+ const type = typeof input;
37
+ if (type === "string") return `"${input}"`;
38
+ if (type === "number" || type === "bigint" || type === "boolean") return `${input}`;
39
+ if (type === "object" || type === "function") return (input && Object.getPrototypeOf(input)?.constructor?.name) ?? "null";
40
+ return type;
41
+ }
42
+ function _addIssue(context, label, dataset, config$1, other) {
43
+ const input = other && "input" in other ? other.input : dataset.value;
44
+ const expected = other?.expected ?? context.expects ?? null;
45
+ const received = other?.received ?? /* @__PURE__ */ _stringify(input);
46
+ const issue = {
47
+ kind: context.kind,
48
+ type: context.type,
49
+ input,
50
+ expected,
51
+ received,
52
+ message: `Invalid ${label}: ${expected ? `Expected ${expected} but r` : "R"}eceived ${received}`,
53
+ requirement: context.requirement,
54
+ path: other?.path,
55
+ issues: other?.issues,
56
+ lang: config$1.lang,
57
+ abortEarly: config$1.abortEarly,
58
+ abortPipeEarly: config$1.abortPipeEarly
59
+ };
60
+ const isSchema = context.kind === "schema";
61
+ const message$1 = other?.message ?? context.message ?? /* @__PURE__ */ getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? /* @__PURE__ */ getSchemaMessage(issue.lang) : null) ?? config$1.message ?? /* @__PURE__ */ getGlobalMessage(issue.lang);
62
+ if (message$1 !== void 0) issue.message = typeof message$1 === "function" ? message$1(issue) : message$1;
63
+ if (isSchema) dataset.typed = false;
64
+ if (dataset.issues) dataset.issues.push(issue);
65
+ else dataset.issues = [issue];
66
+ }
67
+ // @__NO_SIDE_EFFECTS__
68
+ function _isSameValueZero(value1, value2) {
69
+ return value1 === value2 || Number.isNaN(value1) && Number.isNaN(value2);
70
+ }
71
+ // @__NO_SIDE_EFFECTS__
72
+ function _isValidObjectKey(object$1, key) {
73
+ return Object.prototype.hasOwnProperty.call(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
74
+ }
75
+ // @__NO_SIDE_EFFECTS__
76
+ function _joinExpects(values$1, separator) {
77
+ const list = [...new Set(values$1)];
78
+ if (list.length > 1) return `(${list.join(` ${separator} `)})`;
79
+ return list[0] ?? "never";
80
+ }
81
+ function _standardSchema(schema) {
82
+ schema["~standard"] = {
83
+ version: 1,
84
+ vendor: "valibot",
85
+ validate: (value$1) => schema["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig())
86
+ };
87
+ return schema;
88
+ }
89
+ var EMOJI_REGEX = new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation}))*)+$", "u");
90
+ // @__NO_SIDE_EFFECTS__
91
+ function check(requirement, message$1) {
92
+ return {
93
+ kind: "validation",
94
+ type: "check",
95
+ reference: check,
96
+ async: false,
97
+ expects: null,
98
+ requirement,
99
+ message: message$1,
100
+ "~run"(dataset, config$1) {
101
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "input", dataset, config$1);
102
+ return dataset;
103
+ }
104
+ };
105
+ }
106
+ // @__NO_SIDE_EFFECTS__
107
+ function description(description_) {
108
+ return {
109
+ kind: "metadata",
110
+ type: "description",
111
+ reference: description,
112
+ description: description_
113
+ };
114
+ }
115
+ // @__NO_SIDE_EFFECTS__
116
+ function finite(message$1) {
117
+ return {
118
+ kind: "validation",
119
+ type: "finite",
120
+ reference: finite,
121
+ async: false,
122
+ expects: null,
123
+ requirement: Number.isFinite,
124
+ message: message$1,
125
+ "~run"(dataset, config$1) {
126
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "finite", dataset, config$1);
127
+ return dataset;
128
+ }
129
+ };
130
+ }
131
+ // @__NO_SIDE_EFFECTS__
132
+ function integer(message$1) {
133
+ return {
134
+ kind: "validation",
135
+ type: "integer",
136
+ reference: integer,
137
+ async: false,
138
+ expects: null,
139
+ requirement: Number.isInteger,
140
+ message: message$1,
141
+ "~run"(dataset, config$1) {
142
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "integer", dataset, config$1);
143
+ return dataset;
144
+ }
145
+ };
146
+ }
147
+ // @__NO_SIDE_EFFECTS__
148
+ function maxLength(requirement, message$1) {
149
+ return {
150
+ kind: "validation",
151
+ type: "max_length",
152
+ reference: maxLength,
153
+ async: false,
154
+ expects: `<=${requirement}`,
155
+ requirement,
156
+ message: message$1,
157
+ "~run"(dataset, config$1) {
158
+ if (dataset.typed && dataset.value.length > this.requirement) _addIssue(this, "length", dataset, config$1, { received: `${dataset.value.length}` });
159
+ return dataset;
160
+ }
161
+ };
162
+ }
163
+ // @__NO_SIDE_EFFECTS__
164
+ function maxValue(requirement, message$1) {
165
+ return {
166
+ kind: "validation",
167
+ type: "max_value",
168
+ reference: maxValue,
169
+ async: false,
170
+ expects: `<=${requirement instanceof Date ? requirement.toJSON() : /* @__PURE__ */ _stringify(requirement)}`,
171
+ requirement,
172
+ message: message$1,
173
+ "~run"(dataset, config$1) {
174
+ if (dataset.typed && !(dataset.value <= this.requirement)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
175
+ return dataset;
176
+ }
177
+ };
178
+ }
179
+ // @__NO_SIDE_EFFECTS__
180
+ function minLength(requirement, message$1) {
181
+ return {
182
+ kind: "validation",
183
+ type: "min_length",
184
+ reference: minLength,
185
+ async: false,
186
+ expects: `>=${requirement}`,
187
+ requirement,
188
+ message: message$1,
189
+ "~run"(dataset, config$1) {
190
+ if (dataset.typed && dataset.value.length < this.requirement) _addIssue(this, "length", dataset, config$1, { received: `${dataset.value.length}` });
191
+ return dataset;
192
+ }
193
+ };
194
+ }
195
+ // @__NO_SIDE_EFFECTS__
196
+ function minValue(requirement, message$1) {
197
+ return {
198
+ kind: "validation",
199
+ type: "min_value",
200
+ reference: minValue,
201
+ async: false,
202
+ expects: `>=${requirement instanceof Date ? requirement.toJSON() : /* @__PURE__ */ _stringify(requirement)}`,
203
+ requirement,
204
+ message: message$1,
205
+ "~run"(dataset, config$1) {
206
+ if (dataset.typed && !(dataset.value >= this.requirement)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
207
+ return dataset;
208
+ }
209
+ };
210
+ }
211
+ // @__NO_SIDE_EFFECTS__
212
+ function regex(requirement, message$1) {
213
+ return {
214
+ kind: "validation",
215
+ type: "regex",
216
+ reference: regex,
217
+ async: false,
218
+ expects: `${requirement}`,
219
+ requirement,
220
+ message: message$1,
221
+ "~run"(dataset, config$1) {
222
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue(this, "format", dataset, config$1);
223
+ return dataset;
224
+ }
225
+ };
226
+ }
227
+ // @__NO_SIDE_EFFECTS__
228
+ function safeInteger(message$1) {
229
+ return {
230
+ kind: "validation",
231
+ type: "safe_integer",
232
+ reference: safeInteger,
233
+ async: false,
234
+ expects: null,
235
+ requirement: Number.isSafeInteger,
236
+ message: message$1,
237
+ "~run"(dataset, config$1) {
238
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "safe integer", dataset, config$1);
239
+ return dataset;
240
+ }
241
+ };
242
+ }
243
+ // @__NO_SIDE_EFFECTS__
244
+ function transform(operation) {
245
+ return {
246
+ kind: "transformation",
247
+ type: "transform",
248
+ reference: transform,
249
+ async: false,
250
+ operation,
251
+ "~run"(dataset) {
252
+ dataset.value = this.operation(dataset.value);
253
+ return dataset;
254
+ }
255
+ };
256
+ }
257
+ // @__NO_SIDE_EFFECTS__
258
+ function trim() {
259
+ return {
260
+ kind: "transformation",
261
+ type: "trim",
262
+ reference: trim,
263
+ async: false,
264
+ "~run"(dataset) {
265
+ dataset.value = dataset.value.trim();
266
+ return dataset;
267
+ }
268
+ };
269
+ }
270
+ var ABORT_EARLY_CONFIG = { abortEarly: true };
271
+ // @__NO_SIDE_EFFECTS__
272
+ function getFallback(schema, dataset, config$1) {
273
+ return typeof schema.fallback === "function" ? schema.fallback(dataset, config$1) : schema.fallback;
274
+ }
275
+ // @__NO_SIDE_EFFECTS__
276
+ function getDefault(schema, dataset, config$1) {
277
+ return typeof schema.default === "function" ? schema.default(dataset, config$1) : schema.default;
278
+ }
279
+ // @__NO_SIDE_EFFECTS__
280
+ function array(item, message$1) {
281
+ return _standardSchema({
282
+ kind: "schema",
283
+ type: "array",
284
+ reference: array,
285
+ expects: "Array",
286
+ async: false,
287
+ item,
288
+ message: message$1,
289
+ "~run"(dataset, config$1) {
290
+ const input = dataset.value;
291
+ if (Array.isArray(input)) {
292
+ dataset.typed = true;
293
+ dataset.value = [];
294
+ for (let key = 0; key < input.length; key++) {
295
+ const value$1 = input[key];
296
+ const itemDataset = this.item["~run"]({ value: value$1 }, config$1);
297
+ if (itemDataset.issues) {
298
+ const pathItem = {
299
+ type: "array",
300
+ origin: "value",
301
+ input,
302
+ key,
303
+ value: value$1
304
+ };
305
+ for (const issue of itemDataset.issues) {
306
+ if (issue.path) issue.path.unshift(pathItem);
307
+ else issue.path = [pathItem];
308
+ dataset.issues?.push(issue);
309
+ }
310
+ if (!dataset.issues) dataset.issues = itemDataset.issues;
311
+ if (config$1.abortEarly) {
312
+ dataset.typed = false;
313
+ break;
314
+ }
315
+ }
316
+ if (!itemDataset.typed) dataset.typed = false;
317
+ dataset.value.push(itemDataset.value);
318
+ }
319
+ } else _addIssue(this, "type", dataset, config$1);
320
+ return dataset;
321
+ }
322
+ });
323
+ }
324
+ // @__NO_SIDE_EFFECTS__
325
+ function boolean(message$1) {
326
+ return _standardSchema({
327
+ kind: "schema",
328
+ type: "boolean",
329
+ reference: boolean,
330
+ expects: "boolean",
331
+ async: false,
332
+ message: message$1,
333
+ "~run"(dataset, config$1) {
334
+ if (typeof dataset.value === "boolean") dataset.typed = true;
335
+ else _addIssue(this, "type", dataset, config$1);
336
+ return dataset;
337
+ }
338
+ });
339
+ }
340
+ // @__NO_SIDE_EFFECTS__
341
+ function literal(literal_, message$1) {
342
+ return _standardSchema({
343
+ kind: "schema",
344
+ type: "literal",
345
+ reference: literal,
346
+ expects: /* @__PURE__ */ _stringify(literal_),
347
+ async: false,
348
+ literal: literal_,
349
+ message: message$1,
350
+ "~run"(dataset, config$1) {
351
+ if (/* @__PURE__ */ _isSameValueZero(dataset.value, this.literal)) dataset.typed = true;
352
+ else _addIssue(this, "type", dataset, config$1);
353
+ return dataset;
354
+ }
355
+ });
356
+ }
357
+ // @__NO_SIDE_EFFECTS__
358
+ function looseObject(entries$1, message$1) {
359
+ return _standardSchema({
360
+ kind: "schema",
361
+ type: "loose_object",
362
+ reference: looseObject,
363
+ expects: "Object",
364
+ async: false,
365
+ entries: entries$1,
366
+ message: message$1,
367
+ "~run"(dataset, config$1) {
368
+ const input = dataset.value;
369
+ if (input && typeof input === "object") {
370
+ dataset.typed = true;
371
+ dataset.value = {};
372
+ for (const key in this.entries) {
373
+ const valueSchema = this.entries[key];
374
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
375
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
376
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
377
+ if (valueDataset.issues) {
378
+ const pathItem = {
379
+ type: "object",
380
+ origin: "value",
381
+ input,
382
+ key,
383
+ value: value$1
384
+ };
385
+ for (const issue of valueDataset.issues) {
386
+ if (issue.path) issue.path.unshift(pathItem);
387
+ else issue.path = [pathItem];
388
+ dataset.issues?.push(issue);
389
+ }
390
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
391
+ if (config$1.abortEarly) {
392
+ dataset.typed = false;
393
+ break;
394
+ }
395
+ }
396
+ if (!valueDataset.typed) dataset.typed = false;
397
+ dataset.value[key] = valueDataset.value;
398
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
399
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
400
+ _addIssue(this, "key", dataset, config$1, {
401
+ input: void 0,
402
+ expected: `"${key}"`,
403
+ path: [{
404
+ type: "object",
405
+ origin: "key",
406
+ input,
407
+ key,
408
+ value: input[key]
409
+ }]
410
+ });
411
+ if (config$1.abortEarly) break;
412
+ }
413
+ }
414
+ if (!dataset.issues || !config$1.abortEarly) {
415
+ for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)) dataset.value[key] = input[key];
416
+ }
417
+ } else _addIssue(this, "type", dataset, config$1);
418
+ return dataset;
419
+ }
420
+ });
421
+ }
422
+ // @__NO_SIDE_EFFECTS__
423
+ function nullable(wrapped, default_) {
424
+ return _standardSchema({
425
+ kind: "schema",
426
+ type: "nullable",
427
+ reference: nullable,
428
+ expects: `(${wrapped.expects} | null)`,
429
+ async: false,
430
+ wrapped,
431
+ default: default_,
432
+ "~run"(dataset, config$1) {
433
+ if (dataset.value === null) {
434
+ if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
435
+ if (dataset.value === null) {
436
+ dataset.typed = true;
437
+ return dataset;
438
+ }
439
+ }
440
+ return this.wrapped["~run"](dataset, config$1);
441
+ }
442
+ });
443
+ }
444
+ // @__NO_SIDE_EFFECTS__
445
+ function number(message$1) {
446
+ return _standardSchema({
447
+ kind: "schema",
448
+ type: "number",
449
+ reference: number,
450
+ expects: "number",
451
+ async: false,
452
+ message: message$1,
453
+ "~run"(dataset, config$1) {
454
+ if (typeof dataset.value === "number" && !isNaN(dataset.value)) dataset.typed = true;
455
+ else _addIssue(this, "type", dataset, config$1);
456
+ return dataset;
457
+ }
458
+ });
459
+ }
460
+ // @__NO_SIDE_EFFECTS__
461
+ function object(entries$1, message$1) {
462
+ return _standardSchema({
463
+ kind: "schema",
464
+ type: "object",
465
+ reference: object,
466
+ expects: "Object",
467
+ async: false,
468
+ entries: entries$1,
469
+ message: message$1,
470
+ "~run"(dataset, config$1) {
471
+ const input = dataset.value;
472
+ if (input && typeof input === "object") {
473
+ dataset.typed = true;
474
+ dataset.value = {};
475
+ for (const key in this.entries) {
476
+ const valueSchema = this.entries[key];
477
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
478
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
479
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
480
+ if (valueDataset.issues) {
481
+ const pathItem = {
482
+ type: "object",
483
+ origin: "value",
484
+ input,
485
+ key,
486
+ value: value$1
487
+ };
488
+ for (const issue of valueDataset.issues) {
489
+ if (issue.path) issue.path.unshift(pathItem);
490
+ else issue.path = [pathItem];
491
+ dataset.issues?.push(issue);
492
+ }
493
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
494
+ if (config$1.abortEarly) {
495
+ dataset.typed = false;
496
+ break;
497
+ }
498
+ }
499
+ if (!valueDataset.typed) dataset.typed = false;
500
+ dataset.value[key] = valueDataset.value;
501
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
502
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
503
+ _addIssue(this, "key", dataset, config$1, {
504
+ input: void 0,
505
+ expected: `"${key}"`,
506
+ path: [{
507
+ type: "object",
508
+ origin: "key",
509
+ input,
510
+ key,
511
+ value: input[key]
512
+ }]
513
+ });
514
+ if (config$1.abortEarly) break;
515
+ }
516
+ }
517
+ } else _addIssue(this, "type", dataset, config$1);
518
+ return dataset;
519
+ }
520
+ });
521
+ }
522
+ // @__NO_SIDE_EFFECTS__
523
+ function optional(wrapped, default_) {
524
+ return _standardSchema({
525
+ kind: "schema",
526
+ type: "optional",
527
+ reference: optional,
528
+ expects: `(${wrapped.expects} | undefined)`,
529
+ async: false,
530
+ wrapped,
531
+ default: default_,
532
+ "~run"(dataset, config$1) {
533
+ if (dataset.value === void 0) {
534
+ if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
535
+ if (dataset.value === void 0) {
536
+ dataset.typed = true;
537
+ return dataset;
538
+ }
539
+ }
540
+ return this.wrapped["~run"](dataset, config$1);
541
+ }
542
+ });
543
+ }
544
+ // @__NO_SIDE_EFFECTS__
545
+ function picklist(options, message$1) {
546
+ return _standardSchema({
547
+ kind: "schema",
548
+ type: "picklist",
549
+ reference: picklist,
550
+ expects: /* @__PURE__ */ _joinExpects(options.map(_stringify), "|"),
551
+ async: false,
552
+ options,
553
+ message: message$1,
554
+ "~run"(dataset, config$1) {
555
+ if (this.options.includes(dataset.value)) dataset.typed = true;
556
+ else _addIssue(this, "type", dataset, config$1);
557
+ return dataset;
558
+ }
559
+ });
560
+ }
561
+ // @__NO_SIDE_EFFECTS__
562
+ function record(key, value$1, message$1) {
563
+ return _standardSchema({
564
+ kind: "schema",
565
+ type: "record",
566
+ reference: record,
567
+ expects: "Object",
568
+ async: false,
569
+ key,
570
+ value: value$1,
571
+ message: message$1,
572
+ "~run"(dataset, config$1) {
573
+ const input = dataset.value;
574
+ if (input && typeof input === "object") {
575
+ dataset.typed = true;
576
+ dataset.value = {};
577
+ for (const entryKey in input) if (/* @__PURE__ */ _isValidObjectKey(input, entryKey)) {
578
+ const entryValue = input[entryKey];
579
+ const keyDataset = this.key["~run"]({ value: entryKey }, config$1);
580
+ if (keyDataset.issues) {
581
+ const pathItem = {
582
+ type: "object",
583
+ origin: "key",
584
+ input,
585
+ key: entryKey,
586
+ value: entryValue
587
+ };
588
+ for (const issue of keyDataset.issues) {
589
+ issue.path = [pathItem];
590
+ dataset.issues?.push(issue);
591
+ }
592
+ if (!dataset.issues) dataset.issues = keyDataset.issues;
593
+ if (config$1.abortEarly) {
594
+ dataset.typed = false;
595
+ break;
596
+ }
597
+ }
598
+ const valueDataset = this.value["~run"]({ value: entryValue }, config$1);
599
+ if (valueDataset.issues) {
600
+ const pathItem = {
601
+ type: "object",
602
+ origin: "value",
603
+ input,
604
+ key: entryKey,
605
+ value: entryValue
606
+ };
607
+ for (const issue of valueDataset.issues) {
608
+ if (issue.path) issue.path.unshift(pathItem);
609
+ else issue.path = [pathItem];
610
+ dataset.issues?.push(issue);
611
+ }
612
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
613
+ if (config$1.abortEarly) {
614
+ dataset.typed = false;
615
+ break;
616
+ }
617
+ }
618
+ if (!keyDataset.typed || !valueDataset.typed) dataset.typed = false;
619
+ if (keyDataset.typed) dataset.value[keyDataset.value] = valueDataset.value;
620
+ }
621
+ } else _addIssue(this, "type", dataset, config$1);
622
+ return dataset;
623
+ }
624
+ });
625
+ }
626
+ // @__NO_SIDE_EFFECTS__
627
+ function strictObject(entries$1, message$1) {
628
+ return _standardSchema({
629
+ kind: "schema",
630
+ type: "strict_object",
631
+ reference: strictObject,
632
+ expects: "Object",
633
+ async: false,
634
+ entries: entries$1,
635
+ message: message$1,
636
+ "~run"(dataset, config$1) {
637
+ const input = dataset.value;
638
+ if (input && typeof input === "object") {
639
+ dataset.typed = true;
640
+ dataset.value = {};
641
+ for (const key in this.entries) {
642
+ const valueSchema = this.entries[key];
643
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
644
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
645
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
646
+ if (valueDataset.issues) {
647
+ const pathItem = {
648
+ type: "object",
649
+ origin: "value",
650
+ input,
651
+ key,
652
+ value: value$1
653
+ };
654
+ for (const issue of valueDataset.issues) {
655
+ if (issue.path) issue.path.unshift(pathItem);
656
+ else issue.path = [pathItem];
657
+ dataset.issues?.push(issue);
658
+ }
659
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
660
+ if (config$1.abortEarly) {
661
+ dataset.typed = false;
662
+ break;
663
+ }
664
+ }
665
+ if (!valueDataset.typed) dataset.typed = false;
666
+ dataset.value[key] = valueDataset.value;
667
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
668
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
669
+ _addIssue(this, "key", dataset, config$1, {
670
+ input: void 0,
671
+ expected: `"${key}"`,
672
+ path: [{
673
+ type: "object",
674
+ origin: "key",
675
+ input,
676
+ key,
677
+ value: input[key]
678
+ }]
679
+ });
680
+ if (config$1.abortEarly) break;
681
+ }
682
+ }
683
+ if (!dataset.issues || !config$1.abortEarly) {
684
+ for (const key in input) if (!Object.prototype.hasOwnProperty.call(this.entries, key)) {
685
+ _addIssue(this, "key", dataset, config$1, {
686
+ input: key,
687
+ expected: "never",
688
+ path: [{
689
+ type: "object",
690
+ origin: "key",
691
+ input,
692
+ key,
693
+ value: input[key]
694
+ }]
695
+ });
696
+ break;
697
+ }
698
+ }
699
+ } else _addIssue(this, "type", dataset, config$1);
700
+ return dataset;
701
+ }
702
+ });
703
+ }
704
+ // @__NO_SIDE_EFFECTS__
705
+ function string(message$1) {
706
+ return _standardSchema({
707
+ kind: "schema",
708
+ type: "string",
709
+ reference: string,
710
+ expects: "string",
711
+ async: false,
712
+ message: message$1,
713
+ "~run"(dataset, config$1) {
714
+ if (typeof dataset.value === "string") dataset.typed = true;
715
+ else _addIssue(this, "type", dataset, config$1);
716
+ return dataset;
717
+ }
718
+ });
719
+ }
720
+ // @__NO_SIDE_EFFECTS__
721
+ function _subIssues(datasets) {
722
+ let issues;
723
+ if (datasets) for (const dataset of datasets) if (issues) for (const issue of dataset.issues) issues.push(issue);
724
+ else issues = dataset.issues;
725
+ return issues;
726
+ }
727
+ // @__NO_SIDE_EFFECTS__
728
+ function union(options, message$1) {
729
+ return _standardSchema({
730
+ kind: "schema",
731
+ type: "union",
732
+ reference: union,
733
+ expects: /* @__PURE__ */ _joinExpects(options.map((option) => option.expects), "|"),
734
+ async: false,
735
+ options,
736
+ message: message$1,
737
+ "~run"(dataset, config$1) {
738
+ let validDataset;
739
+ let typedDatasets;
740
+ let untypedDatasets;
741
+ for (const schema of this.options) {
742
+ const optionDataset = schema["~run"]({ value: dataset.value }, config$1);
743
+ if (optionDataset.typed) if (optionDataset.issues) if (typedDatasets) typedDatasets.push(optionDataset);
744
+ else typedDatasets = [optionDataset];
745
+ else {
746
+ validDataset = optionDataset;
747
+ break;
748
+ }
749
+ else if (untypedDatasets) untypedDatasets.push(optionDataset);
750
+ else untypedDatasets = [optionDataset];
751
+ }
752
+ if (validDataset) return validDataset;
753
+ if (typedDatasets) {
754
+ if (typedDatasets.length === 1) return typedDatasets[0];
755
+ _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(typedDatasets) });
756
+ dataset.typed = true;
757
+ } else if (untypedDatasets?.length === 1) return untypedDatasets[0];
758
+ else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
759
+ return dataset;
760
+ }
761
+ });
762
+ }
763
+ // @__NO_SIDE_EFFECTS__
764
+ function unknown() {
765
+ return _standardSchema({
766
+ kind: "schema",
767
+ type: "unknown",
768
+ reference: unknown,
769
+ expects: "unknown",
770
+ async: false,
771
+ "~run"(dataset) {
772
+ dataset.typed = true;
773
+ return dataset;
774
+ }
775
+ });
776
+ }
777
+ // @__NO_SIDE_EFFECTS__
778
+ function variant(key, options, message$1) {
779
+ return _standardSchema({
780
+ kind: "schema",
781
+ type: "variant",
782
+ reference: variant,
783
+ expects: "Object",
784
+ async: false,
785
+ key,
786
+ options,
787
+ message: message$1,
788
+ "~run"(dataset, config$1) {
789
+ const input = dataset.value;
790
+ if (input && typeof input === "object") {
791
+ let outputDataset;
792
+ let maxDiscriminatorPriority = 0;
793
+ let invalidDiscriminatorKey = this.key;
794
+ let expectedDiscriminators = [];
795
+ const parseOptions = (variant$1, allKeys) => {
796
+ for (const schema of variant$1.options) {
797
+ if (schema.type === "variant") parseOptions(schema, new Set(allKeys).add(schema.key));
798
+ else {
799
+ let keysAreValid = true;
800
+ let currentPriority = 0;
801
+ for (const currentKey of allKeys) {
802
+ const discriminatorSchema = schema.entries[currentKey];
803
+ if (currentKey in input ? discriminatorSchema["~run"]({
804
+ typed: false,
805
+ value: input[currentKey]
806
+ }, ABORT_EARLY_CONFIG).issues : discriminatorSchema.type !== "exact_optional" && discriminatorSchema.type !== "optional" && discriminatorSchema.type !== "nullish") {
807
+ keysAreValid = false;
808
+ if (invalidDiscriminatorKey !== currentKey && (maxDiscriminatorPriority < currentPriority || maxDiscriminatorPriority === currentPriority && currentKey in input && !(invalidDiscriminatorKey in input))) {
809
+ maxDiscriminatorPriority = currentPriority;
810
+ invalidDiscriminatorKey = currentKey;
811
+ expectedDiscriminators = [];
812
+ }
813
+ if (invalidDiscriminatorKey === currentKey) expectedDiscriminators.push(schema.entries[currentKey].expects);
814
+ break;
815
+ }
816
+ currentPriority++;
817
+ }
818
+ if (keysAreValid) {
819
+ const optionDataset = schema["~run"]({ value: input }, config$1);
820
+ if (!outputDataset || !outputDataset.typed && optionDataset.typed) outputDataset = optionDataset;
821
+ }
822
+ }
823
+ if (outputDataset && !outputDataset.issues) break;
824
+ }
825
+ };
826
+ parseOptions(this, /* @__PURE__ */ new Set([this.key]));
827
+ if (outputDataset) return outputDataset;
828
+ _addIssue(this, "type", dataset, config$1, {
829
+ input: input[invalidDiscriminatorKey],
830
+ expected: /* @__PURE__ */ _joinExpects(expectedDiscriminators, "|"),
831
+ path: [{
832
+ type: "object",
833
+ origin: "value",
834
+ input,
835
+ key: invalidDiscriminatorKey,
836
+ value: input[invalidDiscriminatorKey]
837
+ }]
838
+ });
839
+ } else _addIssue(this, "type", dataset, config$1);
840
+ return dataset;
841
+ }
842
+ });
843
+ }
844
+ // @__NO_SIDE_EFFECTS__
845
+ function pipe(...pipe$1) {
846
+ return _standardSchema({
847
+ ...pipe$1[0],
848
+ pipe: pipe$1,
849
+ "~run"(dataset, config$1) {
850
+ for (const item of pipe$1) if (item.kind !== "metadata") {
851
+ if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
852
+ dataset.typed = false;
853
+ break;
854
+ }
855
+ if (!dataset.issues || !config$1.abortEarly && !config$1.abortPipeEarly) dataset = item["~run"](dataset, config$1);
856
+ }
857
+ return dataset;
858
+ }
859
+ });
860
+ }
861
+ // @__NO_SIDE_EFFECTS__
862
+ function safeParse(schema, input, config$1) {
863
+ const dataset = schema["~run"]({ value: input }, /* @__PURE__ */ getGlobalConfig(config$1));
864
+ return {
865
+ typed: dataset.typed,
866
+ success: !dataset.issues,
867
+ output: dataset.value,
868
+ issues: dataset.issues
869
+ };
870
+ }
871
+
872
+ export {
873
+ check,
874
+ description,
875
+ finite,
876
+ integer,
877
+ maxLength,
878
+ maxValue,
879
+ minLength,
880
+ minValue,
881
+ regex,
882
+ safeInteger,
883
+ transform,
884
+ trim,
885
+ array,
886
+ boolean,
887
+ literal,
888
+ looseObject,
889
+ nullable,
890
+ number,
891
+ object,
892
+ optional,
893
+ picklist,
894
+ record,
895
+ strictObject,
896
+ string,
897
+ union,
898
+ unknown,
899
+ variant,
900
+ pipe,
901
+ safeParse
902
+ };