@claudiolabs/claudin 1.1.31 → 1.1.33

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 (856) hide show
  1. package/dist/chunks/App-1.1.33-y76d67dw.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +1 -0
  27. package/dist/chunks/agents-1.1.33-mbve4trn.mjs +3 -0
  28. package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +110 -0
  29. package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +1 -0
  31. package/dist/chunks/auth-1.1.33-k778a810.mjs +1 -0
  32. package/dist/chunks/auth-1.1.33-xappxyn1.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +1 -0
  37. package/dist/chunks/branch-1.1.33-gthrar82.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +1 -0
  43. package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +4 -0
  47. package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +1 -0
  48. package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +1 -0
  50. package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +1 -0
  51. package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +1 -0
  52. package/dist/chunks/cli-1.1.33-05291q1a.mjs +2 -0
  53. package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +15 -0
  54. package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +133 -0
  55. package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +24 -0
  56. package/dist/chunks/cli-1.1.33-0sckqj39.mjs +2 -0
  57. package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +2 -0
  58. package/dist/chunks/cli-1.1.33-1mfasbf1.mjs +2 -0
  59. package/dist/chunks/cli-1.1.33-20v60hvd.mjs +203 -0
  60. package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +2 -0
  61. package/dist/chunks/cli-1.1.33-22addsh7.mjs +4 -0
  62. package/dist/chunks/cli-1.1.33-231zj4yg.mjs +2 -0
  63. package/dist/chunks/cli-1.1.33-241y9eee.mjs +5 -0
  64. package/dist/chunks/cli-1.1.33-283f43sy.mjs +2 -0
  65. package/dist/chunks/cli-1.1.33-2chamq3v.mjs +2 -0
  66. package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +2 -0
  67. package/dist/chunks/cli-1.1.33-303jm377.mjs +2 -0
  68. package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +10 -0
  69. package/dist/chunks/cli-1.1.33-39q98nwa.mjs +2 -0
  70. package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +2 -0
  71. package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +2 -0
  73. package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +2 -0
  74. package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +5 -0
  75. package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +24 -0
  76. package/dist/chunks/cli-1.1.33-4t7b2799.mjs +2 -0
  77. package/dist/chunks/cli-1.1.33-525zf497.mjs +16 -0
  78. package/dist/chunks/cli-1.1.33-56fen5jd.mjs +4 -0
  79. package/dist/chunks/cli-1.1.33-5c19q87v.mjs +2 -0
  80. package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +2 -0
  81. package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +2 -0
  82. package/dist/chunks/cli-1.1.33-5pa215hx.mjs +2 -0
  83. package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +17 -0
  84. package/dist/chunks/cli-1.1.33-726gr74y.mjs +2 -0
  85. package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +2 -0
  86. package/dist/chunks/cli-1.1.33-7qjhgket.mjs +2 -0
  87. package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +2 -0
  88. package/dist/chunks/cli-1.1.33-7rd596wq.mjs +2 -0
  89. package/dist/chunks/cli-1.1.33-7shybbdj.mjs +2 -0
  90. package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +50 -0
  91. package/dist/chunks/cli-1.1.33-87p06j57.mjs +2 -0
  92. package/dist/chunks/cli-1.1.33-8dxvf995.mjs +2 -0
  93. package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +18 -0
  94. package/dist/chunks/cli-1.1.33-8p3h818h.mjs +2 -0
  95. package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +2 -0
  96. package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +2 -0
  97. package/dist/chunks/cli-1.1.33-90w26xxw.mjs +4 -0
  98. package/dist/chunks/cli-1.1.33-94s66kd2.mjs +2 -0
  99. package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +2 -0
  100. package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +2 -0
  101. package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +2 -0
  102. package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +60 -0
  103. package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +3 -0
  104. package/dist/chunks/cli-1.1.33-a6dvne78.mjs +2 -0
  105. package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +2 -0
  106. package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +2 -0
  107. package/dist/chunks/cli-1.1.33-afsw641c.mjs +2 -0
  108. package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +3 -0
  109. package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +11 -0
  110. package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +2 -0
  111. package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +2 -0
  112. package/dist/chunks/cli-1.1.33-bh8452tq.mjs +2 -0
  113. package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +2 -0
  114. package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +2 -0
  115. package/dist/chunks/cli-1.1.33-c14msjsc.mjs +2 -0
  116. package/dist/chunks/cli-1.1.33-c37dxjja.mjs +2 -0
  117. package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +2 -0
  118. package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +2 -0
  119. package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +15 -0
  120. package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +2 -0
  121. package/dist/chunks/cli-1.1.33-cj2t55an.mjs +2 -0
  122. package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +4 -0
  123. package/dist/chunks/cli-1.1.33-czpahv90.mjs +25 -0
  124. package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +2 -0
  125. package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +4 -0
  126. package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +2 -0
  127. package/dist/chunks/cli-1.1.33-das1k5jq.mjs +3 -0
  128. package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +5 -0
  129. package/dist/chunks/cli-1.1.33-df8tggjt.mjs +2 -0
  130. package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +2 -0
  131. package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +3 -0
  132. package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +2 -0
  133. package/dist/chunks/cli-1.1.33-dp41gds0.mjs +2 -0
  134. package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +2 -0
  135. package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +2 -0
  136. package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +3 -0
  137. package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +2 -0
  138. package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +10 -0
  139. package/dist/chunks/cli-1.1.33-effqmrgb.mjs +2 -0
  140. package/dist/chunks/cli-1.1.33-evp1q65w.mjs +2 -0
  141. package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +2 -0
  142. package/dist/chunks/cli-1.1.33-f0vf76a6.mjs +26 -0
  143. package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +2 -0
  144. package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +63 -0
  145. package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +2 -0
  146. package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +2 -0
  147. package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +6 -0
  148. package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +2 -0
  149. package/dist/chunks/cli-1.1.33-ggk9m978.mjs +7 -0
  150. package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +34 -0
  151. package/dist/chunks/cli-1.1.33-gnejtk17.mjs +7 -0
  152. package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +17 -0
  153. package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +2 -0
  154. package/dist/chunks/cli-1.1.33-h27b2an0.mjs +2 -0
  155. package/dist/chunks/cli-1.1.33-h75frpfe.mjs +2 -0
  156. package/dist/chunks/cli-1.1.33-heys42qe.mjs +9 -0
  157. package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +2 -0
  158. package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +45 -0
  159. package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +2 -0
  160. package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +6 -0
  161. package/dist/chunks/cli-1.1.33-j75f13gr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +2 -0
  163. package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +2 -0
  164. package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +2 -0
  165. package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +2 -0
  166. package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +2 -0
  167. package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +2 -0
  168. package/dist/chunks/cli-1.1.33-k466m68a.mjs +2 -0
  169. package/dist/chunks/cli-1.1.33-k51bffb8.mjs +2 -0
  170. package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +2 -0
  171. package/dist/chunks/cli-1.1.33-kg221c89.mjs +2 -0
  172. package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +133 -0
  173. package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +4 -0
  174. package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +2 -0
  175. package/dist/chunks/cli-1.1.33-kx980gfw.mjs +2 -0
  176. package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +2 -0
  177. package/dist/chunks/cli-1.1.33-m06xge1a.mjs +2 -0
  178. package/dist/chunks/cli-1.1.33-m08stm17.mjs +2 -0
  179. package/dist/chunks/cli-1.1.33-m402nk5n.mjs +2 -0
  180. package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +2 -0
  181. package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +2 -0
  182. package/dist/chunks/cli-1.1.33-mhph00kg.mjs +24 -0
  183. package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +2 -0
  184. package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +2 -0
  185. package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +4 -0
  186. package/dist/chunks/cli-1.1.33-n55k105y.mjs +2 -0
  187. package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +2 -0
  188. package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +15 -0
  189. package/dist/chunks/cli-1.1.33-ndste4rf.mjs +39 -0
  190. package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +9 -0
  191. package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +6 -0
  192. package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +7 -0
  193. package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +8 -0
  194. package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +42 -0
  195. package/dist/chunks/cli-1.1.33-q8hq263y.mjs +2 -0
  196. package/dist/chunks/cli-1.1.33-qr675sx2.mjs +2 -0
  197. package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +2 -0
  198. package/dist/chunks/cli-1.1.33-ra054vbq.mjs +2 -0
  199. package/dist/chunks/cli-1.1.33-raynjbkq.mjs +2 -0
  200. package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +2 -0
  201. package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +2 -0
  202. package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +2 -0
  203. package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +2 -0
  204. package/dist/chunks/cli-1.1.33-rtme70ck.mjs +2 -0
  205. package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +2 -0
  206. package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +2 -0
  207. package/dist/chunks/cli-1.1.33-s5kw6064.mjs +3 -0
  208. package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +2 -0
  209. package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +2 -0
  210. package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +3 -0
  211. package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +2 -0
  212. package/dist/chunks/cli-1.1.33-t10xrxez.mjs +2 -0
  213. package/dist/chunks/cli-1.1.33-t26pazs8.mjs +2 -0
  214. package/dist/chunks/cli-1.1.33-t591k29k.mjs +21 -0
  215. package/dist/chunks/cli-1.1.33-t63yat1z.mjs +2 -0
  216. package/dist/chunks/cli-1.1.33-t78313g4.mjs +3 -0
  217. package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +12 -0
  218. package/dist/chunks/cli-1.1.33-tp6bhara.mjs +4 -0
  219. package/dist/chunks/cli-1.1.33-ts50d9at.mjs +2 -0
  220. package/dist/chunks/cli-1.1.33-ttc7emph.mjs +25 -0
  221. package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +2 -0
  222. package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +6 -0
  223. package/dist/chunks/cli-1.1.33-v615gn7w.mjs +3 -0
  224. package/dist/chunks/cli-1.1.33-vgynvhys.mjs +5491 -0
  225. package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +2 -0
  226. package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +6 -0
  227. package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +2 -0
  228. package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +2 -0
  229. package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +2 -0
  230. package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +2 -0
  231. package/dist/chunks/cli-1.1.33-xfawy00r.mjs +2 -0
  232. package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +2 -0
  233. package/dist/chunks/cli-1.1.33-xyh0vcv7.mjs +2 -0
  234. package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +2 -0
  235. package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +20 -0
  236. package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +2 -0
  237. package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +2 -0
  238. package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +2 -0
  239. package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +2 -0
  240. package/dist/chunks/cli-1.1.33-yygdy86h.mjs +2 -0
  241. package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +3 -0
  242. package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +2 -0
  243. package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +2 -0
  244. package/dist/chunks/cli-1.1.33-zsk851wd.mjs +2 -0
  245. package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +1 -0
  246. package/dist/chunks/color-1.1.33-q69y353w.mjs +1 -0
  247. package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +2 -0
  248. package/dist/chunks/config-1.1.33-h6tzt18x.mjs +1 -0
  249. package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +1 -0
  250. package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +1 -0
  251. package/dist/chunks/context-1.1.33-pm79kmgf.mjs +1 -0
  252. package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +1 -0
  253. package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +1 -0
  254. package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +1 -0
  255. package/dist/chunks/copy-1.1.33-yynkyja4.mjs +9 -0
  256. package/dist/chunks/cost-1.1.33-sjebbq22.mjs +1 -0
  257. package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +1 -0
  258. package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +1 -0
  259. package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +1480 -0
  260. package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +2 -0
  261. package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +1 -0
  262. package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +1 -0
  263. package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +1 -0
  264. package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +1 -0
  265. package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +1 -0
  266. package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +1 -0
  267. package/dist/chunks/effort-1.1.33-nf63b81y.mjs +13 -0
  268. package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +1 -0
  269. package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +1 -0
  270. package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +1 -0
  271. package/dist/chunks/errors-1.1.33-xdf8frps.mjs +1 -0
  272. package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +1 -0
  273. package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +1 -0
  274. package/dist/chunks/exit-1.1.33-s8c549bt.mjs +1 -0
  275. package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +1 -0
  276. package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +2 -0
  277. package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +1 -0
  278. package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +16 -0
  279. package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +1 -0
  280. package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +1 -0
  281. package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +4 -0
  282. package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +2 -0
  283. package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +6 -0
  284. package/dist/chunks/help-1.1.33-65k2zqsp.mjs +1 -0
  285. package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +1 -0
  286. package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +79 -0
  287. package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +3 -0
  288. package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +1 -0
  289. package/dist/chunks/import-1.1.33-9vq41kwx.mjs +261 -0
  290. package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +1 -0
  291. package/dist/chunks/index-1.1.33-0szd959f.mjs +9 -0
  292. package/dist/chunks/index-1.1.33-1cyg72cg.mjs +5 -0
  293. package/dist/chunks/index-1.1.33-20n0wyay.mjs +2 -0
  294. package/dist/chunks/index-1.1.33-37m0wr5f.mjs +1 -0
  295. package/dist/chunks/index-1.1.33-4e6weswv.mjs +2 -0
  296. package/dist/chunks/index-1.1.33-5at6jw86.mjs +9 -0
  297. package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +1 -0
  298. package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +1 -0
  299. package/dist/chunks/index-1.1.33-809kmg0e.mjs +1 -0
  300. package/dist/chunks/index-1.1.33-av56945n.mjs +1 -0
  301. package/dist/chunks/index-1.1.33-ayj1khn3.mjs +1 -0
  302. package/dist/chunks/index-1.1.33-d4h14a2g.mjs +1 -0
  303. package/dist/chunks/index-1.1.33-j01a41jn.mjs +1 -0
  304. package/dist/chunks/index-1.1.33-j3pffnmd.mjs +30 -0
  305. package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +23 -0
  306. package/dist/chunks/index-1.1.33-pdret8nd.mjs +1 -0
  307. package/dist/chunks/index-1.1.33-px65xz19.mjs +1 -0
  308. package/dist/chunks/index-1.1.33-q02fr1yn.mjs +1 -0
  309. package/dist/chunks/index-1.1.33-qckmwfjb.mjs +1 -0
  310. package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +1 -0
  311. package/dist/chunks/index-1.1.33-thfe8yxq.mjs +1 -0
  312. package/dist/chunks/index-1.1.33-vpdejaqk.mjs +1 -0
  313. package/dist/chunks/index-1.1.33-x6vn8g63.mjs +1 -0
  314. package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +2 -0
  315. package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +1 -0
  316. package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +1 -0
  317. package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +870 -0
  318. package/dist/chunks/install-1.1.33-yddevjtj.mjs +1 -0
  319. package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +149 -0
  320. package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +1 -0
  321. package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +1 -0
  322. package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +1 -0
  326. package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +1 -0
  327. package/dist/chunks/main-1.1.33-qvas86jh.mjs +1 -0
  328. package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +1 -0
  329. package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +1 -0
  330. package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +4 -0
  331. package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +17 -0
  332. package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +1 -0
  333. package/dist/chunks/memory-1.1.33-9qffk96q.mjs +128 -0
  334. package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +1 -0
  335. package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +2 -0
  336. package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +1 -0
  337. package/dist/chunks/node-1.1.33-qg258pyx.mjs +15 -0
  338. package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +1 -0
  339. package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +14 -0
  340. package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +1 -0
  341. package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +1 -0
  342. package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +1 -0
  343. package/dist/chunks/permissions-1.1.33-qk86j364.mjs +3 -0
  344. package/dist/chunks/plan-1.1.33-brttkasm.mjs +1 -0
  345. package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +1 -0
  346. package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +29 -0
  347. package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +1 -0
  348. package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +9 -0
  349. package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +2 -0
  350. package/dist/chunks/print-1.1.33-0an9v6wm.mjs +57 -0
  351. package/dist/chunks/process-1.1.33-34nr1vvf.mjs +1 -0
  352. package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +1 -0
  353. package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +9 -0
  354. package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +1 -0
  355. package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +1 -0
  356. package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +1 -0
  357. package/dist/chunks/provider-1.1.33-s17k8dew.mjs +2 -0
  358. package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +1 -0
  359. package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +6 -0
  360. package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +26 -0
  361. package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +1 -0
  362. package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +5 -0
  363. package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +2 -0
  364. package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +1 -0
  365. package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +1 -0
  366. package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +1 -0
  367. package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +1 -0
  368. package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +2 -0
  369. package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +1 -0
  370. package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +1 -0
  371. package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +10 -0
  372. package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +1 -0
  373. package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +1 -0
  374. package/dist/chunks/session-1.1.33-aepc1jdx.mjs +2 -0
  375. package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +1 -0
  376. package/dist/chunks/settings-1.1.33-16470dd7.mjs +1 -0
  377. package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +12 -0
  378. package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +1 -0
  379. package/dist/chunks/skills-1.1.33-srydghps.mjs +1 -0
  380. package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +1 -0
  381. package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +1 -0
  382. package/dist/chunks/state-1.1.33-yr57kw5b.mjs +1 -0
  383. package/dist/chunks/stats-1.1.33-py9web9f.mjs +1 -0
  384. package/dist/chunks/status-1.1.33-rstx4c0p.mjs +1 -0
  385. package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +1 -0
  386. package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +1 -0
  387. package/dist/chunks/tasks-1.1.33-170ayzks.mjs +1 -0
  388. package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +1 -0
  389. package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +1 -0
  390. package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +1 -0
  391. package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +1 -0
  392. package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +1 -0
  393. package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +1 -0
  394. package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +1 -0
  395. package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +1 -0
  396. package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +1 -0
  397. package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +1 -0
  398. package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +1 -0
  399. package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +69 -0
  400. package/dist/chunks/types-1.1.33-bc49bs3y.mjs +1 -0
  401. package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +4 -0
  402. package/dist/chunks/update-1.1.33-hz986n0w.mjs +72 -0
  403. package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +7 -0
  404. package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +14 -0
  405. package/dist/chunks/usage-1.1.33-jspq6593.mjs +1 -0
  406. package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +1 -0
  407. package/dist/chunks/utils-1.1.33-613tmzqb.mjs +1 -0
  408. package/dist/chunks/vim-1.1.33-gamhf412.mjs +1 -0
  409. package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +13 -0
  410. package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +132 -0
  411. package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +1 -0
  412. package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +1 -0
  413. package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +1 -0
  414. package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +7 -0
  415. package/dist/cli.mjs +2 -2
  416. package/package.json +9 -9
  417. package/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +0 -1
  418. package/dist/chunks/App-1.1.31-bp57fthj.mjs +0 -1
  419. package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +0 -1
  420. package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +0 -1
  421. package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +0 -1
  422. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +0 -1
  423. package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +0 -1
  424. package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +0 -6
  425. package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +0 -1
  426. package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +0 -6
  427. package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +0 -1
  428. package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +0 -1
  429. package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +0 -1
  430. package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +0 -1
  431. package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +0 -1
  432. package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +0 -1
  433. package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +0 -1
  434. package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +0 -1
  435. package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +0 -1
  436. package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +0 -1
  437. package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +0 -1
  438. package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +0 -1
  439. package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +0 -9
  440. package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +0 -1
  441. package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +0 -1
  442. package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +0 -1
  443. package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +0 -1
  444. package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +0 -1
  445. package/dist/chunks/agents-1.1.31-1jetdejb.mjs +0 -110
  446. package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +0 -3
  447. package/dist/chunks/api-1.1.31-hp3y91t9.mjs +0 -1
  448. package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +0 -1
  449. package/dist/chunks/auth-1.1.31-76rswxwe.mjs +0 -1
  450. package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +0 -1
  451. package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +0 -52
  452. package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +0 -44
  453. package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +0 -1
  454. package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +0 -1
  455. package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +0 -4
  456. package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +0 -2
  457. package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +0 -1
  458. package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +0 -1
  459. package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +0 -88
  460. package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +0 -1
  461. package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +0 -1
  462. package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +0 -3
  463. package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +0 -21
  464. package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +0 -4
  465. package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +0 -1
  466. package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +0 -3
  467. package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +0 -1
  468. package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +0 -1
  469. package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +0 -1
  470. package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +0 -1
  471. package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +0 -3
  472. package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +0 -25
  473. package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +0 -2
  474. package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +0 -2
  475. package/dist/chunks/cli-1.1.31-1192t9cm.mjs +0 -2
  476. package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +0 -60
  477. package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +0 -2
  478. package/dist/chunks/cli-1.1.31-1q4btmra.mjs +0 -2
  479. package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +0 -2
  480. package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +0 -2
  481. package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +0 -2
  482. package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +0 -2
  483. package/dist/chunks/cli-1.1.31-2j93x895.mjs +0 -24
  484. package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +0 -2
  485. package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +0 -3
  486. package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +0 -2
  487. package/dist/chunks/cli-1.1.31-312b3zf6.mjs +0 -2
  488. package/dist/chunks/cli-1.1.31-32mahfs2.mjs +0 -2
  489. package/dist/chunks/cli-1.1.31-3dy87m85.mjs +0 -2
  490. package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +0 -2
  491. package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +0 -2
  492. package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +0 -2
  493. package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +0 -133
  494. package/dist/chunks/cli-1.1.31-44jshpbd.mjs +0 -2
  495. package/dist/chunks/cli-1.1.31-4awnya8e.mjs +0 -2
  496. package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +0 -2
  497. package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +0 -4
  498. package/dist/chunks/cli-1.1.31-4tneme0y.mjs +0 -2
  499. package/dist/chunks/cli-1.1.31-528vtf9a.mjs +0 -2
  500. package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +0 -15
  501. package/dist/chunks/cli-1.1.31-556xnzb4.mjs +0 -2
  502. package/dist/chunks/cli-1.1.31-562nqgh7.mjs +0 -2
  503. package/dist/chunks/cli-1.1.31-58anwssk.mjs +0 -2
  504. package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +0 -3
  505. package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +0 -2
  506. package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +0 -2
  507. package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +0 -2
  508. package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +0 -2
  509. package/dist/chunks/cli-1.1.31-612bpjx6.mjs +0 -2
  510. package/dist/chunks/cli-1.1.31-619zan4w.mjs +0 -2
  511. package/dist/chunks/cli-1.1.31-6m1k9909.mjs +0 -2
  512. package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +0 -2
  513. package/dist/chunks/cli-1.1.31-6qm466ss.mjs +0 -2
  514. package/dist/chunks/cli-1.1.31-706cv7fx.mjs +0 -2
  515. package/dist/chunks/cli-1.1.31-7692zxpg.mjs +0 -2
  516. package/dist/chunks/cli-1.1.31-774jqp88.mjs +0 -2
  517. package/dist/chunks/cli-1.1.31-777381m0.mjs +0 -34
  518. package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +0 -26
  519. package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +0 -3
  520. package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +0 -2
  521. package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +0 -2
  522. package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +0 -2
  523. package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +0 -22
  524. package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +0 -2
  525. package/dist/chunks/cli-1.1.31-9493f46x.mjs +0 -9
  526. package/dist/chunks/cli-1.1.31-978dpg39.mjs +0 -2
  527. package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +0 -24
  528. package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +0 -2
  529. package/dist/chunks/cli-1.1.31-9d5v98td.mjs +0 -2
  530. package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +0 -3
  531. package/dist/chunks/cli-1.1.31-9efpx64n.mjs +0 -20
  532. package/dist/chunks/cli-1.1.31-9gf60j86.mjs +0 -2
  533. package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +0 -2
  534. package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +0 -2
  535. package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +0 -2
  536. package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +0 -2
  537. package/dist/chunks/cli-1.1.31-a4vvez04.mjs +0 -2
  538. package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +0 -2
  539. package/dist/chunks/cli-1.1.31-a611zwj5.mjs +0 -10
  540. package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +0 -16
  541. package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +0 -2
  542. package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +0 -12
  543. package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +0 -2
  544. package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +0 -2
  545. package/dist/chunks/cli-1.1.31-b7258j1y.mjs +0 -2
  546. package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +0 -2
  547. package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +0 -4
  548. package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +0 -2
  549. package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +0 -3
  550. package/dist/chunks/cli-1.1.31-c17g88x0.mjs +0 -9
  551. package/dist/chunks/cli-1.1.31-c9707zjx.mjs +0 -63
  552. package/dist/chunks/cli-1.1.31-can8wyac.mjs +0 -2
  553. package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +0 -2
  554. package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +0 -6
  555. package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +0 -2
  556. package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +0 -2
  557. package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +0 -5
  558. package/dist/chunks/cli-1.1.31-dcyx3536.mjs +0 -39
  559. package/dist/chunks/cli-1.1.31-dhecyw04.mjs +0 -3
  560. package/dist/chunks/cli-1.1.31-dmghye74.mjs +0 -4
  561. package/dist/chunks/cli-1.1.31-ek449yjc.mjs +0 -6
  562. package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +0 -2
  563. package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +0 -2
  564. package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +0 -2
  565. package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +0 -2
  566. package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +0 -2
  567. package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +0 -4
  568. package/dist/chunks/cli-1.1.31-fbdr0297.mjs +0 -2
  569. package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +0 -2
  570. package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +0 -2
  571. package/dist/chunks/cli-1.1.31-fjdb444f.mjs +0 -7
  572. package/dist/chunks/cli-1.1.31-fk787pkf.mjs +0 -15
  573. package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +0 -3
  574. package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +0 -2
  575. package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +0 -2
  576. package/dist/chunks/cli-1.1.31-g41zancj.mjs +0 -3
  577. package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +0 -5473
  578. package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +0 -2
  579. package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +0 -2
  580. package/dist/chunks/cli-1.1.31-gq54djk0.mjs +0 -2
  581. package/dist/chunks/cli-1.1.31-h102y1at.mjs +0 -8
  582. package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +0 -4
  583. package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +0 -2
  584. package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +0 -2
  585. package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +0 -50
  586. package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +0 -2
  587. package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +0 -3
  588. package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +0 -58
  589. package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +0 -2
  590. package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +0 -2
  591. package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +0 -42
  592. package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +0 -2
  593. package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +0 -2
  594. package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +0 -2
  595. package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +0 -2
  596. package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +0 -133
  597. package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +0 -2
  598. package/dist/chunks/cli-1.1.31-kzh4darh.mjs +0 -2
  599. package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +0 -2
  600. package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +0 -2
  601. package/dist/chunks/cli-1.1.31-mcekc48f.mjs +0 -2
  602. package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +0 -4
  603. package/dist/chunks/cli-1.1.31-n130x03f.mjs +0 -2
  604. package/dist/chunks/cli-1.1.31-n305h9qd.mjs +0 -25
  605. package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +0 -2
  606. package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +0 -2
  607. package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +0 -2
  608. package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +0 -2
  609. package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +0 -2
  610. package/dist/chunks/cli-1.1.31-nyvjx813.mjs +0 -24
  611. package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +0 -5
  612. package/dist/chunks/cli-1.1.31-p99fz46k.mjs +0 -206
  613. package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +0 -12
  614. package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +0 -17
  615. package/dist/chunks/cli-1.1.31-pgde5349.mjs +0 -2
  616. package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +0 -2
  617. package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +0 -2
  618. package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +0 -3
  619. package/dist/chunks/cli-1.1.31-q67trvk0.mjs +0 -2
  620. package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +0 -21
  621. package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +0 -2
  622. package/dist/chunks/cli-1.1.31-qq0sng13.mjs +0 -2
  623. package/dist/chunks/cli-1.1.31-qsftejzk.mjs +0 -2
  624. package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +0 -2
  625. package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +0 -2
  626. package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +0 -2
  627. package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +0 -3
  628. package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +0 -2
  629. package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +0 -6
  630. package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +0 -4
  631. package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +0 -2
  632. package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +0 -2
  633. package/dist/chunks/cli-1.1.31-s246tb6v.mjs +0 -15
  634. package/dist/chunks/cli-1.1.31-satbt91m.mjs +0 -18
  635. package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +0 -6
  636. package/dist/chunks/cli-1.1.31-sn0x975f.mjs +0 -24
  637. package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +0 -2
  638. package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +0 -2
  639. package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +0 -6
  640. package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +0 -2
  641. package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +0 -2
  642. package/dist/chunks/cli-1.1.31-tctd36c8.mjs +0 -2
  643. package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +0 -2
  644. package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +0 -2
  645. package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +0 -2
  646. package/dist/chunks/cli-1.1.31-var05xaf.mjs +0 -2
  647. package/dist/chunks/cli-1.1.31-vbch5rht.mjs +0 -2
  648. package/dist/chunks/cli-1.1.31-vf004w21.mjs +0 -2
  649. package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +0 -7
  650. package/dist/chunks/cli-1.1.31-vphyv007.mjs +0 -2
  651. package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +0 -4
  652. package/dist/chunks/cli-1.1.31-vr977n4j.mjs +0 -2
  653. package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +0 -2
  654. package/dist/chunks/cli-1.1.31-w225x38q.mjs +0 -2
  655. package/dist/chunks/cli-1.1.31-war7w6d7.mjs +0 -2
  656. package/dist/chunks/cli-1.1.31-wba64b2s.mjs +0 -2
  657. package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +0 -2
  658. package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +0 -2
  659. package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +0 -2
  660. package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +0 -2
  661. package/dist/chunks/cli-1.1.31-x96s38b0.mjs +0 -2
  662. package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +0 -6
  663. package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +0 -2
  664. package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +0 -45
  665. package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +0 -2
  666. package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +0 -1
  667. package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +0 -2
  668. package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +0 -17
  669. package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +0 -2
  670. package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +0 -2
  671. package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +0 -2
  672. package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +0 -2
  673. package/dist/chunks/client-1.1.31-3bn971t2.mjs +0 -1
  674. package/dist/chunks/color-1.1.31-n3q45hw4.mjs +0 -1
  675. package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +0 -3
  676. package/dist/chunks/config-1.1.31-1t6yz96k.mjs +0 -1
  677. package/dist/chunks/config-1.1.31-enwx50r9.mjs +0 -1
  678. package/dist/chunks/constants-1.1.31-5peb81d1.mjs +0 -1
  679. package/dist/chunks/context-1.1.31-9crzemp8.mjs +0 -1
  680. package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +0 -1
  681. package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +0 -1
  682. package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +0 -1
  683. package/dist/chunks/copy-1.1.31-y97hza01.mjs +0 -9
  684. package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +0 -1
  685. package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +0 -1
  686. package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +0 -1
  687. package/dist/chunks/debug-1.1.31-5awffxcd.mjs +0 -1
  688. package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +0 -1480
  689. package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +0 -2
  690. package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +0 -1
  691. package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +0 -1
  692. package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +0 -1
  693. package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +0 -1
  694. package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +0 -1
  695. package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +0 -1
  696. package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +0 -13
  697. package/dist/chunks/engine-1.1.31-rv1fs549.mjs +0 -1
  698. package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +0 -1
  699. package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +0 -1
  700. package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +0 -1
  701. package/dist/chunks/environments-1.1.31-yvgyx900.mjs +0 -1
  702. package/dist/chunks/errors-1.1.31-n434b94a.mjs +0 -1
  703. package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +0 -1
  704. package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +0 -1
  705. package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +0 -1
  706. package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +0 -1
  707. package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +0 -2
  708. package/dist/chunks/fast-1.1.31-58c4aeze.mjs +0 -1
  709. package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +0 -16
  710. package/dist/chunks/git-1.1.31-9ytjvad9.mjs +0 -1
  711. package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +0 -1
  712. package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +0 -4
  713. package/dist/chunks/headless-1.1.31-btcvy308.mjs +0 -2
  714. package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +0 -6
  715. package/dist/chunks/help-1.1.31-sewrb4nb.mjs +0 -1
  716. package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +0 -3
  717. package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +0 -1
  718. package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +0 -79
  719. package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +0 -3
  720. package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +0 -1
  721. package/dist/chunks/import-1.1.31-n4khxgen.mjs +0 -261
  722. package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +0 -1
  723. package/dist/chunks/index-1.1.31-1d2w0stv.mjs +0 -1
  724. package/dist/chunks/index-1.1.31-7xyvb71n.mjs +0 -1
  725. package/dist/chunks/index-1.1.31-b35axgfq.mjs +0 -1
  726. package/dist/chunks/index-1.1.31-bb3ds6px.mjs +0 -5
  727. package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +0 -1
  728. package/dist/chunks/index-1.1.31-djqjbcj1.mjs +0 -1
  729. package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +0 -1
  730. package/dist/chunks/index-1.1.31-fzj8sx04.mjs +0 -1
  731. package/dist/chunks/index-1.1.31-h4jmtajm.mjs +0 -9
  732. package/dist/chunks/index-1.1.31-hxatxhrm.mjs +0 -1
  733. package/dist/chunks/index-1.1.31-jjp83m1j.mjs +0 -1
  734. package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +0 -1
  735. package/dist/chunks/index-1.1.31-jy33bsc3.mjs +0 -2
  736. package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +0 -1
  737. package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +0 -23
  738. package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +0 -1
  739. package/dist/chunks/index-1.1.31-p8xpgawg.mjs +0 -1
  740. package/dist/chunks/index-1.1.31-phw15bz8.mjs +0 -1
  741. package/dist/chunks/index-1.1.31-pr2zcv22.mjs +0 -30
  742. package/dist/chunks/index-1.1.31-q75y58jp.mjs +0 -2
  743. package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +0 -1
  744. package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +0 -1
  745. package/dist/chunks/index-1.1.31-wgdk68t3.mjs +0 -9
  746. package/dist/chunks/init-1.1.31-4ayzds5h.mjs +0 -2
  747. package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +0 -1
  748. package/dist/chunks/ink-1.1.31-rx0229yp.mjs +0 -1
  749. package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +0 -870
  750. package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +0 -1
  751. package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +0 -149
  752. package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +0 -1
  753. package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +0 -1
  754. package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +0 -2
  755. package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +0 -2
  756. package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +0 -1
  757. package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +0 -1
  758. package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +0 -1
  759. package/dist/chunks/log-1.1.31-75wjvmg7.mjs +0 -1
  760. package/dist/chunks/main-1.1.31-htavj2vh.mjs +0 -1
  761. package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +0 -1
  762. package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +0 -1
  763. package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +0 -17
  764. package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +0 -4
  765. package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +0 -1
  766. package/dist/chunks/memory-1.1.31-6ebsap62.mjs +0 -77
  767. package/dist/chunks/model-1.1.31-dfs178qb.mjs +0 -1
  768. package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +0 -2
  769. package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +0 -15
  770. package/dist/chunks/node-1.1.31-bknsrjhq.mjs +0 -1
  771. package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +0 -1
  772. package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +0 -14
  773. package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +0 -1
  774. package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +0 -1
  775. package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +0 -1
  776. package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +0 -1
  777. package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +0 -1
  778. package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +0 -3
  779. package/dist/chunks/plan-1.1.31-sgds3thc.mjs +0 -1
  780. package/dist/chunks/plist-1.1.31-50ff60z2.mjs +0 -1
  781. package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +0 -29
  782. package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +0 -1
  783. package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +0 -9
  784. package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +0 -2
  785. package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +0 -57
  786. package/dist/chunks/process-1.1.31-7c3jtep7.mjs +0 -1
  787. package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +0 -1
  788. package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +0 -9
  789. package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +0 -1
  790. package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +0 -1
  791. package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +0 -1
  792. package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +0 -13
  793. package/dist/chunks/provider-1.1.31-sba30ytt.mjs +0 -2
  794. package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +0 -1
  795. package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +0 -6
  796. package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +0 -26
  797. package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +0 -1
  798. package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +0 -5
  799. package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +0 -2
  800. package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +0 -1
  801. package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +0 -1
  802. package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +0 -1
  803. package/dist/chunks/rename-1.1.31-4q58stc8.mjs +0 -1
  804. package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +0 -1
  805. package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +0 -1
  806. package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +0 -2
  807. package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +0 -1
  808. package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +0 -1
  809. package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +0 -10
  810. package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +0 -1
  811. package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +0 -1
  812. package/dist/chunks/session-1.1.31-xb800b9s.mjs +0 -2
  813. package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +0 -1
  814. package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +0 -1
  815. package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +0 -1
  816. package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +0 -12
  817. package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +0 -1
  818. package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +0 -1
  819. package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +0 -1
  820. package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +0 -1
  821. package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +0 -1
  822. package/dist/chunks/stats-1.1.31-71xjrkax.mjs +0 -1
  823. package/dist/chunks/status-1.1.31-n65g11nc.mjs +0 -1
  824. package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +0 -1
  825. package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +0 -1
  826. package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +0 -1
  827. package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +0 -1
  828. package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +0 -1
  829. package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +0 -1
  830. package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +0 -1
  831. package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +0 -1
  832. package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +0 -1
  833. package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +0 -1
  834. package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +0 -1
  835. package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +0 -1
  836. package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +0 -1
  837. package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +0 -1
  838. package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +0 -69
  839. package/dist/chunks/types-1.1.31-ery244ea.mjs +0 -1
  840. package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +0 -4
  841. package/dist/chunks/update-1.1.31-j79f7es2.mjs +0 -72
  842. package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +0 -7
  843. package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +0 -14
  844. package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +0 -1
  845. package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +0 -1
  846. package/dist/chunks/util-1.1.31-jy81jvt3.mjs +0 -1
  847. package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +0 -1
  848. package/dist/chunks/vim-1.1.31-wbbckx93.mjs +0 -1
  849. package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +0 -13
  850. package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +0 -1
  851. package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +0 -132
  852. package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +0 -1
  853. package/dist/chunks/worktree-1.1.31-krxr11er.mjs +0 -1
  854. package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +0 -1
  855. package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +0 -7
  856. /package/dist/chunks/{cli-1.1.31-d930nxk6.mjs → cli-1.1.33-5ff9vmz9.mjs} +0 -0
