@claudiolabs/claudin 1.0.4 → 1.0.5

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 (903) hide show
  1. package/dist/chunks/AgentTool-1.0.5-bve72qn3.mjs +1 -0
  2. package/dist/chunks/App-1.0.5-b1ptk818.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.0.5-d73v27vk.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.0.5-m4g9ve5w.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.0.5-1fhw47s3.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.0.5-2ftcd34q.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.5-vvt3qmd3.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.0.5-5tbav27h.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.0.5-wfmfaq5y.mjs +7 -0
  10. package/dist/chunks/Doctor-1.0.5-aqtamd4t.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.0.5-fcek5ayb.mjs +6 -0
  12. package/dist/chunks/Grove-1.0.5-s0g6h4ad.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.0.5-8mefb31y.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.0.5-yg1pp4kj.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.0.5-ehfvv8xr.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.0.5-3g1wgttr.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.0.5-5xmfzaxp.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.0.5-js8agmz4.mjs +1 -0
  19. package/dist/chunks/REPL-1.0.5-cbty14yx.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.0.5-tk06qwet.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.0.5-dw798fgm.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.0.5-e9ecn6bv.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.0.5-73c21yk8.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.0.5-5z8kf91x.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.0.5-ymwpv5sa.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.0.5-sr892kpq.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.0.5-m1cpcqn6.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.0.5-472zrw1v.mjs +1 -0
  29. package/dist/chunks/add-dir-1.0.5-ge50ybwk.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.0.5-3zacry7t.mjs +1 -0
  31. package/dist/chunks/agents-1.0.5-v6mp2y4s.mjs +3 -0
  32. package/dist/chunks/agents-1.0.5-wv6r8bz8.mjs +110 -0
  33. package/dist/chunks/api-1.0.5-7ycxccha.mjs +1 -0
  34. package/dist/chunks/asciicast-1.0.5-hekxdzwx.mjs +1 -0
  35. package/dist/chunks/assistant-1.0.5-z18w3et3.mjs +1 -0
  36. package/dist/chunks/auth-1.0.5-2m7h1jf6.mjs +1 -0
  37. package/dist/chunks/auth-1.0.5-dpr47wdh.mjs +1 -0
  38. package/dist/chunks/autoMode-1.0.5-ydsnyr10.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.0.5-qk4kweea.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.0.5-m33sas71.mjs +1 -0
  41. package/dist/chunks/branch-1.0.5-e7g32mca.mjs +4 -0
  42. package/dist/chunks/bridge-1.0.5-vw1vdqpn.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.0.5-ws0123wb.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.0.5-319ckfdw.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.0.5-9s4j62gn.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.0.5-tmrgtd3x.mjs +1 -0
  47. package/dist/chunks/btw-1.0.5-vx6jpr7g.mjs +1 -0
  48. package/dist/chunks/buddy-1.0.5-1p0vvmht.mjs +3 -0
  49. package/dist/chunks/cacache-1.0.5-wjkzfh58.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.0.5-5nq882mh.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.0.5-wrrdeke5.mjs +4 -0
  52. package/dist/chunks/caches-1.0.5-v8k4exyq.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.0.5-gvxyj4xd.mjs +1 -0
  54. package/dist/chunks/claudemd-1.0.5-3jqbm6dg.mjs +1 -0
  55. package/dist/chunks/clear-1.0.5-ydrbv5sa.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.0.5-2xv2cmn3.mjs +1 -0
  57. package/dist/chunks/cli-1.0.5-03wgbmm2.mjs +20 -0
  58. package/dist/chunks/cli-1.0.5-0k6kyvrp.mjs +4 -0
  59. package/dist/chunks/cli-1.0.5-0qaqmxjt.mjs +24 -0
  60. package/dist/chunks/cli-1.0.5-0qw6t36m.mjs +2 -0
  61. package/dist/chunks/cli-1.0.5-0rec9csa.mjs +2 -0
  62. package/dist/chunks/cli-1.0.5-0s0v1gg0.mjs +2 -0
  63. package/dist/chunks/cli-1.0.5-0sq2vybw.mjs +2 -0
  64. package/dist/chunks/cli-1.0.5-0trf2gsb.mjs +3 -0
  65. package/dist/chunks/cli-1.0.5-0ye9svdt.mjs +2 -0
  66. package/dist/chunks/cli-1.0.5-0zrj33nk.mjs +4 -0
  67. package/dist/chunks/cli-1.0.5-123rr4tv.mjs +17 -0
  68. package/dist/chunks/cli-1.0.5-13h520vn.mjs +2 -0
  69. package/dist/chunks/cli-1.0.5-15332510.mjs +18 -0
  70. package/dist/chunks/cli-1.0.5-15xp9y4j.mjs +2 -0
  71. package/dist/chunks/cli-1.0.5-1b29x90m.mjs +2 -0
  72. package/dist/chunks/cli-1.0.5-1ca2a1kb.mjs +2 -0
  73. package/dist/chunks/cli-1.0.5-1ngdnte5.mjs +2 -0
  74. package/dist/chunks/cli-1.0.5-1z04v9fp.mjs +2 -0
  75. package/dist/chunks/cli-1.0.5-229sbfzz.mjs +15 -0
  76. package/dist/chunks/cli-1.0.5-29rk70p9.mjs +2 -0
  77. package/dist/chunks/cli-1.0.5-2aw9s99e.mjs +6 -0
  78. package/dist/chunks/cli-1.0.5-2hp8c4re.mjs +2 -0
  79. package/dist/chunks/cli-1.0.5-2j3w0k8p.mjs +3 -0
  80. package/dist/chunks/cli-1.0.5-2s6yzh9g.mjs +2 -0
  81. package/dist/chunks/cli-1.0.5-2x0kgr9z.mjs +2 -0
  82. package/dist/chunks/cli-1.0.5-39mk3dk2.mjs +9 -0
  83. package/dist/chunks/cli-1.0.5-39veaqd7.mjs +2 -0
  84. package/dist/chunks/cli-1.0.5-3c8dt3cc.mjs +12 -0
  85. package/dist/chunks/cli-1.0.5-3dcw9ffw.mjs +2 -0
  86. package/dist/chunks/cli-1.0.5-3mmky5x7.mjs +67 -0
  87. package/dist/chunks/cli-1.0.5-3qaq54xf.mjs +2 -0
  88. package/dist/chunks/cli-1.0.5-41vyz0qd.mjs +18 -0
  89. package/dist/chunks/cli-1.0.5-45wvp02j.mjs +2 -0
  90. package/dist/chunks/cli-1.0.5-46363jdw.mjs +34 -0
  91. package/dist/chunks/cli-1.0.5-4az3eg5n.mjs +2 -0
  92. package/dist/chunks/cli-1.0.5-4cf0c00c.mjs +2 -0
  93. package/dist/chunks/cli-1.0.5-4h3763ep.mjs +2 -0
  94. package/dist/chunks/cli-1.0.5-4xvkzkh8.mjs +2 -0
  95. package/dist/chunks/cli-1.0.5-4zswwdgs.mjs +2 -0
  96. package/dist/chunks/cli-1.0.5-53d6wywt.mjs +2 -0
  97. package/dist/chunks/cli-1.0.5-57axxb5t.mjs +9 -0
  98. package/dist/chunks/cli-1.0.5-57w7a5bs.mjs +3 -0
  99. package/dist/chunks/cli-1.0.5-5bxyzsp6.mjs +2 -0
  100. package/dist/chunks/cli-1.0.5-5d3y804x.mjs +2 -0
  101. package/dist/chunks/cli-1.0.5-5j8nqcrs.mjs +2 -0
  102. package/dist/chunks/cli-1.0.5-5mk9wvxw.mjs +4 -0
  103. package/dist/chunks/cli-1.0.5-5mnf7pdd.mjs +2 -0
  104. package/dist/chunks/cli-1.0.5-5r2pnj92.mjs +2 -0
  105. package/dist/chunks/cli-1.0.5-5r37hkj4.mjs +2 -0
  106. package/dist/chunks/cli-1.0.5-5zqq0zy7.mjs +2 -0
  107. package/dist/chunks/cli-1.0.5-6bbza4by.mjs +2 -0
  108. package/dist/chunks/cli-1.0.5-6dxc5313.mjs +2 -0
  109. package/dist/chunks/cli-1.0.5-6shb2frf.mjs +2 -0
  110. package/dist/chunks/cli-1.0.5-73mr16hn.mjs +2 -0
  111. package/dist/chunks/cli-1.0.5-77gpdsqr.mjs +2 -0
  112. package/dist/chunks/cli-1.0.5-7b347m92.mjs +59 -0
  113. package/dist/chunks/cli-1.0.5-7vf1pr3c.mjs +2 -0
  114. package/dist/chunks/cli-1.0.5-84039hcz.mjs +2 -0
  115. package/dist/chunks/cli-1.0.5-8arg550h.mjs +2 -0
  116. package/dist/chunks/cli-1.0.5-8b04xvpj.mjs +15 -0
  117. package/dist/chunks/cli-1.0.5-8d1k2x24.mjs +3 -0
  118. package/dist/chunks/cli-1.0.5-8dg2y6tg.mjs +3 -0
  119. package/dist/chunks/cli-1.0.5-8mfjh9vw.mjs +2 -0
  120. package/dist/chunks/cli-1.0.5-8rzb2qem.mjs +17 -0
  121. package/dist/chunks/cli-1.0.5-8vatjwa7.mjs +5 -0
  122. package/dist/chunks/cli-1.0.5-8xf656w6.mjs +2 -0
  123. package/dist/chunks/cli-1.0.5-96fnr7xq.mjs +2 -0
  124. package/dist/chunks/cli-1.0.5-9c0hvxqx.mjs +2 -0
  125. package/dist/chunks/cli-1.0.5-9m4a2113.mjs +199 -0
  126. package/dist/chunks/cli-1.0.5-9n44f77w.mjs +2 -0
  127. package/dist/chunks/cli-1.0.5-9p4aamqf.mjs +2 -0
  128. package/dist/chunks/cli-1.0.5-9q1kjzxh.mjs +50 -0
  129. package/dist/chunks/cli-1.0.5-a09d7qpj.mjs +2 -0
  130. package/dist/chunks/cli-1.0.5-a0zsx9k5.mjs +6 -0
  131. package/dist/chunks/cli-1.0.5-a1fg3j9y.mjs +4 -0
  132. package/dist/chunks/cli-1.0.5-a3w7xpt0.mjs +2 -0
  133. package/dist/chunks/cli-1.0.5-a4weds6b.mjs +12 -0
  134. package/dist/chunks/cli-1.0.5-ackn9tdr.mjs +12 -0
  135. package/dist/chunks/cli-1.0.5-ax3758yk.mjs +2 -0
  136. package/dist/chunks/cli-1.0.5-axhexev2.mjs +4 -0
  137. package/dist/chunks/cli-1.0.5-b1qrxf5t.mjs +2 -0
  138. package/dist/chunks/cli-1.0.5-b9bacpp4.mjs +2 -0
  139. package/dist/chunks/cli-1.0.5-bbvr04n3.mjs +2 -0
  140. package/dist/chunks/cli-1.0.5-bbwvchab.mjs +3 -0
  141. package/dist/chunks/cli-1.0.5-bdad6ney.mjs +2 -0
  142. package/dist/chunks/cli-1.0.5-br28xg7b.mjs +2 -0
  143. package/dist/chunks/cli-1.0.5-br7w7ze2.mjs +2 -0
  144. package/dist/chunks/cli-1.0.5-c7k0f8wp.mjs +3 -0
  145. package/dist/chunks/cli-1.0.5-c91dt7xk.mjs +2 -0
  146. package/dist/chunks/cli-1.0.5-c96fh05p.mjs +3 -0
  147. package/dist/chunks/cli-1.0.5-cqyc6p8s.mjs +2 -0
  148. package/dist/chunks/cli-1.0.5-d2f5wztt.mjs +2 -0
  149. package/dist/chunks/cli-1.0.5-d8mbbnv3.mjs +2 -0
  150. package/dist/chunks/cli-1.0.5-d94fzt0m.mjs +1 -0
  151. package/dist/chunks/cli-1.0.5-das3386n.mjs +2 -0
  152. package/dist/chunks/cli-1.0.5-dcqw85vj.mjs +2 -0
  153. package/dist/chunks/cli-1.0.5-des22ges.mjs +15 -0
  154. package/dist/chunks/cli-1.0.5-dvcx4amk.mjs +2 -0
  155. package/dist/chunks/cli-1.0.5-dxz3143j.mjs +2 -0
  156. package/dist/chunks/cli-1.0.5-ea6p97zd.mjs +2 -0
  157. package/dist/chunks/cli-1.0.5-edajpjmg.mjs +2 -0
  158. package/dist/chunks/cli-1.0.5-en031fdr.mjs +2 -0
  159. package/dist/chunks/cli-1.0.5-ezk8ma1j.mjs +2 -0
  160. package/dist/chunks/cli-1.0.5-f27mhrw6.mjs +45 -0
  161. package/dist/chunks/cli-1.0.5-f6bn3jxz.mjs +2 -0
  162. package/dist/chunks/cli-1.0.5-f7xkakb1.mjs +18 -0
  163. package/dist/chunks/cli-1.0.5-fa0mqzrq.mjs +133 -0
  164. package/dist/chunks/cli-1.0.5-fa2wnwya.mjs +2 -0
  165. package/dist/chunks/cli-1.0.5-fag58qwa.mjs +2 -0
  166. package/dist/chunks/cli-1.0.5-g21rt29j.mjs +2 -0
  167. package/dist/chunks/cli-1.0.5-g9s591pn.mjs +2 -0
  168. package/dist/chunks/cli-1.0.5-gdb1jgqb.mjs +2 -0
  169. package/dist/chunks/cli-1.0.5-gkss5w7t.mjs +2 -0
  170. package/dist/chunks/cli-1.0.5-gw52qb5c.mjs +2 -0
  171. package/dist/chunks/cli-1.0.5-ha9p17yw.mjs +24 -0
  172. package/dist/chunks/cli-1.0.5-hgadanc5.mjs +2 -0
  173. package/dist/chunks/cli-1.0.5-hq3f080w.mjs +5471 -0
  174. package/dist/chunks/cli-1.0.5-hz1nj3xh.mjs +2 -0
  175. package/dist/chunks/cli-1.0.5-j2w9p7gf.mjs +6 -0
  176. package/dist/chunks/cli-1.0.5-j4hpefm6.mjs +25 -0
  177. package/dist/chunks/cli-1.0.5-jaf04yn4.mjs +2 -0
  178. package/dist/chunks/cli-1.0.5-jcd8tadh.mjs +2 -0
  179. package/dist/chunks/cli-1.0.5-jewqmvp6.mjs +2 -0
  180. package/dist/chunks/cli-1.0.5-jmw0tc8t.mjs +2 -0
  181. package/dist/chunks/cli-1.0.5-jqnmxwxw.mjs +2 -0
  182. package/dist/chunks/cli-1.0.5-k0gvkh49.mjs +2 -0
  183. package/dist/chunks/cli-1.0.5-k8de6zdd.mjs +4 -0
  184. package/dist/chunks/cli-1.0.5-k9jqdbmm.mjs +2 -0
  185. package/dist/chunks/cli-1.0.5-kcp28c4h.mjs +2 -0
  186. package/dist/chunks/cli-1.0.5-kjy5f3kr.mjs +2 -0
  187. package/dist/chunks/cli-1.0.5-m5af0s7r.mjs +2 -0
  188. package/dist/chunks/cli-1.0.5-mekqm9qg.mjs +133 -0
  189. package/dist/chunks/cli-1.0.5-mffe7dsb.mjs +2 -0
  190. package/dist/chunks/cli-1.0.5-mmdqsfz9.mjs +2 -0
  191. package/dist/chunks/cli-1.0.5-mnqb7gd5.mjs +2 -0
  192. package/dist/chunks/cli-1.0.5-mq33s4f9.mjs +2 -0
  193. package/dist/chunks/cli-1.0.5-mt5e9at7.mjs +2 -0
  194. package/dist/chunks/cli-1.0.5-n37mkdyd.mjs +2 -0
  195. package/dist/chunks/cli-1.0.5-nc61pjy8.mjs +2 -0
  196. package/dist/chunks/cli-1.0.5-nfbvan59.mjs +25 -0
  197. package/dist/chunks/cli-1.0.5-nhdp3yej.mjs +24 -0
  198. package/dist/chunks/cli-1.0.5-nmdv34f7.mjs +3 -0
  199. package/dist/chunks/cli-1.0.5-nzt3xk1m.mjs +2 -0
  200. package/dist/chunks/cli-1.0.5-pbm5zpv9.mjs +2 -0
  201. package/dist/chunks/cli-1.0.5-pj7yrrt0.mjs +39 -0
  202. package/dist/chunks/cli-1.0.5-pnn57nb8.mjs +2 -0
  203. package/dist/chunks/cli-1.0.5-q2fxy9jm.mjs +2 -0
  204. package/dist/chunks/cli-1.0.5-q8fmarwj.mjs +2 -0
  205. package/dist/chunks/cli-1.0.5-qj14h4d5.mjs +2 -0
  206. package/dist/chunks/cli-1.0.5-qmzb3pc8.mjs +2 -0
  207. package/dist/chunks/cli-1.0.5-qsbpj1m9.mjs +2 -0
  208. package/dist/chunks/cli-1.0.5-qxw23b51.mjs +2 -0
  209. package/dist/chunks/cli-1.0.5-qy05mbzq.mjs +2 -0
  210. package/dist/chunks/cli-1.0.5-rh55zzfg.mjs +3 -0
  211. package/dist/chunks/cli-1.0.5-rky5xqh5.mjs +2 -0
  212. package/dist/chunks/cli-1.0.5-rva2hgpp.mjs +2 -0
  213. package/dist/chunks/cli-1.0.5-rzs07ec3.mjs +16 -0
  214. package/dist/chunks/cli-1.0.5-serj5ewd.mjs +2 -0
  215. package/dist/chunks/cli-1.0.5-sfkkcf3p.mjs +5 -0
  216. package/dist/chunks/cli-1.0.5-sj2231f1.mjs +2 -0
  217. package/dist/chunks/cli-1.0.5-snbkdqfy.mjs +12 -0
  218. package/dist/chunks/cli-1.0.5-ssayw5dp.mjs +2 -0
  219. package/dist/chunks/cli-1.0.5-ssx4mcjx.mjs +2 -0
  220. package/dist/chunks/cli-1.0.5-stpcz7ba.mjs +2 -0
  221. package/dist/chunks/cli-1.0.5-t1pv236j.mjs +2 -0
  222. package/dist/chunks/cli-1.0.5-t25yws3j.mjs +3 -0
  223. package/dist/chunks/cli-1.0.5-t5wec35j.mjs +2 -0
  224. package/dist/chunks/cli-1.0.5-t8qp4fth.mjs +2 -0
  225. package/dist/chunks/cli-1.0.5-taz16hsd.mjs +2 -0
  226. package/dist/chunks/cli-1.0.5-tdwgmc3m.mjs +2 -0
  227. package/dist/chunks/cli-1.0.5-tek59n3h.mjs +4 -0
  228. package/dist/chunks/cli-1.0.5-tk21thw2.mjs +2 -0
  229. package/dist/chunks/cli-1.0.5-tmwsjg05.mjs +3 -0
  230. package/dist/chunks/cli-1.0.5-tw2jj3xn.mjs +4 -0
  231. package/dist/chunks/cli-1.0.5-tx7namj9.mjs +2 -0
  232. package/dist/chunks/cli-1.0.5-v5nyz2nh.mjs +7 -0
  233. package/dist/chunks/cli-1.0.5-vgd5ajrc.mjs +2 -0
  234. package/dist/chunks/cli-1.0.5-vh4hke14.mjs +2 -0
  235. package/dist/chunks/cli-1.0.5-vr3tqxgz.mjs +6 -0
  236. package/dist/chunks/cli-1.0.5-vtt9zkqz.mjs +6 -0
  237. package/dist/chunks/cli-1.0.5-waf9kawe.mjs +2 -0
  238. package/dist/chunks/cli-1.0.5-war5e8jj.mjs +58 -0
  239. package/dist/chunks/cli-1.0.5-wp9990nf.mjs +8 -0
  240. package/dist/chunks/cli-1.0.5-wpdpq47d.mjs +2 -0
  241. package/dist/chunks/cli-1.0.5-wzmh1e3n.mjs +21 -0
  242. package/dist/chunks/cli-1.0.5-x4aspz9g.mjs +2 -0
  243. package/dist/chunks/cli-1.0.5-xmnks1wk.mjs +2 -0
  244. package/dist/chunks/cli-1.0.5-xy058mns.mjs +2 -0
  245. package/dist/chunks/cli-1.0.5-xzx7ww5a.mjs +2 -0
  246. package/dist/chunks/cli-1.0.5-y4j32yy1.mjs +2 -0
  247. package/dist/chunks/cli-1.0.5-y8q3qk2n.mjs +4 -0
  248. package/dist/chunks/cli-1.0.5-y9379vp6.mjs +42 -0
  249. package/dist/chunks/cli-1.0.5-yaaee8wg.mjs +2 -0
  250. package/dist/chunks/cli-1.0.5-yfjm1eph.mjs +2 -0
  251. package/dist/chunks/cli-1.0.5-yq73wx8x.mjs +2 -0
  252. package/dist/chunks/cli-1.0.5-yt947a9v.mjs +2 -0
  253. package/dist/chunks/cli-1.0.5-yxd38q26.mjs +2 -0
  254. package/dist/chunks/cli-1.0.5-z06twq6c.mjs +2 -0
  255. package/dist/chunks/cli-1.0.5-zdrbe6rt.mjs +2 -0
  256. package/dist/chunks/cli-1.0.5-zp32zjhm.mjs +4 -0
  257. package/dist/chunks/cli-1.0.5-zs2strnh.mjs +3 -0
  258. package/dist/chunks/client-1.0.5-rd1mh2vy.mjs +1 -0
  259. package/dist/chunks/color-1.0.5-hjzv1n2a.mjs +1 -0
  260. package/dist/chunks/compact-1.0.5-81vnpv7d.mjs +3 -0
  261. package/dist/chunks/config-1.0.5-9db05sjq.mjs +1 -0
  262. package/dist/chunks/config-1.0.5-pcp10a6q.mjs +1 -0
  263. package/dist/chunks/constants-1.0.5-f4c4qr3a.mjs +1 -0
  264. package/dist/chunks/context-1.0.5-qxhhzswn.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.0.5-w3wzde6f.mjs +1 -0
  266. package/dist/chunks/conversation-1.0.5-gwye53an.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.0.5-qte7542r.mjs +1 -0
  268. package/dist/chunks/copy-1.0.5-n3qtexaa.mjs +9 -0
  269. package/dist/chunks/cost-1.0.5-pmt9ayyg.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.0.5-5sb3bnzy.mjs +1 -0
  271. package/dist/chunks/createSession-1.0.5-dfm8hhfc.mjs +1 -0
  272. package/dist/chunks/debug-1.0.5-xgx7qarm.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.0.5-e8gvpvpb.mjs +1446 -0
  274. package/dist/chunks/desktop-1.0.5-rcebn8xa.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.0.5-majzdhqr.mjs +1 -0
  276. package/dist/chunks/detection-1.0.5-nwd2wdt1.mjs +1 -0
  277. package/dist/chunks/diff-1.0.5-qkbawtb9.mjs +1 -0
  278. package/dist/chunks/doctor-1.0.5-7c7dfkyd.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.0.5-6dhpn9ad.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.0.5-m307gdk2.mjs +1 -0
  281. package/dist/chunks/effort-1.0.5-mmb54xfb.mjs +10 -0
  282. package/dist/chunks/engine-1.0.5-21jbdq4a.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.0.5-thartncn.mjs +1 -0
  284. package/dist/chunks/envUtils-1.0.5-6h3fhr7p.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.0.5-73gtendd.mjs +1 -0
  286. package/dist/chunks/environments-1.0.5-8xw6d6j8.mjs +1 -0
  287. package/dist/chunks/errors-1.0.5-rh227te7.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.0.5-vc1bjjfa.mjs +1 -0
  289. package/dist/chunks/exit-1.0.5-8bmam0gp.mjs +1 -0
  290. package/dist/chunks/explorer-1.0.5-27hbdb4y.mjs +1 -0
  291. package/dist/chunks/export-1.0.5-qb4e6wgw.mjs +2 -0
  292. package/dist/chunks/extra-usage-1.0.5-qf4ys9xa.mjs +1 -0
  293. package/dist/chunks/extra-usage-noninteractive-1.0.5-01h4dw8s.mjs +1 -0
  294. package/dist/chunks/fast-1.0.5-z6da3emr.mjs +1 -0
  295. package/dist/chunks/feedback-1.0.5-8h41wppb.mjs +14 -0
  296. package/dist/chunks/firstPartyEventLogger-1.0.5-ejz7gbmd.mjs +1 -0
  297. package/dist/chunks/git-1.0.5-gd77z9dj.mjs +1 -0
  298. package/dist/chunks/githubModelsCredentials-1.0.5-pycfj4ra.mjs +1 -0
  299. package/dist/chunks/goal-1.0.5-597qt6ck.mjs +4 -0
  300. package/dist/chunks/grove-1.0.5-dmprx7yf.mjs +1 -0
  301. package/dist/chunks/growthbook-1.0.5-jykx4r6s.mjs +1 -0
  302. package/dist/chunks/headless-1.0.5-sp1ag189.mjs +2 -0
  303. package/dist/chunks/heapdump-1.0.5-ppawz5xc.mjs +6 -0
  304. package/dist/chunks/help-1.0.5-ssa4dsqb.mjs +1 -0
  305. package/dist/chunks/hookChains-1.0.5-fanx5gyv.mjs +3 -0
  306. package/dist/chunks/hooks-1.0.5-nesxgy40.mjs +79 -0
  307. package/dist/chunks/hooks-1.0.5-xxmgpdqs.mjs +1 -0
  308. package/dist/chunks/ide-1.0.5-t8pjrph1.mjs +3 -0
  309. package/dist/chunks/image-processor-napi-1.0.5-vj7jxp0t.mjs +1 -0
  310. package/dist/chunks/inboundAttachments-1.0.5-mj36hm3y.mjs +1 -0
  311. package/dist/chunks/index-1.0.5-0s2793w0.mjs +1 -0
  312. package/dist/chunks/index-1.0.5-17ma05he.mjs +9 -0
  313. package/dist/chunks/index-1.0.5-2qwz1g69.mjs +1 -0
  314. package/dist/chunks/index-1.0.5-6c1zzb3s.mjs +2 -0
  315. package/dist/chunks/index-1.0.5-6cyrja0k.mjs +17 -0
  316. package/dist/chunks/index-1.0.5-a1mdxka4.mjs +1 -0
  317. package/dist/chunks/index-1.0.5-b4yxa4hz.mjs +1 -0
  318. package/dist/chunks/index-1.0.5-bcjvf75y.mjs +5 -0
  319. package/dist/chunks/index-1.0.5-bkbqdz2d.mjs +1 -0
  320. package/dist/chunks/index-1.0.5-fv7vmb9s.mjs +1 -0
  321. package/dist/chunks/index-1.0.5-fzevsz2p.mjs +1 -0
  322. package/dist/chunks/index-1.0.5-jyat0nmw.mjs +30 -0
  323. package/dist/chunks/index-1.0.5-k8ytwfn6.mjs +1 -0
  324. package/dist/chunks/index-1.0.5-m2qg60zx.mjs +9 -0
  325. package/dist/chunks/index-1.0.5-mb1e2tw0.mjs +1 -0
  326. package/dist/chunks/index-1.0.5-pr0vcv57.mjs +1 -0
  327. package/dist/chunks/index-1.0.5-q15hb5x2.mjs +1 -0
  328. package/dist/chunks/index-1.0.5-v6svrtrp.mjs +2 -0
  329. package/dist/chunks/index-1.0.5-wqb3fxw6.mjs +1 -0
  330. package/dist/chunks/index-1.0.5-wr2ed66w.mjs +1 -0
  331. package/dist/chunks/index-1.0.5-xv2c1a8h.mjs +1 -0
  332. package/dist/chunks/index-1.0.5-ybth5k4d.mjs +1 -0
  333. package/dist/chunks/index-1.0.5-zq60qv39.mjs +1 -0
  334. package/dist/chunks/init-1.0.5-rw3dzwk6.mjs +1 -0
  335. package/dist/chunks/initReplBridge-1.0.5-2p0aksez.mjs +1 -0
  336. package/dist/chunks/ink-1.0.5-w7yrpcsr.mjs +1 -0
  337. package/dist/chunks/insights-1.0.5-tqe68js7.mjs +870 -0
  338. package/dist/chunks/install-1.0.5-kmfenneg.mjs +1 -0
  339. package/dist/chunks/install-github-app-1.0.5-5pn3prw1.mjs +149 -0
  340. package/dist/chunks/install-slack-app-1.0.5-t743pzep.mjs +1 -0
  341. package/dist/chunks/instrumentation-1.0.5-gefw0bqs.mjs +1 -0
  342. package/dist/chunks/interactiveHelpers-1.0.5-t5jn3wtn.mjs +1 -0
  343. package/dist/chunks/keybindings-1.0.5-ve8shte3.mjs +2 -0
  344. package/dist/chunks/knowledge-1.0.5-v0ccyfkh.mjs +2 -0
  345. package/dist/chunks/latestVersionCache-1.0.5-dpky86fy.mjs +1 -0
  346. package/dist/chunks/loadAgentsDir-1.0.5-e49hf38y.mjs +1 -0
  347. package/dist/chunks/loadPluginHooks-1.0.5-47cekn3c.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.0.5-myfzepet.mjs +1 -0
  349. package/dist/chunks/log-1.0.5-7rz3pg37.mjs +1 -0
  350. package/dist/chunks/main-1.0.5-z3ezh5sk.mjs +1 -0
  351. package/dist/chunks/managedEnv-1.0.5-ne8x2gq4.mjs +1 -0
  352. package/dist/chunks/mcp-1.0.5-42xrpvz4.mjs +1 -0
  353. package/dist/chunks/mcp-1.0.5-79tkap1k.mjs +17 -0
  354. package/dist/chunks/mcp-1.0.5-q5ah99mh.mjs +4 -0
  355. package/dist/chunks/mcpb-1.0.5-kkp095ks.mjs +1 -0
  356. package/dist/chunks/memory-1.0.5-hkrp659t.mjs +3 -0
  357. package/dist/chunks/model-1.0.5-9e6c5g1q.mjs +1 -0
  358. package/dist/chunks/model-1.0.5-wd9fxg66.mjs +2 -0
  359. package/dist/chunks/node-1.0.5-3veffyfp.mjs +12 -0
  360. package/dist/chunks/oauth-1.0.5-9fx2fya6.mjs +1 -0
  361. package/dist/chunks/openaiShim-1.0.5-08gya990.mjs +14 -0
  362. package/dist/chunks/output-style-1.0.5-9xkmhcdq.mjs +1 -0
  363. package/dist/chunks/package-ZZWOLTXM-1.0.5-gxfc7sy3.mjs +1 -0
  364. package/dist/chunks/parseConnectUrl-1.0.5-krsghz4a.mjs +1 -0
  365. package/dist/chunks/parser-1.0.5-7t9d9wzc.mjs +1 -0
  366. package/dist/chunks/passes-1.0.5-rwpd568s.mjs +1 -0
  367. package/dist/chunks/permissions-1.0.5-fshr608a.mjs +1 -0
  368. package/dist/chunks/permissions-1.0.5-k96fm9x7.mjs +3 -0
  369. package/dist/chunks/plan-1.0.5-r5w68ara.mjs +1 -0
  370. package/dist/chunks/plist-1.0.5-24f4gwnf.mjs +1 -0
  371. package/dist/chunks/plugin-1.0.5-y6pp7kx3.mjs +29 -0
  372. package/dist/chunks/pluginStartupCheck-1.0.5-8nh5hbt9.mjs +1 -0
  373. package/dist/chunks/plugins-1.0.5-v258fznm.mjs +9 -0
  374. package/dist/chunks/preActionHook-1.0.5-v8k5485v.mjs +2 -0
  375. package/dist/chunks/print-1.0.5-f2xwn7zm.mjs +57 -0
  376. package/dist/chunks/privacy-settings-1.0.5-pt9ca6xm.mjs +1 -0
  377. package/dist/chunks/process-1.0.5-w2r6hpk2.mjs +1 -0
  378. package/dist/chunks/processBashCommand-1.0.5-p9zzmpbz.mjs +1 -0
  379. package/dist/chunks/processSlashCommand-1.0.5-zq638t0f.mjs +9 -0
  380. package/dist/chunks/prompt-1.0.5-022q69g7.mjs +1 -0
  381. package/dist/chunks/prompt-1.0.5-w6bzght3.mjs +1 -0
  382. package/dist/chunks/prompts-1.0.5-2jd8x52w.mjs +1 -0
  383. package/dist/chunks/protocolHandler-1.0.5-9dj5ttvz.mjs +13 -0
  384. package/dist/chunks/provider-1.0.5-asz70246.mjs +2 -0
  385. package/dist/chunks/providerProfiles-1.0.5-fmjm6rmc.mjs +1 -0
  386. package/dist/chunks/providerValidation-1.0.5-vjf0w50r.mjs +6 -0
  387. package/dist/chunks/rate-limit-options-1.0.5-anb80s86.mjs +1 -0
  388. package/dist/chunks/registerSubcommands-1.0.5-np4qg7pc.mjs +34 -0
  389. package/dist/chunks/registry-1.0.5-a71bk5mm.mjs +1 -0
  390. package/dist/chunks/release-notes-1.0.5-zja63x3b.mjs +5 -0
  391. package/dist/chunks/reload-plugins-1.0.5-hy5tmbm4.mjs +2 -0
  392. package/dist/chunks/remote-env-1.0.5-v6v39266.mjs +1 -0
  393. package/dist/chunks/remoteBridgeCore-1.0.5-v63qwqmd.mjs +1 -0
  394. package/dist/chunks/remoteSession-1.0.5-vkfszpj3.mjs +1 -0
  395. package/dist/chunks/rename-1.0.5-25sfvv9d.mjs +1 -0
  396. package/dist/chunks/replBridgeHandle-1.0.5-ygv6rga6.mjs +1 -0
  397. package/dist/chunks/replLauncher-1.0.5-dg2xcz4s.mjs +1 -0
  398. package/dist/chunks/resume-1.0.5-d2qc9f4c.mjs +2 -0
  399. package/dist/chunks/rewind-1.0.5-0217cv78.mjs +1 -0
  400. package/dist/chunks/rootOptions-1.0.5-g7ks8eqz.mjs +1 -0
  401. package/dist/chunks/sandbox-adapter-1.0.5-ccxp12rr.mjs +1 -0
  402. package/dist/chunks/sandbox-toggle-1.0.5-nwdw5616.mjs +1 -0
  403. package/dist/chunks/session-1.0.5-q5797h37.mjs +2 -0
  404. package/dist/chunks/sessionDiscovery-1.0.5-0xp7x0xt.mjs +1 -0
  405. package/dist/chunks/sessionFileAccessHooks-1.0.5-h3c95s74.mjs +1 -0
  406. package/dist/chunks/sessionStorage-1.0.5-hdjx72aj.mjs +1 -0
  407. package/dist/chunks/settings-1.0.5-s1p6gvx3.mjs +1 -0
  408. package/dist/chunks/setup-1.0.5-wgvjraw0.mjs +5 -0
  409. package/dist/chunks/sinks-1.0.5-a1w5a6t0.mjs +1 -0
  410. package/dist/chunks/skills-1.0.5-mpx8e6j0.mjs +1 -0
  411. package/dist/chunks/startupProfiler-1.0.5-gk3c4m36.mjs +1 -0
  412. package/dist/chunks/startupUpdateCheck-1.0.5-7h9whg0v.mjs +1 -0
  413. package/dist/chunks/state-1.0.5-nxqyqbt7.mjs +1 -0
  414. package/dist/chunks/stats-1.0.5-ybfs5e01.mjs +6 -0
  415. package/dist/chunks/status-1.0.5-4b21a8e7.mjs +1 -0
  416. package/dist/chunks/stickers-1.0.5-6zfbgzqv.mjs +1 -0
  417. package/dist/chunks/subprocessEnv-1.0.5-9s2b5kcv.mjs +1 -0
  418. package/dist/chunks/tasks-1.0.5-w4yd35x4.mjs +1 -0
  419. package/dist/chunks/teamHelpers-1.0.5-nzbm1gz9.mjs +1 -0
  420. package/dist/chunks/teammateModeSnapshot-1.0.5-x3mxd173.mjs +1 -0
  421. package/dist/chunks/teleport-1.0.5-7qdheca5.mjs +1 -0
  422. package/dist/chunks/terminalSetup-1.0.5-djj61vc3.mjs +1 -0
  423. package/dist/chunks/theme-1.0.5-e6df6c8c.mjs +1 -0
  424. package/dist/chunks/thinkback-1.0.5-9kdkqxre.mjs +1 -0
  425. package/dist/chunks/thinkback-play-1.0.5-4e9s86bt.mjs +1 -0
  426. package/dist/chunks/toolPool-1.0.5-7jpezecz.mjs +1 -0
  427. package/dist/chunks/toolSearch-1.0.5-7sy8x8xa.mjs +1 -0
  428. package/dist/chunks/tools-1.0.5-6e5kvcns.mjs +1 -0
  429. package/dist/chunks/trustedDevice-1.0.5-mwdq4ek8.mjs +1 -0
  430. package/dist/chunks/turndown.cjs-1.0.5-b9pa0x3a.mjs +69 -0
  431. package/dist/chunks/types-1.0.5-4bz2q6qd.mjs +1 -0
  432. package/dist/chunks/ultrareviewCommand-1.0.5-1qqxxn0s.mjs +4 -0
  433. package/dist/chunks/update-1.0.5-ayakya21.mjs +88 -0
  434. package/dist/chunks/upgrade-1.0.5-hykkyrmf.mjs +1 -0
  435. package/dist/chunks/upload-1.0.5-3385nhw4.mjs +7 -0
  436. package/dist/chunks/upstreamproxy-1.0.5-mhns1vq6.mjs +14 -0
  437. package/dist/chunks/url-handler-napi-1.0.5-2r7rh6c4.mjs +1 -0
  438. package/dist/chunks/usage-1.0.5-vdj6w59v.mjs +1 -0
  439. package/dist/chunks/util-1.0.5-ygactfqm.mjs +1 -0
  440. package/dist/chunks/utils-1.0.5-wnkavpty.mjs +1 -0
  441. package/dist/chunks/vim-1.0.5-410rh6vr.mjs +1 -0
  442. package/dist/chunks/watcher-1.0.5-99dvd0dj.mjs +1 -0
  443. package/dist/chunks/wiki-1.0.5-3mvgvxc5.mjs +132 -0
  444. package/dist/chunks/workflows-1.0.5-zcs9n7bt.mjs +1 -0
  445. package/dist/chunks/worktree-1.0.5-1v2pb5xs.mjs +1 -0
  446. package/dist/chunks/worktreeModeEnabled-1.0.5-s5fw9pgq.mjs +1 -0
  447. package/dist/chunks/wrapper-1.0.5-k624rfy1.mjs +7 -0
  448. package/dist/cli.mjs +2 -2
  449. package/package.json +9 -9
  450. package/dist/chunks/AgentTool-1.0.4-hb5yf83k.mjs +0 -1
  451. package/dist/chunks/App-1.0.4-ee5phav9.mjs +0 -1
  452. package/dist/chunks/ApproveApiKey-1.0.4-cc8qfn6m.mjs +0 -1
  453. package/dist/chunks/AssistantSessionChooser-1.0.4-k5b5pnrd.mjs +0 -1
  454. package/dist/chunks/AutoModeOptInDialog-1.0.4-jhajeb8a.mjs +0 -1
  455. package/dist/chunks/BypassPermissionsModeDialog-1.0.4-9hz5azec.mjs +0 -1
  456. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.4-g51kch7p.mjs +0 -1
  457. package/dist/chunks/ConsoleOAuthFlow-1.0.4-29trpvey.mjs +0 -1
  458. package/dist/chunks/DiffDialog-1.0.4-j8p9yt42.mjs +0 -7
  459. package/dist/chunks/Doctor-1.0.4-wzrsp6wf.mjs +0 -1
  460. package/dist/chunks/ExplorerDialog-1.0.4-nestptq4.mjs +0 -6
  461. package/dist/chunks/Grove-1.0.4-7b2m2711.mjs +0 -1
  462. package/dist/chunks/ITermBackend-1.0.4-hqbevsrb.mjs +0 -1
  463. package/dist/chunks/InvalidConfigDialog-1.0.4-vtmbvxxd.mjs +0 -1
  464. package/dist/chunks/InvalidSettingsDialog-1.0.4-zreb0vxk.mjs +0 -1
  465. package/dist/chunks/MigrationDialog-1.0.4-ed1k11kd.mjs +0 -1
  466. package/dist/chunks/Onboarding-1.0.4-nq3j2bap.mjs +0 -1
  467. package/dist/chunks/ProviderManager-1.0.4-g7qy6jg1.mjs +0 -1
  468. package/dist/chunks/REPL-1.0.4-ne32y8dw.mjs +0 -1
  469. package/dist/chunks/ResumeConversation-1.0.4-fedwb24z.mjs +0 -1
  470. package/dist/chunks/SnapshotUpdateDialog-1.0.4-w95m7f1z.mjs +0 -1
  471. package/dist/chunks/TeleportProgress-1.0.4-ck0a2cmq.mjs +0 -1
  472. package/dist/chunks/TeleportRepoMismatchDialog-1.0.4-w37g1ssr.mjs +0 -1
  473. package/dist/chunks/TeleportResumeWrapper-1.0.4-tk09ztje.mjs +0 -1
  474. package/dist/chunks/TmuxBackend-1.0.4-a4nja4px.mjs +0 -9
  475. package/dist/chunks/ToolSearchTool-1.0.4-q00g76m2.mjs +0 -1
  476. package/dist/chunks/TrustDialog-1.0.4-xce6cp69.mjs +0 -1
  477. package/dist/chunks/activeProvider-1.0.4-w4scey43.mjs +0 -1
  478. package/dist/chunks/add-dir-1.0.4-xm5qwknc.mjs +0 -1
  479. package/dist/chunks/agentTypes-1.0.4-he8e2qfd.mjs +0 -1
  480. package/dist/chunks/agents-1.0.4-k2bdfryr.mjs +0 -110
  481. package/dist/chunks/agents-1.0.4-mt84dfn1.mjs +0 -3
  482. package/dist/chunks/api-1.0.4-h4pnj11w.mjs +0 -1
  483. package/dist/chunks/asciicast-1.0.4-cafbqek9.mjs +0 -1
  484. package/dist/chunks/assistant-1.0.4-cezj138d.mjs +0 -1
  485. package/dist/chunks/auth-1.0.4-0t5pss7v.mjs +0 -1
  486. package/dist/chunks/auth-1.0.4-3y0wgt5g.mjs +0 -1
  487. package/dist/chunks/autoMode-1.0.4-vssxz3fz.mjs +0 -48
  488. package/dist/chunks/autoUpdater-1.0.4-drwc61h2.mjs +0 -1
  489. package/dist/chunks/backgroundHousekeeping-1.0.4-dn72g8zg.mjs +0 -1
  490. package/dist/chunks/branch-1.0.4-4gv6bbzr.mjs +0 -4
  491. package/dist/chunks/bridge-1.0.4-fs3148xw.mjs +0 -2
  492. package/dist/chunks/bridgeConfig-1.0.4-tj7j77dy.mjs +0 -1
  493. package/dist/chunks/bridgeEnabled-1.0.4-g5j98pxj.mjs +0 -1
  494. package/dist/chunks/bridgeMain-1.0.4-47dp2cx1.mjs +0 -88
  495. package/dist/chunks/bridgePointer-1.0.4-rz3s97zd.mjs +0 -1
  496. package/dist/chunks/btw-1.0.4-q0v29hp5.mjs +0 -1
  497. package/dist/chunks/buddy-1.0.4-f6rknpnr.mjs +0 -3
  498. package/dist/chunks/cacache-1.0.4-zqddgev2.mjs +0 -1
  499. package/dist/chunks/cache-probe-1.0.4-qx7ym4r0.mjs +0 -21
  500. package/dist/chunks/cacheStats-1.0.4-q2mcbsr3.mjs +0 -4
  501. package/dist/chunks/caches-1.0.4-bsgbkzpc.mjs +0 -1
  502. package/dist/chunks/claudeDesktop-1.0.4-17ztwd14.mjs +0 -1
  503. package/dist/chunks/claudemd-1.0.4-zdd5de85.mjs +0 -1
  504. package/dist/chunks/clear-1.0.4-g3cfj02y.mjs +0 -1
  505. package/dist/chunks/clearTerminal-1.0.4-xz0azar2.mjs +0 -1
  506. package/dist/chunks/cli-1.0.4-08e3sn18.mjs +0 -2
  507. package/dist/chunks/cli-1.0.4-092qjm5g.mjs +0 -25
  508. package/dist/chunks/cli-1.0.4-09fgpcwb.mjs +0 -2
  509. package/dist/chunks/cli-1.0.4-0gpk6g88.mjs +0 -2
  510. package/dist/chunks/cli-1.0.4-0pqf799x.mjs +0 -2
  511. package/dist/chunks/cli-1.0.4-0vwtrvvh.mjs +0 -16
  512. package/dist/chunks/cli-1.0.4-0wp27vrg.mjs +0 -67
  513. package/dist/chunks/cli-1.0.4-1bg07n68.mjs +0 -4
  514. package/dist/chunks/cli-1.0.4-1ddc8bnh.mjs +0 -2
  515. package/dist/chunks/cli-1.0.4-1j122zyj.mjs +0 -2
  516. package/dist/chunks/cli-1.0.4-1xkgwtah.mjs +0 -20
  517. package/dist/chunks/cli-1.0.4-1ymz8m3g.mjs +0 -2
  518. package/dist/chunks/cli-1.0.4-23n5aaxp.mjs +0 -2
  519. package/dist/chunks/cli-1.0.4-2g15f7sw.mjs +0 -2
  520. package/dist/chunks/cli-1.0.4-2je9hpfv.mjs +0 -50
  521. package/dist/chunks/cli-1.0.4-2m2spkt1.mjs +0 -2
  522. package/dist/chunks/cli-1.0.4-2mqbwapd.mjs +0 -2
  523. package/dist/chunks/cli-1.0.4-2pfh6nzj.mjs +0 -2
  524. package/dist/chunks/cli-1.0.4-2vrfse65.mjs +0 -2
  525. package/dist/chunks/cli-1.0.4-2wh24aeg.mjs +0 -24
  526. package/dist/chunks/cli-1.0.4-3289hbrr.mjs +0 -6
  527. package/dist/chunks/cli-1.0.4-34jdejmp.mjs +0 -2
  528. package/dist/chunks/cli-1.0.4-36qx2z1d.mjs +0 -2
  529. package/dist/chunks/cli-1.0.4-3b0061a4.mjs +0 -2
  530. package/dist/chunks/cli-1.0.4-3gmj1s7h.mjs +0 -3
  531. package/dist/chunks/cli-1.0.4-3k3cpavm.mjs +0 -3
  532. package/dist/chunks/cli-1.0.4-4m4pwdge.mjs +0 -2
  533. package/dist/chunks/cli-1.0.4-4sfp975c.mjs +0 -2
  534. package/dist/chunks/cli-1.0.4-4wmw1p17.mjs +0 -24
  535. package/dist/chunks/cli-1.0.4-54j7kz1n.mjs +0 -2
  536. package/dist/chunks/cli-1.0.4-5663sqrh.mjs +0 -2
  537. package/dist/chunks/cli-1.0.4-5c4tptcb.mjs +0 -2
  538. package/dist/chunks/cli-1.0.4-5e2v63sy.mjs +0 -2
  539. package/dist/chunks/cli-1.0.4-5e9fa04w.mjs +0 -2
  540. package/dist/chunks/cli-1.0.4-618n4yb3.mjs +0 -2
  541. package/dist/chunks/cli-1.0.4-61v9tj7g.mjs +0 -2
  542. package/dist/chunks/cli-1.0.4-75pszwff.mjs +0 -12
  543. package/dist/chunks/cli-1.0.4-7b7qaegg.mjs +0 -2
  544. package/dist/chunks/cli-1.0.4-7hvk5sex.mjs +0 -39
  545. package/dist/chunks/cli-1.0.4-7jd24agk.mjs +0 -2
  546. package/dist/chunks/cli-1.0.4-7pxrd0w5.mjs +0 -4
  547. package/dist/chunks/cli-1.0.4-80hrkybp.mjs +0 -2
  548. package/dist/chunks/cli-1.0.4-85cb91sn.mjs +0 -4
  549. package/dist/chunks/cli-1.0.4-8bmfjgvt.mjs +0 -2
  550. package/dist/chunks/cli-1.0.4-8ed4gxkm.mjs +0 -3
  551. package/dist/chunks/cli-1.0.4-8gkb1zg5.mjs +0 -8
  552. package/dist/chunks/cli-1.0.4-8jya5ew3.mjs +0 -2
  553. package/dist/chunks/cli-1.0.4-8ws7nhff.mjs +0 -2
  554. package/dist/chunks/cli-1.0.4-8x3m3esm.mjs +0 -2
  555. package/dist/chunks/cli-1.0.4-95nw81kz.mjs +0 -2
  556. package/dist/chunks/cli-1.0.4-982xabhy.mjs +0 -2
  557. package/dist/chunks/cli-1.0.4-9ber6pxx.mjs +0 -2
  558. package/dist/chunks/cli-1.0.4-9ra8j4rt.mjs +0 -59
  559. package/dist/chunks/cli-1.0.4-9re52te8.mjs +0 -2
  560. package/dist/chunks/cli-1.0.4-9w88pg39.mjs +0 -12
  561. package/dist/chunks/cli-1.0.4-9ysbahqq.mjs +0 -2
  562. package/dist/chunks/cli-1.0.4-a14svdr8.mjs +0 -1
  563. package/dist/chunks/cli-1.0.4-avmcefxg.mjs +0 -10
  564. package/dist/chunks/cli-1.0.4-azntz5z2.mjs +0 -2
  565. package/dist/chunks/cli-1.0.4-bg0v2cnc.mjs +0 -133
  566. package/dist/chunks/cli-1.0.4-bn5k1yhp.mjs +0 -2
  567. package/dist/chunks/cli-1.0.4-bneycyws.mjs +0 -2
  568. package/dist/chunks/cli-1.0.4-bnsdazas.mjs +0 -3
  569. package/dist/chunks/cli-1.0.4-c9sh44ne.mjs +0 -2
  570. package/dist/chunks/cli-1.0.4-cavq6b0d.mjs +0 -2
  571. package/dist/chunks/cli-1.0.4-cj3nrnbs.mjs +0 -58
  572. package/dist/chunks/cli-1.0.4-ctmzb5aw.mjs +0 -2
  573. package/dist/chunks/cli-1.0.4-cwjz9xzp.mjs +0 -2
  574. package/dist/chunks/cli-1.0.4-d4gb1vbz.mjs +0 -2
  575. package/dist/chunks/cli-1.0.4-d8bjdz7n.mjs +0 -2
  576. package/dist/chunks/cli-1.0.4-dj36xg0v.mjs +0 -2
  577. package/dist/chunks/cli-1.0.4-e26gm32b.mjs +0 -2
  578. package/dist/chunks/cli-1.0.4-e2mkdvw8.mjs +0 -2
  579. package/dist/chunks/cli-1.0.4-e76jy4xn.mjs +0 -2
  580. package/dist/chunks/cli-1.0.4-e86sgy00.mjs +0 -3
  581. package/dist/chunks/cli-1.0.4-ec3dh8bt.mjs +0 -2
  582. package/dist/chunks/cli-1.0.4-edbk5qx2.mjs +0 -5
  583. package/dist/chunks/cli-1.0.4-ef5asahs.mjs +0 -4
  584. package/dist/chunks/cli-1.0.4-emp66cxw.mjs +0 -2
  585. package/dist/chunks/cli-1.0.4-eny7y9k8.mjs +0 -6
  586. package/dist/chunks/cli-1.0.4-ex22h376.mjs +0 -2
  587. package/dist/chunks/cli-1.0.4-f0t68sye.mjs +0 -2
  588. package/dist/chunks/cli-1.0.4-f20q38cw.mjs +0 -2
  589. package/dist/chunks/cli-1.0.4-f2cmhz31.mjs +0 -15
  590. package/dist/chunks/cli-1.0.4-f62zwjj2.mjs +0 -2
  591. package/dist/chunks/cli-1.0.4-f8dd3sqs.mjs +0 -2
  592. package/dist/chunks/cli-1.0.4-f8eaamkf.mjs +0 -2
  593. package/dist/chunks/cli-1.0.4-f965h6gd.mjs +0 -7
  594. package/dist/chunks/cli-1.0.4-fbhgecgx.mjs +0 -2
  595. package/dist/chunks/cli-1.0.4-fc0bzryc.mjs +0 -3
  596. package/dist/chunks/cli-1.0.4-fcswm1md.mjs +0 -2
  597. package/dist/chunks/cli-1.0.4-ffvpb7fz.mjs +0 -2
  598. package/dist/chunks/cli-1.0.4-fsf2c4j5.mjs +0 -2
  599. package/dist/chunks/cli-1.0.4-fv9x8ks1.mjs +0 -2
  600. package/dist/chunks/cli-1.0.4-g3vvvtwh.mjs +0 -2
  601. package/dist/chunks/cli-1.0.4-g9kftkyg.mjs +0 -2
  602. package/dist/chunks/cli-1.0.4-genhzh1b.mjs +0 -2
  603. package/dist/chunks/cli-1.0.4-gf8tchp1.mjs +0 -5
  604. package/dist/chunks/cli-1.0.4-ghv1wb08.mjs +0 -2
  605. package/dist/chunks/cli-1.0.4-ghzbww61.mjs +0 -34
  606. package/dist/chunks/cli-1.0.4-gqc15qng.mjs +0 -6
  607. package/dist/chunks/cli-1.0.4-gssg75hx.mjs +0 -2
  608. package/dist/chunks/cli-1.0.4-gyjecspm.mjs +0 -2
  609. package/dist/chunks/cli-1.0.4-hfn9tnb6.mjs +0 -2
  610. package/dist/chunks/cli-1.0.4-hnrps9q2.mjs +0 -2
  611. package/dist/chunks/cli-1.0.4-hrw2yb74.mjs +0 -2
  612. package/dist/chunks/cli-1.0.4-ht7fqqqw.mjs +0 -2
  613. package/dist/chunks/cli-1.0.4-htrx7sdv.mjs +0 -2
  614. package/dist/chunks/cli-1.0.4-hvgsrtj6.mjs +0 -3
  615. package/dist/chunks/cli-1.0.4-hwje79ka.mjs +0 -2
  616. package/dist/chunks/cli-1.0.4-hyj1dzkq.mjs +0 -3
  617. package/dist/chunks/cli-1.0.4-j17mhs88.mjs +0 -18
  618. package/dist/chunks/cli-1.0.4-jvp0mp87.mjs +0 -5471
  619. package/dist/chunks/cli-1.0.4-jxsb0m86.mjs +0 -2
  620. package/dist/chunks/cli-1.0.4-jy8qt85n.mjs +0 -2
  621. package/dist/chunks/cli-1.0.4-k16cwcs0.mjs +0 -2
  622. package/dist/chunks/cli-1.0.4-k20sr786.mjs +0 -3
  623. package/dist/chunks/cli-1.0.4-k6gh1b1a.mjs +0 -2
  624. package/dist/chunks/cli-1.0.4-kbfs3rn2.mjs +0 -3
  625. package/dist/chunks/cli-1.0.4-kc0ty8k1.mjs +0 -2
  626. package/dist/chunks/cli-1.0.4-kv0e5nm5.mjs +0 -2
  627. package/dist/chunks/cli-1.0.4-m240wvtt.mjs +0 -9
  628. package/dist/chunks/cli-1.0.4-n5mydt2f.mjs +0 -2
  629. package/dist/chunks/cli-1.0.4-ndy339bx.mjs +0 -2
  630. package/dist/chunks/cli-1.0.4-nfpfve45.mjs +0 -2
  631. package/dist/chunks/cli-1.0.4-ng8nc24b.mjs +0 -2
  632. package/dist/chunks/cli-1.0.4-nws4fp34.mjs +0 -2
  633. package/dist/chunks/cli-1.0.4-nz4ff6hn.mjs +0 -18
  634. package/dist/chunks/cli-1.0.4-p618f4eb.mjs +0 -2
  635. package/dist/chunks/cli-1.0.4-pae9c0v0.mjs +0 -18
  636. package/dist/chunks/cli-1.0.4-pxqvx117.mjs +0 -3
  637. package/dist/chunks/cli-1.0.4-q00a51mt.mjs +0 -4
  638. package/dist/chunks/cli-1.0.4-q0rnwhn4.mjs +0 -199
  639. package/dist/chunks/cli-1.0.4-q97cke3f.mjs +0 -2
  640. package/dist/chunks/cli-1.0.4-qdsf8s2n.mjs +0 -5
  641. package/dist/chunks/cli-1.0.4-qka1j546.mjs +0 -4
  642. package/dist/chunks/cli-1.0.4-qng8dpqh.mjs +0 -2
  643. package/dist/chunks/cli-1.0.4-qpymvg0c.mjs +0 -25
  644. package/dist/chunks/cli-1.0.4-r4h3tk3k.mjs +0 -17
  645. package/dist/chunks/cli-1.0.4-r8mtbv7z.mjs +0 -42
  646. package/dist/chunks/cli-1.0.4-r8x4yv46.mjs +0 -2
  647. package/dist/chunks/cli-1.0.4-rf2k7z5d.mjs +0 -2
  648. package/dist/chunks/cli-1.0.4-rhq4w2pj.mjs +0 -2
  649. package/dist/chunks/cli-1.0.4-rjgeb0fh.mjs +0 -12
  650. package/dist/chunks/cli-1.0.4-rkb3rkfa.mjs +0 -2
  651. package/dist/chunks/cli-1.0.4-rkhq9n0r.mjs +0 -12
  652. package/dist/chunks/cli-1.0.4-rkw1vtxv.mjs +0 -2
  653. package/dist/chunks/cli-1.0.4-rmrpsgq6.mjs +0 -24
  654. package/dist/chunks/cli-1.0.4-rntkbdpm.mjs +0 -2
  655. package/dist/chunks/cli-1.0.4-rsdrrjzt.mjs +0 -4
  656. package/dist/chunks/cli-1.0.4-rtwmycp0.mjs +0 -2
  657. package/dist/chunks/cli-1.0.4-s4sdhvre.mjs +0 -2
  658. package/dist/chunks/cli-1.0.4-s6m720bj.mjs +0 -2
  659. package/dist/chunks/cli-1.0.4-s8qwtd3t.mjs +0 -2
  660. package/dist/chunks/cli-1.0.4-scpa8zjb.mjs +0 -2
  661. package/dist/chunks/cli-1.0.4-sm5wfdec.mjs +0 -2
  662. package/dist/chunks/cli-1.0.4-t0zs4sf6.mjs +0 -2
  663. package/dist/chunks/cli-1.0.4-t915kvpv.mjs +0 -2
  664. package/dist/chunks/cli-1.0.4-th3f10e2.mjs +0 -2
  665. package/dist/chunks/cli-1.0.4-tt7ejrct.mjs +0 -2
  666. package/dist/chunks/cli-1.0.4-ttn7e3zf.mjs +0 -3
  667. package/dist/chunks/cli-1.0.4-v2973j5k.mjs +0 -15
  668. package/dist/chunks/cli-1.0.4-vckzcaj2.mjs +0 -2
  669. package/dist/chunks/cli-1.0.4-vde8kvg5.mjs +0 -4
  670. package/dist/chunks/cli-1.0.4-vdykgt7q.mjs +0 -2
  671. package/dist/chunks/cli-1.0.4-vnf5ysx9.mjs +0 -3
  672. package/dist/chunks/cli-1.0.4-vpcfce7x.mjs +0 -6
  673. package/dist/chunks/cli-1.0.4-vrfgjvj8.mjs +0 -15
  674. package/dist/chunks/cli-1.0.4-vwwq0bh3.mjs +0 -2
  675. package/dist/chunks/cli-1.0.4-vxb33mtd.mjs +0 -4
  676. package/dist/chunks/cli-1.0.4-w6bsa7jc.mjs +0 -2
  677. package/dist/chunks/cli-1.0.4-wb91dheq.mjs +0 -2
  678. package/dist/chunks/cli-1.0.4-wfx4vdv5.mjs +0 -2
  679. package/dist/chunks/cli-1.0.4-wryebn9y.mjs +0 -2
  680. package/dist/chunks/cli-1.0.4-x4szzhgq.mjs +0 -2
  681. package/dist/chunks/cli-1.0.4-x8jnn75c.mjs +0 -2
  682. package/dist/chunks/cli-1.0.4-xcegbj23.mjs +0 -21
  683. package/dist/chunks/cli-1.0.4-xjef6vra.mjs +0 -2
  684. package/dist/chunks/cli-1.0.4-xwh8sxe6.mjs +0 -45
  685. package/dist/chunks/cli-1.0.4-xwwr77p3.mjs +0 -2
  686. package/dist/chunks/cli-1.0.4-xxktmt2a.mjs +0 -2
  687. package/dist/chunks/cli-1.0.4-y1kvcxph.mjs +0 -2
  688. package/dist/chunks/cli-1.0.4-y8a3yd57.mjs +0 -2
  689. package/dist/chunks/cli-1.0.4-y9e53xfp.mjs +0 -2
  690. package/dist/chunks/cli-1.0.4-ya22eazw.mjs +0 -2
  691. package/dist/chunks/cli-1.0.4-ya3aqyvx.mjs +0 -2
  692. package/dist/chunks/cli-1.0.4-ygedgw05.mjs +0 -2
  693. package/dist/chunks/cli-1.0.4-yp6300fv.mjs +0 -2
  694. package/dist/chunks/cli-1.0.4-yq119gwk.mjs +0 -2
  695. package/dist/chunks/cli-1.0.4-yq19e16e.mjs +0 -4
  696. package/dist/chunks/cli-1.0.4-yq6mh0a1.mjs +0 -2
  697. package/dist/chunks/cli-1.0.4-yrgjsn2v.mjs +0 -17
  698. package/dist/chunks/cli-1.0.4-ywnv6aw8.mjs +0 -2
  699. package/dist/chunks/cli-1.0.4-z10ppvxj.mjs +0 -133
  700. package/dist/chunks/cli-1.0.4-z5zmw573.mjs +0 -2
  701. package/dist/chunks/cli-1.0.4-zcjfmcay.mjs +0 -2
  702. package/dist/chunks/cli-1.0.4-zka0z8g9.mjs +0 -2
  703. package/dist/chunks/cli-1.0.4-znj63zs7.mjs +0 -2
  704. package/dist/chunks/cli-1.0.4-znmw4kr8.mjs +0 -2
  705. package/dist/chunks/cli-1.0.4-zpvxzd77.mjs +0 -2
  706. package/dist/chunks/cli-1.0.4-ztznpg9h.mjs +0 -2
  707. package/dist/chunks/client-1.0.4-tejrj09r.mjs +0 -1
  708. package/dist/chunks/color-1.0.4-148b97be.mjs +0 -1
  709. package/dist/chunks/compact-1.0.4-ky0tgnkb.mjs +0 -3
  710. package/dist/chunks/config-1.0.4-a5enjc0b.mjs +0 -1
  711. package/dist/chunks/config-1.0.4-q23nqw9d.mjs +0 -1
  712. package/dist/chunks/constants-1.0.4-635bzfez.mjs +0 -1
  713. package/dist/chunks/context-1.0.4-fmdfyxfk.mjs +0 -1
  714. package/dist/chunks/context-noninteractive-1.0.4-j208qvff.mjs +0 -1
  715. package/dist/chunks/conversation-1.0.4-mjwd6es3.mjs +0 -1
  716. package/dist/chunks/copilotHeaders-1.0.4-w8cpfvcn.mjs +0 -1
  717. package/dist/chunks/copy-1.0.4-3zg2v8v9.mjs +0 -9
  718. package/dist/chunks/cost-1.0.4-qbz07cgt.mjs +0 -1
  719. package/dist/chunks/createSSHSession-1.0.4-ck0pjj64.mjs +0 -1
  720. package/dist/chunks/createSession-1.0.4-zn5jgf43.mjs +0 -1
  721. package/dist/chunks/debug-1.0.4-dym46dbc.mjs +0 -1
  722. package/dist/chunks/defaultActionDeps-1.0.4-7b6ynz02.mjs +0 -1446
  723. package/dist/chunks/desktop-1.0.4-b1awqagy.mjs +0 -1
  724. package/dist/chunks/detectRepository-1.0.4-5ce0vhvf.mjs +0 -1
  725. package/dist/chunks/detection-1.0.4-02gwawhp.mjs +0 -1
  726. package/dist/chunks/diff-1.0.4-pn4a7wgt.mjs +0 -1
  727. package/dist/chunks/doctor-1.0.4-79m6h5bd.mjs +0 -1
  728. package/dist/chunks/doctorDiagnostic-1.0.4-kxmkxpsz.mjs +0 -1
  729. package/dist/chunks/earlyInput-1.0.4-xg5zcr37.mjs +0 -1
  730. package/dist/chunks/effort-1.0.4-8sdpyadq.mjs +0 -10
  731. package/dist/chunks/engine-1.0.4-wrn82cfg.mjs +0 -1
  732. package/dist/chunks/envLessBridgeConfig-1.0.4-x998nrnt.mjs +0 -1
  733. package/dist/chunks/envUtils-1.0.4-957dzgjm.mjs +0 -1
  734. package/dist/chunks/environmentSelection-1.0.4-06vjqsxt.mjs +0 -1
  735. package/dist/chunks/environments-1.0.4-4tzw2x67.mjs +0 -1
  736. package/dist/chunks/errors-1.0.4-tb1hnmsh.mjs +0 -1
  737. package/dist/chunks/exampleCommands-1.0.4-hp5tyv1s.mjs +0 -1
  738. package/dist/chunks/exit-1.0.4-0e0pjfe4.mjs +0 -1
  739. package/dist/chunks/explorer-1.0.4-kzv9mf71.mjs +0 -1
  740. package/dist/chunks/export-1.0.4-8yb3xjhz.mjs +0 -2
  741. package/dist/chunks/extra-usage-1.0.4-ren9nv10.mjs +0 -1
  742. package/dist/chunks/extra-usage-noninteractive-1.0.4-s9hgaf3d.mjs +0 -1
  743. package/dist/chunks/fast-1.0.4-qb539j3d.mjs +0 -1
  744. package/dist/chunks/feedback-1.0.4-99yaf8cc.mjs +0 -14
  745. package/dist/chunks/firstPartyEventLogger-1.0.4-qj82we89.mjs +0 -1
  746. package/dist/chunks/git-1.0.4-ag4cdf47.mjs +0 -1
  747. package/dist/chunks/githubModelsCredentials-1.0.4-62p8s6py.mjs +0 -1
  748. package/dist/chunks/goal-1.0.4-w76hde3j.mjs +0 -4
  749. package/dist/chunks/grove-1.0.4-d8k5pbpk.mjs +0 -1
  750. package/dist/chunks/growthbook-1.0.4-qkc749a9.mjs +0 -1
  751. package/dist/chunks/headless-1.0.4-4htsajcx.mjs +0 -2
  752. package/dist/chunks/heapdump-1.0.4-g2n5m54n.mjs +0 -6
  753. package/dist/chunks/help-1.0.4-mb80yzdd.mjs +0 -1
  754. package/dist/chunks/hookChains-1.0.4-bhpn5t16.mjs +0 -3
  755. package/dist/chunks/hooks-1.0.4-3m8at5nd.mjs +0 -1
  756. package/dist/chunks/hooks-1.0.4-vqe5g9z0.mjs +0 -79
  757. package/dist/chunks/ide-1.0.4-8w5pj0k7.mjs +0 -3
  758. package/dist/chunks/image-processor-napi-1.0.4-tn6ykvgm.mjs +0 -1
  759. package/dist/chunks/inboundAttachments-1.0.4-gs14tq2d.mjs +0 -1
  760. package/dist/chunks/index-1.0.4-0ds0yar8.mjs +0 -2
  761. package/dist/chunks/index-1.0.4-0swpjsxv.mjs +0 -1
  762. package/dist/chunks/index-1.0.4-1adr1cev.mjs +0 -1
  763. package/dist/chunks/index-1.0.4-2cqwak8f.mjs +0 -1
  764. package/dist/chunks/index-1.0.4-45r2p2fr.mjs +0 -1
  765. package/dist/chunks/index-1.0.4-578fqjbt.mjs +0 -5
  766. package/dist/chunks/index-1.0.4-ak4tdd7x.mjs +0 -1
  767. package/dist/chunks/index-1.0.4-bq00jtej.mjs +0 -1
  768. package/dist/chunks/index-1.0.4-d3963jrf.mjs +0 -1
  769. package/dist/chunks/index-1.0.4-db6y9w6p.mjs +0 -9
  770. package/dist/chunks/index-1.0.4-eqa6324a.mjs +0 -30
  771. package/dist/chunks/index-1.0.4-fgtct7wa.mjs +0 -1
  772. package/dist/chunks/index-1.0.4-fpxnv2m3.mjs +0 -1
  773. package/dist/chunks/index-1.0.4-kkxqenx5.mjs +0 -17
  774. package/dist/chunks/index-1.0.4-m48vcxbj.mjs +0 -2
  775. package/dist/chunks/index-1.0.4-nb8rr4xb.mjs +0 -9
  776. package/dist/chunks/index-1.0.4-q4bjsgf0.mjs +0 -1
  777. package/dist/chunks/index-1.0.4-qj0raz1t.mjs +0 -1
  778. package/dist/chunks/index-1.0.4-rb8h15jh.mjs +0 -1
  779. package/dist/chunks/index-1.0.4-vhzdmbc5.mjs +0 -1
  780. package/dist/chunks/index-1.0.4-xadhy3m9.mjs +0 -1
  781. package/dist/chunks/index-1.0.4-ynqjejnh.mjs +0 -1
  782. package/dist/chunks/index-1.0.4-zw32d5rq.mjs +0 -1
  783. package/dist/chunks/init-1.0.4-tdv5z99g.mjs +0 -1
  784. package/dist/chunks/initReplBridge-1.0.4-rg2exhh0.mjs +0 -1
  785. package/dist/chunks/ink-1.0.4-w371tr8m.mjs +0 -1
  786. package/dist/chunks/insights-1.0.4-26m6wmhe.mjs +0 -870
  787. package/dist/chunks/install-1.0.4-k86wrfgy.mjs +0 -1
  788. package/dist/chunks/install-github-app-1.0.4-kztkmzd8.mjs +0 -149
  789. package/dist/chunks/install-slack-app-1.0.4-jr818vd2.mjs +0 -1
  790. package/dist/chunks/instrumentation-1.0.4-07hsrhzg.mjs +0 -1
  791. package/dist/chunks/interactiveHelpers-1.0.4-s8cew0a4.mjs +0 -1
  792. package/dist/chunks/keybindings-1.0.4-swcsebxv.mjs +0 -2
  793. package/dist/chunks/knowledge-1.0.4-fmpjrqf4.mjs +0 -2
  794. package/dist/chunks/latestVersionCache-1.0.4-q89arrb0.mjs +0 -1
  795. package/dist/chunks/loadAgentsDir-1.0.4-7pg9fk0z.mjs +0 -1
  796. package/dist/chunks/loadPluginHooks-1.0.4-djam30bs.mjs +0 -1
  797. package/dist/chunks/loadPluginHooks-1.0.4-nntzjww6.mjs +0 -1
  798. package/dist/chunks/log-1.0.4-q4mkknks.mjs +0 -1
  799. package/dist/chunks/main-1.0.4-fpq69x53.mjs +0 -1
  800. package/dist/chunks/managedEnv-1.0.4-50dv7phy.mjs +0 -1
  801. package/dist/chunks/mcp-1.0.4-3fp6t13e.mjs +0 -1
  802. package/dist/chunks/mcp-1.0.4-5g0fetmg.mjs +0 -17
  803. package/dist/chunks/mcp-1.0.4-v67mxtdh.mjs +0 -4
  804. package/dist/chunks/mcpb-1.0.4-bg0cf4nd.mjs +0 -1
  805. package/dist/chunks/memory-1.0.4-a5sjkye9.mjs +0 -3
  806. package/dist/chunks/model-1.0.4-7q33dte0.mjs +0 -2
  807. package/dist/chunks/model-1.0.4-ffc1hzwk.mjs +0 -1
  808. package/dist/chunks/node-1.0.4-t61fwtvv.mjs +0 -12
  809. package/dist/chunks/oauth-1.0.4-wa2f4qb5.mjs +0 -1
  810. package/dist/chunks/openaiShim-1.0.4-j74991mr.mjs +0 -14
  811. package/dist/chunks/output-style-1.0.4-rrajfa4e.mjs +0 -1
  812. package/dist/chunks/package-ZZWOLTXM-1.0.4-y2hbwj02.mjs +0 -1
  813. package/dist/chunks/parseConnectUrl-1.0.4-1krmb0p7.mjs +0 -1
  814. package/dist/chunks/parser-1.0.4-e0yxtz1k.mjs +0 -1
  815. package/dist/chunks/passes-1.0.4-kvwashgz.mjs +0 -1
  816. package/dist/chunks/permissions-1.0.4-apdtqjy6.mjs +0 -3
  817. package/dist/chunks/permissions-1.0.4-pmabr578.mjs +0 -1
  818. package/dist/chunks/plan-1.0.4-fsnspnpd.mjs +0 -1
  819. package/dist/chunks/plist-1.0.4-de9w52d2.mjs +0 -1
  820. package/dist/chunks/plugin-1.0.4-kaxanxvg.mjs +0 -29
  821. package/dist/chunks/pluginStartupCheck-1.0.4-avqbmty1.mjs +0 -1
  822. package/dist/chunks/plugins-1.0.4-h4238mxy.mjs +0 -9
  823. package/dist/chunks/preActionHook-1.0.4-hkk5ypj1.mjs +0 -2
  824. package/dist/chunks/print-1.0.4-zg0pxx71.mjs +0 -57
  825. package/dist/chunks/privacy-settings-1.0.4-7td5d9xf.mjs +0 -1
  826. package/dist/chunks/process-1.0.4-trh5g80m.mjs +0 -1
  827. package/dist/chunks/processBashCommand-1.0.4-vhq5y4b0.mjs +0 -1
  828. package/dist/chunks/processSlashCommand-1.0.4-27w0dvzd.mjs +0 -9
  829. package/dist/chunks/prompt-1.0.4-1j8n4q6b.mjs +0 -1
  830. package/dist/chunks/prompt-1.0.4-p1dmdqgx.mjs +0 -1
  831. package/dist/chunks/prompts-1.0.4-an41ccab.mjs +0 -1
  832. package/dist/chunks/protocolHandler-1.0.4-6pyn2eqy.mjs +0 -13
  833. package/dist/chunks/provider-1.0.4-xz9x5xsf.mjs +0 -2
  834. package/dist/chunks/providerProfiles-1.0.4-qmtqnwxj.mjs +0 -1
  835. package/dist/chunks/providerValidation-1.0.4-5yhz71te.mjs +0 -6
  836. package/dist/chunks/rate-limit-options-1.0.4-71w1mhp8.mjs +0 -1
  837. package/dist/chunks/registerSubcommands-1.0.4-k68vcvz1.mjs +0 -34
  838. package/dist/chunks/registry-1.0.4-5am2gh2r.mjs +0 -1
  839. package/dist/chunks/release-notes-1.0.4-72dkmwym.mjs +0 -5
  840. package/dist/chunks/reload-plugins-1.0.4-6eyjpyz7.mjs +0 -2
  841. package/dist/chunks/remote-env-1.0.4-6a8j2qxd.mjs +0 -1
  842. package/dist/chunks/remoteBridgeCore-1.0.4-ddgvhxxp.mjs +0 -1
  843. package/dist/chunks/remoteSession-1.0.4-3eztyv3e.mjs +0 -1
  844. package/dist/chunks/rename-1.0.4-te7rrrfc.mjs +0 -1
  845. package/dist/chunks/replBridgeHandle-1.0.4-16sm66q5.mjs +0 -1
  846. package/dist/chunks/replLauncher-1.0.4-mt8zvgft.mjs +0 -1
  847. package/dist/chunks/resume-1.0.4-sya6c2c8.mjs +0 -2
  848. package/dist/chunks/rewind-1.0.4-v0yww1mv.mjs +0 -1
  849. package/dist/chunks/rootOptions-1.0.4-t1drtsae.mjs +0 -1
  850. package/dist/chunks/sandbox-adapter-1.0.4-q641tp0g.mjs +0 -1
  851. package/dist/chunks/sandbox-toggle-1.0.4-c1033f07.mjs +0 -1
  852. package/dist/chunks/session-1.0.4-4fb52nd1.mjs +0 -2
  853. package/dist/chunks/sessionDiscovery-1.0.4-0e0rnehv.mjs +0 -1
  854. package/dist/chunks/sessionFileAccessHooks-1.0.4-vk3q8gh9.mjs +0 -1
  855. package/dist/chunks/sessionStorage-1.0.4-eh1zevz7.mjs +0 -1
  856. package/dist/chunks/settings-1.0.4-0jpahg4j.mjs +0 -1
  857. package/dist/chunks/setup-1.0.4-p9hdn98q.mjs +0 -5
  858. package/dist/chunks/sinks-1.0.4-hs2rw9fa.mjs +0 -1
  859. package/dist/chunks/skills-1.0.4-www28gn6.mjs +0 -1
  860. package/dist/chunks/startupProfiler-1.0.4-tngewr6e.mjs +0 -1
  861. package/dist/chunks/startupUpdateCheck-1.0.4-w114jwx9.mjs +0 -1
  862. package/dist/chunks/state-1.0.4-w3xv2kmh.mjs +0 -1
  863. package/dist/chunks/stats-1.0.4-3vm0apd0.mjs +0 -6
  864. package/dist/chunks/status-1.0.4-zymfx8mp.mjs +0 -1
  865. package/dist/chunks/stickers-1.0.4-jwgnam2a.mjs +0 -1
  866. package/dist/chunks/subprocessEnv-1.0.4-3vgqj8gm.mjs +0 -1
  867. package/dist/chunks/tasks-1.0.4-hy7y09mg.mjs +0 -1
  868. package/dist/chunks/teamHelpers-1.0.4-53nq46v0.mjs +0 -1
  869. package/dist/chunks/teammateModeSnapshot-1.0.4-3wmvsb1r.mjs +0 -1
  870. package/dist/chunks/teleport-1.0.4-x93h61td.mjs +0 -1
  871. package/dist/chunks/terminalSetup-1.0.4-fh0en1t5.mjs +0 -1
  872. package/dist/chunks/theme-1.0.4-wr0m9bga.mjs +0 -1
  873. package/dist/chunks/thinkback-1.0.4-75kht0mq.mjs +0 -1
  874. package/dist/chunks/thinkback-play-1.0.4-1b1645q9.mjs +0 -1
  875. package/dist/chunks/toolPool-1.0.4-q895eqqt.mjs +0 -1
  876. package/dist/chunks/toolSearch-1.0.4-3247wmxa.mjs +0 -1
  877. package/dist/chunks/tools-1.0.4-606qnn5t.mjs +0 -1
  878. package/dist/chunks/trustedDevice-1.0.4-c2380whv.mjs +0 -1
  879. package/dist/chunks/turndown.cjs-1.0.4-43jppw9w.mjs +0 -69
  880. package/dist/chunks/types-1.0.4-1kpkjthf.mjs +0 -1
  881. package/dist/chunks/ultrareviewCommand-1.0.4-5v4tpqbq.mjs +0 -4
  882. package/dist/chunks/update-1.0.4-0hj0c9x8.mjs +0 -86
  883. package/dist/chunks/upgrade-1.0.4-sfxyr5z4.mjs +0 -1
  884. package/dist/chunks/upload-1.0.4-bcjf0cbz.mjs +0 -7
  885. package/dist/chunks/upstreamproxy-1.0.4-t76haqj3.mjs +0 -14
  886. package/dist/chunks/url-handler-napi-1.0.4-nn0e71sf.mjs +0 -1
  887. package/dist/chunks/usage-1.0.4-hh2n5we9.mjs +0 -1
  888. package/dist/chunks/util-1.0.4-3cjy2f82.mjs +0 -1
  889. package/dist/chunks/utils-1.0.4-3cv1bh5y.mjs +0 -1
  890. package/dist/chunks/vim-1.0.4-26wbsc0p.mjs +0 -1
  891. package/dist/chunks/watcher-1.0.4-ygqk3k29.mjs +0 -1
  892. package/dist/chunks/wiki-1.0.4-jdevf4fv.mjs +0 -132
  893. package/dist/chunks/workflows-1.0.4-mg9ts0qs.mjs +0 -1
  894. package/dist/chunks/worktree-1.0.4-6849hcw1.mjs +0 -1
  895. package/dist/chunks/worktreeModeEnabled-1.0.4-3m5c48st.mjs +0 -1
  896. package/dist/chunks/wrapper-1.0.4-4czm72m1.mjs +0 -7
  897. /package/dist/chunks/{cli-1.0.4-fyekx70j.mjs → cli-1.0.5-1awwev3c.mjs} +0 -0
  898. /package/dist/chunks/{cli-1.0.4-jrvveh6t.mjs → cli-1.0.5-8344sc95.mjs} +0 -0
  899. /package/dist/chunks/{cli-1.0.4-zjh4h68p.mjs → cli-1.0.5-a9bz757z.mjs} +0 -0
  900. /package/dist/chunks/{cli-1.0.4-rh4j3s0t.mjs → cli-1.0.5-d6yzpr8m.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.0.4-a2brsa8c.mjs → cli-1.0.5-dhjms3v7.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.0.4-sx5bf3zy.mjs → cli-1.0.5-kv00w626.mjs} +0 -0
  903. /package/dist/chunks/{cli-1.0.4-1eb2472e.mjs → cli-1.0.5-sszjr8x2.mjs} +0 -0
