@claudiolabs/claudin 1.1.36 → 1.1.38

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 (805) hide show
  1. package/dist/chunks/App-1.1.38-ywjx5zwg.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.38-g8aaewqn.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.38-3xp2vky0.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.38-ng5ew4f1.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.38-pb4syd5b.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.38-v5m7388w.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.38-7xpy0azc.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.38-8c786cbs.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.38-gsmc5cbg.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.38-34mcvk0g.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.38-4tzaxt0t.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.38-5aqykfy4.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.38-hg33ngjd.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.38-e0dgakf3.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.38-s1stmw8z.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.38-24nb99vc.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.38-ph61hy3h.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.38-waf94h4c.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.38-8zeez0vw.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.38-x67yqx1x.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.38-s7acgm11.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.38-xdxg0v37.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.38-ze3nezmq.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.38-4hejnp0f.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.38-9njmqx1q.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.38-2vgbffh0.mjs +1 -0
  27. package/dist/chunks/agents-1.1.38-p9ee8aj6.mjs +3 -0
  28. package/dist/chunks/agents-1.1.38-td2q9455.mjs +110 -0
  29. package/dist/chunks/api-1.1.38-8mx12h9x.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.38-ge5twq4b.mjs +1 -0
  31. package/dist/chunks/auth-1.1.38-qd9cf36r.mjs +1 -0
  32. package/dist/chunks/auth-1.1.38-z9s1s7ya.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.38-k48yn49s.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.38-akdcfhnr.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.38-x4vhee3g.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.38-bvd35tyn.mjs +1 -0
  37. package/dist/chunks/branch-1.1.38-ne2jsk2x.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.38-vdxahb1p.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.38-yf7zjpvf.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.38-eszbcc63.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.38-ywfxh5hm.mjs +64 -0
  42. package/dist/chunks/bridgePointer-1.1.38-jvevzgc3.mjs +1 -0
  43. package/dist/chunks/btw-1.1.38-hqjfa45a.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.38-rq8ak7jk.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.38-dvwdm93b.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.38-pxpr6at8.mjs +4 -0
  47. package/dist/chunks/caches-1.1.38-mxte3pjs.mjs +1 -0
  48. package/dist/chunks/cd-1.1.38-nj8jwk5n.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.38-94tj322p.mjs +1 -0
  50. package/dist/chunks/claudemd-1.1.38-y4ajc9p8.mjs +1 -0
  51. package/dist/chunks/clear-1.1.38-17hx54za.mjs +1 -0
  52. package/dist/chunks/clearTerminal-1.1.38-e3qy2b07.mjs +1 -0
  53. package/dist/chunks/cli-1.1.38-06jvwc43.mjs +2 -0
  54. package/dist/chunks/cli-1.1.38-0cf6ttc6.mjs +2 -0
  55. package/dist/chunks/cli-1.1.38-0dj1dmtd.mjs +2 -0
  56. package/dist/chunks/cli-1.1.38-0q1t1zs8.mjs +2 -0
  57. package/dist/chunks/cli-1.1.38-0x84gwbc.mjs +2 -0
  58. package/dist/chunks/cli-1.1.38-16r42mm1.mjs +2 -0
  59. package/dist/chunks/cli-1.1.38-1bv62dee.mjs +2 -0
  60. package/dist/chunks/cli-1.1.38-1c3thcc3.mjs +10 -0
  61. package/dist/chunks/cli-1.1.38-1e3jefp8.mjs +2 -0
  62. package/dist/chunks/cli-1.1.38-1jc6vgde.mjs +25 -0
  63. package/dist/chunks/cli-1.1.38-1k5hq477.mjs +2 -0
  64. package/dist/chunks/cli-1.1.38-1kce30qe.mjs +2 -0
  65. package/dist/chunks/cli-1.1.38-1wavwd72.mjs +10 -0
  66. package/dist/chunks/cli-1.1.38-20a2a6n3.mjs +2 -0
  67. package/dist/chunks/cli-1.1.38-21x08w6j.mjs +2 -0
  68. package/dist/chunks/cli-1.1.38-2a4wcbby.mjs +2 -0
  69. package/dist/chunks/cli-1.1.38-2jp2m8e4.mjs +2 -0
  70. package/dist/chunks/cli-1.1.38-2p7f0cx3.mjs +2 -0
  71. package/dist/chunks/cli-1.1.38-2x7b4x0w.mjs +3 -0
  72. package/dist/chunks/cli-1.1.38-2zbkp90c.mjs +2 -0
  73. package/dist/chunks/cli-1.1.38-37he9dkq.mjs +2 -0
  74. package/dist/chunks/cli-1.1.38-38f3b9as.mjs +2 -0
  75. package/dist/chunks/cli-1.1.38-3a7tvcmx.mjs +2 -0
  76. package/dist/chunks/cli-1.1.38-3c43sfc3.mjs +34 -0
  77. package/dist/chunks/cli-1.1.38-3d6qg7yb.mjs +7 -0
  78. package/dist/chunks/cli-1.1.38-3ez6bs0j.mjs +39 -0
  79. package/dist/chunks/cli-1.1.38-3gyfttrt.mjs +2 -0
  80. package/dist/chunks/cli-1.1.38-3j9z8bce.mjs +11 -0
  81. package/dist/chunks/cli-1.1.38-3q70db32.mjs +2 -0
  82. package/dist/chunks/cli-1.1.38-41hbjb5d.mjs +3 -0
  83. package/dist/chunks/cli-1.1.38-44ay6q12.mjs +2 -0
  84. package/dist/chunks/cli-1.1.38-48ykmxgd.mjs +2 -0
  85. package/dist/chunks/cli-1.1.38-4dvqxnwp.mjs +9 -0
  86. package/dist/chunks/cli-1.1.38-4g2k1n93.mjs +133 -0
  87. package/dist/chunks/cli-1.1.38-4vabm3a1.mjs +2 -0
  88. package/dist/chunks/cli-1.1.38-4wdys8df.mjs +2 -0
  89. package/dist/chunks/cli-1.1.38-4x6r8r0g.mjs +21 -0
  90. package/dist/chunks/cli-1.1.38-5edb5t1a.mjs +2 -0
  91. package/dist/chunks/cli-1.1.38-5zr9x873.mjs +18 -0
  92. package/dist/chunks/cli-1.1.38-62gxd3va.mjs +2 -0
  93. package/dist/chunks/cli-1.1.38-6dwdjwfe.mjs +2 -0
  94. package/dist/chunks/cli-1.1.38-6g33twaj.mjs +2 -0
  95. package/dist/chunks/cli-1.1.38-6hng9dxr.mjs +2 -0
  96. package/dist/chunks/cli-1.1.38-7a0vpxbg.mjs +7 -0
  97. package/dist/chunks/cli-1.1.38-7vygkwbt.mjs +2 -0
  98. package/dist/chunks/cli-1.1.38-7wqs4198.mjs +2 -0
  99. package/dist/chunks/cli-1.1.38-7y52ea97.mjs +2 -0
  100. package/dist/chunks/cli-1.1.38-7zvbnxfm.mjs +2 -0
  101. package/dist/chunks/cli-1.1.38-839xw74z.mjs +24 -0
  102. package/dist/chunks/cli-1.1.38-8br976cg.mjs +2 -0
  103. package/dist/chunks/cli-1.1.38-8jshtkmf.mjs +2 -0
  104. package/dist/chunks/cli-1.1.38-8m9096qg.mjs +6 -0
  105. package/dist/chunks/cli-1.1.38-91q945ws.mjs +3 -0
  106. package/dist/chunks/cli-1.1.38-92g30wbv.mjs +2 -0
  107. package/dist/chunks/cli-1.1.38-9p14cyab.mjs +2 -0
  108. package/dist/chunks/cli-1.1.38-9x263zph.mjs +10 -0
  109. package/dist/chunks/cli-1.1.38-a2j7607w.mjs +2 -0
  110. package/dist/chunks/cli-1.1.38-a678cgp1.mjs +251 -0
  111. package/dist/chunks/cli-1.1.38-a9wkqach.mjs +2 -0
  112. package/dist/chunks/cli-1.1.38-abavft6n.mjs +6 -0
  113. package/dist/chunks/cli-1.1.38-ac33weys.mjs +2 -0
  114. package/dist/chunks/cli-1.1.38-an3fdzsz.mjs +2 -0
  115. package/dist/chunks/cli-1.1.38-aspnz4m6.mjs +2 -0
  116. package/dist/chunks/cli-1.1.38-axhwttsc.mjs +9 -0
  117. package/dist/chunks/cli-1.1.38-azkppcr1.mjs +2 -0
  118. package/dist/chunks/cli-1.1.38-azv9c3jv.mjs +2 -0
  119. package/dist/chunks/cli-1.1.38-b56dgy8f.mjs +2 -0
  120. package/dist/chunks/cli-1.1.38-c0w5gdqr.mjs +2 -0
  121. package/dist/chunks/cli-1.1.38-c7x1esyq.mjs +6 -0
  122. package/dist/chunks/cli-1.1.38-cmnad0aj.mjs +8 -0
  123. package/dist/chunks/cli-1.1.38-cp5m26rk.mjs +3 -0
  124. package/dist/chunks/cli-1.1.38-cpq50ma6.mjs +15 -0
  125. package/dist/chunks/cli-1.1.38-cq1f1j06.mjs +2 -0
  126. package/dist/chunks/cli-1.1.38-ctcgmvy1.mjs +2 -0
  127. package/dist/chunks/cli-1.1.38-d3xjq2jk.mjs +4 -0
  128. package/dist/chunks/cli-1.1.38-dfcp3asv.mjs +17 -0
  129. package/dist/chunks/cli-1.1.38-dggxcj2x.mjs +2 -0
  130. package/dist/chunks/cli-1.1.38-dxtw8tjv.mjs +2 -0
  131. package/dist/chunks/cli-1.1.38-dz4qs0ht.mjs +2 -0
  132. package/dist/chunks/cli-1.1.38-e09rc4b8.mjs +20 -0
  133. package/dist/chunks/cli-1.1.38-e0q3xyay.mjs +2 -0
  134. package/dist/chunks/cli-1.1.38-e5by1ynv.mjs +6 -0
  135. package/dist/chunks/cli-1.1.38-e6j30tde.mjs +3 -0
  136. package/dist/chunks/cli-1.1.38-e84gxv9a.mjs +2 -0
  137. package/dist/chunks/cli-1.1.38-eafpexwg.mjs +2 -0
  138. package/dist/chunks/cli-1.1.38-exexvj4k.mjs +5 -0
  139. package/dist/chunks/cli-1.1.38-f6be5pxz.mjs +2 -0
  140. package/dist/chunks/cli-1.1.38-f7fq44hz.mjs +2 -0
  141. package/dist/chunks/cli-1.1.38-fembxywm.mjs +2 -0
  142. package/dist/chunks/cli-1.1.38-ffkc8ker.mjs +42 -0
  143. package/dist/chunks/cli-1.1.38-fgwfzs50.mjs +2 -0
  144. package/dist/chunks/cli-1.1.38-fr1kxnk2.mjs +2 -0
  145. package/dist/chunks/cli-1.1.38-frcvjcgw.mjs +2 -0
  146. package/dist/chunks/cli-1.1.38-fyw4xbm7.mjs +3 -0
  147. package/dist/chunks/cli-1.1.38-g4av033p.mjs +26 -0
  148. package/dist/chunks/cli-1.1.38-g94v4hq7.mjs +2 -0
  149. package/dist/chunks/cli-1.1.38-gdcz0rss.mjs +2 -0
  150. package/dist/chunks/cli-1.1.38-gp49bfxk.mjs +2 -0
  151. package/dist/chunks/cli-1.1.38-gqpmcnnv.mjs +15 -0
  152. package/dist/chunks/cli-1.1.38-gtjexepq.mjs +2 -0
  153. package/dist/chunks/cli-1.1.38-h013mt1h.mjs +2 -0
  154. package/dist/chunks/cli-1.1.38-h0643t2a.mjs +63 -0
  155. package/dist/chunks/cli-1.1.38-h1fqbjjb.mjs +2 -0
  156. package/dist/chunks/cli-1.1.38-h2f789qa.mjs +2 -0
  157. package/dist/chunks/cli-1.1.38-h6qtpp5r.mjs +2 -0
  158. package/dist/chunks/cli-1.1.38-h83nx1a5.mjs +2 -0
  159. package/dist/chunks/cli-1.1.38-haa4vwxj.mjs +2 -0
  160. package/dist/chunks/cli-1.1.38-hkbb3sr7.mjs +2 -0
  161. package/dist/chunks/cli-1.1.38-hvc5ed6c.mjs +2 -0
  162. package/dist/chunks/cli-1.1.38-jakpq48k.mjs +2 -0
  163. package/dist/chunks/cli-1.1.38-jr0vb3er.mjs +4 -0
  164. package/dist/chunks/cli-1.1.38-jrf85w1a.mjs +2 -0
  165. package/dist/chunks/cli-1.1.38-ka1w0zwc.mjs +2 -0
  166. package/dist/chunks/cli-1.1.38-kcykd1e5.mjs +2 -0
  167. package/dist/chunks/cli-1.1.38-kjt1gn6d.mjs +135 -0
  168. package/dist/chunks/cli-1.1.38-kns8wjke.mjs +2 -0
  169. package/dist/chunks/cli-1.1.38-kqkm7ndz.mjs +2 -0
  170. package/dist/chunks/cli-1.1.38-m66mmsr6.mjs +2 -0
  171. package/dist/chunks/cli-1.1.38-m9k89rb6.mjs +2 -0
  172. package/dist/chunks/cli-1.1.38-mbfqg6za.mjs +3 -0
  173. package/dist/chunks/cli-1.1.38-md7mbf9q.mjs +2 -0
  174. package/dist/chunks/cli-1.1.38-mh6a6g83.mjs +4 -0
  175. package/dist/chunks/cli-1.1.38-mnr9k9j8.mjs +2 -0
  176. package/dist/chunks/cli-1.1.38-n5tx4p12.mjs +15 -0
  177. package/dist/chunks/cli-1.1.38-n9xftqbp.mjs +2 -0
  178. package/dist/chunks/cli-1.1.38-ndbzsvf1.mjs +4 -0
  179. package/dist/chunks/cli-1.1.38-nmmd7xh9.mjs +4 -0
  180. package/dist/chunks/cli-1.1.38-npc1f8rb.mjs +3 -0
  181. package/dist/chunks/cli-1.1.38-nr3yx2kb.mjs +4 -0
  182. package/dist/chunks/cli-1.1.38-nzbcas3j.mjs +2 -0
  183. package/dist/chunks/cli-1.1.38-pab9ct4p.mjs +2 -0
  184. package/dist/chunks/cli-1.1.38-pah268nz.mjs +2 -0
  185. package/dist/chunks/cli-1.1.38-pdv3syxb.mjs +2 -0
  186. package/dist/chunks/cli-1.1.38-pe2vd8sk.mjs +2 -0
  187. package/dist/chunks/cli-1.1.38-pksnvm8s.mjs +2 -0
  188. package/dist/chunks/cli-1.1.38-pnngv0r7.mjs +2 -0
  189. package/dist/chunks/cli-1.1.38-q3emeb23.mjs +2 -0
  190. package/dist/chunks/cli-1.1.38-q3yhkwkh.mjs +3 -0
  191. package/dist/chunks/cli-1.1.38-q8ewcabe.mjs +2 -0
  192. package/dist/chunks/cli-1.1.38-qackcmc3.mjs +2 -0
  193. package/dist/chunks/cli-1.1.38-qebn65cx.mjs +50 -0
  194. package/dist/chunks/cli-1.1.38-qfpkjbx1.mjs +2 -0
  195. package/dist/chunks/cli-1.1.38-qv0rqvhj.mjs +4 -0
  196. package/dist/chunks/cli-1.1.38-qw1jxc9j.mjs +2 -0
  197. package/dist/chunks/cli-1.1.38-qwkjfytz.mjs +2 -0
  198. package/dist/chunks/cli-1.1.38-qyg5n01q.mjs +2 -0
  199. package/dist/chunks/cli-1.1.38-r3r6jmgz.mjs +2 -0
  200. package/dist/chunks/cli-1.1.38-rp0tsnde.mjs +2 -0
  201. package/dist/chunks/cli-1.1.38-rvjmh1y0.mjs +4 -0
  202. package/dist/chunks/cli-1.1.38-s1nggz9g.mjs +16 -0
  203. package/dist/chunks/cli-1.1.38-s8evhc7a.mjs +2 -0
  204. package/dist/chunks/cli-1.1.38-sjrfgskz.mjs +2 -0
  205. package/dist/chunks/cli-1.1.38-sywjrgh0.mjs +2 -0
  206. package/dist/chunks/cli-1.1.38-t8k5snq9.mjs +24 -0
  207. package/dist/chunks/cli-1.1.38-tk968ykv.mjs +5497 -0
  208. package/dist/chunks/cli-1.1.38-tvh77h3r.mjs +2 -0
  209. package/dist/chunks/cli-1.1.38-v40xwwad.mjs +2 -0
  210. package/dist/chunks/cli-1.1.38-vbxptsq5.mjs +2 -0
  211. package/dist/chunks/cli-1.1.38-wbww08bk.mjs +2 -0
  212. package/dist/chunks/cli-1.1.38-ww8j7xpn.mjs +2 -0
  213. package/dist/chunks/cli-1.1.38-wwezb1bz.mjs +2 -0
  214. package/dist/chunks/cli-1.1.38-x0j2v4e5.mjs +2 -0
  215. package/dist/chunks/cli-1.1.38-xag86y98.mjs +24 -0
  216. package/dist/chunks/cli-1.1.38-xf78kmy6.mjs +2 -0
  217. package/dist/chunks/cli-1.1.38-xpar3nmx.mjs +2 -0
  218. package/dist/chunks/cli-1.1.38-xpjv8r2g.mjs +2 -0
  219. package/dist/chunks/cli-1.1.38-xr1c1bn4.mjs +2 -0
  220. package/dist/chunks/cli-1.1.38-xvwb3d6n.mjs +2 -0
  221. package/dist/chunks/cli-1.1.38-y1w55df3.mjs +2 -0
  222. package/dist/chunks/cli-1.1.38-y3k2y9f2.mjs +2 -0
  223. package/dist/chunks/cli-1.1.38-y57qzkxr.mjs +2 -0
  224. package/dist/chunks/cli-1.1.38-y66mw08s.mjs +2 -0
  225. package/dist/chunks/cli-1.1.38-y79rqp8p.mjs +60 -0
  226. package/dist/chunks/cli-1.1.38-y7ahpffc.mjs +2 -0
  227. package/dist/chunks/cli-1.1.38-yctmyw1a.mjs +25 -0
  228. package/dist/chunks/cli-1.1.38-yfhvhcvt.mjs +5 -0
  229. package/dist/chunks/cli-1.1.38-ygyme6j6.mjs +2 -0
  230. package/dist/chunks/cli-1.1.38-yhp9b0b0.mjs +2 -0
  231. package/dist/chunks/cli-1.1.38-yk5s276s.mjs +2 -0
  232. package/dist/chunks/cli-1.1.38-z02gnn41.mjs +2 -0
  233. package/dist/chunks/cli-1.1.38-z2mnaz67.mjs +2 -0
  234. package/dist/chunks/cli-1.1.38-z6abxdx3.mjs +2 -0
  235. package/dist/chunks/cli-1.1.38-z8x4q5cc.mjs +12 -0
  236. package/dist/chunks/cli-1.1.38-z9faf3ft.mjs +6 -0
  237. package/dist/chunks/cli-1.1.38-zj7fa197.mjs +2 -0
  238. package/dist/chunks/cli-1.1.38-zx5nqvq6.mjs +2 -0
  239. package/dist/chunks/client-1.1.38-7hcrtb3q.mjs +1 -0
  240. package/dist/chunks/color-1.1.38-eqrtxm9k.mjs +1 -0
  241. package/dist/chunks/compact-1.1.38-ya34rk57.mjs +2 -0
  242. package/dist/chunks/config-1.1.38-bbe0h0fj.mjs +1 -0
  243. package/dist/chunks/config-1.1.38-bfaptzc8.mjs +1 -0
  244. package/dist/chunks/constants-1.1.38-yytvwzgs.mjs +1 -0
  245. package/dist/chunks/context-1.1.38-2mgwzmk2.mjs +1 -0
  246. package/dist/chunks/context-noninteractive-1.1.38-8bj0e1ac.mjs +1 -0
  247. package/dist/chunks/conversation-1.1.38-9hdq28pm.mjs +1 -0
  248. package/dist/chunks/copilotHeaders-1.1.38-s4pj5tsz.mjs +1 -0
  249. package/dist/chunks/copy-1.1.38-f83q42a2.mjs +9 -0
  250. package/dist/chunks/cost-1.1.38-8wheqk0q.mjs +1 -0
  251. package/dist/chunks/createSession-1.1.38-m815jqhf.mjs +1 -0
  252. package/dist/chunks/debug-1.1.38-0nc58m79.mjs +1 -0
  253. package/dist/chunks/defaultActionDeps-1.1.38-t4spryyh.mjs +1458 -0
  254. package/dist/chunks/desktop-1.1.38-6tbjry9x.mjs +2 -0
  255. package/dist/chunks/detectRepository-1.1.38-fkd9xdma.mjs +1 -0
  256. package/dist/chunks/detection-1.1.38-21frnq82.mjs +1 -0
  257. package/dist/chunks/diff-1.1.38-bqd4vh6q.mjs +1 -0
  258. package/dist/chunks/doctor-1.1.38-yedjk1t9.mjs +1 -0
  259. package/dist/chunks/doctorDiagnostic-1.1.38-2tq437dy.mjs +1 -0
  260. package/dist/chunks/earlyInput-1.1.38-ag144tcy.mjs +1 -0
  261. package/dist/chunks/effort-1.1.38-w8zmwjyn.mjs +13 -0
  262. package/dist/chunks/engine-1.1.38-9p06hk6t.mjs +1 -0
  263. package/dist/chunks/envUtils-1.1.38-0x5t3jcn.mjs +1 -0
  264. package/dist/chunks/errors-1.1.38-x5yfskn2.mjs +1 -0
  265. package/dist/chunks/exampleCommands-1.1.38-j3f50kg4.mjs +1 -0
  266. package/dist/chunks/execFileNoThrow-1.1.38-vtsaz9ex.mjs +1 -0
  267. package/dist/chunks/exit-1.1.38-2az07cgq.mjs +1 -0
  268. package/dist/chunks/explorer-1.1.38-f8v6fw0n.mjs +1 -0
  269. package/dist/chunks/export-1.1.38-ryfsevs9.mjs +2 -0
  270. package/dist/chunks/fast-1.1.38-pqjeb7br.mjs +1 -0
  271. package/dist/chunks/feedback-1.1.38-a735me7a.mjs +16 -0
  272. package/dist/chunks/git-1.1.38-ea24mp87.mjs +1 -0
  273. package/dist/chunks/githubModelsCredentials-1.1.38-mrk9kw4h.mjs +1 -0
  274. package/dist/chunks/goal-1.1.38-t7b2x0m7.mjs +4 -0
  275. package/dist/chunks/headless-1.1.38-xa7n2h6a.mjs +2 -0
  276. package/dist/chunks/heapdump-1.1.38-0kkahje0.mjs +6 -0
  277. package/dist/chunks/help-1.1.38-c6fc5w2g.mjs +1 -0
  278. package/dist/chunks/hooks-1.1.38-020dm4m5.mjs +79 -0
  279. package/dist/chunks/hooks-1.1.38-d6nx1th8.mjs +1 -0
  280. package/dist/chunks/ide-1.1.38-w88jdkwh.mjs +3 -0
  281. package/dist/chunks/image-processor-napi-1.1.38-dr7f0p7d.mjs +1 -0
  282. package/dist/chunks/import-1.1.38-tjgkgqtj.mjs +260 -0
  283. package/dist/chunks/inboundAttachments-1.1.38-96y0me8c.mjs +1 -0
  284. package/dist/chunks/index-1.1.38-0p1da46q.mjs +1 -0
  285. package/dist/chunks/index-1.1.38-0vkksyqf.mjs +1 -0
  286. package/dist/chunks/index-1.1.38-32wb94y5.mjs +1 -0
  287. package/dist/chunks/index-1.1.38-b7v4mc41.mjs +1 -0
  288. package/dist/chunks/index-1.1.38-d5147beb.mjs +1 -0
  289. package/dist/chunks/index-1.1.38-e7f6p4gc.mjs +2 -0
  290. package/dist/chunks/index-1.1.38-fmvxdssr.mjs +1 -0
  291. package/dist/chunks/index-1.1.38-fx4e6n5y.mjs +9 -0
  292. package/dist/chunks/index-1.1.38-g6wrndbn.mjs +1 -0
  293. package/dist/chunks/index-1.1.38-h6safnqh.mjs +1 -0
  294. package/dist/chunks/index-1.1.38-he0r1v5h.mjs +1 -0
  295. package/dist/chunks/index-1.1.38-nqht0jy4.mjs +1 -0
  296. package/dist/chunks/index-1.1.38-nzxyzk3n.mjs +1 -0
  297. package/dist/chunks/index-1.1.38-psktz1tc.mjs +23 -0
  298. package/dist/chunks/index-1.1.38-r550x6ay.mjs +2 -0
  299. package/dist/chunks/index-1.1.38-t56hya6b.mjs +9 -0
  300. package/dist/chunks/index-1.1.38-t8ehet13.mjs +1 -0
  301. package/dist/chunks/index-1.1.38-trn75xj8.mjs +1 -0
  302. package/dist/chunks/index-1.1.38-tz1ab367.mjs +1 -0
  303. package/dist/chunks/index-1.1.38-wj6bvgqh.mjs +1 -0
  304. package/dist/chunks/index-1.1.38-wwvwtd47.mjs +30 -0
  305. package/dist/chunks/index-1.1.38-x4crzvcp.mjs +5 -0
  306. package/dist/chunks/index-1.1.38-xwfqwn8f.mjs +1 -0
  307. package/dist/chunks/init-1.1.38-kt9fktc1.mjs +2 -0
  308. package/dist/chunks/initReplBridge-1.1.38-89egcf9a.mjs +1 -0
  309. package/dist/chunks/ink-1.1.38-jgsp2t7f.mjs +1 -0
  310. package/dist/chunks/insights-1.1.38-hq19aerm.mjs +870 -0
  311. package/dist/chunks/install-1.1.38-gyyxk8ck.mjs +1 -0
  312. package/dist/chunks/install-github-app-1.1.38-f2jf37sk.mjs +149 -0
  313. package/dist/chunks/install-slack-app-1.1.38-tset69kh.mjs +1 -0
  314. package/dist/chunks/interactiveHelpers-1.1.38-m06ry3jx.mjs +1 -0
  315. package/dist/chunks/latestVersionCache-1.1.38-1c7vvamf.mjs +1 -0
  316. package/dist/chunks/loadAgentsDir-1.1.38-0bgzxgy4.mjs +1 -0
  317. package/dist/chunks/loadPluginHooks-1.1.38-07neaje5.mjs +1 -0
  318. package/dist/chunks/log-1.1.38-7yxczk1m.mjs +1 -0
  319. package/dist/chunks/main-1.1.38-ckkpf6pm.mjs +1 -0
  320. package/dist/chunks/managedEnv-1.1.38-wgkdf5th.mjs +1 -0
  321. package/dist/chunks/mcp-1.1.38-5g1dkaq3.mjs +4 -0
  322. package/dist/chunks/mcp-1.1.38-pv2q4v1t.mjs +1 -0
  323. package/dist/chunks/mcp-1.1.38-rw32ezwj.mjs +17 -0
  324. package/dist/chunks/mcpb-1.1.38-2j8knvey.mjs +1 -0
  325. package/dist/chunks/memory-1.1.38-ee240zz4.mjs +128 -0
  326. package/dist/chunks/model-1.1.38-0ap9xmp3.mjs +1 -0
  327. package/dist/chunks/model-1.1.38-5qmke302.mjs +2 -0
  328. package/dist/chunks/new-1.1.38-ahnzb47c.mjs +1 -0
  329. package/dist/chunks/node-1.1.38-8hxn3e6r.mjs +15 -0
  330. package/dist/chunks/node-1.1.38-v0zbmtyr.mjs +1 -0
  331. package/dist/chunks/oauth-1.1.38-5me1vtg3.mjs +1 -0
  332. package/dist/chunks/openaiShim-1.1.38-12snq1gc.mjs +14 -0
  333. package/dist/chunks/output-style-1.1.38-zb5mtnss.mjs +1 -0
  334. package/dist/chunks/package-V72LKFNW-1.1.38-q7hcwdtx.mjs +1 -0
  335. package/dist/chunks/permissions-1.1.38-5kw7w85c.mjs +1 -0
  336. package/dist/chunks/permissions-1.1.38-nk2ndszr.mjs +3 -0
  337. package/dist/chunks/plan-1.1.38-z3dqqjh7.mjs +1 -0
  338. package/dist/chunks/plist-1.1.38-56sqgq6h.mjs +1 -0
  339. package/dist/chunks/plugin-1.1.38-03de52xp.mjs +29 -0
  340. package/dist/chunks/pluginStartupCheck-1.1.38-0v5j57bh.mjs +1 -0
  341. package/dist/chunks/plugins-1.1.38-zmnat29k.mjs +9 -0
  342. package/dist/chunks/preActionHook-1.1.38-s4pt4ahn.mjs +2 -0
  343. package/dist/chunks/print-1.1.38-9ar632da.mjs +57 -0
  344. package/dist/chunks/process-1.1.38-ndydtgs9.mjs +1 -0
  345. package/dist/chunks/processBashCommand-1.1.38-xj8xy6j7.mjs +1 -0
  346. package/dist/chunks/processSlashCommand-1.1.38-rq94k8j4.mjs +9 -0
  347. package/dist/chunks/prompt-1.1.38-q5jst5dw.mjs +1 -0
  348. package/dist/chunks/prompt-1.1.38-qwzt31qc.mjs +1 -0
  349. package/dist/chunks/prompts-1.1.38-brvz08qv.mjs +1 -0
  350. package/dist/chunks/provider-1.1.38-zvnh7rf6.mjs +2 -0
  351. package/dist/chunks/providerProfiles-1.1.38-a0jrr70y.mjs +1 -0
  352. package/dist/chunks/providerValidation-1.1.38-qj7m9ae0.mjs +6 -0
  353. package/dist/chunks/registerSubcommands-1.1.38-kn98yfrh.mjs +26 -0
  354. package/dist/chunks/registry-1.1.38-02xa1gxq.mjs +1 -0
  355. package/dist/chunks/release-notes-1.1.38-kmxj255k.mjs +5 -0
  356. package/dist/chunks/reload-plugins-1.1.38-n429fwj8.mjs +2 -0
  357. package/dist/chunks/remote-env-1.1.38-4ecvn8ra.mjs +1 -0
  358. package/dist/chunks/rename-1.1.38-ah715pv0.mjs +1 -0
  359. package/dist/chunks/replLauncher-1.1.38-d6n16rnp.mjs +1 -0
  360. package/dist/chunks/resume-1.1.38-tv3f819g.mjs +2 -0
  361. package/dist/chunks/rewind-1.1.38-6wc124dk.mjs +1 -0
  362. package/dist/chunks/rootOptions-1.1.38-d7ta609y.mjs +1 -0
  363. package/dist/chunks/runWorkflowHeadless-1.1.38-n01n145x.mjs +10 -0
  364. package/dist/chunks/sandbox-adapter-1.1.38-pyjs3awv.mjs +1 -0
  365. package/dist/chunks/sandbox-toggle-1.1.38-54tec9n4.mjs +1 -0
  366. package/dist/chunks/session-1.1.38-d20mp4b0.mjs +2 -0
  367. package/dist/chunks/sessionStorage-1.1.38-44je31rv.mjs +1 -0
  368. package/dist/chunks/settings-1.1.38-x6fb5kk1.mjs +1 -0
  369. package/dist/chunks/setup-1.1.38-cryd3k7j.mjs +12 -0
  370. package/dist/chunks/sinks-1.1.38-xt06cywv.mjs +1 -0
  371. package/dist/chunks/skills-1.1.38-7kbrgpe5.mjs +1 -0
  372. package/dist/chunks/startupProfiler-1.1.38-w24hm0h1.mjs +1 -0
  373. package/dist/chunks/startupUpdateCheck-1.1.38-pmp6wqj9.mjs +1 -0
  374. package/dist/chunks/state-1.1.38-ttzekhjw.mjs +1 -0
  375. package/dist/chunks/stats-1.1.38-w347vz1w.mjs +1 -0
  376. package/dist/chunks/status-1.1.38-h7pzkbmj.mjs +1 -0
  377. package/dist/chunks/stickers-1.1.38-p6n5mskj.mjs +1 -0
  378. package/dist/chunks/subprocessEnv-1.1.38-3b6nr5kd.mjs +1 -0
  379. package/dist/chunks/tasks-1.1.38-jrznh7eb.mjs +1 -0
  380. package/dist/chunks/teamHelpers-1.1.38-b920q217.mjs +1 -0
  381. package/dist/chunks/teammateModeSnapshot-1.1.38-30rjbjkp.mjs +1 -0
  382. package/dist/chunks/teleport-1.1.38-kqj15kwz.mjs +1 -0
  383. package/dist/chunks/terminalSetup-1.1.38-a1j9tav3.mjs +1 -0
  384. package/dist/chunks/theme-1.1.38-zqgshtd8.mjs +1 -0
  385. package/dist/chunks/toolPool-1.1.38-rjxnejc9.mjs +1 -0
  386. package/dist/chunks/toolSearch-1.1.38-bsgpwrqw.mjs +1 -0
  387. package/dist/chunks/tools-1.1.38-hphgtq98.mjs +1 -0
  388. package/dist/chunks/turndown.cjs-1.1.38-6zmefgdf.mjs +69 -0
  389. package/dist/chunks/types-1.1.38-yaz6xzxg.mjs +1 -0
  390. package/dist/chunks/update-1.1.38-qkmfgy3f.mjs +72 -0
  391. package/dist/chunks/upload-1.1.38-25jm1g5x.mjs +7 -0
  392. package/dist/chunks/upstreamproxy-1.1.38-kdzcx35q.mjs +14 -0
  393. package/dist/chunks/usage-1.1.38-17yqaf62.mjs +1 -0
  394. package/dist/chunks/util-1.1.38-e3nemqk5.mjs +1 -0
  395. package/dist/chunks/utils-1.1.38-709jv8e9.mjs +1 -0
  396. package/dist/chunks/vim-1.1.38-jtz13d73.mjs +1 -0
  397. package/dist/chunks/watchLoop-1.1.38-fb6heqjg.mjs +13 -0
  398. package/dist/chunks/wiki-1.1.38-fpkcyk67.mjs +132 -0
  399. package/dist/chunks/workflows-1.1.38-mj7dax7d.mjs +1 -0
  400. package/dist/chunks/worktree-1.1.38-9zf6zp7r.mjs +1 -0
  401. package/dist/chunks/worktreeModeEnabled-1.1.38-01veveaw.mjs +1 -0
  402. package/dist/chunks/wrapper-1.1.38-7cvdwcn2.mjs +7 -0
  403. package/dist/cli.mjs +2 -2
  404. package/dist/help.txt +1 -1
  405. package/package.json +9 -9
  406. package/dist/chunks/App-1.1.36-4ypa2ky6.mjs +0 -1
  407. package/dist/chunks/ApproveApiKey-1.1.36-r5r4cwsv.mjs +0 -1
  408. package/dist/chunks/AutoModeOptInDialog-1.1.36-v3mtkjve.mjs +0 -1
  409. package/dist/chunks/BypassPermissionsModeDialog-1.1.36-m4wb4rn1.mjs +0 -1
  410. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.36-7v5ebgve.mjs +0 -1
  411. package/dist/chunks/ConsoleOAuthFlow-1.1.36-xpxzdymv.mjs +0 -1
  412. package/dist/chunks/DiffDialog-1.1.36-f49re5tc.mjs +0 -6
  413. package/dist/chunks/Doctor-1.1.36-2dspbc9p.mjs +0 -1
  414. package/dist/chunks/ExplorerDialog-1.1.36-9ajm3kh8.mjs +0 -6
  415. package/dist/chunks/ITermBackend-1.1.36-js7zf4na.mjs +0 -1
  416. package/dist/chunks/InvalidConfigDialog-1.1.36-4qp5v3qb.mjs +0 -1
  417. package/dist/chunks/InvalidSettingsDialog-1.1.36-vesfpg6k.mjs +0 -1
  418. package/dist/chunks/MigrationDialog-1.1.36-bg3y18da.mjs +0 -1
  419. package/dist/chunks/Onboarding-1.1.36-n2rz26c0.mjs +0 -1
  420. package/dist/chunks/ProviderManager-1.1.36-tr7atyyg.mjs +0 -1
  421. package/dist/chunks/REPL-1.1.36-k3q58fha.mjs +0 -1
  422. package/dist/chunks/ResumeConversation-1.1.36-qa0m768f.mjs +0 -1
  423. package/dist/chunks/TeleportProgress-1.1.36-sg79pgf7.mjs +0 -1
  424. package/dist/chunks/TeleportRepoMismatchDialog-1.1.36-2q0d269f.mjs +0 -1
  425. package/dist/chunks/TeleportResumeWrapper-1.1.36-rngjq7f6.mjs +0 -1
  426. package/dist/chunks/TmuxBackend-1.1.36-mrzttk9n.mjs +0 -9
  427. package/dist/chunks/ToolSearchTool-1.1.36-ycekhs3r.mjs +0 -1
  428. package/dist/chunks/TrustDialog-1.1.36-awrjghme.mjs +0 -1
  429. package/dist/chunks/activeProvider-1.1.36-r7zqb99r.mjs +0 -1
  430. package/dist/chunks/add-dir-1.1.36-mrfh3vg4.mjs +0 -1
  431. package/dist/chunks/agentTypes-1.1.36-50aq6x28.mjs +0 -1
  432. package/dist/chunks/agents-1.1.36-p154bdnq.mjs +0 -110
  433. package/dist/chunks/agents-1.1.36-qvdrqv2q.mjs +0 -3
  434. package/dist/chunks/api-1.1.36-fw1zvw5c.mjs +0 -1
  435. package/dist/chunks/asciicast-1.1.36-pabx88c3.mjs +0 -1
  436. package/dist/chunks/auth-1.1.36-nxs2defd.mjs +0 -1
  437. package/dist/chunks/auth-1.1.36-vxpyyv86.mjs +0 -1
  438. package/dist/chunks/autoMode-1.1.36-ew03cpb1.mjs +0 -52
  439. package/dist/chunks/autoModeSetup-1.1.36-m3aspqak.mjs +0 -44
  440. package/dist/chunks/autoUpdater-1.1.36-dvg6tvq8.mjs +0 -1
  441. package/dist/chunks/backgroundHousekeeping-1.1.36-q1ejq881.mjs +0 -1
  442. package/dist/chunks/branch-1.1.36-ev37nqdg.mjs +0 -4
  443. package/dist/chunks/bridge-1.1.36-1yp5eghy.mjs +0 -2
  444. package/dist/chunks/bridgeConfig-1.1.36-yxs52053.mjs +0 -1
  445. package/dist/chunks/bridgeEnabled-1.1.36-ghh2yqhm.mjs +0 -1
  446. package/dist/chunks/bridgeMain-1.1.36-6v5c06t6.mjs +0 -64
  447. package/dist/chunks/bridgePointer-1.1.36-2rgfyyde.mjs +0 -1
  448. package/dist/chunks/btw-1.1.36-065ma89f.mjs +0 -1
  449. package/dist/chunks/buddy-1.1.36-a1z9gs49.mjs +0 -3
  450. package/dist/chunks/cache-probe-1.1.36-bvheegzj.mjs +0 -21
  451. package/dist/chunks/cacheStats-1.1.36-0bq3fz34.mjs +0 -4
  452. package/dist/chunks/caches-1.1.36-8swj463y.mjs +0 -1
  453. package/dist/chunks/cd-1.1.36-wwqk3h8r.mjs +0 -3
  454. package/dist/chunks/claudeDesktop-1.1.36-325wbhtb.mjs +0 -1
  455. package/dist/chunks/claudemd-1.1.36-2vv85v0v.mjs +0 -1
  456. package/dist/chunks/clear-1.1.36-xnqf2tm7.mjs +0 -1
  457. package/dist/chunks/clearTerminal-1.1.36-g72pkm2k.mjs +0 -1
  458. package/dist/chunks/cli-1.1.36-02vb8r9t.mjs +0 -2
  459. package/dist/chunks/cli-1.1.36-0ar5v8he.mjs +0 -2
  460. package/dist/chunks/cli-1.1.36-0d7qj290.mjs +0 -2
  461. package/dist/chunks/cli-1.1.36-0qdd3hmz.mjs +0 -2
  462. package/dist/chunks/cli-1.1.36-0qtyffhw.mjs +0 -2
  463. package/dist/chunks/cli-1.1.36-0v8c69pm.mjs +0 -2
  464. package/dist/chunks/cli-1.1.36-0zzq8bfp.mjs +0 -2
  465. package/dist/chunks/cli-1.1.36-12bsh7j9.mjs +0 -2
  466. package/dist/chunks/cli-1.1.36-1dhxpexj.mjs +0 -2
  467. package/dist/chunks/cli-1.1.36-1dr6aakq.mjs +0 -2
  468. package/dist/chunks/cli-1.1.36-1fmfztzp.mjs +0 -2
  469. package/dist/chunks/cli-1.1.36-1yk5zdh0.mjs +0 -2
  470. package/dist/chunks/cli-1.1.36-1z1m015s.mjs +0 -2
  471. package/dist/chunks/cli-1.1.36-2720p0e9.mjs +0 -2
  472. package/dist/chunks/cli-1.1.36-2awc366j.mjs +0 -2
  473. package/dist/chunks/cli-1.1.36-2mqhd52j.mjs +0 -2
  474. package/dist/chunks/cli-1.1.36-2sbmjg5a.mjs +0 -2
  475. package/dist/chunks/cli-1.1.36-33pcdm87.mjs +0 -2
  476. package/dist/chunks/cli-1.1.36-34sqd3h3.mjs +0 -15
  477. package/dist/chunks/cli-1.1.36-3fe93rwy.mjs +0 -2
  478. package/dist/chunks/cli-1.1.36-3gx0bht8.mjs +0 -4
  479. package/dist/chunks/cli-1.1.36-3kd43x1y.mjs +0 -2
  480. package/dist/chunks/cli-1.1.36-3mmakdzj.mjs +0 -2
  481. package/dist/chunks/cli-1.1.36-3xkn8kcw.mjs +0 -2
  482. package/dist/chunks/cli-1.1.36-3z14wtaa.mjs +0 -2
  483. package/dist/chunks/cli-1.1.36-40x4f5k7.mjs +0 -34
  484. package/dist/chunks/cli-1.1.36-422dmh6w.mjs +0 -2
  485. package/dist/chunks/cli-1.1.36-43fkjqy9.mjs +0 -2
  486. package/dist/chunks/cli-1.1.36-451x9avw.mjs +0 -2
  487. package/dist/chunks/cli-1.1.36-4ajy0ys9.mjs +0 -2
  488. package/dist/chunks/cli-1.1.36-4g1wf6an.mjs +0 -2
  489. package/dist/chunks/cli-1.1.36-4jwgcerx.mjs +0 -2
  490. package/dist/chunks/cli-1.1.36-4pfza5vq.mjs +0 -2
  491. package/dist/chunks/cli-1.1.36-4ssz80b2.mjs +0 -60
  492. package/dist/chunks/cli-1.1.36-5de80y14.mjs +0 -26
  493. package/dist/chunks/cli-1.1.36-5few49rp.mjs +0 -7
  494. package/dist/chunks/cli-1.1.36-5kmv74s2.mjs +0 -2
  495. package/dist/chunks/cli-1.1.36-5nkhhy5f.mjs +0 -7
  496. package/dist/chunks/cli-1.1.36-5nkv3yj2.mjs +0 -2
  497. package/dist/chunks/cli-1.1.36-5zzwcyt7.mjs +0 -2
  498. package/dist/chunks/cli-1.1.36-659qh6fs.mjs +0 -15
  499. package/dist/chunks/cli-1.1.36-65fkb20j.mjs +0 -12
  500. package/dist/chunks/cli-1.1.36-69zmc79s.mjs +0 -2
  501. package/dist/chunks/cli-1.1.36-6g1w2zbr.mjs +0 -4
  502. package/dist/chunks/cli-1.1.36-6jv1ss2p.mjs +0 -2
  503. package/dist/chunks/cli-1.1.36-6q7sfj4e.mjs +0 -4
  504. package/dist/chunks/cli-1.1.36-6yqvdwyp.mjs +0 -2
  505. package/dist/chunks/cli-1.1.36-703pmf6z.mjs +0 -135
  506. package/dist/chunks/cli-1.1.36-72hptg9d.mjs +0 -2
  507. package/dist/chunks/cli-1.1.36-72p8zdsg.mjs +0 -2
  508. package/dist/chunks/cli-1.1.36-72sph7cp.mjs +0 -3
  509. package/dist/chunks/cli-1.1.36-775g6c3z.mjs +0 -2
  510. package/dist/chunks/cli-1.1.36-789jh18m.mjs +0 -2
  511. package/dist/chunks/cli-1.1.36-79jcadbx.mjs +0 -2
  512. package/dist/chunks/cli-1.1.36-7byzkddk.mjs +0 -3
  513. package/dist/chunks/cli-1.1.36-7tprmtpr.mjs +0 -2
  514. package/dist/chunks/cli-1.1.36-7xx3rm4x.mjs +0 -2
  515. package/dist/chunks/cli-1.1.36-7ywn6pq1.mjs +0 -2
  516. package/dist/chunks/cli-1.1.36-7z5n90ex.mjs +0 -3
  517. package/dist/chunks/cli-1.1.36-80gqbr44.mjs +0 -2
  518. package/dist/chunks/cli-1.1.36-814rb1qn.mjs +0 -2
  519. package/dist/chunks/cli-1.1.36-89dhnv3q.mjs +0 -2
  520. package/dist/chunks/cli-1.1.36-8k2z8yvv.mjs +0 -4
  521. package/dist/chunks/cli-1.1.36-8mc299mk.mjs +0 -6
  522. package/dist/chunks/cli-1.1.36-8s4n3bf2.mjs +0 -2
  523. package/dist/chunks/cli-1.1.36-8vncd2t8.mjs +0 -2
  524. package/dist/chunks/cli-1.1.36-90xk1ctt.mjs +0 -4
  525. package/dist/chunks/cli-1.1.36-97zq0wp5.mjs +0 -2
  526. package/dist/chunks/cli-1.1.36-9k371kgm.mjs +0 -15
  527. package/dist/chunks/cli-1.1.36-9xnre98h.mjs +0 -2
  528. package/dist/chunks/cli-1.1.36-a4gh459t.mjs +0 -2
  529. package/dist/chunks/cli-1.1.36-adsb7266.mjs +0 -2
  530. package/dist/chunks/cli-1.1.36-ahr5fnjy.mjs +0 -2
  531. package/dist/chunks/cli-1.1.36-apycha28.mjs +0 -2
  532. package/dist/chunks/cli-1.1.36-as3jtdj6.mjs +0 -4
  533. package/dist/chunks/cli-1.1.36-aypab30m.mjs +0 -2
  534. package/dist/chunks/cli-1.1.36-b0rge62y.mjs +0 -133
  535. package/dist/chunks/cli-1.1.36-b54n0msa.mjs +0 -2
  536. package/dist/chunks/cli-1.1.36-b77v7k9g.mjs +0 -3
  537. package/dist/chunks/cli-1.1.36-bsfazmtt.mjs +0 -2
  538. package/dist/chunks/cli-1.1.36-bxrew2k8.mjs +0 -2
  539. package/dist/chunks/cli-1.1.36-bywrsksg.mjs +0 -2
  540. package/dist/chunks/cli-1.1.36-c3rd4cfc.mjs +0 -10
  541. package/dist/chunks/cli-1.1.36-c4k9g1dk.mjs +0 -2
  542. package/dist/chunks/cli-1.1.36-c4pkjm54.mjs +0 -2
  543. package/dist/chunks/cli-1.1.36-cm2kys6t.mjs +0 -2
  544. package/dist/chunks/cli-1.1.36-cya5x9g3.mjs +0 -2
  545. package/dist/chunks/cli-1.1.36-d4bd8qw2.mjs +0 -4
  546. package/dist/chunks/cli-1.1.36-dpn3xp4e.mjs +0 -2
  547. package/dist/chunks/cli-1.1.36-dt9kgcr3.mjs +0 -2
  548. package/dist/chunks/cli-1.1.36-e5xkjjtj.mjs +0 -21
  549. package/dist/chunks/cli-1.1.36-ef3vjg8b.mjs +0 -9
  550. package/dist/chunks/cli-1.1.36-f6yxszv5.mjs +0 -2
  551. package/dist/chunks/cli-1.1.36-fd7xaf6g.mjs +0 -2
  552. package/dist/chunks/cli-1.1.36-fhnpvzaf.mjs +0 -6
  553. package/dist/chunks/cli-1.1.36-fj9nx7k4.mjs +0 -10
  554. package/dist/chunks/cli-1.1.36-fw6d7jyv.mjs +0 -2
  555. package/dist/chunks/cli-1.1.36-fxpd9jmz.mjs +0 -2
  556. package/dist/chunks/cli-1.1.36-gfn4xejp.mjs +0 -17
  557. package/dist/chunks/cli-1.1.36-gfx5kkq4.mjs +0 -2
  558. package/dist/chunks/cli-1.1.36-ggr2pkp7.mjs +0 -2
  559. package/dist/chunks/cli-1.1.36-gpks9z9m.mjs +0 -2
  560. package/dist/chunks/cli-1.1.36-h74yjk66.mjs +0 -2
  561. package/dist/chunks/cli-1.1.36-haxnmraq.mjs +0 -24
  562. package/dist/chunks/cli-1.1.36-hqmz0657.mjs +0 -3
  563. package/dist/chunks/cli-1.1.36-hvnr6rta.mjs +0 -2
  564. package/dist/chunks/cli-1.1.36-jnftcw4c.mjs +0 -2
  565. package/dist/chunks/cli-1.1.36-jpcwwd65.mjs +0 -5
  566. package/dist/chunks/cli-1.1.36-jqn2tez7.mjs +0 -2
  567. package/dist/chunks/cli-1.1.36-jx3e7dft.mjs +0 -9
  568. package/dist/chunks/cli-1.1.36-k14jc4fv.mjs +0 -2
  569. package/dist/chunks/cli-1.1.36-kzxdhaaz.mjs +0 -2
  570. package/dist/chunks/cli-1.1.36-m11p0exg.mjs +0 -2
  571. package/dist/chunks/cli-1.1.36-m981mqsb.mjs +0 -39
  572. package/dist/chunks/cli-1.1.36-mam7e8zn.mjs +0 -11
  573. package/dist/chunks/cli-1.1.36-mmre9943.mjs +0 -2
  574. package/dist/chunks/cli-1.1.36-n44emd29.mjs +0 -2
  575. package/dist/chunks/cli-1.1.36-n5etyd9m.mjs +0 -2
  576. package/dist/chunks/cli-1.1.36-n9knhbs6.mjs +0 -6
  577. package/dist/chunks/cli-1.1.36-nnzqwcsc.mjs +0 -2
  578. package/dist/chunks/cli-1.1.36-nqy7mzrt.mjs +0 -45
  579. package/dist/chunks/cli-1.1.36-nw3mandv.mjs +0 -50
  580. package/dist/chunks/cli-1.1.36-p0w1dm9g.mjs +0 -2
  581. package/dist/chunks/cli-1.1.36-p375v620.mjs +0 -6
  582. package/dist/chunks/cli-1.1.36-p7w1197h.mjs +0 -2
  583. package/dist/chunks/cli-1.1.36-psd41gmc.mjs +0 -2
  584. package/dist/chunks/cli-1.1.36-pwszcwqb.mjs +0 -2
  585. package/dist/chunks/cli-1.1.36-pxy9g55g.mjs +0 -20
  586. package/dist/chunks/cli-1.1.36-q2e0arg8.mjs +0 -2
  587. package/dist/chunks/cli-1.1.36-q4a30pjq.mjs +0 -2
  588. package/dist/chunks/cli-1.1.36-q9xgs0j5.mjs +0 -3
  589. package/dist/chunks/cli-1.1.36-qdefh0tg.mjs +0 -2
  590. package/dist/chunks/cli-1.1.36-qm9492fw.mjs +0 -2
  591. package/dist/chunks/cli-1.1.36-qn4td7gm.mjs +0 -4
  592. package/dist/chunks/cli-1.1.36-qxdw7xas.mjs +0 -3
  593. package/dist/chunks/cli-1.1.36-qyd8fnkc.mjs +0 -2
  594. package/dist/chunks/cli-1.1.36-r241fh82.mjs +0 -5
  595. package/dist/chunks/cli-1.1.36-r2svaxxt.mjs +0 -25
  596. package/dist/chunks/cli-1.1.36-rh00pabh.mjs +0 -2
  597. package/dist/chunks/cli-1.1.36-rkcfjk5n.mjs +0 -8
  598. package/dist/chunks/cli-1.1.36-rp1ck3rr.mjs +0 -2
  599. package/dist/chunks/cli-1.1.36-rqhp2xt1.mjs +0 -24
  600. package/dist/chunks/cli-1.1.36-rv222he2.mjs +0 -2
  601. package/dist/chunks/cli-1.1.36-rwa4g74g.mjs +0 -3
  602. package/dist/chunks/cli-1.1.36-rwqe4psg.mjs +0 -2
  603. package/dist/chunks/cli-1.1.36-s8jcsdgb.mjs +0 -16
  604. package/dist/chunks/cli-1.1.36-s9ar9y3g.mjs +0 -42
  605. package/dist/chunks/cli-1.1.36-sd51t79y.mjs +0 -2
  606. package/dist/chunks/cli-1.1.36-ss62b517.mjs +0 -63
  607. package/dist/chunks/cli-1.1.36-t0ncrwb0.mjs +0 -2
  608. package/dist/chunks/cli-1.1.36-t6sjxpcb.mjs +0 -251
  609. package/dist/chunks/cli-1.1.36-tda1q99k.mjs +0 -2
  610. package/dist/chunks/cli-1.1.36-tvr7rnm0.mjs +0 -2
  611. package/dist/chunks/cli-1.1.36-v0s0vqmm.mjs +0 -5551
  612. package/dist/chunks/cli-1.1.36-v5nxnkwj.mjs +0 -2
  613. package/dist/chunks/cli-1.1.36-vdy55pxe.mjs +0 -2
  614. package/dist/chunks/cli-1.1.36-vz7m93en.mjs +0 -2
  615. package/dist/chunks/cli-1.1.36-w1nf9wd0.mjs +0 -10
  616. package/dist/chunks/cli-1.1.36-w23zxn8g.mjs +0 -2
  617. package/dist/chunks/cli-1.1.36-wdrt641n.mjs +0 -25
  618. package/dist/chunks/cli-1.1.36-wdvzyaky.mjs +0 -2
  619. package/dist/chunks/cli-1.1.36-wfgjsqkk.mjs +0 -2
  620. package/dist/chunks/cli-1.1.36-wwwj09sw.mjs +0 -2
  621. package/dist/chunks/cli-1.1.36-x0qqxv1t.mjs +0 -2
  622. package/dist/chunks/cli-1.1.36-x11fzb6n.mjs +0 -2
  623. package/dist/chunks/cli-1.1.36-x1761kx6.mjs +0 -2
  624. package/dist/chunks/cli-1.1.36-xf45p3qr.mjs +0 -2
  625. package/dist/chunks/cli-1.1.36-xj95r55n.mjs +0 -2
  626. package/dist/chunks/cli-1.1.36-xs4p38vb.mjs +0 -6
  627. package/dist/chunks/cli-1.1.36-xvwc8bka.mjs +0 -2
  628. package/dist/chunks/cli-1.1.36-ya2s1rfy.mjs +0 -18
  629. package/dist/chunks/cli-1.1.36-yew13j62.mjs +0 -2
  630. package/dist/chunks/cli-1.1.36-ykz9vwbf.mjs +0 -2
  631. package/dist/chunks/cli-1.1.36-yrgfywq5.mjs +0 -24
  632. package/dist/chunks/cli-1.1.36-z5djkbwy.mjs +0 -2
  633. package/dist/chunks/cli-1.1.36-zax3mr51.mjs +0 -2
  634. package/dist/chunks/cli-1.1.36-zbn66hn9.mjs +0 -2
  635. package/dist/chunks/cli-1.1.36-zd032ger.mjs +0 -2
  636. package/dist/chunks/cli-1.1.36-zeahx79z.mjs +0 -2
  637. package/dist/chunks/cli-1.1.36-zey2drb2.mjs +0 -2
  638. package/dist/chunks/cli-1.1.36-zv6ffhhy.mjs +0 -2
  639. package/dist/chunks/cli-1.1.36-zw8q3z61.mjs +0 -2
  640. package/dist/chunks/cli-1.1.36-zzpdy0k8.mjs +0 -2
  641. package/dist/chunks/client-1.1.36-ydq31jce.mjs +0 -1
  642. package/dist/chunks/color-1.1.36-9fjvayey.mjs +0 -1
  643. package/dist/chunks/compact-1.1.36-p42ft3yq.mjs +0 -2
  644. package/dist/chunks/config-1.1.36-42ab04bq.mjs +0 -1
  645. package/dist/chunks/config-1.1.36-x636yezt.mjs +0 -1
  646. package/dist/chunks/constants-1.1.36-ba1bvty5.mjs +0 -1
  647. package/dist/chunks/context-1.1.36-zjvkgfrr.mjs +0 -1
  648. package/dist/chunks/context-noninteractive-1.1.36-f5rax1ah.mjs +0 -1
  649. package/dist/chunks/conversation-1.1.36-jd5867c5.mjs +0 -1
  650. package/dist/chunks/copilotHeaders-1.1.36-dg9s10xt.mjs +0 -1
  651. package/dist/chunks/copy-1.1.36-95ds743c.mjs +0 -9
  652. package/dist/chunks/cost-1.1.36-vhm8f7tp.mjs +0 -1
  653. package/dist/chunks/createSession-1.1.36-haxa0dvw.mjs +0 -1
  654. package/dist/chunks/debug-1.1.36-fvyvxmx1.mjs +0 -1
  655. package/dist/chunks/defaultActionDeps-1.1.36-24ag19wj.mjs +0 -1458
  656. package/dist/chunks/desktop-1.1.36-n6x2epmn.mjs +0 -2
  657. package/dist/chunks/detectRepository-1.1.36-ktxtd4ej.mjs +0 -1
  658. package/dist/chunks/detection-1.1.36-s8z7d4bm.mjs +0 -1
  659. package/dist/chunks/diff-1.1.36-0mrzd4kw.mjs +0 -1
  660. package/dist/chunks/doctor-1.1.36-tta8yrqq.mjs +0 -1
  661. package/dist/chunks/doctorDiagnostic-1.1.36-1j38851d.mjs +0 -1
  662. package/dist/chunks/earlyInput-1.1.36-rv44jymf.mjs +0 -1
  663. package/dist/chunks/effort-1.1.36-yd22tc48.mjs +0 -13
  664. package/dist/chunks/engine-1.1.36-cf09xwf2.mjs +0 -1
  665. package/dist/chunks/envUtils-1.1.36-e9dd4q6g.mjs +0 -1
  666. package/dist/chunks/errors-1.1.36-86veg19m.mjs +0 -1
  667. package/dist/chunks/exampleCommands-1.1.36-nmf2s84f.mjs +0 -1
  668. package/dist/chunks/execFileNoThrow-1.1.36-naz9kbtt.mjs +0 -1
  669. package/dist/chunks/exit-1.1.36-53t418pg.mjs +0 -1
  670. package/dist/chunks/explorer-1.1.36-pgghex3j.mjs +0 -1
  671. package/dist/chunks/export-1.1.36-1ynxg1wb.mjs +0 -2
  672. package/dist/chunks/fast-1.1.36-f64h2t2k.mjs +0 -1
  673. package/dist/chunks/feedback-1.1.36-vgb10qbs.mjs +0 -16
  674. package/dist/chunks/git-1.1.36-f934674g.mjs +0 -1
  675. package/dist/chunks/githubModelsCredentials-1.1.36-f2yec5gh.mjs +0 -1
  676. package/dist/chunks/goal-1.1.36-yyy0jkwz.mjs +0 -4
  677. package/dist/chunks/headless-1.1.36-47ts4j1h.mjs +0 -2
  678. package/dist/chunks/heapdump-1.1.36-hhwpz3jf.mjs +0 -6
  679. package/dist/chunks/help-1.1.36-zr7z9tga.mjs +0 -1
  680. package/dist/chunks/hooks-1.1.36-and1agcb.mjs +0 -79
  681. package/dist/chunks/hooks-1.1.36-qgd5x79v.mjs +0 -1
  682. package/dist/chunks/ide-1.1.36-afc5wn8q.mjs +0 -3
  683. package/dist/chunks/image-processor-napi-1.1.36-ycj021z0.mjs +0 -1
  684. package/dist/chunks/import-1.1.36-jrjb5s4n.mjs +0 -261
  685. package/dist/chunks/inboundAttachments-1.1.36-h1yrtqms.mjs +0 -1
  686. package/dist/chunks/index-1.1.36-048ng2px.mjs +0 -1
  687. package/dist/chunks/index-1.1.36-1mbx6axa.mjs +0 -1
  688. package/dist/chunks/index-1.1.36-1rzdb7w0.mjs +0 -1
  689. package/dist/chunks/index-1.1.36-312tvs2v.mjs +0 -2
  690. package/dist/chunks/index-1.1.36-46vz4hm5.mjs +0 -5
  691. package/dist/chunks/index-1.1.36-4dth0mx8.mjs +0 -1
  692. package/dist/chunks/index-1.1.36-5bc8t250.mjs +0 -9
  693. package/dist/chunks/index-1.1.36-6mpk59p2.mjs +0 -1
  694. package/dist/chunks/index-1.1.36-83wpkv8f.mjs +0 -30
  695. package/dist/chunks/index-1.1.36-8s1fe47p.mjs +0 -9
  696. package/dist/chunks/index-1.1.36-95xjkxf6.mjs +0 -1
  697. package/dist/chunks/index-1.1.36-c90kzpg9.mjs +0 -1
  698. package/dist/chunks/index-1.1.36-ectpcy01.mjs +0 -1
  699. package/dist/chunks/index-1.1.36-f33wa99v.mjs +0 -1
  700. package/dist/chunks/index-1.1.36-fgj4arq3.mjs +0 -23
  701. package/dist/chunks/index-1.1.36-fr144w7s.mjs +0 -1
  702. package/dist/chunks/index-1.1.36-keejgmvt.mjs +0 -1
  703. package/dist/chunks/index-1.1.36-knytd0n4.mjs +0 -1
  704. package/dist/chunks/index-1.1.36-m21fh89b.mjs +0 -1
  705. package/dist/chunks/index-1.1.36-n3tpswv4.mjs +0 -1
  706. package/dist/chunks/index-1.1.36-q6468dg7.mjs +0 -1
  707. package/dist/chunks/index-1.1.36-svzjvq7t.mjs +0 -1
  708. package/dist/chunks/index-1.1.36-vpaaz84z.mjs +0 -2
  709. package/dist/chunks/init-1.1.36-16rj95sf.mjs +0 -2
  710. package/dist/chunks/initReplBridge-1.1.36-xganfz86.mjs +0 -1
  711. package/dist/chunks/ink-1.1.36-ayvk483m.mjs +0 -1
  712. package/dist/chunks/insights-1.1.36-0kqbkgbz.mjs +0 -870
  713. package/dist/chunks/install-1.1.36-3v0b55mh.mjs +0 -1
  714. package/dist/chunks/install-github-app-1.1.36-6ybyxdq5.mjs +0 -149
  715. package/dist/chunks/install-slack-app-1.1.36-040ssrxp.mjs +0 -1
  716. package/dist/chunks/interactiveHelpers-1.1.36-2fm0smr3.mjs +0 -1
  717. package/dist/chunks/latestVersionCache-1.1.36-9fa4kpt8.mjs +0 -1
  718. package/dist/chunks/loadAgentsDir-1.1.36-t9mhqgv5.mjs +0 -1
  719. package/dist/chunks/loadPluginHooks-1.1.36-vf3yqk6b.mjs +0 -1
  720. package/dist/chunks/log-1.1.36-zazc6e80.mjs +0 -1
  721. package/dist/chunks/main-1.1.36-r3b0ysm4.mjs +0 -1
  722. package/dist/chunks/managedEnv-1.1.36-nksy6dte.mjs +0 -1
  723. package/dist/chunks/mcp-1.1.36-7fbqeb90.mjs +0 -17
  724. package/dist/chunks/mcp-1.1.36-d2df02nr.mjs +0 -4
  725. package/dist/chunks/mcp-1.1.36-dj3ctzg2.mjs +0 -1
  726. package/dist/chunks/mcpb-1.1.36-7hcc3bm8.mjs +0 -1
  727. package/dist/chunks/memory-1.1.36-4h4pw21v.mjs +0 -128
  728. package/dist/chunks/model-1.1.36-3vvdafvs.mjs +0 -1
  729. package/dist/chunks/model-1.1.36-pvrxzcbd.mjs +0 -2
  730. package/dist/chunks/node-1.1.36-xhks7s8w.mjs +0 -15
  731. package/dist/chunks/node-1.1.36-z1nceabc.mjs +0 -1
  732. package/dist/chunks/oauth-1.1.36-w0jf6x39.mjs +0 -1
  733. package/dist/chunks/openaiShim-1.1.36-m75hvh8e.mjs +0 -14
  734. package/dist/chunks/output-style-1.1.36-c0mgemjb.mjs +0 -1
  735. package/dist/chunks/package-F6O7J2XI-1.1.36-kfm7v15k.mjs +0 -1
  736. package/dist/chunks/permissions-1.1.36-20jz1yq3.mjs +0 -3
  737. package/dist/chunks/permissions-1.1.36-mtf6m3pf.mjs +0 -1
  738. package/dist/chunks/plan-1.1.36-r2k6ysce.mjs +0 -1
  739. package/dist/chunks/plist-1.1.36-8vg2xrj2.mjs +0 -1
  740. package/dist/chunks/plugin-1.1.36-xa4j4bj2.mjs +0 -29
  741. package/dist/chunks/pluginStartupCheck-1.1.36-7bczq621.mjs +0 -1
  742. package/dist/chunks/plugins-1.1.36-ck8ycs01.mjs +0 -9
  743. package/dist/chunks/preActionHook-1.1.36-yt9dm2yh.mjs +0 -2
  744. package/dist/chunks/print-1.1.36-gcmgxxx7.mjs +0 -57
  745. package/dist/chunks/process-1.1.36-4kdmcjeq.mjs +0 -1
  746. package/dist/chunks/processBashCommand-1.1.36-5tbfja2m.mjs +0 -1
  747. package/dist/chunks/processSlashCommand-1.1.36-db99hjpc.mjs +0 -9
  748. package/dist/chunks/prompt-1.1.36-7qyxemw6.mjs +0 -1
  749. package/dist/chunks/prompt-1.1.36-tx374tzn.mjs +0 -1
  750. package/dist/chunks/prompts-1.1.36-gj1pggdg.mjs +0 -1
  751. package/dist/chunks/provider-1.1.36-d73knpnr.mjs +0 -2
  752. package/dist/chunks/providerProfiles-1.1.36-v0p0gdag.mjs +0 -1
  753. package/dist/chunks/providerValidation-1.1.36-bzznd00d.mjs +0 -6
  754. package/dist/chunks/registerSubcommands-1.1.36-8s9pb6g7.mjs +0 -26
  755. package/dist/chunks/registry-1.1.36-4bt4ac4z.mjs +0 -1
  756. package/dist/chunks/release-notes-1.1.36-zbexvzjp.mjs +0 -5
  757. package/dist/chunks/reload-plugins-1.1.36-n8nwygb8.mjs +0 -2
  758. package/dist/chunks/remote-env-1.1.36-fr8j8hcc.mjs +0 -1
  759. package/dist/chunks/rename-1.1.36-x06agpgx.mjs +0 -1
  760. package/dist/chunks/replLauncher-1.1.36-2hp08v6r.mjs +0 -1
  761. package/dist/chunks/resume-1.1.36-1srfb0q2.mjs +0 -2
  762. package/dist/chunks/rewind-1.1.36-zkycjr7d.mjs +0 -1
  763. package/dist/chunks/rootOptions-1.1.36-4m9s4acv.mjs +0 -1
  764. package/dist/chunks/runWorkflowHeadless-1.1.36-jbtcynyc.mjs +0 -10
  765. package/dist/chunks/sandbox-adapter-1.1.36-xrvrh2qp.mjs +0 -1
  766. package/dist/chunks/sandbox-toggle-1.1.36-2yw8m1jq.mjs +0 -1
  767. package/dist/chunks/session-1.1.36-dxen3cg6.mjs +0 -2
  768. package/dist/chunks/sessionStorage-1.1.36-dbt045aw.mjs +0 -1
  769. package/dist/chunks/settings-1.1.36-jb6t4nt2.mjs +0 -1
  770. package/dist/chunks/setup-1.1.36-7ady6j9j.mjs +0 -12
  771. package/dist/chunks/sinks-1.1.36-j124tdmn.mjs +0 -1
  772. package/dist/chunks/skills-1.1.36-wad885e2.mjs +0 -1
  773. package/dist/chunks/startupProfiler-1.1.36-0xnygcy5.mjs +0 -1
  774. package/dist/chunks/startupUpdateCheck-1.1.36-6mvjw2sk.mjs +0 -1
  775. package/dist/chunks/state-1.1.36-mwqgyp6n.mjs +0 -1
  776. package/dist/chunks/stats-1.1.36-yzk5t8nc.mjs +0 -1
  777. package/dist/chunks/status-1.1.36-8b177p6e.mjs +0 -1
  778. package/dist/chunks/stickers-1.1.36-kdxt4s8f.mjs +0 -1
  779. package/dist/chunks/subprocessEnv-1.1.36-g1a43154.mjs +0 -1
  780. package/dist/chunks/tasks-1.1.36-cnmsc211.mjs +0 -1
  781. package/dist/chunks/teamHelpers-1.1.36-1pwk4n3y.mjs +0 -1
  782. package/dist/chunks/teammateModeSnapshot-1.1.36-2stc51nw.mjs +0 -1
  783. package/dist/chunks/teleport-1.1.36-tdvpgdhd.mjs +0 -1
  784. package/dist/chunks/terminalSetup-1.1.36-agbzd4wd.mjs +0 -1
  785. package/dist/chunks/theme-1.1.36-2w481ds6.mjs +0 -1
  786. package/dist/chunks/toolPool-1.1.36-hdw9b8ht.mjs +0 -1
  787. package/dist/chunks/toolSearch-1.1.36-ccs29nek.mjs +0 -1
  788. package/dist/chunks/tools-1.1.36-zqsjpqnk.mjs +0 -1
  789. package/dist/chunks/turndown.cjs-1.1.36-pwcp7479.mjs +0 -69
  790. package/dist/chunks/types-1.1.36-bwfasf0g.mjs +0 -1
  791. package/dist/chunks/update-1.1.36-hzk0xj2g.mjs +0 -72
  792. package/dist/chunks/upload-1.1.36-mb3a5t01.mjs +0 -7
  793. package/dist/chunks/upstreamproxy-1.1.36-x1y5p82n.mjs +0 -14
  794. package/dist/chunks/usage-1.1.36-qzytaj6z.mjs +0 -1
  795. package/dist/chunks/util-1.1.36-kb0yef79.mjs +0 -1
  796. package/dist/chunks/utils-1.1.36-fm3eywyj.mjs +0 -1
  797. package/dist/chunks/vim-1.1.36-x7adhmdd.mjs +0 -1
  798. package/dist/chunks/watchLoop-1.1.36-4s334wzz.mjs +0 -13
  799. package/dist/chunks/wiki-1.1.36-dn9csm8a.mjs +0 -132
  800. package/dist/chunks/workflows-1.1.36-v5b9khnt.mjs +0 -1
  801. package/dist/chunks/worktree-1.1.36-cesdwabt.mjs +0 -1
  802. package/dist/chunks/worktreeModeEnabled-1.1.36-m20cdekt.mjs +0 -1
  803. package/dist/chunks/wrapper-1.1.36-1m0td68t.mjs +0 -7
  804. /package/dist/chunks/{cli-1.1.36-7v42aqn9.mjs → cli-1.1.38-0sbej1sm.mjs} +0 -0
  805. /package/dist/chunks/{cli-1.1.36-6kq395h8.mjs → cli-1.1.38-fckt5c5p.mjs} +0 -0