@@ -0,0 +1,261 @@
1
+ import{Ag as UE,Bg as n,Cg as y,Dg as x,Eg as K,Fg as FI,Gg as FO,Hg as lI,Ig as wO,Jg as RI,Kg as iI,yg as $,zg as S}from"./cli-1.1.33-5c19q87v.mjs";import{Az as JO,Bz as KO,Mz as _R,XE as XO,YE as FR,ZE as VR,jF as wN,jo as wI,oo as OI,po as oI}from"./cli-1.1.33-vgynvhys.mjs";import"./cli-1.1.33-bh8452tq.mjs";import"./cli-1.1.33-dm8nxxnv.mjs";import"./cli-1.1.33-0bk8mrfh.mjs";import"./cli-1.1.33-1fpzq80d.mjs";import"./cli-1.1.33-gpp6mbxj.mjs";import"./cli-1.1.33-jdtfdqvz.mjs";import"./cli-1.1.33-k466m68a.mjs";import"./cli-1.1.33-t26pazs8.mjs";import"./cli-1.1.33-n55k105y.mjs";import"./cli-1.1.33-303jm377.mjs";import"./cli-1.1.33-v615gn7w.mjs";import"./cli-1.1.33-20zqrzzq.mjs";import"./cli-1.1.33-ghcxb1ce.mjs";import{FX as P,HX as u,mY as WO}from"./cli-1.1.33-9zba2a1d.mjs";import"./cli-1.1.33-t78313g4.mjs";import"./cli-1.1.33-f4vhy9zk.mjs";import"./cli-1.1.33-rxe1dmbg.mjs";import"./cli-1.1.33-zsk851wd.mjs";import"./cli-1.1.33-j5q2mpwf.mjs";import"./cli-1.1.33-z5rv4tr3.mjs";import"./cli-1.1.33-mkzxq2c9.mjs";import"./cli-1.1.33-8xyzgp13.mjs";import"./cli-1.1.33-h75frpfe.mjs";import"./cli-1.1.33-ty6y9kn2.mjs";import{Q1 as V,R1 as JI,S1 as MI}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as GO}from"./cli-1.1.33-czrp8ff2.mjs";import"./cli-1.1.33-gbjym0yt.mjs";import"./cli-1.1.33-525zf497.mjs";import"./cli-1.1.33-t8cxmf0c.mjs";import"./cli-1.1.33-v08vb0sv.mjs";import"./cli-1.1.33-kqsskxv0.mjs";import"./cli-1.1.33-q8hq263y.mjs";import"./cli-1.1.33-apx2xgzn.mjs";import"./cli-1.1.33-effqmrgb.mjs";import"./cli-1.1.33-df8tggjt.mjs";import"./cli-1.1.33-n7rpkhs4.mjs";import"./cli-1.1.33-7b2yeb1x.mjs";import"./cli-1.1.33-nvfshp5c.mjs";import"./cli-1.1.33-0kvxjey5.mjs";import"./cli-1.1.33-j6ep4mfm.mjs";import"./cli-1.1.33-a6dvne78.mjs";import"./cli-1.1.33-yy53bmhe.mjs";import{Eea as zN,Jea as WR,L9 as EE,M9 as sR,Qea as ZO,_fa as KI,afa as zO,dga as MO,jca as ZE,lca as NN,q_ as BR,yaa as GR}from"./cli-1.1.33-20v60hvd.mjs";import"./cli-1.1.33-n2d1txyn.mjs";import"./cli-1.1.33-dv29f6yk.mjs";import"./cli-1.1.33-zqqj4d1f.mjs";import"./cli-1.1.33-f83qf2zv.mjs";import{pha as TR,rha as $N}from"./cli-1.1.33-3de2dtv6.mjs";import{Uha as BI,bia as SE}from"./cli-1.1.33-283f43sy.mjs";import"./cli-1.1.33-241y9eee.mjs";import"./cli-1.1.33-7qr8n3qn.mjs";import{Dja as OE,Ija as cR}from"./cli-1.1.33-90w26xxw.mjs";import{Lja as LR,Wja as XN}from"./cli-1.1.33-ad43mr1x.mjs";import"./cli-1.1.33-87p06j57.mjs";import"./cli-1.1.33-5ehc9tkd.mjs";import"./cli-1.1.33-pw7bmns5.mjs";import{pqa as II,tqa as W}from"./cli-1.1.33-cfj1bzen.mjs";import{basename as mI}from"path";function ZI(I,E){if(!E||!I.startsWith(E))return I;return`~${I.slice(E.length)}`}function p(I,E){return`${I} ${E}${I===1?"":"s"}`}function UO(I){let E=I.map((O)=>("name"in O)?O.name:("key"in O)?O.key:mI(O.destination));if(E.length<=fI)return E.join(", ");return`${E.slice(0,fI).join(", ")}, +${E.length-fI}`}function ZR(I,E){let O=E.length;switch(I){case"mcpServer":return p(O,"MCP server");case"instructions":return O===1&&E[0]?mI(E[0].source):p(O,"memory file");case"command":return p(O,"command");case"agent":return p(O,"agent");case"rule":return p(O,"rule");case"skillDir":return p(O,"skill");case"settingsKey":return p(O,"setting");case"providerHint":return"provider config"}}function zR(I,E,O){let R=E[0];if(!R)return"";switch(I){case"mcpServer":return`${UO(E)} → ${R.scope}`;case"settingsKey":return UO(E);case"providerHint":return R.kind==="providerHint"?`${R.model||"no model"} at ${R.baseUrl||"no base URL"} (no token)`:"";default:return`→ ${ZI(MR(E),O)}`}}function MR(I){let E=I.map((L)=>L.destination),O=E[0];if(!O)return"";if(E.length===1)return O;let R=O.split("/"),N=R.length;for(let L of E.slice(1)){let T=L.split("/"),U=0;while(U<N&&U<T.length&&R[U]===T[U])U+=1;N=U}return`${R.slice(0,N).join("/")}/`}function gI(I,E){let O=new Map;for(let N of I){let L=`${N.kind}:${N.scope}`,T=O.get(L);if(T)T.push(N);else O.set(L,[N])}let R=[];for(let N of qR)for(let L of["user","project"]){let T=O.get(`${N}:${L}`);if(!T||T.length===0)continue;R.push({key:`${N}:${L}`,kind:N,scope:L,artifacts:T,label:ZR(N,T),detail:zR(N,T,E)})}return R}function HO(I,E){let O=[];if(I.applied.length===0)O.push("Nothing was imported.");else for(let R of gI(I.applied,E))O.push(` ✓ ${R.label}${R.detail?` ${R.detail}`:""}`);if(I.skipped.length>0){O.push(""),O.push(` ⚠ ${I.skipped.length} skipped`);for(let R of I.skipped){let N="name"in R?R.name:("key"in R)?R.key:mI(R.destination);O.push(` ${N} — ${R.statusReason??"already present"}`)}}if(I.notImportable.length>0){O.push(""),O.push(" ⎿ Not imported");for(let R of I.notImportable)O.push(` ${R.label} — ${R.detail}`)}if(I.warnings.length>0){O.push(""),O.push(` Warnings (${I.warnings.length})`);for(let R of I.warnings)O.push(` ${ZI(R,E)}`)}if(I.errors.length>0){O.push(""),O.push(` Errors (${I.errors.length})`);for(let R of I.errors)O.push(` ${R}`)}if(I.applied.some((R)=>R.kind==="mcpServer"))O.push(""),O.push(" Restart Claudin to connect the new MCP servers.");if(I.applied.some((R)=>R.kind==="providerHint"))O.push(" Run /provider to finish signing in — no tokens were copied.");return O.join(`
2
+ `)}var qR,fI=3;var xI=W(()=>{qR=["mcpServer","instructions","command","agent","rule","skillDir","settingsKey","providerHint"]});function zI(I){return`agent:${I}`}function HI(I,E){return`${I}:${E}`}function YO(I,E,O){let R=[];for(let N of I){let L=gI(E.artifacts.filter((T)=>T.agent===N.id),O);if(L.length===0)continue;R.push({id:N.id,label:N.label,roots:N.roots.map((T)=>ZI(T.path,O)).join(" "),groups:L})}return R}function KR(I){return I.artifacts.every((E)=>E.status==="identical")}function AO(I){let E=[];for(let O of I){let R=O.groups.filter((N)=>!JR.has(N.kind)&&!KR(N));if(R.length===0)continue;E.push(zI(O.id));for(let N of R)E.push(HI(O.id,N.key))}return E}function SO(I,E){let O=[];for(let R of I){let N=R.groups.length,L=R.groups.filter((U)=>E.has(HI(R.id,U.key))).length,T=L>0&&L<N;O.push({key:zI(R.id),agent:R.id,groupKey:null,label:`▸ ${R.label}${T?` (${L}/${N})`:""}`,description:R.roots});for(let U of R.groups)O.push({key:HI(R.id,U.key),agent:R.id,groupKey:U.key,label:` ${U.label}`,description:U.detail})}return O}function dI(I,E,O){let R=new Set(E),N=new Set(O);for(let L of I){let T=zI(L.id),U=L.groups.map((A)=>HI(L.id,A.key)),H=N.has(T)&&!R.has(T),Y=!N.has(T)&&R.has(T);if(H)for(let A of U)N.add(A);else if(Y)for(let A of U)N.delete(A);if(U.some((A)=>N.has(A)))N.add(T);else N.delete(T)}return[...N]}function CO(I,E){let O=[];for(let R of I)for(let N of R.groups){if(!E.has(HI(R.id,N.key)))continue;O.push(...N.artifacts)}return O}function BO(I){return I.filter((E)=>E.status==="conflict").length}var JR;var pI=W(()=>{xI();JR=new Set(["providerHint","settingsKey"])});function DR(I,E){if(I.length!==E.length)return!1;let O=new Set(E);return I.every((R)=>O.has(R))}function $O({entries:I,notImportable:E,onSubmit:O,onCancel:R}){let[N,L]=YI.useState(()=>AO(I)),[T,U]=YI.useState(0),H=YI.useRef(void 0),A=SO(I,new Set(N)).map((G)=>({value:G.key,label:G.label,description:G.description,dimDescription:!0})),X=(G)=>{let d=dI(I,N,G);if(L(d),!DR(d,G))U((qI)=>qI+1)};return JI(P,{flexDirection:"column",marginBottom:1,children:[V(u,{bold:!0,children:"Import config from another AI coding agent"}),V(P,{marginTop:1,flexDirection:"column",children:V(XO,{options:A,defaultValue:N,focusValue:T===0?void 0:H.current,onFocus:(G)=>{H.current=G},onChange:X,onSubmit:(G)=>O(dI(I,N,G)),onCancel:R,visibleOptionCount:Math.min(A.length,wR),hideIndexes:!0},T)}),E.length>0&&V(P,{marginTop:1,flexDirection:"column",children:V(u,{dimColor:!0,children:`⎿ Not importable: ${E.join(", ")}`})}),V(P,{marginTop:1,children:V(u,{dimColor:!0,children:"Enter confirms · Space toggles · Esc cancels"})})]})}var YI,wR=16;var VO=W(()=>{pI();WO();FR();MI();YI=II(GO(),1)});import{writeFileSync as kR}from"fs";import{dirname as QO}from"path";function qO(I){return I==="user"?"user":"local"}async function vR(I,E,O){switch(I.kind){case"mcpServer":await O.addMcpServer(I.name,I.config,I.scope,E);return;case"instructions":O.writeTextFile(I.destination,I.text);return;case"command":case"agent":case"rule":O.writeTextFile(I.destination,I.markdown);return;case"skillDir":O.copyDirectory(I.sourceDir,I.destination);return;case"settingsKey":O.setSettingsKey(I.destination,I.key,I.value);return;case"providerHint":O.createProviderProfile({name:I.name,provider:I.provider,baseUrl:I.baseUrl,model:I.model});return}}async function DO(I,E,O={},R=PR){let N={applied:[],skipped:[],notImportable:I.notImportable,warnings:[...I.warnings],errors:[]};for(let L of E){if(L.status==="identical"){N.skipped.push({...L,statusReason:L.statusReason??"already identical"});continue}let T=L.status==="conflict";if(T&&!O.overwriteConflicts){N.skipped.push(L);continue}try{await vR(L,T,R),N.applied.push(L)}catch(U){KI(U),N.errors.push(`${L.kind} ${bR(L)}: ${U instanceof Error?U.message:String(U)}`)}}return N}function bR(I){if("name"in I)return I.name;if("key"in I)return I.key;return I.destination}var PR;var _O=W(()=>{_R();iI();zO();MO();PR={writeTextFile:(I,E)=>{lI(QO(I)),kR(I,E,{encoding:"utf8"})},copyDirectory:(I,E)=>{wO(I,E)},addMcpServer:async(I,E,O,R)=>{if(R)await KO(I,qO(O));await JO(I,E,qO(O))},setSettingsKey:(I,E,O)=>{let R=FI(I)??{};lI(QO(I)),FO(I,{...R,[E]:O})},createProviderProfile:(I)=>{ZO({provider:I.provider,name:I.name,baseUrl:I.baseUrl,model:I.model},{makeActive:!1})}}});function AI(I){return I.replace(/\.(md|ya?ml)$/i,"").toLowerCase().replace(yR,"-").replace(hR,"")}function vO(I,E){let O={},R=[],N=[];for(let[L,T]of Object.entries(I)){if(T===null||T===void 0)continue;if(L==="name"||L==="description")continue;if(E.keepKeys.includes(L)){O[L]=T;continue}let U=E.explain[L];if(U)N.push(U);else R.push(L)}if(R.length>0)N.push(`dropped frontmatter: ${R.sort().join(", ")}`);return{kept:O,notes:N}}function bO(I,E,O,R){return`---
3
+ ${kO.stringify({name:I,description:E,...O}).trimEnd()}
4
+ ---
5
+
6
+ ${R.trim()}
7
+ `}function yO(I,E,O){let R=AI(I);if(!R)return{ok:!1,reason:"filename yields an empty agent name"};let{frontmatter:N,content:L}=OI(E),T=S(N.description)??S(N.name);if(!T)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};if(L.trim().length===0)return{ok:!1,reason:"has an empty system prompt"};let{kept:U,notes:H}=vO(N,O);return{ok:!0,agent:{name:R,relativePath:`${R}.md`,markdown:bO(R,T,U,L),notes:H}}}function hO(I,E,O){let R=S(E.name)??AI(I),N=AI(R);if(!N)return{ok:!1,reason:"has no usable agent name"};let L=S(E.description);if(!L)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};let T=S(E.systemPrompt)??S(E.system_prompt)??S(E.prompt);if(!T)return{ok:!1,reason:"carries no inline system prompt (only a path to one)"};let{kept:U,notes:H}=vO(Object.fromEntries(Object.entries(E).filter(([Y])=>Y!=="systemPrompt"&&Y!=="system_prompt"&&Y!=="prompt")),O);return{ok:!0,agent:{name:N,relativePath:`${N}.md`,markdown:bO(N,L,U,T),notes:H}}}var kO,yR,hR,PO,nI;var SI=W(()=>{K();oI();kO=II(wI(),1),yR=/[^a-z0-9]+/g,hR=/^-+|-+$/g,PO={keepKeys:["description"],explain:{tools:"tools not carried over — opencode tool names differ from Claudin’s",mode:'opencode "mode" has no equivalent — imported as a subagent',permission:"per-agent permissions not carried over — see /permissions",model:"model not carried over — opencode model ids are provider-qualified"}},nI={keepKeys:["description","color"],explain:{tools:"tools not carried over — Qwen tool names differ from Claudin’s",model:"model not carried over — Qwen model ids are not Claudin’s"}}});function mO(I){let E=I.lastIndexOf("."),O=I.lastIndexOf("/");return E>O?I.slice(0,E):I}function DI(I){return mO(I).split("/").join(":")}function gO(I){return`${mO(I)}.md`}function xO(I,E){let O=E.trim();if(Object.keys(I).length===0)return`${O}
8
+ `;return`---
9
+ ${jO.stringify(I).trimEnd()}
10
+ ---
11
+
12
+ ${O}
13
+ `}function dO(I,E){if(E!=="handlebars")return{body:I,rewritten:!1};let O=I.replace(jR,"$ARGUMENTS");return{body:O,rewritten:O!==I}}function pO(I){let E=[];if(uR.test(I))E.push("uses !{…} shell injection, which Claudin does not expand");if(fR.test(I))E.push("uses @{…} file injection, which Claudin does not expand");return E}function lO(I){if(I.length===0)return"has an empty path";if(I.startsWith("/"))return"has an absolute path";if(mR.test(I))return"path escapes the commands directory";return null}function iO(I,E,O){let R=lO(I);if(R)return{ok:!1,reason:R};let{frontmatter:N,content:L}=OI(E),T={},U=[];for(let[X,G]of Object.entries(N)){if(G===null||G===void 0)continue;if(O.keepKeys.includes(X))T[X]=G;else U.push(X)}let{body:H,rewritten:Y}=dO(L,O.args);if(H.trim().length===0)return{ok:!1,reason:"has no prompt body"};let A=pO(H);if(U.length>0)A.push(`dropped frontmatter: ${U.sort().join(", ")}`);if(Y)A.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:gO(I),name:DI(I),markdown:xO(T,H),notes:A}}}function oO(I,E){let O=lO(I);if(O)return{ok:!1,reason:O};let R=S(E.prompt);if(!R)return{ok:!1,reason:"has no prompt field"};let{body:N,rewritten:L}=dO(R,"handlebars"),T=S(E.description),U=pO(N);if(L)U.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:gO(I),name:DI(I),markdown:xO(T?{description:T}:{},N),notes:U}}}var jO,jR,uR,fR,mR,uO,cI,fO;var EI=W(()=>{K();oI();jO=II(wI(),1),jR=/\{\{\s*args\s*\}\}/g,uR=/!\{[^}]*\}/,fR=/@\{[^}]*\}/,mR=/(^|\/)\.\.(\/|$)/,uO={keepKeys:["description","argument-hint"],args:"claude"},cI={keepKeys:["description"],args:"handlebars"},fO={keepKeys:["description"],args:"claude"}});var gR,f;var sI=W(()=>{/*!
14
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
15
+ * SPDX-License-Identifier: BSD-3-Clause
16
+ *
17
+ * Redistribution and use in source and binary forms, with or without
18
+ * modification, are permitted provided that the following conditions are met:
19
+ *
20
+ * 1. Redistributions of source code must retain the above copyright notice, this
21
+ * list of conditions and the following disclaimer.
22
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
23
+ * this list of conditions and the following disclaimer in the
24
+ * documentation and/or other materials provided with the distribution.
25
+ * 3. Neither the name of the copyright holder nor the names of its contributors
26
+ * may be used to endorse or promote products derived from this software without
27
+ * specific prior written permission.
28
+ *
29
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
30
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
31
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
33
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
37
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
+ */gR=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;f=class f extends Date{#O=!1;#E=!1;#I=null;constructor(I){let E=!0,O=!0,R="Z";if(typeof I==="string"){let N=I.match(gR);if(N){if(!N[1])E=!1,I=`0000-01-01T${I}`;if(O=!!N[2],O&&I[10]===" "&&(I=I.replace(" ","T")),N[2]&&+N[2]>23)I="";else if(R=N[3]||null,I=I.toUpperCase(),!R&&O)I+="Z"}else I=""}super(I);if(!isNaN(this.getTime()))this.#O=E,this.#E=O,this.#I=R}isDateTime(){return this.#O&&this.#E}isLocal(){return!this.#O||!this.#E||!this.#I}isDate(){return this.#O&&!this.#E}isTime(){return this.#E&&!this.#O}isValid(){return this.#O||this.#E}toISOString(){let I=super.toISOString();if(this.isDate())return I.slice(0,10);if(this.isTime())return I.slice(11,23);if(this.#I===null)return I.slice(0,-1);if(this.#I==="Z")return I;let E=+this.#I.slice(1,3)*60+ +this.#I.slice(4,6);return E=this.#I[0]==="-"?E:-E,new Date(this.getTime()-E*60000).toISOString().slice(0,-1)+this.#I}static wrapAsOffsetDateTime(I,E="Z"){let O=new f(I);return O.#I=E,O}static wrapAsLocalDateTime(I){let E=new f(I);return E.#I=null,E}static wrapAsLocalDate(I){let E=new f(I);return E.#E=!1,E.#I=null,E}static wrapAsLocalTime(I){let E=new f(I);return E.#O=!1,E.#I=null,E}}});function xR(I,E){let O=I.slice(0,E).split(/\r\n|\n|\r/g);return[O.length,O.pop().length+1]}function dR(I,E,O){let R=I.split(/\r\n|\n|\r/g),N="",L=(Math.log10(E+1)|0)+1;for(let T=E-1;T<=E+1;T++){let U=R[T-1];if(!U)continue;if(N+=T.toString().padEnd(L," "),N+=": ",N+=U,N+=`
40
+ `,T===E)N+=" ".repeat(L+O+2),N+=`^
41
+ `}return N}var B;var l=W(()=>{/*!
42
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
43
+ * SPDX-License-Identifier: BSD-3-Clause
44
+ *
45
+ * Redistribution and use in source and binary forms, with or without
46
+ * modification, are permitted provided that the following conditions are met:
47
+ *
48
+ * 1. Redistributions of source code must retain the above copyright notice, this
49
+ * list of conditions and the following disclaimer.
50
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
51
+ * this list of conditions and the following disclaimer in the
52
+ * documentation and/or other materials provided with the distribution.
53
+ * 3. Neither the name of the copyright holder nor the names of its contributors
54
+ * may be used to endorse or promote products derived from this software without
55
+ * specific prior written permission.
56
+ *
57
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
58
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
59
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
60
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
61
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
62
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
63
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
64
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
65
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
66
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67
+ */B=class B extends Error{line;column;codeblock;constructor(I,E){let[O,R]=xR(E.toml,E.ptr),N=dR(E.toml,O,R);super(`Invalid TOML document: ${I}
68
+
69
+ ${N}`,E);this.line=O,this.column=R,this.codeblock=N}}});function rI(I,E=0){let O=I.indexOf(`
70
+ `,E);if(I.charCodeAt(O-1)===13)O--;return O}function _I(I){for(;I.p<I.s.length;I.p++){let E=I.s.charCodeAt(I.p);if(E===10)break;if(E===13&&I.s.charCodeAt(I.p+1)===10){I.p++;break}if(E<32&&E!==9||E===127)throw new B("control characters are not allowed in comments",{toml:I.s,ptr:I.p})}}function D(I,E,O){let R;while(!0){while((R=I.s.charCodeAt(I.p))===32||R===9||!E&&(R===10||R===13&&I.s.charCodeAt(I.p+1)===10))I.p++;if(O||R!==35)break;_I(I)}}function nO(I,E,O){let R=I.p;if(!O){R=rI(I.s,R),I.p=R<0?I.s.length:R;return}for(;I.p<I.s.length;I.p++){let N=I.s.charCodeAt(I.p);if(N===35)_I(I);else if(N===O||N===E)return}throw new B("cannot find end of structure",{toml:I.s,ptr:R})}var kI=W(()=>{l();/*!
71
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
72
+ * SPDX-License-Identifier: BSD-3-Clause
73
+ *
74
+ * Redistribution and use in source and binary forms, with or without
75
+ * modification, are permitted provided that the following conditions are met:
76
+ *
77
+ * 1. Redistributions of source code must retain the above copyright notice, this
78
+ * list of conditions and the following disclaimer.
79
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
80
+ * this list of conditions and the following disclaimer in the
81
+ * documentation and/or other materials provided with the distribution.
82
+ * 3. Neither the name of the copyright holder nor the names of its contributors
83
+ * may be used to endorse or promote products derived from this software without
84
+ * specific prior written permission.
85
+ *
86
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
87
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
88
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
89
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
90
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
91
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
92
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
93
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
94
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
95
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
96
+ */});function PI(I){let E=I.p,O=I.s.charCodeAt(I.p++),R=O,N=O===39,L=O===I.s.charCodeAt(I.p)&&O===I.s.charCodeAt(I.p+1);if(L){if((O=I.s.charCodeAt(I.p+=2))===10)I.p++;else if(O===13&&I.s.charCodeAt(I.p+1)===10)I.p+=2}let T="",U=I.p,H=0;for(;I.p<I.s.length;I.p++)if(O=I.s.charCodeAt(I.p),L&&(O===10||O===13&&I.s.charCodeAt(I.p+1)===10))H=H&&3;else if(O<32&&O!==9||O===127)throw new B("control characters are not allowed in strings",{toml:I.s,ptr:I.p});else if((!H||H===3)&&O===R&&(!L||I.s.charCodeAt(I.p+1)===R&&I.s.charCodeAt(I.p+2)===R)){if(L){if(I.s.charCodeAt(I.p+3)===R)I.p++;if(I.s.charCodeAt(I.p+3)===R)I.p++}if(!H)T+=I.s.slice(U,I.p);return I.p+=L?3:1,T}else if(!H){if(!N&&O===92)T+=I.s.slice(U,U=I.p),H=1}else if(H===1)if(O===120||O===117||O===85){let Y=0,A=O===120?2:O===117?4:8;for(let X=0;X<A;X++,I.p++){let G=I.s.charCodeAt(I.p+1),d=G>=48&&G<=57?G-48:G>=65&&G<=70?G-65+10:G>=97&&G<=102?G-97+10:-1;if(d<0)throw new B("invalid non-hex character in unicode escape",{toml:I.s,ptr:I.p+1});Y=Y<<4|d}if(Y<0||Y>1114111||Y>=55296&&Y<=57343)throw new B("invalid unicode escape",{toml:I.s,ptr:I.p});T+=String.fromCodePoint(Y),U=I.p+1,H=0}else if(O===32||O===9)H=2;else{if(O===98)T+="\b";else if(O===116)T+="\t";else if(O===110)T+=`
97
+ `;else if(O===102)T+="\f";else if(O===114)T+="\r";else if(O===101)T+="\x1B";else if(O===34)T+='"';else if(O===92)T+="\\";else throw new B("unrecognized escape sequence",{toml:I.s,ptr:I.p});U=I.p+1,H=0}else if(O!==32&&O!==9){if(H===2)throw new B("invalid escape: only line-ending whitespace may be escaped",{toml:I.s,ptr:U});H=!N&&O===92?1:0,U=I.p}throw new B("unfinished string",{toml:I.s,ptr:E})}function oR(I,E,O){let R=I.s.slice(E,O),N=R.indexOf("#");if(N>0)_I({s:R,p:N,d:0}),R=R.slice(0,N);return R.trimEnd()}function cO(I,E,O){let R=I.p,N={toml:I.s,ptr:R};nO(I,44,O);let L=oR(I,R,I.p);if(!L)throw new B("incomplete declaration: value expected",N);if(L==="-inf")return-1/0;if(L==="inf"||L==="+inf")return 1/0;if(L==="nan"||L==="+nan"||L==="-nan")return NaN;if(L==="-0")return E?0n:0;let T=pR.test(L);if(T||lR.test(L)){if(iR.test(L))throw new B("leading zeroes are not allowed",N);L=L.replace(/_/g,"");let H=+L;if(isNaN(H))throw new B("invalid number",N);if(T){if((T=!Number.isSafeInteger(H))&&!E)throw new B("integer value cannot be represented losslessly",N);if(T||E===!0)H=BigInt(L)}return H}let U=new f(L);if(!U.isValid())throw new B("invalid value",N);return U}var pR,lR,iR;var aI=W(()=>{sI();l();kI();/*!
98
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
99
+ * SPDX-License-Identifier: BSD-3-Clause
100
+ *
101
+ * Redistribution and use in source and binary forms, with or without
102
+ * modification, are permitted provided that the following conditions are met:
103
+ *
104
+ * 1. Redistributions of source code must retain the above copyright notice, this
105
+ * list of conditions and the following disclaimer.
106
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
107
+ * this list of conditions and the following disclaimer in the
108
+ * documentation and/or other materials provided with the distribution.
109
+ * 3. Neither the name of the copyright holder nor the names of its contributors
110
+ * may be used to endorse or promote products derived from this software without
111
+ * specific prior written permission.
112
+ *
113
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
114
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
115
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
116
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
117
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
118
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
119
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
120
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
121
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
122
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
123
+ */pR=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,lR=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,iR=/^[+-]?0[0-9_]/});function CI(I,E,O){let R=I.p,N=I.s.charCodeAt(R);if(N===91||N===123){if(!I.d--)throw new B("document contains excessively nested structures. aborting.",{toml:I.s,ptr:R});let L=N===91?rO(I,O):sO(I,O);return I.d++,L}if(N===34||N===39)return PI(I);if(N===116){if(I.s.charCodeAt(++I.p)!==114||I.s.charCodeAt(++I.p)!==117||I.s.charCodeAt(++I.p)!==101)throw new B("invalid value",{toml:I.s,ptr:R});return I.p++,!0}if(N===102){if(I.s.charCodeAt(++I.p)!==97||I.s.charCodeAt(++I.p)!==108||I.s.charCodeAt(++I.p)!==115||I.s.charCodeAt(++I.p)!==101)throw new B("invalid value",{toml:I.s,ptr:R});return I.p++,!1}return cO(I,O,E)}var eI=W(()=>{aI();tI();l();/*!
124
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
125
+ * SPDX-License-Identifier: BSD-3-Clause
126
+ *
127
+ * Redistribution and use in source and binary forms, with or without
128
+ * modification, are permitted provided that the following conditions are met:
129
+ *
130
+ * 1. Redistributions of source code must retain the above copyright notice, this
131
+ * list of conditions and the following disclaimer.
132
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
133
+ * this list of conditions and the following disclaimer in the
134
+ * documentation and/or other materials provided with the distribution.
135
+ * 3. Neither the name of the copyright holder nor the names of its contributors
136
+ * may be used to endorse or promote products derived from this software without
137
+ * specific prior written permission.
138
+ *
139
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
140
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
141
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
142
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
143
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
144
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
145
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
146
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
147
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
148
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
149
+ */});function vI(I,E="="){let O=I.p,R=O-1,N=[],L=I.s.indexOf(E,O);if(L<0)throw new B("incomplete key-value: cannot find end of key",{toml:I.s,ptr:O});do{let T=I.s.charCodeAt(I.p=++R);if(T!==32&&T!==9)if(T===34||T===39){if(T===I.s.charCodeAt(I.p+1)&&T===I.s.charCodeAt(I.p+2))throw new B("multiline strings are not allowed in keys",{toml:I.s,ptr:I.p});let U=PI(I);R=I.s.indexOf(".",I.p);let H=I.s.slice(I.p,R<0||R>L?L:R),Y=rI(H);if(Y>-1)throw new B("newlines are not allowed in keys",{toml:I.s,ptr:Y});if(H.trimStart())throw new B("found extra tokens after the string part",{toml:I.s,ptr:I.p});if(L<I.p){if(L=I.s.indexOf(E,I.p),L<0)throw new B("incomplete key-value: cannot find end of key",{toml:I.s,ptr:O})}N.push(U)}else{R=I.s.indexOf(".",I.p);let U=I.s.slice(I.p,R<0||R>L?L:R);if(!nR.test(U))throw new B("only letter, numbers, dashes and underscores are allowed in keys",{toml:I.s,ptr:I.p});N.push(U.trimEnd())}}while(R+1&&R<L);return I.p=L+1,D(I,!0,!0),N}function sO(I,E){let O={},R=new Set,N;I.p++;while(I.p<I.s.length){if(D(I),(N=I.s.charCodeAt(I.p))===125)return I.p++,O;let L,T=O,U=!1,H=I.p,Y=vI(I);for(let X=0;X<Y.length;X++){if(X)T=U?T[L]:T[L]={};if(L=Y[X],(U=Object.hasOwn(T,L))&&(typeof T[L]!=="object"||R.has(T[L])))throw new B("trying to redefine an already defined value",{toml:I.s,ptr:H});if(!U&&L==="__proto__")Object.defineProperty(T,L,{enumerable:!0,configurable:!0,writable:!0})}if(U)throw new B("trying to redefine an already defined value",{toml:I.s,ptr:I.p});let A=CI(I,125,E);if(R.add(T[L]=A),D(I),(N=I.s.charCodeAt(I.p++))===125)return O;if(N!==44)throw new B("expected comma or end of structure",{toml:I.s,ptr:I.p-1})}throw new B("unfinished table encountered",{toml:I.s,ptr:I.p})}function rO(I,E){let O=[],R;I.p++;while(I.p<I.s.length){if(D(I),(R=I.s.charCodeAt(I.p))===93)return I.p++,O;if(O.push(CI(I,93,E)),D(I),(R=I.s.charCodeAt(I.p++))===93)return O;if(R!==44)throw new B("expected comma or end of structure",{toml:I.s,ptr:I.p-1})}throw new B("unfinished array encountered",{toml:I.s,ptr:I.p})}var nR;var tI=W(()=>{aI();eI();kI();l();/*!
150
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
151
+ * SPDX-License-Identifier: BSD-3-Clause
152
+ *
153
+ * Redistribution and use in source and binary forms, with or without
154
+ * modification, are permitted provided that the following conditions are met:
155
+ *
156
+ * 1. Redistributions of source code must retain the above copyright notice, this
157
+ * list of conditions and the following disclaimer.
158
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
159
+ * this list of conditions and the following disclaimer in the
160
+ * documentation and/or other materials provided with the distribution.
161
+ * 3. Neither the name of the copyright holder nor the names of its contributors
162
+ * may be used to endorse or promote products derived from this software without
163
+ * specific prior written permission.
164
+ *
165
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
166
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
167
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
168
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
169
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
170
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
171
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
172
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
173
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
174
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
175
+ */nR=/^[a-zA-Z0-9-_]+[ \t]*$/});function aO(I,E,O,R){let N=E,L=O,T,U=!1,H;for(let Y=0;Y<I.length;Y++){if(Y){if(N=U?N[T]:N[T]={},L=(H=L[T]).c,R===0&&(H.t===1||H.t===2))return null;if(H.t===2){let A=N.length-1;N=N[A],L=L[A].c}}if(T=I[Y],(U=Object.hasOwn(N,T))&&L[T]?.t===0&&L[T]?.d)return null;if(!U){if(T==="__proto__")Object.defineProperty(N,T,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(L,T,{enumerable:!0,configurable:!0,writable:!0});L[T]={t:Y<I.length-1&&R===2?3:R,d:!1,i:0,c:{}}}}if(H=L[T],H.t!==R&&!(R===1&&H.t===3))return null;if(R===2){if(!H.d)H.d=!0,N[T]=[];N[T].push(N={}),H.c[H.i++]=H={t:1,d:!1,i:0,c:{}}}if(H.d)return null;if(H.d=!0,R===1)N=U?N[T]:N[T]={};else if(R===0&&U)return null;return[T,N,H.c]}function IO(I,{maxDepth:E=1000,integersAsBigInt:O}={}){let R={s:I,p:0,d:E},N={},L={},T,U=N,H=L;D(R);while(R.p<I.length){if(I.charCodeAt(R.p)===91){let Y=I.charCodeAt(++R.p)===91;T=R.p+=+Y;let A=vI(R,"]");if(Y){if(I.charCodeAt(R.p-1)!==93)throw new B("expected end of table declaration",{toml:I,ptr:R.p-1});R.p++}let X=aO(A,N,L,Y?2:1);if(!X)throw new B("trying to redefine an already defined table or value",{toml:I,ptr:T});H=X[2],U=X[1]}else{T=R.p;let Y=vI(R),A=aO(Y,U,H,0);if(!A)throw new B("trying to redefine an already defined table or value",{toml:I,ptr:T});A[1][A[0]]=CI(R,void 0,O)}if(D(R,!0),R.p<I.length&&(T=I.charCodeAt(R.p))!==10&&T!==13)throw new B("each key-value declaration must be followed by an end-of-line",{toml:I,ptr:R.p});D(R)}return N}var eO=W(()=>{tI();eI();kI();l();/*!
176
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
177
+ * SPDX-License-Identifier: BSD-3-Clause
178
+ *
179
+ * Redistribution and use in source and binary forms, with or without
180
+ * modification, are permitted provided that the following conditions are met:
181
+ *
182
+ * 1. Redistributions of source code must retain the above copyright notice, this
183
+ * list of conditions and the following disclaimer.
184
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
185
+ * this list of conditions and the following disclaimer in the
186
+ * documentation and/or other materials provided with the distribution.
187
+ * 3. Neither the name of the copyright holder nor the names of its contributors
188
+ * may be used to endorse or promote products derived from this software without
189
+ * specific prior written permission.
190
+ *
191
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
192
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
193
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
194
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
195
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
196
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
197
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
198
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
199
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
200
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
201
+ */});var tO=W(()=>{/*!
202
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
203
+ * SPDX-License-Identifier: BSD-3-Clause
204
+ *
205
+ * Redistribution and use in source and binary forms, with or without
206
+ * modification, are permitted provided that the following conditions are met:
207
+ *
208
+ * 1. Redistributions of source code must retain the above copyright notice, this
209
+ * list of conditions and the following disclaimer.
210
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
211
+ * this list of conditions and the following disclaimer in the
212
+ * documentation and/or other materials provided with the distribution.
213
+ * 3. Neither the name of the copyright holder nor the names of its contributors
214
+ * may be used to endorse or promote products derived from this software without
215
+ * specific prior written permission.
216
+ *
217
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
218
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
219
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
220
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
221
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
222
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
223
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
224
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
225
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
226
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
227
+ */});var IE=W(()=>{eO();tO();sI();l();/*!
228
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
229
+ * SPDX-License-Identifier: BSD-3-Clause
230
+ *
231
+ * Redistribution and use in source and binary forms, with or without
232
+ * modification, are permitted provided that the following conditions are met:
233
+ *
234
+ * 1. Redistributions of source code must retain the above copyright notice, this
235
+ * list of conditions and the following disclaimer.
236
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
237
+ * this list of conditions and the following disclaimer in the
238
+ * documentation and/or other materials provided with the distribution.
239
+ * 3. Neither the name of the copyright holder nor the names of its contributors
240
+ * may be used to endorse or promote products derived from this software without
241
+ * specific prior written permission.
242
+ *
243
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
244
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
245
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
246
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
247
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
248
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
249
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
250
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
251
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
253
+ */});import{readFileSync as rR}from"fs";function NE(I){return I instanceof Error?I.message:String(I)}function i(I){try{return{ok:!0,value:rR(I,"utf8")}}catch(E){if(OE(E))return{ok:!1,reason:"missing",message:`${I} does not exist`};return{ok:!1,reason:"unreadable",message:`${I}: ${NE(E)}`}}}function bI(I,E){let O=i(I);if(!O.ok)return O;let R;try{R=E(O.value)}catch(L){return{ok:!1,reason:"invalid",message:`${I}: ${NE(L)}`}}let N=$(R);if(!N)return{ok:!1,reason:"invalid",message:`${I}: expected an object at the top level`};return{ok:!0,value:N}}function _(I){return bI(I,(E)=>JSON.parse(E))}function LE(I){return bI(I,(E)=>{let O=[],R=EE(E,O,{allowTrailingComma:!0});if(O.length>0)throw Error(`${O.length} JSONC parse error(s)`);return R})}function o(I){return bI(I,(E)=>IO(E))}function TE(I){return bI(I,(E)=>RE.parse(E))}var RE;var m=W(()=>{sR();IE();K();cR();RE=II(wI(),1)});function tR(I){return I.replace(/\.mdc?$/i,"").split("/").join("-").toLowerCase().replace(aR,"-").replace(eR,"")}function IN(I){let E=n(I);if(E)return E.map((R)=>R.trim()).filter((R)=>R.length>0);let O=S(I);if(!O)return[];return O.split(",").map((R)=>R.trim()).filter((R)=>R.length>0)}function YE(I,E){let O=tR(I);if(!O)return{ok:!1,reason:"filename yields an empty rule name"};let{frontmatter:R,content:N}=OI(E);if(N.trim().length===0)return{ok:!1,reason:"has no body"};let L=UE(R.alwaysApply)===!0,T=IN(R.globs),U=S(R.description);if(!L&&T.length===0)return{ok:!1,reason:U?'is a Cursor "Agent Requested" rule (a description with no globs), which has no Claudin equivalent — a skill is the closest fit':'is a Cursor "Manual" rule (no globs, no alwaysApply), which is only ever loaded by an explicit @-mention'};let H=[],Y=L?void 0:T;if(L)H.push(T.length>0?"alwaysApply overrides its globs — imported unconditional, so it loads every turn":"imported unconditional, so it loads every turn");else H.push("globs translated to paths");if(U)H.push("description moved into the body — rules take no other frontmatter");let A=U?`${U}
254
+
255
+ ${N.trim()}`:N.trim(),X=Y?`---
256
+ ${HE.stringify({paths:Y}).trimEnd()}
257
+ ---
258
+
259
+ ${A}
260
+ `:`${A}
261
+ `;return{ok:!0,rule:{name:O,relativePath:`${O}.md`,markdown:X,...Y?{paths:Y}:{},notes:H}}}var HE,aR,eR;var AE=W(()=>{K();oI();HE=II(wI(),1),aR=/[^a-z0-9]+/g,eR=/^-+|-+$/g});import{join as F}from"path";function GI(I,E){return E==="user"?I.claudinHomeDir:F(I.cwd,".claudin")}function yI(I,E){return F(GI(I,E),"commands")}function OO(I,E){return F(GI(I,E),"agents")}function CE(I,E){return F(GI(I,E),"rules")}function BE(I,E){return F(GI(I,E),"skills")}function GE(I,E){return E==="user"?F(I.claudinHomeDir,"CLAUDE.md"):F(I.cwd,"AGENTS.md")}function WE(I){return[F(I.cwd,"AGENTS.md"),F(I.cwd,"CLAUDE.md")]}function XE(I,E){return F(GI(I,E),"settings.json")}function $E(I){return F(I.claudinHomeDir,`config${BI()}.json`)}var EO=W(()=>{SE()});function C(){return{artifacts:[],notImportable:[],warnings:[]}}function Z(I){return{artifacts:I.flatMap((E)=>E.artifacts),notImportable:I.flatMap((E)=>E.notImportable),warnings:I.flatMap((E)=>E.warnings)}}var v=()=>{};import{join as z}from"path";import{existsSync as RO,readdirSync as ON,statSync as EN}from"fs";function k(I,E,O){return{agent:I.agent,scope:I.scope,source:E,destination:O,status:"new"}}function Q(I,E,O,R){I.warnings.push(`${O} (${E}): ${R}`)}function M(I,E,O,R){let N=C();for(let[L,T]of Object.entries(O)){let U=R(T);if(!U.ok){Q(N,E,`MCP server "${L}"`,U.reason);continue}if(U.note)Q(N,E,`MCP server "${L}"`,U.note);N.artifacts.push({...k(I,E,RN(I)),kind:"mcpServer",name:L,config:U.config})}return N}function RN(I){return I.scope==="user"?"user MCP config":"project MCP config (private)"}function c(I,E,O){let R=C(),N=yI(I.ctx,I.scope);for(let L of RI(E,[".md"])){let T=z(E,L),U=i(T);if(!U.ok){Q(R,T,"command",U.message);continue}let H=iO(L,U.value,O);if(!H.ok){Q(R,T,"command",H.reason);continue}for(let Y of H.command.notes)Q(R,T,`command "${H.command.name}"`,Y);R.artifacts.push({...k(I,T,z(N,H.command.relativePath)),kind:"command",name:H.command.name,markdown:H.command.markdown})}return R}function NO(I,E){let O=C(),R=yI(I.ctx,I.scope);for(let N of RI(E,[".toml"])){let L=z(E,N),T=o(L);if(!T.ok){Q(O,L,"command",T.message);continue}let U=oO(N,T.value);if(!U.ok){Q(O,L,"command",U.reason);continue}for(let H of U.command.notes)Q(O,L,`command "${U.command.name}"`,H);O.artifacts.push({...k(I,L,z(R,U.command.relativePath)),kind:"command",name:U.command.name,markdown:U.command.markdown})}return O}function WI(I,E,O){let R=C(),N=OO(I.ctx,I.scope);for(let L of RI(E,[".md",".yaml",".yml"])){let T=z(E,L),U=L.endsWith(".yaml")||L.endsWith(".yml"),H;if(U){let Y=TE(T);if(!Y.ok){Q(R,T,"agent",Y.message);continue}H=hO(L,Y.value,O)}else{let Y=i(T);if(!Y.ok){Q(R,T,"agent",Y.message);continue}H=yO(L,Y.value,O)}if(!H.ok){Q(R,T,"agent",H.reason);continue}for(let Y of H.agent.notes)Q(R,T,`agent "${H.agent.name}"`,Y);R.artifacts.push({...k(I,T,z(N,H.agent.relativePath)),kind:"agent",name:H.agent.name,markdown:H.agent.markdown})}return R}function VE(I,E){let O=C(),R=CE(I.ctx,I.scope);for(let N of RI(E,[".mdc"])){let L=z(E,N),T=i(L);if(!T.ok){Q(O,L,"rule",T.message);continue}let U=YE(N,T.value);if(!U.ok){Q(O,L,"rule",U.reason);continue}for(let H of U.rule.notes)Q(O,L,`rule "${U.rule.name}"`,H);O.artifacts.push({...k(I,L,z(R,U.rule.relativePath)),kind:"rule",name:U.rule.name,markdown:U.rule.markdown})}return O}function b(I,E){let O=C(),R=i(E);if(!R.ok){if(R.reason!=="missing")Q(O,E,"instructions",R.message);return O}if(R.value.trim().length===0)return O;return O.artifacts.push({...k(I,E,GE(I.ctx,I.scope)),kind:"instructions",text:R.value}),O}function s(I,E){let O=C();if(!RO(E))return O;let R=BE(I.ctx,I.scope),N;try{N=ON(E).sort()}catch{return O}for(let L of N){let T=z(E,L);try{if(!EN(T).isDirectory())continue}catch{continue}if(!RO(z(T,"SKILL.md")))continue;O.artifacts.push({...k(I,T,z(R,L)),kind:"skillDir",name:L,sourceDir:T})}return O}function QE(I,E,O,R){let N=C(),L=Array.isArray(O)?O.length:0,T=Array.isArray(R)?R.length:0;if(L+T===0)return N;return N.notImportable.push({agent:I,label:"permissions",detail:`${L} allow, ${T} deny in ${E} — rule syntax differs, see /permissions`}),N}function LO(I,E,O){let R=C(),N=O==="command"?yI(I.ctx,I.scope):OO(I.ctx,I.scope);for(let L of RI(E,[".md"])){let T=z(E,L),U=i(T);if(!U.ok){Q(R,T,O,U.message);continue}if(U.value.trim().length===0)continue;let H=O==="command"?DI(L):AI(L);if(!H)continue;R.artifacts.push({...k(I,T,z(N,O==="command"?L:`${H}.md`)),kind:O,name:H,markdown:U.value})}return R}function qE(I,E,O,R){let N=C(),L=XE(I.ctx,I.scope);for(let T of R){let U=O[T];if(U===void 0||U===null)continue;N.artifacts.push({...k(I,E,L),kind:"settingsKey",key:T,value:U})}return N}function g(I,E,O){let R=C();if(!O.baseUrl&&!O.model)return R;return R.artifacts.push({...k(I,E,$E(I.ctx)),kind:"providerHint",...O}),R}function XI(I){for(let E of I)if(RO(E))return E;return null}function w(I,E){return $(I[E])}var r=W(()=>{SI();EI();m();AE();K();EO();v();SI();EI();iI()});function hI(I){return I}function HN(I){return I.replace(LN,"${$1}")}function $I(I){return I.replace(TN,"${$1}")}function a(I,E){if(!I)return;let O=Object.entries(I);if(O.length===0)return;return Object.fromEntries(O.map(([R,N])=>[R,E(N)]))}function zE(I,E){let O=ZE().safeParse(I);if(!O.success)return{ok:!1,reason:O.error.issues.slice(0,3).map((N)=>N.message).join("; ")||"does not match any known transport"};return E?{ok:!0,config:O.data,note:E}:{ok:!0,config:O.data}}function jI(I,E,O){return zE({type:"stdio",command:I,args:E??[],...O?{env:O}:{}})}function NI(I,E,O,R){return zE({type:I,url:E,...O?{headers:O}:{}},R)}function VI(I){return JE(I,hI)}function ME(I){return JE(I,HN)}function JE(I,E){let O=$(I);if(!O)return{ok:!1,reason:"entry is not an object"};let R=S(O.type),N=S(O.url);if(N){let U=a(y(O.headers),E);if(R==="sse")return NI("sse",E(N),U);if(R==="http"||R===null)return NI("http",E(N),U,R===null?"no transport declared — imported as streamable HTTP":void 0);return{ok:!1,reason:`unsupported transport "${R}"`}}let L=S(O.command);if(!L)return{ok:!1,reason:"has neither command nor url"};let T=n(O.args??[]);if(!T)return{ok:!1,reason:"args is not a list of strings"};return jI(E(L),T.map(E),a(y(O.env),E))}function KE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};let O=a(y(E.headers),hI),R=S(E.httpUrl);if(R)return NI("http",R,O);let N=S(E.url);if(N)return NI("sse",N,O);let L=S(E.command);if(!L)return{ok:!1,reason:"has none of httpUrl, url or command"};let T=n(E.args??[]);if(!T)return{ok:!1,reason:"args is not a list of strings"};return jI(L,T,a(y(E.env),hI))}function FE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};let O=S(E.url);if(O){let L={...y(E.http_headers)??{}},T=S(E.bearer_token_env_var);if(T&&!("Authorization"in L))L.Authorization=`Bearer \${${T}}`;return NI("http",O,Object.keys(L).length>0?L:void 0)}let R=S(E.command);if(!R)return{ok:!1,reason:"has neither command nor url"};let N=n(E.args??[]);if(!N)return{ok:!1,reason:"args is not a list of strings"};return jI(R,N,a(y(E.env),hI))}function wE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};if(E.enabled===!1)return{ok:!1,reason:"disabled in the opencode config"};if(S(E.type)==="remote"){let Y=S(E.url);if(!Y)return{ok:!1,reason:"remote entry has no url"};return NI("http",$I(Y),a(y(E.headers),$I))}let R=n(E.command);if(!R)return{ok:!1,reason:"command is not a list of strings"};let N=R[0];if(N===void 0)return{ok:!1,reason:"command is empty"};let L=R.slice(1),T=a(y(E.environment),$I),U=R.some((Y)=>UN.test(Y)),H=jI($I(N),L.map($I),T);if(H.ok&&U)return{...H,note:"uses opencode’s {file:…} substitution, which Claudin does not expand"};return H}var LN,TN,UN;var e=W(()=>{NN();K();LN=/\$\{env:([^}]+)\}/g,TN=/\{env:([^}]+)\}/g,UN=/\{file:[^}]+\}/});import{join as J}from"path";function DE(I,E){let O=J(E,"settings.json"),R=_(O),N=[];if(R.ok){let L=w(R.value,"mcpServers");if(L)N.push(M(I,O,L,VI));N.push(qE(I,O,R.value,YN))}else if(R.reason!=="missing"){let L=C();L.warnings.push(R.message),N.push(L)}return N.push(LO(I,J(E,"commands"),"command")),N.push(LO(I,J(E,"agents"),"agent")),N.push(s(I,J(E,"skills"))),Z(N)}function _E(I){return{id:I.id,label:I.label,probePaths:(E)=>[...I.userDirs(E.homeDir).map((O)=>({path:O,scope:"user"})),{path:I.globalConfigFile(E.homeDir),scope:"user"},{path:J(E.cwd,I.projectDirName),scope:"project"}],collect:async(E)=>{let O=[],R={ctx:E,agent:I.id,scope:"user"},N=XI(I.userDirs(E.homeDir));if(N){O.push(DE(R,N)),O.push(b(R,J(N,"CLAUDE.md")));let H=J(N,".credentials.json"),Y=C();Y.notImportable.push({agent:I.id,label:"credentials",detail:`${H} is never copied by /import — sign in with /provider`}),O.push(Y)}let L=I.globalConfigFile(E.homeDir),T=_(L);if(T.ok){let H=w(T.value,"mcpServers");if(H)O.push(M(R,L,H,VI))}let U=J(E.cwd,I.projectDirName);return O.push(DE({ctx:E,agent:I.id,scope:"project"},U)),Z(O)}}}var YN,kE,PE;var vE=W(()=>{r();m();e();v();SE();YN=["theme","model","editorMode","verbose","permissions","customApiKeyResponses"];kE=_E({id:"claude",label:"Claude Code",userDirs:(I)=>[J(I,".claude")],globalConfigFile:(I)=>J(I,`.claude${BI()}.json`),projectDirName:".claude"}),PE=_E({id:"openclaude",label:"openclaude",userDirs:(I)=>[J(I,".openclaude"),J(I,".config","openclaude")],globalConfigFile:(I)=>J(I,`.openclaude${BI()}.json`),projectDirName:".openclaude"})});import{join as h}from"path";function bE(I){return I.env.CODEX_HOME??h(I.homeDir,".codex")}function yE(I,E){let O=o(E);if(!O.ok){if(O.reason==="missing")return null;let N=C();return N.warnings.push(O.message),N}let R=$(O.value.mcp_servers);if(!R)return null;return M(I,E,R,FE)}function AN(I,E){let O=o(E);if(!O.ok)return C();let R=S(O.value.model),N=S(O.value.model_provider)??"openai",L=$(O.value.model_providers),T=L?$(L[N]):null,U=(T?S(T.base_url):null)??(N==="openai"?"https://api.openai.com/v1":null);if(!U&&!R)return C();let H=T?S(T.env_key):null;return g(I,E,{provider:"openai",name:(T?S(T.name):null)??`${N} (from Codex)`,baseUrl:U??"",model:R??"",...H?{envKey:H}:{}})}var hE;var jE=W(()=>{r();EI();e();m();K();v();hE={id:"codex",label:"OpenAI Codex",probePaths:(I)=>[{path:bE(I),scope:"user"},{path:h(I.cwd,".codex"),scope:"project"}],collect:async(I)=>{let E=bE(I),O={ctx:I,agent:"codex",scope:"user"},R=h(E,"config.toml"),N=[],L=yE(O,R);if(L)N.push(L);N.push(AN(O,R)),N.push(b(O,h(E,"AGENTS.md"))),N.push(c(O,h(E,"prompts"),uO)),N.push(s(O,h(E,"skills")));let T={ctx:I,agent:"codex",scope:"project"},U=yE(T,h(I.cwd,".codex","config.toml"));if(U)N.push(U);N.push(s(T,h(I.cwd,".codex","skills")));let H=C();return H.notImportable.push({agent:"codex",label:"credentials",detail:`${h(E,"auth.json")} is never copied by /import — sign in with /provider`}),H.notImportable.push({agent:"codex",label:"approval & sandbox policy",detail:"approval_policy and sandbox_mode have no equivalent — see /permissions"}),N.push(H),Z(N)}}});import{join as t}from"path";function uE(I){return I.env.CURSOR_CONFIG_DIR??t(I.homeDir,".cursor")}function fE(I,E){let O=_(E);if(!O.ok){if(O.reason==="missing")return C();let N=C();return N.warnings.push(O.message),N}let R=w(O.value,"mcpServers");if(!R)return C();return M(I,E,R,ME)}var mE;var gE=W(()=>{r();e();m();K();v();mE={id:"cursor",label:"Cursor",probePaths:(I)=>[{path:uE(I),scope:"user"},{path:t(I.cwd,".cursor"),scope:"project"}],collect:async(I)=>{let E=uE(I),O={ctx:I,agent:"cursor",scope:"user"},R={ctx:I,agent:"cursor",scope:"project"},N=t(I.cwd,".cursor"),L=t(E,"cli-config.json"),T=_(L);return Z([fE(O,t(E,"mcp.json")),fE(R,t(N,"mcp.json")),VE(R,t(N,"rules")),T.ok?QE("cursor",L,x(T.value,"permissions","allow"),x(T.value,"permissions","deny")):C()])}}});import{join as q}from"path";function xE(I,E){if(!I)return E;return S(x(I,"context","fileName"))??S(I.contextFileName)??E}function dE(I){let E=_(I);if(E.ok)return{settings:E.value,warning:null};return{settings:null,warning:E.reason==="missing"?null:E.message}}function pE(I,E,O,R,N){let L=[];if(N){let U=C();U.warnings.push(N),L.push(U)}if(!R)return L;let T=w(R,"mcpServers");if(T)L.push(M(I,O,T,KE));if(I.scope==="user"){let U=S(x(R,"model","name"))??S(R.model),H=S(x(R,"model","baseUrl"))??S(R.baseUrl);if(U||H)L.push(g(I,O,{provider:E.provider,name:`${E.label} (imported)`,baseUrl:H??"",model:U??""}));if(x(R,"security","auth")!==void 0){let Y=C();Y.notImportable.push({agent:E.id,label:"auth settings",detail:`security.auth in ${O} selects a sign-in method — use /provider`}),L.push(Y)}}return L}function lE(I){return{id:I.id,label:I.label,probePaths:(E)=>[{path:q(E.homeDir,I.dirName),scope:"user"},{path:q(E.cwd,I.dirName),scope:"project"}],collect:async(E)=>{let O=[],R=q(E.homeDir,I.dirName),N={ctx:E,agent:I.id,scope:"user"},L=q(R,"settings.json"),T=dE(L);O.push(...pE(N,I,L,T.settings,T.warning));let U=xE(T.settings,I.defaultMemoryFile);if(O.push(b(N,q(R,U))),O.push(NO(N,q(R,"commands"))),O.push(c(N,q(R,"commands"),cI)),I.hasAgents)O.push(WI(N,q(R,"agents"),nI));if(I.hasSkills)O.push(s(N,q(R,"skills")));let H=q(E.cwd,I.dirName),Y={ctx:E,agent:I.id,scope:"project"},A=q(H,"settings.json"),X=dE(A);if(O.push(...pE(Y,I,A,X.settings,X.warning)),O.push(NO(Y,q(H,"commands"))),O.push(c(Y,q(H,"commands"),cI)),I.hasAgents)O.push(WI(Y,q(H,"agents"),nI));let G=xE(X.settings??T.settings,I.defaultMemoryFile);return O.push(b(Y,q(E.cwd,G))),Z(O)}}}var iE,oE;var nE=W(()=>{r();SI();EI();e();m();K();v();iE=lE({id:"gemini",label:"Gemini CLI",dirName:".gemini",defaultMemoryFile:"GEMINI.md",hasAgents:!1,hasSkills:!1,provider:"gemini"}),oE=lE({id:"qwen",label:"Qwen Code",dirName:".qwen",defaultMemoryFile:"QWEN.md",hasAgents:!0,hasSkills:!0,provider:"openai"})});import{join as QI}from"path";function cE(I){return I.env.KIMI_CODE_HOME??QI(I.homeDir,".kimi")}function SN(I,E){let O=o(E);if(!O.ok)return C();let R=$(O.value.providers);if(!R)return C();for(let[N,L]of Object.entries(R)){let T=$(L),U=T?S(T.base_url):null;if(!U)continue;let H=$(O.value.models),Y=H?Object.values(H).map((A)=>$(A)).find((A)=>A&&S(A.provider)===N)?.model??null:null;return g(I,E,{provider:"openai",name:`${N} (from Kimi CLI)`,baseUrl:U,model:S(Y)??""})}return C()}var sE;var rE=W(()=>{r();e();m();K();v();sE={id:"kimi",label:"Kimi CLI",probePaths:(I)=>[{path:cE(I),scope:"user"}],collect:async(I)=>{let E=cE(I),O={ctx:I,agent:"kimi",scope:"user"},R=[],N=QI(E,"mcp.json"),L=_(N);if(L.ok){let U=w(L.value,"mcpServers");if(U)R.push(M(O,N,U,VI))}else if(L.reason!=="missing"){let U=C();U.warnings.push(L.message),R.push(U)}R.push(b(O,QI(E,"AGENTS.md"))),R.push(SN(O,QI(E,"config.toml")));let T=C();return T.notImportable.push({agent:"kimi",label:"credentials",detail:`${QI(E,"credentials")} is never read by /import — sign in with /provider`}),T.notImportable.push({agent:"kimi",label:"agents",detail:"Kimi agents are YAML files loaded by --agent-file, with no directory to discover them in"}),R.push(T),Z(R)}}});import{join as j}from"path";function aE(I){return I.env.OPENCODE_CONFIG_DIR??j(I.env.XDG_CONFIG_HOME??j(I.homeDir,".config"),"opencode")}function eE(I){for(let E of CN){let O=j(I,E),R=LE(O);if(R.ok)return{path:O,result:R};if(R.reason!=="missing")return{path:O,result:R}}return null}function tE(I,E){if(!E)return[];if(!E.result.ok){let T=C();return T.warnings.push(E.result.message),[T]}let O=E.result.value,R=[],N=w(O,"mcp");if(N)R.push(M(I,E.path,N,wE));let L=S(O.model);if(L&&I.scope==="user"){let[T,...U]=L.split("/");R.push(g(I,E.path,{provider:WN[T??""]??"openai",name:`${T??"opencode"} (from opencode)`,baseUrl:"",model:U.join("/")||L}))}if(O.permission!==void 0){let T=C();T.notImportable.push({agent:"opencode",label:"permissions",detail:`the "permission" block in ${E.path} uses opencode's own syntax — see /permissions`}),R.push(T)}return R}function IR(I,E){let O=XI(BN.map((N)=>j(E,N))),R=XI(GN.map((N)=>j(E,N)));return[O?c(I,O,fO):C(),R?WI(I,R,PO):C()]}var CN,BN,GN,WN,OR;var ER=W(()=>{r();SI();EI();e();m();K();v();CN=["opencode.jsonc","opencode.json"],BN=["commands","command"],GN=["agents","agent"],WN={anthropic:"anthropic",google:"gemini","google-vertex":"gemini",gemini:"gemini",mistral:"mistral"};OR={id:"opencode",label:"opencode",probePaths:(I)=>[{path:aE(I),scope:"user"},{path:j(I.cwd,"opencode.json"),scope:"project"},{path:j(I.cwd,"opencode.jsonc"),scope:"project"},{path:j(I.cwd,".opencode"),scope:"project"}],collect:async(I)=>{let E={ctx:I,agent:"opencode",scope:"user"},O={ctx:I,agent:"opencode",scope:"project"},R=aE(I);return Z([...tE(E,eE(R)),...IR(E,R),...tE(O,eE(I.cwd)),...IR(O,j(I.cwd,".opencode"))])}}});function RR(I){return LI.find((E)=>E.id===I)??null}function NR(){return LI.map((I)=>I.label)}var LI;var uI=W(()=>{vE();jE();gE();nE();rE();ER();LI=[kE,PE,hE,iE,oE,OR,sE,mE]});import{homedir as VN}from"os";function UR(I={}){return{homeDir:VN(),cwd:TR(),claudinHomeDir:LR(),env:process.env,...I}}function QN(I){switch(I.kind){case"mcpServer":return`mcpServer:${I.scope}:${I.name}`;case"settingsKey":return`settingsKey:${I.scope}:${I.key}`;case"providerHint":return`providerHint:${I.provider}:${I.baseUrl}:${I.model}`;default:return`${I.kind}:${I.destination}`}}function qN(I,E){let O=new Map;return I.map((R)=>{let N=QN(R),L=O.get(N);if(!L)return O.set(N,R),R;return{...R,status:"conflict",statusReason:`also provided by ${E(L.agent)}, which was selected first`}})}async function HR(I,E){let O=C(),R=new Map;for(let N of E){let L=RR(N);if(!L)continue;R.set(N,L.label);try{let T=await L.collect(I);O.artifacts.push(...T.artifacts),O.notImportable.push(...T.notImportable),O.warnings.push(...T.warnings)}catch(T){KI(T),O.warnings.push(`${L.label}: could not be read (${T instanceof Error?T.message:String(T)})`)}}return O.artifacts=qN(O.artifacts,(N)=>R.get(N)??N),O}var YR=W(()=>{uI();v();XN();$N();MO()});import{existsSync as ZN}from"fs";function AR(I){let E=[];for(let O of LI){let R=O.probePaths(I).filter((N)=>ZN(N.path));if(R.length===0)continue;E.push({id:O.id,label:O.label,roots:R})}return E}var SR=W(()=>{uI()});import{existsSync as MN,readFileSync as JN}from"fs";import{basename as CR}from"path";function FN(I,E,O){if(I.status==="conflict")return I;switch(I.kind){case"mcpServer":{if(!O.mcpServerNames(I.scope).has(I.name))return I;return{...I,status:"conflict",statusReason:`an MCP server called "${I.name}" is already configured — see /mcp`}}case"instructions":{let N=(I.scope==="project"?WE(E):[I.destination]).find(O.fileExists);if(!N)return I;if(O.readFileIfExists(N)===I.text)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${CR(N)} already exists here`}}case"command":case"agent":case"rule":{if(!O.fileExists(I.destination))return I;if(O.readFileIfExists(I.destination)===I.markdown)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${CR(I.destination)} already exists`}}case"skillDir":{if(!O.fileExists(I.destination))return I;return{...I,status:"conflict",statusReason:`a skill called "${I.name}" already exists`}}case"settingsKey":{if(!O.settingsKeys(I.destination).has(I.key))return I;return{...I,status:"conflict",statusReason:`"${I.key}" is already set — see /config`}}case"providerHint":{if(!O.providerProfiles().some((N)=>N.baseUrl===I.baseUrl&&N.model===I.model))return I;return{...I,status:"identical",statusReason:"a provider profile with this base URL and model exists"}}}}function XR(I,E,O=KN){return{...I,artifacts:I.artifacts.map((R)=>FN(R,E,O))}}var KN;var $R=W(()=>{zN();EO();iI();zO();KN={fileExists:MN,readFileIfExists:(I)=>{try{return JN(I,"utf8")}catch{return null}},mcpServerNames:(I)=>new Set(Object.keys((I==="user"?BR().mcpServers:GR().mcpServers)??{})),settingsKeys:(I)=>new Set(Object.keys(FI(I)??{})),providerProfiles:()=>WR().map((I)=>({baseUrl:I.baseUrl,model:I.model}))}});function DN(I){let E=I.trim().toLowerCase().split(/[\s,]+/).filter((O)=>O.length>0);if(E.length===0)return[];return LI.filter((O)=>E.includes(O.id)||E.includes(O.label.toLowerCase())).map((O)=>O.id)}function _N({args:I,onDone:E}){let[O,R]=TI.useState({kind:"loading"});TI.useEffect(()=>{let H=!1;return(async()=>{let Y=UR(),A=AR(Y),X=DN(I),G=X.length>0?A.filter((UI)=>X.includes(UI.id)):A;if(G.length===0){E(`No other AI coding agents detected (looked for: ${NR().join(", ")}).`);return}let d=await HR(Y,G.map((UI)=>UI.id)),qI=XR(d,Y),TO=YO(G,qI,Y.homeDir);if(H)return;if(TO.length===0){let UI=G.map((QR)=>QR.label).join(", ");E(`Found ${UI}, but there is nothing left to import.`);return}R({kind:"selecting",ctx:Y,plan:qI,entries:TO})})(),()=>{H=!0}},[]);let N=TI.useCallback(async(H,Y,A,X)=>{R({kind:"applying"});let G=await DO(H,Y,{overwriteConflicts:A});E(HO(G,X))},[E]);if(O.kind==="loading")return V(P,{marginBottom:1,children:V(u,{dimColor:!0,children:"Looking for other AI coding agents…"})});if(O.kind==="applying")return V(P,{marginBottom:1,children:V(u,{dimColor:!0,children:"Importing…"})});if(O.kind==="confirming"){let{plan:H,artifacts:Y,conflicts:A,homeDir:X}=O;return JI(P,{flexDirection:"column",marginBottom:1,children:[V(u,{bold:!0,children:`${A} of the selected item${A===1?"":"s"} already exist${A===1?"s":""} here.`}),V(VR,{options:[{value:"keep",label:"Import the rest, keep what I already have",description:"Conflicts are listed in the report and left alone."},{value:"overwrite",label:`Import everything, overwriting ${A}`,description:"Replaces the existing values with the imported ones."},{value:"cancel",label:"Cancel",description:"Write nothing."}],onChange:(G)=>{if(G==="cancel"){E();return}N(H,Y,G==="overwrite",X)},onCancel:()=>E(),visibleOptionCount:3})]})}let{ctx:L,plan:T,entries:U}=O;return V($O,{entries:U,notImportable:[...new Set(T.notImportable.map((H)=>H.label))],onCancel:()=>E(),onSubmit:(H)=>{let Y=CO(U,new Set(H));if(Y.length===0){E("Nothing selected — nothing imported.");return}let A=BO(Y);if(A>0){R({kind:"confirming",plan:T,artifacts:Y,conflicts:A,homeDir:L.homeDir});return}N(T,Y,!1,L.homeDir)}})}async function PU(I,E,O){return V(_N,{args:O??"",onDone:I})}var TI;var kN=W(()=>{VO();pI();_O();YR();SR();$R();xI();uI();WO();wN();MI();TI=II(GO(),1)});kN();export{PU as call};
@@ -0,0 +1 @@
1
+ import{$ as a,aa as b,ba as c,ca as d}from"./cli-1.1.33-c5j1t4gd.mjs";import"./cli-1.1.33-yd2b6czv.mjs";import"./cli-1.1.33-525zf497.mjs";import"./cli-1.1.33-t8cxmf0c.mjs";import"./cli-1.1.33-v08vb0sv.mjs";import"./cli-1.1.33-kqsskxv0.mjs";import"./cli-1.1.33-q8hq263y.mjs";import"./cli-1.1.33-7b2yeb1x.mjs";import"./cli-1.1.33-0kvxjey5.mjs";import"./cli-1.1.33-j6ep4mfm.mjs";import"./cli-1.1.33-a6dvne78.mjs";import"./cli-1.1.33-20v60hvd.mjs";import"./cli-1.1.33-n2d1txyn.mjs";import"./cli-1.1.33-dv29f6yk.mjs";import"./cli-1.1.33-zqqj4d1f.mjs";import"./cli-1.1.33-f83qf2zv.mjs";import"./cli-1.1.33-3de2dtv6.mjs";import"./cli-1.1.33-283f43sy.mjs";import"./cli-1.1.33-241y9eee.mjs";import"./cli-1.1.33-7qr8n3qn.mjs";import"./cli-1.1.33-90w26xxw.mjs";import"./cli-1.1.33-ad43mr1x.mjs";import"./cli-1.1.33-87p06j57.mjs";import"./cli-1.1.33-5ehc9tkd.mjs";import"./cli-1.1.33-pw7bmns5.mjs";import"./cli-1.1.33-cfj1bzen.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
@@ -0,0 +1,9 @@
1
+ import{P7 as V}from"./cli-1.1.33-rrvgm0jd.mjs";import{r8 as W}from"./cli-1.1.33-rr5sxpa0.mjs";import{v8 as g}from"./cli-1.1.33-nq2hxcp4.mjs";import"./cli-1.1.33-6fq5cn5g.mjs";import{pqa as H,tqa as F,uqa as O}from"./cli-1.1.33-cfj1bzen.mjs";function M(b,q){let j=N(b),B,G,z,Q=async(J)=>{if(J?.forceRefresh)return await j(J);if(z?.expiration){if(z?.expiration?.getTime()<Date.now())z=void 0}if(B)await B;else if(!z||q?.(z))if(z){if(!G)G=j(J).then((X)=>{z=X}).finally(()=>{G=void 0})}else return B=j(J).then((X)=>{z=X}).finally(()=>{B=void 0}),Q(J);return z};return Q}var Y,K,h,Z="AWS_EC2_METADATA_DISABLED",x=async(b)=>{let{ENV_CMDS_FULL_URI:q,ENV_CMDS_RELATIVE_URI:j,fromContainerMetadata:B,fromInstanceMetadata:G}=await import("./index-1.1.33-20n0wyay.mjs");if(process.env[j]||process.env[q]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:z}=await import("./index-1.1.33-1cyg72cg.mjs").then((m)=>H(m.default,1));return K.chain(z(b),B(b))}if(process.env[Z]&&process.env[Z]!=="false")return async()=>{throw new K.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),G(b)},N=(b)=>async(q)=>{let j;for(let B of b)try{return await B(q)}catch(G){if(j=G,G?.tryNextLink)continue;throw G}throw j},$=!1,T=(b={})=>M([async()=>{if(b.profile??process.env[h.ENV_PROFILE]){if(process.env[Y.ENV_KEY]&&process.env[Y.ENV_SECRET]){if(!$)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn.bind(b.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
+ Multiple credential sources detected:
3
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
4
+ This SDK will proceed with the AWS_PROFILE value.
5
+
6
+ However, a future version may change this behavior to prefer the ENV static credentials.
7
+ Please ensure that your environment only sets either the AWS_PROFILE or the
8
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
9
+ `),$=!0}throw new K.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Y.fromEnv(b)()},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:j,ssoAccountId:B,ssoRegion:G,ssoRoleName:z,ssoSession:Q}=b;if(!j&&!B&&!G&&!z&&!Q)throw new K.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});let{fromSSO:J}=await import("./index-1.1.33-4e6weswv.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-1.1.33-x6vn8g63.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-1.1.33-av56945n.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-1.1.33-sj1fgs0b.mjs").then((m)=>H(m.default,1));return j(b)(q)},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await x(b))()},async()=>{throw new K.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}],D),U=(b)=>b?.expiration!==void 0,D=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000,C,u,A;var R=F(()=>{Y=V(),K=g(),h=W();C=D,u=U,A=T});R();export{A as defaultProvider,u as credentialsWillNeedRefresh,C as credentialsTreatedAsExpired};export default {get defaultProvider(){return A},get credentialsWillNeedRefresh(){return u},get credentialsTreatedAsExpired(){return C}};
@@ -0,0 +1,5 @@
1
+ import{u8 as ve,v8 as L}from"./cli-1.1.33-nq2hxcp4.mjs";import{hqa as _e}from"./cli-1.1.33-22addsh7.mjs";import{kqa as Ke,nqa as he,oqa as Se}from"./cli-1.1.33-6fq5cn5g.mjs";import{rqa as H,uqa as xe}from"./cli-1.1.33-cfj1bzen.mjs";var le=H((yt,V)=>{var J,$,G,Q,X,Y,Z,z,s,p,k,x,_,U,q,v,ee,te,I,ne,re,ue,ce,fe,be,ie,ae,me,W,Pe,ge,Oe;(function(f){var j=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(g){f(d(j,d(g)))});else if(typeof V==="object"&&typeof yt==="object")f(d(j,d(yt)));else f(d(j));function d(g,O){if(g!==j)if(typeof Object.create==="function")Object.defineProperty(g,"__esModule",{value:!0});else g.__esModule=!0;return function(e,t){return g[e]=O?O(e,t):t}}})(function(f){var j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};J=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");j(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u))e[u]=t[u]}return e},G=function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var u=0,r=Object.getOwnPropertySymbols(e);u<r.length;u++)if(t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u]))n[r[u]]=e[r[u]]}return n},Q=function(e,t,n,r){var u=arguments.length,c=u<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")c=Reflect.decorate(e,t,n,r);else for(var P=e.length-1;P>=0;P--)if(i=e[P])c=(u<3?i(c):u>3?i(t,n,c):i(t,n))||c;return u>3&&c&&Object.defineProperty(t,n,c),c},X=function(e,t){return function(n,r){t(n,r,e)}},Y=function(e,t,n,r,u,c){function i(N){if(N!==void 0&&typeof N!=="function")throw TypeError("Function expected");return N}var P=r.kind,h=P==="getter"?"get":P==="setter"?"set":"value",a=!t&&e?r.static?e:e.prototype:null,S=t||(a?Object.getOwnPropertyDescriptor(a,r.name):{}),C,M=!1;for(var l=n.length-1;l>=0;l--){var T={};for(var E in r)T[E]=E==="access"?{}:r[E];for(var E in r.access)T.access[E]=r.access[E];T.addInitializer=function(N){if(M)throw TypeError("Cannot add initializers after decoration has completed");c.push(i(N||null))};var D=(0,n[l])(P==="accessor"?{get:S.get,set:S.set}:S[h],T);if(P==="accessor"){if(D===void 0)continue;if(D===null||typeof D!=="object")throw TypeError("Object expected");if(C=i(D.get))S.get=C;if(C=i(D.set))S.set=C;if(C=i(D.init))u.unshift(C)}else if(C=i(D))if(P==="field")u.unshift(C);else S[h]=C}if(a)Object.defineProperty(a,r.name,S);M=!0},Z=function(e,t,n){var r=arguments.length>2;for(var u=0;u<t.length;u++)n=r?t[u].call(e,n):t[u].call(e);return r?n:void 0},z=function(e){return typeof e==="symbol"?e:"".concat(e)},s=function(e,t,n){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},p=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},k=function(e,t,n,r){function u(c){return c instanceof n?c:new n(function(i){i(c)})}return new(n||(n=Promise))(function(c,i){function P(S){try{a(r.next(S))}catch(C){i(C)}}function h(S){try{a(r.throw(S))}catch(C){i(C)}}function a(S){S.done?c(S.value):u(S.value).then(P,h)}a((r=r.apply(e,t||[])).next())})},x=function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,u,c,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=P(0),i.throw=P(1),i.return=P(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function P(a){return function(S){return h([a,S])}}function h(a){if(r)throw TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(n=0)),n)try{if(r=1,u&&(c=a[0]&2?u.return:a[0]?u.throw||((c=u.return)&&c.call(u),0):u.next)&&!(c=c.call(u,a[1])).done)return c;if(u=0,c)a=[a[0]&2,c.value];switch(a[0]){case 0:case 1:c=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,u=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if((c=n.trys,!(c=c.length>0&&c[c.length-1]))&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!c||a[1]>c[0]&&a[1]<c[3])){n.label=a[1];break}if(a[0]===6&&n.label<c[1]){n.label=c[1],c=a;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(a);break}if(c[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(S){a=[6,S],u=0}finally{r=c=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_=function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))W(t,e,n)},W=Object.create?function(e,t,n,r){if(r===void 0)r=n;var u=Object.getOwnPropertyDescriptor(t,n);if(!u||("get"in u?!t.__esModule:u.writable||u.configurable))u={enumerable:!0,get:function(){return t[n]}};Object.defineProperty(e,r,u)}:function(e,t,n,r){if(r===void 0)r=n;e[r]=t[n]},U=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&r>=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),u,c=[],i;try{while((t===void 0||t-- >0)&&!(u=r.next()).done)c.push(u.value)}catch(P){i={error:P}}finally{try{if(u&&!u.done&&(n=r.return))n.call(r)}finally{if(i)throw i.error}}return c},v=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(q(arguments[t]));return e},ee=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),u=0,t=0;t<n;t++)for(var c=arguments[t],i=0,P=c.length;i<P;i++,u++)r[u]=c[i];return r},te=function(e,t,n){if(n||arguments.length===2){for(var r=0,u=t.length,c;r<u;r++)if(c||!(r in t)){if(!c)c=Array.prototype.slice.call(t,0,r);c[r]=t[r]}}return e.concat(c||Array.prototype.slice.call(t))},I=function(e){return this instanceof I?(this.v=e,this):new I(e)},ne=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),u,c=[];return u=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),P("next"),P("throw"),P("return",i),u[Symbol.asyncIterator]=function(){return this},u;function i(l){return function(T){return Promise.resolve(T).then(l,C)}}function P(l,T){if(r[l]){if(u[l]=function(E){return new Promise(function(D,N){c.push([l,E,D,N])>1||h(l,E)})},T)u[l]=T(u[l])}}function h(l,T){try{a(r[l](T))}catch(E){M(c[0][3],E)}}function a(l){l.value instanceof I?Promise.resolve(l.value.v).then(S,C):M(c[0][2],l)}function S(l){h("next",l)}function C(l){h("throw",l)}function M(l,T){if(l(T),c.shift(),c.length)h(c[0][0],c[0][1])}},re=function(e){var t,n;return t={},r("next"),r("throw",function(u){throw u}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(u,c){t[u]=e[u]?function(i){return(n=!n)?{value:I(e[u](i)),done:!1}:c?c(i):i}:c}},ue=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof U==="function"?U(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(c){n[c]=e[c]&&function(i){return new Promise(function(P,h){i=e[c](i),u(P,h,i.done,i.value)})}}function u(c,i,P,h){Promise.resolve(h).then(function(a){c({value:a,done:P})},i)}},ce=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var d=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},g=function(e){return g=Object.getOwnPropertyNames||function(t){var n=[];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))n[n.length]=r;return n},g(e)};fe=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n=g(e),r=0;r<n.length;r++)if(n[r]!=="default")W(t,e,n[r])}return d(t,e),t},be=function(e){return e&&e.__esModule?e:{default:e}},ie=function(e,t,n,r){if(n==="a"&&!r)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},ae=function(e,t,n,r,u){if(r==="m")throw TypeError("Private method is not writable");if(r==="a"&&!u)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!u:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?u.call(e,n):u?u.value=n:t.set(e,n),n},me=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},Pe=function(e,t,n){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var r,u;if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(r=t[Symbol.dispose],n)u=r}if(typeof r!=="function")throw TypeError("Object not disposable.");if(u)r=function(){try{u.call(this)}catch(c){return Promise.reject(c)}};e.stack.push({value:t,dispose:r,async:n})}else if(n)e.stack.push({async:!0});return t};var O=typeof SuppressedError==="function"?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};ge=function(e){function t(c){e.error=e.hasError?new O(c,e.error,"An error was suppressed during disposal."):c,e.hasError=!0}var n,r=0;function u(){while(n=e.stack.pop())try{if(!n.async&&r===1)return r=0,e.stack.push(n),Promise.resolve().then(u);if(n.dispose){var c=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(c).then(u,function(i){return t(i),u()})}else r|=1}catch(i){t(i)}if(r===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return u()},Oe=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(n,r,u,c,i){return r?t?".jsx":".js":u&&(!c||!i)?n:u+c+"."+i.toLowerCase()+"js"});return e},f("__extends",J),f("__assign",$),f("__rest",G),f("__decorate",Q),f("__param",X),f("__esDecorate",Y),f("__runInitializers",Z),f("__propKey",z),f("__setFunctionName",s),f("__metadata",p),f("__awaiter",k),f("__generator",x),f("__exportStar",_),f("__createBinding",W),f("__values",U),f("__read",q),f("__spread",v),f("__spreadArrays",ee),f("__spreadArray",te),f("__await",I),f("__asyncGenerator",ne),f("__asyncDelegator",re),f("__asyncValues",ue),f("__makeTemplateObject",ce),f("__importStar",fe),f("__importDefault",be),f("__classPrivateFieldGet",ie),f("__classPrivateFieldSet",ae),f("__classPrivateFieldIn",me),f("__addDisposableResource",Pe),f("__disposeResources",ge),f("__rewriteRelativeImportExtension",Oe)})});var je=H((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.checkUrl=void 0;var We=L(),Ve="169.254.170.2",qe="169.254.170.23",Le="[fd00:ec2::23]",Ae=(f,j)=>{if(f.protocol==="https:")return;if(f.hostname===Ve||f.hostname===qe||f.hostname===Le)return;if(f.hostname.includes("[")){if(f.hostname==="[::1]"||f.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(f.hostname==="localhost")return;let d=f.hostname.split("."),g=(O)=>{let e=parseInt(O,10);return 0<=e&&e<=255};if(d[0]==="127"&&g(d[1])&&g(d[2])&&g(d[3])&&d.length===4)return}throw new We.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
2
+ - loopback CIDR 127.0.0.0/8 or [::1/128]
3
+ - ECS container host 169.254.170.2
4
+ - EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:j})};ye.checkUrl=Ae});var Ce=H((B)=>{Object.defineProperty(B,"__esModule",{value:!0});B.resolveHttpHandlerRuntimeConfig=B.getHttpHandlerExtensionConfiguration=B.isValidHostname=B.HttpResponse=B.HttpRequest=B.Fields=B.Field=void 0;var F=Se();Object.defineProperty(B,"Field",{enumerable:!0,get:function(){return F.Field}});Object.defineProperty(B,"Fields",{enumerable:!0,get:function(){return F.Fields}});Object.defineProperty(B,"HttpRequest",{enumerable:!0,get:function(){return F.HttpRequest}});Object.defineProperty(B,"HttpResponse",{enumerable:!0,get:function(){return F.HttpResponse}});Object.defineProperty(B,"isValidHostname",{enumerable:!0,get:function(){return F.isValidHostname}});Object.defineProperty(B,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return F.getHttpHandlerExtensionConfiguration}});Object.defineProperty(B,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return F.resolveHttpHandlerRuntimeConfig}})});var Te=H((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.createAggregatedClient=b.convertMap=b._json=b.ServiceException=b.SENSITIVE_STRING=b.NoOpLogger=b.Command=b.Client=b.strictParseShort=b.strictParseLong=b.strictParseInt32=b.strictParseInt=b.strictParseFloat32=b.strictParseFloat=b.strictParseDouble=b.strictParseByte=b.splitHeader=b.splitEvery=b.quoteHeader=b.parseRfc7231DateTime=b.parseRfc3339DateTimeWithOffset=b.parseRfc3339DateTime=b.parseEpochTimestamp=b.parseBoolean=b.nv=b.logger=b.limitedParseFloat32=b.limitedParseFloat=b.limitedParseDouble=b.handleFloat=b.generateIdempotencyToken=b.expectUnion=b.expectString=b.expectShort=b.expectObject=b.expectNumber=b.expectNonNull=b.expectLong=b.expectInt32=b.expectInt=b.expectFloat32=b.expectByte=b.expectBoolean=b.dateToUtcString=b.copyDocumentWithTransform=b._parseRfc7231DateTime=b._parseRfc3339DateTimeWithOffset=b._parseEpochTimestamp=b.NumericValue=b.LazyJsonString=void 0;b.resolvedPath=b.extendedEncodeURIComponent=b.collectBody=b.withBaseException=b.throwDefaultError=b.take=b.serializeFloat=b.serializeDateTime=b.resolveDefaultRuntimeConfig=b.map=b.loadConfigsForDefaultMode=b.isSerializableHeaderValue=b.getValueFromTextNode=b.getDefaultExtensionConfiguration=b.getDefaultClientConfiguration=b.getArrayIfSingleItem=b.emitWarningIfUnsupportedVersion=b.decorateServiceException=void 0;var m=he();Object.defineProperty(b,"LazyJsonString",{enumerable:!0,get:function(){return m.LazyJsonString}});Object.defineProperty(b,"NumericValue",{enumerable:!0,get:function(){return m.NumericValue}});Object.defineProperty(b,"_parseEpochTimestamp",{enumerable:!0,get:function(){return m._parseEpochTimestamp}});Object.defineProperty(b,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m._parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return m._parseRfc7231DateTime}});Object.defineProperty(b,"copyDocumentWithTransform",{enumerable:!0,get:function(){return m.copyDocumentWithTransform}});Object.defineProperty(b,"dateToUtcString",{enumerable:!0,get:function(){return m.dateToUtcString}});Object.defineProperty(b,"expectBoolean",{enumerable:!0,get:function(){return m.expectBoolean}});Object.defineProperty(b,"expectByte",{enumerable:!0,get:function(){return m.expectByte}});Object.defineProperty(b,"expectFloat32",{enumerable:!0,get:function(){return m.expectFloat32}});Object.defineProperty(b,"expectInt",{enumerable:!0,get:function(){return m.expectInt}});Object.defineProperty(b,"expectInt32",{enumerable:!0,get:function(){return m.expectInt32}});Object.defineProperty(b,"expectLong",{enumerable:!0,get:function(){return m.expectLong}});Object.defineProperty(b,"expectNonNull",{enumerable:!0,get:function(){return m.expectNonNull}});Object.defineProperty(b,"expectNumber",{enumerable:!0,get:function(){return m.expectNumber}});Object.defineProperty(b,"expectObject",{enumerable:!0,get:function(){return m.expectObject}});Object.defineProperty(b,"expectShort",{enumerable:!0,get:function(){return m.expectShort}});Object.defineProperty(b,"expectString",{enumerable:!0,get:function(){return m.expectString}});Object.defineProperty(b,"expectUnion",{enumerable:!0,get:function(){return m.expectUnion}});Object.defineProperty(b,"generateIdempotencyToken",{enumerable:!0,get:function(){return m.generateIdempotencyToken}});Object.defineProperty(b,"handleFloat",{enumerable:!0,get:function(){return m.handleFloat}});Object.defineProperty(b,"limitedParseDouble",{enumerable:!0,get:function(){return m.limitedParseDouble}});Object.defineProperty(b,"limitedParseFloat",{enumerable:!0,get:function(){return m.limitedParseFloat}});Object.defineProperty(b,"limitedParseFloat32",{enumerable:!0,get:function(){return m.limitedParseFloat32}});Object.defineProperty(b,"logger",{enumerable:!0,get:function(){return m.logger}});Object.defineProperty(b,"nv",{enumerable:!0,get:function(){return m.nv}});Object.defineProperty(b,"parseBoolean",{enumerable:!0,get:function(){return m.parseBoolean}});Object.defineProperty(b,"parseEpochTimestamp",{enumerable:!0,get:function(){return m.parseEpochTimestamp}});Object.defineProperty(b,"parseRfc3339DateTime",{enumerable:!0,get:function(){return m.parseRfc3339DateTime}});Object.defineProperty(b,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m.parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"parseRfc7231DateTime",{enumerable:!0,get:function(){return m.parseRfc7231DateTime}});Object.defineProperty(b,"quoteHeader",{enumerable:!0,get:function(){return m.quoteHeader}});Object.defineProperty(b,"splitEvery",{enumerable:!0,get:function(){return m.splitEvery}});Object.defineProperty(b,"splitHeader",{enumerable:!0,get:function(){return m.splitHeader}});Object.defineProperty(b,"strictParseByte",{enumerable:!0,get:function(){return m.strictParseByte}});Object.defineProperty(b,"strictParseDouble",{enumerable:!0,get:function(){return m.strictParseDouble}});Object.defineProperty(b,"strictParseFloat",{enumerable:!0,get:function(){return m.strictParseFloat}});Object.defineProperty(b,"strictParseFloat32",{enumerable:!0,get:function(){return m.strictParseFloat32}});Object.defineProperty(b,"strictParseInt",{enumerable:!0,get:function(){return m.strictParseInt}});Object.defineProperty(b,"strictParseInt32",{enumerable:!0,get:function(){return m.strictParseInt32}});Object.defineProperty(b,"strictParseLong",{enumerable:!0,get:function(){return m.strictParseLong}});Object.defineProperty(b,"strictParseShort",{enumerable:!0,get:function(){return m.strictParseShort}});var y=Ke();Object.defineProperty(b,"Client",{enumerable:!0,get:function(){return y.Client}});Object.defineProperty(b,"Command",{enumerable:!0,get:function(){return y.Command}});Object.defineProperty(b,"NoOpLogger",{enumerable:!0,get:function(){return y.NoOpLogger}});Object.defineProperty(b,"SENSITIVE_STRING",{enumerable:!0,get:function(){return y.SENSITIVE_STRING}});Object.defineProperty(b,"ServiceException",{enumerable:!0,get:function(){return y.ServiceException}});Object.defineProperty(b,"_json",{enumerable:!0,get:function(){return y._json}});Object.defineProperty(b,"convertMap",{enumerable:!0,get:function(){return y.convertMap}});Object.defineProperty(b,"createAggregatedClient",{enumerable:!0,get:function(){return y.createAggregatedClient}});Object.defineProperty(b,"decorateServiceException",{enumerable:!0,get:function(){return y.decorateServiceException}});Object.defineProperty(b,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return y.emitWarningIfUnsupportedVersion}});Object.defineProperty(b,"getArrayIfSingleItem",{enumerable:!0,get:function(){return y.getArrayIfSingleItem}});Object.defineProperty(b,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return y.getDefaultClientConfiguration}});Object.defineProperty(b,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return y.getDefaultExtensionConfiguration}});Object.defineProperty(b,"getValueFromTextNode",{enumerable:!0,get:function(){return y.getValueFromTextNode}});Object.defineProperty(b,"isSerializableHeaderValue",{enumerable:!0,get:function(){return y.isSerializableHeaderValue}});Object.defineProperty(b,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return y.loadConfigsForDefaultMode}});Object.defineProperty(b,"map",{enumerable:!0,get:function(){return y.map}});Object.defineProperty(b,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return y.resolveDefaultRuntimeConfig}});Object.defineProperty(b,"serializeDateTime",{enumerable:!0,get:function(){return y.serializeDateTime}});Object.defineProperty(b,"serializeFloat",{enumerable:!0,get:function(){return y.serializeFloat}});Object.defineProperty(b,"take",{enumerable:!0,get:function(){return y.take}});Object.defineProperty(b,"throwDefaultError",{enumerable:!0,get:function(){return y.throwDefaultError}});Object.defineProperty(b,"withBaseException",{enumerable:!0,get:function(){return y.withBaseException}});var A=Se();Object.defineProperty(b,"collectBody",{enumerable:!0,get:function(){return A.collectBody}});Object.defineProperty(b,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return A.extendedEncodeURIComponent}});Object.defineProperty(b,"resolvedPath",{enumerable:!0,get:function(){return A.resolvedPath}})});var oe=H((o)=>{Object.defineProperty(o,"__esModule",{value:!0});o.isBlob=o.isReadableStream=o.splitStream=o.sdkStreamMixin=o.headStream=o.getAwsChunkedEncodingStream=o.createBufferedReadable=o.createChecksumStream=o.ChecksumStream=o.Uint8ArrayBlobAdapter=void 0;var R=he();Object.defineProperty(o,"Uint8ArrayBlobAdapter",{enumerable:!0,get:function(){return R.Uint8ArrayBlobAdapter}});Object.defineProperty(o,"ChecksumStream",{enumerable:!0,get:function(){return R.ChecksumStream}});Object.defineProperty(o,"createChecksumStream",{enumerable:!0,get:function(){return R.createChecksumStream}});Object.defineProperty(o,"createBufferedReadable",{enumerable:!0,get:function(){return R.createBufferedReadable}});Object.defineProperty(o,"getAwsChunkedEncodingStream",{enumerable:!0,get:function(){return R.getAwsChunkedEncodingStream}});Object.defineProperty(o,"headStream",{enumerable:!0,get:function(){return R.headStream}});Object.defineProperty(o,"sdkStreamMixin",{enumerable:!0,get:function(){return R.sdkStreamMixin}});Object.defineProperty(o,"splitStream",{enumerable:!0,get:function(){return R.splitStream}});Object.defineProperty(o,"isReadableStream",{enumerable:!0,get:function(){return R.isReadableStream}});Object.defineProperty(o,"isBlob",{enumerable:!0,get:function(){return R.isBlob}})});var Re=H((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.createGetRequest=Ze;Ee.getCredentials=ze;var w=L(),Qe=Ce(),Xe=Te(),Ye=oe();function Ze(f){return new Qe.HttpRequest({protocol:f.protocol,hostname:f.hostname,port:Number(f.port),path:f.pathname,query:Array.from(f.searchParams.entries()).reduce((j,[d,g])=>{return j[d]=g,j},{}),fragment:f.hash})}async function ze(f,j){let g=await(0,Ye.sdkStreamMixin)(f.body).transformToString();if(f.statusCode===200){let O=JSON.parse(g);if(typeof O.AccessKeyId!=="string"||typeof O.SecretAccessKey!=="string"||typeof O.Token!=="string"||typeof O.Expiration!=="string")throw new w.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:j});return{accessKeyId:O.AccessKeyId,secretAccessKey:O.SecretAccessKey,sessionToken:O.Token,expiration:(0,Xe.parseRfc3339DateTime)(O.Expiration)}}if(f.statusCode>=400&&f.statusCode<500){let O={};try{O=JSON.parse(g)}catch(e){}throw Object.assign(new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j}),{Code:O.Code,Message:O.Message})}throw new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j})}});var Be=H((De)=>{Object.defineProperty(De,"__esModule",{value:!0});De.retryWrapper=void 0;var ke=(f,j,d)=>{return async()=>{for(let g=0;g<j;++g)try{return await f()}catch(O){await new Promise((e)=>setTimeout(e,d))}return await f()}};De.retryWrapper=ke});var Ue=H((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.fromHttp=void 0;var et=le(),tt=ve(),nt=_e(),Ne=L(),rt=et.__importDefault(xe("node:fs/promises")),ut=je(),Fe=Re(),ct=Be(),ft="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",bt="http://169.254.170.2",it="AWS_CONTAINER_CREDENTIALS_FULL_URI",at="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",mt="AWS_CONTAINER_AUTHORIZATION_TOKEN",Pt=(f={})=>{f.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let j,d=f.awsContainerCredentialsRelativeUri??process.env[ft],g=f.awsContainerCredentialsFullUri??process.env[it],O=f.awsContainerAuthorizationToken??process.env[mt],e=f.awsContainerAuthorizationTokenFile??process.env[at],t=f.logger?.constructor?.name==="NoOpLogger"||!f.logger?.warn?console.warn:f.logger.warn.bind(f.logger);if(d&&g)t("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."),t("awsContainerCredentialsFullUri will take precedence.");if(O&&e)t("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."),t("awsContainerAuthorizationToken will take precedence.");if(g)j=g;else if(d)j=`${bt}${d}`;else throw new Ne.CredentialsProviderError(`No HTTP credential provider host provided.
5
+ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:f.logger});let n=new URL(j);(0,ut.checkUrl)(n,f.logger);let r=nt.NodeHttpHandler.create({requestTimeout:f.timeout??1000,connectionTimeout:f.timeout??1000});return(0,ct.retryWrapper)(async()=>{let u=(0,Fe.createGetRequest)(n);if(O)u.headers.Authorization=O;else if(e)u.headers.Authorization=(await rt.default.readFile(e)).toString();try{let c=await r.handle(u);return(0,Fe.getCredentials)(c.response).then((i)=>(0,tt.setCredentialFeature)(i,"CREDENTIALS_HTTP","z"))}catch(c){throw new Ne.CredentialsProviderError(String(c),{logger:f.logger})}},f.maxRetries??3,f.timeout??1000)};Ie.fromHttp=Pt});var lt=H((K)=>{Object.defineProperty(K,"__esModule",{value:!0});K.fromHttp=void 0;var gt=Ue();Object.defineProperty(K,"fromHttp",{enumerable:!0,get:function(){return gt.fromHttp}})});export default lt();
@@ -0,0 +1,2 @@
1
+ import{lqa as u,oqa as k}from"./cli-1.1.33-6fq5cn5g.mjs";import{tqa as f,uqa as y}from"./cli-1.1.33-cfj1bzen.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}};
@@ -0,0 +1 @@
1
+ import{BE as a,CE as b,DE as c,EE as d,FE as e,GE as f,HE as g,IE as h,JE as i,KE as j,LE as k}from"./cli-1.1.33-vgynvhys.mjs";import"./cli-1.1.33-bh8452tq.mjs";import"./cli-1.1.33-dm8nxxnv.mjs";import"./cli-1.1.33-0bk8mrfh.mjs";import"./cli-1.1.33-1fpzq80d.mjs";import"./cli-1.1.33-gpp6mbxj.mjs";import"./cli-1.1.33-jdtfdqvz.mjs";import"./cli-1.1.33-k466m68a.mjs";import"./cli-1.1.33-t26pazs8.mjs";import"./cli-1.1.33-n55k105y.mjs";import"./cli-1.1.33-303jm377.mjs";import"./cli-1.1.33-v615gn7w.mjs";import"./cli-1.1.33-20zqrzzq.mjs";import"./cli-1.1.33-ghcxb1ce.mjs";import"./cli-1.1.33-9zba2a1d.mjs";import"./cli-1.1.33-t78313g4.mjs";import"./cli-1.1.33-f4vhy9zk.mjs";import"./cli-1.1.33-rxe1dmbg.mjs";import"./cli-1.1.33-zsk851wd.mjs";import"./cli-1.1.33-j5q2mpwf.mjs";import"./cli-1.1.33-z5rv4tr3.mjs";import"./cli-1.1.33-mkzxq2c9.mjs";import"./cli-1.1.33-8xyzgp13.mjs";import"./cli-1.1.33-h75frpfe.mjs";import"./cli-1.1.33-ty6y9kn2.mjs";import"./cli-1.1.33-h27b2an0.mjs";import"./cli-1.1.33-czrp8ff2.mjs";import"./cli-1.1.33-gbjym0yt.mjs";import"./cli-1.1.33-525zf497.mjs";import"./cli-1.1.33-t8cxmf0c.mjs";import"./cli-1.1.33-v08vb0sv.mjs";import"./cli-1.1.33-kqsskxv0.mjs";import"./cli-1.1.33-q8hq263y.mjs";import"./cli-1.1.33-apx2xgzn.mjs";import"./cli-1.1.33-effqmrgb.mjs";import"./cli-1.1.33-df8tggjt.mjs";import"./cli-1.1.33-n7rpkhs4.mjs";import"./cli-1.1.33-7b2yeb1x.mjs";import"./cli-1.1.33-nvfshp5c.mjs";import"./cli-1.1.33-0kvxjey5.mjs";import"./cli-1.1.33-j6ep4mfm.mjs";import"./cli-1.1.33-a6dvne78.mjs";import"./cli-1.1.33-yy53bmhe.mjs";import"./cli-1.1.33-20v60hvd.mjs";import"./cli-1.1.33-n2d1txyn.mjs";import"./cli-1.1.33-dv29f6yk.mjs";import"./cli-1.1.33-zqqj4d1f.mjs";import"./cli-1.1.33-f83qf2zv.mjs";import"./cli-1.1.33-3de2dtv6.mjs";import"./cli-1.1.33-283f43sy.mjs";import"./cli-1.1.33-241y9eee.mjs";import"./cli-1.1.33-7qr8n3qn.mjs";import"./cli-1.1.33-90w26xxw.mjs";import"./cli-1.1.33-ad43mr1x.mjs";import"./cli-1.1.33-87p06j57.mjs";import"./cli-1.1.33-5ehc9tkd.mjs";import"./cli-1.1.33-pw7bmns5.mjs";import"./cli-1.1.33-cfj1bzen.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};
@@ -0,0 +1,2 @@
1
+ import{$7 as Fr,R7 as F,S7 as Nr,T7 as Dr,U7 as br,V7 as Ge,W7 as Zt,X7 as Et,Y7 as $r,Z7 as Is,_7 as Ar,a8 as hs,b8 as G,c8 as tt,d8 as pr,e8 as _r,g8 as Er,h8 as Sr,i8 as Rr,j8 as xr,k8 as vr,l8 as Kt,m8 as kt,n8 as er,o8 as Ur,p8 as Mr}from"./cli-1.1.33-yd4xhx6x.mjs";import{q8 as ps}from"./cli-1.1.33-a49fwy5a.mjs";import{r8 as we}from"./cli-1.1.33-rr5sxpa0.mjs";import{t8 as dr,u8 as Z,v8 as Ce}from"./cli-1.1.33-nq2hxcp4.mjs";import{hqa as ir}from"./cli-1.1.33-22addsh7.mjs";import{jqa as Xe}from"./cli-1.1.33-6fq5cn5g.mjs";import{pqa as ge,rqa as S,tqa as no,uqa as X}from"./cli-1.1.33-cfj1bzen.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.33-ayj1khn3.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.33-ayj1khn3.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}};