@@ -0,0 +1 @@
1
+ import{nra as a}from"./cli-1.0.5-tek59n3h.mjs";import"./cli-1.0.5-123rr4tv.mjs";import"./cli-1.0.5-73mr16hn.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{tra as ls}from"./cli-1.0.5-123rr4tv.mjs";import{Ara as Xn,xra as z,zra as hs}from"./cli-1.0.5-73mr16hn.mjs";var V=z((js,Z)=>{var _,nn,en,sn,tn,hn,ln,cn,yn,wn,Sn,an,fn,Q,F,bn,un,gn,T,Mn,Un,Bn,$n,In,On,zn,Nn,Gn,X,rn,Cn,Tn;(function(n){var s=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(a){n(c(s,c(a)))});else if(typeof Z==="object"&&typeof js==="object")n(c(s,c(js)));else n(c(s));function c(a,w){if(a!==s)if(typeof Object.create==="function")Object.defineProperty(a,"__esModule",{value:!0});else a.__esModule=!0;return function(e,t){return a[e]=w?w(e,t):t}}})(function(n){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h))e[h]=t[h]};_=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function h(){this.constructor=e}e.prototype=t===null?Object.create(t):(h.prototype=t.prototype,new h)},nn=Object.assign||function(e){for(var t,h=1,l=arguments.length;h<l;h++){t=arguments[h];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e},en=function(e,t){var h={};for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0)h[l]=e[l];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)if(t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i]))h[l[i]]=e[l[i]]}return h},sn=function(e,t,h,l){var i=arguments.length,y=i<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,h):l,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")y=Reflect.decorate(e,t,h,l);else for(var b=e.length-1;b>=0;b--)if(S=e[b])y=(i<3?S(y):i>3?S(t,h,y):S(t,h))||y;return i>3&&y&&Object.defineProperty(t,h,y),y},tn=function(e,t){return function(h,l){t(h,l,e)}},hn=function(e,t,h,l,i,y){function S(r){if(r!==void 0&&typeof r!=="function")throw TypeError("Function expected");return r}var b=l.kind,g=b==="getter"?"get":b==="setter"?"set":"value",f=!t&&e?l.static?e:e.prototype:null,u=t||(f?Object.getOwnPropertyDescriptor(f,l.name):{}),U,B=!1;for(var M=h.length-1;M>=0;M--){var I={};for(var O in l)I[O]=O==="access"?{}:l[O];for(var O in l.access)I.access[O]=l.access[O];I.addInitializer=function(r){if(B)throw TypeError("Cannot add initializers after decoration has completed");y.push(S(r||null))};var $=(0,h[M])(b==="accessor"?{get:u.get,set:u.set}:u[g],I);if(b==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw TypeError("Object expected");if(U=S($.get))u.get=U;if(U=S($.set))u.set=U;if(U=S($.init))i.unshift(U)}else if(U=S($))if(b==="field")i.unshift(U);else u[g]=U}if(f)Object.defineProperty(f,l.name,u);B=!0},ln=function(e,t,h){var l=arguments.length>2;for(var i=0;i<t.length;i++)h=l?t[i].call(e,h):t[i].call(e);return l?h:void 0},cn=function(e){return typeof e==="symbol"?e:"".concat(e)},yn=function(e,t,h){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:h?"".concat(h," ",t):t})},wn=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},Sn=function(e,t,h,l){function i(y){return y instanceof h?y:new h(function(S){S(y)})}return new(h||(h=Promise))(function(y,S){function b(u){try{f(l.next(u))}catch(U){S(U)}}function g(u){try{f(l.throw(u))}catch(U){S(U)}}function f(u){u.done?y(u.value):i(u.value).then(b,g)}f((l=l.apply(e,t||[])).next())})},an=function(e,t){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},l,i,y,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=b(0),S.throw=b(1),S.return=b(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function b(f){return function(u){return g([f,u])}}function g(f){if(l)throw TypeError("Generator is already executing.");while(S&&(S=0,f[0]&&(h=0)),h)try{if(l=1,i&&(y=f[0]&2?i.return:f[0]?i.throw||((y=i.return)&&y.call(i),0):i.next)&&!(y=y.call(i,f[1])).done)return y;if(i=0,y)f=[f[0]&2,y.value];switch(f[0]){case 0:case 1:y=f;break;case 4:return h.label++,{value:f[1],done:!1};case 5:h.label++,i=f[1],f=[0];continue;case 7:f=h.ops.pop(),h.trys.pop();continue;default:if((y=h.trys,!(y=y.length>0&&y[y.length-1]))&&(f[0]===6||f[0]===2)){h=0;continue}if(f[0]===3&&(!y||f[1]>y[0]&&f[1]<y[3])){h.label=f[1];break}if(f[0]===6&&h.label<y[1]){h.label=y[1],y=f;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(f);break}if(y[2])h.ops.pop();h.trys.pop();continue}f=t.call(e,h)}catch(u){f=[6,u],i=0}finally{l=y=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},fn=function(e,t){for(var h in e)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(t,h))X(t,e,h)},X=Object.create?function(e,t,h,l){if(l===void 0)l=h;var i=Object.getOwnPropertyDescriptor(t,h);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[h]}};Object.defineProperty(e,l,i)}:function(e,t,h,l){if(l===void 0)l=h;e[l]=t[h]},Q=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,h=t&&e[t],l=0;if(h)return h.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&l>=e.length)e=void 0;return{value:e&&e[l++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(e,t){var h=typeof Symbol==="function"&&e[Symbol.iterator];if(!h)return e;var l=h.call(e),i,y=[],S;try{while((t===void 0||t-- >0)&&!(i=l.next()).done)y.push(i.value)}catch(b){S={error:b}}finally{try{if(i&&!i.done&&(h=l.return))h.call(l)}finally{if(S)throw S.error}}return y},bn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(F(arguments[t]));return e},un=function(){for(var e=0,t=0,h=arguments.length;t<h;t++)e+=arguments[t].length;for(var l=Array(e),i=0,t=0;t<h;t++)for(var y=arguments[t],S=0,b=y.length;S<b;S++,i++)l[i]=y[S];return l},gn=function(e,t,h){if(h||arguments.length===2){for(var l=0,i=t.length,y;l<i;l++)if(y||!(l in t)){if(!y)y=Array.prototype.slice.call(t,0,l);y[l]=t[l]}}return e.concat(y||Array.prototype.slice.call(t))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},Mn=function(e,t,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var l=h.apply(e,t||[]),i,y=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),b("next"),b("throw"),b("return",S),i[Symbol.asyncIterator]=function(){return this},i;function S(M){return function(I){return Promise.resolve(I).then(M,U)}}function b(M,I){if(l[M]){if(i[M]=function(O){return new Promise(function($,r){y.push([M,O,$,r])>1||g(M,O)})},I)i[M]=I(i[M])}}function g(M,I){try{f(l[M](I))}catch(O){B(y[0][3],O)}}function f(M){M.value instanceof T?Promise.resolve(M.value.v).then(u,U):B(y[0][2],M)}function u(M){g("next",M)}function U(M){g("throw",M)}function B(M,I){if(M(I),y.shift(),y.length)g(y[0][0],y[0][1])}},Un=function(e){var t,h;return t={},l("next"),l("throw",function(i){throw i}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(i,y){t[i]=e[i]?function(S){return(h=!h)?{value:T(e[i](S)),done:!1}:y?y(S):S}:y}},Bn=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],h;return t?t.call(e):(e=typeof Q==="function"?Q(e):e[Symbol.iterator](),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(y){h[y]=e[y]&&function(S){return new Promise(function(b,g){S=e[y](S),i(b,g,S.done,S.value)})}}function i(y,S,b,g){Promise.resolve(g).then(function(f){y({value:f,done:b})},S)}},$n=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var c=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){return a=Object.getOwnPropertyNames||function(t){var h=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l))h[h.length]=l;return h},a(e)};In=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h=a(e),l=0;l<h.length;l++)if(h[l]!=="default")X(t,e,h[l])}return c(t,e),t},On=function(e){return e&&e.__esModule?e:{default:e}},zn=function(e,t,h,l){if(h==="a"&&!l)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!l:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?l:h==="a"?l.call(e):l?l.value:t.get(e)},Nn=function(e,t,h,l,i){if(l==="m")throw TypeError("Private method is not writable");if(l==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?i.call(e,h):i?i.value=h:t.set(e,h),h},Gn=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},rn=function(e,t,h){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var l,i;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");l=t[Symbol.asyncDispose]}if(l===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(l=t[Symbol.dispose],h)i=l}if(typeof l!=="function")throw TypeError("Object not disposable.");if(i)l=function(){try{i.call(this)}catch(y){return Promise.reject(y)}};e.stack.push({value:t,dispose:l,async:h})}else if(h)e.stack.push({async:!0});return t};var w=typeof SuppressedError==="function"?SuppressedError:function(e,t,h){var l=Error(h);return l.name="SuppressedError",l.error=e,l.suppressed=t,l};Cn=function(e){function t(y){e.error=e.hasError?new w(y,e.error,"An error was suppressed during disposal."):y,e.hasError=!0}var h,l=0;function i(){while(h=e.stack.pop())try{if(!h.async&&l===1)return l=0,e.stack.push(h),Promise.resolve().then(i);if(h.dispose){var y=h.dispose.call(h.value);if(h.async)return l|=2,Promise.resolve(y).then(i,function(S){return t(S),i()})}else l|=1}catch(S){t(S)}if(l===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()},Tn=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,l,i,y,S){return l?t?".jsx":".js":i&&(!y||!S)?h:i+y+"."+S.toLowerCase()+"js"});return e},n("__extends",_),n("__assign",nn),n("__rest",en),n("__decorate",sn),n("__param",tn),n("__esDecorate",hn),n("__runInitializers",ln),n("__propKey",cn),n("__setFunctionName",yn),n("__metadata",wn),n("__awaiter",Sn),n("__generator",an),n("__exportStar",fn),n("__createBinding",X),n("__values",Q),n("__read",F),n("__spread",bn),n("__spreadArrays",un),n("__spreadArray",gn),n("__await",T),n("__asyncGenerator",Mn),n("__asyncDelegator",Un),n("__asyncValues",Bn),n("__makeTemplateObject",$n),n("__importStar",In),n("__importDefault",On),n("__classPrivateFieldGet",zn),n("__classPrivateFieldSet",Nn),n("__classPrivateFieldIn",Gn),n("__addDisposableResource",rn),n("__disposeResources",Cn),n("__rewriteRelativeImportExtension",Tn)})});var Qn=z((Es,Wn)=>{var{defineProperty:H,getOwnPropertyDescriptor:fe,getOwnPropertyNames:be}=Object,ue=Object.prototype.hasOwnProperty,ge=(n,s)=>H(n,"name",{value:s,configurable:!0}),Me=(n,s)=>{for(var c in s)H(n,c,{get:s[c],enumerable:!0})},Ue=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of be(s))if(!ue.call(n,w)&&w!==c)H(n,w,{get:()=>s[w],enumerable:!(a=fe(s,w))||a.enumerable})}return n},Be=(n)=>Ue(H({},"__esModule",{value:!0}),n),Ln={};Me(Ln,{isArrayBuffer:()=>$e});Wn.exports=Be(Ln);var $e=ge((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var Kn=z((Ps,qn)=>{var{defineProperty:q,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Oe}=Object,ze=Object.prototype.hasOwnProperty,Zn=(n,s)=>q(n,"name",{value:s,configurable:!0}),Ne=(n,s)=>{for(var c in s)q(n,c,{get:s[c],enumerable:!0})},Ge=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Oe(s))if(!ze.call(n,w)&&w!==c)q(n,w,{get:()=>s[w],enumerable:!(a=Ie(s,w))||a.enumerable})}return n},re=(n)=>Ge(q({},"__esModule",{value:!0}),n),Hn={};Ne(Hn,{fromArrayBuffer:()=>Te,fromString:()=>Le});qn.exports=re(Hn);var Ce=Qn(),J=Xn("buffer"),Te=Zn((n,s=0,c=n.byteLength-s)=>{if(!(0,Ce.isArrayBuffer)(n))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return J.Buffer.from(n,s,c)},"fromArrayBuffer"),Le=Zn((n,s)=>{if(typeof n!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return s?J.Buffer.from(n,s):J.Buffer.from(n)},"fromString")});var An=z((ks,mn)=>{var{defineProperty:K,getOwnPropertyDescriptor:We,getOwnPropertyNames:Qe}=Object,Xe=Object.prototype.hasOwnProperty,m=(n,s)=>K(n,"name",{value:s,configurable:!0}),Ze=(n,s)=>{for(var c in s)K(n,c,{get:s[c],enumerable:!0})},He=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Qe(s))if(!Xe.call(n,w)&&w!==c)K(n,w,{get:()=>s[w],enumerable:!(a=We(s,w))||a.enumerable})}return n},qe=(n)=>He(K({},"__esModule",{value:!0}),n),Fn={};Ze(Fn,{fromUtf8:()=>Jn,toUint8Array:()=>Ke,toUtf8:()=>Fe});mn.exports=qe(Fn);var Vn=Kn(),Jn=m((n)=>{let s=(0,Vn.fromString)(n,"utf8");return new Uint8Array(s.buffer,s.byteOffset,s.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Ke=m((n)=>{if(typeof n==="string")return Jn(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),Fe=m((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,Vn.fromArrayBuffer)(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Dn=z((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});Rn.convertToBuffer=void 0;var Ve=An(),Je=typeof Buffer<"u"&&Buffer.from?function(n){return Buffer.from(n,"utf8")}:Ve.fromUtf8;function me(n){if(n instanceof Uint8Array)return n;if(typeof n==="string")return Je(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)}Rn.convertToBuffer=me});var Pn=z((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.isEmptyData=void 0;function Ae(n){if(typeof n==="string")return n.length===0;return n.byteLength===0}jn.isEmptyData=Ae});var dn=z((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.numToUint8=void 0;function Re(n){return new Uint8Array([(n&4278190080)>>24,(n&16711680)>>16,(n&65280)>>8,n&255])}kn.numToUint8=Re});var pn=z((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.uint32ArrayFrom=void 0;function Ye(n){if(!Uint32Array.from){var s=new Uint32Array(n.length),c=0;while(c<n.length)s[c]=n[c],c+=1;return s}return Uint32Array.from(n)}on.uint32ArrayFrom=Ye});var A=z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.uint32ArrayFrom=L.numToUint8=L.isEmptyData=L.convertToBuffer=void 0;var De=Dn();Object.defineProperty(L,"convertToBuffer",{enumerable:!0,get:function(){return De.convertToBuffer}});var je=Pn();Object.defineProperty(L,"isEmptyData",{enumerable:!0,get:function(){return je.isEmptyData}});var Ee=dn();Object.defineProperty(L,"numToUint8",{enumerable:!0,get:function(){return Ee.numToUint8}});var Pe=pn();Object.defineProperty(L,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pe.uint32ArrayFrom}})});var te=z((ee)=>{Object.defineProperty(ee,"__esModule",{value:!0});ee.AwsCrc32=void 0;var _n=V(),R=A(),ne=Y(),ve=function(){function n(){this.crc32=new ne.Crc32}return n.prototype.update=function(s){if((0,R.isEmptyData)(s))return;this.crc32.update((0,R.convertToBuffer)(s))},n.prototype.digest=function(){return _n.__awaiter(this,void 0,void 0,function(){return _n.__generator(this,function(s){return[2,(0,R.numToUint8)(this.crc32.digest())]})})},n.prototype.reset=function(){this.crc32=new ne.Crc32},n}();ee.AwsCrc32=ve});var Y=z((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.AwsCrc32=D.Crc32=D.crc32=void 0;var de=V(),oe=A();function xe(n){return new he().update(n).digest()}D.crc32=xe;var he=function(){function n(){this.checksum=4294967295}return n.prototype.update=function(s){var c,a;try{for(var w=de.__values(s),e=w.next();!e.done;e=w.next()){var t=e.value;this.checksum=this.checksum>>>8^_e[(this.checksum^t)&255]}}catch(h){c={error:h}}finally{try{if(e&&!e.done&&(a=w.return))a.call(w)}finally{if(c)throw c.error}}return this},n.prototype.digest=function(){return(this.checksum^4294967295)>>>0},n}();D.Crc32=he;var pe=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],_e=(0,oe.uint32ArrayFrom)(pe),ns=te();Object.defineProperty(D,"AwsCrc32",{enumerable:!0,get:function(){return ns.AwsCrc32}})});class W{bytes;constructor(n){if(this.bytes=n,n.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776000||n<-9223372036854776000)throw Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let c=7,a=Math.abs(Math.round(n));c>-1&&a>0;c--,a/=256)s[c]=a;if(n<0)le(s);return new W(s)}valueOf(){let n=this.bytes.slice(0),s=n[0]&128;if(s)le(n);return parseInt(N.toHex(n),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function le(n){for(let s=0;s<8;s++)n[s]^=255;for(let s=7;s>-1;s--)if(n[s]++,n[s]!==0)break}class j{toUtf8;fromUtf8;constructor(n,s){this.toUtf8=n,this.fromUtf8=s}format(n){let s=[];for(let w of Object.keys(n)){let e=this.fromUtf8(w);s.push(Uint8Array.from([e.byteLength]),e,this.formatHeaderValue(n[w]))}let c=new Uint8Array(s.reduce((w,e)=>w+e.byteLength,0)),a=0;for(let w of s)c.set(w,a),a+=w.byteLength;return c}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,n.value,!1),new Uint8Array(s.buffer);case"integer":let c=new DataView(new ArrayBuffer(5));return c.setUint8(0,4),c.setInt32(1,n.value,!1),new Uint8Array(c.buffer);case"long":let a=new Uint8Array(9);return a[0]=5,a.set(n.value.bytes,1),a;case"binary":let w=new DataView(new ArrayBuffer(3+n.value.byteLength));w.setUint8(0,6),w.setUint16(1,n.value.byteLength,!1);let e=new Uint8Array(w.buffer);return e.set(n.value,3),e;case"string":let t=this.fromUtf8(n.value),h=new DataView(new ArrayBuffer(3+t.byteLength));h.setUint8(0,7),h.setUint16(1,t.byteLength,!1);let l=new Uint8Array(h.buffer);return l.set(t,3),l;case"timestamp":let i=new Uint8Array(9);return i[0]=8,i.set(W.fromNumber(n.value.valueOf()).bytes,1),i;case"uuid":if(!gs.test(n.value))throw Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set(N.fromHex(n.value.replace(/\-/g,"")),1),y}}parse(n){let s={},c=0;while(c<n.byteLength){let a=n.getUint8(c++),w=this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,a));switch(c+=a,n.getUint8(c++)){case 0:s[w]={type:ye,value:!0};break;case 1:s[w]={type:ye,value:!1};break;case 2:s[w]={type:ys,value:n.getInt8(c++)};break;case 3:s[w]={type:is,value:n.getInt16(c,!1)},c+=2;break;case 4:s[w]={type:ws,value:n.getInt32(c,!1)},c+=4;break;case 5:s[w]={type:Ss,value:new W(new Uint8Array(n.buffer,n.byteOffset+c,8))},c+=8;break;case 6:let e=n.getUint16(c,!1);c+=2,s[w]={type:as,value:new Uint8Array(n.buffer,n.byteOffset+c,e)},c+=e;break;case 7:let t=n.getUint16(c,!1);c+=2,s[w]={type:fs,value:this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,t))},c+=t;break;case 8:s[w]={type:bs,value:new Date(new W(new Uint8Array(n.buffer,n.byteOffset+c,8)).valueOf())},c+=8;break;case 9:let h=new Uint8Array(n.buffer,n.byteOffset+c,16);c+=16,s[w]={type:us,value:`${N.toHex(h.subarray(0,4))}-${N.toHex(h.subarray(4,6))}-${N.toHex(h.subarray(6,8))}-${N.toHex(h.subarray(8,10))}-${N.toHex(h.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}function Us({byteLength:n,byteOffset:s,buffer:c}){if(n<Ms)throw Error("Provided message too short to accommodate event stream message overhead");let a=new DataView(c,s,n),w=a.getUint32(0,!1);if(n!==w)throw Error("Reported message length does not match received message length");let e=a.getUint32(we,!1),t=a.getUint32(G,!1),h=a.getUint32(n-C,!1),l=new ie.Crc32().update(new Uint8Array(c,s,G));if(t!==l.digest())throw Error(`The prelude checksum specified in the message (${t}) does not match the calculated CRC32 checksum (${l.digest()})`);if(l.update(new Uint8Array(c,s+G,n-(G+C))),h!==l.digest())throw Error(`The message checksum (${l.digest()}) did not match the expected value of ${h}`);return{headers:new DataView(c,s+G+C,e),body:new Uint8Array(c,s+G+C+e,w-e-(G+C+C))}}class E{headerMarshaller;messageBuffer;isEndOfStream;constructor(n,s){this.headerMarshaller=new j(n,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return s}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return s}}}encode({headers:n,body:s}){let c=this.headerMarshaller.format(n),a=c.byteLength+s.byteLength+16,w=new Uint8Array(a),e=new DataView(w.buffer,w.byteOffset,w.byteLength),t=new ie.Crc32;return e.setUint32(0,a,!1),e.setUint32(4,c.byteLength,!1),e.setUint32(8,t.update(w.subarray(0,8)).digest(),!1),w.set(c,12),w.set(s,c.byteLength+12),e.setUint32(a-4,t.update(w.subarray(8,a-4)).digest(),!1),w}decode(n){let{headers:s,body:c}=Us(n);return{headers:this.headerMarshaller.parse(s),body:c}}formatHeaders(n){return this.headerMarshaller.format(n)}}function Se(n){let s=0,c=0,a=null,w=null,e=(h)=>{if(typeof h!=="number")throw Error("Attempted to allocate an event message where size was not a number: "+h);s=h,c=4,a=new Uint8Array(h),new DataView(a.buffer).setUint32(0,h,!1)},t=async function*(){let h=n[Symbol.asyncIterator]();while(!0){let{value:l,done:i}=await h.next();if(i){if(!s)return;else if(s===c)yield a;else throw Error("Truncated event message received.");return}let y=l.length,S=0;while(S<y){if(!a){let g=y-S;if(!w)w=new Uint8Array(4);let f=Math.min(4-c,g);if(w.set(l.slice(S,S+f),c),c+=f,S+=f,c<4)break;e(new DataView(w.buffer).getUint32(0,!1)),w=null}let b=Math.min(s-c,y-S);if(a.set(l.slice(S,S+b),c),c+=b,S+=b,s&&s===c)yield a,a=null,s=0,c=0}}};return{[Symbol.asyncIterator]:t}}function Bs(n,s){let c=o(s.deserializer,s.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let a of n){let w=s.eventStreamCodec.decode(a),e=await c(w);if(e===void 0)continue;yield e}}}}function o(n,s){return async function(c){let{value:a}=c.headers[":message-type"];if(a==="error"){let w=Error(c.headers[":error-message"].value||"UnknownError");throw w.name=c.headers[":error-code"].value,w}else if(a==="exception"){let w=c.headers[":exception-type"].value,e={[w]:c},t=await n(e);if(t.$unknown){let h=Error(s(c.body));throw h.name=w,h}throw t[w]}else if(a==="event"){let w={[c.headers[":event-type"].value]:c},e=await n(w);if(e.$unknown)return;return e}else throw Error(`Unrecognizable event type: ${c.headers[":event-type"].value}`)}}class p{universalMarshaller;constructor({utf8Encoder:n,utf8Decoder:s}){this.universalMarshaller=new x({utf8Decoder:s,utf8Encoder:n})}deserialize(n,s){let c=typeof n[Symbol.asyncIterator]==="function"?n:Os(n);return this.universalMarshaller.deserialize(c,s)}serialize(n,s){return cs.Readable.from(this.universalMarshaller.serialize(n,s))}}async function*Os(n){let s=!1,c=!1,a=[];n.on("error",(w)=>{if(!s)s=!0;if(w)throw w}),n.on("data",(w)=>{a.push(w)}),n.on("end",()=>{s=!0});while(!c){let w=await new Promise((e)=>setTimeout(()=>e(a.shift()),0));if(w)yield w;c=s&&a.length===0}}class ae{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:n,serializer:s,deserializer:c,serdeContext:a,defaultContentType:w}){this.marshaller=n,this.serializer=s,this.deserializer=c,this.serdeContext=a,this.defaultContentType=w}async serializeEventStream({eventStream:n,requestSchema:s,initialRequest:c}){let a=this.marshaller,w=s.getEventStreamMember(),e=s.getMemberSchema(w),t=this.serializer,h=this.defaultContentType,l=Symbol("initialRequestMarker"),i={async*[Symbol.asyncIterator](){if(c){let y={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:h}};t.write(s,c);let S=t.flush();yield{[l]:!0,headers:y,body:S}}for await(let y of n)yield y}};return a.serialize(i,(y)=>{if(y[l])return{headers:y.headers,body:y.body};let S="";for(let B in y)if(B!=="__type"){S=B;break}let{additionalHeaders:b,body:g,eventType:f,explicitPayloadContentType:u}=this.writeEventBody(S,e,y);return{headers:{":event-type":{type:"string",value:f},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u??h},...b},body:g}})}async deserializeEventStream({response:n,responseSchema:s,initialResponseContainer:c}){let a=this.marshaller,w=s.getEventStreamMember(),t=s.getMemberSchema(w).getMemberSchemas(),h=Symbol("initialResponseMarker"),l=a.deserialize(n.body,async(S)=>{let b="";for(let f in S)if(f!=="__type"){b=f;break}let g=S[b].body;if(b==="initial-response"){let f=await this.deserializer.read(s,g);return delete f[w],{[h]:!0,...f}}else if(b in t){let f=t[b];if(f.isStructSchema()){let u={},U=!1;for(let[B,M]of f.structIterator()){let{eventHeader:I,eventPayload:O}=M.getMergedTraits();if(U=U||Boolean(I||O),O){if(M.isBlobSchema())u[B]=g;else if(M.isStringSchema())u[B]=(this.serdeContext?.utf8Encoder??N.toUtf8)(g);else if(M.isStructSchema())u[B]=await this.deserializer.read(M,g)}else if(I){let $=S[b].headers[B]?.value;if($!=null)if(M.isNumericSchema())if($&&typeof $==="object"&&"bytes"in $)u[B]=BigInt($.toString());else u[B]=Number($);else u[B]=$}}if(U)return{[b]:u};if(g.byteLength===0)return{[b]:{}}}return{[b]:await this.deserializer.read(f,g)}}else return{$unknown:S}}),i=l[Symbol.asyncIterator](),y=await i.next();if(y.done)return l;if(y.value?.[h]){if(!s)throw Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let S in y.value)c[S]=y.value[S]}return{async*[Symbol.asyncIterator](){if(!y?.value?.[h])yield y.value;while(!0){let{done:S,value:b}=await i.next();if(S)break;yield b}}}}writeEventBody(n,s,c){let a=this.serializer,w=n,e=null,t,h=(()=>{return s.getSchema()[4].includes(n)})(),l={};if(!h){let[S,b]=c[n];w=S,a.write(15,b)}else{let S=s.getMemberSchema(n);if(S.isStructSchema()){for(let[b,g]of S.structIterator()){let{eventHeader:f,eventPayload:u}=g.getMergedTraits();if(u)e=b;else if(f){let U=c[n][b],B="binary";if(g.isNumericSchema())if(-2147483648<=U&&U<=2147483647)B="integer";else B="long";else if(g.isTimestampSchema())B="timestamp";else if(g.isStringSchema())B="string";else if(g.isBooleanSchema())B="boolean";if(U!=null)l[b]={type:B,value:U},delete c[n][b]}}if(e!==null){let b=S.getMemberSchema(e);if(b.isBlobSchema())t="application/octet-stream";else if(b.isStringSchema())t="text/plain";a.write(b,c[n][e])}else a.write(S,c[n])}else if(S.isUnitSchema())a.write(S,{});else throw Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}let i=a.flush()??new Uint8Array;return{body:typeof i==="string"?(this.serdeContext?.utf8Decoder??N.fromUtf8)(i):i,eventType:w,explicitPayloadContentType:t,additionalHeaders:l}}}var ie,N,cs,ce,ye="boolean",ys="byte",is="short",ws="integer",Ss="long",as="binary",fs="string",bs="timestamp",us="uuid",gs,we=4,G,C=4,Ms,P,k,v,d,x=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:s,utf8Decoder:c}){this.eventStreamCodec=new E(s,c),this.utfEncoder=s}deserialize(s,c){let a=Se(s);return new v({messageStream:new P({inputStream:a,decoder:this.eventStreamCodec}),deserializer:o(c,this.utfEncoder)})}serialize(s,c){return new k({messageStream:new d({inputStream:s,serializer:c}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},$s=(n)=>new x(n),Is=(n)=>new p(n),zs=(n)=>({[Symbol.asyncIterator]:async function*(){let s=n.getReader();try{while(!0){let{done:c,value:a}=await s.read();if(c)return;yield a}}finally{s.releaseLock()}}}),Ns=(n)=>{let s=n[Symbol.asyncIterator]();return new ReadableStream({async pull(c){let{done:a,value:w}=await s.next();if(a)return c.close();c.enqueue(w)}})},Gs=(n)=>Object.assign(n,{eventStreamMarshaller:n.eventStreamSerdeProvider(n)}),rs,Cs,Ts,Ls,Ws,Qs,Xs,Zs,Hs,qs,Ks,Fs,Vs,Js,ms,As,Rs,Ys;var Ds=hs(()=>{ie=Y(),N=ls(),cs=Xn("node:stream");(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(ce||(ce={}));gs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G=we*2,Ms=G+C*2;P=class P{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};k=class k{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);if(this.options.includeEndFrame)yield new Uint8Array(0)}};v=class v{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let s=await this.options.deserializer(n);if(s===void 0)continue;yield s}}};d=class d{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};rs=E,Cs=p,Ts=ae,Ls=j,Ws=W,Qs=P,Xs=k,Zs=v,Hs=d,qs=x,Ks=Is,Fs=Se,Vs=o,Js=Bs,ms=Ns,As=zs,Rs=Gs,Ys=$s});Ds();export{Ys as universalEventStreamSerdeProvider,Rs as resolveEventStreamSerdeConfig,As as readableStreamToIterable,ms as iterableToReadableStream,Js as getUnmarshalledStream,Vs as getMessageUnmarshaller,Fs as getChunkedStream,Ks as eventStreamSerdeProvider,qs as UniversalEventStreamMarshaller,Hs as SmithyMessageEncoderStream,Zs as SmithyMessageDecoderStream,Xs as MessageEncoderStream,Qs as MessageDecoderStream,Ws as Int64,Ls as HeaderMarshaller,Ts as EventStreamSerde,Cs as EventStreamMarshaller,rs as EventStreamCodec};export default {get universalEventStreamSerdeProvider(){return Ys},get resolveEventStreamSerdeConfig(){return Rs},get readableStreamToIterable(){return As},get iterableToReadableStream(){return ms},get getUnmarshalledStream(){return Js},get getMessageUnmarshaller(){return Vs},get getChunkedStream(){return Fs},get eventStreamSerdeProvider(){return Ks},get UniversalEventStreamMarshaller(){return qs},get SmithyMessageEncoderStream(){return Hs},get SmithyMessageDecoderStream(){return Zs},get MessageEncoderStream(){return Xs},get MessageDecoderStream(){return Qs},get Int64(){return Ws},get HeaderMarshaller(){return Ls},get EventStreamSerde(){return Ts},get EventStreamMarshaller(){return Cs},get EventStreamCodec(){return rs}};
@@ -0,0 +1 @@
1
+ import{zra as cH}from"./cli-1.0.5-73mr16hn.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};
@@ -0,0 +1,2 @@
1
+ import{$8 as Er,K8 as F,L8 as Nr,M8 as Dr,N8 as br,O8 as Ge,P8 as Zt,Q8 as Et,R8 as $r,S8 as Is,T8 as Ar,U8 as Fr,V8 as hs,W8 as G,X8 as tt,Y8 as pr,Z8 as _r,a9 as Sr,b9 as Rr,c9 as xr,d9 as vr,e9 as Kt,f9 as kt,g9 as er,h9 as Ur,i9 as Mr}from"./cli-1.0.5-03wgbmm2.mjs";import{j9 as ps}from"./cli-1.0.5-t25yws3j.mjs";import{k9 as we}from"./cli-1.0.5-nc61pjy8.mjs";import{kra as dr,lra as Z,mra as Ce}from"./cli-1.0.5-57axxb5t.mjs";import{nra as ir}from"./cli-1.0.5-tek59n3h.mjs";import{pra as Xe}from"./cli-1.0.5-123rr4tv.mjs";import{Ara as X,vra as ge,xra as S,zra as no}from"./cli-1.0.5-73mr16hn.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.0.5-bkbqdz2d.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.0.5-bkbqdz2d.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{v8 as a}from"./cli-1.0.5-mekqm9qg.mjs";import"./cli-1.0.5-73mr16hn.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{sV as a,tV as b,uV as c,vV as d,wV as e}from"./cli-1.0.5-bdad6ney.mjs";import"./cli-1.0.5-73mr16hn.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
@@ -0,0 +1 @@
1
+ import{j9 as a}from"./cli-1.0.5-t25yws3j.mjs";import"./cli-1.0.5-123rr4tv.mjs";import"./cli-1.0.5-73mr16hn.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{$8 as Ir,K8 as G,L8 as fr,M8 as Hr,N8 as Lr,O8 as oe,P8 as er,Q8 as Ut,R8 as Vr,S8 as et,T8 as zr,U8 as hr,V8 as tt,W8 as D,X8 as St,Y8 as Sr,Z8 as Or,a9 as br,b9 as qr,c9 as Dr,d9 as Rr,e9 as tr,f9 as rr,g9 as sr,h9 as Ar,i9 as Br}from"./cli-1.0.5-03wgbmm2.mjs";import{j9 as Qe}from"./cli-1.0.5-t25yws3j.mjs";import{kra as Er,lra as Pr}from"./cli-1.0.5-57axxb5t.mjs";import{nra as vr}from"./cli-1.0.5-tek59n3h.mjs";import{pra as we}from"./cli-1.0.5-123rr4tv.mjs";import{xra as a}from"./cli-1.0.5-73mr16hn.mjs";var $=a((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.resolveHttpAuthSchemeConfig=_.defaultSigninHttpAuthSchemeProvider=_.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Ot=G(),g=St(),It=async(e,t,r)=>{return{operation:(0,g.getSmithyContext)(t).operation,region:await(0,g.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};_.defaultSigninHttpAuthSchemeParametersProvider=It;function bt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var Dt=(e)=>{let t=[];switch(e.operation){case"CreateOAuth2Token":{t.push(qt(e));break}default:t.push(bt(e))}return t};_.defaultSigninHttpAuthSchemeProvider=Dt;var Rt=(e)=>{let t=(0,Ot.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,g.normalizeProvider)(e.authSchemePreference??[])})};_.resolveHttpAuthSchemeConfig=Rt});var ae=a((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.bdd=void 0;var Nt=oe(),P="ref",c=-1,b=!0,ee="isSet",ne="PartitionResult",q="booleanEquals",L="getAttr",f="stringEquals",te={[P]:"Endpoint"},V={[P]:ne},H={fn:L,argv:[V,"name"]},l={},re=[{[P]:"Region"}],se={conditions:[[ee,[te]],[ee,re],["aws.partition",re,ne],[q,[{[P]:"UseFIPS"},b]],[q,[{[P]:"UseDualStack"},b]],[q,[{fn:L,argv:[V,"supportsDualStack"]},b]],[q,[{fn:L,argv:[V,"supportsFIPS"]},b]],[f,[H,"aws"]],[f,[H,"aws-cn"]],[f,[H,"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[te,l],["https://{Region}.signin.aws.amazon.com",l],["https://{Region}.signin.amazonaws.cn",l],["https://{Region}.signin.amazonaws-us-gov.com",l],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",l],[c,"FIPS is enabled but this partition does not support FIPS"],["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",l],[c,"Invalid Configuration: Missing Region"]]},Mt=2,s=1e8,wt=new Int32Array([-1,1,-1,0,15,3,1,4,s+14,2,5,s+14,3,11,6,4,10,7,7,s+4,8,8,s+5,9,9,s+6,s+13,5,s+11,s+12,4,13,12,6,s+9,s+10,5,14,s+8,6,s+7,s+8,3,s+1,16,4,s+2,s+3]);ie.bdd=Nt.BinaryDecisionDiagram.from(wt,Mt,se.conditions,se.results)});var pe=a((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var xt=Ut(),z=oe(),gt=ae(),Gt=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),$t=(e,t={})=>{return Gt.get(e,()=>(0,z.decideEndpoint)(gt.bdd,{endpointParams:e,logger:t.logger}))};ue.defaultEndpointResolver=$t;z.customEndpointFunctions.aws=xt.awsEndpointFunctions});var R=a((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.SigninServiceException=A.__ServiceException=void 0;var ce=D();Object.defineProperty(A,"__ServiceException",{enumerable:!0,get:function(){return ce.ServiceException}});class h extends ce.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}A.SigninServiceException=h});var J=a((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.ValidationException=Ee.TooManyRequestsError=Ee.InternalServerException=Ee.AccessDeniedException=void 0;var y=R();class B extends y.SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error}}Ee.AccessDeniedException=B;class W extends y.SigninServiceException{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error}}Ee.InternalServerException=W;class Y extends y.SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error}}Ee.TooManyRequestsError=Y;class j extends y.SigninServiceException{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype),this.error=e.error}}Ee.ValidationException=j});var Z=a(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.CreateOAuth2Token$=$e.CreateOAuth2TokenResponseBody$=$e.CreateOAuth2TokenResponse$=$e.CreateOAuth2TokenRequestBody$=$e.CreateOAuth2TokenRequest$=$e.AccessToken$=$e.errorTypeRegistries=$e.ValidationException$=$e.TooManyRequestsError$=$e.InternalServerException$=$e.AccessDeniedException$=$e.SigninServiceException$=void 0;var Vt="AccessDeniedException",zt="AccessToken",ht="CreateOAuth2Token",At="CreateOAuth2TokenRequest",Bt="CreateOAuth2TokenRequestBody",Wt="CreateOAuth2TokenResponseBody",Yt="CreateOAuth2TokenResponse",jt="InternalServerException",Jt="RefreshToken",Xt="TooManyRequestsError",Qt="ValidationException",Se="accessKeyId",Oe="accessToken",X="client",Ie="clientId",be="codeVerifier",Zt="code",p="error",qe="expiresIn",De="grantType",Kt="http",Q="httpError",Re="idToken",n="jsonName",N="message",F="refreshToken",ye="redirectUri",Ue="smithy.ts.sdk.synthetic.com.amazonaws.signin",Fe="secretAccessKey",Ne="sessionToken",Tt="server",mt="tokenInput",kt="tokenOutput",Me="tokenType",i="com.amazonaws.signin",xe=we(),M=J(),_t=R(),ge=xe.TypeRegistry.for(Ue);$e.SigninServiceException$=[-3,Ue,"SigninServiceException",0,[],[]];ge.registerError($e.SigninServiceException$,_t.SigninServiceException);var S=xe.TypeRegistry.for(i);$e.AccessDeniedException$=[-3,i,Vt,{[p]:X},[p,N],[0,0],2];S.registerError($e.AccessDeniedException$,M.AccessDeniedException);$e.InternalServerException$=[-3,i,jt,{[p]:Tt,[Q]:500},[p,N],[0,0],2];S.registerError($e.InternalServerException$,M.InternalServerException);$e.TooManyRequestsError$=[-3,i,Xt,{[p]:X,[Q]:429},[p,N],[0,0],2];S.registerError($e.TooManyRequestsError$,M.TooManyRequestsError);$e.ValidationException$=[-3,i,Qt,{[p]:X,[Q]:400},[p,N],[0,0],2];S.registerError($e.ValidationException$,M.ValidationException);$e.errorTypeRegistries=[ge,S];var Ge=[0,i,Jt,8,0];$e.AccessToken$=[3,i,zt,8,[Se,Fe,Ne],[[0,{[n]:Se}],[0,{[n]:Fe}],[0,{[n]:Ne}]],3];$e.CreateOAuth2TokenRequest$=[3,i,At,0,[mt],[[()=>$e.CreateOAuth2TokenRequestBody$,16]],1];$e.CreateOAuth2TokenRequestBody$=[3,i,Bt,0,[Ie,De,Zt,ye,be,F],[[0,{[n]:Ie}],[0,{[n]:De}],0,[0,{[n]:ye}],[0,{[n]:be}],[()=>Ge,{[n]:F}]],2];$e.CreateOAuth2TokenResponse$=[3,i,Yt,0,[kt],[[()=>$e.CreateOAuth2TokenResponseBody$,16]],1];$e.CreateOAuth2TokenResponseBody$=[3,i,Wt,0,[Oe,Me,qe,F,Re],[[()=>$e.AccessToken$,{[n]:Oe}],[0,{[n]:Me}],[1,{[n]:qe}],[()=>Ge,{[n]:F}],[0,{[n]:Re}]],4];$e.CreateOAuth2Token$=[9,i,ht,{[Kt]:["POST","/v1/token",200]},()=>$e.CreateOAuth2TokenRequest$,()=>$e.CreateOAuth2TokenResponse$]});var Te=a((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.getRuntimeConfig=void 0;var or=G(),nr=rr(),ir=Qe(),dr=D(),ar=er(),Je=sr(),Xe=tr(),ur=$(),lr=pe(),pr=Z(),cr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??Je.fromBase64,base64Encoder:e?.base64Encoder??Je.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??lr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ur.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new or.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ir.NoAuthSigner}],logger:e?.logger??new dr.NoOpLogger,protocol:e?.protocol??nr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:pr.errorTypeRegistries,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??ar.parseUrl,utf8Decoder:e?.utf8Decoder??Xe.fromUtf8,utf8Encoder:e?.utf8Encoder??Xe.toUtf8}};Ze.getRuntimeConfig=cr});var ot=a((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});rt.getRuntimeConfig=void 0;var yr=Sr(),Fr=yr.__importDefault(Or()),Nr=Pr(),Mr=G(),me=Ir(),w=et(),wr=br(),ke=tt(),v=qr(),_e=vr(),Ce=D(),Ur=Dr(),xr=Rr(),gr=Er(),Gr=Te(),$r=(e)=>{(0,Ce.emitWarningIfUnsupportedVersion)(process.version);let t=(0,xr.resolveDefaultsModeConfig)(e),r=()=>t().then(Ce.loadConfigsForDefaultMode),d=(0,Gr.getRuntimeConfig)(e);(0,Nr.emitWarningIfUnsupportedVersion)(process.version);let o={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,v.loadConfig)(Mr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??Ur.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,me.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Fr.default.version}),maxAttempts:e?.maxAttempts??(0,v.loadConfig)(ke.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,v.loadConfig)(w.NODE_REGION_CONFIG_OPTIONS,{...w.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:_e.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,v.loadConfig)({...ke.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??wr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??_e.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,v.loadConfig)(w.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,v.loadConfig)(w.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,v.loadConfig)(me.NODE_APP_ID_CONFIG_OPTIONS,o)}};rt.getRuntimeConfig=$r});var as=a((u)=>{var nt=fr(),Wr=Hr(),Yr=Lr(),it=Vr(),jr=et(),K=Qe(),Jr=we(),Xr=zr(),pt=hr(),dt=tt(),E=D(),at=$(),Qr=ot(),ut=Ar(),lt=Br(),O=Z(),U=J(),Zr=R(),Kr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},Tr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},mr=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:d}=e;return{setHttpAuthScheme(o){let I=t.findIndex((x)=>x.schemeId===o.schemeId);if(I===-1)t.push(o);else t.splice(I,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){d=o},credentials(){return d}}},kr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},_r=(e,t)=>{let r=Object.assign(ut.getAwsRegionExtensionConfiguration(e),E.getDefaultExtensionConfiguration(e),lt.getHttpHandlerExtensionConfiguration(e),mr(e));return t.forEach((d)=>d.configure(r)),Object.assign(e,ut.resolveAwsRegionExtensionConfiguration(r),E.resolveDefaultRuntimeConfig(r),lt.resolveHttpHandlerRuntimeConfig(r),kr(r))};class T extends E.Client{config;constructor(...[e]){let t=Qr.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=Kr(t),d=it.resolveUserAgentConfig(r),o=dt.resolveRetryConfig(d),I=jr.resolveRegionConfig(o),x=nt.resolveHostHeaderConfig(I),ct=pt.resolveEndpointConfig(x),vt=at.resolveHttpAuthSchemeConfig(ct),Et=_r(vt,e?.extensions||[]);this.config=Et,this.middlewareStack.use(Jr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(it.getUserAgentPlugin(this.config)),this.middlewareStack.use(dt.getRetryPlugin(this.config)),this.middlewareStack.use(Xr.getContentLengthPlugin(this.config)),this.middlewareStack.use(nt.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Wr.getLoggerPlugin(this.config)),this.middlewareStack.use(Yr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(K.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:at.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Pt)=>new K.DefaultIdentityProviderConfig({"aws.auth#sigv4":Pt.credentials})})),this.middlewareStack.use(K.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class m extends E.Command.classBuilder().ep(Tr).m(function(e,t,r,d){return[pt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(O.CreateOAuth2Token$).build(){}var Cr={CreateOAuth2TokenCommand:m};class k extends T{}E.createAggregatedClient(Cr,k);var es={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",SERVER_ERROR:"server_error",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};u.$Command=E.Command;u.__Client=E.Client;u.SigninServiceException=Zr.SigninServiceException;u.CreateOAuth2TokenCommand=m;u.OAuth2ErrorCode=es;u.Signin=k;u.SigninClient=T;Object.prototype.hasOwnProperty.call(O,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:O.__proto__});Object.keys(O).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=O[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=U[e]})});export default as();
@@ -0,0 +1 @@
1
+ import{J8 as S}from"./cli-1.0.5-j4hpefm6.mjs";import"./cli-1.0.5-03wgbmm2.mjs";import"./cli-1.0.5-t25yws3j.mjs";import{k9 as A}from"./cli-1.0.5-nc61pjy8.mjs";import{lra as I,mra as h}from"./cli-1.0.5-57axxb5t.mjs";import"./cli-1.0.5-tek59n3h.mjs";import"./cli-1.0.5-123rr4tv.mjs";import{Ara as F,xra as p}from"./cli-1.0.5-73mr16hn.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{U as a,V as b}from"./cli-1.0.5-nmdv34f7.mjs";import"./cli-1.0.5-nzt3xk1m.mjs";import"./cli-1.0.5-hq3f080w.mjs";import"./cli-1.0.5-9p4aamqf.mjs";import"./cli-1.0.5-0s0v1gg0.mjs";import"./cli-1.0.5-229sbfzz.mjs";import"./cli-1.0.5-0rec9csa.mjs";import"./cli-1.0.5-edajpjmg.mjs";import"./cli-1.0.5-8rzb2qem.mjs";import"./cli-1.0.5-5d3y804x.mjs";import"./cli-1.0.5-y4j32yy1.mjs";import"./cli-1.0.5-bdad6ney.mjs";import"./cli-1.0.5-xzx7ww5a.mjs";import"./cli-1.0.5-gkss5w7t.mjs";import"./cli-1.0.5-gw52qb5c.mjs";import"./cli-1.0.5-g21rt29j.mjs";import"./cli-1.0.5-57w7a5bs.mjs";import"./cli-1.0.5-mnqb7gd5.mjs";import"./cli-1.0.5-5j8nqcrs.mjs";import"./cli-1.0.5-0qaqmxjt.mjs";import"./cli-1.0.5-qxw23b51.mjs";import"./cli-1.0.5-ax3758yk.mjs";import"./cli-1.0.5-46363jdw.mjs";import"./cli-1.0.5-7b347m92.mjs";import"./cli-1.0.5-8dg2y6tg.mjs";import"./cli-1.0.5-sj2231f1.mjs";import"./cli-1.0.5-96fnr7xq.mjs";import"./cli-1.0.5-m5af0s7r.mjs";import"./cli-1.0.5-tx7namj9.mjs";import"./cli-1.0.5-bbvr04n3.mjs";import"./cli-1.0.5-2aw9s99e.mjs";import"./cli-1.0.5-jaf04yn4.mjs";import"./cli-1.0.5-tk21thw2.mjs";import"./cli-1.0.5-qj14h4d5.mjs";import"./cli-1.0.5-vtt9zkqz.mjs";import"./cli-1.0.5-jcd8tadh.mjs";import"./cli-1.0.5-t8qp4fth.mjs";import"./cli-1.0.5-yt947a9v.mjs";import"./cli-1.0.5-n37mkdyd.mjs";import"./cli-1.0.5-4h3763ep.mjs";import"./cli-1.0.5-tmwsjg05.mjs";import"./cli-1.0.5-rzs07ec3.mjs";import"./cli-1.0.5-ackn9tdr.mjs";import"./cli-1.0.5-vr3tqxgz.mjs";import"./cli-1.0.5-mekqm9qg.mjs";import"./cli-1.0.5-das3386n.mjs";import"./cli-1.0.5-vh4hke14.mjs";import"./cli-1.0.5-9m4a2113.mjs";import"./cli-1.0.5-0k6kyvrp.mjs";import"./cli-1.0.5-b9bacpp4.mjs";import"./cli-1.0.5-2hp8c4re.mjs";import"./cli-1.0.5-pnn57nb8.mjs";import"./cli-1.0.5-3mmky5x7.mjs";import"./cli-1.0.5-br28xg7b.mjs";import"./cli-1.0.5-8xf656w6.mjs";import"./cli-1.0.5-t1pv236j.mjs";import"./cli-1.0.5-a0zsx9k5.mjs";import"./cli-1.0.5-qsbpj1m9.mjs";import"./cli-1.0.5-k8de6zdd.mjs";import"./cli-1.0.5-1z04v9fp.mjs";import"./cli-1.0.5-q8fmarwj.mjs";import"./cli-1.0.5-7vf1pr3c.mjs";import"./cli-1.0.5-y9379vp6.mjs";import"./cli-1.0.5-41vyz0qd.mjs";import"./cli-1.0.5-a4weds6b.mjs";import"./cli-1.0.5-4az3eg5n.mjs";import"./cli-1.0.5-73mr16hn.mjs";export{b as initializeTelemetryAfterTrust,a as init};
@@ -0,0 +1 @@
1
+ import{wb as RQ}from"./cli-1.0.5-8vatjwa7.mjs";import{Ab as NQ,Bb as OQ,Cb as fQ,xb as GQ,yb as AJ,zb as WQ}from"./cli-1.0.5-0sq2vybw.mjs";import{Db as vJ,Eb as zZ}from"./cli-1.0.5-a3w7xpt0.mjs";import{Fb as PQ,Gb as UQ,Hb as wQ}from"./cli-1.0.5-k0gvkh49.mjs";import"./cli-1.0.5-v5nyz2nh.mjs";import{Mb as yQ,Nb as BQ,Ob as bJ,Pb as AQ}from"./cli-1.0.5-jqnmxwxw.mjs";import"./cli-1.0.5-d8mbbnv3.mjs";import{Tb as TJ,Ub as _Q,Vb as qQ,Wb as LQ,Xb as CJ,Yb as mJ}from"./cli-1.0.5-1b29x90m.mjs";import"./cli-1.0.5-a9bz757z.mjs";import{jc as QZ,lc as bZ}from"./cli-1.0.5-0trf2gsb.mjs";import{se as sQ,te as nQ,ue as TZ}from"./cli-1.0.5-8b04xvpj.mjs";import{$e as pJ,cf as mZ}from"./cli-1.0.5-jmw0tc8t.mjs";import"./cli-1.0.5-5mnf7pdd.mjs";import{pf as rQ,rf as eQ,sf as JZ,tf as CZ}from"./cli-1.0.5-cqyc6p8s.mjs";import{Af as xQ,wf as VQ,xf as HQ,zf as i}from"./cli-1.0.5-mmdqsfz9.mjs";import{mi as lQ,oi as KJ,pi as aQ,qi as kZ}from"./cli-1.0.5-vgd5ajrc.mjs";import{DE as hZ,IQ as vZ,VS as SZ,fm as pQ,gk as IQ,gm as EZ,iS as qJ,nQ as ZZ,uQ as $Z,wE as uQ,xE as dQ}from"./cli-1.0.5-hq3f080w.mjs";import"./cli-1.0.5-9p4aamqf.mjs";import"./cli-1.0.5-0s0v1gg0.mjs";import"./cli-1.0.5-229sbfzz.mjs";import"./cli-1.0.5-0rec9csa.mjs";import"./cli-1.0.5-edajpjmg.mjs";import"./cli-1.0.5-8rzb2qem.mjs";import"./cli-1.0.5-5d3y804x.mjs";import"./cli-1.0.5-y4j32yy1.mjs";import"./cli-1.0.5-bdad6ney.mjs";import"./cli-1.0.5-xzx7ww5a.mjs";import"./cli-1.0.5-gkss5w7t.mjs";import{QV as DJ,RV as _Z}from"./cli-1.0.5-gw52qb5c.mjs";import{$V as XQ,dW as qZ}from"./cli-1.0.5-g21rt29j.mjs";import{fW as gQ,hW as iQ,iW as tQ,jW as oQ,mW as DZ}from"./cli-1.0.5-57w7a5bs.mjs";import"./cli-1.0.5-mnqb7gd5.mjs";import"./cli-1.0.5-5j8nqcrs.mjs";import{VW as jQ,XW as LZ}from"./cli-1.0.5-0qaqmxjt.mjs";import"./cli-1.0.5-qxw23b51.mjs";import"./cli-1.0.5-ax3758yk.mjs";import"./cli-1.0.5-46363jdw.mjs";import"./cli-1.0.5-7b347m92.mjs";import"./cli-1.0.5-8dg2y6tg.mjs";import"./cli-1.0.5-sj2231f1.mjs";import"./cli-1.0.5-96fnr7xq.mjs";import{H1 as cQ,I1 as zQ,J1 as KQ,L1 as YQ}from"./cli-1.0.5-m5af0s7r.mjs";import"./cli-1.0.5-tx7namj9.mjs";import"./cli-1.0.5-bbvr04n3.mjs";import"./cli-1.0.5-2aw9s99e.mjs";import"./cli-1.0.5-jaf04yn4.mjs";import"./cli-1.0.5-tk21thw2.mjs";import"./cli-1.0.5-qj14h4d5.mjs";import"./cli-1.0.5-vtt9zkqz.mjs";import"./cli-1.0.5-jcd8tadh.mjs";import"./cli-1.0.5-t8qp4fth.mjs";import"./cli-1.0.5-yt947a9v.mjs";import"./cli-1.0.5-n37mkdyd.mjs";import"./cli-1.0.5-4h3763ep.mjs";import"./cli-1.0.5-tmwsjg05.mjs";import{B7 as IJ,D7 as SQ,J4 as vQ,M4 as MZ,T6 as OJ,U6 as OZ,Z7 as FZ,z7 as SJ}from"./cli-1.0.5-rzs07ec3.mjs";import"./cli-1.0.5-ackn9tdr.mjs";import"./cli-1.0.5-vr3tqxgz.mjs";import"./cli-1.0.5-mekqm9qg.mjs";import"./cli-1.0.5-das3386n.mjs";import"./cli-1.0.5-vh4hke14.mjs";import{Efa as bQ,Gfa as wZ,N9 as GJ,P9 as NZ,P_ as UZ,Qda as CQ,Tda as mQ,mea as fZ,x_ as DQ,z_ as TQ}from"./cli-1.0.5-9m4a2113.mjs";import"./cli-1.0.5-0k6kyvrp.mjs";import"./cli-1.0.5-b9bacpp4.mjs";import"./cli-1.0.5-2hp8c4re.mjs";import{Tga as kQ,cha as PZ}from"./cli-1.0.5-pnn57nb8.mjs";import"./cli-1.0.5-3mmky5x7.mjs";import"./cli-1.0.5-br28xg7b.mjs";import"./cli-1.0.5-8xf656w6.mjs";import{pia as q,sia as xZ}from"./cli-1.0.5-t1pv236j.mjs";import{sja as J,via as eJ,vja as $Q,xia as GZ}from"./cli-1.0.5-a0zsx9k5.mjs";import"./cli-1.0.5-qsbpj1m9.mjs";import{Sja as D,Zja as ZQ}from"./cli-1.0.5-k8de6zdd.mjs";import{dka as JQ,lka as QQ,nka as WZ}from"./cli-1.0.5-1z04v9fp.mjs";import{Qpa as RZ,Tla as _J,Zla as hQ}from"./cli-1.0.5-q8fmarwj.mjs";import"./cli-1.0.5-7vf1pr3c.mjs";import"./cli-1.0.5-y9379vp6.mjs";import"./cli-1.0.5-41vyz0qd.mjs";import"./cli-1.0.5-a4weds6b.mjs";import"./cli-1.0.5-4az3eg5n.mjs";import{Ara as rJ}from"./cli-1.0.5-73mr16hn.mjs";RZ();PZ();MZ();hZ();FZ();fZ();$Q();wZ();ZQ();UZ();mZ();vZ();SZ();TZ();EZ();kZ();DZ();CZ();xQ();bZ();import{hostname as IZ}from"os";import{randomUUID as oJ}from"crypto";$Q();NZ();xZ();GZ();YQ();LZ();qZ();_Z();WZ();xQ();ZQ();OZ();var yZ=2000,sJ=60000,nJ=900000,BZ=0;async function MQ(p){let{dir:L,machineName:T,branch:y,gitRepoUrl:t,title:o,baseUrl:s,sessionIngressUrl:w,workerType:S,getAccessToken:n,createSession:r,archiveSession:l,getCurrentTitle:ZJ=()=>o,toSDKMessages:YJ=()=>{throw Error("BridgeCoreParams.toSDKMessages not provided. Pass it if you use writeMessages() or initialMessages — daemon callers that only use writeSdkMessages() never hit this path.")},onAuth401:P,getPollIntervalConfig:U=()=>vJ,initialHistoryCap:M=200,initialMessages:x,previouslyFlushedUUIDs:m,onInboundMessage:C,onPermissionResponse:e,onInterrupt:c,onSetModel:V,onSetMaxThinkingTokens:F,onSetPermissionMode:B,onStateChange:G,onUserMessage:b,perpetual:E,initialSSESequenceNum:u=0}=p,O=++BZ,{writeBridgePointer:h,clearBridgePointer:JJ,readBridgePointer:j}=await import("./bridgePointer-1.0.5-tmrgtd3x.mjs"),H=E?await j(L):null,K=H?.source==="repl"?H:null;J(`[bridge:repl] initBridgeCore #${O} starting (initialMessages=${x?.length??0}${K?` perpetual prior=env:${K.environmentId}`:""})`);let R=WQ({baseUrl:s,getAccessToken:n,runnerVersion:"99.0.0",onDebug:J,onAuth401:P,getTrustedDeviceToken:XQ}),QJ={dir:L,machineName:T,branch:y,gitRepoUrl:t,maxSessions:1,spawnMode:"single-session",verbose:!1,sandbox:!1,bridgeId:oJ(),workerType:S,environmentId:oJ(),reuseEnvironmentId:K?.environmentId,apiBaseUrl:s,sessionIngressUrl:w},X,LJ;try{let Q=await R.registerBridgeEnvironment(QJ);X=Q.environment_id,LJ=Q.environment_secret}catch(Q){if(i("registration_failed",`[bridge:repl] Environment registration failed: ${D(Q)}`),K)await JJ(L);return G?.("failed",D(Q)),null}J(`[bridge:repl] Environment registered: ${X}`),GJ("info","bridge_repl_env_registered"),q("tengu_bridge_repl_env_registered",{});async function cJ(Q,$){if(X!==Q)return J(`[bridge:repl] Env mismatch (requested ${Q}, got ${X}) — cannot reconnect in place`),!1;let W=KQ($),Y=W===$?[$]:[$,W];for(let A of Y)try{return await R.reconnectSession(X,A),J(`[bridge:repl] Reconnected session ${A} in place on env ${X}`),!0}catch(d){J(`[bridge:repl] reconnectSession(${A}) failed: ${D(d)}`)}return J("[bridge:repl] reconnectSession exhausted — falling through to fresh session"),!1}let RJ=K?await cJ(K.environmentId,K.sessionId):!1;if(K&&!RJ)await JJ(L);let z;if(RJ&&K){if(z=K.sessionId,J(`[bridge:repl] Perpetual session reused: ${z}`),x&&m)for(let Q of x)m.add(Q.uuid)}else{let Q=await r({environmentId:X,title:o,gitRepoUrl:t,branch:y,signal:AbortSignal.timeout(15000)});if(!Q)return J("[bridge:repl] Session creation failed, deregistering environment"),q("tengu_bridge_repl_session_failed",{}),await R.deregisterEnvironment(X).catch(()=>{}),G?.("failed","Session creation failed"),null;z=Q,J(`[bridge:repl] Session created: ${z}`)}await h(L,{sessionId:z,environmentId:X,source:"repl"}),GJ("info","bridge_repl_session_created"),q("tengu_bridge_repl_started",{has_initial_messages:!!(x&&x.length>0),inProtectedNamespace:QQ()});let PJ=new Set;if(x)for(let Q of x)PJ.add(Q.uuid);let $J=new mJ(2000);for(let Q of PJ)$J.add(Q);let uJ=new mJ(2000),a=new AbortController,Z=null,XJ=0,v=RJ?u:0,k=null,jJ=null,dJ=fQ(a.signal),WJ=dJ.wake,KZ=dJ.signal,g=new wQ,UJ=!b,fJ=3,zJ=0,VJ=null;async function lJ(){if(VJ)return VJ;VJ=YZ();try{return await VJ}finally{VJ=null}}async function YZ(){if(zJ++,XJ++,J(`[bridge:repl] Reconnecting after env lost (attempt ${zJ}/${fJ})`),zJ>fJ)return J(`[bridge:repl] Environment reconnect limit reached (${fJ}), giving up`),!1;if(Z){let Y=Z.getLastSequenceNum();if(Y>v)v=Y;Z.close(),Z=null}if(WJ(),g.drop(),k){let Y=k;if(await R.stopWork(X,Y,!1).catch(()=>{}),k!==Y)return J("[bridge:repl] Poll loop recovered during stopWork await — deferring to it"),zJ=0,!0;k=null,jJ=null}if(a.signal.aborted)return J("[bridge:repl] Reconnect aborted by teardown"),!1;let Q=X;QJ.reuseEnvironmentId=Q;try{let Y=await R.registerBridgeEnvironment(QJ);X=Y.environment_id,LJ=Y.environment_secret}catch(Y){return QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Environment re-registration failed: ${D(Y)}`),!1}if(QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Re-registered: requested=${Q} got=${X}`),a.signal.aborted)return J("[bridge:repl] Reconnect aborted after env registration, cleaning up"),await R.deregisterEnvironment(X).catch(()=>{}),!1;if(Z!==null)return J("[bridge:repl] Poll loop recovered during registerBridgeEnvironment await — deferring to it"),zJ=0,!0;if(await cJ(Q,z))return q("tengu_bridge_repl_reconnected_in_place",{}),zJ=0,!0;if(X!==Q)q("tengu_bridge_repl_env_expired_fresh_session",{});if(await l(z),a.signal.aborted)return J("[bridge:repl] Reconnect aborted after archive, cleaning up"),await R.deregisterEnvironment(X).catch(()=>{}),!1;let $=ZJ(),W=await r({environmentId:X,title:$,gitRepoUrl:t,branch:y,signal:AbortSignal.timeout(15000)});if(!W)return J("[bridge:repl] Session creation failed during reconnection"),!1;if(a.signal.aborted)return J("[bridge:repl] Reconnect aborted after session creation, cleaning up"),await l(W),!1;return z=W,jQ(zQ(W)).catch(()=>{}),v=0,uJ.clear(),UJ=!b,J(`[bridge:repl] Re-created session: ${z}`),await h(L,{sessionId:z,environmentId:X,source:"repl"}),m?.clear(),zJ=0,!0}function wJ(){return n()}function aJ(){let Q=g.end();if(Q.length===0)return;if(!Z){J(`[bridge:repl] Cannot drain ${Q.length} pending message(s): no transport`);return}for(let Y of Q)$J.add(Y.uuid);let W=YJ(Q).map((Y)=>({...Y,session_id:z}));J(`[bridge:repl] Drained ${Q.length} pending message(s) after flush`),Z.writeBatch(W)}let yJ=null;function MJ(){yJ?.()}function XZ(Q){if(J(`[bridge:repl] Transport permanently closed: code=${Q}`),q("tengu_bridge_repl_ws_closed",{code:Q}),Z){let W=Z.getLastSequenceNum();if(W>v)v=W;Z=null}WJ();let $=g.drop();if($>0)J(`[bridge:repl] Dropping ${$} pending message(s) on transport close (code=${Q})`,{level:"warn"});if(Q===1000){G?.("failed","session ended"),a.abort(),MJ();return}G?.("reconnecting",`Remote Control connection lost (code ${Q})`),J(`[bridge:repl] Transport reconnect budget exhausted (code=${Q}), attempting env reconnect`),lJ().then((W)=>{if(W)return;if(a.signal.aborted)return;J("[bridge:repl] reconnectEnvironmentWithSession resolved false — tearing down"),q("tengu_bridge_repl_reconnect_failed",{close_code:Q}),G?.("failed","reconnection failed"),MJ()})}let jZ={api:R,getCredentials:()=>({environmentId:X,environmentSecret:LJ}),signal:a.signal,getPollIntervalConfig:U,onStateChange:G,getWsState:()=>Z?.getStateLabel()??"null",isAtCapacity:()=>Z!==null,capacitySignal:KZ,onFatalError:MJ,getHeartbeatInfo:()=>{if(!k||!jJ)return null;return{environmentId:X,workId:k,sessionToken:jJ}},onHeartbeatFatal:(Q)=>{if(J(`[bridge:repl] heartbeatWork fatal (status=${Q.status}) — tearing down work item for fast re-dispatch`),Z){let $=Z.getLastSequenceNum();if($>v)v=$;Z.close(),Z=null}if(g.drop(),k)R.stopWork(X,k,!1).catch(($)=>{J(`[bridge:repl] stopWork after heartbeat fatal: ${D($)}`)});k=null,jJ=null,WJ(),G?.("reconnecting","Work item lease expired, fetching fresh token")},async onEnvironmentLost(){if(!await lJ())return null;return{environmentId:X,environmentSecret:LJ}},onWorkReceived:(Q,$,W,Y)=>{if(Z?.isConnectedStatus())J(`[bridge:repl] Work received while transport connected, replacing with fresh token (workId=${W})`);if(J(`[bridge:repl] Work received: workId=${W} workSessionId=${Q} currentSessionId=${z} match=${bJ(Q,z)}`),h(L,{sessionId:z,environmentId:X,source:"repl"}),!bJ(Q,z)){J(`[bridge:repl] Rejecting foreign session: expected=${z} got=${Q}`);return}k=W,jJ=$;let A=Y||JQ(process.env.CLAUDE_BRIDGE_USE_CCR_V2),d;if(!A){if(d=wJ(),!d){J("[bridge:repl] No OAuth token available for session ingress, skipping work");return}DJ(d)}if(q("tengu_bridge_repl_work_received",{}),Z){let N=Z;Z=null;let _=N.getLastSequenceNum();if(_>v)v=_;N.close()}g.deactivate();let HZ=(N)=>LQ(N,{transport:Z,sessionId:z,onInterrupt:c,onSetModel:V,onSetMaxThinkingTokens:F,onSetPermissionMode:B}),kJ=!1,iJ=(N)=>{if(Z=N,N.setOnConnect(()=>{if(Z!==N)return;if(J("[bridge:repl] Ingress transport connected"),q("tengu_bridge_repl_ws_connected",{}),!A){let _=wJ();if(_)DJ(_)}if(hJ=!1,!kJ&&x&&x.length>0){kJ=!0;let _=M,I=x.filter((BJ)=>TJ(BJ)&&!m?.has(BJ.uuid)),HJ=_>0&&I.length>_?I.slice(-_):I;if(HJ.length<I.length)J(`[bridge:repl] Capped initial flush: ${I.length} -> ${HJ.length} (cap=${_})`),q("tengu_bridge_repl_history_capped",{eligible_count:I.length,capped_count:HJ.length});let NJ=YJ(HJ);if(NJ.length>0){J(`[bridge:repl] Flushing ${NJ.length} initial message(s) via transport`);let BJ=NJ.map((xJ)=>({...xJ,session_id:z})),tJ=N.droppedBatchCount;N.writeBatch(BJ).then(()=>{if(N.droppedBatchCount>tJ){J(`[bridge:repl] Initial flush dropped ${N.droppedBatchCount-tJ} batch(es) — not marking ${NJ.length} UUID(s) as flushed`);return}if(m){for(let xJ of NJ)if(xJ.uuid)m.add(xJ.uuid)}}).catch((xJ)=>J(`[bridge:repl] Initial flush failed: ${xJ}`)).finally(()=>{if(Z!==N)return;aJ(),G?.("connected")})}else aJ(),G?.("connected")}else if(!g.active)G?.("connected")}),N.setOnData((_)=>{qQ(_,$J,uJ,C,e,HZ)}),N.setOnClose((_)=>{if(Z!==N)return;XZ(_)}),!kJ&&x&&x.length>0)g.start();N.connect()};if(XJ++,A){let N=AQ(s,Q),_=XJ;J(`[bridge:repl] CCR v2: sessionUrl=${N} session=${Q} gen=${_}`),UQ({sessionUrl:N,ingressToken:$,sessionId:Q,initialSequenceNum:v}).then((I)=>{if(a.signal.aborted){I.close();return}if(_!==XJ){J(`[bridge:repl] CCR v2: discarding stale handshake gen=${_} current=${XJ}`),I.close();return}iJ(I)},(I)=>{if(J(`[bridge:repl] CCR v2: createV2ReplTransport failed: ${D(I)}`,{level:"error"}),q("tengu_bridge_repl_ccr_v2_init_failed",{}),_!==XJ)return;if(k)R.stopWork(X,k,!1).catch((HJ)=>{J(`[bridge:repl] stopWork after v2 init failure: ${D(HJ)}`)}),k=null,jJ=null;WJ()})}else{let N=BQ(w,Q);J(`[bridge:repl] Ingress URL: ${N}`),J(`[bridge:repl] Creating HybridTransport: session=${Q}`);let _=d??"";iJ(PQ(new RQ(new URL(N),{Authorization:`Bearer ${_}`,"anthropic-version":"2023-06-01"},Q,()=>({Authorization:`Bearer ${wJ()??_}`,"anthropic-version":"2023-06-01"}),{maxConsecutiveFailures:50,isBridge:!0,onBatchDropped:()=>{G?.("reconnecting","Lost sync with Remote Control — events could not be delivered"),WJ()}})))}}};AZ(jZ);let FJ=E?setInterval(()=>{if(VJ)return;h(L,{sessionId:z,environmentId:X,source:"repl"})},3600000):null;FJ?.unref?.();let gJ=U().session_keepalive_interval_v2_ms,EJ=gJ>0?setInterval(()=>{if(!Z)return;J("[bridge:repl] keep_alive sent"),Z.write({type:"keep_alive"}).catch((Q)=>{J(`[bridge:repl] keep_alive write failed: ${D(Q)}`)})},gJ):null;EJ?.unref?.();let hJ=!1;yJ=async()=>{if(hJ){J(`[bridge:repl] Teardown already in progress, skipping duplicate call env=${X} session=${z}`);return}hJ=!0;let Q=Date.now();if(J(`[bridge:repl] Teardown starting: env=${X} session=${z} workId=${k??"none"} transportState=${Z?.getStateLabel()??"null"}`),FJ!==null)clearInterval(FJ);if(EJ!==null)clearInterval(EJ);if(a.abort(),J("[bridge:repl] Teardown: poll loop aborted"),Z){let Y=Z.getLastSequenceNum();if(Y>v)v=Y}if(E){Z=null,g.drop(),await h(L,{sessionId:z,environmentId:X,source:"repl"}),J(`[bridge:repl] Teardown (perpetual): leaving env=${X} session=${z} alive on server, duration=${Date.now()-Q}ms`);return}let $=Z;if(Z=null,g.drop(),$)$.write(CJ(z));let W=k?R.stopWork(X,k,!0).then(()=>{J("[bridge:repl] Teardown: stopWork completed")}).catch((Y)=>{J(`[bridge:repl] Teardown stopWork failed: ${D(Y)}`)}):Promise.resolve();await Promise.all([W,l(z)]),$?.close(),J("[bridge:repl] Teardown: transport closed"),await R.deregisterEnvironment(X).catch((Y)=>{J(`[bridge:repl] Teardown deregister failed: ${D(Y)}`)}),await JJ(L),J(`[bridge:repl] Teardown complete: env=${X} duration=${Date.now()-Q}ms`)};let VZ=eJ(()=>yJ?.());return J(`[bridge:repl] Ready: env=${X} session=${z}`),G?.("ready"),{get bridgeSessionId(){return z},get environmentId(){return X},getSSESequenceNum(){let Q=Z?.getLastSequenceNum()??0;return Math.max(v,Q)},sessionIngressUrl:w,writeMessages(Q){let $=Q.filter((A)=>TJ(A)&&!PJ.has(A.uuid)&&!$J.has(A.uuid));if($.length===0)return;if(!UJ)for(let A of $){let d=_Q(A);if(d!==void 0&&b?.(d,z)){UJ=!0;break}}if(g.enqueue(...$)){J(`[bridge:repl] Queued ${$.length} message(s) during initial flush`);return}if(!Z){let A=$.map((d)=>d.type).join(",");J(`[bridge:repl] Transport not configured, dropping ${$.length} message(s) [${A}] for session=${z}`,{level:"warn"});return}for(let A of $)$J.add(A.uuid);J(`[bridge:repl] Sending ${$.length} message(s) via transport`);let Y=YJ($).map((A)=>({...A,session_id:z}));Z.writeBatch(Y)},writeSdkMessages(Q){let $=Q.filter((Y)=>!Y.uuid||!$J.has(Y.uuid));if($.length===0)return;if(!Z){J(`[bridge:repl] Transport not configured, dropping ${$.length} SDK message(s) for session=${z}`,{level:"warn"});return}for(let Y of $)if(Y.uuid)$J.add(Y.uuid);let W=$.map((Y)=>({...Y,session_id:z}));Z.writeBatch(W)},sendControlRequest(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_request");return}let $={...Q,session_id:z};Z.write($),J(`[bridge:repl] Sent control_request request_id=${Q.request_id}`)},sendControlResponse(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_response");return}let $={...Q,session_id:z};Z.write($),J("[bridge:repl] Sent control_response")},sendControlCancelRequest(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_cancel_request");return}let $={type:"control_cancel_request",request_id:Q,session_id:z};Z.write($),J(`[bridge:repl] Sent control_cancel_request request_id=${Q}`)},sendResult(){if(!Z){J(`[bridge:repl] sendResult: skipping, transport not configured session=${z}`);return}Z.write(CJ(z)),J(`[bridge:repl] Sent result for session=${z}`)},async teardown(){VZ(),await yJ?.(),J("[bridge:repl] Torn down"),q("tengu_bridge_repl_teardown",{})}}}async function AZ({api:p,getCredentials:L,signal:T,onStateChange:y,onWorkReceived:t,onEnvironmentLost:o,getWsState:s,isAtCapacity:w,capacitySignal:S,onFatalError:n,getPollIntervalConfig:r=()=>vJ,getHeartbeatInfo:l,onHeartbeatFatal:ZJ}){J(`[bridge:repl] Starting work poll loop for env=${L().environmentId}`);let P=0,U=null,M=null,x=0,m=!1;while(!T.aborted){let{environmentId:C,environmentSecret:e}=L(),c=r();try{let V=await p.pollForWork(C,e,T,c.reclaim_older_than_ms);if(x=0,P>0)J(`[bridge:repl] Poll recovered after ${P} consecutive error(s)`),P=0,U=null,M=null,y?.("ready");if(!V){let B=m;if(m=!1,w?.()&&S&&!B){let G=c.poll_interval_ms_at_capacity;if(c.non_exclusive_heartbeat_interval_ms>0&&l){q("tengu_bridge_heartbeat_mode_entered",{heartbeat_interval_ms:c.non_exclusive_heartbeat_interval_ms});let E=G>0?Date.now()+G:null,u=!1,O=0;while(!T.aborted&&w()&&(E===null||Date.now()<E)){let JJ=r();if(JJ.non_exclusive_heartbeat_interval_ms<=0)break;let j=l();if(!j)break;let H=S();try{await p.heartbeatWork(j.environmentId,j.workId,j.sessionToken)}catch(K){if(J(`[bridge:repl:heartbeat] Failed: ${D(K)}`),K instanceof AJ){if(H.cleanup(),q("tengu_bridge_heartbeat_error",{status:K.status,error_type:K.status===401||K.status===403?"auth_failed":"fatal"}),ZJ)ZJ(K),J(`[bridge:repl:heartbeat] Fatal (status=${K.status}), work state cleared — fast-polling for re-dispatch`);else u=!0;break}}O++,await OJ(JJ.non_exclusive_heartbeat_interval_ms,H.signal),H.cleanup()}let h=u?"error":T.aborted?"shutdown":!w()?"capacity_changed":E!==null&&Date.now()>=E?"poll_due":"config_disabled";if(q("tengu_bridge_heartbeat_mode_exited",{reason:h,heartbeat_cycles:O}),!u){if(h==="poll_due")J(`[bridge:repl] Heartbeat poll_due after ${O} cycles — falling through to pollForWork`);continue}}let b=G>0?G:c.non_exclusive_heartbeat_interval_ms;if(b>0){let E=S(),u=Date.now();await OJ(b,E.signal),E.cleanup();let O=Date.now()-u-b;if(O>60000)J(`[bridge:repl] At-capacity sleep overran by ${Math.round(O/1000)}s — process suspension detected, forcing one fast-poll cycle`),q("tengu_bridge_repl_suspension_detected",{overrun_ms:O}),m=!0}}else await OJ(c.poll_interval_ms_not_at_capacity,T);continue}let F;try{F=yQ(V.secret)}catch(B){J(`[bridge:repl] Failed to decode work secret: ${D(B)}`),q("tengu_bridge_repl_work_secret_failed",{}),await p.stopWork(C,V.id,!1).catch(()=>{});continue}J(`[bridge:repl] Acknowledging workId=${V.id}`);try{await p.acknowledgeWork(C,V.id,F.session_ingress_token)}catch(B){J(`[bridge:repl] Acknowledge failed workId=${V.id}: ${D(B)}`)}if(V.data.type==="healthcheck"){J("[bridge:repl] Healthcheck received");continue}if(V.data.type==="session"){let B=V.data.id;try{GQ(B,"session_id")}catch{J(`[bridge:repl] Invalid session_id in work: ${B}`);continue}t(B,F.session_ingress_token,V.id,F.use_code_sessions===!0),J("[bridge:repl] Work accepted, continuing poll loop")}}catch(V){if(T.aborted)break;if(V instanceof AJ&&V.status===404&&o){let O=L().environmentId;if(C!==O){J(`[bridge:repl] Stale poll error for old env=${C}, current env=${O} — skipping onEnvironmentLost`),P=0,U=null;continue}if(x++,J(`[bridge:repl] Environment deleted, attempting re-registration (attempt ${x}/3)`),q("tengu_bridge_repl_env_lost",{attempt:x}),x>3){J("[bridge:repl] Environment re-registration limit reached (3), giving up"),y?.("failed","Environment deleted and re-registration limit reached"),n?.();break}y?.("reconnecting","environment lost, recreating session");let h=await o();if(T.aborted)break;if(h){P=0,U=null,y?.("ready"),J(`[bridge:repl] Re-registered environment: ${h.environmentId}`);continue}y?.("failed","Environment deleted and re-registration failed"),n?.();break}if(V instanceof AJ){let O=NQ(V.errorType),h=OQ(V);if(J(`[bridge:repl] Fatal poll error: ${V.message} (status=${V.status}, type=${V.errorType??"unknown"})${h?" (suppressed)":""}`),q("tengu_bridge_repl_fatal_error",{status:V.status,error_type:V.errorType}),GJ(O?"info":"error","bridge_repl_fatal_error",{status:V.status,error_type:V.errorType}),!h)y?.("failed",O?"session expired · /remote-control to reconnect":V.message);n?.();break}let F=Date.now();if(M!==null&&F-M>sJ*2)J(`[bridge:repl] Detected system sleep (${Math.round((F-M)/1000)}s gap), resetting poll error budget`),GJ("info","bridge_repl_poll_sleep_detected",{gapMs:F-M}),P=0,U=null;if(M=F,P++,U===null)U=F;let B=F-U,G=HQ(V),b=VQ(V),E=s?.()??"unknown";if(J(`[bridge:repl] Poll error (attempt ${P}, elapsed ${Math.round(B/1000)}s, ws=${E}): ${b}`),q("tengu_bridge_repl_poll_error",{status:G,consecutiveErrors:P,elapsedMs:B}),P===1)y?.("reconnecting",b);if(B>=nJ){J(`[bridge:repl] Poll failures exceeded ${nJ/1000}s (${P} errors), giving up`),GJ("info","bridge_repl_poll_give_up"),q("tengu_bridge_repl_poll_give_up",{consecutiveErrors:P,elapsedMs:B,lastStatus:G}),y?.("failed","connection to server lost");break}let u=Math.min(yZ*2**(P-1),sJ);if(r().non_exclusive_heartbeat_interval_ms>0){let O=l?.();if(O)try{await p.heartbeatWork(O.environmentId,O.workId,O.sessionToken)}catch{}}await OJ(u,T)}}J(`[bridge:repl] Work poll loop ended (aborted=${T.aborted}) env=${L().environmentId}`)}YQ();async function T0(p){let{onInboundMessage:L,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:o,onSetPermissionMode:s,onStateChange:w,initialMessages:S,getMessages:n,previouslyFlushedUUIDs:r,initialName:l,perpetual:ZJ,outboundOnly:YJ,tags:P}=p??{};if(cQ(tQ),!await gQ())return i("not_enabled","[bridge:repl] Skipping: bridge not enabled"),null;if(!KJ())return i("no_oauth","[bridge:repl] Skipping: no OAuth tokens"),w?.("failed","/login"),null;if(await uQ(),!dQ("allow_remote_control"))return i("policy_denied","[bridge:repl] Skipping: allow_remote_control policy not allowed"),w?.("failed","disabled by your organization's policy"),null;if(!lQ()){let j=mQ();if(j.bridgeOauthDeadExpiresAt!=null&&(j.bridgeOauthDeadFailCount??0)>=3&&SJ()?.expiresAt===j.bridgeOauthDeadExpiresAt)return J(`[bridge:repl] Skipping: cross-process backoff (dead token seen ${j.bridgeOauthDeadFailCount} times)`),null;await SQ();let H=SJ();if(H&&H.expiresAt!==null&&H.expiresAt<=Date.now()){i("oauth_expired_unrefreshable","[bridge:repl] Skipping: OAuth token expired and refresh failed (re-login required)"),w?.("failed","/login");let K=H.expiresAt;return CQ((f)=>({...f,bridgeOauthDeadExpiresAt:K,bridgeOauthDeadFailCount:f.bridgeOauthDeadExpiresAt===K?(f.bridgeOauthDeadFailCount??0)+1:1})),null}}let U=aQ(),M=`remote-control-${pQ()}`,x=!1,m=!1;if(l)M=l,x=!0,m=!0;else{let j=_J(),H=j?qJ(j):void 0;if(H)M=H,x=!0,m=!0;else if(S&&S.length>0)for(let K=S.length-1;K>=0;K--){let f=S[K];if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary||f.origin&&f.origin.kind!=="human"||ZZ(f))continue;let R=IQ(f.message.content);if(!R)continue;let QJ=EQ(R);if(!QJ)continue;M=QJ,x=!0;break}}let C=0,e,c=0,V=(j,H,K)=>{x=!0,M=j,J(`[bridge:repl] derived title from message ${K}: ${j}`),JZ(H,j,{baseUrl:U,getAccessToken:KJ}).catch(()=>{})},F=(j,H)=>{let K=++c,f=C;nQ(j,AbortSignal.timeout(15000)).then((R)=>{if(R&&K===c&&e===H&&!qJ(_J()))V(R,H,f)})},B=(j,H)=>{if(m||qJ(_J()))return!0;if(e!==void 0&&e!==H)C=0;if(e=H,C++,C===1&&!x){let K=EQ(j);if(K)V(K,H,C);F(j,H)}else if(C===3){let K=n?.(),f=K?sQ($Z(K)):j;F(f,H)}return C>=3},G=kQ("tengu_bridge_initial_history_cap",200,300000),b=await vQ();if(!b)return i("no_org_uuid","[bridge:repl] Skipping: no org UUID"),w?.("failed","/login"),null;if(iQ()&&!ZJ){let j=await QZ();if(j)return i("version_too_old",`[bridge:repl] Skipping: ${j}`,!0),w?.("failed","run `claude update` to upgrade"),null;J("[bridge:repl] Using env-less bridge path (tengu_bridge_repl_v2)");let{initEnvLessBridgeCore:H}=await import("./remoteBridgeCore-1.0.5-v63qwqmd.mjs");return H({baseUrl:U,orgUUID:b,title:M,getAccessToken:KJ,onAuth401:IJ,toSDKMessages:pJ,initialHistoryCap:G,initialMessages:S,onInboundMessage:L,onUserMessage:B,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:o,onSetPermissionMode:s,onStateChange:w,outboundOnly:YJ,tags:P})}let E=oQ();if(E)return i("version_too_old",`[bridge:repl] Skipping: ${E}`),w?.("failed","run `claude update` to upgrade"),null;let u=await DQ(),O=await TQ(),h=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||U,JJ="claude_code";return MQ({dir:hQ(),machineName:IZ(),branch:u,gitRepoUrl:O,title:M,baseUrl:U,sessionIngressUrl:h,workerType:JJ,getAccessToken:KJ,createSession:(j)=>rQ({...j,events:[],baseUrl:U,getAccessToken:KJ}),archiveSession:(j)=>eQ(j,{baseUrl:U,getAccessToken:KJ,timeoutMs:1500}).catch((H)=>{J(`[bridge:repl] archiveBridgeSession threw: ${D(H)}`,{level:"error"})}),getCurrentTitle:()=>qJ(_J())??M,onUserMessage:B,toSDKMessages:pJ,onAuth401:IJ,getPollIntervalConfig:zZ,initialHistoryCap:G,initialMessages:S,previouslyFlushedUUIDs:r,onInboundMessage:L,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:o,onSetPermissionMode:s,onStateChange:w,perpetual:ZJ})}var FQ=50;function EQ(p){let L=bQ(p),y=(/^(.*?[.!?])\s/.exec(L)?.[1]??L).replace(/\s+/g," ").trim();if(!y)return;return y.length>FQ?y.slice(0,FQ-1)+"…":y}export{T0 as initReplBridge};
@@ -0,0 +1 @@
1
+ import{A0 as F,B0 as G,E0 as H,F0 as I,G0 as J,H0 as K,HY as a,I0 as L,IZ as m,J0 as M,KY as b,LY as c,NZ as n,OY as d,PZ as o,RY as e,SY as f,TY as g,UY as h,VZ as p,a0 as q,c0 as r,e0 as s,i0 as t,iZ as i,jZ as j,k0 as u,l0 as v,m0 as w,n0 as x,o0 as y,p0 as z,q0 as A,s0 as B,t0 as C,tZ as k,xZ as l,y0 as D,z0 as E}from"./cli-1.0.5-7b347m92.mjs";import"./cli-1.0.5-8dg2y6tg.mjs";import"./cli-1.0.5-sj2231f1.mjs";import"./cli-1.0.5-96fnr7xq.mjs";import"./cli-1.0.5-jcd8tadh.mjs";import"./cli-1.0.5-t8qp4fth.mjs";import"./cli-1.0.5-vr3tqxgz.mjs";import"./cli-1.0.5-9m4a2113.mjs";import"./cli-1.0.5-0k6kyvrp.mjs";import"./cli-1.0.5-b9bacpp4.mjs";import"./cli-1.0.5-2hp8c4re.mjs";import"./cli-1.0.5-pnn57nb8.mjs";import"./cli-1.0.5-3mmky5x7.mjs";import"./cli-1.0.5-br28xg7b.mjs";import"./cli-1.0.5-8xf656w6.mjs";import"./cli-1.0.5-t1pv236j.mjs";import"./cli-1.0.5-a0zsx9k5.mjs";import"./cli-1.0.5-qsbpj1m9.mjs";import"./cli-1.0.5-k8de6zdd.mjs";import"./cli-1.0.5-1z04v9fp.mjs";import"./cli-1.0.5-q8fmarwj.mjs";import"./cli-1.0.5-7vf1pr3c.mjs";import"./cli-1.0.5-y9379vp6.mjs";import"./cli-1.0.5-4az3eg5n.mjs";import"./cli-1.0.5-73mr16hn.mjs";M();export{k as wrapText,g as useThemeSetting,f as useTheme,A as useTerminalViewport,I as useTerminalTitle,m as useTerminalFocus,H as useTabStatus,d as useStdin,G as useSelection,h as usePreviewTheme,F as useInterval,D as useInput,C as useApp,E as useAnimationTimer,B as useAnimationFrame,a as supportsTabStatus,K as render,J as measureElement,L as createRoot,q as color,e as ThemeProvider,s as Text,j as TerminalFocusEvent,z as Spacer,y as RawAnsi,x as NoSelect,w as Newline,t as Link,i as InputEvent,l as FocusManager,c as EventEmitter,b as Event,p as ClickEvent,v as Button,r as Box,o as BaseText,n as BaseBox,u as Ansi};