@claudiolabs/claudin 1.1.16 → 1.1.18

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 (915) hide show
  1. package/dist/chunks/AgentTool-1.1.18-8r539yq1.mjs +1 -0
  2. package/dist/chunks/App-1.1.18-9qegazdp.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +1 -0
  30. package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +110 -0
  31. package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +3 -0
  32. package/dist/chunks/api-1.1.18-kb26phxt.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +1 -0
  35. package/dist/chunks/auth-1.1.18-4de9sj97.mjs +1 -0
  36. package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +1 -0
  41. package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +1 -0
  47. package/dist/chunks/btw-1.1.18-w43t3mem.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +4 -0
  51. package/dist/chunks/caches-1.1.18-warrda1f.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +1 -0
  54. package/dist/chunks/clear-1.1.18-8abstaz1.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +1 -0
  56. package/dist/chunks/cli-1.1.18-018bk764.mjs +2 -0
  57. package/dist/chunks/cli-1.1.18-049a81dd.mjs +25 -0
  58. package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +2 -0
  59. package/dist/chunks/cli-1.1.18-0h118vrj.mjs +2 -0
  60. package/dist/chunks/cli-1.1.18-0tg14dph.mjs +2 -0
  61. package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +2 -0
  62. package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +2 -0
  63. package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +2 -0
  64. package/dist/chunks/cli-1.1.18-0z5526z3.mjs +4 -0
  65. package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +2 -0
  66. package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +2 -0
  67. package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +2 -0
  68. package/dist/chunks/cli-1.1.18-1spz0azv.mjs +3 -0
  69. package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +2 -0
  70. package/dist/chunks/cli-1.1.18-251zfmjp.mjs +5 -0
  71. package/dist/chunks/cli-1.1.18-27b82jjj.mjs +3 -0
  72. package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +7 -0
  73. package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +2 -0
  74. package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +2 -0
  75. package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +2 -0
  76. package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +3 -0
  77. package/dist/chunks/cli-1.1.18-2w9274tq.mjs +59 -0
  78. package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +3 -0
  79. package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +2 -0
  80. package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +2 -0
  81. package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +2 -0
  82. package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +4 -0
  83. package/dist/chunks/cli-1.1.18-3s03nva1.mjs +2 -0
  84. package/dist/chunks/cli-1.1.18-3w57qes2.mjs +2 -0
  85. package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +206 -0
  86. package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +2 -0
  87. package/dist/chunks/cli-1.1.18-417wb57s.mjs +2 -0
  88. package/dist/chunks/cli-1.1.18-462kn9pt.mjs +2 -0
  89. package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +2 -0
  90. package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +45 -0
  91. package/dist/chunks/cli-1.1.18-4h2r40da.mjs +2 -0
  92. package/dist/chunks/cli-1.1.18-4j0hy93x.mjs +3 -0
  93. package/dist/chunks/cli-1.1.18-4jy396p1.mjs +6 -0
  94. package/dist/chunks/cli-1.1.18-553zzrge.mjs +2 -0
  95. package/dist/chunks/cli-1.1.18-56vce0gb.mjs +2 -0
  96. package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +2 -0
  97. package/dist/chunks/cli-1.1.18-5fhws40c.mjs +2 -0
  98. package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +2 -0
  99. package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +2 -0
  100. package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +3 -0
  101. package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +2 -0
  102. package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +2 -0
  103. package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +2 -0
  104. package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +4 -0
  105. package/dist/chunks/cli-1.1.18-703emt7y.mjs +16 -0
  106. package/dist/chunks/cli-1.1.18-70jytem3.mjs +2 -0
  107. package/dist/chunks/cli-1.1.18-70ktef72.mjs +2 -0
  108. package/dist/chunks/cli-1.1.18-71zz07m4.mjs +3 -0
  109. package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +2 -0
  110. package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +2 -0
  111. package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +2 -0
  112. package/dist/chunks/cli-1.1.18-7set7d4d.mjs +3 -0
  113. package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +2 -0
  114. package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +2 -0
  115. package/dist/chunks/cli-1.1.18-86jznh5v.mjs +2 -0
  116. package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +4 -0
  117. package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +2 -0
  118. package/dist/chunks/cli-1.1.18-8vxrthte.mjs +4 -0
  119. package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +2 -0
  120. package/dist/chunks/cli-1.1.18-948h21gh.mjs +2 -0
  121. package/dist/chunks/cli-1.1.18-99wvb94x.mjs +2 -0
  122. package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +2 -0
  123. package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +2 -0
  124. package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +2 -0
  125. package/dist/chunks/cli-1.1.18-a888prq4.mjs +6 -0
  126. package/dist/chunks/cli-1.1.18-aek1gddg.mjs +2 -0
  127. package/dist/chunks/cli-1.1.18-af7txyky.mjs +133 -0
  128. package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +3 -0
  129. package/dist/chunks/cli-1.1.18-avas0dtp.mjs +2 -0
  130. package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +2 -0
  131. package/dist/chunks/cli-1.1.18-awvejq1d.mjs +2 -0
  132. package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +18 -0
  133. package/dist/chunks/cli-1.1.18-b5h22srd.mjs +2 -0
  134. package/dist/chunks/cli-1.1.18-bfzft69m.mjs +2 -0
  135. package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +2 -0
  136. package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +15 -0
  137. package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +2 -0
  138. package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +2 -0
  139. package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +2 -0
  140. package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +2 -0
  141. package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +15 -0
  142. package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +24 -0
  143. package/dist/chunks/cli-1.1.18-crpxak5f.mjs +2 -0
  144. package/dist/chunks/cli-1.1.18-cxg522yt.mjs +4 -0
  145. package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +2 -0
  146. package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +2 -0
  147. package/dist/chunks/cli-1.1.18-ddreb78e.mjs +2 -0
  148. package/dist/chunks/cli-1.1.18-dq2vate5.mjs +2 -0
  149. package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +2 -0
  150. package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +2 -0
  151. package/dist/chunks/cli-1.1.18-e107yrwx.mjs +2 -0
  152. package/dist/chunks/cli-1.1.18-e8stczm5.mjs +2 -0
  153. package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +2 -0
  154. package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +2 -0
  155. package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +4 -0
  156. package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +66 -0
  157. package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +133 -0
  158. package/dist/chunks/cli-1.1.18-f2j32mha.mjs +2 -0
  159. package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +2 -0
  160. package/dist/chunks/cli-1.1.18-f6m259he.mjs +2 -0
  161. package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +3 -0
  163. package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +8 -0
  164. package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +3 -0
  165. package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +24 -0
  166. package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +2 -0
  167. package/dist/chunks/cli-1.1.18-gnd39prj.mjs +18 -0
  168. package/dist/chunks/cli-1.1.18-gvzkraze.mjs +2 -0
  169. package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +2 -0
  170. package/dist/chunks/cli-1.1.18-hbv881pn.mjs +2 -0
  171. package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +2 -0
  172. package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +7 -0
  173. package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +2 -0
  174. package/dist/chunks/cli-1.1.18-hjp96a36.mjs +2 -0
  175. package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +17 -0
  176. package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +9 -0
  177. package/dist/chunks/cli-1.1.18-hvd9yyb4.mjs +2 -0
  178. package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +2 -0
  179. package/dist/chunks/cli-1.1.18-j372h4fv.mjs +4 -0
  180. package/dist/chunks/cli-1.1.18-j461dthr.mjs +2 -0
  181. package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +17 -0
  182. package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +2 -0
  183. package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +58 -0
  184. package/dist/chunks/cli-1.1.18-jjekxppq.mjs +25 -0
  185. package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +2 -0
  186. package/dist/chunks/cli-1.1.18-k05shz35.mjs +2 -0
  187. package/dist/chunks/cli-1.1.18-k11n6026.mjs +3 -0
  188. package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +2 -0
  189. package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +3 -0
  190. package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +2 -0
  191. package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +9 -0
  192. package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +20 -0
  193. package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +2 -0
  194. package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +2 -0
  195. package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +21 -0
  196. package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +2 -0
  197. package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +2 -0
  198. package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +6 -0
  199. package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +2 -0
  200. package/dist/chunks/cli-1.1.18-mycrby1p.mjs +2 -0
  201. package/dist/chunks/cli-1.1.18-mz10pywc.mjs +2 -0
  202. package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +2 -0
  203. package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +24 -0
  204. package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +4 -0
  205. package/dist/chunks/cli-1.1.18-npdweafk.mjs +6 -0
  206. package/dist/chunks/cli-1.1.18-ns45fmht.mjs +2 -0
  207. package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +2 -0
  208. package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +2 -0
  209. package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +42 -0
  210. package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +2 -0
  211. package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +2 -0
  212. package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +2 -0
  213. package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +2 -0
  214. package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +2 -0
  215. package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +2 -0
  216. package/dist/chunks/cli-1.1.18-qfz5keqx.mjs +2 -0
  217. package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +2 -0
  218. package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +2 -0
  219. package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +4 -0
  220. package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +2 -0
  221. package/dist/chunks/cli-1.1.18-ra67yknr.mjs +6 -0
  222. package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +2 -0
  223. package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +2 -0
  224. package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +2 -0
  225. package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +2 -0
  226. package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +2 -0
  227. package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +2 -0
  228. package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +2 -0
  229. package/dist/chunks/cli-1.1.18-sq93n51h.mjs +2 -0
  230. package/dist/chunks/cli-1.1.18-t526ry94.mjs +34 -0
  231. package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +2 -0
  232. package/dist/chunks/cli-1.1.18-tm7nmhz8.mjs +2 -0
  233. package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +2 -0
  234. package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +15 -0
  235. package/dist/chunks/cli-1.1.18-v4gc446r.mjs +2 -0
  236. package/dist/chunks/cli-1.1.18-v5btk93t.mjs +3 -0
  237. package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +2 -0
  238. package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +5 -0
  239. package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +2 -0
  240. package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +2 -0
  241. package/dist/chunks/cli-1.1.18-vymgw42z.mjs +2 -0
  242. package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +24 -0
  243. package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +2 -0
  244. package/dist/chunks/cli-1.1.18-wzpxr762.mjs +50 -0
  245. package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +2 -0
  246. package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +3 -0
  247. package/dist/chunks/cli-1.1.18-x7k6y949.mjs +39 -0
  248. package/dist/chunks/cli-1.1.18-x9wfjwnm.mjs +2 -0
  249. package/dist/chunks/cli-1.1.18-xfb4pete.mjs +5410 -0
  250. package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +2 -0
  251. package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.18-y89tqne6.mjs +2 -0
  253. package/dist/chunks/cli-1.1.18-ybazgea3.mjs +1 -0
  254. package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +2 -0
  255. package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +2 -0
  256. package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +6 -0
  257. package/dist/chunks/cli-1.1.18-ythtynpe.mjs +12 -0
  258. package/dist/chunks/cli-1.1.18-yymp5d28.mjs +12 -0
  259. package/dist/chunks/cli-1.1.18-yysexesh.mjs +2 -0
  260. package/dist/chunks/cli-1.1.18-z2dx0w6b.mjs +2 -0
  261. package/dist/chunks/cli-1.1.18-zd969gzb.mjs +2 -0
  262. package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +2 -0
  263. package/dist/chunks/cli-1.1.18-zhq044yz.mjs +26 -0
  264. package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +2 -0
  265. package/dist/chunks/client-1.1.18-zdqzxpen.mjs +1 -0
  266. package/dist/chunks/color-1.1.18-qt7znj00.mjs +1 -0
  267. package/dist/chunks/compact-1.1.18-qev191am.mjs +3 -0
  268. package/dist/chunks/config-1.1.18-9kjysdvn.mjs +1 -0
  269. package/dist/chunks/config-1.1.18-am3webex.mjs +1 -0
  270. package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +1 -0
  271. package/dist/chunks/context-1.1.18-ywdzshyf.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +1 -0
  273. package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +1 -0
  275. package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +9 -0
  276. package/dist/chunks/cost-1.1.18-350gegdk.mjs +1 -0
  277. package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +1 -0
  278. package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +1 -0
  279. package/dist/chunks/debug-1.1.18-c4v63z13.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +1534 -0
  281. package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +1 -0
  282. package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +1 -0
  283. package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +1 -0
  284. package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +1 -0
  285. package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +1 -0
  287. package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +1 -0
  288. package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +13 -0
  289. package/dist/chunks/engine-1.1.18-z5jbth81.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +1 -0
  291. package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +1 -0
  292. package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +1 -0
  293. package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +1 -0
  294. package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +1 -0
  295. package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +1 -0
  296. package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +1 -0
  297. package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +1 -0
  298. package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +1 -0
  299. package/dist/chunks/export-1.1.18-qeyf86rn.mjs +2 -0
  300. package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +1 -0
  301. package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +1 -0
  302. package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +1 -0
  303. package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +14 -0
  304. package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +1 -0
  305. package/dist/chunks/git-1.1.18-716sc7rw.mjs +1 -0
  306. package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +1 -0
  307. package/dist/chunks/goal-1.1.18-8em4jke5.mjs +4 -0
  308. package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +1 -0
  309. package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +2 -0
  310. package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +6 -0
  311. package/dist/chunks/help-1.1.18-21j0mh6r.mjs +1 -0
  312. package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +3 -0
  313. package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +1 -0
  314. package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +79 -0
  315. package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +1 -0
  318. package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +1 -0
  319. package/dist/chunks/index-1.1.18-18y0bk36.mjs +1 -0
  320. package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +9 -0
  321. package/dist/chunks/index-1.1.18-3yaj9awp.mjs +1 -0
  322. package/dist/chunks/index-1.1.18-427vyn1s.mjs +1 -0
  323. package/dist/chunks/index-1.1.18-5aebjh6r.mjs +2 -0
  324. package/dist/chunks/index-1.1.18-7qw763sw.mjs +1 -0
  325. package/dist/chunks/index-1.1.18-9p90ysn2.mjs +23 -0
  326. package/dist/chunks/index-1.1.18-a31cga5m.mjs +1 -0
  327. package/dist/chunks/index-1.1.18-awg146jw.mjs +1 -0
  328. package/dist/chunks/index-1.1.18-bsk8rb63.mjs +1 -0
  329. package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +1 -0
  330. package/dist/chunks/index-1.1.18-ejew46p1.mjs +1 -0
  331. package/dist/chunks/index-1.1.18-gdwz7smf.mjs +1 -0
  332. package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +1 -0
  333. package/dist/chunks/index-1.1.18-j843bxtx.mjs +9 -0
  334. package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +30 -0
  335. package/dist/chunks/index-1.1.18-k9471m74.mjs +1 -0
  336. package/dist/chunks/index-1.1.18-kvv48kwq.mjs +5 -0
  337. package/dist/chunks/index-1.1.18-n6ntpnas.mjs +1 -0
  338. package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +2 -0
  339. package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +1 -0
  340. package/dist/chunks/index-1.1.18-zaqj0a20.mjs +1 -0
  341. package/dist/chunks/init-1.1.18-kgjtv56b.mjs +1 -0
  342. package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +1 -0
  343. package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +1 -0
  344. package/dist/chunks/insights-1.1.18-qxdn050x.mjs +870 -0
  345. package/dist/chunks/install-1.1.18-hrtjazqa.mjs +1 -0
  346. package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +149 -0
  347. package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +1 -0
  348. package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +1 -0
  350. package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +2 -0
  351. package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +1 -0
  355. package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +1 -0
  356. package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +1 -0
  357. package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.18-24906cg4.mjs +1 -0
  359. package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +4 -0
  360. package/dist/chunks/mcp-1.1.18-ast61twg.mjs +17 -0
  361. package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +1 -0
  362. package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +72 -0
  363. package/dist/chunks/model-1.1.18-0njn3xdn.mjs +2 -0
  364. package/dist/chunks/model-1.1.18-ny459y9j.mjs +1 -0
  365. package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +12 -0
  366. package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +1 -0
  367. package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +14 -0
  368. package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +1 -0
  369. package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +1 -0
  370. package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +1 -0
  371. package/dist/chunks/parser-1.1.18-qad863f5.mjs +1 -0
  372. package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +1 -0
  373. package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +1 -0
  374. package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +3 -0
  375. package/dist/chunks/plan-1.1.18-4hc85kck.mjs +1 -0
  376. package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +1 -0
  377. package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +29 -0
  378. package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +1 -0
  379. package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +9 -0
  380. package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +2 -0
  381. package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +57 -0
  382. package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +1 -0
  383. package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +1 -0
  384. package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +9 -0
  385. package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +1 -0
  386. package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +1 -0
  387. package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +1 -0
  388. package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +13 -0
  389. package/dist/chunks/provider-1.1.18-g384d5y0.mjs +2 -0
  390. package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +1 -0
  391. package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +6 -0
  392. package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +1 -0
  393. package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +26 -0
  394. package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +1 -0
  395. package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +5 -0
  396. package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +2 -0
  397. package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +1 -0
  398. package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +1 -0
  399. package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +1 -0
  400. package/dist/chunks/rename-1.1.18-2v175525.mjs +1 -0
  401. package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +1 -0
  402. package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +1 -0
  403. package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +2 -0
  404. package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +1 -0
  405. package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +1 -0
  406. package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +10 -0
  407. package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +1 -0
  408. package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +1 -0
  409. package/dist/chunks/session-1.1.18-ndwcefxm.mjs +2 -0
  410. package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +1 -0
  411. package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +1 -0
  412. package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +1 -0
  413. package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +1 -0
  414. package/dist/chunks/setup-1.1.18-frcmhac0.mjs +12 -0
  415. package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +1 -0
  416. package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +1 -0
  417. package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +1 -0
  418. package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +1 -0
  419. package/dist/chunks/state-1.1.18-12hrspsf.mjs +1 -0
  420. package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +6 -0
  421. package/dist/chunks/status-1.1.18-4aep2t86.mjs +1 -0
  422. package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +1 -0
  423. package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +1 -0
  424. package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +1 -0
  425. package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +1 -0
  426. package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +1 -0
  427. package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +1 -0
  428. package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +1 -0
  429. package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +1 -0
  430. package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +1 -0
  431. package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +1 -0
  432. package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +1 -0
  433. package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +1 -0
  434. package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +1 -0
  435. package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +1 -0
  436. package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +69 -0
  437. package/dist/chunks/types-1.1.18-31emf7xp.mjs +1 -0
  438. package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +4 -0
  439. package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +72 -0
  440. package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +1 -0
  441. package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +7 -0
  442. package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +14 -0
  443. package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +1 -0
  444. package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +1 -0
  445. package/dist/chunks/util-1.1.18-2vgfzdph.mjs +1 -0
  446. package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +1 -0
  447. package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +1 -0
  448. package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +13 -0
  449. package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +1 -0
  450. package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +132 -0
  451. package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +1 -0
  452. package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +1 -0
  454. package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +7 -0
  455. package/dist/cli.mjs +2 -2
  456. package/dist/help-doctor.txt +3 -3
  457. package/dist/help-install.txt +2 -2
  458. package/dist/help-mcp.txt +2 -2
  459. package/dist/help-plugin.txt +2 -2
  460. package/dist/help-plugins.txt +2 -2
  461. package/dist/help.txt +3 -3
  462. package/package.json +9 -9
  463. package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
  464. package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
  465. package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
  466. package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
  467. package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
  468. package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
  469. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
  470. package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
  471. package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
  472. package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
  473. package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
  474. package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
  475. package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
  476. package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
  477. package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
  478. package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
  479. package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
  480. package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
  481. package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
  482. package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
  483. package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
  484. package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
  485. package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
  486. package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
  487. package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
  488. package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
  489. package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
  490. package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
  491. package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
  492. package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
  493. package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
  494. package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
  495. package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
  496. package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
  497. package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
  498. package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
  499. package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
  500. package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
  501. package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
  502. package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
  503. package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
  504. package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
  505. package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
  506. package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
  507. package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
  508. package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
  509. package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
  510. package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
  511. package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
  512. package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
  513. package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
  514. package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
  515. package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
  516. package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
  517. package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
  518. package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
  519. package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
  520. package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
  521. package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
  522. package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
  523. package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
  524. package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
  525. package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
  526. package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
  527. package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
  528. package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
  529. package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
  530. package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
  531. package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
  532. package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
  533. package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
  534. package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
  535. package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
  536. package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
  537. package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
  538. package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
  539. package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
  540. package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
  541. package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
  542. package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
  543. package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
  544. package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
  545. package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
  546. package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
  547. package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
  548. package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
  549. package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
  550. package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
  551. package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
  552. package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
  553. package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
  554. package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
  555. package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
  556. package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
  557. package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
  558. package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
  559. package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
  560. package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
  561. package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
  562. package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
  563. package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
  564. package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
  565. package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
  566. package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
  567. package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
  568. package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
  569. package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
  570. package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
  571. package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
  572. package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
  573. package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
  574. package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
  575. package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
  576. package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
  577. package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
  578. package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
  579. package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
  580. package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
  581. package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
  582. package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
  583. package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
  584. package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
  585. package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
  586. package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
  587. package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
  588. package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
  589. package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
  590. package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
  591. package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
  592. package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
  593. package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
  594. package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
  595. package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
  596. package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
  597. package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
  598. package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
  599. package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
  600. package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
  601. package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
  602. package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
  603. package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
  604. package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
  605. package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
  606. package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
  607. package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
  608. package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
  609. package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
  610. package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
  611. package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
  612. package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
  613. package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
  614. package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
  615. package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
  616. package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
  617. package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
  618. package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
  619. package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
  620. package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
  621. package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
  622. package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
  623. package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
  624. package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
  625. package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
  626. package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
  627. package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
  628. package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
  629. package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
  630. package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
  631. package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
  632. package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
  633. package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
  634. package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
  635. package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
  636. package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
  637. package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
  638. package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
  639. package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
  640. package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
  641. package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
  642. package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
  643. package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
  644. package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
  645. package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
  646. package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
  647. package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
  648. package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
  649. package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
  650. package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
  651. package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
  653. package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
  654. package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
  655. package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
  657. package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
  658. package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
  659. package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
  660. package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
  661. package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
  662. package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
  663. package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
  664. package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
  665. package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
  666. package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
  667. package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
  668. package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
  669. package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
  670. package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
  671. package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
  672. package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
  673. package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
  674. package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
  675. package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
  676. package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
  677. package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
  678. package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
  679. package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
  680. package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
  681. package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
  682. package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
  683. package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
  684. package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
  685. package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
  686. package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
  687. package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
  688. package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
  689. package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
  690. package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
  691. package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
  692. package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
  693. package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
  694. package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
  695. package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
  696. package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
  697. package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
  698. package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
  699. package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
  700. package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
  701. package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
  702. package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
  703. package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
  704. package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
  705. package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
  706. package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
  707. package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
  708. package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
  709. package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
  710. package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
  711. package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
  712. package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
  713. package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
  714. package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
  715. package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
  716. package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
  717. package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
  718. package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
  719. package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
  720. package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
  721. package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
  722. package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
  723. package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
  724. package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
  725. package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
  726. package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
  727. package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
  728. package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
  729. package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
  730. package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
  731. package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
  732. package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
  733. package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
  734. package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
  735. package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
  736. package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
  737. package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
  738. package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
  739. package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
  740. package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
  741. package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
  742. package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
  743. package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
  744. package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
  745. package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
  746. package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
  747. package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
  748. package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
  749. package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
  750. package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
  751. package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
  752. package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
  753. package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
  754. package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
  755. package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
  756. package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
  757. package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
  758. package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
  759. package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
  760. package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
  761. package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
  762. package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
  763. package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
  764. package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
  765. package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
  766. package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
  767. package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
  768. package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
  769. package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
  770. package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
  772. package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
  776. package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
  779. package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
  780. package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
  781. package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
  782. package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
  783. package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
  784. package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
  785. package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
  786. package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
  787. package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
  788. package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
  789. package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
  790. package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
  791. package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
  792. package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
  793. package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
  794. package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
  795. package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
  796. package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
  797. package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
  798. package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
  799. package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
  800. package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
  801. package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
  802. package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
  804. package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
  805. package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
  806. package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
  816. package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
  817. package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
  818. package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
  819. package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
  820. package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
  821. package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
  822. package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
  823. package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
  824. package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
  825. package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
  826. package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
  827. package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
  828. package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
  829. package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
  830. package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
  831. package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
  832. package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
  833. package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
  834. package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
  835. package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
  836. package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
  837. package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
  838. package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
  839. package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
  840. package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
  841. package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
  842. package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
  843. package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
  844. package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
  845. package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
  846. package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
  847. package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
  848. package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
  849. package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
  850. package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
  851. package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
  852. package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
  853. package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
  854. package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
  855. package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
  856. package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
  857. package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
  858. package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
  859. package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
  860. package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
  861. package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
  862. package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
  863. package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
  864. package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
  865. package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
  866. package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
  867. package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
  868. package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
  869. package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
  870. package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
  871. package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
  872. package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
  873. package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
  874. package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
  875. package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
  876. package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
  877. package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
  878. package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
  879. package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
  880. package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
  881. package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
  882. package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
  883. package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
  884. package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
  885. package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
  886. package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
  887. package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
  888. package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
  889. package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
  890. package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
  891. package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
  892. package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
  893. package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
  894. package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
  895. package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
  896. package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
  897. package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
  898. package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
  899. package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
  900. package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
  901. package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
  902. package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
  903. package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
  904. package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
  905. package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
  906. package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
  907. package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
  908. package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
  909. package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
  910. package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
  911. package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
  912. package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
  913. package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
  914. package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
  915. package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