@@ -0,0 +1,260 @@
1
+ import{$e as h,Xe as z,Ye as Q,Ze as $L,_e as c,af as p,bf as w,cf as TI,df as DO,ef as iI,ff as kO,gf as RI,hf as nI}from"./cli-1.1.38-m66mmsr6.mjs";import{Gz as PU,OE as VO,PE as DU,QE as AU,aF as T0,tp as DI,uz as wO,vz as TO,yp as UI,zp as oI}from"./cli-1.1.38-tk968ykv.mjs";import"./cli-1.1.38-xr1c1bn4.mjs";import"./cli-1.1.38-n5tx4p12.mjs";import"./cli-1.1.38-pah268nz.mjs";import"./cli-1.1.38-hkbb3sr7.mjs";import"./cli-1.1.38-qackcmc3.mjs";import"./cli-1.1.38-y3k2y9f2.mjs";import"./cli-1.1.38-q3emeb23.mjs";import"./cli-1.1.38-dggxcj2x.mjs";import"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-fembxywm.mjs";import"./cli-1.1.38-3c43sfc3.mjs";import{YX as EO,qX as j,sX as f}from"./cli-1.1.38-y79rqp8p.mjs";import"./cli-1.1.38-cp5m26rk.mjs";import"./cli-1.1.38-mnr9k9j8.mjs";import"./cli-1.1.38-h2f789qa.mjs";import"./cli-1.1.38-62gxd3va.mjs";import"./cli-1.1.38-h83nx1a5.mjs";import"./cli-1.1.38-q3yhkwkh.mjs";import"./cli-1.1.38-jrf85w1a.mjs";import"./cli-1.1.38-1kce30qe.mjs";import"./cli-1.1.38-ww8j7xpn.mjs";import"./cli-1.1.38-pnngv0r7.mjs";import{A1 as SI,B1 as _I,z1 as E}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as zO}from"./cli-1.1.38-h6qtpp5r.mjs";import"./cli-1.1.38-8m9096qg.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-3j9z8bce.mjs";import"./cli-1.1.38-6dwdjwfe.mjs";import"./cli-1.1.38-8br976cg.mjs";import"./cli-1.1.38-xpjv8r2g.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-abavft6n.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-38f3b9as.mjs";import{Cea as EU,E9 as RL,F9 as rU,Jea as FO,Sba as FL,Tfa as wI,Uba as R0,Vea as _O,Yfa as SO,daa as zU,j_ as JU,xea as C0}from"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import{Iha as NU,Kha as E0}from"./cli-1.1.38-fr1kxnk2.mjs";import{oia as JI,xia as qL}from"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import{Zja as YL,cka as cU}from"./cli-1.1.38-mh6a6g83.mjs";import{fka as GU,qka as z0}from"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import{Lqa as LI,Pqa as J}from"./cli-1.1.38-y66mw08s.mjs";import{basename as mI}from"path";function CI(I,O){if(!O||!I.startsWith(O))return I;return`~${I.slice(O.length)}`}function i(I,O){return`${I} ${O}${I===1?"":"s"}`}function $O(I){let O=I.map((L)=>("name"in L)?L.name:("key"in L)?L.key:mI(L.destination));if(O.length<=fI)return O.join(", ");return`${O.slice(0,fI).join(", ")}, +${O.length-fI}`}function FU(I,O){let L=O.length;switch(I){case"mcpServer":return i(L,"MCP server");case"instructions":return L===1&&O[0]?mI(O[0].source):i(L,"memory file");case"command":return i(L,"command");case"agent":return i(L,"agent");case"rule":return i(L,"rule");case"skillDir":return i(L,"skill");case"settingsKey":return i(L,"setting");case"providerHint":return"provider config"}}function _U(I,O,L){let U=O[0];if(!U)return"";switch(I){case"mcpServer":return`${$O(O)} → ${U.scope}`;case"settingsKey":return $O(O);case"providerHint":return U.kind==="providerHint"?`${U.model||"no model"} at ${U.baseUrl||"no base URL"} (no token)`:"";default:return`→ ${CI(SU(O),L)}`}}function SU(I){let O=I.map((H)=>H.destination),L=O[0];if(!L)return"";if(O.length===1)return L;let U=L.split("/"),Y=U.length;for(let H of O.slice(1)){let R=H.split("/"),B=0;while(B<Y&&B<R.length&&U[B]===R[B])B+=1;Y=B}return`${U.slice(0,Y).join("/")}/`}function dI(I,O){let L=new Map;for(let Y of I){let H=`${Y.kind}:${Y.scope}`,R=L.get(H);if(R)R.push(Y);else L.set(H,[Y])}let U=[];for(let Y of CU)for(let H of["user","project"]){let R=L.get(`${Y}:${H}`);if(!R||R.length===0)continue;U.push({key:`${Y}:${H}`,kind:Y,scope:H,artifacts:R,label:FU(Y,R),detail:_U(Y,R,O)})}return U}function XO(I,O){let L=[];if(I.applied.length===0)L.push("Nothing was imported.");else for(let U of dI(I.applied,O))L.push(` ✓ ${U.label}${U.detail?` ${U.detail}`:""}`);if(I.skipped.length>0){L.push(""),L.push(` ⚠ ${I.skipped.length} skipped`);for(let U of I.skipped){let Y="name"in U?U.name:("key"in U)?U.key:mI(U.destination);L.push(` ${Y} — ${U.statusReason??"already present"}`)}}if(I.notImportable.length>0){L.push(""),L.push(" ⎿ Not imported");for(let U of I.notImportable)L.push(` ${U.label} — ${U.detail}`)}if(I.warnings.length>0){L.push(""),L.push(` Warnings (${I.warnings.length})`);for(let U of I.warnings)L.push(` ${CI(U,O)}`)}if(I.errors.length>0){L.push(""),L.push(` Errors (${I.errors.length})`);for(let U of I.errors)L.push(` ${U}`)}if(I.applied.some((U)=>U.kind==="mcpServer"))L.push(""),L.push(" Restart Claudin to connect the new MCP servers.");if(I.applied.some((U)=>U.kind==="providerHint"))L.push(" Run /provider to finish signing in — no tokens were copied.");return L.join(`
2
+ `)}var CU,fI=3;var xI=J(()=>{CU=["mcpServer","instructions","command","agent","rule","skillDir","settingsKey","providerHint"]});function FI(I){return`agent:${I}`}function $I(I,O){return`${I}:${O}`}function QO(I,O,L){let U=[];for(let Y of I){let H=dI(O.artifacts.filter((R)=>R.agent===Y.id),L);if(H.length===0)continue;U.push({id:Y.id,label:Y.label,roots:Y.roots.map((R)=>CI(R.path,L)).join(" "),groups:H})}return U}function TU(I){return I.artifacts.every((O)=>O.status==="identical")}function ZO(I){let O=[];for(let L of I){let U=L.groups.filter((Y)=>!wU.has(Y.kind)&&!TU(Y));if(U.length===0)continue;O.push(FI(L.id));for(let Y of U)O.push($I(L.id,Y.key))}return O}function qO(I,O){let L=[];for(let U of I){let Y=U.groups.length,H=U.groups.filter((B)=>O.has($I(U.id,B.key))).length,R=H>0&&H<Y;L.push({key:FI(U.id),agent:U.id,groupKey:null,label:`▸ ${U.label}${R?` (${H}/${Y})`:""}`,description:U.roots});for(let B of U.groups)L.push({key:$I(U.id,B.key),agent:U.id,groupKey:B.key,label:` ${B.label}`,description:B.detail})}return L}function pI(I,O,L){let U=new Set(O),Y=new Set(L);for(let H of I){let R=FI(H.id),B=H.groups.map(($)=>$I(H.id,$.key)),G=Y.has(R)&&!U.has(R),N=!Y.has(R)&&U.has(R);if(G)for(let $ of B)Y.add($);else if(N)for(let $ of B)Y.delete($);if(B.some(($)=>Y.has($)))Y.add(R);else Y.delete(R)}return[...Y]}function WO(I,O){let L=[];for(let U of I)for(let Y of U.groups){if(!O.has($I(U.id,Y.key)))continue;L.push(...Y.artifacts)}return L}function JO(I){return I.filter((O)=>O.status==="conflict").length}var wU;var lI=J(()=>{xI();wU=new Set(["providerHint","settingsKey"])});function vU(I,O){if(I.length!==O.length)return!1;let L=new Set(O);return I.every((U)=>L.has(U))}function KO({entries:I,notImportable:O,onSubmit:L,onCancel:U}){let[Y,H]=XI.useState(()=>ZO(I)),[R,B]=XI.useState(0),G=XI.useRef(void 0),$=qO(I,new Set(Y)).map((W)=>({value:W.key,label:W.label,description:W.description,dimDescription:!0})),q=(W)=>{let A=pI(I,Y,W);if(H(A),!vU(A,W))B((l)=>l+1)};return SI(j,{flexDirection:"column",marginBottom:1,children:[E(f,{bold:!0,children:"Import config from another AI coding agent"}),E(j,{marginTop:1,flexDirection:"column",children:E(VO,{options:$,defaultValue:Y,focusValue:R===0?void 0:G.current,onFocus:(W)=>{G.current=W},onChange:q,onSubmit:(W)=>L(pI(I,Y,W)),onCancel:U,visibleOptionCount:Math.min($.length,kU),hideIndexes:!0},R)}),O.length>0&&E(j,{marginTop:1,flexDirection:"column",children:E(f,{dimColor:!0,children:`⎿ Not importable: ${O.join(", ")}`})}),E(j,{marginTop:1,children:E(f,{dimColor:!0,children:"Enter confirms · Space toggles · Esc cancels"})})]})}var XI,kU=16;var AO=J(()=>{lI();EO();DU();_I();XI=LI(zO(),1)});import{writeFileSync as jU}from"fs";import{dirname as MO}from"path";function CO(I){return I==="user"?"user":"local"}async function bU(I,O,L){switch(I.kind){case"mcpServer":await L.addMcpServer(I.name,I.config,I.scope,O);return;case"instructions":L.writeTextFile(I.destination,I.text);return;case"command":case"agent":case"rule":L.writeTextFile(I.destination,I.markdown);return;case"skillDir":L.copyDirectory(I.sourceDir,I.destination);return;case"settingsKey":L.setSettingsKey(I.destination,I.key,I.value);return;case"providerHint":L.createProviderProfile({name:I.name,provider:I.provider,baseUrl:I.baseUrl,model:I.model});return}}async function vO(I,O,L={},U=yU){let Y={applied:[],skipped:[],notImportable:I.notImportable,warnings:[...I.warnings],errors:[]};for(let H of O){if(H.status==="identical"){Y.skipped.push({...H,statusReason:H.statusReason??"already identical"});continue}let R=H.status==="conflict";if(R&&!L.overwriteConflicts){Y.skipped.push(H);continue}try{await bU(H,R,U),Y.applied.push(H)}catch(B){wI(B),Y.errors.push(`${H.kind} ${hU(H)}: ${B instanceof Error?B.message:String(B)}`)}}return Y}function hU(I){if("name"in I)return I.name;if("key"in I)return I.key;return I.destination}var yU;var PO=J(()=>{PU();nI();_O();SO();yU={writeTextFile:(I,O)=>{iI(MO(I)),jU(I,O,{encoding:"utf8"})},copyDirectory:(I,O)=>{kO(I,O)},addMcpServer:async(I,O,L,U)=>{if(U)await TO(I,CO(L));await wO(I,O,CO(L))},setSettingsKey:(I,O,L)=>{let U=TI(I)??{};iI(MO(I)),DO(I,{...U,[O]:L})},createProviderProfile:(I)=>{FO({provider:I.provider,name:I.name,baseUrl:I.baseUrl,model:I.model},{makeActive:!1})}}});function QI(I){return I.replace(/\.(md|ya?ml)$/i,"").toLowerCase().replace(uU,"-").replace(gU,"")}function bO(I,O){let L={},U=[],Y=[];for(let[H,R]of Object.entries(I)){if(R===null||R===void 0)continue;if(H==="name"||H==="description")continue;if(O.keepKeys.includes(H)){L[H]=R;continue}let B=O.explain[H];if(B)Y.push(B);else U.push(H)}if(U.length>0)Y.push(`dropped frontmatter: ${U.sort().join(", ")}`);return{kept:L,notes:Y}}function hO(I,O,L,U){return`---
3
+ ${jO.stringify({name:I,description:O,...L}).trimEnd()}
4
+ ---
5
+
6
+ ${U.trim()}
7
+ `}function uO(I,O,L){let U=QI(I);if(!U)return{ok:!1,reason:"filename yields an empty agent name"};let{frontmatter:Y,content:H}=UI(O),R=Q(Y.description)??Q(Y.name);if(!R)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};if(H.trim().length===0)return{ok:!1,reason:"has an empty system prompt"};let{kept:B,notes:G}=bO(Y,L);return{ok:!0,agent:{name:U,relativePath:`${U}.md`,markdown:hO(U,R,B,H),notes:G}}}function gO(I,O,L){let U=Q(O.name)??QI(I),Y=QI(U);if(!Y)return{ok:!1,reason:"has no usable agent name"};let H=Q(O.description);if(!H)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};let R=Q(O.systemPrompt)??Q(O.system_prompt)??Q(O.prompt);if(!R)return{ok:!1,reason:"carries no inline system prompt (only a path to one)"};let{kept:B,notes:G}=bO(Object.fromEntries(Object.entries(O).filter(([N])=>N!=="systemPrompt"&&N!=="system_prompt"&&N!=="prompt")),L);return{ok:!0,agent:{name:Y,relativePath:`${Y}.md`,markdown:hO(Y,H,B,R),notes:G}}}var jO,uU,gU,yO,sI;var ZI=J(()=>{w();oI();jO=LI(DI(),1),uU=/[^a-z0-9]+/g,gU=/^-+|-+$/g,yO={keepKeys:["description"],explain:{tools:"tools not carried over — opencode tool names differ from Claudin’s",mode:'opencode "mode" has no equivalent — imported as a subagent',permission:"per-agent permissions not carried over — see /permissions",model:"model not carried over — opencode model ids are provider-qualified"}},sI={keepKeys:["description","color"],explain:{tools:"tools not carried over — Qwen tool names differ from Claudin’s",model:"model not carried over — Qwen model ids are not Claudin’s"}}});function xO(I){let O=I.lastIndexOf("."),L=I.lastIndexOf("/");return O>L?I.slice(0,O):I}function kI(I){return xO(I).split("/").join(":")}function pO(I){return`${xO(I)}.md`}function lO(I,O){let L=O.trim();if(Object.keys(I).length===0)return`${L}
8
+ `;return`---
9
+ ${fO.stringify(I).trimEnd()}
10
+ ---
11
+
12
+ ${L}
13
+ `}function iO(I,O){if(O!=="handlebars")return{body:I,rewritten:!1};let L=I.replace(fU,"$ARGUMENTS");return{body:L,rewritten:L!==I}}function nO(I){let O=[];if(mU.test(I))O.push("uses !{…} shell injection, which Claudin does not expand");if(dU.test(I))O.push("uses @{…} file injection, which Claudin does not expand");return O}function oO(I){if(I.length===0)return"has an empty path";if(I.startsWith("/"))return"has an absolute path";if(xU.test(I))return"path escapes the commands directory";return null}function sO(I,O,L){let U=oO(I);if(U)return{ok:!1,reason:U};let{frontmatter:Y,content:H}=UI(O),R={},B=[];for(let[q,W]of Object.entries(Y)){if(W===null||W===void 0)continue;if(L.keepKeys.includes(q))R[q]=W;else B.push(q)}let{body:G,rewritten:N}=iO(H,L.args);if(G.trim().length===0)return{ok:!1,reason:"has no prompt body"};let $=nO(G);if(B.length>0)$.push(`dropped frontmatter: ${B.sort().join(", ")}`);if(N)$.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:pO(I),name:kI(I),markdown:lO(R,G),notes:$}}}function cO(I,O){let L=oO(I);if(L)return{ok:!1,reason:L};let U=Q(O.prompt);if(!U)return{ok:!1,reason:"has no prompt field"};let{body:Y,rewritten:H}=iO(U,"handlebars"),R=Q(O.description),B=nO(Y);if(H)B.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:pO(I),name:kI(I),markdown:lO(R?{description:R}:{},Y),notes:B}}}var fO,fU,mU,dU,xU,mO,cI,dO;var YI=J(()=>{w();oI();fO=LI(DI(),1),fU=/\{\{\s*args\s*\}\}/g,mU=/!\{[^}]*\}/,dU=/@\{[^}]*\}/,xU=/(^|\/)\.\.(\/|$)/,mO={keepKeys:["description","argument-hint"],args:"claude"},cI={keepKeys:["description"],args:"handlebars"},dO={keepKeys:["description"],args:"claude"}});function pU(I,O){let L=I.slice(0,O).split(/\r?\n/);return[L.length,L.pop().length+1]}function lU(I,O,L){let U=I.split(/\r?\n/),Y="",H=(Math.log10(O+1)|0)+1;for(let R=O-1;R<=O+1;R++){let B=U[R-1];if(!B)continue;if(Y+=R.toString().padEnd(H," "),Y+=": ",Y+=B,Y+=`
14
+ `,R===O)Y+=" ".repeat(H+L+2),Y+=`^
15
+ `}return Y}var X;var n=J(()=>{/*!
16
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ *
19
+ * Redistribution and use in source and binary forms, with or without
20
+ * modification, are permitted provided that the following conditions are met:
21
+ *
22
+ * 1. Redistributions of source code must retain the above copyright notice, this
23
+ * list of conditions and the following disclaimer.
24
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
25
+ * this list of conditions and the following disclaimer in the
26
+ * documentation and/or other materials provided with the distribution.
27
+ * 3. Neither the name of the copyright holder nor the names of its contributors
28
+ * may be used to endorse or promote products derived from this software without
29
+ * specific prior written permission.
30
+ *
31
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
32
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
35
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
+ */X=class X extends Error{line;column;codeblock;constructor(I,O){let[L,U]=pU(O.toml,O.ptr),Y=lU(O.toml,L,U);super(`Invalid TOML document: ${I}
42
+
43
+ ${Y}`,O);this.line=L,this.column=U,this.codeblock=Y}static x(I,O,L){throw new X(I,{toml:O.s,ptr:L??O.p})}}});function vI(I){let O=I.p,L=I.s.charCodeAt(I.p++),U=L,Y=L===39,H=L===I.s.charCodeAt(I.p)&&L===I.s.charCodeAt(I.p+1);if(H){if((L=I.s.charCodeAt(I.p+=2))===10)I.p++;else if(L===13&&I.s.charCodeAt(I.p+1)===10)I.p+=2}let R="",B=I.p,G=0;for(;I.p<I.s.length;I.p++)if(L=I.s.charCodeAt(I.p),H&&(L===10||L===13&&I.s.charCodeAt(I.p+1)===10))G=G&&3;else if(L<32&&L!==9||L===127)X.x("control characters are not allowed in strings",I);else if((!G||G===3)&&L===U&&(!H||I.s.charCodeAt(I.p+1)===U&&I.s.charCodeAt(I.p+2)===U)){if(H){if(I.s.charCodeAt(I.p+3)===U)I.p++;if(I.s.charCodeAt(I.p+3)===U)I.p++}if(!G){let N=I.s.slice(B,I.p);R=R?R+N:N}return I.p+=H?3:1,R}else if(!G){if(!Y&&L===92)R+=I.s.slice(B,B=I.p),G=1}else if(G===1)if(L===120||L===117||L===85){let N=I.p++-1,$=0,q=L===120?2:L===117?4:8;for(let W=0;W<q;W++,I.p++){let A=I.s.charCodeAt(I.p),l=A>=48&&A<=57?A-48:A>=65&&A<=70?A-65+10:A>=97&&A<=102?A-97+10:-1;if(l<0)X.x("invalid non-hex character in unicode escape",I);$=$<<4|l}if($<0||$>1114111||$>=55296&&$<=57343)X.x("invalid unicode escape",I,N);R+=String.fromCodePoint($),B=I.p--,G=0}else if(H&&(L===32||L===9))G=2;else{if(L===98)R+="\b";else if(L===116)R+="\t";else if(L===110)R+=`
44
+ `;else if(L===102)R+="\f";else if(L===114)R+="\r";else if(L===101)R+="\x1B";else if(L===34)R+='"';else if(L===92)R+="\\";else X.x("unrecognised escape sequence",I);B=I.p+1,G=0}else if(L!==32&&L!==9){if(G===2)X.x("invalid escape: only line-ending whitespace may be escaped",I,B);G=!Y&&L===92?1:0,B=I.p}X.x("unfinished string",I,O)}var rI=J(()=>{n();/*!
45
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
46
+ * SPDX-License-Identifier: BSD-3-Clause
47
+ *
48
+ * Redistribution and use in source and binary forms, with or without
49
+ * modification, are permitted provided that the following conditions are met:
50
+ *
51
+ * 1. Redistributions of source code must retain the above copyright notice, this
52
+ * list of conditions and the following disclaimer.
53
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
54
+ * this list of conditions and the following disclaimer in the
55
+ * documentation and/or other materials provided with the distribution.
56
+ * 3. Neither the name of the copyright holder nor the names of its contributors
57
+ * may be used to endorse or promote products derived from this software without
58
+ * specific prior written permission.
59
+ *
60
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
61
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
62
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
63
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
64
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
65
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
66
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
67
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
68
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
69
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
70
+ */});var iU,m;var aI=J(()=>{/*!
71
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
72
+ * SPDX-License-Identifier: BSD-3-Clause
73
+ *
74
+ * Redistribution and use in source and binary forms, with or without
75
+ * modification, are permitted provided that the following conditions are met:
76
+ *
77
+ * 1. Redistributions of source code must retain the above copyright notice, this
78
+ * list of conditions and the following disclaimer.
79
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
80
+ * this list of conditions and the following disclaimer in the
81
+ * documentation and/or other materials provided with the distribution.
82
+ * 3. Neither the name of the copyright holder nor the names of its contributors
83
+ * may be used to endorse or promote products derived from this software without
84
+ * specific prior written permission.
85
+ *
86
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
87
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
88
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
89
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
90
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
91
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
92
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
93
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
94
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
95
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
96
+ */iU=/^(\d{4}-\d{2}-\d{2})?[Tt ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|z|[-+]\d{2}:\d{2})?$/i;m=class m extends Date{#O=!1;#L=!1;#I=null;constructor(I,O,L){let U=!0,Y=!0,H="Z",R;if(typeof I==="string")if(O)I:{if(O<3){if(+I.slice(11,13)>23){I="";break I}if(O===2)H=null,I+="Z";else if((R=I.charCodeAt(I.length-1))!==90&&R!==122)H=I.slice(I.length-6);if(L)I=I.slice(0,10)+"T"+I.slice(11)}else if(O===4)I=+I.slice(0,2)>23?"":`0000-01-01T${I}Z`;U=O!==4,Y=O!==3}else{let B=I.match(iU);if(B){if(!B[1])U=!1,I=`0000-01-01T${I}`;if(Y=!!B[2],Y&&I[10]===" "&&(I=I.replace(" ","T")),B[2]&&+B[2]>23)I="";else if(H=B[3]||null,!H&&Y)I+="Z"}else I=""}super(I);if(!isNaN(this.getTime()))this.#O=U,this.#L=Y,this.#I=H}isDateTime(){return this.#O&&this.#L}isLocal(){return!this.#O||!this.#L||!this.#I}isDate(){return this.#O&&!this.#L}isTime(){return this.#L&&!this.#O}isValid(){return this.#O||this.#L}toISOString(){let I=super.toISOString();if(this.isDate())return I.slice(0,10);if(this.isTime())return I.slice(11,23);if(this.#I===null)return I.slice(0,-1);if(this.#I==="Z"||this.#I==="z")return I;let O=+this.#I.slice(1,3)*60+ +this.#I.slice(4,6);return O=this.#I[0]==="-"?O:-O,new Date(this.getTime()-O*60000).toISOString().slice(0,-1)+this.#I}static wrapAsOffsetDateTime(I,O="Z"){let L=new m(I);return L.#I=O,L}static wrapAsLocalDateTime(I){let O=new m(I);return O.#I=null,O}static wrapAsLocalDate(I){let O=new m(I);return O.#L=!1,O.#I=null,O}static wrapAsLocalTime(I){let O=new m(I);return O.#O=!1,O.#I=null,O}}});function M(I,O=10){return O===16?I>47&&I<58||I>64&&I<71||I>96&&I<103:I>47&&I<48+O}function tI(I,O){return I===32||I===9||I===10||I===13||O&&(I===O||I===44)||I===35}function WI(I,O){let L=I.p,U=I.s.charCodeAt(I.p);if(U===91||U===123){I.d--||X.x("document contains excessively nested structures. aborting.",I);let Y=U===91?eO(I):aO(I);return I.d++,Y}if(U===34||U===39)return vI(I);if(U===116){if(I.s.charCodeAt(++I.p)!==114||I.s.charCodeAt(++I.p)!==117||I.s.charCodeAt(++I.p)!==101)X.x("invalid value",I,L);return I.p++,!0}if(U===102){if(I.s.charCodeAt(++I.p)!==97||I.s.charCodeAt(++I.p)!==108||I.s.charCodeAt(++I.p)!==115||I.s.charCodeAt(++I.p)!==101)X.x("invalid value",I,L);return I.p++,!1}if(U===43||U===45)return PI(I,I.p,I.s.charCodeAt(++I.p),44-U,O);if(I.s.charCodeAt(I.p+4)===45&&I.s.charCodeAt(I.p+7)===45)return nU(I,U,O);if(I.s.charCodeAt(I.p+2)===58)return oU(I,U,O);return PI(I,I.p,U,0,O)}function PI(I,O,L,U,Y){let H=L,R=0,B=!1;if(H===105){if(I.s.charCodeAt(++I.p)!==110||I.s.charCodeAt(++I.p)!==102)X.x("invalid value",I,O);return I.p++,(U||1)/0}if(H===110){if(I.s.charCodeAt(++I.p)!==97||I.s.charCodeAt(++I.p)!==110)X.x("invalid value",I,O);return I.p++,NaN}if(H===48){if(++I.p>=I.s.length||tI(H=I.s.charCodeAt(I.p),Y))return I.bi===!0?0n:0;if(!U){if(H===120)return eI(I,O,16,Y);else if(H===98)return eI(I,O,2,Y);else if(H===111)return eI(I,O,8,Y)}if(H===46)R=2;else if(H===101||H===69)R=4;else X.x("illegal leading zero",I,O)}else if(!M(H))X.x("invalid value",I,O);while(++I.p<I.s.length&&(H=I.s.charCodeAt(I.p),!tI(H,Y))){if(!R)R=1;if(H===95){if(!(R&1))X.x("illegal underscore",I);R+=11,B=!0}else if(R===1&&H===46)R=2;else if((R===1||R===3)&&(H===101||H===69))R=4;else if(R===4&&(H===43||H===45));else if(!M(H))X.x("illegal character in numeric literal",I);else if(R>9)R-=11;else if(!(R&1))R++}if(!R){let N=(L-48)*(U||1);return I.bi===!0?BigInt(N):N}if(!(R&1))X.x("unfinished numeric value",I,O);let G=I.s.slice(O,I.p);if(B)G=G.replaceAll("_","");return R>1?parseFloat(G):rO(I,G,10,O)}function eI(I,O,L,U){let Y,H=1;while(++I.p<I.s.length&&(Y=I.s.charCodeAt(I.p),!tI(Y,U)))if(Y===95){if(H&1)X.x("illegal underscore",I);H=3}else if(!M(Y,L))X.x("illegal character in numeric literal",I);else if(H&1)H--;if(H&1)X.x("unfinished numeric value",I);let R=I.s.slice(O+2,I.p);if(H)R=R.replaceAll("_","");return rO(I,R,L,O)}function rO(I,O,L,U){if(I.bi!==!0)I:{let Y=parseInt(O,L);if(!Number.isSafeInteger(Y)){if(I.bi)break I;X.x("integer value cannot be represented losslessly",I,U)}return Y}return L===10?BigInt(O):BigInt((L===2?"0b":L===8?"0o":"0x")+O)}function nU(I,O,L){let U=I.p++,Y;if(!M(O)||!M(I.s.charCodeAt(I.p++))||!M(I.s.charCodeAt(I.p++))||!M(I.s.charCodeAt(I.p++)))return PI(I,I.p=U,O,0,L);if(I.p+=5,!M(I.s.charCodeAt(I.p++)))X.x("invalid date-time: date part is malformed",I,U);if(I.p>=I.s.length||((O=I.s.charCodeAt(I.p))!==32||(Y=!0,!M(I.s.charCodeAt(I.p+1))))&&O!==84&&O!==116){let R=I.s.slice(U,I.p);return qI(I,R,3,!1,U)}if(I.s.charCodeAt(I.p+=3)!==58)X.x("invalid date-time: time part is malformed",I,U);if(I.s.charCodeAt(I.p+=3)===58)I.p+=3;if(I.s.charCodeAt(I.p)===46)while(M(I.s.charCodeAt(++I.p)));if(O=I.s.charCodeAt(I.p)){if(O===90||O===122){let R=I.s.slice(U,++I.p);return qI(I,R,1,Y,U,"[+00:00]")}if(O===43||O===45){let R=I.s.slice(U,I.p+=6);return qI(I,R,1,Y,U,!I.ld&&"["+I.s.slice(I.p-6,I.p)+"]")}}let H=I.s.slice(U,I.p);return qI(I,H,2,Y,U)}function oU(I,O,L){let U=I.p;if(!M(O)||!M(I.s.charCodeAt(++I.p)))return PI(I,--I.p,O,0,L);if(I.s.charCodeAt(I.p+=4)===58)I.p+=3;if(I.s.charCodeAt(I.p)===46)while(M(I.s.charCodeAt(++I.p)));let Y=I.s.slice(U,I.p);return qI(I,Y,4,!1,U)}function qI(I,O,L,U,Y,H){if(I.ld){let R=new m(O,L,U);if(!R.isValid())X.x("invalid date",I,Y);return R}try{if(H)O+=H;switch(L){case 1:return Temporal.ZonedDateTime.from(O);case 2:return Temporal.PlainDateTime.from(O);case 3:return Temporal.PlainDate.from(O);case 4:return Temporal.PlainTime.from(O)}}catch(R){X.x(R instanceof Error?R.message:""+R,I,Y)}}var IO=J(()=>{rI();OO();n();aI();/*!
97
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
98
+ * SPDX-License-Identifier: BSD-3-Clause
99
+ *
100
+ * Redistribution and use in source and binary forms, with or without
101
+ * modification, are permitted provided that the following conditions are met:
102
+ *
103
+ * 1. Redistributions of source code must retain the above copyright notice, this
104
+ * list of conditions and the following disclaimer.
105
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
106
+ * this list of conditions and the following disclaimer in the
107
+ * documentation and/or other materials provided with the distribution.
108
+ * 3. Neither the name of the copyright holder nor the names of its contributors
109
+ * may be used to endorse or promote products derived from this software without
110
+ * specific prior written permission.
111
+ *
112
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
113
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
114
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
115
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
116
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
117
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
118
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
119
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
120
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
121
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122
+ */});function sU(I){for(;I.p<I.s.length;I.p++){let O=I.s.charCodeAt(I.p);if(O===10)break;if(O===13&&I.s.charCodeAt(I.p+1)===10){I.p++;break}if(O<32&&O!==9||O===127)X.x("control characters are not allowed in comments",I)}}function T(I,O,L){let U;while(I.p<I.s.length){while(I.p<I.s.length&&((U=I.s.charCodeAt(I.p))===32||U===9||!O&&(U===10||U===13&&I.s.charCodeAt(I.p+1)===10)))I.p++;if(L||U!==35)break;sU(I)}}var LO=J(()=>{n();/*!
123
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
124
+ * SPDX-License-Identifier: BSD-3-Clause
125
+ *
126
+ * Redistribution and use in source and binary forms, with or without
127
+ * modification, are permitted provided that the following conditions are met:
128
+ *
129
+ * 1. Redistributions of source code must retain the above copyright notice, this
130
+ * list of conditions and the following disclaimer.
131
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
132
+ * this list of conditions and the following disclaimer in the
133
+ * documentation and/or other materials provided with the distribution.
134
+ * 3. Neither the name of the copyright holder nor the names of its contributors
135
+ * may be used to endorse or promote products derived from this software without
136
+ * specific prior written permission.
137
+ *
138
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
139
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
140
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
141
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
142
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
143
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
144
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
145
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
146
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
147
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
148
+ */});function jI(I,O=61){let L,U=0,Y=[],H,R=I.s.charCodeAt(L=I.p);do if(R===O){if(!U)X.x("unexpected end of key",I);if(U===1)Y.push(I.s.slice(H,I.p));return I.p++,Y}else if(R===46){if(!U)X.x("illegal empty bare key",I);if(U===1)Y.push(I.s.slice(H,I.p));U=0}else if(!U&&(R===34||R===39)){if(R===I.s.charCodeAt(I.p+1)&&R===I.s.charCodeAt(I.p+2))X.x("illegal quoted key: multiline strings are not allowed",I);Y.push(vI(I)),U=2,I.p--}else if(R===32||R===9){if(U===1)Y.push(I.s.slice(H,I.p)),U=2}else if(U===2||R<48&&R!==45||R>57&&R<65||R>90&&R<97&&R!==95||R>122)X.x("illegal character in key",I);else if(!U)U=1,H=I.p;while(R=I.s.charCodeAt(++I.p));X.x("incomplete key-value: cannot find end of key",I,L)}function aO(I){let O=I.p++,L=Object.create(null),U=new Set,Y;while(I.p<I.s.length){if(T(I),(Y=I.s.charCodeAt(I.p))===125)return I.p++,L;let H,R=L,B=!1,G=I.p,N=jI(I);for(let q=0;q<N.length;q++){if(q)R=B?R[H]:R[H]=Object.create(null);if(H=N[q],(B=Object.hasOwn(R,H))&&(typeof R[H]!=="object"||U.has(R[H])))X.x("trying to redefine an already defined value",I,G);let W=H==="__proto__";if(I.uk&&(W||H==="constructor")){R=I.uk!==1&&X.x("document contains an unsafe property",I,G);break}if(!B&&W)Object.defineProperty(R,H,{enumerable:!0,configurable:!0,writable:!0})}if(B)X.x("trying to redefine an already defined value",I,G);T(I,!0,!0);let $=WI(I,125);if(R&&typeof(R[H]=$)==="object")U.add($);if(T(I),(Y=I.s.charCodeAt(I.p++))===125)return L;if(Y!==44)X.x("expected comma or end of structure",I,I.p-1)}X.x("unfinished table",I,O)}function eO(I){let O=I.p++,L=[],U;while(I.p<I.s.length){if(T(I),(U=I.s.charCodeAt(I.p))===93)return I.p++,L;if(L.push(WI(I,93)),T(I),(U=I.s.charCodeAt(I.p++))===93)return L;if(U!==44)X.x("expected comma or end of structure",I,I.p-1)}X.x("unfinished array",I,O)}var OO=J(()=>{rI();IO();LO();n();/*!
149
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
150
+ * SPDX-License-Identifier: BSD-3-Clause
151
+ *
152
+ * Redistribution and use in source and binary forms, with or without
153
+ * modification, are permitted provided that the following conditions are met:
154
+ *
155
+ * 1. Redistributions of source code must retain the above copyright notice, this
156
+ * list of conditions and the following disclaimer.
157
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
158
+ * this list of conditions and the following disclaimer in the
159
+ * documentation and/or other materials provided with the distribution.
160
+ * 3. Neither the name of the copyright holder nor the names of its contributors
161
+ * may be used to endorse or promote products derived from this software without
162
+ * specific prior written permission.
163
+ *
164
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
165
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
166
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
167
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
168
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
169
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
170
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
171
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
172
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
173
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
174
+ */});function tO(I,O,L,U,Y){let H=L,R=U,B,G=!1,N;for(let $=0;$<O.length;$++){if($){if(H=G?H[B]:H[B]=Object.create(null),R=(N=R[B]).c,Y===0&&(N.t===1||N.t===2))return null;if(N.t===2){let q=H.length-1;H=H[q],R=R[q].c}}if(B=O[$],(G=Object.hasOwn(H,B))&&R[B]?.t===0&&R[B]?.d)return null;if(!G){let q=B==="__proto__";if(I.uk&&(q||B==="constructor"))return!1;if(q)Object.defineProperty(H,B,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(R,B,{enumerable:!0,configurable:!0,writable:!0});R[B]={t:$<O.length-1&&Y===2?3:Y,d:!1,i:0,c:Object.create(null)}}}if(N=R[B],N.t!==Y&&!(Y===1&&N.t===3))return null;if(Y===2){if(!N.d)N.d=!0,H[B]=[];H[B].push(H=Object.create(null)),N.c[N.i++]=N={t:1,d:!1,i:0,c:Object.create(null)}}if(N.d)return null;if(N.d=!0,Y===1)H=G?H[B]:H[B]=Object.create(null);else if(Y===0&&G)return null;return[B,H,N.c]}function IL(I,O,L){if(O===null||I.uk===2)X.x(O===null?"trying to redefine an already defined table or value":"document contains an unsafe property",I,L)}function UO(I,O={}){let L={s:I,p:0,d:O.maxDepth??1000,bi:O.integersAsBigInt??!1,ld:O.useLegacyDate??!0,uk:O.unsafeKeyBehaviour==="throw"?2:O.unsafeKeyBehaviour==="drop"?1:0},U=Object.create(null),Y=Object.create(null),H,R=!1,B=U,G=Y;if(I.charCodeAt(0)===65279)L.p++;T(L);while(L.p<I.length){if(I.charCodeAt(L.p)===91){let N=I.charCodeAt(++L.p)===91;H=L.p+=+N,R=!1;let $=jI(L,93);if(N){if(I.charCodeAt(L.p)!==93)X.x("expected end of table array declaration",L);L.p++}let q=tO(L,$,U,Y,N?2:1);if(!q)IL(L,q,H),R=!0;else G=q[2],B=q[1]}else{H=L.p;let N=jI(L),$=tO(L,N,B,G,0);if(!$&&!R)IL(L,$,H);T(L,!0,!0);let q=WI(L,void 0);if($&&!R)$[1][$[0]]=q}if(T(L,!0),L.p<I.length&&(H=I.charCodeAt(L.p))!==10&&(H!==13||I.charCodeAt(L.p+1)!==10))X.x("each key-value declaration must be followed by an end-of-line",L);T(L)}return U}var OL=J(()=>{OO();IO();LO();n();/*!
175
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
176
+ * SPDX-License-Identifier: BSD-3-Clause
177
+ *
178
+ * Redistribution and use in source and binary forms, with or without
179
+ * modification, are permitted provided that the following conditions are met:
180
+ *
181
+ * 1. Redistributions of source code must retain the above copyright notice, this
182
+ * list of conditions and the following disclaimer.
183
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
184
+ * this list of conditions and the following disclaimer in the
185
+ * documentation and/or other materials provided with the distribution.
186
+ * 3. Neither the name of the copyright holder nor the names of its contributors
187
+ * may be used to endorse or promote products derived from this software without
188
+ * specific prior written permission.
189
+ *
190
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
191
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
192
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
193
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
194
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
195
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
196
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
197
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
198
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
199
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
200
+ */});var AY;var LL=J(()=>{/*!
201
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
202
+ * SPDX-License-Identifier: BSD-3-Clause
203
+ *
204
+ * Redistribution and use in source and binary forms, with or without
205
+ * modification, are permitted provided that the following conditions are met:
206
+ *
207
+ * 1. Redistributions of source code must retain the above copyright notice, this
208
+ * list of conditions and the following disclaimer.
209
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
210
+ * this list of conditions and the following disclaimer in the
211
+ * documentation and/or other materials provided with the distribution.
212
+ * 3. Neither the name of the copyright holder nor the names of its contributors
213
+ * may be used to endorse or promote products derived from this software without
214
+ * specific prior written permission.
215
+ *
216
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
217
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
218
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
219
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
220
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
221
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
222
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
223
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
224
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
225
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
226
+ */AY=!!"".isWellFormed});var UL=J(()=>{OL();LL();aI();n();/*!
227
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
228
+ * SPDX-License-Identifier: BSD-3-Clause
229
+ *
230
+ * Redistribution and use in source and binary forms, with or without
231
+ * modification, are permitted provided that the following conditions are met:
232
+ *
233
+ * 1. Redistributions of source code must retain the above copyright notice, this
234
+ * list of conditions and the following disclaimer.
235
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
236
+ * this list of conditions and the following disclaimer in the
237
+ * documentation and/or other materials provided with the distribution.
238
+ * 3. Neither the name of the copyright holder nor the names of its contributors
239
+ * may be used to endorse or promote products derived from this software without
240
+ * specific prior written permission.
241
+ *
242
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
243
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
244
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
245
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
246
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
247
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
248
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
249
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
250
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
251
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
252
+ */});import{readFileSync as aU}from"fs";function BL(I){return I instanceof Error?I.message:String(I)}function o(I){try{return{ok:!0,value:aU(I,"utf8")}}catch(O){if(YL(O))return{ok:!1,reason:"missing",message:`${I} does not exist`};return{ok:!1,reason:"unreadable",message:`${I}: ${BL(O)}`}}}function yI(I,O){let L=o(I);if(!L.ok)return L;let U;try{U=O(L.value)}catch(H){return{ok:!1,reason:"invalid",message:`${I}: ${BL(H)}`}}let Y=z(U);if(!Y)return{ok:!1,reason:"invalid",message:`${I}: expected an object at the top level`};return{ok:!0,value:Y}}function v(I){return yI(I,(O)=>JSON.parse(O))}function GL(I){return yI(I,(O)=>{let L=[],U=RL(O,L,{allowTrailingComma:!0});if(L.length>0)throw Error(`${L.length} JSONC parse error(s)`);return U})}function s(I){return yI(I,(O)=>UO(O))}function NL(I){return yI(I,(O)=>HL.parse(O))}var HL;var d=J(()=>{rU();UL();w();cU();HL=LI(DI(),1)});function I0(I){return I.replace(/\.mdc?$/i,"").split("/").join("-").toLowerCase().replace(eU,"-").replace(tU,"")}function O0(I){let O=c(I);if(O)return O.map((U)=>U.trim()).filter((U)=>U.length>0);let L=Q(I);if(!L)return[];return L.split(",").map((U)=>U.trim()).filter((U)=>U.length>0)}function QL(I,O){let L=I0(I);if(!L)return{ok:!1,reason:"filename yields an empty rule name"};let{frontmatter:U,content:Y}=UI(O);if(Y.trim().length===0)return{ok:!1,reason:"has no body"};let H=$L(U.alwaysApply)===!0,R=O0(U.globs),B=Q(U.description);if(!H&&R.length===0)return{ok:!1,reason:B?'is a Cursor "Agent Requested" rule (a description with no globs), which has no Claudin equivalent — a skill is the closest fit':'is a Cursor "Manual" rule (no globs, no alwaysApply), which is only ever loaded by an explicit @-mention'};let G=[],N=H?void 0:R;if(H)G.push(R.length>0?"alwaysApply overrides its globs — imported unconditional, so it loads every turn":"imported unconditional, so it loads every turn");else G.push("globs translated to paths");if(B)G.push("description moved into the body — rules take no other frontmatter");let $=B?`${B}
253
+
254
+ ${Y.trim()}`:Y.trim(),q=N?`---
255
+ ${XL.stringify({paths:N}).trimEnd()}
256
+ ---
257
+
258
+ ${$}
259
+ `:`${$}
260
+ `;return{ok:!0,rule:{name:L,relativePath:`${L}.md`,markdown:q,...N?{paths:N}:{},notes:G}}}var XL,eU,tU;var ZL=J(()=>{w();oI();XL=LI(DI(),1),eU=/[^a-z0-9]+/g,tU=/^-+|-+$/g});import{join as D}from"path";function zI(I,O){return O==="user"?I.claudinHomeDir:D(I.cwd,".claudin")}function bI(I,O){return D(zI(I,O),"commands")}function YO(I,O){return D(zI(I,O),"agents")}function WL(I,O){return D(zI(I,O),"rules")}function JL(I,O){return D(zI(I,O),"skills")}function zL(I,O){return O==="user"?D(I.claudinHomeDir,"CLAUDE.md"):D(I.cwd,"AGENTS.md")}function EL(I){return[D(I.cwd,"AGENTS.md"),D(I.cwd,"CLAUDE.md")]}function VL(I,O){return D(zI(I,O),"settings.json")}function KL(I){return D(I.claudinHomeDir,`config${JI()}.json`)}var RO=J(()=>{qL()});function Z(){return{artifacts:[],notImportable:[],warnings:[]}}function C(I){return{artifacts:I.flatMap((O)=>O.artifacts),notImportable:I.flatMap((O)=>O.notImportable),warnings:I.flatMap((O)=>O.warnings)}}var y=()=>{};import{join as F}from"path";import{existsSync as HO,readdirSync as L0,statSync as U0}from"fs";function P(I,O,L){return{agent:I.agent,scope:I.scope,source:O,destination:L,status:"new"}}function V(I,O,L,U){I.warnings.push(`${L} (${O}): ${U}`)}function _(I,O,L,U){let Y=Z();for(let[H,R]of Object.entries(L)){let B=U(R);if(!B.ok){V(Y,O,`MCP server "${H}"`,B.reason);continue}if(B.note)V(Y,O,`MCP server "${H}"`,B.note);Y.artifacts.push({...P(I,O,Y0(I)),kind:"mcpServer",name:H,config:B.config})}return Y}function Y0(I){return I.scope==="user"?"user MCP config":"project MCP config (private)"}function r(I,O,L){let U=Z(),Y=bI(I.ctx,I.scope);for(let H of RI(O,[".md"])){let R=F(O,H),B=o(R);if(!B.ok){V(U,R,"command",B.message);continue}let G=sO(H,B.value,L);if(!G.ok){V(U,R,"command",G.reason);continue}for(let N of G.command.notes)V(U,R,`command "${G.command.name}"`,N);U.artifacts.push({...P(I,R,F(Y,G.command.relativePath)),kind:"command",name:G.command.name,markdown:G.command.markdown})}return U}function BO(I,O){let L=Z(),U=bI(I.ctx,I.scope);for(let Y of RI(O,[".toml"])){let H=F(O,Y),R=s(H);if(!R.ok){V(L,H,"command",R.message);continue}let B=cO(Y,R.value);if(!B.ok){V(L,H,"command",B.reason);continue}for(let G of B.command.notes)V(L,H,`command "${B.command.name}"`,G);L.artifacts.push({...P(I,H,F(U,B.command.relativePath)),kind:"command",name:B.command.name,markdown:B.command.markdown})}return L}function EI(I,O,L){let U=Z(),Y=YO(I.ctx,I.scope);for(let H of RI(O,[".md",".yaml",".yml"])){let R=F(O,H),B=H.endsWith(".yaml")||H.endsWith(".yml"),G;if(B){let N=NL(R);if(!N.ok){V(U,R,"agent",N.message);continue}G=gO(H,N.value,L)}else{let N=o(R);if(!N.ok){V(U,R,"agent",N.message);continue}G=uO(H,N.value,L)}if(!G.ok){V(U,R,"agent",G.reason);continue}for(let N of G.agent.notes)V(U,R,`agent "${G.agent.name}"`,N);U.artifacts.push({...P(I,R,F(Y,G.agent.relativePath)),kind:"agent",name:G.agent.name,markdown:G.agent.markdown})}return U}function AL(I,O){let L=Z(),U=WL(I.ctx,I.scope);for(let Y of RI(O,[".mdc"])){let H=F(O,Y),R=o(H);if(!R.ok){V(L,H,"rule",R.message);continue}let B=QL(Y,R.value);if(!B.ok){V(L,H,"rule",B.reason);continue}for(let G of B.rule.notes)V(L,H,`rule "${B.rule.name}"`,G);L.artifacts.push({...P(I,H,F(U,B.rule.relativePath)),kind:"rule",name:B.rule.name,markdown:B.rule.markdown})}return L}function b(I,O){let L=Z(),U=o(O);if(!U.ok){if(U.reason!=="missing")V(L,O,"instructions",U.message);return L}if(U.value.trim().length===0)return L;return L.artifacts.push({...P(I,O,zL(I.ctx,I.scope)),kind:"instructions",text:U.value}),L}function a(I,O){let L=Z();if(!HO(O))return L;let U=JL(I.ctx,I.scope),Y;try{Y=L0(O).sort()}catch{return L}for(let H of Y){let R=F(O,H);try{if(!U0(R).isDirectory())continue}catch{continue}if(!HO(F(R,"SKILL.md")))continue;L.artifacts.push({...P(I,R,F(U,H)),kind:"skillDir",name:H,sourceDir:R})}return L}function ML(I,O,L,U){let Y=Z(),H=Array.isArray(L)?L.length:0,R=Array.isArray(U)?U.length:0;if(H+R===0)return Y;return Y.notImportable.push({agent:I,label:"permissions",detail:`${H} allow, ${R} deny in ${O} — rule syntax differs, see /permissions`}),Y}function GO(I,O,L){let U=Z(),Y=L==="command"?bI(I.ctx,I.scope):YO(I.ctx,I.scope);for(let H of RI(O,[".md"])){let R=F(O,H),B=o(R);if(!B.ok){V(U,R,L,B.message);continue}if(B.value.trim().length===0)continue;let G=L==="command"?kI(H):QI(H);if(!G)continue;U.artifacts.push({...P(I,R,F(Y,L==="command"?H:`${G}.md`)),kind:L,name:G,markdown:B.value})}return U}function CL(I,O,L,U){let Y=Z(),H=VL(I.ctx,I.scope);for(let R of U){let B=L[R];if(B===void 0||B===null)continue;Y.artifacts.push({...P(I,O,H),kind:"settingsKey",key:R,value:B})}return Y}function x(I,O,L){let U=Z();if(!L.baseUrl&&!L.model)return U;return U.artifacts.push({...P(I,O,KL(I.ctx)),kind:"providerHint",...L}),U}function VI(I){for(let O of I)if(HO(O))return O;return null}function k(I,O){return z(I[O])}var e=J(()=>{ZI();YI();d();ZL();w();RO();y();ZI();YI();nI()});function hI(I){return I}function N0(I){return I.replace(H0,"${$1}")}function KI(I){return I.replace(B0,"${$1}")}function t(I,O){if(!I)return;let L=Object.entries(I);if(L.length===0)return;return Object.fromEntries(L.map(([U,Y])=>[U,O(Y)]))}function _L(I,O){let L=FL().safeParse(I);if(!L.success)return{ok:!1,reason:L.error.issues.slice(0,3).map((Y)=>Y.message).join("; ")||"does not match any known transport"};return O?{ok:!0,config:L.data,note:O}:{ok:!0,config:L.data}}function uI(I,O,L){return _L({type:"stdio",command:I,args:O??[],...L?{env:L}:{}})}function HI(I,O,L,U){return _L({type:I,url:O,...L?{headers:L}:{}},U)}function AI(I){return wL(I,hI)}function SL(I){return wL(I,N0)}function wL(I,O){let L=z(I);if(!L)return{ok:!1,reason:"entry is not an object"};let U=Q(L.type),Y=Q(L.url);if(Y){let B=t(h(L.headers),O);if(U==="sse")return HI("sse",O(Y),B);if(U==="http"||U===null)return HI("http",O(Y),B,U===null?"no transport declared — imported as streamable HTTP":void 0);return{ok:!1,reason:`unsupported transport "${U}"`}}let H=Q(L.command);if(!H)return{ok:!1,reason:"has neither command nor url"};let R=c(L.args??[]);if(!R)return{ok:!1,reason:"args is not a list of strings"};return uI(O(H),R.map(O),t(h(L.env),O))}function TL(I){let O=z(I);if(!O)return{ok:!1,reason:"entry is not an object"};let L=t(h(O.headers),hI),U=Q(O.httpUrl);if(U)return HI("http",U,L);let Y=Q(O.url);if(Y)return HI("sse",Y,L);let H=Q(O.command);if(!H)return{ok:!1,reason:"has none of httpUrl, url or command"};let R=c(O.args??[]);if(!R)return{ok:!1,reason:"args is not a list of strings"};return uI(H,R,t(h(O.env),hI))}function DL(I){let O=z(I);if(!O)return{ok:!1,reason:"entry is not an object"};let L=Q(O.url);if(L){let H={...h(O.http_headers)??{}},R=Q(O.bearer_token_env_var);if(R&&!("Authorization"in H))H.Authorization=`Bearer \${${R}}`;return HI("http",L,Object.keys(H).length>0?H:void 0)}let U=Q(O.command);if(!U)return{ok:!1,reason:"has neither command nor url"};let Y=c(O.args??[]);if(!Y)return{ok:!1,reason:"args is not a list of strings"};return uI(U,Y,t(h(O.env),hI))}function kL(I){let O=z(I);if(!O)return{ok:!1,reason:"entry is not an object"};if(O.enabled===!1)return{ok:!1,reason:"disabled in the opencode config"};if(Q(O.type)==="remote"){let N=Q(O.url);if(!N)return{ok:!1,reason:"remote entry has no url"};return HI("http",KI(N),t(h(O.headers),KI))}let U=c(O.command);if(!U)return{ok:!1,reason:"command is not a list of strings"};let Y=U[0];if(Y===void 0)return{ok:!1,reason:"command is empty"};let H=U.slice(1),R=t(h(O.environment),KI),B=U.some((N)=>G0.test(N)),G=uI(KI(Y),H.map(KI),R);if(G.ok&&B)return{...G,note:"uses opencode’s {file:…} substitution, which Claudin does not expand"};return G}var H0,B0,G0;var II=J(()=>{R0();w();H0=/\$\{env:([^}]+)\}/g,B0=/\{env:([^}]+)\}/g,G0=/\{file:[^}]+\}/});import{join as S}from"path";function vL(I,O){let L=S(O,"settings.json"),U=v(L),Y=[];if(U.ok){let H=k(U.value,"mcpServers");if(H)Y.push(_(I,L,H,AI));Y.push(CL(I,L,U.value,$0))}else if(U.reason!=="missing"){let H=Z();H.warnings.push(U.message),Y.push(H)}return Y.push(GO(I,S(O,"commands"),"command")),Y.push(GO(I,S(O,"agents"),"agent")),Y.push(a(I,S(O,"skills"))),C(Y)}function PL(I){return{id:I.id,label:I.label,probePaths:(O)=>[...I.userDirs(O.homeDir).map((L)=>({path:L,scope:"user"})),{path:I.globalConfigFile(O.homeDir),scope:"user"},{path:S(O.cwd,I.projectDirName),scope:"project"}],collect:async(O)=>{let L=[],U={ctx:O,agent:I.id,scope:"user"},Y=VI(I.userDirs(O.homeDir));if(Y){L.push(vL(U,Y)),L.push(b(U,S(Y,"CLAUDE.md")));let G=S(Y,".credentials.json"),N=Z();N.notImportable.push({agent:I.id,label:"credentials",detail:`${G} is never copied by /import — sign in with /provider`}),L.push(N)}let H=I.globalConfigFile(O.homeDir),R=v(H);if(R.ok){let G=k(R.value,"mcpServers");if(G)L.push(_(U,H,G,AI))}let B=S(O.cwd,I.projectDirName);return L.push(vL({ctx:O,agent:I.id,scope:"project"},B)),C(L)}}}var $0,jL,yL;var bL=J(()=>{e();d();II();y();qL();$0=["theme","model","editorMode","verbose","permissions","customApiKeyResponses"];jL=PL({id:"claude",label:"Claude Code",userDirs:(I)=>[S(I,".claude")],globalConfigFile:(I)=>S(I,`.claude${JI()}.json`),projectDirName:".claude"}),yL=PL({id:"openclaude",label:"openclaude",userDirs:(I)=>[S(I,".openclaude"),S(I,".config","openclaude")],globalConfigFile:(I)=>S(I,`.openclaude${JI()}.json`),projectDirName:".openclaude"})});import{join as u}from"path";function hL(I){return I.env.CODEX_HOME??u(I.homeDir,".codex")}function uL(I,O){let L=s(O);if(!L.ok){if(L.reason==="missing")return null;let Y=Z();return Y.warnings.push(L.message),Y}let U=z(L.value.mcp_servers);if(!U)return null;return _(I,O,U,DL)}function X0(I,O){let L=s(O);if(!L.ok)return Z();let U=Q(L.value.model),Y=Q(L.value.model_provider)??"openai",H=z(L.value.model_providers),R=H?z(H[Y]):null,B=(R?Q(R.base_url):null)??(Y==="openai"?"https://api.openai.com/v1":null);if(!B&&!U)return Z();let G=R?Q(R.env_key):null;return x(I,O,{provider:"openai",name:(R?Q(R.name):null)??`${Y} (from Codex)`,baseUrl:B??"",model:U??"",...G?{envKey:G}:{}})}var gL;var fL=J(()=>{e();YI();II();d();w();y();gL={id:"codex",label:"OpenAI Codex",probePaths:(I)=>[{path:hL(I),scope:"user"},{path:u(I.cwd,".codex"),scope:"project"}],collect:async(I)=>{let O=hL(I),L={ctx:I,agent:"codex",scope:"user"},U=u(O,"config.toml"),Y=[],H=uL(L,U);if(H)Y.push(H);Y.push(X0(L,U)),Y.push(b(L,u(O,"AGENTS.md"))),Y.push(r(L,u(O,"prompts"),mO)),Y.push(a(L,u(O,"skills")));let R={ctx:I,agent:"codex",scope:"project"},B=uL(R,u(I.cwd,".codex","config.toml"));if(B)Y.push(B);Y.push(a(R,u(I.cwd,".codex","skills")));let G=Z();return G.notImportable.push({agent:"codex",label:"credentials",detail:`${u(O,"auth.json")} is never copied by /import — sign in with /provider`}),G.notImportable.push({agent:"codex",label:"approval & sandbox policy",detail:"approval_policy and sandbox_mode have no equivalent — see /permissions"}),Y.push(G),C(Y)}}});import{join as OI}from"path";function mL(I){return I.env.CURSOR_CONFIG_DIR??OI(I.homeDir,".cursor")}function dL(I,O){let L=v(O);if(!L.ok){if(L.reason==="missing")return Z();let Y=Z();return Y.warnings.push(L.message),Y}let U=k(L.value,"mcpServers");if(!U)return Z();return _(I,O,U,SL)}var xL;var pL=J(()=>{e();II();d();w();y();xL={id:"cursor",label:"Cursor",probePaths:(I)=>[{path:mL(I),scope:"user"},{path:OI(I.cwd,".cursor"),scope:"project"}],collect:async(I)=>{let O=mL(I),L={ctx:I,agent:"cursor",scope:"user"},U={ctx:I,agent:"cursor",scope:"project"},Y=OI(I.cwd,".cursor"),H=OI(O,"cli-config.json"),R=v(H);return C([dL(L,OI(O,"mcp.json")),dL(U,OI(Y,"mcp.json")),AL(U,OI(Y,"rules")),R.ok?ML("cursor",H,p(R.value,"permissions","allow"),p(R.value,"permissions","deny")):Z()])}}});import{join as K}from"path";function lL(I,O){if(!I)return O;return Q(p(I,"context","fileName"))??Q(I.contextFileName)??O}function iL(I){let O=v(I);if(O.ok)return{settings:O.value,warning:null};return{settings:null,warning:O.reason==="missing"?null:O.message}}function nL(I,O,L,U,Y){let H=[];if(Y){let B=Z();B.warnings.push(Y),H.push(B)}if(!U)return H;let R=k(U,"mcpServers");if(R)H.push(_(I,L,R,TL));if(I.scope==="user"){let B=Q(p(U,"model","name"))??Q(U.model),G=Q(p(U,"model","baseUrl"))??Q(U.baseUrl);if(B||G)H.push(x(I,L,{provider:O.provider,name:`${O.label} (imported)`,baseUrl:G??"",model:B??""}));if(p(U,"security","auth")!==void 0){let N=Z();N.notImportable.push({agent:O.id,label:"auth settings",detail:`security.auth in ${L} selects a sign-in method — use /provider`}),H.push(N)}}return H}function oL(I){return{id:I.id,label:I.label,probePaths:(O)=>[{path:K(O.homeDir,I.dirName),scope:"user"},{path:K(O.cwd,I.dirName),scope:"project"}],collect:async(O)=>{let L=[],U=K(O.homeDir,I.dirName),Y={ctx:O,agent:I.id,scope:"user"},H=K(U,"settings.json"),R=iL(H);L.push(...nL(Y,I,H,R.settings,R.warning));let B=lL(R.settings,I.defaultMemoryFile);if(L.push(b(Y,K(U,B))),L.push(BO(Y,K(U,"commands"))),L.push(r(Y,K(U,"commands"),cI)),I.hasAgents)L.push(EI(Y,K(U,"agents"),sI));if(I.hasSkills)L.push(a(Y,K(U,"skills")));let G=K(O.cwd,I.dirName),N={ctx:O,agent:I.id,scope:"project"},$=K(G,"settings.json"),q=iL($);if(L.push(...nL(N,I,$,q.settings,q.warning)),L.push(BO(N,K(G,"commands"))),L.push(r(N,K(G,"commands"),cI)),I.hasAgents)L.push(EI(N,K(G,"agents"),sI));let W=lL(q.settings??R.settings,I.defaultMemoryFile);return L.push(b(N,K(O.cwd,W))),C(L)}}}var sL,cL;var rL=J(()=>{e();ZI();YI();II();d();w();y();sL=oL({id:"gemini",label:"Gemini CLI",dirName:".gemini",defaultMemoryFile:"GEMINI.md",hasAgents:!1,hasSkills:!1,provider:"gemini"}),cL=oL({id:"qwen",label:"Qwen Code",dirName:".qwen",defaultMemoryFile:"QWEN.md",hasAgents:!0,hasSkills:!0,provider:"openai"})});import{join as MI}from"path";function aL(I){return I.env.KIMI_CODE_HOME??MI(I.homeDir,".kimi")}function Q0(I,O){let L=s(O);if(!L.ok)return Z();let U=z(L.value.providers);if(!U)return Z();for(let[Y,H]of Object.entries(U)){let R=z(H),B=R?Q(R.base_url):null;if(!B)continue;let G=z(L.value.models),N=G?Object.values(G).map(($)=>z($)).find(($)=>$&&Q($.provider)===Y)?.model??null:null;return x(I,O,{provider:"openai",name:`${Y} (from Kimi CLI)`,baseUrl:B,model:Q(N)??""})}return Z()}var eL;var tL=J(()=>{e();II();d();w();y();eL={id:"kimi",label:"Kimi CLI",probePaths:(I)=>[{path:aL(I),scope:"user"}],collect:async(I)=>{let O=aL(I),L={ctx:I,agent:"kimi",scope:"user"},U=[],Y=MI(O,"mcp.json"),H=v(Y);if(H.ok){let B=k(H.value,"mcpServers");if(B)U.push(_(L,Y,B,AI))}else if(H.reason!=="missing"){let B=Z();B.warnings.push(H.message),U.push(B)}U.push(b(L,MI(O,"AGENTS.md"))),U.push(Q0(L,MI(O,"config.toml")));let R=Z();return R.notImportable.push({agent:"kimi",label:"credentials",detail:`${MI(O,"credentials")} is never read by /import — sign in with /provider`}),R.notImportable.push({agent:"kimi",label:"agents",detail:"Kimi agents are YAML files loaded by --agent-file, with no directory to discover them in"}),U.push(R),C(U)}}});import{join as g}from"path";function IU(I){return I.env.OPENCODE_CONFIG_DIR??g(I.env.XDG_CONFIG_HOME??g(I.homeDir,".config"),"opencode")}function OU(I){for(let O of Z0){let L=g(I,O),U=GL(L);if(U.ok)return{path:L,result:U};if(U.reason!=="missing")return{path:L,result:U}}return null}function LU(I,O){if(!O)return[];if(!O.result.ok){let R=Z();return R.warnings.push(O.result.message),[R]}let L=O.result.value,U=[],Y=k(L,"mcp");if(Y)U.push(_(I,O.path,Y,kL));let H=Q(L.model);if(H&&I.scope==="user"){let[R,...B]=H.split("/");U.push(x(I,O.path,{provider:J0[R??""]??"openai",name:`${R??"opencode"} (from opencode)`,baseUrl:"",model:B.join("/")||H}))}if(L.permission!==void 0){let R=Z();R.notImportable.push({agent:"opencode",label:"permissions",detail:`the "permission" block in ${O.path} uses opencode's own syntax — see /permissions`}),U.push(R)}return U}function UU(I,O){let L=VI(q0.map((Y)=>g(O,Y))),U=VI(W0.map((Y)=>g(O,Y)));return[L?r(I,L,dO):Z(),U?EI(I,U,yO):Z()]}var Z0,q0,W0,J0,YU;var RU=J(()=>{e();ZI();YI();II();d();w();y();Z0=["opencode.jsonc","opencode.json"],q0=["commands","command"],W0=["agents","agent"],J0={anthropic:"anthropic",google:"gemini","google-vertex":"gemini",gemini:"gemini",mistral:"mistral"};YU={id:"opencode",label:"opencode",probePaths:(I)=>[{path:IU(I),scope:"user"},{path:g(I.cwd,"opencode.json"),scope:"project"},{path:g(I.cwd,"opencode.jsonc"),scope:"project"},{path:g(I.cwd,".opencode"),scope:"project"}],collect:async(I)=>{let O={ctx:I,agent:"opencode",scope:"user"},L={ctx:I,agent:"opencode",scope:"project"},U=IU(I);return C([...LU(O,OU(U)),...UU(O,U),...LU(L,OU(I.cwd)),...UU(L,g(I.cwd,".opencode"))])}}});function HU(I){return BI.find((O)=>O.id===I)??null}function BU(){return BI.map((I)=>I.label)}var BI;var gI=J(()=>{bL();fL();pL();rL();tL();RU();BI=[jL,yL,gL,sL,cL,YU,eL,xL]});import{homedir as V0}from"os";function $U(I={}){return{homeDir:V0(),cwd:NU(),claudinHomeDir:GU(),env:process.env,...I}}function K0(I){switch(I.kind){case"mcpServer":return`mcpServer:${I.scope}:${I.name}`;case"settingsKey":return`settingsKey:${I.scope}:${I.key}`;case"providerHint":return`providerHint:${I.provider}:${I.baseUrl}:${I.model}`;default:return`${I.kind}:${I.destination}`}}function A0(I,O){let L=new Map;return I.map((U)=>{let Y=K0(U),H=L.get(Y);if(!H)return L.set(Y,U),U;return{...U,status:"conflict",statusReason:`also provided by ${O(H.agent)}, which was selected first`}})}async function XU(I,O){let L=Z(),U=new Map;for(let Y of O){let H=HU(Y);if(!H)continue;U.set(Y,H.label);try{let R=await H.collect(I);L.artifacts.push(...R.artifacts),L.notImportable.push(...R.notImportable),L.warnings.push(...R.warnings)}catch(R){wI(R),L.warnings.push(`${H.label}: could not be read (${R instanceof Error?R.message:String(R)})`)}}return L.artifacts=A0(L.artifacts,(Y)=>U.get(Y)??Y),L}var QU=J(()=>{gI();y();z0();E0();SO()});import{existsSync as M0}from"fs";function ZU(I){let O=[];for(let L of BI){let U=L.probePaths(I).filter((Y)=>M0(Y.path));if(U.length===0)continue;O.push({id:L.id,label:L.label,roots:U})}return O}var qU=J(()=>{gI()});import{existsSync as F0,readFileSync as _0}from"fs";import{basename as WU}from"path";function w0(I,O,L){if(I.status==="conflict")return I;switch(I.kind){case"mcpServer":{if(!L.mcpServerNames(I.scope).has(I.name))return I;return{...I,status:"conflict",statusReason:`an MCP server called "${I.name}" is already configured — see /mcp`}}case"instructions":{let Y=(I.scope==="project"?EL(O):[I.destination]).find(L.fileExists);if(!Y)return I;if(L.readFileIfExists(Y)===I.text)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${WU(Y)} already exists here`}}case"command":case"agent":case"rule":{if(!L.fileExists(I.destination))return I;if(L.readFileIfExists(I.destination)===I.markdown)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${WU(I.destination)} already exists`}}case"skillDir":{if(!L.fileExists(I.destination))return I;return{...I,status:"conflict",statusReason:`a skill called "${I.name}" already exists`}}case"settingsKey":{if(!L.settingsKeys(I.destination).has(I.key))return I;return{...I,status:"conflict",statusReason:`"${I.key}" is already set — see /config`}}case"providerHint":{if(!L.providerProfiles().some((Y)=>Y.baseUrl===I.baseUrl&&Y.model===I.model))return I;return{...I,status:"identical",statusReason:"a provider profile with this base URL and model exists"}}}}function VU(I,O,L=S0){return{...I,artifacts:I.artifacts.map((U)=>w0(U,O,L))}}var S0;var KU=J(()=>{C0();RO();nI();_O();S0={fileExists:F0,readFileIfExists:(I)=>{try{return _0(I,"utf8")}catch{return null}},mcpServerNames:(I)=>new Set(Object.keys((I==="user"?JU().mcpServers:zU().mcpServers)??{})),settingsKeys:(I)=>new Set(Object.keys(TI(I)??{})),providerProfiles:()=>EU().map((I)=>({baseUrl:I.baseUrl,model:I.model}))}});function D0(I){let O=I.trim().toLowerCase().split(/[\s,]+/).filter((L)=>L.length>0);if(O.length===0)return[];return BI.filter((L)=>O.includes(L.id)||O.includes(L.label.toLowerCase())).map((L)=>L.id)}function k0({args:I,onDone:O}){let[L,U]=GI.useState({kind:"loading"});GI.useEffect(()=>{let G=!1;return(async()=>{let N=$U(),$=ZU(N),q=D0(I),W=q.length>0?$.filter((NI)=>q.includes(NI.id)):$;if(W.length===0){O(`No other AI coding agents detected (looked for: ${BU().join(", ")}).`);return}let A=await XU(N,W.map((NI)=>NI.id)),l=VU(A,N),NO=QO(W,l,N.homeDir);if(G)return;if(NO.length===0){let NI=W.map((MU)=>MU.label).join(", ");O(`Found ${NI}, but there is nothing left to import.`);return}U({kind:"selecting",ctx:N,plan:l,entries:NO})})(),()=>{G=!0}},[]);let Y=GI.useCallback(async(G,N,$,q)=>{U({kind:"applying"});let W=await vO(G,N,{overwriteConflicts:$});O(XO(W,q))},[O]);if(L.kind==="loading")return E(j,{marginBottom:1,children:E(f,{dimColor:!0,children:"Looking for other AI coding agents…"})});if(L.kind==="applying")return E(j,{marginBottom:1,children:E(f,{dimColor:!0,children:"Importing…"})});if(L.kind==="confirming"){let{plan:G,artifacts:N,conflicts:$,homeDir:q}=L;return SI(j,{flexDirection:"column",marginBottom:1,children:[E(f,{bold:!0,children:`${$} of the selected item${$===1?"":"s"} already exist${$===1?"s":""} here.`}),E(AU,{options:[{value:"keep",label:"Import the rest, keep what I already have",description:"Conflicts are listed in the report and left alone."},{value:"overwrite",label:`Import everything, overwriting ${$}`,description:"Replaces the existing values with the imported ones."},{value:"cancel",label:"Cancel",description:"Write nothing."}],onChange:(W)=>{if(W==="cancel"){O();return}Y(G,N,W==="overwrite",q)},onCancel:()=>O(),visibleOptionCount:3})]})}let{ctx:H,plan:R,entries:B}=L;return E(KO,{entries:B,notImportable:[...new Set(R.notImportable.map((G)=>G.label))],onCancel:()=>O(),onSubmit:(G)=>{let N=WO(B,new Set(G));if(N.length===0){O("Nothing selected — nothing imported.");return}let $=JO(N);if($>0){U({kind:"confirming",plan:R,artifacts:N,conflicts:$,homeDir:H.homeDir});return}Y(R,N,!1,H.homeDir)}})}async function PH(I,O,L){return E(k0,{args:L??"",onDone:I})}var GI;var v0=J(()=>{AO();lI();PO();QU();qU();KU();xI();gI();EO();T0();_I();GI=LI(zO(),1)});v0();export{PH as call};
@@ -0,0 +1 @@
1
+ import{vb as a,wb as b,xb as c,yb as d}from"./cli-1.1.38-jakpq48k.mjs";import"./cli-1.1.38-6hng9dxr.mjs";import"./cli-1.1.38-s1nggz9g.mjs";import"./cli-1.1.38-z8x4q5cc.mjs";import"./cli-1.1.38-z9faf3ft.mjs";import"./cli-1.1.38-4g2k1n93.mjs";import"./cli-1.1.38-zx5nqvq6.mjs";import"./cli-1.1.38-rp0tsnde.mjs";import"./cli-1.1.38-t8k5snq9.mjs";import"./cli-1.1.38-e5by1ynv.mjs";import"./cli-1.1.38-cq1f1j06.mjs";import"./cli-1.1.38-a678cgp1.mjs";import"./cli-1.1.38-qv0rqvhj.mjs";import"./cli-1.1.38-f6be5pxz.mjs";import"./cli-1.1.38-6g33twaj.mjs";import"./cli-1.1.38-h0643t2a.mjs";import"./cli-1.1.38-fr1kxnk2.mjs";import"./cli-1.1.38-z02gnn41.mjs";import"./cli-1.1.38-yfhvhcvt.mjs";import"./cli-1.1.38-wbww08bk.mjs";import"./cli-1.1.38-mh6a6g83.mjs";import"./cli-1.1.38-nzbcas3j.mjs";import"./cli-1.1.38-44ay6q12.mjs";import"./cli-1.1.38-n9xftqbp.mjs";import"./cli-1.1.38-ffkc8ker.mjs";import"./cli-1.1.38-y66mw08s.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
@@ -0,0 +1 @@
1
+ import{K7 as S}from"./cli-1.1.38-yctmyw1a.mjs";import"./cli-1.1.38-e09rc4b8.mjs";import"./cli-1.1.38-fyw4xbm7.mjs";import{l8 as A}from"./cli-1.1.38-1k5hq477.mjs";import{o8 as I,p8 as h}from"./cli-1.1.38-4dvqxnwp.mjs";import"./cli-1.1.38-jr0vb3er.mjs";import"./cli-1.1.38-dfcp3asv.mjs";import{Nqa as p,Qqa as F}from"./cli-1.1.38-y66mw08s.mjs";var d=p((n)=>{var w=n&&n.__createBinding||(Object.create?function(e,r,o,t){if(t===void 0)t=o;var _=Object.getOwnPropertyDescriptor(r,o);if(!_||("get"in _?!r.__esModule:_.writable||_.configurable))_={enumerable:!0,get:function(){return r[o]}};Object.defineProperty(e,t,_)}:function(e,r,o,t){if(t===void 0)t=o;e[t]=r[o]}),v=n&&n.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),j=n&&n.__importStar||function(){var e=function(r){return e=Object.getOwnPropertyNames||function(o){var t=[];for(var _ in o)if(Object.prototype.hasOwnProperty.call(o,_))t[t.length]=_;return t},e(r)};return function(r){if(r&&r.__esModule)return r;var o={};if(r!=null){for(var t=e(r),_=0;_<t.length;_++)if(t[_]!=="default")w(o,r,t[_])}return v(o,r),o}}();Object.defineProperty(n,"__esModule",{value:!0});n.fromWebToken=void 0;var m=(e)=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:t,webIdentityToken:_,providerId:s,policyArns:y,policy:b,durationSeconds:T}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:N}=await Promise.resolve().then(()=>j(S()));l=N({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...r?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:_,ProviderId:s,PolicyArns:y,Policy:b,DurationSeconds:T})};n.fromWebToken=m});var u=p((E)=>{Object.defineProperty(E,"__esModule",{value:!0});E.fromTokenFile=void 0;var P=I(),g=h(),k=A(),R=F("node:fs"),q=d(),O="AWS_WEB_IDENTITY_TOKEN_FILE",L="AWS_ROLE_ARN",W="AWS_ROLE_SESSION_NAME",V=(e={})=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[O],t=e?.roleArn??process.env[L],_=e?.roleSessionName??process.env[W];if(!o||!t)throw new g.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let s=await(0,q.fromWebToken)({...e,webIdentityToken:k.externalDataInterceptor?.getTokenRecord?.()[o]??(0,R.readFileSync)(o,{encoding:"ascii"}),roleArn:t,roleSessionName:_})(r);if(o===process.env[O])(0,P.setCredentialFeature)(s,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return s};E.fromTokenFile=V});var x=p((c)=>{var i=u(),a=d();Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:i.__proto__});Object.keys(i).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=i[e]});Object.prototype.hasOwnProperty.call(a,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:a.__proto__});Object.keys(a).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=a[e]})});export default x();
@@ -0,0 +1 @@
1
+ import{k8 as a}from"./cli-1.1.38-fyw4xbm7.mjs";import"./cli-1.1.38-dfcp3asv.mjs";import"./cli-1.1.38-y66mw08s.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{K7 as a}from"./cli-1.1.38-yctmyw1a.mjs";import"./cli-1.1.38-e09rc4b8.mjs";import"./cli-1.1.38-fyw4xbm7.mjs";import"./cli-1.1.38-4dvqxnwp.mjs";import"./cli-1.1.38-jr0vb3er.mjs";import"./cli-1.1.38-dfcp3asv.mjs";import"./cli-1.1.38-y66mw08s.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{pV as a,qV as b,rV as c,sV as d,tV as e}from"./cli-1.1.38-0q1t1zs8.mjs";import"./cli-1.1.38-y66mw08s.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
@@ -0,0 +1 @@
1
+ import{L7 as w,M7 as so,N7 as no,O7 as co,P7 as ce,Q7 as Rt,R7 as Rr,S7 as ao,T7 as _e,U7 as po,V7 as lo,W7 as ge,X7 as h,Y7 as vr,Z7 as Vt,_7 as Wt,a8 as Yt,b8 as Jt,c8 as Kt,d8 as Xt,e8 as Ct,f8 as ft,g8 as Ft,h8 as $t,i8 as uo,j8 as Oo}from"./cli-1.1.38-e09rc4b8.mjs";import{k8 as Ye}from"./cli-1.1.38-fyw4xbm7.mjs";import{n8 as Tt,o8 as Bt}from"./cli-1.1.38-4dvqxnwp.mjs";import{Dqa as Lt}from"./cli-1.1.38-jr0vb3er.mjs";import{Fqa as xe}from"./cli-1.1.38-dfcp3asv.mjs";import{Nqa as v}from"./cli-1.1.38-y66mw08s.mjs";var U=v((re)=>{Object.defineProperty(re,"__esModule",{value:!0});re.resolveHttpAuthSchemeConfig=re.defaultSSOOIDCHttpAuthSchemeProvider=re.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Er=w(),j=vr(),Sr=async(e,r,i)=>{return{operation:(0,j.getSmithyContext)(r).operation,region:await(0,j.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};re.defaultSSOOIDCHttpAuthSchemeParametersProvider=Sr;function Ir(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(r,i)=>({signingProperties:{config:r,context:i}})}}function Pr(e){return{schemeId:"smithy.api#noAuth"}}var xr=(e)=>{let r=[];switch(e.operation){case"CreateToken":{r.push(Pr(e));break}default:r.push(Ir(e))}return r};re.defaultSSOOIDCHttpAuthSchemeProvider=xr;var Dr=(e)=>{let r=(0,Er.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,j.normalizeProvider)(e.authSchemePreference??[])})};re.resolveHttpAuthSchemeConfig=Dr});var le=v((ae)=>{Object.defineProperty(ae,"__esModule",{value:!0});ae.bdd=void 0;var yr=ce(),D="ref",S=-1,y=!0,oe="isSet",de="PartitionResult",N="booleanEquals",M="getAttr",ie={[D]:"Endpoint"},A={[D]:de},x={},se=[{[D]:"Region"}],ne={conditions:[[oe,[ie]],[oe,se],["aws.partition",se,de],[N,[{[D]:"UseFIPS"},y]],[N,[{[D]:"UseDualStack"},y]],[N,[{fn:M,argv:[A,"supportsDualStack"]},y]],[N,[{fn:M,argv:[A,"supportsFIPS"]},y]],["stringEquals",[{fn:M,argv:[A,"name"]},"aws-us-gov"]]],results:[[S],[S,"Invalid Configuration: FIPS and custom endpoint are not supported"],[S,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ie,x],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",x],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",x],[S,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",x],[S,"Invalid Configuration: Missing Region"]]},Nr=2,n=1e8,hr=new Int32Array([-1,1,-1,0,13,3,1,4,n+12,2,5,n+12,3,8,6,4,7,n+11,5,n+9,n+10,4,11,9,6,10,n+8,7,n+6,n+7,5,12,n+5,6,n+4,n+5,3,n+1,14,4,n+2,n+3]);ae.bdd=yr.BinaryDecisionDiagram.from(hr,Nr,ne.conditions,ne.results)});var ve=v((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var fr=Rr(),G=ce(),Fr=le(),$r=new G.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),jr=(e,r={})=>{return $r.get(e,()=>(0,G.decideEndpoint)(Fr.bdd,{endpointParams:e,logger:r.logger}))};ue.defaultEndpointResolver=jr;G.customEndpointFunctions.aws=fr.awsEndpointFunctions});var R=v((z)=>{Object.defineProperty(z,"__esModule",{value:!0});z.SSOOIDCServiceException=z.__ServiceException=void 0;var Ee=h();Object.defineProperty(z,"__ServiceException",{enumerable:!0,get:function(){return Ee.ServiceException}});class m extends Ee.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,m.prototype)}}z.SSOOIDCServiceException=m});var Q=v((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.UnsupportedGrantTypeException=Ie.UnauthorizedClientException=Ie.SlowDownException=Ie.InvalidScopeException=Ie.InvalidRequestException=Ie.InvalidGrantException=Ie.InvalidClientException=Ie.InternalServerException=Ie.ExpiredTokenException=Ie.AuthorizationPendingException=Ie.AccessDeniedException=void 0;var a=R();class H extends a.SSOOIDCServiceException{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,H.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.AccessDeniedException=H;class L extends a.SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,L.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.AuthorizationPendingException=L;class T extends a.SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.ExpiredTokenException=T;class B extends a.SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InternalServerException=B;class V extends a.SSOOIDCServiceException{name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidClientException=V;class W extends a.SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidGrantException=W;class Y extends a.SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.InvalidRequestException=Y;class J extends a.SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidScopeException=J;class K extends a.SSOOIDCServiceException{name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.SlowDownException=K;class X extends a.SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnauthorizedClientException=X;class C extends a.SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnsupportedGrantTypeException=C});var Z=v((Re)=>{Object.defineProperty(Re,"__esModule",{value:!0});Re.CreateToken$=Re.CreateTokenResponse$=Re.CreateTokenRequest$=Re.errorTypeRegistries=Re.UnsupportedGrantTypeException$=Re.UnauthorizedClientException$=Re.SlowDownException$=Re.InvalidScopeException$=Re.InvalidRequestException$=Re.InvalidGrantException$=Re.InvalidClientException$=Re.InternalServerException$=Re.ExpiredTokenException$=Re.AuthorizationPendingException$=Re.AccessDeniedException$=Re.SSOOIDCServiceException$=void 0;var Br="AccessDeniedException",Vr="AuthorizationPendingException",Wr="AccessToken",Yr="ClientSecret",Jr="CreateToken",Kr="CreateTokenRequest",Xr="CreateTokenResponse",Cr="CodeVerifier",Qr="ExpiredTokenException",Zr="InvalidClientException",kr="InvalidGrantException",_r="InvalidRequestException",gr="InternalServerException",et="InvalidScopeException",rt="IdToken",tt="RefreshToken",ot="SlowDownException",it="UnauthorizedClientException",st="UnsupportedGrantTypeException",nt="accessToken",O="client",ct="clientId",dt="clientSecret",at="codeVerifier",pt="code",lt="deviceCode",t="error",ut="expiresIn",p="error_description",Ot="grantType",vt="http",l="httpError",Et="idToken",De="reason",be="refreshToken",St="redirectUri",qe="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",It="scope",Pt="server",xt="tokenType",o="com.amazonaws.ssooidc",ye=xe(),u=Q(),Dt=R(),Ne=ye.TypeRegistry.for(qe);Re.SSOOIDCServiceException$=[-3,qe,"SSOOIDCServiceException",0,[],[]];Ne.registerError(Re.SSOOIDCServiceException$,Dt.SSOOIDCServiceException);var c=ye.TypeRegistry.for(o);Re.AccessDeniedException$=[-3,o,Br,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.AccessDeniedException$,u.AccessDeniedException);Re.AuthorizationPendingException$=[-3,o,Vr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.AuthorizationPendingException$,u.AuthorizationPendingException);Re.ExpiredTokenException$=[-3,o,Qr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.ExpiredTokenException$,u.ExpiredTokenException);Re.InternalServerException$=[-3,o,gr,{[t]:Pt,[l]:500},[t,p],[0,0]];c.registerError(Re.InternalServerException$,u.InternalServerException);Re.InvalidClientException$=[-3,o,Zr,{[t]:O,[l]:401},[t,p],[0,0]];c.registerError(Re.InvalidClientException$,u.InvalidClientException);Re.InvalidGrantException$=[-3,o,kr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidGrantException$,u.InvalidGrantException);Re.InvalidRequestException$=[-3,o,_r,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.InvalidRequestException$,u.InvalidRequestException);Re.InvalidScopeException$=[-3,o,et,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidScopeException$,u.InvalidScopeException);Re.SlowDownException$=[-3,o,ot,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.SlowDownException$,u.SlowDownException);Re.UnauthorizedClientException$=[-3,o,it,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnauthorizedClientException$,u.UnauthorizedClientException);Re.UnsupportedGrantTypeException$=[-3,o,st,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnsupportedGrantTypeException$,u.UnsupportedGrantTypeException);Re.errorTypeRegistries=[Ne,c];var bt=[0,o,Wr,8,0],qt=[0,o,Yr,8,0],yt=[0,o,Cr,8,0],Nt=[0,o,rt,8,0],he=[0,o,tt,8,0];Re.CreateTokenRequest$=[3,o,Kr,0,[ct,dt,Ot,lt,pt,be,It,St,at],[0,[()=>qt,0],0,0,0,[()=>he,0],64,0,[()=>yt,0]],3];Re.CreateTokenResponse$=[3,o,Xr,0,[nt,xt,ut,be,Et],[[()=>bt,0],0,1,[()=>he,0],[()=>Nt,0]]];Re.CreateToken$=[9,o,Jr,{[vt]:["POST","/token",200]},()=>Re.CreateTokenRequest$,()=>Re.CreateTokenResponse$]});var Xe=v((Je)=>{Object.defineProperty(Je,"__esModule",{value:!0});Je.getRuntimeConfig=void 0;var jt=w(),wt=Ft(),Ut=Ye(),Mt=h(),At=Rt(),Ve=$t(),We=ft(),Gt=U(),mt=ve(),zt=Z(),Ht=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Ve.fromBase64,base64Encoder:e?.base64Encoder??Ve.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??mt.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Gt.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new jt.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Ut.NoAuthSigner}],logger:e?.logger??new Mt.NoOpLogger,protocol:e?.protocol??wt.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:zt.errorTypeRegistries,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??At.parseUrl,utf8Decoder:e?.utf8Decoder??We.fromUtf8,utf8Encoder:e?.utf8Encoder??We.toUtf8}};Je.getRuntimeConfig=Ht});var tr=v((er)=>{Object.defineProperty(er,"__esModule",{value:!0});er.getRuntimeConfig=void 0;var Qt=Vt(),Zt=Qt.__importDefault(Wt()),kt=Bt(),_t=w(),Ce=Yt(),f=_e(),gt=Jt(),Qe=ge(),I=Kt(),Ze=Lt(),ke=h(),eo=Xt(),ro=Ct(),to=Tt(),oo=Xe(),io=(e)=>{(0,ke.emitWarningIfUnsupportedVersion)(process.version);let r=(0,ro.resolveDefaultsModeConfig)(e),i=()=>r().then(ke.loadConfigsForDefaultMode),d=(0,oo.getRuntimeConfig)(e);(0,kt.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,I.loadConfig)(_t.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??eo.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Ce.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Zt.default.version}),maxAttempts:e?.maxAttempts??(0,I.loadConfig)(Qe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,I.loadConfig)(f.NODE_REGION_CONFIG_OPTIONS,{...f.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:Ze.NodeHttpHandler.create(e?.requestHandler??i),retryMode:e?.retryMode??(0,I.loadConfig)({...Qe.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await i()).retryMode||to.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??gt.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??Ze.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,I.loadConfig)(f.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,I.loadConfig)(f.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,I.loadConfig)(Ce.NODE_APP_ID_CONFIG_OPTIONS,s)}};er.getRuntimeConfig=io});var zo=v((E)=>{var or=so(),vo=no(),Eo=co(),ir=ao(),So=_e(),k=Ye(),Io=xe(),Po=po(),ar=lo(),sr=ge(),P=h(),nr=U(),xo=tr(),cr=uo(),dr=Oo(),b=Z(),F=Q(),Do=R(),bo=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},qo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},yo=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:i,credentials:d}=e;return{setHttpAuthScheme(s){let q=r.findIndex(($)=>$.schemeId===s.schemeId);if(q===-1)r.push(s);else r.splice(q,1,s)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(s){i=s},httpAuthSchemeProvider(){return i},setCredentials(s){d=s},credentials(){return d}}},No=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},ho=(e,r)=>{let i=Object.assign(cr.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),dr.getHttpHandlerExtensionConfiguration(e),yo(e));return r.forEach((d)=>d.configure(i)),Object.assign(e,cr.resolveAwsRegionExtensionConfiguration(i),P.resolveDefaultRuntimeConfig(i),dr.resolveHttpHandlerRuntimeConfig(i),No(i))};class _ extends P.Client{config;constructor(...[e]){let r=xo.getRuntimeConfig(e||{});super(r);this.initConfig=r;let i=bo(r),d=ir.resolveUserAgentConfig(i),s=sr.resolveRetryConfig(d),q=So.resolveRegionConfig(s),$=or.resolveHostHeaderConfig(q),pr=ar.resolveEndpointConfig($),lr=nr.resolveHttpAuthSchemeConfig(pr),ur=ho(lr,e?.extensions||[]);this.config=ur,this.middlewareStack.use(Io.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(ir.getUserAgentPlugin(this.config)),this.middlewareStack.use(sr.getRetryPlugin(this.config)),this.middlewareStack.use(Po.getContentLengthPlugin(this.config)),this.middlewareStack.use(or.getHostHeaderPlugin(this.config)),this.middlewareStack.use(vo.getLoggerPlugin(this.config)),this.middlewareStack.use(Eo.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(k.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:nr.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Or)=>new k.DefaultIdentityProviderConfig({"aws.auth#sigv4":Or.credentials})})),this.middlewareStack.use(k.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends P.Command.classBuilder().ep(qo).m(function(e,r,i,d){return[ar.getEndpointPlugin(i,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(b.CreateToken$).build(){}var Ro={CreateTokenCommand:g};class ee extends _{}P.createAggregatedClient(Ro,ee);var fo={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},Fo={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};E.$Command=P.Command;E.__Client=P.Client;E.SSOOIDCServiceException=Do.SSOOIDCServiceException;E.AccessDeniedExceptionReason=fo;E.CreateTokenCommand=g;E.InvalidRequestExceptionReason=Fo;E.SSOOIDC=ee;E.SSOOIDCClient=_;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=b[e]});Object.prototype.hasOwnProperty.call(F,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:F.__proto__});Object.keys(F).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=F[e]})});export default zo();
@@ -0,0 +1,2 @@
1
+ import{L7 as F,M7 as Nr,N7 as Dr,O7 as br,P7 as Ge,Q7 as Zt,R7 as Et,S7 as $r,T7 as Is,U7 as Ar,V7 as Fr,W7 as hs,X7 as G,Y7 as tt,Z7 as pr,_7 as _r,a8 as Er,b8 as Sr,c8 as Rr,d8 as xr,e8 as vr,f8 as Kt,g8 as kt,h8 as er,i8 as Ur,j8 as Mr}from"./cli-1.1.38-e09rc4b8.mjs";import{k8 as ps}from"./cli-1.1.38-fyw4xbm7.mjs";import{l8 as we}from"./cli-1.1.38-1k5hq477.mjs";import{n8 as dr,o8 as Z,p8 as Ce}from"./cli-1.1.38-4dvqxnwp.mjs";import{Dqa as ir}from"./cli-1.1.38-jr0vb3er.mjs";import{Fqa as Xe}from"./cli-1.1.38-dfcp3asv.mjs";import{Lqa as ge,Nqa as S,Pqa as no,Qqa as X}from"./cli-1.1.38-y66mw08s.mjs";var De=S((Zs)=>{var Ls=Z(),Ts=F(),p=Ce(),w=we(),zs=X("node:fs"),Hs=({logger:e,signingName:s}={})=>async()=>{if(e?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!s)throw new p.TokenProviderError("Please pass 'signingName' to compute environment variable key",{logger:e});let t=Ts.getBearerTokenEnvKey(s);if(!(t in process.env))throw new p.TokenProviderError(`Token not present in '${t}' environment variable`,{logger:e});let o={token:process.env[t]};return Ls.setTokenFeature(o,"BEARER_SERVICE_ENV_VARS","3"),o},Vs=300000,K="To refresh this SSO session run 'aws sso login' with the corresponding profile.",Bs=async(e,s={},t)=>{let{SSOOIDCClient:o}=await import("./index-1.1.38-d5147beb.mjs").then((m)=>ge(m.default)),r=(c)=>s.clientConfig?.[c]??s.parentClientConfig?.[c]??t?.[c];return new o(Object.assign({},s.clientConfig??{},{region:e??s.clientConfig?.region,logger:r("logger"),userAgentAppId:r("userAgentAppId")}))},Ys=async(e,s,t={},o)=>{let{CreateTokenCommand:r}=await import("./index-1.1.38-d5147beb.mjs").then((m)=>ge(m.default));return(await Bs(s,t,o)).send(new r({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))},Pe=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new p.TokenProviderError(`Token is expired. ${K}`,!1)},h=(e,s,t=!1)=>{if(typeof s>"u")throw new p.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${K}`,!1)},{writeFile:Qs}=zs.promises,Js=(e,s)=>{let t=w.getSSOTokenFilepath(e),o=JSON.stringify(s,null,2);return Qs(t,o)},ye=new Date(0),Ne=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let t=await w.parseKnownFiles(e),o=w.getProfileName({profile:e.profile??s?.profile}),r=t[o];if(!r)throw new p.TokenProviderError(`Profile '${o}' could not be found in shared credentials file.`,!1);else if(!r.sso_session)throw new p.TokenProviderError(`Profile '${o}' is missing required property 'sso_session'.`);let n=r.sso_session,_=(await w.loadSsoSessionData(e))[n];if(!_)throw new p.TokenProviderError(`Sso session '${n}' could not be found in shared credentials file.`,!1);for(let a of["sso_start_url","sso_region"])if(!_[a])throw new p.TokenProviderError(`Sso session '${n}' is missing required property '${a}'.`,!1);_.sso_start_url;let d=_.sso_region,l;try{l=await w.getSSOTokenFromFile(n)}catch(a){throw new p.TokenProviderError(`The SSO session token associated with profile=${o} was not found or is invalid. ${K}`,!1)}h("accessToken",l.accessToken),h("expiresAt",l.expiresAt);let{accessToken:u,expiresAt:C}=l,x={token:u,expiration:new Date(C)};if(x.expiration.getTime()-Date.now()>Vs)return x;if(Date.now()-ye.getTime()<30000)return Pe(x),x;h("clientId",l.clientId,!0),h("clientSecret",l.clientSecret,!0),h("refreshToken",l.refreshToken,!0);try{ye.setTime(Date.now());let a=await Ys(l,d,e,s);h("accessToken",a.accessToken),h("expiresIn",a.expiresIn);let v=new Date(Date.now()+a.expiresIn*1000);try{await Js(n,{...l,accessToken:a.accessToken,expiresAt:v.toISOString(),refreshToken:a.refreshToken})}catch(J){}return{token:a.accessToken,expiration:v}}catch(a){return Pe(x),x}},Ws=({token:e,logger:s})=>async()=>{if(s?.debug("@aws-sdk/token-providers - fromStatic"),!e||!e.token)throw new p.TokenProviderError("Please pass a valid token to fromStatic",!1);return e},Xs=(e={})=>p.memoize(p.chain(Ne(e),async()=>{throw new p.TokenProviderError("Could not load token from any providers",!1)}),(s)=>s.expiration!==void 0&&s.expiration.getTime()-Date.now()<300000,(s)=>s.expiration!==void 0);Zs.fromEnvSigningName=Hs;Zs.fromSso=Ne;Zs.fromStatic=Ws;Zs.nodeProvider=Xs});var ee=S((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveHttpAuthSchemeConfig=be.defaultSSOHttpAuthSchemeProvider=be.defaultSSOHttpAuthSchemeParametersProvider=void 0;var rt=F(),k=tt(),ot=async(e,s,t)=>{return{operation:(0,k.getSmithyContext)(s).operation,region:await(0,k.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};be.defaultSSOHttpAuthSchemeParametersProvider=ot;function nt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,t)=>({signingProperties:{config:s,context:t}})}}function at(e){return{schemeId:"smithy.api#noAuth"}}var ct=(e)=>{let s=[];switch(e.operation){case"GetRoleCredentials":{s.push(at(e));break}default:s.push(nt(e))}return s};be.defaultSSOHttpAuthSchemeProvider=ct;var lt=(e)=>{let s=(0,rt.resolveAwsSdkSigV4Config)(e);return Object.assign(s,{authSchemePreference:(0,k.normalizeProvider)(e.authSchemePreference??[])})};be.resolveHttpAuthSchemeConfig=lt});var Te=S((je)=>{Object.defineProperty(je,"__esModule",{value:!0});je.bdd=void 0;var dt=Ge(),N="ref",f=-1,U=!0,Ae="isSet",me="PartitionResult",M="booleanEquals",se="getAttr",Fe={[N]:"Endpoint"},te={[N]:me},g={},Ue=[{[N]:"Region"}],Me={conditions:[[Ae,[Fe]],[Ae,Ue],["aws.partition",Ue,me],[M,[{[N]:"UseFIPS"},U]],[M,[{[N]:"UseDualStack"},U]],[M,[{fn:se,argv:[te,"supportsDualStack"]},U]],[M,[{fn:se,argv:[te,"supportsFIPS"]},U]],["stringEquals",[{fn:se,argv:[te,"name"]},"aws-us-gov"]]],results:[[f],[f,"Invalid Configuration: FIPS and custom endpoint are not supported"],[f,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Fe,g],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",g],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",g],[f,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",g],[f,"Invalid Configuration: Missing Region"]]},pt=2,i=1e8,_t=new Int32Array([-1,1,-1,0,13,3,1,4,i+12,2,5,i+12,3,8,6,4,7,i+11,5,i+9,i+10,4,11,9,6,10,i+8,7,i+6,i+7,5,12,i+5,6,i+4,i+5,3,i+1,14,4,i+2,i+3]);je.bdd=dt.BinaryDecisionDiagram.from(_t,pt,Me.conditions,Me.results)});var Ve=S((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});ze.defaultEndpointResolver=void 0;var St=Et(),re=Ge(),Rt=Te(),xt=new re.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),vt=(e,s={})=>{return xt.get(e,()=>(0,re.decideEndpoint)(Rt.bdd,{endpointParams:e,logger:s.logger}))};ze.defaultEndpointResolver=vt;re.customEndpointFunctions.aws=St.awsEndpointFunctions});var m=S((ne)=>{Object.defineProperty(ne,"__esModule",{value:!0});ne.SSOServiceException=ne.__ServiceException=void 0;var Be=G();Object.defineProperty(ne,"__ServiceException",{enumerable:!0,get:function(){return Be.ServiceException}});class oe extends Be.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,oe.prototype)}}ne.SSOServiceException=oe});var ie=S((Qe)=>{Object.defineProperty(Qe,"__esModule",{value:!0});Qe.UnauthorizedException=Qe.TooManyRequestsException=Qe.ResourceNotFoundException=Qe.InvalidRequestException=void 0;var j=m();class ae extends j.SSOServiceException{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,ae.prototype)}}Qe.InvalidRequestException=ae;class ce extends j.SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ce.prototype)}}Qe.ResourceNotFoundException=ce;class le extends j.SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,le.prototype)}}Qe.TooManyRequestsException=le;class ue extends j.SSOServiceException{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,ue.prototype)}}Qe.UnauthorizedException=ue});var de=S((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.GetRoleCredentials$=es.RoleCredentials$=es.GetRoleCredentialsResponse$=es.GetRoleCredentialsRequest$=es.errorTypeRegistries=es.UnauthorizedException$=es.TooManyRequestsException$=es.ResourceNotFoundException$=es.InvalidRequestException$=es.SSOServiceException$=void 0;var ft="AccessTokenType",qt="GetRoleCredentials",Pt="GetRoleCredentialsRequest",yt="GetRoleCredentialsResponse",gt="InvalidRequestException",Ct="RoleCredentials",wt="ResourceNotFoundException",Nt="SecretAccessKeyType",Dt="SessionTokenType",bt="TooManyRequestsException",$t="UnauthorizedException",At="accountId",Ft="accessKeyId",Ut="accessToken",Mt="account_id",L="client",T="error",Gt="expiration",mt="http",z="httpError",jt="httpHeader",We="httpQuery",H="message",Lt="roleCredentials",Tt="roleName",zt="role_name",Ze="smithy.ts.sdk.synthetic.com.amazonaws.sso",Ht="secretAccessKey",Vt="sessionToken",Bt="x-amz-sso_bearer_token",E="com.amazonaws.sso",Ke=Xe(),V=ie(),Yt=m(),ke=Ke.TypeRegistry.for(Ze);es.SSOServiceException$=[-3,Ze,"SSOServiceException",0,[],[]];ke.registerError(es.SSOServiceException$,Yt.SSOServiceException);var D=Ke.TypeRegistry.for(E);es.InvalidRequestException$=[-3,E,gt,{[T]:L,[z]:400},[H],[0]];D.registerError(es.InvalidRequestException$,V.InvalidRequestException);es.ResourceNotFoundException$=[-3,E,wt,{[T]:L,[z]:404},[H],[0]];D.registerError(es.ResourceNotFoundException$,V.ResourceNotFoundException);es.TooManyRequestsException$=[-3,E,bt,{[T]:L,[z]:429},[H],[0]];D.registerError(es.TooManyRequestsException$,V.TooManyRequestsException);es.UnauthorizedException$=[-3,E,$t,{[T]:L,[z]:401},[H],[0]];D.registerError(es.UnauthorizedException$,V.UnauthorizedException);es.errorTypeRegistries=[ke,D];var Qt=[0,E,ft,8,0],Jt=[0,E,Nt,8,0],Wt=[0,E,Dt,8,0];es.GetRoleCredentialsRequest$=[3,E,Pt,0,[Tt,At,Ut],[[0,{[We]:zt}],[0,{[We]:Mt}],[()=>Qt,{[jt]:Bt}]],3];es.GetRoleCredentialsResponse$=[3,E,yt,0,[Lt],[[()=>es.RoleCredentials$,0]]];es.RoleCredentials$=[3,E,Ct,0,[Ft,Ht,Vt,Gt],[0,[()=>Jt,0],[()=>Wt,0],1]];es.GetRoleCredentials$=[9,E,qt,{[mt]:["GET","/federation/credentials",200]},()=>es.GetRoleCredentialsRequest$,()=>es.GetRoleCredentialsResponse$]});var Ss=S((_s)=>{Object.defineProperty(_s,"__esModule",{value:!0});_s.getRuntimeConfig=void 0;var sr=F(),tr=kt(),rr=ps(),or=G(),nr=Zt(),is=er(),ds=Kt(),ar=ee(),cr=Ve(),lr=de(),ur=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??is.fromBase64,base64Encoder:e?.base64Encoder??is.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??cr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ar.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new sr.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rr.NoAuthSigner}],logger:e?.logger??new or.NoOpLogger,protocol:e?.protocol??tr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:lr.errorTypeRegistries,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??nr.parseUrl,utf8Decoder:e?.utf8Decoder??ds.fromUtf8,utf8Encoder:e?.utf8Encoder??ds.toUtf8}};_s.getRuntimeConfig=ur});var Ps=S((fs)=>{Object.defineProperty(fs,"__esModule",{value:!0});fs.getRuntimeConfig=void 0;var Or=pr(),Ir=Or.__importDefault(_r()),hr=Z(),fr=F(),Rs=Er(),B=Is(),qr=Sr(),xs=hs(),q=Rr(),vs=ir(),Os=G(),Pr=xr(),yr=vr(),gr=dr(),Cr=Ss(),wr=(e)=>{(0,Os.emitWarningIfUnsupportedVersion)(process.version);let s=(0,yr.resolveDefaultsModeConfig)(e),t=()=>s().then(Os.loadConfigsForDefaultMode),o=(0,Cr.getRuntimeConfig)(e);(0,hr.emitWarningIfUnsupportedVersion)(process.version);let r={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:s,authSchemePreference:e?.authSchemePreference??(0,q.loadConfig)(fr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,r),bodyLengthChecker:e?.bodyLengthChecker??Pr.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Rs.createDefaultUserAgentProvider)({serviceId:o.serviceId,clientVersion:Ir.default.version}),maxAttempts:e?.maxAttempts??(0,q.loadConfig)(xs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,q.loadConfig)(B.NODE_REGION_CONFIG_OPTIONS,{...B.NODE_REGION_CONFIG_FILE_OPTIONS,...r}),requestHandler:vs.NodeHttpHandler.create(e?.requestHandler??t),retryMode:e?.retryMode??(0,q.loadConfig)({...xs.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??qr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??vs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,q.loadConfig)(B.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,r),useFipsEndpoint:e?.useFipsEndpoint??(0,q.loadConfig)(B.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,r),userAgentAppId:e?.userAgentAppId??(0,q.loadConfig)(Rs.NODE_APP_ID_CONFIG_OPTIONS,r)}};fs.getRuntimeConfig=wr});var $s=S((O)=>{var ys=Nr(),Gr=Dr(),mr=br(),gs=$r(),jr=Is(),pe=ps(),Lr=Xe(),Tr=Ar(),bs=Fr(),Cs=hs(),P=G(),ws=ee(),zr=Ps(),Ns=Ur(),Ds=Mr(),b=de(),Y=ie(),Hr=m(),Vr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Br={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Yr=(e)=>{let{httpAuthSchemes:s,httpAuthSchemeProvider:t,credentials:o}=e;return{setHttpAuthScheme(r){let n=s.findIndex((c)=>c.schemeId===r.schemeId);if(n===-1)s.push(r);else s.splice(n,1,r)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(r){t=r},httpAuthSchemeProvider(){return t},setCredentials(r){o=r},credentials(){return o}}},Qr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Jr=(e,s)=>{let t=Object.assign(Ns.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),Ds.getHttpHandlerExtensionConfiguration(e),Yr(e));return s.forEach((o)=>o.configure(t)),Object.assign(e,Ns.resolveAwsRegionExtensionConfiguration(t),P.resolveDefaultRuntimeConfig(t),Ds.resolveHttpHandlerRuntimeConfig(t),Qr(t))};class _e extends P.Client{config;constructor(...[e]){let s=zr.getRuntimeConfig(e||{});super(s);this.initConfig=s;let t=Vr(s),o=gs.resolveUserAgentConfig(t),r=Cs.resolveRetryConfig(o),n=jr.resolveRegionConfig(r),c=ys.resolveHostHeaderConfig(n),_=bs.resolveEndpointConfig(c),d=ws.resolveHttpAuthSchemeConfig(_),l=Jr(d,e?.extensions||[]);this.config=l,this.middlewareStack.use(Lr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(gs.getUserAgentPlugin(this.config)),this.middlewareStack.use(Cs.getRetryPlugin(this.config)),this.middlewareStack.use(Tr.getContentLengthPlugin(this.config)),this.middlewareStack.use(ys.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Gr.getLoggerPlugin(this.config)),this.middlewareStack.use(mr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(pe.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ws.defaultSSOHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(u)=>new pe.DefaultIdentityProviderConfig({"aws.auth#sigv4":u.credentials})})),this.middlewareStack.use(pe.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Ee extends P.Command.classBuilder().ep(Br).m(function(e,s,t,o){return[bs.getEndpointPlugin(t,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(b.GetRoleCredentials$).build(){}var Wr={GetRoleCredentialsCommand:Ee};class Se extends _e{}P.createAggregatedClient(Wr,Se);O.$Command=P.Command;O.__Client=P.Client;O.SSOServiceException=Hr.SSOServiceException;O.GetRoleCredentialsCommand=Ee;O.SSO=Se;O.SSOClient=_e;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=b[e]});Object.prototype.hasOwnProperty.call(Y,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:Y.__proto__});Object.keys(Y).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=Y[e]})});var Fs=S((to)=>{var As=$s();to.GetRoleCredentialsCommand=As.GetRoleCredentialsCommand;to.SSOClient=As.SSOClient});var R,Q,Us,ao,Gs=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),$=!1,Ms=async({ssoStartUrl:e,ssoSession:s,ssoAccountId:t,ssoRegion:o,ssoRoleName:r,ssoClient:n,clientConfig:c,parentClientConfig:_,callerClientConfig:d,profile:l,filepath:u,configFilepath:C,ignoreCache:x,logger:a})=>{let v,J="To refresh this SSO session run aws sso login with the corresponding profile.";if(s)try{let I=await ao.fromSso({profile:l,filepath:u,configFilepath:C,ignoreCache:x})();v={accessToken:I.token,expiresAt:new Date(I.expiration).toISOString()}}catch(I){throw new R.CredentialsProviderError(I.message,{tryNextLink:$,logger:a})}else try{v=await Q.getSSOTokenFromFile(e)}catch(I){throw new R.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a})}if(new Date(v.expiresAt).getTime()-Date.now()<=0)throw new R.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a});let{accessToken:Re}=v,{SSOClient:y,GetRoleCredentialsCommand:A}=await Promise.resolve().then(function(){return Fs()}),js=n||new y(Object.assign({},c??{},{logger:c?.logger??d?.logger??_?.logger,region:c?.region??o,userAgentAppId:c?.userAgentAppId??d?.userAgentAppId??_?.userAgentAppId})),xe;try{xe=await js.send(new A({accountId:t,roleName:r,accessToken:Re}))}catch(I){throw new R.CredentialsProviderError(I,{tryNextLink:$,logger:a})}let{roleCredentials:{accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:he,credentialScope:fe,accountId:qe}={}}=xe;if(!ve||!Oe||!Ie||!he)throw new R.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:$,logger:a});let W={accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:new Date(he),...fe&&{credentialScope:fe},...qe&&{accountId:qe}};if(s)Us.setCredentialFeature(W,"CREDENTIALS_SSO","s");else Us.setCredentialFeature(W,"CREDENTIALS_SSO_LEGACY","u");return W},ms=(e,s)=>{let{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:n}=e;if(!t||!o||!r||!n)throw new R.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
2
+ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:s});return e},co=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:t,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoSession:c}=e,{ssoClient:_}=e,d=Q.getProfileName({profile:e.profile??s?.profile});if(!t&&!o&&!r&&!n&&!c){let u=(await Q.parseKnownFiles(e))[d];if(!u)throw new R.CredentialsProviderError(`Profile ${d} was not found.`,{logger:e.logger});if(!Gs(u))throw new R.CredentialsProviderError(`Profile ${d} is not configured with SSO credentials.`,{logger:e.logger});if(u?.sso_session){let y=(await Q.loadSsoSessionData(e))[u.sso_session],A=` configurations in profile ${d} and sso-session ${u.sso_session}`;if(r&&r!==y.sso_region)throw new R.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(t&&t!==y.sso_start_url)throw new R.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});u.sso_region=y.sso_region,u.sso_start_url=y.sso_start_url}let{sso_start_url:C,sso_account_id:x,sso_region:a,sso_role_name:v,sso_session:J}=ms(u,e.logger);return Ms({ssoStartUrl:C,ssoSession:J,ssoAccountId:x,ssoRegion:a,ssoRoleName:v,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!t||!o||!r||!n)throw new R.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return Ms({ssoStartUrl:t,ssoSession:c,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})},lo,uo,io;var po=no(()=>{R=Ce(),Q=we(),Us=Z(),ao=De();lo=co,uo=Gs,io=ms});po();export{io as validateSsoProfile,uo as isSsoProfile,lo as fromSSO};export default {get validateSsoProfile(){return io},get isSsoProfile(){return uo},get fromSSO(){return lo}};
@@ -0,0 +1 @@
1
+ import{Pqa as cH}from"./cli-1.1.38-y66mw08s.mjs";import{createRequire as lH}from"module";function NC(H,C){if(typeof H=="function")C=H,H={};return this.ondata=C,H}function HJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC],function(K){return YC(cC(K.data[0],K.data[1]))},0,J)}function cC(H,C){return RC(H,C||{},0,0)}function rH(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC],function(K){return YC(vC(K.data[0],YH(K.data[1])))},1,J)}function vC(H,C){return zC(H,{i:2},C&&C.out,C&&C.dictionary)}function EJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,vH,function(){return[LH]}],function(K){return YC(LH(K.data[0],K.data[1]))},2,J)}function LH(H,C){if(!C)C={};var J=TC(),K=H.length;J.p(H);var Q=RC(H,C,NH(C),8),V=Q.length;return $H(Q,C),g(Q,V-8,J.d()),g(Q,V-4,K),Q}function KJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,kH,function(){return[JH]}],function(K){return YC(JH(K.data[0],K.data[1]))},3,J)}function JH(H,C){var J=RH(H);if(J+8>H.length)B(6,"invalid gzip data");return zC(H.subarray(J,-8),{i:2},C&&C.out||new Z(mH(H)),C&&C.dictionary)}function BJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,hH,function(){return[PH]}],function(K){return YC(PH(K.data[0],K.data[1]))},4,J)}function PH(H,C){if(!C)C={};var J=aC();J.p(H);var K=RC(H,C,C.dictionary?6:2,4);return EH(K,C),g(K,K.length-4,J.d()),K}function VJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,_H,function(){return[QH]}],function(K){return YC(QH(K.data[0],YH(K.data[1])))},5,J)}function QH(H,C){return zC(H.subarray(WH(H,C&&C.dictionary),-4),{i:2},C&&C.out,C&&C.dictionary)}function qJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return H[0]==31&&H[1]==139&&H[2]==8?KJ(H,C,J):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?rH(H,C,J):VJ(H,C,J)}function OJ(H,C){return H[0]==31&&H[1]==139&&H[2]==8?JH(H,C):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?vC(H,C):QH(H,C)}function $C(H,C){if(C){var J=new Z(H.length);for(var K=0;K<H.length;++K)J[K]=H.charCodeAt(K);return J}if(GH)return GH.encode(H);var Q=H.length,V=new Z(H.length+(H.length>>1)),X=0,Y=function(R){V[X++]=R};for(var K=0;K<Q;++K){if(X+5>V.length){var E=new Z(X+8+(Q-K<<1));E.set(V),V=E}var $=H.charCodeAt(K);if($<128||C)Y($);else if($<2048)Y(192|$>>6),Y(128|$&63);else if($>55295&&$<57344)$=65536+($&1047552)|H.charCodeAt(++K)&1023,Y(240|$>>18),Y(128|$>>12&63),Y(128|$>>6&63),Y(128|$&63);else Y(224|$>>12),Y(128|$>>6&63),Y(128|$&63)}return d(V,0,X)}function nH(H,C){if(C){var J="";for(var K=0;K<H.length;K+=16384)J+=String.fromCharCode.apply(null,H.subarray(K,K+16384));return J}else if(VH)return VH.decode(H);else{var Q=oH(H),V=Q.s,J=Q.r;if(J.length)B(8);return V}}function TJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K={};BH(H,"",K,C);var Q=Object.keys(K),V=Q.length,X=0,Y=0,E=V,$=Array(V),R=[],N=function(){for(var F=0;F<R.length;++F)R[F]()},W=function(F,P){eC(function(){J(F,P)})};eC(function(){W=J});var T=function(){var F=new Z(Y+22),P=X,U=Y-X;Y=0;for(var j=0;j<E;++j){var O=$[j];try{var x=O.c.length;MC(F,Y,O,O.f,O.u,x);var z=30+O.f.length+XC(O.extra),A=Y+z;F.set(O.c,A),MC(F,X,O,O.f,O.u,x,Y,O.m),X+=16+z+(O.m?O.m.length:0),Y=A+x}catch(L){return W(L,null)}}FH(F,X,$.length,U,P),W(null,F)};if(!V)T();var M=function(F){var P=Q[F],U=K[P],j=U[0],O=U[1],x=TC(),z=j.length;x.p(j);var A=$C(P),L=A.length,q=O.comment,y=q&&$C(q),S=y&&y.length,v=XC(O.extra),r=O.level==0?0:8,h=function(m,w){if(m)N(),W(m,null);else{var D=w.length;if($[F]=yC(O,{size:z,crc:x.d(),c:w,f:A,m:y,u:L!=P.length||y&&q.length!=S,compression:r}),X+=30+L+v+D,Y+=76+2*(L+v)+(S||0)+D,!--V)T()}};if(L>65535)h(B(11,0,1),null);if(!r)h(null,j);else if(z<160000)try{h(null,cC(j,O))}catch(m){h(m,null)}else R.push(HJ(j,O,h))};for(var G=0;G<E;++G)M(G);return N}function ZJ(H,C){if(!C)C={};var J={},K=[];BH(H,"",J,C);var Q=0,V=0;for(var X in J){var Y=J[X],E=Y[0],$=Y[1],R=$.level==0?0:8,N=$C(X),W=N.length,T=$.comment,M=T&&$C(T),G=M&&M.length,F=XC($.extra);if(W>65535)B(11);var P=R?cC(E,$):E,U=P.length,j=TC();j.p(E),K.push(yC($,{size:E.length,crc:j.d(),c:P,f:N,m:M,u:W!=X.length||M&&T.length!=G,o:Q,compression:R})),Q+=30+W+F+U,V+=76+2*(W+F)+(G||0)+U}var O=new Z(V+22),x=Q,z=V-Q;for(var A=0;A<K.length;++A){var N=K[A];MC(O,N.o,N,N.f,N.u,N.c.length);var L=30+N.f.length+XC(N.extra);O.set(N.c,N.o+L),MC(O,Q,N,N.f,N.u,N.c.length,N.o,N.m),Q+=16+L+(N.m?N.m.length:0)}return FH(O,Q,K.length,z,x),O}function DJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K=[],Q=function(){for(var F=0;F<K.length;++F)K[F]()},V={},X=function(F,P){eC(function(){J(F,P)})};eC(function(){X=J});var Y=H.length-22;for(;k(H,Y)!=101010256;--Y)if(!Y||H.length-Y>65558)return X(B(13,0,1),null),Q;var E=b(H,Y+8);if(E){var $=E,R=k(H,Y+16),N=k(H,Y-20)==117853008;if(N){var W=k(H,Y-12);if(N=k(H,W)==101075792,N)$=E=k(H,W+32),R=k(H,W+48)}var T=C&&C.filter,M=function(F){var P=fH(H,R,N),U=P[0],j=P[1],O=P[2],x=P[3],z=P[4],A=P[5],L=eH(H,A);R=z;var q=function(S,v){if(S)Q(),X(S,null);else{if(v)V[x]=v;if(!--E)X(null,V)}};if(!T||T({name:x,size:j,originalSize:O,compression:U}))if(!U)q(null,d(H,L,L+j));else if(U==8){var y=H.subarray(L,L+j);if(O<524288||j>0.8*O)try{q(null,vC(y,{out:new Z(O)}))}catch(S){q(S,null)}else K.push(rH(y,{size:O},q))}else q(B(14,"unknown compression type "+U,1),null);else q(null,null)};for(var G=0;G<$;++G)M(G)}else X(null,{});return Q}function SJ(H,C){var J={},K=H.length-22;for(;k(H,K)!=101010256;--K)if(!K||H.length-K>65558)B(13);var Q=b(H,K+8);if(!Q)return{};var V=k(H,K+16),X=k(H,K-20)==117853008;if(X){var Y=k(H,K-12);if(X=k(H,Y)==101075792,X)Q=k(H,Y+32),V=k(H,Y+48)}var E=C&&C.filter;for(var $=0;$<Q;++$){var R=fH(H,V,X),N=R[0],W=R[1],T=R[2],M=R[3],G=R[4],F=R[5],P=eH(H,F);if(V=G,!E||E({name:M,size:W,originalSize:T,compression:N}))if(!N)J[M]=d(H,P,P+W);else if(N==8)J[M]=vC(H.subarray(P,P+W),{out:new Z(T)});else B(14,"unknown compression type "+N)}return J}var dH,OC,mC,iC,iH=";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",sH,Z,e,wC,PC,jC,gC,TH=function(H,C){var J=new e(31);for(var K=0;K<31;++K)J[K]=C+=1<<H[K-1];var Q=new wC(J[30]);for(var K=1;K<30;++K)for(var V=J[K];V<J[K+1];++V)Q[V]=V-J[K]<<5|K;return{b:J,r:Q}},OC,XH,oC,ZH,IH,sC,xC,HC,I,l=function(H,C,J){var K=H.length,Q=0,V=new e(C);for(;Q<K;++Q)if(H[Q])++V[H[Q]-1];var X=new e(C);for(Q=1;Q<C;++Q)X[Q]=X[Q-1]+V[Q-1]<<1;var Y;if(J){Y=new e(1<<C);var E=15-C;for(Q=0;Q<K;++Q)if(H[Q]){var $=Q<<4|H[Q],R=C-H[Q],N=X[H[Q]-1]++<<R;for(var W=N|(1<<R)-1;N<=W;++N)Y[xC[N]>>E]=$}}else{Y=new e(K);for(Q=0;Q<K;++Q)if(H[Q])Y[Q]=xC[X[H[Q]-1]++]>>15-H[Q]}return Y},QC,I,I,I,I,LC,I,UH,AH,DH,SH,uC=function(H){var C=H[0];for(var J=1;J<H.length;++J)if(H[J]>C)C=H[J];return C},c=function(H,C,J){var K=C/8|0;return(H[K]|H[K+1]<<8)>>(C&7)&J},rC=function(H,C){var J=C/8|0;return(H[J]|H[J+1]<<8|H[J+2]<<16)>>(C&7)},GC=function(H){return(H+7)/8|0},d=function(H,C,J){if(C==null||C<0)C=0;if(J==null||J>H.length)J=H.length;return new Z(H.subarray(C,J))},RJ,gH,B=function(H,C,J){var K=Error(C||gH[H]);if(K.code=H,Error.captureStackTrace)Error.captureStackTrace(K,B);if(!J)throw K;return K},zC=function(H,C,J,K){var Q=H.length,V=K?K.length:0;if(!Q||C.f&&!C.l)return J||new Z(0);var X=!J,Y=X||C.i!=2,E=C.i;if(X)J=new Z(Q*3);var $=function(DC){var SC=J.length;if(DC>SC){var BC=new Z(Math.max(SC*2,DC));BC.set(J),J=BC}},R=C.f||0,N=C.p||0,W=C.b||0,T=C.l,M=C.d,G=C.m,F=C.n,P=Q*8;do{if(!T){R=c(H,N,1);var U=c(H,N+1,3);if(N+=3,!U){var j=GC(N)+4,O=H[j-4]|H[j-3]<<8,x=j+O;if(x>Q){if(E)B(0);break}if(Y)$(W+O);J.set(H.subarray(j,x),W),C.b=W+=O,C.p=N=x*8,C.f=R;continue}else if(U==1)T=AH,M=SH,G=9,F=5;else if(U==2){var z=c(H,N,31)+257,A=c(H,N+10,15)+4,L=z+c(H,N+5,31)+1;N+=14;var q=new Z(L),y=new Z(19);for(var S=0;S<A;++S)y[gC[S]]=c(H,N+S*3,7);N+=A*3;var v=uC(y),r=(1<<v)-1,h=l(y,v,1);for(var S=0;S<L;){var m=h[c(H,N,r)];N+=m&15;var j=m>>4;if(j<16)q[S++]=j;else{var w=0,D=0;if(j==16)D=3+c(H,N,3),N+=2,w=q[S-1];else if(j==17)D=3+c(H,N,7),N+=3;else if(j==18)D=11+c(H,N,127),N+=7;while(D--)q[S++]=w}}var p=q.subarray(0,z),u=q.subarray(z);G=uC(p),F=uC(u),T=l(p,G,1),M=l(u,F,1)}else B(1);if(N>P){if(E)B(0);break}}if(Y)$(W+131072);var VC=(1<<G)-1,f=(1<<F)-1,s=N;for(;;s=N){var w=T[rC(H,N)&VC],o=w>>4;if(N+=w&15,N>P){if(E)B(0);break}if(!w)B(2);if(o<256)J[W++]=o;else if(o==256){s=N,T=null;break}else{var n=o-254;if(o>264){var S=o-257,_=PC[S];n=c(H,N,(1<<_)-1)+XH[S],N+=_}var CC=M[rC(H,N)&f],EC=CC>>4;if(!CC)B(3);N+=CC&15;var u=IH[EC];if(EC>3){var _=jC[EC];u+=rC(H,N)&(1<<_)-1,N+=_}if(N>P){if(E)B(0);break}if(Y)$(W+131072);var WC=W+n;if(W<u){var kC=V-u,hC=Math.min(u,WC);if(kC+W<0)B(3);for(;W<hC;++W)J[W]=K[kC+W]}for(;W<WC;++W)J[W]=J[W-u]}}if(C.l=T,C.p=s,C.b=W,C.f=R,T)R=1,C.m=G,C.d=M,C.n=F}while(!R);return W!=J.length&&X?d(J,0,W):J.subarray(0,W)},JC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8},FC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8,H[K+2]|=J>>16},pC=function(H,C){var J=[];for(var K=0;K<H.length;++K)if(H[K])J.push({s:K,f:H[K]});var Q=J.length,V=J.slice();if(!Q)return{t:KC,l:0};if(Q==1){var X=new Z(J[0].s+1);return X[J[0].s]=1,{t:X,l:1}}J.sort(function(x,z){return x.f-z.f}),J.push({s:-1,f:25001});var Y=J[0],E=J[1],$=0,R=1,N=2;J[0]={s:-1,f:Y.f+E.f,l:Y,r:E};while(R!=Q-1)Y=J[J[$].f<J[N].f?$++:N++],E=J[$!=R&&J[$].f<J[N].f?$++:N++],J[R++]={s:-1,f:Y.f+E.f,l:Y,r:E};var W=V[0].s;for(var K=1;K<Q;++K)if(V[K].s>W)W=V[K].s;var T=new e(W+1),M=nC(J[R-1],T,0);if(M>C){var K=0,G=0,F=M-C,P=1<<F;V.sort(function(z,A){return T[A.s]-T[z.s]||z.f-A.f});for(;K<Q;++K){var U=V[K].s;if(T[U]>C)G+=P-(1<<M-T[U]),T[U]=C;else break}G>>=F;while(G>0){var j=V[K].s;if(T[j]<C)G-=1<<C-T[j]++-1;else++K}for(;K>=0&&G;--K){var O=V[K].s;if(T[O]==C)--T[O],++G}M=C}return{t:new Z(T),l:M}},nC=function(H,C,J){return H.s==-1?Math.max(nC(H.l,C,J+1),nC(H.r,C,J+1)):C[H.s]=J},tC=function(H){var C=H.length;while(C&&!H[--C]);var J=new e(++C),K=0,Q=H[0],V=1,X=function(E){J[K++]=E};for(var Y=1;Y<=C;++Y)if(H[Y]==Q&&Y!=C)++V;else{if(!Q&&V>2){for(;V>138;V-=138)X(32754);if(V>2)X(V>10?V-11<<5|28690:V-3<<5|12305),V=0}else if(V>3){X(Q),--V;for(;V>6;V-=6)X(8304);if(V>2)X(V-3<<5|8208),V=0}while(V--)X(Q);V=1,Q=H[Y]}return{c:J.subarray(0,K),n:C}},qC=function(H,C){var J=0;for(var K=0;K<C.length;++K)J+=H[K]*C[K];return J},fC=function(H,C,J){var K=J.length,Q=GC(C+2);H[Q]=K&255,H[Q+1]=K>>8,H[Q+2]=H[Q]^255,H[Q+3]=H[Q+1]^255;for(var V=0;V<K;++V)H[Q+V+4]=J[V];return(Q+4+K)*8},CH=function(H,C,J,K,Q,V,X,Y,E,$,R){JC(C,R++,J),++Q[256];var N=pC(Q,15),W=N.t,T=N.l,M=pC(V,15),G=M.t,F=M.l,P=tC(W),U=P.c,j=P.n,O=tC(G),x=O.c,z=O.n,A=new e(19);for(var L=0;L<U.length;++L)++A[U[L]&31];for(var L=0;L<x.length;++L)++A[x[L]&31];var q=pC(A,7),y=q.t,S=q.l,v=19;for(;v>4&&!y[gC[v-1]];--v);var r=$+5<<3,h=qC(Q,QC)+qC(V,LC)+X,m=qC(Q,W)+qC(V,G)+X+14+3*v+qC(A,y)+2*A[16]+3*A[17]+7*A[18];if(E>=0&&r<=h&&r<=m)return fC(C,R,H.subarray(E,E+$));var w,D,p,u;if(JC(C,R,1+(m<h)),R+=2,m<h){w=l(W,T,0),D=W,p=l(G,F,0),u=G;var VC=l(y,S,0);JC(C,R,j-257),JC(C,R+5,z-1),JC(C,R+10,v-4),R+=14;for(var L=0;L<v;++L)JC(C,R+3*L,y[gC[L]]);R+=3*v;var f=[U,x];for(var s=0;s<2;++s){var o=f[s];for(var L=0;L<o.length;++L){var n=o[L]&31;if(JC(C,R,VC[n]),R+=y[n],n>15)JC(C,R,o[L]>>5&127),R+=o[L]>>12}}}else w=UH,D=QC,p=DH,u=LC;for(var L=0;L<Y;++L){var _=K[L];if(_>255){var n=_>>18&31;if(FC(C,R,w[n+257]),R+=D[n+257],n>7)JC(C,R,_>>23&31),R+=PC[n];var CC=_&31;if(FC(C,R,p[CC]),R+=u[CC],CC>3)FC(C,R,_>>5&8191),R+=jC[CC]}else FC(C,R,w[_]),R+=D[_]}return FC(C,R,w[256]),R+D[256]},xH,KC,wH=function(H,C,J,K,Q,V){var X=V.z||H.length,Y=new Z(K+X+5*(1+Math.ceil(X/7000))+Q),E=Y.subarray(K,Y.length-Q),$=V.l,R=(V.r||0)&7;if(C){if(R)E[0]=V.r>>3;var N=xH[C-1],W=N>>13,T=N&8191,M=(1<<J)-1,G=V.p||new e(32768),F=V.h||new e(M+1),P=Math.ceil(J/3),U=2*P,j=function(lC){return(H[lC]^H[lC+1]<<P^H[lC+2]<<U)&M},O=new wC(25000),x=new e(288),z=new e(32),A=0,L=0,q=V.i||0,y=0,S=V.w||0,v=0;for(;q+2<X;++q){var r=j(q),h=q&32767,m=F[r];if(G[h]=m,F[r]=h,S<=q){var w=X-q;if((A>7000||y>24576)&&(w>423||!$)){R=CH(H,E,0,O,x,z,L,y,v,q-v,R),y=A=L=0,v=q;for(var D=0;D<286;++D)x[D]=0;for(var D=0;D<30;++D)z[D]=0}var p=2,u=0,VC=T,f=h-m&32767;if(w>2&&r==j(q-f)){var s=Math.min(W,w)-1,o=Math.min(32767,q),n=Math.min(258,w);while(f<=o&&--VC&&h!=m){if(H[q+p]==H[q+p-f]){var _=0;for(;_<n&&H[q+_]==H[q+_-f];++_);if(_>p){if(p=_,u=f,_>s)break;var CC=Math.min(f,_-2),EC=0;for(var D=0;D<CC;++D){var WC=q-f+D&32767,kC=G[WC],hC=WC-kC&32767;if(hC>EC)EC=hC,m=WC}}}h=m,m=G[h],f+=h-m&32767}}if(u){O[y++]=268435456|oC[p]<<18|sC[u];var DC=oC[p]&31,SC=sC[u]&31;L+=PC[DC]+jC[SC],++x[257+DC],++z[SC],S=q+p,++A}else O[y++]=H[q],++x[H[q]]}}for(q=Math.max(q,S);q<X;++q)O[y++]=H[q],++x[H[q]];if(R=CH(H,E,$,O,x,z,L,y,v,q-v,R),!$)V.r=R&7|E[R/8|0]<<3,R-=7,V.h=F,V.p=G,V.i=q,V.w=S}else{for(var q=V.w||0;q<X+$;q+=65535){var BC=q+65535;if(BC>=X)E[R/8|0]=$,BC=X;R=fC(E,R+1,H.subarray(q,BC))}V.i=X}return d(Y,0,K+GC(R)+Q)},zH,TC=function(){var H=-1;return{p:function(C){var J=H;for(var K=0;K<C.length;++K)J=zH[J&255^C[K]]^J>>>8;H=J},d:function(){return~H}}},aC=function(){var H=1,C=0;return{p:function(J){var K=H,Q=C,V=J.length|0;for(var X=0;X!=V;){var Y=Math.min(X+2655,V);for(;X<Y;++X)Q+=K+=J[X];K=(K&65535)+15*(K>>16),Q=(Q&65535)+15*(Q>>16)}H=K,C=Q},d:function(){return H%=65521,C%=65521,(H&255)<<24|(H&65280)<<8|(C&255)<<8|C>>8}}},RC=function(H,C,J,K,Q){if(!Q){if(Q={l:1},C.dictionary){var V=C.dictionary.subarray(-32768),X=new Z(V.length+H.length);X.set(V),X.set(H,V.length),H=X,Q.w=V.length}}return wH(H,C.level==null?6:C.level,C.mem==null?Q.l?Math.ceil(Math.max(8,Math.min(13,Math.log(H.length)))*1.5):20:12+C.mem,J,K,Q)},yC=function(H,C){var J={};for(var K in H)J[K]=H[K];for(var K in C)J[K]=C[K];return J},qH=function(H,C,J){var K=H(),Q=H.toString(),V=Q.slice(Q.indexOf("[")+1,Q.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var X=0;X<K.length;++X){var Y=K[X],E=V[X];if(typeof Y=="function"){C+=";"+E+"=";var $=Y.toString();if(Y.prototype)if($.indexOf("[native code]")!=-1){var R=$.indexOf(" ",8)+1;C+=$.slice(R,$.indexOf("(",R))}else{C+=$;for(var N in Y.prototype)C+=";"+E+".prototype."+N+"="+Y.prototype[N].toString()}else C+=$}else J[E]=Y}return C},_C,tH=function(H){var C=[];for(var J in H)if(H[J].buffer)C.push((H[J]=new H[J].constructor(H[J])).buffer);return C},yH=function(H,C,J,K){if(!_C[J]){var Q="",V={},X=H.length-1;for(var Y=0;Y<X;++Y)Q=qH(H[Y],Q,V);_C[J]={c:qH(H[X],Q,V),e:V}}var E=yC({},_C[J].e);return sH(_C[J].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+C.toString()+"}",J,E,tH(E),K)},ZC=function(){return[Z,e,wC,PC,jC,gC,XH,IH,AH,SH,xC,gH,l,uC,c,rC,GC,d,B,zC,vC,YC,YH]},IC=function(){return[Z,e,wC,PC,jC,gC,oC,sC,UH,QC,DH,LC,xC,xH,KC,l,JC,FC,pC,nC,tC,qC,fC,CH,GC,d,wH,RC,cC,YC]},vH=function(){return[$H,NH,g,TC,zH]},kH=function(){return[RH,mH]},hH=function(){return[EH,g,aC]},_H=function(){return[WH]},YC=function(H){return postMessage(H,[H.buffer])},YH=function(H){return H&&{out:H.size&&new Z(H.size),dictionary:H.dictionary}},UC=function(H,C,J,K,Q,V){var X=yH(J,K,Q,function(Y,E){X.terminate(),V(Y,E)});return X.postMessage([H,C],C.consume?[H.buffer]:[]),function(){X.terminate()}},i=function(H){return H.ondata=function(C,J){return postMessage([C,J],[C.buffer])},function(C){if(C.data[0])H.push(C.data[0],C.data[1]),postMessage([C.data[0].length]);else H.flush(C.data[1])}},AC=function(H,C,J,K,Q,V,X){var Y,E=yH(H,K,Q,function($,R){if($)E.terminate(),C.ondata.call(C,$);else if(!Array.isArray(R))X(R);else if(R.length==1){if(C.queuedSize-=R[0],C.ondrain)C.ondrain(R[0])}else{if(R[1])E.terminate();C.ondata.call(C,$,R[0],R[1])}});if(E.postMessage(J),C.queuedSize=0,C.push=function($,R){if(!C.ondata)B(5);if(Y)C.ondata(B(4,0,1),null,!!R);C.queuedSize+=$.length,E.postMessage([$,Y=R],$.buffer instanceof ArrayBuffer?[$.buffer]:[])},C.terminate=function(){E.terminate()},V)C.flush=function($){E.postMessage([0,$])}},b=function(H,C){return H[C]|H[C+1]<<8},k=function(H,C){return(H[C]|H[C+1]<<8|H[C+2]<<16|H[C+3]<<24)>>>0},dC=function(H,C){return k(H,C)+k(H,C+4)*4294967296},g=function(H,C,J){for(;J;++C)H[C]=J,J>>>=8},$H=function(H,C){var J=C.filename;if(H[0]=31,H[1]=139,H[2]=8,H[8]=C.level<2?4:C.level==9?2:0,H[9]=3,C.mtime!=0)g(H,4,Math.floor(new Date(C.mtime||Date.now())/1000));if(J){H[3]=8;for(var K=0;K<=J.length;++K)H[K+10]=J.charCodeAt(K)}},RH=function(H){if(H[0]!=31||H[1]!=139||H[2]!=8)B(6,"invalid gzip data");var C=H[3],J=10;if(C&4)J+=(H[10]|H[11]<<8)+2;for(var K=(C>>3&1)+(C>>4&1);K>0;K-=!H[J++]);return J+(C&2)},mH=function(H){var C=H.length;return(H[C-4]|H[C-3]<<8|H[C-2]<<16|H[C-1]<<24)>>>0},NH=function(H){return 10+(H.filename?H.filename.length+1:0)},EH=function(H,C){var J=C.level,K=J==0?0:J<6?1:J==9?3:2;if(H[0]=120,H[1]=K<<6|(C.dictionary&&32),H[1]|=31-(H[0]<<8|H[1])%31,C.dictionary){var Q=aC();Q.p(C.dictionary),g(H,2,Q.d())}},WH=function(H,C){if((H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31)B(6,"invalid zlib data");if((H[1]>>5&1)==+!C)B(6,"invalid zlib data: "+(H[1]&32?"need":"unexpected")+" dictionary");return(H[1]>>3&4)+2},t,CJ,a,uH,OH,NJ,HH,JJ,MH,WJ,KH,QJ,jH,FJ,BH=function(H,C,J,K){for(var Q in H){var V=H[Q],X=C+Q,Y=K;if(Array.isArray(V))Y=yC(K,V[1]),V=V[0];if(ArrayBuffer.isView(V))J[X]=[V,Y];else J[X+="/"]=[new Z(0),Y],BH(V,X,J,K)}},GH,VH,pH=0,oH=function(H){for(var C="",J=0;;){var K=H[J++],Q=(K>127)+(K>223)+(K>239);if(J+Q>H.length)return{s:C,r:d(H,J-1)};if(!Q)C+=String.fromCharCode(K);else if(Q==3)K=((K&15)<<18|(H[J++]&63)<<12|(H[J++]&63)<<6|H[J++]&63)-65536,C+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Q&1)C+=String.fromCharCode((K&31)<<6|H[J++]&63);else C+=String.fromCharCode((K&15)<<12|(H[J++]&63)<<6|H[J++]&63)}},LJ,MJ,bH=function(H){return H==1?3:H<6?2:H==9?1:0},eH=function(H,C){return C+30+b(H,C+26)+b(H,C+28)},fH=function(H,C,J){var K=b(H,C+28),Q=b(H,C+30),V=nH(H.subarray(C+46,C+46+K),!(b(H,C+8)&2048)),X=C+46+K,Y=aH(H,X,Q,J,k(H,C+20),k(H,C+24),k(H,C+42)),E=Y[0],$=Y[1],R=Y[2];return[b(H,C+10),E,$,V,X+Q+b(H,C+32),R]},aH=function(H,C,J,K,Q,V,X){var Y=Q==4294967295,E=V==4294967295,$=X==4294967295,R=C+J,N=Y+E+$;if(K&&N){for(;C+4<R;C+=4+b(H,C+2))if(b(H,C)==1)return[Y?dC(H,C+4+8*E):Q,E?dC(H,C+4):V,$?dC(H,C+4+8*(E+Y)):X,1];if(K<2)B(13)}return[Q,V,X,0]},XC=function(H){var C=0;if(H)for(var J in H){var K=H[J].length;if(K>65535)B(9);C+=K+4}return C},MC=function(H,C,J,K,Q,V,X,Y){var E=K.length,$=J.extra,R=Y&&Y.length,N=XC($);if(g(H,C,X!=null?33639248:67324752),C+=4,X!=null)H[C++]=20,H[C++]=J.os;H[C]=20,C+=2,H[C++]=J.flag<<1|(V<0&&8),H[C++]=Q&&8,H[C++]=J.compression&255,H[C++]=J.compression>>8;var W=new Date(J.mtime==null?Date.now():J.mtime),T=W.getFullYear()-1980;if(T<0||T>119)B(10);if(g(H,C,T<<25|W.getMonth()+1<<21|W.getDate()<<16|W.getHours()<<11|W.getMinutes()<<5|W.getSeconds()>>1),C+=4,V!=-1)g(H,C,J.crc),g(H,C+4,V<0?-V-2:V),g(H,C+8,J.size);if(g(H,C+12,E),g(H,C+14,N),C+=16,X!=null)g(H,C,R),g(H,C+6,J.attrs),g(H,C+10,X),C+=14;if(H.set(K,C),C+=E,N)for(var M in $){var G=$[M],F=G.length;g(H,C,+M),g(H,C+2,F),H.set(G,C+4),C+=4+F}if(R)H.set(Y,C),C+=R;return C},FH=function(H,C,J,K,Q){g(H,C,101010256),g(H,C+8,J),g(H,C+10,J),g(H,C+12,K),g(H,C+16,Q)},bC,PJ,jJ,GJ,XJ,IJ,UJ,AJ,eC;var YJ=cH(()=>{dH=lH("/");try{OC=dH("worker_threads"),mC=OC.Worker,iC=OC.isMarkedAsUntransferable}catch(H){}sH=mC?function(H,C,J,K,Q){var V=!1,X=new mC(H+iH,{eval:!0}).on("error",function(Y){return Q(Y,null)}).on("message",function(Y){return Q(null,Y)}).on("exit",function(Y){if(Y&&!V)Q(Error("exited with code "+Y),null)});if(iC)K=K.filter(function(Y){return!iC(Y)});return X.postMessage(J,K),X.terminate=function(){return V=!0,mC.prototype.terminate.call(X)},X}:function(H,C,J,K,Q){setImmediate(function(){return Q(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var V=function(){};return{terminate:V,postMessage:V}},Z=Uint8Array,e=Uint16Array,wC=Int32Array,PC=new Z([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),jC=new Z([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gC=new Z([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OC=TH(PC,2),XH=OC.b,oC=OC.r;XH[28]=258,oC[258]=28;ZH=TH(jC,0),IH=ZH.b,sC=ZH.r,xC=new e(32768);for(I=0;I<32768;++I)HC=(I&43690)>>1|(I&21845)<<1,HC=(HC&52428)>>2|(HC&13107)<<2,HC=(HC&61680)>>4|(HC&3855)<<4,xC[I]=((HC&65280)>>8|(HC&255)<<8)>>1;QC=new Z(288);for(I=0;I<144;++I)QC[I]=8;for(I=144;I<256;++I)QC[I]=9;for(I=256;I<280;++I)QC[I]=7;for(I=280;I<288;++I)QC[I]=8;LC=new Z(32);for(I=0;I<32;++I)LC[I]=5;UH=l(QC,9,0),AH=l(QC,9,1),DH=l(LC,5,0),SH=l(LC,5,1),RJ={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},gH=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xH=new wC([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),KC=new Z(0),zH=function(){var H=new Int32Array(256);for(var C=0;C<256;++C){var J=C,K=9;while(--K)J=(J&1&&-306674912)^J>>>1;H[C]=J}return H}(),_C=[];t=function(){function H(C,J){if(typeof C=="function")J=C,C={};if(this.ondata=J,this.o=C||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Z(98304),this.o.dictionary){var K=this.o.dictionary.subarray(-32768);this.b.set(K,32768-K.length),this.s.i=32768-K.length}}return H.prototype.p=function(C,J){this.ondata(RC(C,this.o,0,0,this.s),J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.s.l)B(4);var K=C.length+this.s.z;if(K>this.b.length){if(K>2*this.b.length-32768){var Q=new Z(K&-32768);Q.set(this.b.subarray(0,this.s.z)),this.b=Q}var V=this.b.length-this.s.z;this.b.set(C.subarray(0,V),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(C.subarray(V),32768),this.s.z=C.length-V+32768,this.s.i=32766,this.s.w=32768}else this.b.set(C,this.s.z),this.s.z+=C.length;if(this.s.l=J&1,this.s.z>this.s.w+8191||J)this.p(this.b,J||!1),this.s.w=this.s.i,this.s.i-=2;if(J)this.s=this.o={},this.b=KC},H.prototype.flush=function(C){if(!this.ondata)B(5);if(this.s.l)B(4);if(this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2,C){var J=new Z(6);J[0]=this.s.r>>3;var K=fC(J,this.s.r,KC);this.s.r=0,this.ondata(J.subarray(0,K>>3),!1)}},H}(),CJ=function(){function H(C,J){AC([IC,function(){return[i,t]}],this,NC.call(this,C,J),function(K){var Q=new t(K.data);onmessage=i(Q)},6,1)}return H}();a=function(){function H(C,J){if(typeof C=="function")J=C,C={};this.ondata=J;var K=C&&C.dictionary&&C.dictionary.subarray(-32768);if(this.s={i:0,b:K?K.length:0},this.o=new Z(32768),this.p=new Z(0),K)this.o.set(K)}return H.prototype.e=function(C){if(!this.ondata)B(5);if(this.d)B(4);if(!this.p.length)this.p=C;else if(C.length){var J=new Z(this.p.length+C.length);J.set(this.p),J.set(C,this.p.length),this.p=J}},H.prototype.c=function(C){this.s.i=+(this.d=C||!1);var J=this.s.b,K=zC(this.p,this.s,this.o);this.ondata(d(K,J,this.s.b),this.d),this.o=d(K,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},H.prototype.push=function(C,J){this.e(C),this.c(J)},H}(),uH=function(){function H(C,J){AC([ZC,function(){return[i,a]}],this,NC.call(this,C,J),function(K){var Q=new a(K.data);onmessage=i(Q)},7,0)}return H}();OH=function(){function H(C,J){this.c=TC(),this.l=0,this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),this.l+=C.length,t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&NH(this.o),J&&8,this.s);if(this.v)$H(K,this.o),this.v=0;if(J)g(K,K.length-8,this.c.d()),g(K,K.length-4,this.l);this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),NJ=function(){function H(C,J){AC([IC,vH,function(){return[i,t,OH]}],this,NC.call(this,C,J),function(K){var Q=new OH(K.data);onmessage=i(Q)},8,1)}return H}();HH=function(){function H(C,J){this.v=1,this.r=0,a.call(this,C,J)}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.r+=C.length,this.v){var K=this.p.subarray(this.v-1),Q=K.length>3?RH(K):4;if(Q>K.length){if(!J)return}else if(this.v>1&&this.onmember)this.onmember(this.r-K.length);this.p=K.subarray(Q),this.v=0}if(a.prototype.c.call(this,0),this.s.f&&!this.s.l)this.v=GC(this.s.p)+9,this.s={i:0},this.o=new Z(0),this.push(new Z(0),J);else if(J)a.prototype.c.call(this,J)},H}(),JJ=function(){function H(C,J){var K=this;AC([ZC,kH,function(){return[i,a,HH]}],this,NC.call(this,C,J),function(Q){var V=new HH(Q.data);V.onmember=function(X){return postMessage(X)},onmessage=i(V)},9,0,function(Q){return K.onmember&&K.onmember(Q)})}return H}();MH=function(){function H(C,J){this.c=aC(),this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&(this.o.dictionary?6:2),J&&4,this.s);if(this.v)EH(K,this.o),this.v=0;if(J)g(K,K.length-4,this.c.d());this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),WJ=function(){function H(C,J){AC([IC,hH,function(){return[i,t,MH]}],this,NC.call(this,C,J),function(K){var Q=new MH(K.data);onmessage=i(Q)},10,1)}return H}();KH=function(){function H(C,J){a.call(this,C,J),this.v=C&&C.dictionary?2:1}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.v){if(this.p.length<6&&!J)return;this.p=this.p.subarray(WH(this.p,this.v-1)),this.v=0}if(J){if(this.p.length<4)B(6,"invalid zlib data");this.p=this.p.subarray(0,-4)}a.prototype.c.call(this,J)},H}(),QJ=function(){function H(C,J){AC([ZC,_H,function(){return[i,a,KH]}],this,NC.call(this,C,J),function(K){var Q=new KH(K.data);onmessage=i(Q)},11,0)}return H}();jH=function(){function H(C,J){this.o=NC.call(this,C,J)||{},this.G=HH,this.I=a,this.Z=KH}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K){C.ondata(J,K)}},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(!this.s){if(this.p&&this.p.length){var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length)}else this.p=C;if(this.p.length>2)this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,J),this.p=null}else this.s.push(C,J)},H}(),FJ=function(){function H(C,J){jH.call(this,C,J),this.queuedSize=0,this.G=JJ,this.I=uH,this.Z=QJ}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K,Q){C.ondata(J,K,Q)},this.s.ondrain=function(J){if(C.queuedSize-=J,C.ondrain)C.ondrain(J)}},H.prototype.push=function(C,J){this.queuedSize+=C.length,jH.prototype.push.call(this,C,J)},H}();GH=typeof TextEncoder<"u"&&new TextEncoder,VH=typeof TextDecoder<"u"&&new TextDecoder;try{VH.decode(KC,{stream:!0}),pH=1}catch(H){}LJ=function(){function H(C){if(this.ondata=C,pH)this.t=new TextDecoder;else this.p=KC}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(J=!!J,this.t){if(this.ondata(this.t.decode(C,{stream:!0}),J),J){if(this.t.decode().length)B(8);this.t=null}return}if(!this.p)B(4);var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length);var Q=oH(K),V=Q.s,X=Q.r;if(J){if(X.length)B(8);this.p=null}else this.p=X;this.ondata(V,J)},H}(),MJ=function(){function H(C){this.ondata=C}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.d)B(4);this.ondata($C(C),this.d=J||!1)},H}();bC=function(){function H(C){this.filename=C,this.c=TC(),this.size=0,this.compression=0}return H.prototype.process=function(C,J){this.ondata(null,C,J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.c.p(C),this.size+=C.length,J)this.crc=this.c.d();this.process(C,J||!1)},H}(),PJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new t(J,function(Q,V){K.ondata(null,Q,V)}),this.compression=8,this.flag=bH(J.level)}return H.prototype.process=function(C,J){try{this.d.push(C,J)}catch(K){this.ondata(K,null,J)}},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),jJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new CJ(J,function(Q,V,X){K.ondata(Q,V,X)}),this.compression=8,this.flag=bH(J.level),this.terminate=this.d.terminate}return H.prototype.process=function(C,J){this.d.push(C,J)},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),GJ=function(){function H(C){this.ondata=C,this.u=[],this.d=1}return H.prototype.add=function(C){var J=this;if(!this.ondata)B(5);if(this.d&2)this.ondata(B(4+(this.d&1)*8,0,1),null,!1);else{var K=$C(C.filename),Q=K.length,V=C.comment,X=V&&$C(V),Y=Q!=C.filename.length||X&&V.length!=X.length,E=Q+XC(C.extra)+30;if(Q>65535)this.ondata(B(11,0,1),null,!1);var $=new Z(E);MC($,0,C,K,Y,-1);var R=[$],N=function(){for(var F=0,P=R;F<P.length;F++){var U=P[F];J.ondata(null,U,!1)}R=[]},W=this.d;this.d=0;var T=this.u.length,M=yC(C,{f:K,u:Y,o:X,t:function(){if(C.terminate)C.terminate()},r:function(){if(N(),W){var F=J.u[T+1];if(F)F.r();else J.d=1}W=1}}),G=0;C.ondata=function(F,P,U){if(F)J.ondata(F,P,U),J.terminate();else if(G+=P.length,R.push(P),U){var j=new Z(16);if(g(j,0,134695760),g(j,4,C.crc),g(j,8,G),g(j,12,C.size),R.push(j),M.c=G,M.b=E+G+16,M.crc=C.crc,M.size=C.size,W)M.r();W=1}else if(W)N()},this.u.push(M)}},H.prototype.end=function(){var C=this;if(this.d&2){this.ondata(B(4+(this.d&1)*8,0,1),null,!0);return}if(this.d)this.e();else this.u.push({r:function(){if(!(C.d&1))return;C.u.splice(-1,1),C.e()},t:function(){}});this.d=3},H.prototype.e=function(){var C=0,J=0,K=0;for(var Q=0,V=this.u;Q<V.length;Q++){var X=V[Q];K+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0)}var Y=new Z(K+22);for(var E=0,$=this.u;E<$.length;E++){var X=$[E];MC(Y,C,X,X.f,X.u,-X.c-2,J,X.o),C+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0),J+=X.b}FH(Y,C,this.u.length,K,J),this.ondata(null,Y,!0),this.d=2},H.prototype.terminate=function(){for(var C=0,J=this.u;C<J.length;C++){var K=J[C];K.t()}this.d=2},H}();XJ=function(){function H(){}return H.prototype.push=function(C,J){this.ondata(null,C,J)},H.compression=0,H}(),IJ=function(){function H(){var C=this;this.i=new a(function(J,K){C.ondata(null,J,K)})}return H.prototype.push=function(C,J){try{this.i.push(C,J)}catch(K){this.ondata(K,null,J)}},H.compression=8,H}(),UJ=function(){function H(C,J){var K=this;if(J<320000)this.i=new a(function(Q,V){K.ondata(null,Q,V)});else this.i=new uH(function(Q,V,X){K.ondata(Q,V,X)}),this.terminate=this.i.terminate}return H.prototype.push=function(C,J){if(this.i.terminate)C=d(C,0);this.i.push(C,J)},H.compression=8,H}(),AJ=function(){function H(C){this.onfile=C,this.k=[],this.o={0:XJ},this.p=KC}return H.prototype.push=function(C,J){var K=this;if(!this.onfile)B(5);if(!this.p)B(4);if(this.c>0){var Q=Math.min(this.c,C.length),V=C.subarray(0,Q);if(this.c-=Q,this.d)this.d.push(V,!this.c);else this.k[0].push(V);if(C=C.subarray(Q),C.length)return this.push(C,J)}else{var X=0,Y=0,E=void 0,$=void 0;if(!this.p.length)$=C;else if(!C.length)$=this.p;else $=new Z(this.p.length+C.length),$.set(this.p),$.set(C,this.p.length);var R=$.length,N=this.c,W=N&&this.d,T=function(){var P=k($,Y);if(P==67324752){X=1,E=Y,M.d=null,M.c=0;var U=b($,Y+6),j=b($,Y+8),O=U&2048,x=U&8,z=b($,Y+26),A=b($,Y+28);if(R>Y+30+z+A){var L=[];M.k.unshift(L),X=2;var q=k($,Y+18),y=k($,Y+22),S=nH($.subarray(Y+30,Y+=30+z),!O),v=aH($,Y,A,2,q,y,0),r=v[0],h=v[1],m=v[3];if(x)r=-1-m;Y+=A,M.c=r;var w,D={name:S,compression:j,start:function(){if(!D.ondata)B(5);if(!r)D.ondata(null,KC,!0);else{var p=K.o[j];if(!p)D.ondata(B(14,"unknown compression type "+j,1),null,!1);w=r<0?new p(S):new p(S,r,h),w.ondata=function(s,o,n){D.ondata(s,o,n)};for(var u=0,VC=L;u<VC.length;u++){var f=VC[u];w.push(f,!1)}if(K.k[0]==L&&K.c)K.d=w;else w.push(KC,!0)}},terminate:function(){if(w&&w.terminate)w.terminate()}};if(r>=0)D.size=r,D.originalSize=h;M.onfile(D)}return"break"}else if(N){if(P==134695760)return E=Y+=12+(N==-2&&8),X=3,M.c=0,"break";else if(P==33639248)return E=Y-=4,X=3,M.c=0,"break"}},M=this;for(;Y<R-4;++Y){var G=T();if(G==="break")break}if(this.p=KC,N<0){var F=X?$.subarray(0,E-12-(N==-2&&8)-(k($,E-16)==134695760&&4)):$.subarray(0,Y);if(W)W.push(F,!!X);else this.k[+(X==2)].push(F)}if(X&2)return this.push($.subarray(Y),J);this.p=$.subarray(Y)}if(J){if(this.c)B(13);this.p=null}},H.prototype.register=function(C){this.o[C.compression]=C},H}(),eC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(H){H()}});YJ();export{PH as zlibSync,BJ as zlib,ZJ as zipSync,TJ as zip,QH as unzlibSync,VJ as unzlib,SJ as unzipSync,DJ as unzip,$C as strToU8,nH as strFromU8,vC as inflateSync,rH as inflate,LH as gzipSync,EJ as gzip,JH as gunzipSync,KJ as gunzip,cC as deflateSync,HJ as deflate,OJ as decompressSync,qJ as decompress,LH as compressSync,EJ as compress,MH as Zlib,bC as ZipPassThrough,PJ as ZipDeflate,GJ as Zip,KH as Unzlib,XJ as UnzipPassThrough,IJ as UnzipInflate,AJ as Unzip,a as Inflate,OH as Gzip,HH as Gunzip,RJ as FlateErrorCode,MJ as EncodeUTF8,t as Deflate,jH as Decompress,LJ as DecodeUTF8,OH as Compress,WJ as AsyncZlib,jJ as AsyncZipDeflate,QJ as AsyncUnzlib,UJ as AsyncUnzipInflate,uH as AsyncInflate,NJ as AsyncGzip,JJ as AsyncGunzip,CJ as AsyncDeflate,FJ as AsyncDecompress,NJ as AsyncCompress};