@@ -1 +0,0 @@
1
- import{eW as a,fW as b,gW as c,hW as d,iW as e}from"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
@@ -1 +0,0 @@
1
- import{Ssa as cH}from"./cli-1.1.16-w5ns6t4b.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};
@@ -1 +0,0 @@
1
- import{Gsa as a}from"./cli-1.1.16-kxckvss5.mjs";import"./cli-1.1.16-the4daty.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export default a();
@@ -1,2 +0,0 @@
1
- import{$9 as Mr,B9 as F,C9 as Nr,D9 as Dr,E9 as br,F9 as Ge,G9 as Zt,H9 as Et,I9 as $r,J9 as Is,K9 as Ar,L9 as Fr,M9 as hs,N9 as G,O9 as tt,P9 as pr,Q9 as _r,S9 as Er,T9 as Sr,U9 as Rr,V9 as xr,W9 as vr,X9 as Kt,Y9 as kt,Z9 as er,_9 as Ur}from"./cli-1.1.16-d6tf8dzn.mjs";import{a_ as ps}from"./cli-1.1.16-m0b6tw88.mjs";import{b_ as we}from"./cli-1.1.16-z93174n6.mjs";import{Dsa as dr,Esa as Z,Fsa as Ce}from"./cli-1.1.16-3k3hzdbv.mjs";import{Gsa as ir}from"./cli-1.1.16-kxckvss5.mjs";import{Isa as Xe}from"./cli-1.1.16-the4daty.mjs";import{Osa as ge,Qsa as S,Ssa as no,Tsa as X}from"./cli-1.1.16-w5ns6t4b.mjs";var De=S((Zs)=>{var Ls=Z(),Ts=F(),p=Ce(),w=we(),zs=X("node:fs"),Hs=({logger:e,signingName:s}={})=>async()=>{if(e?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!s)throw new p.TokenProviderError("Please pass 'signingName' to compute environment variable key",{logger:e});let t=Ts.getBearerTokenEnvKey(s);if(!(t in process.env))throw new p.TokenProviderError(`Token not present in '${t}' environment variable`,{logger:e});let o={token:process.env[t]};return Ls.setTokenFeature(o,"BEARER_SERVICE_ENV_VARS","3"),o},Vs=300000,K="To refresh this SSO session run 'aws sso login' with the corresponding profile.",Bs=async(e,s={},t)=>{let{SSOOIDCClient:o}=await import("./index-1.1.16-3zhbr1qd.mjs").then((m)=>ge(m.default)),r=(c)=>s.clientConfig?.[c]??s.parentClientConfig?.[c]??t?.[c];return new o(Object.assign({},s.clientConfig??{},{region:e??s.clientConfig?.region,logger:r("logger"),userAgentAppId:r("userAgentAppId")}))},Ys=async(e,s,t={},o)=>{let{CreateTokenCommand:r}=await import("./index-1.1.16-3zhbr1qd.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}};
@@ -1 +0,0 @@
1
- import{mF as a,nF as b,oF as c,pF as d,qF as e,rF as f,sF as g,tF as h,uF as i,vF as j,wF as k}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";k();export{d as waitForPolicyLimitsToLoad,j as stopBackgroundPolling,i as startBackgroundPolling,g as refreshPolicyLimits,f as loadPolicyLimits,c as isPolicyLimitsEligible,e as isPolicyAllowed,b as initializePolicyLimitsLoadingPromise,h as clearPolicyLimitsCache,a as _resetPolicyLimitsForTesting};
@@ -1 +0,0 @@
1
- import{$9 as Br,B9 as G,C9 as fr,D9 as Hr,E9 as Lr,F9 as oe,G9 as er,H9 as Ut,I9 as Vr,J9 as et,K9 as zr,L9 as hr,M9 as tt,N9 as D,O9 as St,P9 as Sr,Q9 as Or,S9 as Ir,T9 as br,U9 as qr,V9 as Dr,W9 as Rr,X9 as tr,Y9 as rr,Z9 as sr,_9 as Ar}from"./cli-1.1.16-d6tf8dzn.mjs";import{a_ as Qe}from"./cli-1.1.16-m0b6tw88.mjs";import{Dsa as Er,Esa as Pr}from"./cli-1.1.16-3k3hzdbv.mjs";import{Gsa as vr}from"./cli-1.1.16-kxckvss5.mjs";import{Isa as we}from"./cli-1.1.16-the4daty.mjs";import{Qsa as a}from"./cli-1.1.16-w5ns6t4b.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();
@@ -1 +0,0 @@
1
- import{A9 as S}from"./cli-1.1.16-dh0eqfrb.mjs";import"./cli-1.1.16-d6tf8dzn.mjs";import"./cli-1.1.16-m0b6tw88.mjs";import{b_ as A}from"./cli-1.1.16-z93174n6.mjs";import{Esa as I,Fsa as h}from"./cli-1.1.16-3k3hzdbv.mjs";import"./cli-1.1.16-kxckvss5.mjs";import"./cli-1.1.16-the4daty.mjs";import{Qsa as p,Tsa as F}from"./cli-1.1.16-w5ns6t4b.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();
@@ -1 +0,0 @@
1
- import{Pi as a}from"./cli-1.1.16-y11gejtr.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export default a();
@@ -1 +0,0 @@
1
- import{b_ as G}from"./cli-1.1.16-z93174n6.mjs";import{Esa as _,Fsa as U}from"./cli-1.1.16-3k3hzdbv.mjs";import{Nsa as X}from"./cli-1.1.16-the4daty.mjs";import{Osa as K,Qsa as B,Ssa as l,Tsa as E}from"./cli-1.1.16-w5ns6t4b.mjs";var v=B((k)=>{Object.defineProperty(k,"__esModule",{value:!0});k.resolveHttpHandlerRuntimeConfig=k.getHttpHandlerExtensionConfiguration=k.isValidHostname=k.HttpResponse=k.HttpRequest=k.Fields=k.Field=void 0;var H=X();Object.defineProperty(k,"Field",{enumerable:!0,get:function(){return H.Field}});Object.defineProperty(k,"Fields",{enumerable:!0,get:function(){return H.Fields}});Object.defineProperty(k,"HttpRequest",{enumerable:!0,get:function(){return H.HttpRequest}});Object.defineProperty(k,"HttpResponse",{enumerable:!0,get:function(){return H.HttpResponse}});Object.defineProperty(k,"isValidHostname",{enumerable:!0,get:function(){return H.isValidHostname}});Object.defineProperty(k,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return H.getHttpHandlerExtensionConfiguration}});Object.defineProperty(k,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return H.resolveHttpHandlerRuntimeConfig}})});var J=B((C)=>{var Q=_(),T=U(),P=G(),W=v(),F=E("node:crypto"),q=E("node:fs"),Z=E("node:os"),A=E("node:path");class ${profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,n,t){this.profileData=e,this.init=n,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new T.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let n=e.accessToken,t=Date.now();if(new Date(n.expiresAt).getTime()-t<=$.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:n.accessKeyId,secretAccessKey:n.secretAccessKey,sessionToken:n.sessionToken,accountId:n.accountId,expiration:new Date(n.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:n,CreateOAuth2TokenCommand:t}=await import("./index-1.1.16-ppkq03k8.mjs").then((m)=>K(m.default)),{logger:s,userAgentAppId:c}=this.callerClientConfig??{},r=((h)=>{return h?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,a=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,i=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:a,requestHandler:r,logger:s,userAgentAppId:c,...this.init?.clientConfig});this.createDPoPInterceptor(i.middlewareStack);let x={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let h=await i.send(new t(x)),{accessKeyId:y,secretAccessKey:d,sessionToken:I}=h.tokenOutput?.accessToken??{},{refreshToken:S,expiresIn:m}=h.tokenOutput??{};if(!y||!d||!I||!S)throw new T.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let R=(m??900)*1000,b=new Date(Date.now()+R),j={...e,accessToken:{...e.accessToken,accessKeyId:y,secretAccessKey:d,sessionToken:I,expiresAt:b.toISOString()},refreshToken:S};await this.saveToken(j);let o=j.accessToken;return{accessKeyId:o.accessKeyId,secretAccessKey:o.secretAccessKey,sessionToken:o.sessionToken,accountId:o.accountId,expiration:b}}catch(h){if(h.name==="AccessDeniedException"){let y=h.error,d;switch(y){case"TOKEN_EXPIRED":d="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":d="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":d="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:d=`Failed to refresh token: ${String(h)}. Please re-authenticate using \`aws login\``}throw new T.CredentialsProviderError(d,{logger:this.logger,tryNextLink:!1})}throw new T.CredentialsProviderError(`Failed to refresh token: ${String(h)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let n;try{n=await P.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{n=await q.promises.readFile(e,"utf8")}let t=JSON.parse(n),s=["accessToken","clientId","refreshToken","dpopKey"].filter((c)=>!t[c]);if(!t.accessToken?.accountId)s.push("accountId");if(s.length>0)throw new T.CredentialsProviderError(`Token validation failed, missing fields: ${s.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(n){throw new T.CredentialsProviderError(`Failed to load token from ${e}: ${String(n)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let n=this.getTokenFilePath(),t=A.dirname(n);try{await q.promises.mkdir(t,{recursive:!0})}catch(s){}await q.promises.writeFile(n,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??A.join(Z.homedir(),".aws","login","cache"),n=Buffer.from(this.loginSession,"utf8"),t=F.createHash("sha256").update(n).digest("hex");return A.join(e,`${t}.json`)}derToRawSignature(e){let n=2;if(e[n]!==2)throw Error("Invalid DER signature");n++;let t=e[n++],s=e.subarray(n,n+t);if(n+=t,e[n]!==2)throw Error("Invalid DER signature");n++;let c=e[n++],u=e.subarray(n,n+c);s=s[0]===0?s.subarray(1):s,u=u[0]===0?u.subarray(1):u;let r=Buffer.concat([Buffer.alloc(32-s.length),s]),a=Buffer.concat([Buffer.alloc(32-u.length),u]);return Buffer.concat([r,a])}createDPoPInterceptor(e){e.add((n)=>async(t)=>{if(W.HttpRequest.isInstance(t.request)){let s=t.request,c=`${s.protocol}//${s.hostname}${s.port?`:${s.port}`:""}${s.path}`,u=await this.generateDpop(s.method,c);s.headers={...s.headers,DPoP:u}}return n(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",n){let t=await this.loadToken();try{let s=F.createPrivateKey({key:t.dpopKey,format:"pem",type:"sec1"}),u=F.createPublicKey(s).export({format:"der",type:"spki"}),r=-1;for(let b=0;b<u.length;b++)if(u[b]===4){r=b;break}let a=u.slice(r+1,r+33),i=u.slice(r+33,r+65),x={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:a.toString("base64url"),y:i.toString("base64url")}},h={jti:crypto.randomUUID(),htm:e,htu:n,iat:Math.floor(Date.now()/1000)},y=Buffer.from(JSON.stringify(x)).toString("base64url"),d=Buffer.from(JSON.stringify(h)).toString("base64url"),I=`${y}.${d}`,S=F.sign("sha256",Buffer.from(I),s),R=this.derToRawSignature(S).toString("base64url");return`${I}.${R}`}catch(s){throw new T.CredentialsProviderError(`Failed to generate Dpop proof: ${s instanceof Error?s.message:String(s)}`,{logger:this.logger,tryNextLink:!1})}}}var N=(e)=>async({callerClientConfig:n}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await P.parseKnownFiles(e||{}),s=P.getProfileName({profile:e?.profile??n?.profile}),c=t[s];if(!c?.login_session)throw new T.CredentialsProviderError(`Profile ${s} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let r=await new $(c,e,n).loadCredentials();return Q.setCredentialFeature(r,"CREDENTIALS_LOGIN","AD")};C.fromLoginCredentials=N});var L,O,w,p,ee=(e,n,t)=>{let s={EcsContainer:async(c)=>{let{fromHttp:u}=await import("./index-1.1.16-2xc5zjwe.mjs").then((m)=>K(m.default,1)),{fromContainerMetadata:r}=await import("./index-1.1.16-v1zrqah7.mjs");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>O.chain(u(c??{}),r(c))().then(D)},Ec2InstanceMetadata:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:u}=await import("./index-1.1.16-v1zrqah7.mjs");return async()=>u(c)().then(D)},Environment:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:u}=await import("./index-1.1.16-82gx3ah5.mjs");return async()=>u(c)().then(D)}};if(e in s)return s[e];else throw new O.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},D=(e)=>w.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),te=(e,{profile:n="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(ne(e,{profile:n,logger:t})||se(e,{profile:n,logger:t}))},ne=(e,{profile:n,logger:t})=>{let s=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(s)t?.debug?.(` ${n} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return s},se=(e,{profile:n,logger:t})=>{let s=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(s)t?.debug?.(` ${n} isCredentialSourceProfile credential_source=${e.credential_source}`);return s},re=async(e,n,t,s,c={},u)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let r=n[e],{source_profile:a,region:i}=r;if(!t.roleAssumer){let{getDefaultRoleAssumer:h}=await import("./index-1.1.16-b07w4tdb.mjs").then((m)=>K(m.default,1));t.roleAssumer=h({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...s,...t?.parentClientConfig,region:i??t?.parentClientConfig?.region??s?.region}},t.clientPlugins)}if(a&&a in c)throw new O.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${L.getProfileName(t)}. Profiles visited: `+Object.keys(c).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${a?`source_profile=[${a}]`:`profile=[${e}]`}`);let x=a?u(a,n,t,s,{...c,[a]:!0},V(n[a]??{})):(await ee(r.credential_source,e,t.logger)(t))();if(V(r))return x.then((h)=>w.setCredentialFeature(h,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let h={RoleArn:r.role_arn,RoleSessionName:r.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:r.external_id,DurationSeconds:parseInt(r.duration_seconds||"3600",10)},{mfa_serial:y}=r;if(y){if(!t.mfaCodeProvider)throw new O.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});h.SerialNumber=y,h.TokenCode=await t.mfaCodeProvider(y)}let d=await x;return t.roleAssumer(d,h).then((I)=>w.setCredentialFeature(I,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},V=(e)=>{return!e.role_arn&&!!e.credential_source},ce=(e)=>{return Boolean(e&&e.login_session)},ue=async(e,n,t)=>{let s=await p.fromLoginCredentials({...n,profile:e})({callerClientConfig:t});return w.setCredentialFeature(s,"CREDENTIALS_PROFILE_LOGIN","AC")},he=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",ae=async(e,n)=>import("./index-1.1.16-54nbfa3c.mjs").then(({fromProcess:t})=>t({...e,profile:n})().then((s)=>w.setCredentialFeature(s,"CREDENTIALS_PROFILE_PROCESS","v"))),de=async(e,n,t={},s)=>{let{fromSSO:c}=await import("./index-1.1.16-hsmqsx4f.mjs");return c({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:s}).then((u)=>{if(n.sso_session)return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO","r");else return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},ye=(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"),Y=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,g=async(e,n)=>{n?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return w.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")},ke=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,we=async(e,n,t)=>import("./index-1.1.16-qpdm2q81.mjs").then((m)=>K(m.default,1)).then(({fromTokenFile:s})=>s({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity,logger:n.logger,parentClientConfig:n.parentClientConfig})({callerClientConfig:t}).then((c)=>w.setCredentialFeature(c,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),z=async(e,n,t,s,c={},u=!1)=>{let r=n[e];if(Object.keys(c).length>0&&Y(r))return g(r,t);if(u||te(r,{profile:e,logger:t.logger}))return re(e,n,t,s,c,z);if(Y(r))return g(r,t);if(ke(r))return we(r,t,s);if(he(r))return ae(t,e);if(ye(r))return await de(e,r,t,s);if(ce(r))return ue(e,t,s);throw new O.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},Te=(e={})=>async({callerClientConfig:n}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await L.parseKnownFiles(e);return z(L.getProfileName({profile:e.profile??n?.profile}),t,e,n)},Ee;var Ie=l(()=>{L=G(),O=U(),w=_(),p=J();Ee=Te});Ie();export{Ee as fromIni};export default {get fromIni(){return Ee}};
@@ -1,2 +0,0 @@
1
- import{Ksa as u,Nsa as k}from"./cli-1.1.16-the4daty.mjs";import{Ssa as f,Tsa as y}from"./cli-1.1.16-w5ns6t4b.mjs";function j(z){return new Promise((G,U)=>{let K=g.request({method:"GET",...z,hostname:z.hostname?.replace(/^\[(.+)\]$/,"$1")});K.on("error",(Q)=>{U(Object.assign(new X.ProviderError("Unable to connect to instance metadata service"),Q)),K.destroy()}),K.on("timeout",()=>{U(new X.ProviderError("TimeoutError from instance metadata service")),K.destroy()}),K.on("response",(Q)=>{let{statusCode:Z=400}=Q;if(Z<200||300<=Z)U(Object.assign(new X.ProviderError("Error response received from instance metadata service"),{statusCode:Z})),K.destroy();let w=[];Q.on("data",($)=>{w.push($)}),Q.on("end",()=>{G(Buffer.concat(w)),K.destroy()})}),K.end()})}var m,X,g,c,C=(z)=>Boolean(z)&&typeof z==="object"&&typeof z.AccessKeyId==="string"&&typeof z.SecretAccessKey==="string"&&typeof z.Token==="string"&&typeof z.Expiration==="string",T=(z)=>({accessKeyId:z.AccessKeyId,secretAccessKey:z.SecretAccessKey,sessionToken:z.Token,expiration:new Date(z.Expiration),...z.AccountId&&{accountId:z.AccountId}}),b=1000,F=0,M=({maxRetries:z=F,timeout:G=b})=>({maxRetries:z,timeout:G}),N=(z,G)=>{let U=z();for(let K=0;K<G;K++)U=U.catch(z);return U},L="AWS_CONTAINER_CREDENTIALS_FULL_URI",_="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",P="AWS_CONTAINER_AUTHORIZATION_TOKEN",p=(z={})=>{let{timeout:G,maxRetries:U}=M(z);return()=>N(async()=>{let K=await n({logger:z.logger}),Q=JSON.parse(await d(G,K));if(!C(Q))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:z.logger});return T(Q)},U)},d=async(z,G)=>{if(process.env[P])G.headers={...G.headers,Authorization:process.env[P]};return(await j({...G,timeout:z})).toString()},l="169.254.170.2",a,s,n=async({logger:z})=>{if(process.env[_])return{hostname:l,path:process.env[_]};if(process.env[L]){let G=m.parse(process.env[L]);if(!G.hostname||!(G.hostname in a))throw new X.CredentialsProviderError(`${G.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:z});if(!G.protocol||!(G.protocol in s))throw new X.CredentialsProviderError(`${G.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:z});return{...G,port:G.port?parseInt(G.port,10):void 0}}throw new X.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${_} or ${L} environment variable is set`,{tryNextLink:!1,logger:z})},V,S=void 0,o="AWS_EC2_METADATA_SERVICE_ENDPOINT",t="ec2_metadata_service_endpoint",i,A,r="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",e="ec2_metadata_service_endpoint_mode",zz,v=async()=>c.parseUrl(await Gz()||await Kz()),Gz=async()=>X.loadConfig(i)(),Kz=async()=>{let z=await X.loadConfig(zz)();switch(z){case A.IPv4:return S.IPv4;case A.IPv6:return S.IPv6;default:throw Error(`Unsupported endpoint mode: ${z}. Select from ${Object.values(A)}`)}},Qz=300,Uz=300,Xz="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",h=(z,G)=>{let U=Qz+Math.floor(Math.random()*Uz),K=new Date(Date.now()+U*1000);G.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(K)}.
2
- For more information, please visit: `+Xz);let Q=z.originalExpiration??z.expiration;return{...z,...Q?{originalExpiration:Q}:{},expiration:K}},Zz=(z,G={})=>{let U=G?.logger||console,K;return async()=>{let Q;try{if(Q=await z(),Q.expiration&&Q.expiration.getTime()<Date.now())Q=h(Q,U)}catch(Z){if(K)U.warn("Credential renew failed: ",Z),Q=h(K,U);else throw Z}return K=Q,Q}},x="/latest/meta-data/iam/security-credentials/",$z="/latest/api/token",B="AWS_EC2_METADATA_V1_DISABLED",q="ec2_metadata_v1_disabled",I="x-aws-ec2-metadata-token",Hz=(z={})=>Zz(Jz(z),{logger:z.logger}),Jz=(z={})=>{let G=!1,{logger:U,profile:K}=z,{timeout:Q,maxRetries:Z}=M(z),w=async($,D)=>{if(G||D.headers?.[I]==null){let H=!1,J=!1,R=await X.loadConfig({environmentVariableSelector:(Y)=>{let W=Y[B];if(J=!!W&&W!=="false",W===void 0)throw new X.CredentialsProviderError(`${B} not set in env, checking config file next.`,{logger:z.logger});return J},configFileSelector:(Y)=>{let W=Y[q];return H=!!W&&W!=="false",H},default:!1},{profile:K})();if(z.ec2MetadataV1Disabled||R){let Y=[];if(z.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(H)Y.push(`config file profile (${q})`);if(J)Y.push(`process environment variable (${B})`);throw new V(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}let E=(await N(async()=>{let H;try{H=await wz(D)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)).trim();return N(async()=>{let H;try{H=await Dz(E,D,z)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)};return async()=>{let $=await v();if(G)return U?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),w(Z,{...$,timeout:Q});else{let D;try{D=(await Yz({...$,timeout:Q})).toString()}catch(O){if(O?.statusCode===400)throw Object.assign(O,{message:"EC2 Metadata token request returned error"});else if(O.message==="TimeoutError"||[403,404,405].includes(O.statusCode))G=!0;return U?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),w(Z,{...$,timeout:Q})}return w(Z,{...$,headers:{[I]:D},timeout:Q})}}},Yz=async(z)=>j({...z,path:$z,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),wz=async(z)=>(await j({...z,path:x})).toString(),Dz=async(z,G,U)=>{let K=JSON.parse((await j({...G,path:x+z})).toString());if(!C(K))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:U.logger});return T(K)},Wz,Az,Oz,Sz,jz,Lz,_z,Bz,Nz,Pz;var Mz=f(()=>{m=y("node:url"),X=u(),g=y("node:http"),c=k();a={localhost:!0,"127.0.0.1":!0},s={"http:":!0,"https:":!0};V=class V extends X.CredentialsProviderError{tryNextLink;name="InstanceMetadataV1FallbackError";constructor(z,G=!0){super(z,G);this.tryNextLink=G,Object.setPrototypeOf(this,V.prototype)}};(function(z){z.IPv4="http://169.254.169.254",z.IPv6="http://[fd00:ec2::254]"})(S||(S={}));i={environmentVariableSelector:(z)=>z[o],configFileSelector:(z)=>z[t],default:void 0};(function(z){z.IPv4="IPv4",z.IPv6="IPv6"})(A||(A={}));zz={environmentVariableSelector:(z)=>z[r],configFileSelector:(z)=>z[e],default:A.IPv4};Wz=F,Az=b,Oz=P,Sz=L,jz=_,Lz=p,_z=Hz,Bz=v,Nz=j,Pz=M});Mz();export{Pz as providerConfigFromInit,Nz as httpRequest,Bz as getInstanceMetadataEndpoint,_z as fromInstanceMetadata,Lz as fromContainerMetadata,S as Endpoint,jz as ENV_CMDS_RELATIVE_URI,Sz as ENV_CMDS_FULL_URI,Oz as ENV_CMDS_AUTH_TOKEN,Az as DEFAULT_TIMEOUT,Wz as DEFAULT_MAX_RETRIES};export default {get providerConfigFromInit(){return Pz},get httpRequest(){return Nz},get getInstanceMetadataEndpoint(){return Bz},get fromInstanceMetadata(){return _z},get fromContainerMetadata(){return Lz},get Endpoint(){return S},get ENV_CMDS_RELATIVE_URI(){return jz},get ENV_CMDS_FULL_URI(){return Sz},get ENV_CMDS_AUTH_TOKEN(){return Oz},get DEFAULT_TIMEOUT(){return Az},get DEFAULT_MAX_RETRIES(){return Wz}};
@@ -1 +0,0 @@
1
- import{a_ as a}from"./cli-1.1.16-m0b6tw88.mjs";import"./cli-1.1.16-the4daty.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export default a();
@@ -1 +0,0 @@
1
- import{$ as b,_ as a}from"./cli-1.1.16-892pqd2m.mjs";import"./cli-1.1.16-vf5x3nc4.mjs";import"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export{b as initializeTelemetryAfterTrust,a as init};
@@ -1 +0,0 @@
1
- import{mb as AQ}from"./cli-1.1.16-hd541yqt.mjs";import{nb as xQ,ob as AJ,pb as GQ,qb as WQ,rb as NQ,sb as UQ}from"./cli-1.1.16-8efk3qjx.mjs";import{tb as vJ,ub as $Z}from"./cli-1.1.16-5hfex73v.mjs";import{vb as RQ,wb as PQ,xb as fQ}from"./cli-1.1.16-1p0006m7.mjs";import"./cli-1.1.16-tv97myza.mjs";import{Cb as LQ,Db as yQ,Eb as bJ,Fb as BQ}from"./cli-1.1.16-wxyxm2zp.mjs";import"./cli-1.1.16-mbr5p7h4.mjs";import{Jb as TJ,Kb as OQ,Lb as _Q,Mb as qQ,Nb as CJ,Ob as mJ}from"./cli-1.1.16-g0z56bnb.mjs";import"./cli-1.1.16-y4qp7bb2.mjs";import{gc as JZ,ic as mZ}from"./cli-1.1.16-amvj9fsw.mjs";import{je as sQ,ke as oQ,le as DZ}from"./cli-1.1.16-xe8wmqtk.mjs";import{Se as pJ,Ve as CZ}from"./cli-1.1.16-07smcaht.mjs";import"./cli-1.1.16-69ma6qdv.mjs";import{gf as nQ,if as rQ,jf as eQ,kf as TZ}from"./cli-1.1.16-r3n44d17.mjs";import{nf as XQ,of as HQ,qf as i,rf as VQ}from"./cli-1.1.16-zzc307e7.mjs";import{ui as dQ,wi as zJ,xi as lQ,yi as hZ}from"./cli-1.1.16-2xgcx2pv.mjs";import{DT as vZ,FR as QZ,MR as ZZ,_R as bZ,gT as qJ,nm as IQ,ok as SQ,om as FZ,pF as cQ,qF as uQ,wF as EZ}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import{wW as DJ,xW as OZ}from"./cli-1.1.16-yymrc4dd.mjs";import{HW as KQ,LW as _Z}from"./cli-1.1.16-4kbzs997.mjs";import{NW as aQ,PW as gQ,QW as iQ,RW as tQ,UW as kZ}from"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import{JX as YQ,LX as qZ}from"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import{B2 as zQ,x2 as pQ,y2 as $Q,z2 as jQ}from"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import{E7 as OJ,F7 as NZ,K8 as MZ,k8 as SJ,m8 as IJ,o8 as vQ,q5 as bQ,t5 as wZ}from"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{D_ as GJ,F_ as WZ,G$ as PZ,Hea as TQ,Kea as CQ,dfa as UZ,o$ as kQ,q$ as DQ,xga as mQ,zga as fZ}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import{Kha as hQ,Vha as RZ}from"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import{Fja as q,Ija as VZ}from"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as J,Lja as eJ,Lka as ZQ,Nja as xZ}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import{gla as D,nla as QQ}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as GZ,tla as JQ}from"./cli-1.1.16-b80x5mp6.mjs";import{era as AZ,fna as _J,lna as EQ}from"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Tsa as rJ}from"./cli-1.1.16-w5ns6t4b.mjs";AZ();RZ();wZ();EZ();MZ();UZ();ZQ();fZ();QQ();PZ();CZ();bZ();vZ();DZ();FZ();hZ();kZ();TZ();VQ();mZ();import{hostname as SZ}from"os";import{randomUUID as sJ}from"crypto";ZQ();WZ();VZ();xZ();zQ();qZ();_Z();OZ();GZ();VQ();QQ();NZ();var LZ=2000,oJ=60000,nJ=900000,yZ=0;async function wQ(p){let{dir:L,machineName:T,branch:y,gitRepoUrl:t,title:s,baseUrl:o,sessionIngressUrl:w,workerType:S,getAccessToken:n,createSession:r,archiveSession:l,getCurrentTitle:ZJ=()=>s,toSDKMessages:KJ=()=>{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:H,onSetMaxThinkingTokens:F,onSetPermissionMode:B,onStateChange:G,onUserMessage:b,perpetual:E,initialSSESequenceNum:u=0}=p,O=++yZ,{writeBridgePointer:h,clearBridgePointer:JJ,readBridgePointer:X}=await import("./bridgePointer-1.1.16-krkxjxkj.mjs"),V=E?await X(L):null,z=V?.source==="repl"?V:null;J(`[bridge:repl] initBridgeCore #${O} starting (initialMessages=${x?.length??0}${z?` perpetual prior=env:${z.environmentId}`:""})`);let R=GQ({baseUrl:o,getAccessToken:n,runnerVersion:"99.0.0",onDebug:J,onAuth401:P,getTrustedDeviceToken:KQ}),QJ={dir:L,machineName:T,branch:y,gitRepoUrl:t,maxSessions:1,spawnMode:"single-session",verbose:!1,sandbox:!1,bridgeId:sJ(),workerType:S,environmentId:sJ(),reuseEnvironmentId:z?.environmentId,apiBaseUrl:o,sessionIngressUrl:w},Y,LJ;try{let Q=await R.registerBridgeEnvironment(QJ);Y=Q.environment_id,LJ=Q.environment_secret}catch(Q){if(i("registration_failed",`[bridge:repl] Environment registration failed: ${D(Q)}`),z)await JJ(L);return G?.("failed",D(Q)),null}J(`[bridge:repl] Environment registered: ${Y}`),GJ("info","bridge_repl_env_registered"),q("",{});async function cJ(Q,$){if(Y!==Q)return J(`[bridge:repl] Env mismatch (requested ${Q}, got ${Y}) — cannot reconnect in place`),!1;let W=jQ($),K=W===$?[$]:[$,W];for(let A of K)try{return await R.reconnectSession(Y,A),J(`[bridge:repl] Reconnected session ${A} in place on env ${Y}`),!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=z?await cJ(z.environmentId,z.sessionId):!1;if(z&&!RJ)await JJ(L);let j;if(RJ&&z){if(j=z.sessionId,J(`[bridge:repl] Perpetual session reused: ${j}`),x&&m)for(let Q of x)m.add(Q.uuid)}else{let Q=await r({environmentId:Y,title:s,gitRepoUrl:t,branch:y,signal:AbortSignal.timeout(15000)});if(!Q)return J("[bridge:repl] Session creation failed, deregistering environment"),q("",{}),await R.deregisterEnvironment(Y).catch(()=>{}),G?.("failed","Session creation failed"),null;j=Q,J(`[bridge:repl] Session created: ${j}`)}await h(L,{sessionId:j,environmentId:Y,source:"repl"}),GJ("info","bridge_repl_session_created"),q("",{has_initial_messages:!!(x&&x.length>0)});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,YJ=0,v=RJ?u:0,k=null,XJ=null,dJ=UQ(a.signal),WJ=dJ.wake,jZ=dJ.signal,g=new fQ,UJ=!b,fJ=3,jJ=0,HJ=null;async function lJ(){if(HJ)return HJ;HJ=zZ();try{return await HJ}finally{HJ=null}}async function zZ(){if(jJ++,YJ++,J(`[bridge:repl] Reconnecting after env lost (attempt ${jJ}/${fJ})`),jJ>fJ)return J(`[bridge:repl] Environment reconnect limit reached (${fJ}), giving up`),!1;if(Z){let K=Z.getLastSequenceNum();if(K>v)v=K;Z.close(),Z=null}if(WJ(),g.drop(),k){let K=k;if(await R.stopWork(Y,K,!1).catch(()=>{}),k!==K)return J("[bridge:repl] Poll loop recovered during stopWork await — deferring to it"),jJ=0,!0;k=null,XJ=null}if(a.signal.aborted)return J("[bridge:repl] Reconnect aborted by teardown"),!1;let Q=Y;QJ.reuseEnvironmentId=Q;try{let K=await R.registerBridgeEnvironment(QJ);Y=K.environment_id,LJ=K.environment_secret}catch(K){return QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Environment re-registration failed: ${D(K)}`),!1}if(QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Re-registered: requested=${Q} got=${Y}`),a.signal.aborted)return J("[bridge:repl] Reconnect aborted after env registration, cleaning up"),await R.deregisterEnvironment(Y).catch(()=>{}),!1;if(Z!==null)return J("[bridge:repl] Poll loop recovered during registerBridgeEnvironment await — deferring to it"),jJ=0,!0;if(await cJ(Q,j))return q("",{}),jJ=0,!0;if(Y!==Q)q("",{});if(await l(j),a.signal.aborted)return J("[bridge:repl] Reconnect aborted after archive, cleaning up"),await R.deregisterEnvironment(Y).catch(()=>{}),!1;let $=ZJ(),W=await r({environmentId:Y,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 j=W,YQ($Q(W)).catch(()=>{}),v=0,uJ.clear(),UJ=!b,J(`[bridge:repl] Re-created session: ${j}`),await h(L,{sessionId:j,environmentId:Y,source:"repl"}),m?.clear(),jJ=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 K of Q)$J.add(K.uuid);let W=KJ(Q).map((K)=>({...K,session_id:j}));J(`[bridge:repl] Drained ${Q.length} pending message(s) after flush`),Z.writeBatch(W)}let yJ=null;function MJ(){yJ?.()}function KZ(Q){if(J(`[bridge:repl] Transport permanently closed: code=${Q}`),q("",{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("",{close_code:Q}),G?.("failed","reconnection failed"),MJ()})}let YZ={api:R,getCredentials:()=>({environmentId:Y,environmentSecret:LJ}),signal:a.signal,getPollIntervalConfig:U,onStateChange:G,getWsState:()=>Z?.getStateLabel()??"null",isAtCapacity:()=>Z!==null,capacitySignal:jZ,onFatalError:MJ,getHeartbeatInfo:()=>{if(!k||!XJ)return null;return{environmentId:Y,workId:k,sessionToken:XJ}},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(Y,k,!1).catch(($)=>{J(`[bridge:repl] stopWork after heartbeat fatal: ${D($)}`)});k=null,XJ=null,WJ(),G?.("reconnecting","Work item lease expired, fetching fresh token")},async onEnvironmentLost(){if(!await lJ())return null;return{environmentId:Y,environmentSecret:LJ}},onWorkReceived:(Q,$,W,K)=>{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=${j} match=${bJ(Q,j)}`),h(L,{sessionId:j,environmentId:Y,source:"repl"}),!bJ(Q,j)){J(`[bridge:repl] Rejecting foreign session: expected=${j} got=${Q}`);return}k=W,XJ=$;let A=K||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("",{}),Z){let N=Z;Z=null;let _=N.getLastSequenceNum();if(_>v)v=_;N.close()}g.deactivate();let HZ=(N)=>qQ(N,{transport:Z,sessionId:j,onInterrupt:c,onSetModel:H,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("",{}),!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)),VJ=_>0&&I.length>_?I.slice(-_):I;if(VJ.length<I.length)J(`[bridge:repl] Capped initial flush: ${I.length} -> ${VJ.length} (cap=${_})`),q("",{eligible_count:I.length,capped_count:VJ.length});let NJ=KJ(VJ);if(NJ.length>0){J(`[bridge:repl] Flushing ${NJ.length} initial message(s) via transport`);let BJ=NJ.map((xJ)=>({...xJ,session_id:j})),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((_)=>{_Q(_,$J,uJ,C,e,HZ)}),N.setOnClose((_)=>{if(Z!==N)return;KZ(_)}),!kJ&&x&&x.length>0)g.start();N.connect()};if(YJ++,A){let N=BQ(o,Q),_=YJ;J(`[bridge:repl] CCR v2: sessionUrl=${N} session=${Q} gen=${_}`),PQ({sessionUrl:N,ingressToken:$,sessionId:Q,initialSequenceNum:v}).then((I)=>{if(a.signal.aborted){I.close();return}if(_!==YJ){J(`[bridge:repl] CCR v2: discarding stale handshake gen=${_} current=${YJ}`),I.close();return}iJ(I)},(I)=>{if(J(`[bridge:repl] CCR v2: createV2ReplTransport failed: ${D(I)}`,{level:"error"}),q("",{}),_!==YJ)return;if(k)R.stopWork(Y,k,!1).catch((VJ)=>{J(`[bridge:repl] stopWork after v2 init failure: ${D(VJ)}`)}),k=null,XJ=null;WJ()})}else{let N=yQ(w,Q);J(`[bridge:repl] Ingress URL: ${N}`),J(`[bridge:repl] Creating HybridTransport: session=${Q}`);let _=d??"";iJ(RQ(new AQ(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()}})))}}};BZ(YZ);let FJ=E?setInterval(()=>{if(HJ)return;h(L,{sessionId:j,environmentId:Y,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=${Y} session=${j}`);return}hJ=!0;let Q=Date.now();if(J(`[bridge:repl] Teardown starting: env=${Y} session=${j} 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 K=Z.getLastSequenceNum();if(K>v)v=K}if(E){Z=null,g.drop(),await h(L,{sessionId:j,environmentId:Y,source:"repl"}),J(`[bridge:repl] Teardown (perpetual): leaving env=${Y} session=${j} alive on server, duration=${Date.now()-Q}ms`);return}let $=Z;if(Z=null,g.drop(),$)$.write(CJ(j));let W=k?R.stopWork(Y,k,!0).then(()=>{J("[bridge:repl] Teardown: stopWork completed")}).catch((K)=>{J(`[bridge:repl] Teardown stopWork failed: ${D(K)}`)}):Promise.resolve();await Promise.all([W,l(j)]),$?.close(),J("[bridge:repl] Teardown: transport closed"),await R.deregisterEnvironment(Y).catch((K)=>{J(`[bridge:repl] Teardown deregister failed: ${D(K)}`)}),await JJ(L),J(`[bridge:repl] Teardown complete: env=${Y} duration=${Date.now()-Q}ms`)};let XZ=eJ(()=>yJ?.());return J(`[bridge:repl] Ready: env=${Y} session=${j}`),G?.("ready"),{get bridgeSessionId(){return j},get environmentId(){return Y},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=OQ(A);if(d!==void 0&&b?.(d,j)){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=${j}`,{level:"warn"});return}for(let A of $)$J.add(A.uuid);J(`[bridge:repl] Sending ${$.length} message(s) via transport`);let K=KJ($).map((A)=>({...A,session_id:j}));Z.writeBatch(K)},writeSdkMessages(Q){let $=Q.filter((K)=>!K.uuid||!$J.has(K.uuid));if($.length===0)return;if(!Z){J(`[bridge:repl] Transport not configured, dropping ${$.length} SDK message(s) for session=${j}`,{level:"warn"});return}for(let K of $)if(K.uuid)$J.add(K.uuid);let W=$.map((K)=>({...K,session_id:j}));Z.writeBatch(W)},sendControlRequest(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_request");return}let $={...Q,session_id:j};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:j};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:j};Z.write($),J(`[bridge:repl] Sent control_cancel_request request_id=${Q}`)},sendResult(){if(!Z){J(`[bridge:repl] sendResult: skipping, transport not configured session=${j}`);return}Z.write(CJ(j)),J(`[bridge:repl] Sent result for session=${j}`)},async teardown(){XZ(),await yJ?.(),J("[bridge:repl] Torn down"),q("",{})}}}async function BZ({api:p,getCredentials:L,signal:T,onStateChange:y,onWorkReceived:t,onEnvironmentLost:s,getWsState:o,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 H=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(!H){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("",{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 X=l();if(!X)break;let V=S();try{await p.heartbeatWork(X.environmentId,X.workId,X.sessionToken)}catch(z){if(J(`[bridge:repl:heartbeat] Failed: ${D(z)}`),z instanceof AJ){if(V.cleanup(),q("",{status:z.status,error_type:z.status===401||z.status===403?"auth_failed":"fatal"}),ZJ)ZJ(z),J(`[bridge:repl:heartbeat] Fatal (status=${z.status}), work state cleared — fast-polling for re-dispatch`);else u=!0;break}}O++,await OJ(JJ.non_exclusive_heartbeat_interval_ms,V.signal),V.cleanup()}let h=u?"error":T.aborted?"shutdown":!w()?"capacity_changed":E!==null&&Date.now()>=E?"poll_due":"config_disabled";if(q("",{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("",{overrun_ms:O}),m=!0}}else await OJ(c.poll_interval_ms_not_at_capacity,T);continue}let F;try{F=LQ(H.secret)}catch(B){J(`[bridge:repl] Failed to decode work secret: ${D(B)}`),q("",{}),await p.stopWork(C,H.id,!1).catch(()=>{});continue}J(`[bridge:repl] Acknowledging workId=${H.id}`);try{await p.acknowledgeWork(C,H.id,F.session_ingress_token)}catch(B){J(`[bridge:repl] Acknowledge failed workId=${H.id}: ${D(B)}`)}if(H.data.type==="healthcheck"){J("[bridge:repl] Healthcheck received");continue}if(H.data.type==="session"){let B=H.data.id;try{xQ(B,"session_id")}catch{J(`[bridge:repl] Invalid session_id in work: ${B}`);continue}t(B,F.session_ingress_token,H.id,F.use_code_sessions===!0),J("[bridge:repl] Work accepted, continuing poll loop")}}catch(H){if(T.aborted)break;if(H instanceof AJ&&H.status===404&&s){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("",{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 s();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(H instanceof AJ){let O=WQ(H.errorType),h=NQ(H);if(J(`[bridge:repl] Fatal poll error: ${H.message} (status=${H.status}, type=${H.errorType??"unknown"})${h?" (suppressed)":""}`),q("",{status:H.status,error_type:H.errorType}),GJ(O?"info":"error","bridge_repl_fatal_error",{status:H.status,error_type:H.errorType}),!h)y?.("failed",O?"session expired · /remote-control to reconnect":H.message);n?.();break}let F=Date.now();if(M!==null&&F-M>oJ*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(H),b=XQ(H),E=o?.()??"unknown";if(J(`[bridge:repl] Poll error (attempt ${P}, elapsed ${Math.round(B/1000)}s, ws=${E}): ${b}`),q("",{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("",{consecutiveErrors:P,elapsedMs:B,lastStatus:G}),y?.("failed","connection to server lost");break}let u=Math.min(LZ*2**(P-1),oJ);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}`)}zQ();async function D0(p){let{onInboundMessage:L,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:w,initialMessages:S,getMessages:n,previouslyFlushedUUIDs:r,initialName:l,perpetual:ZJ,outboundOnly:KJ,tags:P}=p??{};if(pQ(iQ),!await aQ())return i("not_enabled","[bridge:repl] Skipping: bridge not enabled"),null;if(!zJ())return i("no_oauth","[bridge:repl] Skipping: no OAuth tokens"),w?.("failed","/login"),null;if(await cQ(),!uQ("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(!dQ()){let X=CQ();if(X.bridgeOauthDeadExpiresAt!=null&&(X.bridgeOauthDeadFailCount??0)>=3&&SJ()?.expiresAt===X.bridgeOauthDeadExpiresAt)return J(`[bridge:repl] Skipping: cross-process backoff (dead token seen ${X.bridgeOauthDeadFailCount} times)`),null;await vQ();let V=SJ();if(V&&V.expiresAt!==null&&V.expiresAt<=Date.now()){i("oauth_expired_unrefreshable","[bridge:repl] Skipping: OAuth token expired and refresh failed (re-login required)"),w?.("failed","/login");let z=V.expiresAt;return TQ((f)=>({...f,bridgeOauthDeadExpiresAt:z,bridgeOauthDeadFailCount:f.bridgeOauthDeadExpiresAt===z?(f.bridgeOauthDeadFailCount??0)+1:1})),null}}let U=lQ(),M=`remote-control-${IQ()}`,x=!1,m=!1;if(l)M=l,x=!0,m=!0;else{let X=_J(),V=X?qJ(X):void 0;if(V)M=V,x=!0,m=!0;else if(S&&S.length>0)for(let z=S.length-1;z>=0;z--){let f=S[z];if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary||f.origin&&f.origin.kind!=="human"||QZ(f))continue;let R=SQ(f.message.content);if(!R)continue;let QJ=FQ(R);if(!QJ)continue;M=QJ,x=!0;break}}let C=0,e,c=0,H=(X,V,z)=>{x=!0,M=X,J(`[bridge:repl] derived title from message ${z}: ${X}`),eQ(V,X,{baseUrl:U,getAccessToken:zJ}).catch(()=>{})},F=(X,V)=>{let z=++c,f=C;oQ(X,AbortSignal.timeout(15000)).then((R)=>{if(R&&z===c&&e===V&&!qJ(_J()))H(R,V,f)})},B=(X,V)=>{if(m||qJ(_J()))return!0;if(e!==void 0&&e!==V)C=0;if(e=V,C++,C===1&&!x){let z=FQ(X);if(z)H(z,V,C);F(X,V)}else if(C===3){let z=n?.(),f=z?sQ(ZZ(z)):X;F(f,V)}return C>=3},G=hQ("tengu_bridge_initial_history_cap",200,300000),b=await bQ();if(!b)return i("no_org_uuid","[bridge:repl] Skipping: no org UUID"),w?.("failed","/login"),null;if(gQ()&&!ZJ){let X=await JZ();if(X)return i("version_too_old",`[bridge:repl] Skipping: ${X}`,!0),w?.("failed","run `claude update` to upgrade"),null;J("[bridge:repl] Using env-less bridge path (tengu_bridge_repl_v2)");let{initEnvLessBridgeCore:V}=await import("./remoteBridgeCore-1.1.16-jv7q72cp.mjs");return V({baseUrl:U,orgUUID:b,title:M,getAccessToken:zJ,onAuth401:IJ,toSDKMessages:pJ,initialHistoryCap:G,initialMessages:S,onInboundMessage:L,onUserMessage:B,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:w,outboundOnly:KJ,tags:P})}let E=tQ();if(E)return i("version_too_old",`[bridge:repl] Skipping: ${E}`),w?.("failed","run `claude update` to upgrade"),null;let u=await kQ(),O=await DQ(),h=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||U,JJ="claude_code";return wQ({dir:EQ(),machineName:SZ(),branch:u,gitRepoUrl:O,title:M,baseUrl:U,sessionIngressUrl:h,workerType:JJ,getAccessToken:zJ,createSession:(X)=>nQ({...X,events:[],baseUrl:U,getAccessToken:zJ}),archiveSession:(X)=>rQ(X,{baseUrl:U,getAccessToken:zJ,timeoutMs:1500}).catch((V)=>{J(`[bridge:repl] archiveBridgeSession threw: ${D(V)}`,{level:"error"})}),getCurrentTitle:()=>qJ(_J())??M,onUserMessage:B,toSDKMessages:pJ,onAuth401:IJ,getPollIntervalConfig:$Z,initialHistoryCap:G,initialMessages:S,previouslyFlushedUUIDs:r,onInboundMessage:L,onPermissionResponse:T,onInterrupt:y,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:w,perpetual:ZJ})}var MQ=50;function FQ(p){let L=mQ(p),y=(/^(.*?[.!?])\s/.exec(L)?.[1]??L).replace(/\s+/g," ").trim();if(!y)return;return y.length>MQ?y.slice(0,MQ-1)+"…":y}export{D0 as initReplBridge};
@@ -1 +0,0 @@
1
- import{$Z as i,A0 as m,A1 as L,B1 as M,CZ as d,F0 as n,FZ as e,GZ as f,H0 as o,HZ as g,IZ as h,N0 as p,U0 as q,W0 as r,Y0 as s,a0 as j,a1 as t,c1 as u,d1 as v,e1 as w,f1 as x,g1 as y,h1 as z,i1 as A,k0 as k,k1 as B,l1 as C,o0 as l,q1 as D,r1 as E,s1 as F,t1 as G,vZ as a,w1 as H,x1 as I,y1 as J,yZ as b,z1 as K,zZ as c}from"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.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};