@claudiolabs/claudin 1.1.23 → 1.1.25

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 (912) hide show
  1. package/dist/chunks/AgentTool-1.1.25-wemjscyz.mjs +1 -0
  2. package/dist/chunks/App-1.1.25-k5h3kma3.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.25-z8vqxm93.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.25-qmr6qf3r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.25-78m4mvsv.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.25-htk8qebw.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.25-8evt7epy.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.25-3nbcvm6d.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.25-7n5581yw.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.25-zvcm13vd.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.25-jazr0v5h.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.25-tb139x32.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.25-h27j1v12.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.25-7gxkqb1q.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.25-21kzry6a.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.25-z4ps8td0.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.25-dekvcwna.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.25-x77jymbq.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.25-z1n7c0cp.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.25-ye8czpf8.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.25-qy9dcwtf.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.25-se513tcw.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.25-shafx13k.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.25-q9jqjghn.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.25-c9b16qp6.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.25-4x0h3a7n.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.25-9z82gazg.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.25-3eark7aj.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.25-88qbcwen.mjs +1 -0
  30. package/dist/chunks/agents-1.1.25-58s95cy7.mjs +110 -0
  31. package/dist/chunks/agents-1.1.25-rprb9rf9.mjs +3 -0
  32. package/dist/chunks/api-1.1.25-ceedtxx2.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.25-dtyww79s.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.25-12s5z3q2.mjs +1 -0
  35. package/dist/chunks/auth-1.1.25-cd9y34xe.mjs +1 -0
  36. package/dist/chunks/auth-1.1.25-gphkwwnp.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.25-zdd4g2rn.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.25-17zj185q.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.25-tb3pf0cw.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.25-mtctkars.mjs +1 -0
  41. package/dist/chunks/branch-1.1.25-ytfahhwq.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.25-kkjx4g4j.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.25-9h63taqc.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.25-yq7hv80q.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.25-rmcdgp77.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.25-x3jjj2ek.mjs +1 -0
  47. package/dist/chunks/btw-1.1.25-xdh8rhdz.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.25-aj90p6ww.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.25-4wztx76s.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.25-9bd12my6.mjs +4 -0
  51. package/dist/chunks/caches-1.1.25-2ewrwm5x.mjs +1 -0
  52. package/dist/chunks/cd-1.1.25-9yhaw8rp.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.25-bw8arps4.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.25-f621m88g.mjs +1 -0
  55. package/dist/chunks/clear-1.1.25-jk3ztva0.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.25-7jtejen6.mjs +1 -0
  57. package/dist/chunks/cli-1.1.25-0m4pyzaf.mjs +2 -0
  58. package/dist/chunks/cli-1.1.25-0q6rqkec.mjs +58 -0
  59. package/dist/chunks/cli-1.1.25-12b1rzfj.mjs +2 -0
  60. package/dist/chunks/cli-1.1.25-14jerc0x.mjs +2 -0
  61. package/dist/chunks/cli-1.1.25-1c4t0f2p.mjs +2 -0
  62. package/dist/chunks/cli-1.1.25-1c633j9v.mjs +2 -0
  63. package/dist/chunks/cli-1.1.25-1gz0w81n.mjs +2 -0
  64. package/dist/chunks/cli-1.1.25-1hx796kk.mjs +2 -0
  65. package/dist/chunks/cli-1.1.25-1s7ketx0.mjs +2 -0
  66. package/dist/chunks/cli-1.1.25-1sf51thg.mjs +3 -0
  67. package/dist/chunks/cli-1.1.25-221zdn3h.mjs +4 -0
  68. package/dist/chunks/cli-1.1.25-24f6az0s.mjs +2 -0
  69. package/dist/chunks/cli-1.1.25-2gjxmbsj.mjs +2 -0
  70. package/dist/chunks/cli-1.1.25-2gtabky3.mjs +60 -0
  71. package/dist/chunks/cli-1.1.25-2wd0qj2d.mjs +2 -0
  72. package/dist/chunks/cli-1.1.25-2we0778z.mjs +2 -0
  73. package/dist/chunks/cli-1.1.25-2zepg15b.mjs +2 -0
  74. package/dist/chunks/cli-1.1.25-32br2csx.mjs +2 -0
  75. package/dist/chunks/cli-1.1.25-32qfxqyg.mjs +2 -0
  76. package/dist/chunks/cli-1.1.25-348yqf3d.mjs +2 -0
  77. package/dist/chunks/cli-1.1.25-37rs38eq.mjs +2 -0
  78. package/dist/chunks/cli-1.1.25-3dd0c7xd.mjs +4 -0
  79. package/dist/chunks/cli-1.1.25-3ev2q4bm.mjs +4 -0
  80. package/dist/chunks/cli-1.1.25-3hnrfkxc.mjs +2 -0
  81. package/dist/chunks/cli-1.1.25-3nhwpx0q.mjs +3 -0
  82. package/dist/chunks/cli-1.1.25-3nm4kgwz.mjs +2 -0
  83. package/dist/chunks/cli-1.1.25-3qj0n5y0.mjs +21 -0
  84. package/dist/chunks/cli-1.1.25-3tnd3xyt.mjs +3 -0
  85. package/dist/chunks/cli-1.1.25-3v5624jg.mjs +2 -0
  86. package/dist/chunks/cli-1.1.25-3vtsr7s2.mjs +2 -0
  87. package/dist/chunks/cli-1.1.25-45mx738r.mjs +3 -0
  88. package/dist/chunks/cli-1.1.25-4cgvw7e3.mjs +2 -0
  89. package/dist/chunks/cli-1.1.25-4d1zk1ar.mjs +12 -0
  90. package/dist/chunks/cli-1.1.25-4h4yaa4x.mjs +2 -0
  91. package/dist/chunks/cli-1.1.25-4yjtqfa0.mjs +2 -0
  92. package/dist/chunks/cli-1.1.25-54q2vnck.mjs +2 -0
  93. package/dist/chunks/cli-1.1.25-5f8d8bx1.mjs +2 -0
  94. package/dist/chunks/cli-1.1.25-5g78avtr.mjs +2 -0
  95. package/dist/chunks/cli-1.1.25-5n21xpvc.mjs +16 -0
  96. package/dist/chunks/cli-1.1.25-5qknjpxc.mjs +2 -0
  97. package/dist/chunks/cli-1.1.25-5r495hn7.mjs +4 -0
  98. package/dist/chunks/cli-1.1.25-5s22yhkx.mjs +3 -0
  99. package/dist/chunks/cli-1.1.25-5s65r14h.mjs +2 -0
  100. package/dist/chunks/cli-1.1.25-5ye3ascx.mjs +2 -0
  101. package/dist/chunks/cli-1.1.25-639mzh6g.mjs +2 -0
  102. package/dist/chunks/cli-1.1.25-63kkff0g.mjs +2 -0
  103. package/dist/chunks/cli-1.1.25-683ggh08.mjs +2 -0
  104. package/dist/chunks/cli-1.1.25-687hxtdb.mjs +1 -0
  105. package/dist/chunks/cli-1.1.25-69shxnnp.mjs +2 -0
  106. package/dist/chunks/cli-1.1.25-6bb29bw7.mjs +2 -0
  107. package/dist/chunks/cli-1.1.25-6panntay.mjs +17 -0
  108. package/dist/chunks/cli-1.1.25-6pthkv1w.mjs +4 -0
  109. package/dist/chunks/cli-1.1.25-6r6r7rep.mjs +4 -0
  110. package/dist/chunks/cli-1.1.25-6t9phfap.mjs +2 -0
  111. package/dist/chunks/cli-1.1.25-6vwz5vma.mjs +2 -0
  112. package/dist/chunks/cli-1.1.25-6wcggeyr.mjs +25 -0
  113. package/dist/chunks/cli-1.1.25-6wjrv08c.mjs +6 -0
  114. package/dist/chunks/cli-1.1.25-746dypse.mjs +2 -0
  115. package/dist/chunks/cli-1.1.25-74ys7518.mjs +42 -0
  116. package/dist/chunks/cli-1.1.25-7d3fdbq5.mjs +17 -0
  117. package/dist/chunks/cli-1.1.25-7d7cptk6.mjs +10 -0
  118. package/dist/chunks/cli-1.1.25-7qert3s4.mjs +2 -0
  119. package/dist/chunks/cli-1.1.25-7qxwpfwh.mjs +2 -0
  120. package/dist/chunks/cli-1.1.25-7wsdhgky.mjs +2 -0
  121. package/dist/chunks/cli-1.1.25-82ht7pxh.mjs +2 -0
  122. package/dist/chunks/cli-1.1.25-8byrahks.mjs +2 -0
  123. package/dist/chunks/cli-1.1.25-8eznzbsa.mjs +5 -0
  124. package/dist/chunks/cli-1.1.25-8hv1dfrb.mjs +2 -0
  125. package/dist/chunks/cli-1.1.25-8k2bszzr.mjs +2 -0
  126. package/dist/chunks/cli-1.1.25-8v1gw0tw.mjs +9 -0
  127. package/dist/chunks/cli-1.1.25-8vqmp6g5.mjs +20 -0
  128. package/dist/chunks/cli-1.1.25-9f27xm90.mjs +25 -0
  129. package/dist/chunks/cli-1.1.25-9grz07r4.mjs +34 -0
  130. package/dist/chunks/cli-1.1.25-9m237kwt.mjs +2 -0
  131. package/dist/chunks/cli-1.1.25-9xqq9dsw.mjs +3 -0
  132. package/dist/chunks/cli-1.1.25-9yhnadye.mjs +24 -0
  133. package/dist/chunks/cli-1.1.25-9z7tyxc4.mjs +2 -0
  134. package/dist/chunks/cli-1.1.25-a0zejb5c.mjs +2 -0
  135. package/dist/chunks/cli-1.1.25-am98khq7.mjs +2 -0
  136. package/dist/chunks/cli-1.1.25-anhj1nnt.mjs +2 -0
  137. package/dist/chunks/cli-1.1.25-anvsm1cs.mjs +2 -0
  138. package/dist/chunks/cli-1.1.25-b1hj5x42.mjs +2 -0
  139. package/dist/chunks/cli-1.1.25-ba3yrxg9.mjs +2 -0
  140. package/dist/chunks/cli-1.1.25-bmjvmtgk.mjs +2 -0
  141. package/dist/chunks/cli-1.1.25-bvg3kwg7.mjs +4 -0
  142. package/dist/chunks/cli-1.1.25-cc10r97z.mjs +2 -0
  143. package/dist/chunks/cli-1.1.25-cmsea0j8.mjs +15 -0
  144. package/dist/chunks/cli-1.1.25-csgmna38.mjs +2 -0
  145. package/dist/chunks/cli-1.1.25-ctfh8503.mjs +2 -0
  146. package/dist/chunks/cli-1.1.25-d029ezbm.mjs +2 -0
  147. package/dist/chunks/cli-1.1.25-d15hk64v.mjs +2 -0
  148. package/dist/chunks/cli-1.1.25-d6ybhba5.mjs +2 -0
  149. package/dist/chunks/cli-1.1.25-dc92c5gy.mjs +2 -0
  150. package/dist/chunks/cli-1.1.25-df9x7s0j.mjs +2 -0
  151. package/dist/chunks/cli-1.1.25-dn7m24cg.mjs +2 -0
  152. package/dist/chunks/cli-1.1.25-drtfsgw8.mjs +3 -0
  153. package/dist/chunks/cli-1.1.25-dw0mshd5.mjs +2 -0
  154. package/dist/chunks/cli-1.1.25-e2ng6vcx.mjs +2 -0
  155. package/dist/chunks/cli-1.1.25-ed14rf9g.mjs +2 -0
  156. package/dist/chunks/cli-1.1.25-eqtpax1f.mjs +6 -0
  157. package/dist/chunks/cli-1.1.25-etb23y0w.mjs +4 -0
  158. package/dist/chunks/cli-1.1.25-ex6f69yn.mjs +2 -0
  159. package/dist/chunks/cli-1.1.25-f424x1de.mjs +2 -0
  160. package/dist/chunks/cli-1.1.25-f57233sm.mjs +8 -0
  161. package/dist/chunks/cli-1.1.25-f5ag59tm.mjs +4 -0
  162. package/dist/chunks/cli-1.1.25-f6w108cp.mjs +6 -0
  163. package/dist/chunks/cli-1.1.25-f9pk1asa.mjs +7 -0
  164. package/dist/chunks/cli-1.1.25-fr1nw6bz.mjs +2 -0
  165. package/dist/chunks/cli-1.1.25-fwh7d55c.mjs +2 -0
  166. package/dist/chunks/cli-1.1.25-g6y71why.mjs +24 -0
  167. package/dist/chunks/cli-1.1.25-gba9rrnp.mjs +15 -0
  168. package/dist/chunks/cli-1.1.25-gezpvyzq.mjs +2 -0
  169. package/dist/chunks/cli-1.1.25-gm5mfwmy.mjs +2 -0
  170. package/dist/chunks/cli-1.1.25-gmvcd8bm.mjs +2 -0
  171. package/dist/chunks/cli-1.1.25-gnsqbh0h.mjs +2 -0
  172. package/dist/chunks/cli-1.1.25-gsngwhfp.mjs +2 -0
  173. package/dist/chunks/cli-1.1.25-gz32rhhs.mjs +2 -0
  174. package/dist/chunks/cli-1.1.25-h164y8f5.mjs +2 -0
  175. package/dist/chunks/cli-1.1.25-h6ag26rc.mjs +2 -0
  176. package/dist/chunks/cli-1.1.25-hdgk2770.mjs +2 -0
  177. package/dist/chunks/cli-1.1.25-hjvawqyb.mjs +2 -0
  178. package/dist/chunks/cli-1.1.25-hjwttff4.mjs +2 -0
  179. package/dist/chunks/cli-1.1.25-hpfkk20r.mjs +2 -0
  180. package/dist/chunks/cli-1.1.25-j6x483np.mjs +2 -0
  181. package/dist/chunks/cli-1.1.25-jaz67hdc.mjs +2 -0
  182. package/dist/chunks/cli-1.1.25-jk7skh2n.mjs +2 -0
  183. package/dist/chunks/cli-1.1.25-jmv6jw6b.mjs +2 -0
  184. package/dist/chunks/cli-1.1.25-jsn4we2f.mjs +2 -0
  185. package/dist/chunks/cli-1.1.25-k6kqfxnq.mjs +2 -0
  186. package/dist/chunks/cli-1.1.25-k6v3tvg9.mjs +2 -0
  187. package/dist/chunks/cli-1.1.25-k9qcf2mf.mjs +2 -0
  188. package/dist/chunks/cli-1.1.25-kdamwjt1.mjs +2 -0
  189. package/dist/chunks/cli-1.1.25-kn1yv4f6.mjs +2 -0
  190. package/dist/chunks/cli-1.1.25-kpah4ttt.mjs +2 -0
  191. package/dist/chunks/cli-1.1.25-kpv8j6wf.mjs +2 -0
  192. package/dist/chunks/cli-1.1.25-kvwevqsc.mjs +18 -0
  193. package/dist/chunks/cli-1.1.25-m0h0ddew.mjs +2 -0
  194. package/dist/chunks/cli-1.1.25-m86a8tmc.mjs +2 -0
  195. package/dist/chunks/cli-1.1.25-n10jmzvk.mjs +2 -0
  196. package/dist/chunks/cli-1.1.25-n5gb4kx8.mjs +2 -0
  197. package/dist/chunks/cli-1.1.25-n6df4vnz.mjs +2 -0
  198. package/dist/chunks/cli-1.1.25-nh2xj15f.mjs +2 -0
  199. package/dist/chunks/cli-1.1.25-njrez2x5.mjs +12 -0
  200. package/dist/chunks/cli-1.1.25-nmw9agm4.mjs +133 -0
  201. package/dist/chunks/cli-1.1.25-nmxbk4dt.mjs +2 -0
  202. package/dist/chunks/cli-1.1.25-np8863pb.mjs +3 -0
  203. package/dist/chunks/cli-1.1.25-ntfm6tbg.mjs +2 -0
  204. package/dist/chunks/cli-1.1.25-nwdtve8h.mjs +2 -0
  205. package/dist/chunks/cli-1.1.25-nxvqf4sh.mjs +2 -0
  206. package/dist/chunks/cli-1.1.25-p2kmhxd3.mjs +3 -0
  207. package/dist/chunks/cli-1.1.25-p9j8prqh.mjs +2 -0
  208. package/dist/chunks/cli-1.1.25-pcamey8m.mjs +2 -0
  209. package/dist/chunks/cli-1.1.25-peepax79.mjs +66 -0
  210. package/dist/chunks/cli-1.1.25-pgs0x971.mjs +50 -0
  211. package/dist/chunks/cli-1.1.25-px1h2b7d.mjs +2 -0
  212. package/dist/chunks/cli-1.1.25-pxq7zyjb.mjs +2 -0
  213. package/dist/chunks/cli-1.1.25-pzp73p0x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.25-q257pczz.mjs +133 -0
  215. package/dist/chunks/cli-1.1.25-q5qj0wfa.mjs +18 -0
  216. package/dist/chunks/cli-1.1.25-q5tqh3tz.mjs +2 -0
  217. package/dist/chunks/cli-1.1.25-q88hb4qg.mjs +5459 -0
  218. package/dist/chunks/cli-1.1.25-qd1b1zr7.mjs +3 -0
  219. package/dist/chunks/cli-1.1.25-qd1q5w85.mjs +2 -0
  220. package/dist/chunks/cli-1.1.25-qgnyys4j.mjs +6 -0
  221. package/dist/chunks/cli-1.1.25-qp9j9ma3.mjs +24 -0
  222. package/dist/chunks/cli-1.1.25-qpb14xj4.mjs +2 -0
  223. package/dist/chunks/cli-1.1.25-qtjt3cq9.mjs +2 -0
  224. package/dist/chunks/cli-1.1.25-r0dwt4a0.mjs +2 -0
  225. package/dist/chunks/cli-1.1.25-r2a8d0xg.mjs +26 -0
  226. package/dist/chunks/cli-1.1.25-rbapdr02.mjs +2 -0
  227. package/dist/chunks/cli-1.1.25-rbnjv023.mjs +2 -0
  228. package/dist/chunks/cli-1.1.25-rf05pze2.mjs +2 -0
  229. package/dist/chunks/cli-1.1.25-rf0c9c9r.mjs +3 -0
  230. package/dist/chunks/cli-1.1.25-rg5rxmym.mjs +9 -0
  231. package/dist/chunks/cli-1.1.25-rkh9pz84.mjs +2 -0
  232. package/dist/chunks/cli-1.1.25-rqzwndms.mjs +45 -0
  233. package/dist/chunks/cli-1.1.25-rwg08ga2.mjs +39 -0
  234. package/dist/chunks/cli-1.1.25-s1ykc389.mjs +2 -0
  235. package/dist/chunks/cli-1.1.25-s54emewd.mjs +206 -0
  236. package/dist/chunks/cli-1.1.25-s9sv7xk9.mjs +2 -0
  237. package/dist/chunks/cli-1.1.25-sjqg08ww.mjs +2 -0
  238. package/dist/chunks/cli-1.1.25-sm3q65hz.mjs +2 -0
  239. package/dist/chunks/cli-1.1.25-svtt1qhf.mjs +5 -0
  240. package/dist/chunks/cli-1.1.25-sz3dey5y.mjs +2 -0
  241. package/dist/chunks/cli-1.1.25-t6rdfhp9.mjs +3 -0
  242. package/dist/chunks/cli-1.1.25-t80ab9f0.mjs +7 -0
  243. package/dist/chunks/cli-1.1.25-tftyt531.mjs +3 -0
  244. package/dist/chunks/cli-1.1.25-tj3kqgbv.mjs +2 -0
  245. package/dist/chunks/cli-1.1.25-tz7k6gjy.mjs +2 -0
  246. package/dist/chunks/cli-1.1.25-vc7150xz.mjs +2 -0
  247. package/dist/chunks/cli-1.1.25-vkg5fb0z.mjs +2 -0
  248. package/dist/chunks/cli-1.1.25-vwe1fsde.mjs +2 -0
  249. package/dist/chunks/cli-1.1.25-wcw9vrkz.mjs +2 -0
  250. package/dist/chunks/cli-1.1.25-wd0p9nmj.mjs +24 -0
  251. package/dist/chunks/cli-1.1.25-wtrb99c9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.25-wy18zt7a.mjs +3 -0
  253. package/dist/chunks/cli-1.1.25-x26vkphq.mjs +6 -0
  254. package/dist/chunks/cli-1.1.25-x4ww7pe7.mjs +2 -0
  255. package/dist/chunks/cli-1.1.25-xbxtyfje.mjs +2 -0
  256. package/dist/chunks/cli-1.1.25-y0f45gyf.mjs +2 -0
  257. package/dist/chunks/cli-1.1.25-y4xjnn7w.mjs +2 -0
  258. package/dist/chunks/cli-1.1.25-ybe971qx.mjs +15 -0
  259. package/dist/chunks/cli-1.1.25-yctc3qt8.mjs +2 -0
  260. package/dist/chunks/cli-1.1.25-yf3nnsg1.mjs +2 -0
  261. package/dist/chunks/cli-1.1.25-z31z20wf.mjs +2 -0
  262. package/dist/chunks/cli-1.1.25-zk74mh7n.mjs +2 -0
  263. package/dist/chunks/cli-1.1.25-zpzhf7zc.mjs +2 -0
  264. package/dist/chunks/cli-1.1.25-zqqpy89q.mjs +6 -0
  265. package/dist/chunks/cli-1.1.25-zrj2zpkp.mjs +2 -0
  266. package/dist/chunks/client-1.1.25-08n7ywgz.mjs +1 -0
  267. package/dist/chunks/color-1.1.25-n45p3cdv.mjs +1 -0
  268. package/dist/chunks/compact-1.1.25-qqv3fce7.mjs +3 -0
  269. package/dist/chunks/config-1.1.25-bvznkf41.mjs +1 -0
  270. package/dist/chunks/config-1.1.25-n6dtcns2.mjs +1 -0
  271. package/dist/chunks/constants-1.1.25-g61cz55f.mjs +1 -0
  272. package/dist/chunks/context-1.1.25-e3n1bdyd.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.25-6drmca9m.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.25-5xfam12e.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.25-n3q0s4gz.mjs +1 -0
  276. package/dist/chunks/copy-1.1.25-wcjjc2td.mjs +9 -0
  277. package/dist/chunks/cost-1.1.25-czrc10qr.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.25-q7sr5mgy.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.25-abgdr9mn.mjs +1 -0
  280. package/dist/chunks/debug-1.1.25-4284each.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.25-bh5e3czf.mjs +1534 -0
  282. package/dist/chunks/desktop-1.1.25-kb98q9vj.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.25-a7pfgy12.mjs +1 -0
  284. package/dist/chunks/detection-1.1.25-8nzvw5jn.mjs +1 -0
  285. package/dist/chunks/diff-1.1.25-dhnj1tfb.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.25-0x83n5n5.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.25-qmg4yght.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.25-jz9ewwc0.mjs +1 -0
  289. package/dist/chunks/effort-1.1.25-6gemkp3j.mjs +13 -0
  290. package/dist/chunks/engine-1.1.25-hb7ppn8y.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.25-32s3yykr.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.25-trphmt1z.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.25-jew2phex.mjs +1 -0
  294. package/dist/chunks/environments-1.1.25-nkh2j8kv.mjs +1 -0
  295. package/dist/chunks/errors-1.1.25-0t1vtdpj.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.25-n2ktzve3.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.25-2f72pb95.mjs +1 -0
  298. package/dist/chunks/exit-1.1.25-302bsne4.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.25-f47vrcdd.mjs +1 -0
  300. package/dist/chunks/export-1.1.25-655jmasp.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.25-9f3dc9de.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.25-wjzcb1d3.mjs +1 -0
  303. package/dist/chunks/fast-1.1.25-k4a1t9tc.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.25-crmhd8kn.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.25-pr01pvjg.mjs +1 -0
  306. package/dist/chunks/git-1.1.25-r40xnnqg.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.25-8r84eppg.mjs +1 -0
  308. package/dist/chunks/goal-1.1.25-2fz16dne.mjs +4 -0
  309. package/dist/chunks/growthbook-1.1.25-vr1d3g20.mjs +1 -0
  310. package/dist/chunks/headless-1.1.25-b7ma19kx.mjs +2 -0
  311. package/dist/chunks/heapdump-1.1.25-s74fnvr9.mjs +6 -0
  312. package/dist/chunks/help-1.1.25-jphw3nwb.mjs +1 -0
  313. package/dist/chunks/hookChains-1.1.25-wad3j7ae.mjs +3 -0
  314. package/dist/chunks/hooks-1.1.25-5psxtbt2.mjs +79 -0
  315. package/dist/chunks/hooks-1.1.25-n6f1dkc7.mjs +1 -0
  316. package/dist/chunks/ide-1.1.25-21kw5qe1.mjs +3 -0
  317. package/dist/chunks/image-processor-napi-1.1.25-jymb540y.mjs +1 -0
  318. package/dist/chunks/import-1.1.25-71q60jx1.mjs +261 -0
  319. package/dist/chunks/inboundAttachments-1.1.25-qg5v4c4j.mjs +1 -0
  320. package/dist/chunks/index-1.1.25-0f94rjfd.mjs +1 -0
  321. package/dist/chunks/index-1.1.25-0n1ksx20.mjs +2 -0
  322. package/dist/chunks/index-1.1.25-1n597wy3.mjs +1 -0
  323. package/dist/chunks/index-1.1.25-1rwmhexf.mjs +1 -0
  324. package/dist/chunks/index-1.1.25-6160t93h.mjs +30 -0
  325. package/dist/chunks/index-1.1.25-645qcmbw.mjs +9 -0
  326. package/dist/chunks/index-1.1.25-70ggh135.mjs +1 -0
  327. package/dist/chunks/index-1.1.25-7nk5p28a.mjs +1 -0
  328. package/dist/chunks/index-1.1.25-7p7qd15b.mjs +23 -0
  329. package/dist/chunks/index-1.1.25-8z7y79bf.mjs +1 -0
  330. package/dist/chunks/index-1.1.25-affe6cxt.mjs +9 -0
  331. package/dist/chunks/index-1.1.25-bec2ajvp.mjs +1 -0
  332. package/dist/chunks/index-1.1.25-f64qrtc9.mjs +5 -0
  333. package/dist/chunks/index-1.1.25-g7v9zhk1.mjs +1 -0
  334. package/dist/chunks/index-1.1.25-g99896ns.mjs +1 -0
  335. package/dist/chunks/index-1.1.25-hcbmys9p.mjs +1 -0
  336. package/dist/chunks/index-1.1.25-j8rm4qgs.mjs +2 -0
  337. package/dist/chunks/index-1.1.25-kh02yd5c.mjs +1 -0
  338. package/dist/chunks/index-1.1.25-m6k2vy2a.mjs +1 -0
  339. package/dist/chunks/index-1.1.25-pmn6pnjv.mjs +1 -0
  340. package/dist/chunks/index-1.1.25-t0kaa1dy.mjs +1 -0
  341. package/dist/chunks/index-1.1.25-xfdfregs.mjs +1 -0
  342. package/dist/chunks/index-1.1.25-ychm6aj7.mjs +1 -0
  343. package/dist/chunks/init-1.1.25-x7cr3p65.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.25-zcgy02rq.mjs +1 -0
  345. package/dist/chunks/ink-1.1.25-evxr7syt.mjs +1 -0
  346. package/dist/chunks/insights-1.1.25-0zz5y2cs.mjs +870 -0
  347. package/dist/chunks/install-1.1.25-nghrpc4k.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.25-1tb3cz5k.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.25-vsp3sc6d.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.25-e9arjmhp.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.25-dvn7nkzf.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.25-7tf4nkft.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.25-gchxmcv2.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.25-gzy09f8s.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.25-3fvea40c.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.25-1b1z5t2x.mjs +1 -0
  357. package/dist/chunks/log-1.1.25-rhpcv45j.mjs +1 -0
  358. package/dist/chunks/main-1.1.25-hpaj9gzw.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.25-19sxqzbj.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.25-bkgk2vye.mjs +1 -0
  361. package/dist/chunks/mcp-1.1.25-n5bde32b.mjs +17 -0
  362. package/dist/chunks/mcp-1.1.25-wsfk73n2.mjs +4 -0
  363. package/dist/chunks/mcpb-1.1.25-jwd1ff98.mjs +1 -0
  364. package/dist/chunks/memory-1.1.25-ae4515h6.mjs +72 -0
  365. package/dist/chunks/model-1.1.25-kdc32s97.mjs +1 -0
  366. package/dist/chunks/model-1.1.25-x3hpj8mx.mjs +2 -0
  367. package/dist/chunks/node-1.1.25-bmakbgcc.mjs +15 -0
  368. package/dist/chunks/oauth-1.1.25-dpw2v0gf.mjs +1 -0
  369. package/dist/chunks/openaiShim-1.1.25-frxz7cxz.mjs +14 -0
  370. package/dist/chunks/output-style-1.1.25-ja0xn44t.mjs +1 -0
  371. package/dist/chunks/package-SHMK2LJE-1.1.25-n5senjea.mjs +1 -0
  372. package/dist/chunks/parseConnectUrl-1.1.25-2w1mb832.mjs +1 -0
  373. package/dist/chunks/parser-1.1.25-226xm2zk.mjs +1 -0
  374. package/dist/chunks/passes-1.1.25-3pbcz45a.mjs +1 -0
  375. package/dist/chunks/permissions-1.1.25-3yb8c211.mjs +1 -0
  376. package/dist/chunks/permissions-1.1.25-g8395q9y.mjs +3 -0
  377. package/dist/chunks/plan-1.1.25-335rgqar.mjs +1 -0
  378. package/dist/chunks/plist-1.1.25-4gx9kzb9.mjs +1 -0
  379. package/dist/chunks/plugin-1.1.25-7twsr9qb.mjs +29 -0
  380. package/dist/chunks/pluginStartupCheck-1.1.25-h43rcveq.mjs +1 -0
  381. package/dist/chunks/plugins-1.1.25-36r120jp.mjs +9 -0
  382. package/dist/chunks/preActionHook-1.1.25-mq77hmkq.mjs +2 -0
  383. package/dist/chunks/print-1.1.25-nyqwpaw6.mjs +57 -0
  384. package/dist/chunks/process-1.1.25-40rkvfxz.mjs +1 -0
  385. package/dist/chunks/processBashCommand-1.1.25-4rt9wd52.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-1.1.25-50jz8vq4.mjs +9 -0
  387. package/dist/chunks/prompt-1.1.25-ab2m25ry.mjs +1 -0
  388. package/dist/chunks/prompt-1.1.25-tsf93p18.mjs +1 -0
  389. package/dist/chunks/prompts-1.1.25-7asah358.mjs +1 -0
  390. package/dist/chunks/protocolHandler-1.1.25-fjma0898.mjs +13 -0
  391. package/dist/chunks/provider-1.1.25-jcm6xct3.mjs +2 -0
  392. package/dist/chunks/providerProfiles-1.1.25-86yene25.mjs +1 -0
  393. package/dist/chunks/providerValidation-1.1.25-gbve71cz.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-1.1.25-n6v741p7.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-1.1.25-d988tp7q.mjs +26 -0
  396. package/dist/chunks/registry-1.1.25-jda5me4n.mjs +1 -0
  397. package/dist/chunks/release-notes-1.1.25-depx979r.mjs +5 -0
  398. package/dist/chunks/reload-plugins-1.1.25-nc27sfgy.mjs +2 -0
  399. package/dist/chunks/remote-env-1.1.25-adtemst2.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-1.1.25-vyw0r3a7.mjs +1 -0
  401. package/dist/chunks/remoteSession-1.1.25-f1hb7zcj.mjs +1 -0
  402. package/dist/chunks/rename-1.1.25-r9khtthn.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-1.1.25-5tbm27ae.mjs +1 -0
  404. package/dist/chunks/replLauncher-1.1.25-dy1jxrha.mjs +1 -0
  405. package/dist/chunks/resume-1.1.25-qcctpvst.mjs +2 -0
  406. package/dist/chunks/rewind-1.1.25-2tpvsdz2.mjs +1 -0
  407. package/dist/chunks/rootOptions-1.1.25-6gjd4t0k.mjs +1 -0
  408. package/dist/chunks/runWorkflowHeadless-1.1.25-1x11b1xy.mjs +10 -0
  409. package/dist/chunks/sandbox-adapter-1.1.25-2qsj3g4r.mjs +1 -0
  410. package/dist/chunks/sandbox-toggle-1.1.25-tn86q9kj.mjs +1 -0
  411. package/dist/chunks/session-1.1.25-tpnhf7nk.mjs +2 -0
  412. package/dist/chunks/sessionDiscovery-1.1.25-z48aepj2.mjs +1 -0
  413. package/dist/chunks/sessionFileAccessHooks-1.1.25-w9mqv7x2.mjs +1 -0
  414. package/dist/chunks/sessionStorage-1.1.25-f61wmxkh.mjs +1 -0
  415. package/dist/chunks/settings-1.1.25-5f0ye0zf.mjs +1 -0
  416. package/dist/chunks/setup-1.1.25-hq096wz8.mjs +12 -0
  417. package/dist/chunks/sinks-1.1.25-k89ee9jd.mjs +1 -0
  418. package/dist/chunks/skills-1.1.25-zny3acfm.mjs +1 -0
  419. package/dist/chunks/startupProfiler-1.1.25-jrb54jgv.mjs +1 -0
  420. package/dist/chunks/startupUpdateCheck-1.1.25-0e8arnxt.mjs +1 -0
  421. package/dist/chunks/state-1.1.25-2f0mn1s8.mjs +1 -0
  422. package/dist/chunks/stats-1.1.25-w4v85n4m.mjs +1 -0
  423. package/dist/chunks/status-1.1.25-vyxf29s0.mjs +1 -0
  424. package/dist/chunks/stickers-1.1.25-db9b5d86.mjs +1 -0
  425. package/dist/chunks/subprocessEnv-1.1.25-b06h7dn5.mjs +1 -0
  426. package/dist/chunks/tasks-1.1.25-d44s3czy.mjs +1 -0
  427. package/dist/chunks/teamHelpers-1.1.25-yy2zwqy3.mjs +1 -0
  428. package/dist/chunks/teammateModeSnapshot-1.1.25-45w75v4y.mjs +1 -0
  429. package/dist/chunks/teleport-1.1.25-5be1s310.mjs +1 -0
  430. package/dist/chunks/terminalSetup-1.1.25-b5a4adgd.mjs +1 -0
  431. package/dist/chunks/theme-1.1.25-wkyf9b5k.mjs +1 -0
  432. package/dist/chunks/thinkback-1.1.25-6575xnpn.mjs +1 -0
  433. package/dist/chunks/thinkback-play-1.1.25-amw47kg0.mjs +1 -0
  434. package/dist/chunks/toolPool-1.1.25-h7pp3y85.mjs +1 -0
  435. package/dist/chunks/toolSearch-1.1.25-brpn0e66.mjs +1 -0
  436. package/dist/chunks/tools-1.1.25-t4rr3y1m.mjs +1 -0
  437. package/dist/chunks/trustedDevice-1.1.25-dgx4z9gb.mjs +1 -0
  438. package/dist/chunks/turndown.cjs-1.1.25-9c24hgzw.mjs +69 -0
  439. package/dist/chunks/types-1.1.25-tj3y8ycy.mjs +1 -0
  440. package/dist/chunks/ultrareviewCommand-1.1.25-kj7js02p.mjs +4 -0
  441. package/dist/chunks/update-1.1.25-fn4tnxnw.mjs +72 -0
  442. package/dist/chunks/upgrade-1.1.25-zd805a6y.mjs +1 -0
  443. package/dist/chunks/upload-1.1.25-nhsynsbb.mjs +7 -0
  444. package/dist/chunks/upstreamproxy-1.1.25-bh4an4es.mjs +14 -0
  445. package/dist/chunks/url-handler-napi-1.1.25-z7v66h19.mjs +1 -0
  446. package/dist/chunks/usage-1.1.25-0frq9der.mjs +1 -0
  447. package/dist/chunks/util-1.1.25-hqbcvpk3.mjs +1 -0
  448. package/dist/chunks/utils-1.1.25-mqy166xe.mjs +1 -0
  449. package/dist/chunks/vim-1.1.25-0gnwfzcy.mjs +1 -0
  450. package/dist/chunks/watchLoop-1.1.25-dnpy6c6e.mjs +13 -0
  451. package/dist/chunks/watcher-1.1.25-43n00zw0.mjs +1 -0
  452. package/dist/chunks/wiki-1.1.25-mvay6amg.mjs +132 -0
  453. package/dist/chunks/workflows-1.1.25-a2drn8b3.mjs +1 -0
  454. package/dist/chunks/worktree-1.1.25-cghd8r64.mjs +1 -0
  455. package/dist/chunks/worktreeModeEnabled-1.1.25-a15vww7v.mjs +1 -0
  456. package/dist/chunks/wrapper-1.1.25-chacpj74.mjs +7 -0
  457. package/dist/cli.mjs +2 -2
  458. package/package.json +9 -9
  459. package/dist/chunks/AgentTool-1.1.23-vycpz7yt.mjs +0 -1
  460. package/dist/chunks/App-1.1.23-4e8j2bd3.mjs +0 -1
  461. package/dist/chunks/ApproveApiKey-1.1.23-zst4089h.mjs +0 -1
  462. package/dist/chunks/AssistantSessionChooser-1.1.23-5hcs6ecz.mjs +0 -1
  463. package/dist/chunks/AutoModeOptInDialog-1.1.23-dd0gy0z6.mjs +0 -1
  464. package/dist/chunks/BypassPermissionsModeDialog-1.1.23-st6gcnzm.mjs +0 -1
  465. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.23-9q5hv0m5.mjs +0 -1
  466. package/dist/chunks/ConsoleOAuthFlow-1.1.23-37xx0cvg.mjs +0 -1
  467. package/dist/chunks/DiffDialog-1.1.23-0mhma9am.mjs +0 -6
  468. package/dist/chunks/Doctor-1.1.23-er5wr07d.mjs +0 -1
  469. package/dist/chunks/ExplorerDialog-1.1.23-r0q2mdyq.mjs +0 -6
  470. package/dist/chunks/ITermBackend-1.1.23-9w1hnwqa.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-1.1.23-pceysmem.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-1.1.23-wqg7m1yb.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-1.1.23-jvwd5evb.mjs +0 -1
  474. package/dist/chunks/Onboarding-1.1.23-12qbzfp4.mjs +0 -1
  475. package/dist/chunks/ProviderManager-1.1.23-gz4gqcm4.mjs +0 -1
  476. package/dist/chunks/REPL-1.1.23-vg0qg9my.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-1.1.23-ma5pytfz.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-1.1.23-j0x7q43m.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-1.1.23-5fbd2jd2.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-1.1.23-zx9qhe0w.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-1.1.23-2fpwy0ej.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-1.1.23-fjghg3n9.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-1.1.23-ct6qdm0d.mjs +0 -1
  484. package/dist/chunks/TrustDialog-1.1.23-ajcjhwrt.mjs +0 -1
  485. package/dist/chunks/activeProvider-1.1.23-taz5qq4d.mjs +0 -1
  486. package/dist/chunks/add-dir-1.1.23-yb7mzffx.mjs +0 -1
  487. package/dist/chunks/agentTypes-1.1.23-779zy67c.mjs +0 -1
  488. package/dist/chunks/agents-1.1.23-13ae3y31.mjs +0 -110
  489. package/dist/chunks/agents-1.1.23-mz2jsne2.mjs +0 -3
  490. package/dist/chunks/api-1.1.23-sadzsv9h.mjs +0 -1
  491. package/dist/chunks/asciicast-1.1.23-ccrtpq7h.mjs +0 -1
  492. package/dist/chunks/assistant-1.1.23-35t6yajq.mjs +0 -1
  493. package/dist/chunks/auth-1.1.23-2mazt66r.mjs +0 -1
  494. package/dist/chunks/auth-1.1.23-f804wpq0.mjs +0 -1
  495. package/dist/chunks/autoMode-1.1.23-14t0khqy.mjs +0 -52
  496. package/dist/chunks/autoModeSetup-1.1.23-xxctnwmg.mjs +0 -44
  497. package/dist/chunks/autoUpdater-1.1.23-wjwsw0rs.mjs +0 -1
  498. package/dist/chunks/backgroundHousekeeping-1.1.23-pdgb72sw.mjs +0 -1
  499. package/dist/chunks/branch-1.1.23-df4c0964.mjs +0 -4
  500. package/dist/chunks/bridge-1.1.23-kkp1c9j5.mjs +0 -2
  501. package/dist/chunks/bridgeConfig-1.1.23-5xm11ndj.mjs +0 -1
  502. package/dist/chunks/bridgeEnabled-1.1.23-tjahj3z4.mjs +0 -1
  503. package/dist/chunks/bridgeMain-1.1.23-0pzcvrp1.mjs +0 -88
  504. package/dist/chunks/bridgePointer-1.1.23-6rp86r12.mjs +0 -1
  505. package/dist/chunks/btw-1.1.23-8eq1q86j.mjs +0 -1
  506. package/dist/chunks/buddy-1.1.23-1raw3vjp.mjs +0 -3
  507. package/dist/chunks/cache-probe-1.1.23-t476aagd.mjs +0 -21
  508. package/dist/chunks/cacheStats-1.1.23-r3dg9dbs.mjs +0 -4
  509. package/dist/chunks/caches-1.1.23-6eegsnhk.mjs +0 -1
  510. package/dist/chunks/claudeDesktop-1.1.23-rwmxta3h.mjs +0 -1
  511. package/dist/chunks/claudemd-1.1.23-av012etb.mjs +0 -1
  512. package/dist/chunks/clear-1.1.23-z6d1gwfs.mjs +0 -1
  513. package/dist/chunks/clearTerminal-1.1.23-stp5kwm2.mjs +0 -1
  514. package/dist/chunks/cli-1.1.23-08g4ya29.mjs +0 -2
  515. package/dist/chunks/cli-1.1.23-0mg2h5ny.mjs +0 -4
  516. package/dist/chunks/cli-1.1.23-13w02myd.mjs +0 -2
  517. package/dist/chunks/cli-1.1.23-18zz9bbk.mjs +0 -2
  518. package/dist/chunks/cli-1.1.23-1a2n71wn.mjs +0 -5
  519. package/dist/chunks/cli-1.1.23-1e9zjn1z.mjs +0 -3
  520. package/dist/chunks/cli-1.1.23-1fexxp20.mjs +0 -2
  521. package/dist/chunks/cli-1.1.23-1fy18jhn.mjs +0 -4
  522. package/dist/chunks/cli-1.1.23-1r6w3hc9.mjs +0 -2
  523. package/dist/chunks/cli-1.1.23-1rea0qrn.mjs +0 -2
  524. package/dist/chunks/cli-1.1.23-1rv4y64b.mjs +0 -2
  525. package/dist/chunks/cli-1.1.23-2arbhkcc.mjs +0 -24
  526. package/dist/chunks/cli-1.1.23-2cqrzcwp.mjs +0 -4
  527. package/dist/chunks/cli-1.1.23-2g7503ny.mjs +0 -133
  528. package/dist/chunks/cli-1.1.23-2gax24jg.mjs +0 -2
  529. package/dist/chunks/cli-1.1.23-2swa87qn.mjs +0 -2
  530. package/dist/chunks/cli-1.1.23-2zmj7bmt.mjs +0 -2
  531. package/dist/chunks/cli-1.1.23-39e6gsmv.mjs +0 -7
  532. package/dist/chunks/cli-1.1.23-3hnz7314.mjs +0 -2
  533. package/dist/chunks/cli-1.1.23-3myqt8k1.mjs +0 -2
  534. package/dist/chunks/cli-1.1.23-3t45wkcy.mjs +0 -2
  535. package/dist/chunks/cli-1.1.23-3tbvgbsz.mjs +0 -24
  536. package/dist/chunks/cli-1.1.23-3v88zfgv.mjs +0 -2
  537. package/dist/chunks/cli-1.1.23-3vzk6gte.mjs +0 -2
  538. package/dist/chunks/cli-1.1.23-4q364wmc.mjs +0 -26
  539. package/dist/chunks/cli-1.1.23-4r2e2zqk.mjs +0 -2
  540. package/dist/chunks/cli-1.1.23-4tcfdexs.mjs +0 -3
  541. package/dist/chunks/cli-1.1.23-4z00tj56.mjs +0 -20
  542. package/dist/chunks/cli-1.1.23-534g4n3n.mjs +0 -2
  543. package/dist/chunks/cli-1.1.23-5bcs19jr.mjs +0 -2
  544. package/dist/chunks/cli-1.1.23-5jka5ps0.mjs +0 -2
  545. package/dist/chunks/cli-1.1.23-5nf6hd1y.mjs +0 -3
  546. package/dist/chunks/cli-1.1.23-5xfyp6fr.mjs +0 -2
  547. package/dist/chunks/cli-1.1.23-61q858yx.mjs +0 -24
  548. package/dist/chunks/cli-1.1.23-67rrc0m6.mjs +0 -6
  549. package/dist/chunks/cli-1.1.23-6801e7pm.mjs +0 -34
  550. package/dist/chunks/cli-1.1.23-69bhvv0j.mjs +0 -2
  551. package/dist/chunks/cli-1.1.23-6d34yw4z.mjs +0 -2
  552. package/dist/chunks/cli-1.1.23-6dmkrxmn.mjs +0 -3
  553. package/dist/chunks/cli-1.1.23-6eg5g01d.mjs +0 -2
  554. package/dist/chunks/cli-1.1.23-6f46jqfm.mjs +0 -2
  555. package/dist/chunks/cli-1.1.23-6fa2z4j7.mjs +0 -2
  556. package/dist/chunks/cli-1.1.23-6jn1rxac.mjs +0 -3
  557. package/dist/chunks/cli-1.1.23-6svwd47h.mjs +0 -2
  558. package/dist/chunks/cli-1.1.23-6vn61k3h.mjs +0 -4
  559. package/dist/chunks/cli-1.1.23-6zb0fha5.mjs +0 -2
  560. package/dist/chunks/cli-1.1.23-7081am2r.mjs +0 -60
  561. package/dist/chunks/cli-1.1.23-73rtfe6f.mjs +0 -2
  562. package/dist/chunks/cli-1.1.23-7672wfdw.mjs +0 -2
  563. package/dist/chunks/cli-1.1.23-79fjt009.mjs +0 -2
  564. package/dist/chunks/cli-1.1.23-7btdskbp.mjs +0 -2
  565. package/dist/chunks/cli-1.1.23-7jpcmnjc.mjs +0 -2
  566. package/dist/chunks/cli-1.1.23-7jpsfgxt.mjs +0 -2
  567. package/dist/chunks/cli-1.1.23-7ke90t8x.mjs +0 -2
  568. package/dist/chunks/cli-1.1.23-7p15pph2.mjs +0 -2
  569. package/dist/chunks/cli-1.1.23-84j1qdx5.mjs +0 -2
  570. package/dist/chunks/cli-1.1.23-89dm39zw.mjs +0 -2
  571. package/dist/chunks/cli-1.1.23-8cwhqjmg.mjs +0 -2
  572. package/dist/chunks/cli-1.1.23-8qrr5zea.mjs +0 -2
  573. package/dist/chunks/cli-1.1.23-8sb0xktt.mjs +0 -1
  574. package/dist/chunks/cli-1.1.23-8tv84m75.mjs +0 -2
  575. package/dist/chunks/cli-1.1.23-8yb4p9wj.mjs +0 -4
  576. package/dist/chunks/cli-1.1.23-8zysx8xg.mjs +0 -6
  577. package/dist/chunks/cli-1.1.23-913hrrgx.mjs +0 -2
  578. package/dist/chunks/cli-1.1.23-91n79mdp.mjs +0 -2
  579. package/dist/chunks/cli-1.1.23-971f3zzk.mjs +0 -2
  580. package/dist/chunks/cli-1.1.23-9b08qsth.mjs +0 -2
  581. package/dist/chunks/cli-1.1.23-9bpzr9w9.mjs +0 -2
  582. package/dist/chunks/cli-1.1.23-9h8vjbtg.mjs +0 -2
  583. package/dist/chunks/cli-1.1.23-9qe28y65.mjs +0 -16
  584. package/dist/chunks/cli-1.1.23-9txgxd8x.mjs +0 -2
  585. package/dist/chunks/cli-1.1.23-9vqnsq1x.mjs +0 -2
  586. package/dist/chunks/cli-1.1.23-9zrhw582.mjs +0 -2
  587. package/dist/chunks/cli-1.1.23-a1w72kgd.mjs +0 -12
  588. package/dist/chunks/cli-1.1.23-a6h0h87f.mjs +0 -18
  589. package/dist/chunks/cli-1.1.23-a95wepyn.mjs +0 -66
  590. package/dist/chunks/cli-1.1.23-a9b5aae8.mjs +0 -2
  591. package/dist/chunks/cli-1.1.23-afsrnsz6.mjs +0 -7
  592. package/dist/chunks/cli-1.1.23-ah6fas1q.mjs +0 -2
  593. package/dist/chunks/cli-1.1.23-akghy19s.mjs +0 -58
  594. package/dist/chunks/cli-1.1.23-b00bqmpw.mjs +0 -2
  595. package/dist/chunks/cli-1.1.23-bdj1ne1r.mjs +0 -2
  596. package/dist/chunks/cli-1.1.23-beazn1ym.mjs +0 -45
  597. package/dist/chunks/cli-1.1.23-bfcbpz9k.mjs +0 -15
  598. package/dist/chunks/cli-1.1.23-bghc6n12.mjs +0 -2
  599. package/dist/chunks/cli-1.1.23-bkd2235z.mjs +0 -2
  600. package/dist/chunks/cli-1.1.23-bqb900hx.mjs +0 -2
  601. package/dist/chunks/cli-1.1.23-btem08d6.mjs +0 -2
  602. package/dist/chunks/cli-1.1.23-btq83yzw.mjs +0 -2
  603. package/dist/chunks/cli-1.1.23-c49xxwj4.mjs +0 -2
  604. package/dist/chunks/cli-1.1.23-c5rb4b67.mjs +0 -2
  605. package/dist/chunks/cli-1.1.23-cdsq9bfc.mjs +0 -2
  606. package/dist/chunks/cli-1.1.23-cf9wpsc7.mjs +0 -3
  607. package/dist/chunks/cli-1.1.23-cg8mndc0.mjs +0 -2
  608. package/dist/chunks/cli-1.1.23-cmmvjc9g.mjs +0 -2
  609. package/dist/chunks/cli-1.1.23-cp5z31eb.mjs +0 -2
  610. package/dist/chunks/cli-1.1.23-cpdr6mcc.mjs +0 -50
  611. package/dist/chunks/cli-1.1.23-d98p8mnw.mjs +0 -2
  612. package/dist/chunks/cli-1.1.23-dd8dp11f.mjs +0 -2
  613. package/dist/chunks/cli-1.1.23-dm6get34.mjs +0 -42
  614. package/dist/chunks/cli-1.1.23-dmc5g4zs.mjs +0 -2
  615. package/dist/chunks/cli-1.1.23-dnf57r3v.mjs +0 -2
  616. package/dist/chunks/cli-1.1.23-dspgg8gk.mjs +0 -2
  617. package/dist/chunks/cli-1.1.23-dxtv4be7.mjs +0 -2
  618. package/dist/chunks/cli-1.1.23-e3g5ahaf.mjs +0 -2
  619. package/dist/chunks/cli-1.1.23-e3zf752q.mjs +0 -2
  620. package/dist/chunks/cli-1.1.23-e7vvcy9q.mjs +0 -2
  621. package/dist/chunks/cli-1.1.23-ea3wd7a4.mjs +0 -9
  622. package/dist/chunks/cli-1.1.23-eh1w5te8.mjs +0 -2
  623. package/dist/chunks/cli-1.1.23-eyrgaj5n.mjs +0 -15
  624. package/dist/chunks/cli-1.1.23-f001cyx3.mjs +0 -2
  625. package/dist/chunks/cli-1.1.23-f1xqkfa1.mjs +0 -2
  626. package/dist/chunks/cli-1.1.23-f3x0gp77.mjs +0 -2
  627. package/dist/chunks/cli-1.1.23-fd4gay6z.mjs +0 -2
  628. package/dist/chunks/cli-1.1.23-ft6azs1x.mjs +0 -3
  629. package/dist/chunks/cli-1.1.23-fxt20eva.mjs +0 -2
  630. package/dist/chunks/cli-1.1.23-fxyf1cph.mjs +0 -2
  631. package/dist/chunks/cli-1.1.23-g16f6f0k.mjs +0 -6
  632. package/dist/chunks/cli-1.1.23-g3ps2zfa.mjs +0 -2
  633. package/dist/chunks/cli-1.1.23-g6b9c447.mjs +0 -2
  634. package/dist/chunks/cli-1.1.23-gfa8cfzz.mjs +0 -2
  635. package/dist/chunks/cli-1.1.23-gm82gspk.mjs +0 -2
  636. package/dist/chunks/cli-1.1.23-gqpma6kp.mjs +0 -2
  637. package/dist/chunks/cli-1.1.23-gqzmsste.mjs +0 -2
  638. package/dist/chunks/cli-1.1.23-gt2whh9g.mjs +0 -25
  639. package/dist/chunks/cli-1.1.23-h8qgj8ca.mjs +0 -17
  640. package/dist/chunks/cli-1.1.23-h9a97qvh.mjs +0 -17
  641. package/dist/chunks/cli-1.1.23-hdrz15yh.mjs +0 -2
  642. package/dist/chunks/cli-1.1.23-hemwg8ag.mjs +0 -2
  643. package/dist/chunks/cli-1.1.23-hkttfc6z.mjs +0 -2
  644. package/dist/chunks/cli-1.1.23-hmtg8m65.mjs +0 -2
  645. package/dist/chunks/cli-1.1.23-hynrf6x1.mjs +0 -5456
  646. package/dist/chunks/cli-1.1.23-j1834bmw.mjs +0 -8
  647. package/dist/chunks/cli-1.1.23-j50f02dv.mjs +0 -3
  648. package/dist/chunks/cli-1.1.23-j8pns1dc.mjs +0 -9
  649. package/dist/chunks/cli-1.1.23-j9tza8qb.mjs +0 -2
  650. package/dist/chunks/cli-1.1.23-jam2qpf9.mjs +0 -2
  651. package/dist/chunks/cli-1.1.23-jax91df0.mjs +0 -2
  652. package/dist/chunks/cli-1.1.23-jb9w45wb.mjs +0 -2
  653. package/dist/chunks/cli-1.1.23-jefmjg1q.mjs +0 -2
  654. package/dist/chunks/cli-1.1.23-jf6jqrkj.mjs +0 -4
  655. package/dist/chunks/cli-1.1.23-jv6dcqe2.mjs +0 -2
  656. package/dist/chunks/cli-1.1.23-kc1tbe8y.mjs +0 -6
  657. package/dist/chunks/cli-1.1.23-keftnbc6.mjs +0 -206
  658. package/dist/chunks/cli-1.1.23-kqechz3h.mjs +0 -3
  659. package/dist/chunks/cli-1.1.23-kwbgn4rk.mjs +0 -4
  660. package/dist/chunks/cli-1.1.23-mdnfpw2r.mjs +0 -4
  661. package/dist/chunks/cli-1.1.23-mg8gngc9.mjs +0 -2
  662. package/dist/chunks/cli-1.1.23-mqhr3zhn.mjs +0 -2
  663. package/dist/chunks/cli-1.1.23-mtz1dxjx.mjs +0 -2
  664. package/dist/chunks/cli-1.1.23-n0182x8j.mjs +0 -2
  665. package/dist/chunks/cli-1.1.23-n2b7hpwm.mjs +0 -2
  666. package/dist/chunks/cli-1.1.23-n3aqpv08.mjs +0 -2
  667. package/dist/chunks/cli-1.1.23-n73gbfxf.mjs +0 -2
  668. package/dist/chunks/cli-1.1.23-nr6xamsd.mjs +0 -2
  669. package/dist/chunks/cli-1.1.23-p3m54nrk.mjs +0 -12
  670. package/dist/chunks/cli-1.1.23-pjmjhm4y.mjs +0 -2
  671. package/dist/chunks/cli-1.1.23-pw5hm4mz.mjs +0 -3
  672. package/dist/chunks/cli-1.1.23-qn9572e2.mjs +0 -2
  673. package/dist/chunks/cli-1.1.23-qrr9yfsn.mjs +0 -2
  674. package/dist/chunks/cli-1.1.23-r21frpa6.mjs +0 -6
  675. package/dist/chunks/cli-1.1.23-r3rsk08v.mjs +0 -2
  676. package/dist/chunks/cli-1.1.23-r3waeyk4.mjs +0 -2
  677. package/dist/chunks/cli-1.1.23-r6f0jbrx.mjs +0 -2
  678. package/dist/chunks/cli-1.1.23-rcxg7gfm.mjs +0 -25
  679. package/dist/chunks/cli-1.1.23-rd74yzp6.mjs +0 -2
  680. package/dist/chunks/cli-1.1.23-re0ge1zr.mjs +0 -2
  681. package/dist/chunks/cli-1.1.23-rgc4d03t.mjs +0 -2
  682. package/dist/chunks/cli-1.1.23-rjt1xt8g.mjs +0 -2
  683. package/dist/chunks/cli-1.1.23-rpxkp0kh.mjs +0 -2
  684. package/dist/chunks/cli-1.1.23-s21f8qza.mjs +0 -2
  685. package/dist/chunks/cli-1.1.23-s2pn202f.mjs +0 -4
  686. package/dist/chunks/cli-1.1.23-s943evpq.mjs +0 -2
  687. package/dist/chunks/cli-1.1.23-sbyq9afq.mjs +0 -21
  688. package/dist/chunks/cli-1.1.23-sch1s17t.mjs +0 -2
  689. package/dist/chunks/cli-1.1.23-se379e5e.mjs +0 -15
  690. package/dist/chunks/cli-1.1.23-swf2c8db.mjs +0 -2
  691. package/dist/chunks/cli-1.1.23-syq3k5mp.mjs +0 -2
  692. package/dist/chunks/cli-1.1.23-v22erb37.mjs +0 -2
  693. package/dist/chunks/cli-1.1.23-v2fscr2z.mjs +0 -5
  694. package/dist/chunks/cli-1.1.23-v5e3cr99.mjs +0 -2
  695. package/dist/chunks/cli-1.1.23-v9bysq9w.mjs +0 -3
  696. package/dist/chunks/cli-1.1.23-vdp0r91n.mjs +0 -2
  697. package/dist/chunks/cli-1.1.23-vjgmph3s.mjs +0 -2
  698. package/dist/chunks/cli-1.1.23-vns1fwxz.mjs +0 -2
  699. package/dist/chunks/cli-1.1.23-vvcr72vv.mjs +0 -2
  700. package/dist/chunks/cli-1.1.23-vyf2j831.mjs +0 -2
  701. package/dist/chunks/cli-1.1.23-w16rdkte.mjs +0 -3
  702. package/dist/chunks/cli-1.1.23-w96hh9h7.mjs +0 -3
  703. package/dist/chunks/cli-1.1.23-wd48c77m.mjs +0 -24
  704. package/dist/chunks/cli-1.1.23-wgecwfx4.mjs +0 -18
  705. package/dist/chunks/cli-1.1.23-wkvjbzna.mjs +0 -2
  706. package/dist/chunks/cli-1.1.23-wnxxa385.mjs +0 -4
  707. package/dist/chunks/cli-1.1.23-wt4jgek9.mjs +0 -39
  708. package/dist/chunks/cli-1.1.23-x3te6rkf.mjs +0 -2
  709. package/dist/chunks/cli-1.1.23-x7yfmrs9.mjs +0 -3
  710. package/dist/chunks/cli-1.1.23-xafxg4a2.mjs +0 -2
  711. package/dist/chunks/cli-1.1.23-xgst7vty.mjs +0 -2
  712. package/dist/chunks/cli-1.1.23-xkt2056f.mjs +0 -2
  713. package/dist/chunks/cli-1.1.23-xyjeajm2.mjs +0 -2
  714. package/dist/chunks/cli-1.1.23-xzwwmz59.mjs +0 -2
  715. package/dist/chunks/cli-1.1.23-y3ea6683.mjs +0 -2
  716. package/dist/chunks/cli-1.1.23-y3fpdh43.mjs +0 -2
  717. package/dist/chunks/cli-1.1.23-ywvfrc54.mjs +0 -2
  718. package/dist/chunks/cli-1.1.23-yy2jcnc3.mjs +0 -133
  719. package/dist/chunks/cli-1.1.23-z1mvb05m.mjs +0 -2
  720. package/dist/chunks/cli-1.1.23-zb8savhy.mjs +0 -6
  721. package/dist/chunks/cli-1.1.23-zwpmh1ab.mjs +0 -2
  722. package/dist/chunks/client-1.1.23-mcea9qxt.mjs +0 -1
  723. package/dist/chunks/color-1.1.23-e9h5ff51.mjs +0 -1
  724. package/dist/chunks/compact-1.1.23-66s1gsw9.mjs +0 -3
  725. package/dist/chunks/config-1.1.23-j8frjsmx.mjs +0 -1
  726. package/dist/chunks/config-1.1.23-kedfvs1w.mjs +0 -1
  727. package/dist/chunks/constants-1.1.23-9gn99pw5.mjs +0 -1
  728. package/dist/chunks/context-1.1.23-bbrdpmdb.mjs +0 -1
  729. package/dist/chunks/context-noninteractive-1.1.23-f8h7s1k6.mjs +0 -1
  730. package/dist/chunks/conversation-1.1.23-s003tkm4.mjs +0 -1
  731. package/dist/chunks/copilotHeaders-1.1.23-ktfjf8vp.mjs +0 -1
  732. package/dist/chunks/copy-1.1.23-vydqekfj.mjs +0 -9
  733. package/dist/chunks/cost-1.1.23-wp3xmmkp.mjs +0 -1
  734. package/dist/chunks/createSSHSession-1.1.23-0dtjaw6b.mjs +0 -1
  735. package/dist/chunks/createSession-1.1.23-bx4zk9g9.mjs +0 -1
  736. package/dist/chunks/debug-1.1.23-7kg6d3tr.mjs +0 -1
  737. package/dist/chunks/defaultActionDeps-1.1.23-gpfa81s0.mjs +0 -1534
  738. package/dist/chunks/desktop-1.1.23-0kbkasx9.mjs +0 -1
  739. package/dist/chunks/detectRepository-1.1.23-cjja5tc4.mjs +0 -1
  740. package/dist/chunks/detection-1.1.23-j30fjqtk.mjs +0 -1
  741. package/dist/chunks/diff-1.1.23-97rmmwmn.mjs +0 -1
  742. package/dist/chunks/doctor-1.1.23-xm4qcrg3.mjs +0 -1
  743. package/dist/chunks/doctorDiagnostic-1.1.23-04mtjnab.mjs +0 -1
  744. package/dist/chunks/earlyInput-1.1.23-cjvssdzr.mjs +0 -1
  745. package/dist/chunks/effort-1.1.23-9wwy3zcx.mjs +0 -13
  746. package/dist/chunks/engine-1.1.23-zted98hq.mjs +0 -1
  747. package/dist/chunks/envLessBridgeConfig-1.1.23-ga3cphpb.mjs +0 -1
  748. package/dist/chunks/envUtils-1.1.23-rqpvwp80.mjs +0 -1
  749. package/dist/chunks/environmentSelection-1.1.23-mv2a2h1j.mjs +0 -1
  750. package/dist/chunks/environments-1.1.23-4jsfjwva.mjs +0 -1
  751. package/dist/chunks/errors-1.1.23-9xwf7tdw.mjs +0 -1
  752. package/dist/chunks/exampleCommands-1.1.23-80yr756b.mjs +0 -1
  753. package/dist/chunks/execFileNoThrow-1.1.23-psbfft6h.mjs +0 -1
  754. package/dist/chunks/exit-1.1.23-vrg1sh8k.mjs +0 -1
  755. package/dist/chunks/explorer-1.1.23-g4rr4dbw.mjs +0 -1
  756. package/dist/chunks/export-1.1.23-811x7m0f.mjs +0 -2
  757. package/dist/chunks/extra-usage-1.1.23-ytv7q7g9.mjs +0 -1
  758. package/dist/chunks/extra-usage-noninteractive-1.1.23-kfdpp2zp.mjs +0 -1
  759. package/dist/chunks/fast-1.1.23-vxqr4rn1.mjs +0 -1
  760. package/dist/chunks/feedback-1.1.23-sfxf5wts.mjs +0 -14
  761. package/dist/chunks/firstPartyEventLogger-1.1.23-1gh6mqe9.mjs +0 -1
  762. package/dist/chunks/git-1.1.23-ybtn6n7y.mjs +0 -1
  763. package/dist/chunks/githubModelsCredentials-1.1.23-ty811pr3.mjs +0 -1
  764. package/dist/chunks/goal-1.1.23-cmzk221k.mjs +0 -4
  765. package/dist/chunks/growthbook-1.1.23-3q1rbkkk.mjs +0 -1
  766. package/dist/chunks/headless-1.1.23-bkk5p8rm.mjs +0 -2
  767. package/dist/chunks/heapdump-1.1.23-ea8pzqst.mjs +0 -6
  768. package/dist/chunks/help-1.1.23-r7j3xk0t.mjs +0 -1
  769. package/dist/chunks/hookChains-1.1.23-3gw3ts22.mjs +0 -3
  770. package/dist/chunks/hooks-1.1.23-nh96m542.mjs +0 -1
  771. package/dist/chunks/hooks-1.1.23-pggycv75.mjs +0 -79
  772. package/dist/chunks/ide-1.1.23-qfkj03dp.mjs +0 -3
  773. package/dist/chunks/image-processor-napi-1.1.23-etg91fj9.mjs +0 -1
  774. package/dist/chunks/inboundAttachments-1.1.23-gct8j14t.mjs +0 -1
  775. package/dist/chunks/index-1.1.23-04w67ps4.mjs +0 -1
  776. package/dist/chunks/index-1.1.23-0qn8x2ym.mjs +0 -2
  777. package/dist/chunks/index-1.1.23-16krzxwz.mjs +0 -1
  778. package/dist/chunks/index-1.1.23-2mwhvv7z.mjs +0 -2
  779. package/dist/chunks/index-1.1.23-5xkpaxba.mjs +0 -1
  780. package/dist/chunks/index-1.1.23-87bctdxv.mjs +0 -1
  781. package/dist/chunks/index-1.1.23-894gw6j8.mjs +0 -1
  782. package/dist/chunks/index-1.1.23-bcrdf2k3.mjs +0 -9
  783. package/dist/chunks/index-1.1.23-ed1jbmt6.mjs +0 -1
  784. package/dist/chunks/index-1.1.23-hzafkcpn.mjs +0 -30
  785. package/dist/chunks/index-1.1.23-jfybaapb.mjs +0 -9
  786. package/dist/chunks/index-1.1.23-mbvmhq60.mjs +0 -1
  787. package/dist/chunks/index-1.1.23-nq44z8sn.mjs +0 -1
  788. package/dist/chunks/index-1.1.23-p84yrb6r.mjs +0 -1
  789. package/dist/chunks/index-1.1.23-sd9cv8pk.mjs +0 -23
  790. package/dist/chunks/index-1.1.23-v3pvt45w.mjs +0 -1
  791. package/dist/chunks/index-1.1.23-vnn2xc4y.mjs +0 -1
  792. package/dist/chunks/index-1.1.23-vw0ns36r.mjs +0 -1
  793. package/dist/chunks/index-1.1.23-xb876pe7.mjs +0 -5
  794. package/dist/chunks/index-1.1.23-xfzxwabm.mjs +0 -1
  795. package/dist/chunks/index-1.1.23-yjt3kte0.mjs +0 -1
  796. package/dist/chunks/index-1.1.23-ymq59t45.mjs +0 -1
  797. package/dist/chunks/index-1.1.23-ytps69pn.mjs +0 -1
  798. package/dist/chunks/init-1.1.23-68d7nbfy.mjs +0 -1
  799. package/dist/chunks/initReplBridge-1.1.23-zaa5v40e.mjs +0 -1
  800. package/dist/chunks/ink-1.1.23-vb2phcn9.mjs +0 -1
  801. package/dist/chunks/insights-1.1.23-hnbtjced.mjs +0 -870
  802. package/dist/chunks/install-1.1.23-ayas8qxr.mjs +0 -1
  803. package/dist/chunks/install-github-app-1.1.23-mph12hm0.mjs +0 -149
  804. package/dist/chunks/install-slack-app-1.1.23-9fs5jpzj.mjs +0 -1
  805. package/dist/chunks/instrumentation-1.1.23-g4we2v3z.mjs +0 -1
  806. package/dist/chunks/interactiveHelpers-1.1.23-72qdetj8.mjs +0 -1
  807. package/dist/chunks/keybindings-1.1.23-qb0smw96.mjs +0 -2
  808. package/dist/chunks/knowledge-1.1.23-05gqt07k.mjs +0 -2
  809. package/dist/chunks/latestVersionCache-1.1.23-1xrk6v9s.mjs +0 -1
  810. package/dist/chunks/loadAgentsDir-1.1.23-x9vbg6j3.mjs +0 -1
  811. package/dist/chunks/loadPluginHooks-1.1.23-b0kt93we.mjs +0 -1
  812. package/dist/chunks/log-1.1.23-raemwqxy.mjs +0 -1
  813. package/dist/chunks/main-1.1.23-ktwpj2m3.mjs +0 -1
  814. package/dist/chunks/managedEnv-1.1.23-wnqxm7br.mjs +0 -1
  815. package/dist/chunks/mcp-1.1.23-mtw0ktrf.mjs +0 -17
  816. package/dist/chunks/mcp-1.1.23-s9pkvzz6.mjs +0 -4
  817. package/dist/chunks/mcp-1.1.23-wcc13fhx.mjs +0 -1
  818. package/dist/chunks/mcpb-1.1.23-90y8tgct.mjs +0 -1
  819. package/dist/chunks/memory-1.1.23-bvsjvxnw.mjs +0 -72
  820. package/dist/chunks/model-1.1.23-m65499d4.mjs +0 -1
  821. package/dist/chunks/model-1.1.23-rdvj7rvy.mjs +0 -2
  822. package/dist/chunks/node-1.1.23-bqy7dzrh.mjs +0 -14
  823. package/dist/chunks/oauth-1.1.23-x33h0bwk.mjs +0 -1
  824. package/dist/chunks/openaiShim-1.1.23-0bheqhmg.mjs +0 -14
  825. package/dist/chunks/output-style-1.1.23-kxxfbqnj.mjs +0 -1
  826. package/dist/chunks/package-ZOVFJE7Z-1.1.23-cvn9aynn.mjs +0 -1
  827. package/dist/chunks/parseConnectUrl-1.1.23-r2c69hpj.mjs +0 -1
  828. package/dist/chunks/parser-1.1.23-9gjy8yyd.mjs +0 -1
  829. package/dist/chunks/passes-1.1.23-jt18rvzt.mjs +0 -1
  830. package/dist/chunks/permissions-1.1.23-krb3w1g6.mjs +0 -3
  831. package/dist/chunks/permissions-1.1.23-r2894sce.mjs +0 -1
  832. package/dist/chunks/plan-1.1.23-z731dw1m.mjs +0 -1
  833. package/dist/chunks/plist-1.1.23-5761s0b4.mjs +0 -1
  834. package/dist/chunks/plugin-1.1.23-p7pdz7d1.mjs +0 -29
  835. package/dist/chunks/pluginStartupCheck-1.1.23-mm4bszh7.mjs +0 -1
  836. package/dist/chunks/plugins-1.1.23-egkwh4yf.mjs +0 -9
  837. package/dist/chunks/preActionHook-1.1.23-v994g2s0.mjs +0 -2
  838. package/dist/chunks/print-1.1.23-g988xjb3.mjs +0 -57
  839. package/dist/chunks/process-1.1.23-eh0mn414.mjs +0 -1
  840. package/dist/chunks/processBashCommand-1.1.23-cnnyqpaq.mjs +0 -1
  841. package/dist/chunks/processSlashCommand-1.1.23-vs9vb8en.mjs +0 -9
  842. package/dist/chunks/prompt-1.1.23-4mk9fy81.mjs +0 -1
  843. package/dist/chunks/prompt-1.1.23-qmqyfem4.mjs +0 -1
  844. package/dist/chunks/prompts-1.1.23-jeeypg6w.mjs +0 -1
  845. package/dist/chunks/protocolHandler-1.1.23-1davtsam.mjs +0 -13
  846. package/dist/chunks/provider-1.1.23-x1hzx1zj.mjs +0 -2
  847. package/dist/chunks/providerProfiles-1.1.23-bkm9vq79.mjs +0 -1
  848. package/dist/chunks/providerValidation-1.1.23-z2rg5707.mjs +0 -6
  849. package/dist/chunks/rate-limit-options-1.1.23-f0hm4mbj.mjs +0 -1
  850. package/dist/chunks/registerSubcommands-1.1.23-mhtafhr6.mjs +0 -26
  851. package/dist/chunks/registry-1.1.23-hyqgjbyg.mjs +0 -1
  852. package/dist/chunks/release-notes-1.1.23-q1am84ke.mjs +0 -5
  853. package/dist/chunks/reload-plugins-1.1.23-nd1fctqt.mjs +0 -2
  854. package/dist/chunks/remote-env-1.1.23-m2zzn0f8.mjs +0 -1
  855. package/dist/chunks/remoteBridgeCore-1.1.23-vd210k89.mjs +0 -1
  856. package/dist/chunks/remoteSession-1.1.23-1jpg062g.mjs +0 -1
  857. package/dist/chunks/rename-1.1.23-ma9ny7xb.mjs +0 -1
  858. package/dist/chunks/replBridgeHandle-1.1.23-08pq9q2p.mjs +0 -1
  859. package/dist/chunks/replLauncher-1.1.23-wsqwfhc4.mjs +0 -1
  860. package/dist/chunks/resume-1.1.23-hkg0scyr.mjs +0 -2
  861. package/dist/chunks/rewind-1.1.23-jd6j4sgm.mjs +0 -1
  862. package/dist/chunks/rootOptions-1.1.23-m526t4yf.mjs +0 -1
  863. package/dist/chunks/runWorkflowHeadless-1.1.23-8mxg8581.mjs +0 -10
  864. package/dist/chunks/sandbox-adapter-1.1.23-pb9hd8jw.mjs +0 -1
  865. package/dist/chunks/sandbox-toggle-1.1.23-38kf297y.mjs +0 -1
  866. package/dist/chunks/session-1.1.23-mws1tmy1.mjs +0 -2
  867. package/dist/chunks/sessionDiscovery-1.1.23-8819q77c.mjs +0 -1
  868. package/dist/chunks/sessionFileAccessHooks-1.1.23-zq8cgfyk.mjs +0 -1
  869. package/dist/chunks/sessionStorage-1.1.23-m9mm0gy5.mjs +0 -1
  870. package/dist/chunks/settings-1.1.23-3fm1v708.mjs +0 -1
  871. package/dist/chunks/setup-1.1.23-rf97k4ha.mjs +0 -12
  872. package/dist/chunks/sinks-1.1.23-qgn22fd9.mjs +0 -1
  873. package/dist/chunks/skills-1.1.23-aed2c5zd.mjs +0 -1
  874. package/dist/chunks/startupProfiler-1.1.23-qrw1wxzd.mjs +0 -1
  875. package/dist/chunks/startupUpdateCheck-1.1.23-pwj6hq5b.mjs +0 -1
  876. package/dist/chunks/state-1.1.23-jxkq1t17.mjs +0 -1
  877. package/dist/chunks/stats-1.1.23-5kg21t1n.mjs +0 -6
  878. package/dist/chunks/status-1.1.23-zkcmaawr.mjs +0 -1
  879. package/dist/chunks/stickers-1.1.23-qag1twc4.mjs +0 -1
  880. package/dist/chunks/subprocessEnv-1.1.23-ahy63kbs.mjs +0 -1
  881. package/dist/chunks/tasks-1.1.23-89zfdmw0.mjs +0 -1
  882. package/dist/chunks/teamHelpers-1.1.23-wnq5c429.mjs +0 -1
  883. package/dist/chunks/teammateModeSnapshot-1.1.23-zrc83hqd.mjs +0 -1
  884. package/dist/chunks/teleport-1.1.23-cabj7qs6.mjs +0 -1
  885. package/dist/chunks/terminalSetup-1.1.23-3jp21th9.mjs +0 -1
  886. package/dist/chunks/theme-1.1.23-n5t1dngt.mjs +0 -1
  887. package/dist/chunks/thinkback-1.1.23-4a2rem3s.mjs +0 -1
  888. package/dist/chunks/thinkback-play-1.1.23-3928h8m5.mjs +0 -1
  889. package/dist/chunks/toolPool-1.1.23-yeszysf1.mjs +0 -1
  890. package/dist/chunks/toolSearch-1.1.23-x75878b7.mjs +0 -1
  891. package/dist/chunks/tools-1.1.23-m04a9j6h.mjs +0 -1
  892. package/dist/chunks/trustedDevice-1.1.23-rxgc65b0.mjs +0 -1
  893. package/dist/chunks/turndown.cjs-1.1.23-e39vsv0v.mjs +0 -69
  894. package/dist/chunks/types-1.1.23-pca5g3df.mjs +0 -1
  895. package/dist/chunks/ultrareviewCommand-1.1.23-mr97q52h.mjs +0 -4
  896. package/dist/chunks/update-1.1.23-3xmkkhns.mjs +0 -72
  897. package/dist/chunks/upgrade-1.1.23-8vn6552j.mjs +0 -1
  898. package/dist/chunks/upload-1.1.23-cx2aj445.mjs +0 -7
  899. package/dist/chunks/upstreamproxy-1.1.23-8rxwm8d3.mjs +0 -14
  900. package/dist/chunks/url-handler-napi-1.1.23-5e49greb.mjs +0 -1
  901. package/dist/chunks/usage-1.1.23-bndk03g2.mjs +0 -1
  902. package/dist/chunks/util-1.1.23-cb0nrsh4.mjs +0 -1
  903. package/dist/chunks/utils-1.1.23-t0mge2p3.mjs +0 -1
  904. package/dist/chunks/vim-1.1.23-trn7yz9v.mjs +0 -1
  905. package/dist/chunks/watchLoop-1.1.23-m61k9zxv.mjs +0 -13
  906. package/dist/chunks/watcher-1.1.23-vbwspp2c.mjs +0 -1
  907. package/dist/chunks/wiki-1.1.23-a9pe4h8f.mjs +0 -132
  908. package/dist/chunks/workflows-1.1.23-nbvbwe56.mjs +0 -1
  909. package/dist/chunks/worktree-1.1.23-tdh9qszq.mjs +0 -1
  910. package/dist/chunks/worktreeModeEnabled-1.1.23-bhescr26.mjs +0 -1
  911. package/dist/chunks/wrapper-1.1.23-xbpjcwkh.mjs +0 -7
  912. /package/dist/chunks/{cli-1.1.23-qgdfjtj2.mjs → cli-1.1.25-cpt1h3j8.mjs} +0 -0
@@ -0,0 +1,3 @@
1
+ import{Bo as i,Co as g,DO as wq,Fo as c,Ko as Yq,MG as w,No as E,Ro as t,TG as e,Zl as Uq,hy as Zq,iy as Wq,ky as Mq,sm as Vq,vo as M,wo as n,zO as Oq,zo as Xq}from"./cli-1.1.25-q88hb4qg.mjs";import"./cli-1.1.25-nxvqf4sh.mjs";import"./cli-1.1.25-ybe971qx.mjs";import"./cli-1.1.25-bmjvmtgk.mjs";import"./cli-1.1.25-6t9phfap.mjs";import"./cli-1.1.25-gz32rhhs.mjs";import"./cli-1.1.25-7d3fdbq5.mjs";import"./cli-1.1.25-2gjxmbsj.mjs";import"./cli-1.1.25-tj3kqgbv.mjs";import"./cli-1.1.25-ba3yrxg9.mjs";import"./cli-1.1.25-csgmna38.mjs";import"./cli-1.1.25-a0zejb5c.mjs";import"./cli-1.1.25-1sf51thg.mjs";import"./cli-1.1.25-pxq7zyjb.mjs";import"./cli-1.1.25-anhj1nnt.mjs";import"./cli-1.1.25-np8863pb.mjs";import"./cli-1.1.25-qp9j9ma3.mjs";import"./cli-1.1.25-hpfkk20r.mjs";import"./cli-1.1.25-vc7150xz.mjs";import"./cli-1.1.25-7qert3s4.mjs";import"./cli-1.1.25-12b1rzfj.mjs";import"./cli-1.1.25-9grz07r4.mjs";import{$Z as a,A1 as A,d2 as l,y1 as m}from"./cli-1.1.25-2gtabky3.mjs";import"./cli-1.1.25-t6rdfhp9.mjs";import"./cli-1.1.25-pcamey8m.mjs";import"./cli-1.1.25-3hnrfkxc.mjs";import"./cli-1.1.25-sz3dey5y.mjs";import"./cli-1.1.25-0m4pyzaf.mjs";import"./cli-1.1.25-4cgvw7e3.mjs";import"./cli-1.1.25-zqqpy89q.mjs";import"./cli-1.1.25-zk74mh7n.mjs";import"./cli-1.1.25-x4ww7pe7.mjs";import"./cli-1.1.25-x26vkphq.mjs";import{G4 as R,H4 as V,I4 as r}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as yq}from"./cli-1.1.25-6bb29bw7.mjs";import"./cli-1.1.25-dc92c5gy.mjs";import"./cli-1.1.25-rkh9pz84.mjs";import"./cli-1.1.25-n10jmzvk.mjs";import"./cli-1.1.25-9xqq9dsw.mjs";import"./cli-1.1.25-5n21xpvc.mjs";import"./cli-1.1.25-njrez2x5.mjs";import{N9 as j,O9 as Tq}from"./cli-1.1.25-eqtpax1f.mjs";import"./cli-1.1.25-q257pczz.mjs";import"./cli-1.1.25-82ht7pxh.mjs";import"./cli-1.1.25-h6ag26rc.mjs";import"./cli-1.1.25-jsn4we2f.mjs";import{$fa as Lq,Dfa as $,Gfa as d,p$ as Qq,r$ as Aq}from"./cli-1.1.25-s54emewd.mjs";import"./cli-1.1.25-f5ag59tm.mjs";import"./cli-1.1.25-b1hj5x42.mjs";import"./cli-1.1.25-683ggh08.mjs";import"./cli-1.1.25-sjqg08ww.mjs";import"./cli-1.1.25-peepax79.mjs";import{Oja as s,Qja as kq}from"./cli-1.1.25-37rs38eq.mjs";import"./cli-1.1.25-6vwz5vma.mjs";import{Cka as Kq,Fka as Pq}from"./cli-1.1.25-vkg5fb0z.mjs";import"./cli-1.1.25-qgnyys4j.mjs";import"./cli-1.1.25-5qknjpxc.mjs";import"./cli-1.1.25-6r6r7rep.mjs";import"./cli-1.1.25-ntfm6tbg.mjs";import"./cli-1.1.25-p9j8prqh.mjs";import"./cli-1.1.25-pzp73p0x.mjs";import"./cli-1.1.25-74ys7518.mjs";import"./cli-1.1.25-9yhnadye.mjs";import"./cli-1.1.25-6wjrv08c.mjs";import"./cli-1.1.25-z31z20wf.mjs";import{Uta as I,Yta as o}from"./cli-1.1.25-7qxwpfwh.mjs";function qq(B){let q=D.c(9),{onComplete:z}=B,K;if(q[0]!==z)K=async(W)=>{let G=W==="yes";$((U)=>({...U,autoConnectIde:G,hasIdeAutoConnectDialogBeenShown:!0})),z()},q[0]=z,q[1]=K;else K=q[1];let X=K,H;if(q[2]===Symbol.for("react.memo_cache_sentinel"))H=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],q[2]=H;else H=q[2];let Y=H,O;if(q[3]!==X)O=R(w,{options:Y,onChange:X,defaultValue:"yes"}),q[3]=X,q[4]=O;else O=q[4];let Q;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Q=R(A,{dimColor:!0,children:"You can also configure this in /config or with the --ide flag"}),q[5]=Q;else Q=q[5];let J;if(q[6]!==z||q[7]!==O)J=V(M,{title:"Do you wish to enable auto-connect to IDE?",color:"ide",onCancel:z,children:[O,Q]}),q[6]=z,q[7]=O,q[8]=J;else J=q[8];return J}function zq(){let B=d();return!g()&&B.autoConnectIde!==!0&&B.hasIdeAutoConnectDialogBeenShown!==!0}function Bq(B){let q=D.c(10),{onComplete:z}=B,K;if(q[0]!==z)K=(G)=>{let U=G==="yes";if(U)$(Fq);z(U)},q[0]=z,q[1]=K;else K=q[1];let X=K,H;if(q[2]!==z)H=()=>{z(!1)},q[2]=z,q[3]=H;else H=q[3];let Y=H,O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=[{label:"No",value:"no"},{label:"Yes",value:"yes"}],q[4]=O;else O=q[4];let Q=O,J;if(q[5]!==X)J=R(w,{options:Q,onChange:X,defaultValue:"no"}),q[5]=X,q[6]=J;else J=q[6];let W;if(q[7]!==Y||q[8]!==J)W=R(M,{title:"Do you wish to disable auto-connect to IDE?",subtitle:"You can also configure this in /config",onCancel:Y,color:"ide",children:J}),q[7]=Y,q[8]=J,q[9]=W;else W=q[9];return W}function Fq(B){return{...B,autoConnectIde:!1}}function Hq(){let B=d();return!g()&&B.autoConnectIde===!0}var D;var Jq=o(()=>{l();Lq();t();e();n();r();D=I(a(),1)});import*as Rq from"path";function jq(B){let q=C.c(39),{availableIDEs:z,unavailableIDEs:K,selectedIDE:X,onClose:H,onSelect:Y}=B,O;if(q[0]!==X?.port)O=X?.port?.toString()??"None",q[0]=X?.port,q[1]=O;else O=q[1];let[Q,J]=T.useState(O),[W,G]=T.useState(!1),[U,Z]=T.useState(!1),L;if(q[2]!==z||q[3]!==Y)L=(P)=>{if(P!=="None"&&zq())G(!0);else if(P==="None"&&Hq())Z(!0);else Y(z.find((y)=>y.port===parseInt(P)))},q[2]=z,q[3]=Y,q[4]=L;else L=q[4];let N=L,F;if(q[5]!==z)F=z.reduce(_q,{}),q[5]=z,q[6]=F;else F=q[6];let k=F,x;if(q[7]!==z||q[8]!==k){let P;if(q[10]!==k)P=(y)=>{let Nq=(k[y.name]||0)>1&&y.workspaceFolders.length>0;return{label:y.name,value:y.port.toString(),description:Nq?Gq(y.workspaceFolders):void 0}},q[10]=k,q[11]=P;else P=q[11];x=z.map(P).concat([{label:"None",value:"None",description:void 0}]),q[7]=z,q[8]=k,q[9]=x}else x=q[9];let v=x;if(W){let P;if(q[12]!==N||q[13]!==Q)P=R(qq,{onComplete:()=>N(Q)}),q[12]=N,q[13]=Q,q[14]=P;else P=q[14];return P}if(U){let P;if(q[15]!==Y)P=R(Bq,{onComplete:()=>{Y(void 0)}}),q[15]=Y,q[16]=P;else P=q[16];return P}let _;if(q[17]!==z.length)_=z.length===0&&R(A,{dimColor:!0,children:i()?`No available IDEs detected. Please install the plugin and restart your IDE:
2
+ https://docs.claude.com/s/claude-code-jetbrains`:"No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."}),q[17]=z.length,q[18]=_;else _=q[18];let S;if(q[19]!==z.length||q[20]!==N||q[21]!==v||q[22]!==Q)S=z.length!==0&&R(w,{defaultValue:Q,defaultFocusValue:Q,options:v,onChange:(P)=>{J(P),N(P)}}),q[19]=z.length,q[20]=N,q[21]=v,q[22]=Q,q[23]=S;else S=q[23];let f;if(q[24]!==z)f=z.length!==0&&z.some(xq)&&R(m,{marginTop:1,children:R(A,{color:"warning",children:"Note: Only one Claudin instance can be connected to VS Code at a time."})}),q[24]=z,q[25]=f;else f=q[25];let b;if(q[26]!==z.length)b=z.length!==0&&!g()&&R(m,{marginTop:1,children:R(A,{dimColor:!0,children:"Tip: You can enable auto-connect to IDE in /config or with the --ide flag"})}),q[26]=z.length,q[27]=b;else b=q[27];let h;if(q[28]!==K)h=K.length>0&&V(m,{marginTop:1,flexDirection:"column",children:[V(A,{dimColor:!0,children:["Found ",K.length," other running IDE(s). However, their workspace/project directories do not match the current cwd."]}),R(m,{marginTop:1,flexDirection:"column",children:K.map(mq)})]}),q[28]=K,q[29]=h;else h=q[29];let p;if(q[30]!==_||q[31]!==S||q[32]!==f||q[33]!==b||q[34]!==h)p=V(m,{flexDirection:"column",children:[_,S,f,b,h]}),q[30]=_,q[31]=S,q[32]=f,q[33]=b,q[34]=h,q[35]=p;else p=q[35];let u;if(q[36]!==H||q[37]!==p)u=R(M,{title:"Select IDE",subtitle:"Connect to an IDE for integrated development features.",onCancel:H,color:"ide",children:p}),q[36]=H,q[37]=p,q[38]=u;else u=q[38];return u}function mq(B,q){return R(m,{paddingLeft:3,children:V(A,{dimColor:!0,children:["• ",B.name,": ",Gq(B.workspaceFolders)]})},q)}function xq(B){return B.name==="VS Code"||B.name==="Visual Studio Code"}function _q(B,q){return B[q.name]=(B[q.name]||0)+1,B}async function Sq(B,q){let z=q?.ide;if(!z||z.type!=="sse-ide"&&z.type!=="ws-ide")return null;for(let K of B)if(K.url===z.url)return K;return null}function fq(B){let q=C.c(18),{availableIDEs:z,onSelectIDE:K,onDone:X}=B,H;if(q[0]!==z[0]?.port)H=z[0]?.port?.toString()??"",q[0]=z[0]?.port,q[1]=H;else H=q[1];let[Y,O]=T.useState(H),Q;if(q[2]!==z||q[3]!==K)Q=(k)=>{let x=z.find((v)=>v.port===parseInt(k));K(x)},q[2]=z,q[3]=K,q[4]=Q;else Q=q[4];let J=Q,W;if(q[5]!==z)W=z.map(bq),q[5]=z,q[6]=W;else W=q[6];let G=W,U;if(q[7]!==X)U=function(){X("IDE selection cancelled",{display:"system"})},q[7]=X,q[8]=U;else U=q[8];let Z=U,L;if(q[9]!==J)L=(k)=>{O(k),J(k)},q[9]=J,q[10]=L;else L=q[10];let N;if(q[11]!==G||q[12]!==Y||q[13]!==L)N=R(w,{defaultValue:Y,defaultFocusValue:Y,options:G,onChange:L}),q[11]=G,q[12]=Y,q[13]=L,q[14]=N;else N=q[14];let F;if(q[15]!==Z||q[16]!==N)F=R(M,{title:"Select an IDE to open the project",onCancel:Z,color:"ide",children:N}),q[15]=Z,q[16]=N,q[17]=F;else F=q[17];return F}function bq(B){return{label:B.name,value:B.port.toString()}}function hq(B){let q=C.c(15),{runningIDEs:z,onSelectIDE:K,onDone:X}=B,[H,Y]=T.useState(z[0]??""),O;if(q[0]!==K)O=(F)=>{K(F)},q[0]=K,q[1]=O;else O=q[1];let Q=O,J;if(q[2]!==z)J=z.map(pq),q[2]=z,q[3]=J;else J=q[3];let W=J,G;if(q[4]!==X)G=function(){X("IDE selection cancelled",{display:"system"})},q[4]=X,q[5]=G;else G=q[5];let U=G,Z;if(q[6]!==Q)Z=(F)=>{Y(F),Q(F)},q[6]=Q,q[7]=Z;else Z=q[7];let L;if(q[8]!==W||q[9]!==H||q[10]!==Z)L=R(w,{defaultFocusValue:H,options:W,onChange:Z}),q[8]=W,q[9]=H,q[10]=Z,q[11]=L;else L=q[11];let N;if(q[12]!==U||q[13]!==L)N=R(M,{title:"Select IDE to install extension",onCancel:U,color:"ide",children:L}),q[12]=U,q[13]=L,q[14]=N;else N=q[14];return N}function pq(B){return{label:E(B),value:B}}function gq(B){let q=C.c(4),{ide:z,onInstall:K}=B,X,H;if(q[0]!==z||q[1]!==K)X=()=>{K(z)},H=[z,K],q[0]=z,q[1]=K,q[2]=X,q[3]=H;else X=q[2],H=q[3];return T.useEffect(X,H),null}async function Qz(B,q,z){Kq("",{});let{options:{dynamicMcpConfig:K},onChangeDynamicMcpConfig:X}=q;if(z?.trim()==="open"){let J=Uq(),W=J?J.worktreePath:s(),U=(await c(!0)).filter((Z)=>Z.isValid);if(U.length===0)return B("No IDEs with Claude Code extension detected."),null;return R(fq,{availableIDEs:U,onSelectIDE:async(Z)=>{if(!Z){B("No IDE selected.");return}if(Z.name.toLowerCase().includes("vscode")||Z.name.toLowerCase().includes("cursor")||Z.name.toLowerCase().includes("windsurf")){let{code:L}=await Qq("code",[W]);if(L===0)B(`Opened ${J?"worktree":"project"} in ${j.bold(Z.name)}`);else B(`Failed to open in ${Z.name}. Try opening manually: ${W}`)}else if(i())B(`Please open the ${J?"worktree":"project"} manually in ${j.bold(Z.name)}: ${W}`);else B(`Please open the ${J?"worktree":"project"} manually in ${j.bold(Z.name)}: ${W}`)},onDone:()=>{B("Exited without opening IDE",{display:"system"})}})}let H=await c(!0);if(H.length===0&&q.onInstallIDEExtension&&!g()){let J=await Yq(),W=(G)=>{if(q.onInstallIDEExtension)if(q.onInstallIDEExtension(G),Xq(G))B(`Installed plugin to ${j.bold(E(G))}
3
+ Please ${j.bold("restart your IDE")} completely for it to take effect`);else B(`Installed extension to ${j.bold(E(G))}`)};if(J.length>1)return R(hq,{runningIDEs:J,onSelectIDE:W,onDone:()=>{B("No IDE selected.",{display:"system"})}});else if(J.length===1)return R(gq,{ide:J[0],onInstall:W})}let Y=H.filter((J)=>J.isValid),O=H.filter((J)=>!J.isValid),Q=await Sq(Y,K);return R(Cq,{availableIDEs:Y,unavailableIDEs:O,currentIDE:Q,dynamicMcpConfig:K,onChangeDynamicMcpConfig:X,onDone:B})}function Cq({availableIDEs:B,unavailableIDEs:q,currentIDE:z,dynamicMcpConfig:K,onChangeDynamicMcpConfig:X,onDone:H}){let[Y,O]=T.useState(null),Q=Zq((U)=>U.mcp.clients.find((Z)=>Z.name==="ide")),J=Wq(),W=T.useRef(!0);T.useEffect(()=>{if(!Y)return;if(W.current){W.current=!1;return}if(!Q||Q.type==="pending")return;if(Q.type==="connected")H(`Connected to ${Y.name}.`);else if(Q.type==="failed")H(`Failed to connect to ${Y.name}.`)},[Q,Y,H]),T.useEffect(()=>{if(!Y)return;let U=setTimeout(H,vq,`Connection to ${Y.name} timed out.`);return()=>clearTimeout(U)},[Y,H]);let G=T.useCallback((U)=>{if(!X){H("Error connecting to IDE.");return}let Z={...K||{}};if(z)delete Z.ide;if(!U){if(Q&&Q.type==="connected"&&z)Q.client.onclose=()=>{},Oq("ide",Q.config),J((N)=>({...N,mcp:{...N.mcp,clients:N.mcp.clients.filter((F)=>F.name!=="ide"),tools:N.mcp.tools.filter((F)=>!F.name?.startsWith("mcp__ide__")),commands:N.mcp.commands.filter((F)=>!F.name?.startsWith("mcp__ide__"))}}));X(Z),H(z?`Disconnected from ${z.name}.`:"No IDE selected.");return}let L=U.url;Z.ide={type:L.startsWith("ws:")?"ws-ide":"sse-ide",url:L,ideName:U.name,authToken:U.authToken,ideRunningInWindows:U.ideRunningInWindows,scope:"dynamic"},W.current=!0,O(U),X(Z)},[K,z,Q,J,X,H]);if(Y)return V(A,{dimColor:!0,children:["Connecting to ",Y.name,"…"]});return R(jq,{availableIDEs:B,unavailableIDEs:q,selectedIDE:z,onClose:()=>H("IDE selection cancelled",{display:"system"}),onSelect:G})}function Gq(B,q=100){if(B.length===0)return"";let z=s(),K=B.slice(0,2),X=B.length>2,H=X?3:0,Y=(K.length-1)*2,O=q-Y-H,Q=Math.floor(O/K.length),J=z.normalize("NFC"),G=K.map((U)=>{let Z=U.normalize("NFC");if(Z.startsWith(J+Rq.sep))U=Z.slice(J.length+1);if(U.length<=Q)return U;return"…"+U.slice(-(Q-1))}).join(", ");if(X)G+=", …";return G}var C,T,vq=35000;var uq=o(()=>{Tq();Pq();e();n();Jq();l();wq();Mq();kq();Aq();t();Vq();r();C=I(a(),1),T=I(yq(),1)});uq();export{Gq as formatWorkspaceFolders,Qz as call};
@@ -0,0 +1 @@
1
+ import{Yta as z}from"./cli-1.1.25-7qxwpfwh.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
@@ -0,0 +1,261 @@
1
+ import{$f as x,Wf as $,Xf as S,Yf as UE,Zf as n,_f as y,ag as K,bg as FI,cg as FO,dg as lI,eg as wO,fg as RI,gg as iI}from"./cli-1.1.25-f424x1de.mjs";import{CN as _R,KG as XO,LG as FR,MG as VR,TG as wN,Xp as wI,aq as OI,bq as oI,qN as JO,rN as KO}from"./cli-1.1.25-q88hb4qg.mjs";import"./cli-1.1.25-nxvqf4sh.mjs";import"./cli-1.1.25-ybe971qx.mjs";import"./cli-1.1.25-bmjvmtgk.mjs";import"./cli-1.1.25-6t9phfap.mjs";import"./cli-1.1.25-gz32rhhs.mjs";import"./cli-1.1.25-7d3fdbq5.mjs";import"./cli-1.1.25-2gjxmbsj.mjs";import"./cli-1.1.25-tj3kqgbv.mjs";import"./cli-1.1.25-ba3yrxg9.mjs";import"./cli-1.1.25-csgmna38.mjs";import"./cli-1.1.25-a0zejb5c.mjs";import"./cli-1.1.25-1sf51thg.mjs";import"./cli-1.1.25-pxq7zyjb.mjs";import"./cli-1.1.25-anhj1nnt.mjs";import"./cli-1.1.25-np8863pb.mjs";import"./cli-1.1.25-qp9j9ma3.mjs";import"./cli-1.1.25-hpfkk20r.mjs";import"./cli-1.1.25-vc7150xz.mjs";import"./cli-1.1.25-7qert3s4.mjs";import"./cli-1.1.25-12b1rzfj.mjs";import"./cli-1.1.25-9grz07r4.mjs";import{A1 as u,d2 as WO,y1 as P}from"./cli-1.1.25-2gtabky3.mjs";import"./cli-1.1.25-t6rdfhp9.mjs";import"./cli-1.1.25-pcamey8m.mjs";import"./cli-1.1.25-3hnrfkxc.mjs";import"./cli-1.1.25-sz3dey5y.mjs";import"./cli-1.1.25-0m4pyzaf.mjs";import"./cli-1.1.25-4cgvw7e3.mjs";import"./cli-1.1.25-zqqpy89q.mjs";import"./cli-1.1.25-zk74mh7n.mjs";import"./cli-1.1.25-x4ww7pe7.mjs";import"./cli-1.1.25-x26vkphq.mjs";import{G4 as V,H4 as JI,I4 as MI}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as GO}from"./cli-1.1.25-6bb29bw7.mjs";import"./cli-1.1.25-dc92c5gy.mjs";import"./cli-1.1.25-rkh9pz84.mjs";import"./cli-1.1.25-n10jmzvk.mjs";import"./cli-1.1.25-9xqq9dsw.mjs";import"./cli-1.1.25-5n21xpvc.mjs";import"./cli-1.1.25-njrez2x5.mjs";import"./cli-1.1.25-eqtpax1f.mjs";import"./cli-1.1.25-q257pczz.mjs";import"./cli-1.1.25-82ht7pxh.mjs";import"./cli-1.1.25-h6ag26rc.mjs";import"./cli-1.1.25-jsn4we2f.mjs";import{$fa as zN,Gfa as BR,Hha as MO,Mfa as GR,cda as ZE,eda as NN,ega as WR,lga as ZO,xga as zO,yba as EE,zba as sR,zha as KI}from"./cli-1.1.25-s54emewd.mjs";import"./cli-1.1.25-f5ag59tm.mjs";import"./cli-1.1.25-b1hj5x42.mjs";import"./cli-1.1.25-683ggh08.mjs";import"./cli-1.1.25-sjqg08ww.mjs";import"./cli-1.1.25-peepax79.mjs";import{Oja as TR,Qja as $N}from"./cli-1.1.25-37rs38eq.mjs";import{Bka as SE,ska as BI}from"./cli-1.1.25-6vwz5vma.mjs";import"./cli-1.1.25-vkg5fb0z.mjs";import"./cli-1.1.25-qgnyys4j.mjs";import"./cli-1.1.25-5qknjpxc.mjs";import{fma as OE,kma as cR}from"./cli-1.1.25-6r6r7rep.mjs";import{nma as LR,yma as XN}from"./cli-1.1.25-ntfm6tbg.mjs";import"./cli-1.1.25-p9j8prqh.mjs";import"./cli-1.1.25-pzp73p0x.mjs";import"./cli-1.1.25-74ys7518.mjs";import"./cli-1.1.25-9yhnadye.mjs";import"./cli-1.1.25-6wjrv08c.mjs";import"./cli-1.1.25-z31z20wf.mjs";import{Uta as II,Yta as W}from"./cli-1.1.25-7qxwpfwh.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{Ca as a,Da as b,Ea as c,Fa as d}from"./cli-1.1.25-jaz67hdc.mjs";import"./cli-1.1.25-1c633j9v.mjs";import"./cli-1.1.25-5n21xpvc.mjs";import"./cli-1.1.25-njrez2x5.mjs";import"./cli-1.1.25-eqtpax1f.mjs";import"./cli-1.1.25-q257pczz.mjs";import"./cli-1.1.25-h6ag26rc.mjs";import"./cli-1.1.25-s54emewd.mjs";import"./cli-1.1.25-f5ag59tm.mjs";import"./cli-1.1.25-b1hj5x42.mjs";import"./cli-1.1.25-683ggh08.mjs";import"./cli-1.1.25-sjqg08ww.mjs";import"./cli-1.1.25-peepax79.mjs";import"./cli-1.1.25-37rs38eq.mjs";import"./cli-1.1.25-6vwz5vma.mjs";import"./cli-1.1.25-vkg5fb0z.mjs";import"./cli-1.1.25-qgnyys4j.mjs";import"./cli-1.1.25-5qknjpxc.mjs";import"./cli-1.1.25-6r6r7rep.mjs";import"./cli-1.1.25-ntfm6tbg.mjs";import"./cli-1.1.25-p9j8prqh.mjs";import"./cli-1.1.25-pzp73p0x.mjs";import"./cli-1.1.25-74ys7518.mjs";import"./cli-1.1.25-9yhnadye.mjs";import"./cli-1.1.25-6wjrv08c.mjs";import"./cli-1.1.25-z31z20wf.mjs";import"./cli-1.1.25-7qxwpfwh.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
@@ -0,0 +1 @@
1
+ import{Sta as ls}from"./cli-1.1.25-6panntay.mjs";import{Wta as z,Yta as hs,Zta as Xn}from"./cli-1.1.25-7qxwpfwh.mjs";var V=z((js,Z)=>{var _,nn,en,sn,tn,hn,ln,cn,yn,wn,Sn,an,fn,Q,F,bn,un,gn,T,Mn,Un,Bn,$n,In,On,zn,Nn,Gn,X,rn,Cn,Tn;(function(n){var s=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(a){n(c(s,c(a)))});else if(typeof Z==="object"&&typeof js==="object")n(c(s,c(js)));else n(c(s));function c(a,w){if(a!==s)if(typeof Object.create==="function")Object.defineProperty(a,"__esModule",{value:!0});else a.__esModule=!0;return function(e,t){return a[e]=w?w(e,t):t}}})(function(n){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h))e[h]=t[h]};_=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function h(){this.constructor=e}e.prototype=t===null?Object.create(t):(h.prototype=t.prototype,new h)},nn=Object.assign||function(e){for(var t,h=1,l=arguments.length;h<l;h++){t=arguments[h];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e},en=function(e,t){var h={};for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0)h[l]=e[l];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)if(t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i]))h[l[i]]=e[l[i]]}return h},sn=function(e,t,h,l){var i=arguments.length,y=i<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,h):l,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")y=Reflect.decorate(e,t,h,l);else for(var b=e.length-1;b>=0;b--)if(S=e[b])y=(i<3?S(y):i>3?S(t,h,y):S(t,h))||y;return i>3&&y&&Object.defineProperty(t,h,y),y},tn=function(e,t){return function(h,l){t(h,l,e)}},hn=function(e,t,h,l,i,y){function S(r){if(r!==void 0&&typeof r!=="function")throw TypeError("Function expected");return r}var b=l.kind,g=b==="getter"?"get":b==="setter"?"set":"value",f=!t&&e?l.static?e:e.prototype:null,u=t||(f?Object.getOwnPropertyDescriptor(f,l.name):{}),U,B=!1;for(var M=h.length-1;M>=0;M--){var I={};for(var O in l)I[O]=O==="access"?{}:l[O];for(var O in l.access)I.access[O]=l.access[O];I.addInitializer=function(r){if(B)throw TypeError("Cannot add initializers after decoration has completed");y.push(S(r||null))};var $=(0,h[M])(b==="accessor"?{get:u.get,set:u.set}:u[g],I);if(b==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw TypeError("Object expected");if(U=S($.get))u.get=U;if(U=S($.set))u.set=U;if(U=S($.init))i.unshift(U)}else if(U=S($))if(b==="field")i.unshift(U);else u[g]=U}if(f)Object.defineProperty(f,l.name,u);B=!0},ln=function(e,t,h){var l=arguments.length>2;for(var i=0;i<t.length;i++)h=l?t[i].call(e,h):t[i].call(e);return l?h:void 0},cn=function(e){return typeof e==="symbol"?e:"".concat(e)},yn=function(e,t,h){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:h?"".concat(h," ",t):t})},wn=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},Sn=function(e,t,h,l){function i(y){return y instanceof h?y:new h(function(S){S(y)})}return new(h||(h=Promise))(function(y,S){function b(u){try{f(l.next(u))}catch(U){S(U)}}function g(u){try{f(l.throw(u))}catch(U){S(U)}}function f(u){u.done?y(u.value):i(u.value).then(b,g)}f((l=l.apply(e,t||[])).next())})},an=function(e,t){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},l,i,y,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=b(0),S.throw=b(1),S.return=b(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function b(f){return function(u){return g([f,u])}}function g(f){if(l)throw TypeError("Generator is already executing.");while(S&&(S=0,f[0]&&(h=0)),h)try{if(l=1,i&&(y=f[0]&2?i.return:f[0]?i.throw||((y=i.return)&&y.call(i),0):i.next)&&!(y=y.call(i,f[1])).done)return y;if(i=0,y)f=[f[0]&2,y.value];switch(f[0]){case 0:case 1:y=f;break;case 4:return h.label++,{value:f[1],done:!1};case 5:h.label++,i=f[1],f=[0];continue;case 7:f=h.ops.pop(),h.trys.pop();continue;default:if((y=h.trys,!(y=y.length>0&&y[y.length-1]))&&(f[0]===6||f[0]===2)){h=0;continue}if(f[0]===3&&(!y||f[1]>y[0]&&f[1]<y[3])){h.label=f[1];break}if(f[0]===6&&h.label<y[1]){h.label=y[1],y=f;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(f);break}if(y[2])h.ops.pop();h.trys.pop();continue}f=t.call(e,h)}catch(u){f=[6,u],i=0}finally{l=y=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},fn=function(e,t){for(var h in e)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(t,h))X(t,e,h)},X=Object.create?function(e,t,h,l){if(l===void 0)l=h;var i=Object.getOwnPropertyDescriptor(t,h);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[h]}};Object.defineProperty(e,l,i)}:function(e,t,h,l){if(l===void 0)l=h;e[l]=t[h]},Q=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,h=t&&e[t],l=0;if(h)return h.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&l>=e.length)e=void 0;return{value:e&&e[l++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(e,t){var h=typeof Symbol==="function"&&e[Symbol.iterator];if(!h)return e;var l=h.call(e),i,y=[],S;try{while((t===void 0||t-- >0)&&!(i=l.next()).done)y.push(i.value)}catch(b){S={error:b}}finally{try{if(i&&!i.done&&(h=l.return))h.call(l)}finally{if(S)throw S.error}}return y},bn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(F(arguments[t]));return e},un=function(){for(var e=0,t=0,h=arguments.length;t<h;t++)e+=arguments[t].length;for(var l=Array(e),i=0,t=0;t<h;t++)for(var y=arguments[t],S=0,b=y.length;S<b;S++,i++)l[i]=y[S];return l},gn=function(e,t,h){if(h||arguments.length===2){for(var l=0,i=t.length,y;l<i;l++)if(y||!(l in t)){if(!y)y=Array.prototype.slice.call(t,0,l);y[l]=t[l]}}return e.concat(y||Array.prototype.slice.call(t))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},Mn=function(e,t,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var l=h.apply(e,t||[]),i,y=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),b("next"),b("throw"),b("return",S),i[Symbol.asyncIterator]=function(){return this},i;function S(M){return function(I){return Promise.resolve(I).then(M,U)}}function b(M,I){if(l[M]){if(i[M]=function(O){return new Promise(function($,r){y.push([M,O,$,r])>1||g(M,O)})},I)i[M]=I(i[M])}}function g(M,I){try{f(l[M](I))}catch(O){B(y[0][3],O)}}function f(M){M.value instanceof T?Promise.resolve(M.value.v).then(u,U):B(y[0][2],M)}function u(M){g("next",M)}function U(M){g("throw",M)}function B(M,I){if(M(I),y.shift(),y.length)g(y[0][0],y[0][1])}},Un=function(e){var t,h;return t={},l("next"),l("throw",function(i){throw i}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(i,y){t[i]=e[i]?function(S){return(h=!h)?{value:T(e[i](S)),done:!1}:y?y(S):S}:y}},Bn=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],h;return t?t.call(e):(e=typeof Q==="function"?Q(e):e[Symbol.iterator](),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(y){h[y]=e[y]&&function(S){return new Promise(function(b,g){S=e[y](S),i(b,g,S.done,S.value)})}}function i(y,S,b,g){Promise.resolve(g).then(function(f){y({value:f,done:b})},S)}},$n=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var c=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){return a=Object.getOwnPropertyNames||function(t){var h=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l))h[h.length]=l;return h},a(e)};In=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h=a(e),l=0;l<h.length;l++)if(h[l]!=="default")X(t,e,h[l])}return c(t,e),t},On=function(e){return e&&e.__esModule?e:{default:e}},zn=function(e,t,h,l){if(h==="a"&&!l)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!l:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?l:h==="a"?l.call(e):l?l.value:t.get(e)},Nn=function(e,t,h,l,i){if(l==="m")throw TypeError("Private method is not writable");if(l==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?i.call(e,h):i?i.value=h:t.set(e,h),h},Gn=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},rn=function(e,t,h){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var l,i;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");l=t[Symbol.asyncDispose]}if(l===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(l=t[Symbol.dispose],h)i=l}if(typeof l!=="function")throw TypeError("Object not disposable.");if(i)l=function(){try{i.call(this)}catch(y){return Promise.reject(y)}};e.stack.push({value:t,dispose:l,async:h})}else if(h)e.stack.push({async:!0});return t};var w=typeof SuppressedError==="function"?SuppressedError:function(e,t,h){var l=Error(h);return l.name="SuppressedError",l.error=e,l.suppressed=t,l};Cn=function(e){function t(y){e.error=e.hasError?new w(y,e.error,"An error was suppressed during disposal."):y,e.hasError=!0}var h,l=0;function i(){while(h=e.stack.pop())try{if(!h.async&&l===1)return l=0,e.stack.push(h),Promise.resolve().then(i);if(h.dispose){var y=h.dispose.call(h.value);if(h.async)return l|=2,Promise.resolve(y).then(i,function(S){return t(S),i()})}else l|=1}catch(S){t(S)}if(l===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()},Tn=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,l,i,y,S){return l?t?".jsx":".js":i&&(!y||!S)?h:i+y+"."+S.toLowerCase()+"js"});return e},n("__extends",_),n("__assign",nn),n("__rest",en),n("__decorate",sn),n("__param",tn),n("__esDecorate",hn),n("__runInitializers",ln),n("__propKey",cn),n("__setFunctionName",yn),n("__metadata",wn),n("__awaiter",Sn),n("__generator",an),n("__exportStar",fn),n("__createBinding",X),n("__values",Q),n("__read",F),n("__spread",bn),n("__spreadArrays",un),n("__spreadArray",gn),n("__await",T),n("__asyncGenerator",Mn),n("__asyncDelegator",Un),n("__asyncValues",Bn),n("__makeTemplateObject",$n),n("__importStar",In),n("__importDefault",On),n("__classPrivateFieldGet",zn),n("__classPrivateFieldSet",Nn),n("__classPrivateFieldIn",Gn),n("__addDisposableResource",rn),n("__disposeResources",Cn),n("__rewriteRelativeImportExtension",Tn)})});var Qn=z((Es,Wn)=>{var{defineProperty:H,getOwnPropertyDescriptor:fe,getOwnPropertyNames:be}=Object,ue=Object.prototype.hasOwnProperty,ge=(n,s)=>H(n,"name",{value:s,configurable:!0}),Me=(n,s)=>{for(var c in s)H(n,c,{get:s[c],enumerable:!0})},Ue=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of be(s))if(!ue.call(n,w)&&w!==c)H(n,w,{get:()=>s[w],enumerable:!(a=fe(s,w))||a.enumerable})}return n},Be=(n)=>Ue(H({},"__esModule",{value:!0}),n),Ln={};Me(Ln,{isArrayBuffer:()=>$e});Wn.exports=Be(Ln);var $e=ge((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var Kn=z((Ps,qn)=>{var{defineProperty:q,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Oe}=Object,ze=Object.prototype.hasOwnProperty,Zn=(n,s)=>q(n,"name",{value:s,configurable:!0}),Ne=(n,s)=>{for(var c in s)q(n,c,{get:s[c],enumerable:!0})},Ge=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Oe(s))if(!ze.call(n,w)&&w!==c)q(n,w,{get:()=>s[w],enumerable:!(a=Ie(s,w))||a.enumerable})}return n},re=(n)=>Ge(q({},"__esModule",{value:!0}),n),Hn={};Ne(Hn,{fromArrayBuffer:()=>Te,fromString:()=>Le});qn.exports=re(Hn);var Ce=Qn(),J=Xn("buffer"),Te=Zn((n,s=0,c=n.byteLength-s)=>{if(!(0,Ce.isArrayBuffer)(n))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return J.Buffer.from(n,s,c)},"fromArrayBuffer"),Le=Zn((n,s)=>{if(typeof n!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return s?J.Buffer.from(n,s):J.Buffer.from(n)},"fromString")});var An=z((ks,mn)=>{var{defineProperty:K,getOwnPropertyDescriptor:We,getOwnPropertyNames:Qe}=Object,Xe=Object.prototype.hasOwnProperty,m=(n,s)=>K(n,"name",{value:s,configurable:!0}),Ze=(n,s)=>{for(var c in s)K(n,c,{get:s[c],enumerable:!0})},He=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Qe(s))if(!Xe.call(n,w)&&w!==c)K(n,w,{get:()=>s[w],enumerable:!(a=We(s,w))||a.enumerable})}return n},qe=(n)=>He(K({},"__esModule",{value:!0}),n),Fn={};Ze(Fn,{fromUtf8:()=>Jn,toUint8Array:()=>Ke,toUtf8:()=>Fe});mn.exports=qe(Fn);var Vn=Kn(),Jn=m((n)=>{let s=(0,Vn.fromString)(n,"utf8");return new Uint8Array(s.buffer,s.byteOffset,s.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Ke=m((n)=>{if(typeof n==="string")return Jn(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),Fe=m((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,Vn.fromArrayBuffer)(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Dn=z((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});Rn.convertToBuffer=void 0;var Ve=An(),Je=typeof Buffer<"u"&&Buffer.from?function(n){return Buffer.from(n,"utf8")}:Ve.fromUtf8;function me(n){if(n instanceof Uint8Array)return n;if(typeof n==="string")return Je(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)}Rn.convertToBuffer=me});var Pn=z((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.isEmptyData=void 0;function Ae(n){if(typeof n==="string")return n.length===0;return n.byteLength===0}jn.isEmptyData=Ae});var dn=z((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.numToUint8=void 0;function Re(n){return new Uint8Array([(n&4278190080)>>24,(n&16711680)>>16,(n&65280)>>8,n&255])}kn.numToUint8=Re});var pn=z((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.uint32ArrayFrom=void 0;function Ye(n){if(!Uint32Array.from){var s=new Uint32Array(n.length),c=0;while(c<n.length)s[c]=n[c],c+=1;return s}return Uint32Array.from(n)}on.uint32ArrayFrom=Ye});var A=z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.uint32ArrayFrom=L.numToUint8=L.isEmptyData=L.convertToBuffer=void 0;var De=Dn();Object.defineProperty(L,"convertToBuffer",{enumerable:!0,get:function(){return De.convertToBuffer}});var je=Pn();Object.defineProperty(L,"isEmptyData",{enumerable:!0,get:function(){return je.isEmptyData}});var Ee=dn();Object.defineProperty(L,"numToUint8",{enumerable:!0,get:function(){return Ee.numToUint8}});var Pe=pn();Object.defineProperty(L,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pe.uint32ArrayFrom}})});var te=z((ee)=>{Object.defineProperty(ee,"__esModule",{value:!0});ee.AwsCrc32=void 0;var _n=V(),R=A(),ne=Y(),ve=function(){function n(){this.crc32=new ne.Crc32}return n.prototype.update=function(s){if((0,R.isEmptyData)(s))return;this.crc32.update((0,R.convertToBuffer)(s))},n.prototype.digest=function(){return _n.__awaiter(this,void 0,void 0,function(){return _n.__generator(this,function(s){return[2,(0,R.numToUint8)(this.crc32.digest())]})})},n.prototype.reset=function(){this.crc32=new ne.Crc32},n}();ee.AwsCrc32=ve});var Y=z((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.AwsCrc32=D.Crc32=D.crc32=void 0;var de=V(),oe=A();function xe(n){return new he().update(n).digest()}D.crc32=xe;var he=function(){function n(){this.checksum=4294967295}return n.prototype.update=function(s){var c,a;try{for(var w=de.__values(s),e=w.next();!e.done;e=w.next()){var t=e.value;this.checksum=this.checksum>>>8^_e[(this.checksum^t)&255]}}catch(h){c={error:h}}finally{try{if(e&&!e.done&&(a=w.return))a.call(w)}finally{if(c)throw c.error}}return this},n.prototype.digest=function(){return(this.checksum^4294967295)>>>0},n}();D.Crc32=he;var pe=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],_e=(0,oe.uint32ArrayFrom)(pe),ns=te();Object.defineProperty(D,"AwsCrc32",{enumerable:!0,get:function(){return ns.AwsCrc32}})});class W{bytes;constructor(n){if(this.bytes=n,n.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776000||n<-9223372036854776000)throw Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let c=7,a=Math.abs(Math.round(n));c>-1&&a>0;c--,a/=256)s[c]=a;if(n<0)le(s);return new W(s)}valueOf(){let n=this.bytes.slice(0),s=n[0]&128;if(s)le(n);return parseInt(N.toHex(n),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function le(n){for(let s=0;s<8;s++)n[s]^=255;for(let s=7;s>-1;s--)if(n[s]++,n[s]!==0)break}class j{toUtf8;fromUtf8;constructor(n,s){this.toUtf8=n,this.fromUtf8=s}format(n){let s=[];for(let w of Object.keys(n)){let e=this.fromUtf8(w);s.push(Uint8Array.from([e.byteLength]),e,this.formatHeaderValue(n[w]))}let c=new Uint8Array(s.reduce((w,e)=>w+e.byteLength,0)),a=0;for(let w of s)c.set(w,a),a+=w.byteLength;return c}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,n.value,!1),new Uint8Array(s.buffer);case"integer":let c=new DataView(new ArrayBuffer(5));return c.setUint8(0,4),c.setInt32(1,n.value,!1),new Uint8Array(c.buffer);case"long":let a=new Uint8Array(9);return a[0]=5,a.set(n.value.bytes,1),a;case"binary":let w=new DataView(new ArrayBuffer(3+n.value.byteLength));w.setUint8(0,6),w.setUint16(1,n.value.byteLength,!1);let e=new Uint8Array(w.buffer);return e.set(n.value,3),e;case"string":let t=this.fromUtf8(n.value),h=new DataView(new ArrayBuffer(3+t.byteLength));h.setUint8(0,7),h.setUint16(1,t.byteLength,!1);let l=new Uint8Array(h.buffer);return l.set(t,3),l;case"timestamp":let i=new Uint8Array(9);return i[0]=8,i.set(W.fromNumber(n.value.valueOf()).bytes,1),i;case"uuid":if(!gs.test(n.value))throw Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set(N.fromHex(n.value.replace(/\-/g,"")),1),y}}parse(n){let s={},c=0;while(c<n.byteLength){let a=n.getUint8(c++),w=this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,a));switch(c+=a,n.getUint8(c++)){case 0:s[w]={type:ye,value:!0};break;case 1:s[w]={type:ye,value:!1};break;case 2:s[w]={type:ys,value:n.getInt8(c++)};break;case 3:s[w]={type:is,value:n.getInt16(c,!1)},c+=2;break;case 4:s[w]={type:ws,value:n.getInt32(c,!1)},c+=4;break;case 5:s[w]={type:Ss,value:new W(new Uint8Array(n.buffer,n.byteOffset+c,8))},c+=8;break;case 6:let e=n.getUint16(c,!1);c+=2,s[w]={type:as,value:new Uint8Array(n.buffer,n.byteOffset+c,e)},c+=e;break;case 7:let t=n.getUint16(c,!1);c+=2,s[w]={type:fs,value:this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,t))},c+=t;break;case 8:s[w]={type:bs,value:new Date(new W(new Uint8Array(n.buffer,n.byteOffset+c,8)).valueOf())},c+=8;break;case 9:let h=new Uint8Array(n.buffer,n.byteOffset+c,16);c+=16,s[w]={type:us,value:`${N.toHex(h.subarray(0,4))}-${N.toHex(h.subarray(4,6))}-${N.toHex(h.subarray(6,8))}-${N.toHex(h.subarray(8,10))}-${N.toHex(h.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}function Us({byteLength:n,byteOffset:s,buffer:c}){if(n<Ms)throw Error("Provided message too short to accommodate event stream message overhead");let a=new DataView(c,s,n),w=a.getUint32(0,!1);if(n!==w)throw Error("Reported message length does not match received message length");let e=a.getUint32(we,!1),t=a.getUint32(G,!1),h=a.getUint32(n-C,!1),l=new ie.Crc32().update(new Uint8Array(c,s,G));if(t!==l.digest())throw Error(`The prelude checksum specified in the message (${t}) does not match the calculated CRC32 checksum (${l.digest()})`);if(l.update(new Uint8Array(c,s+G,n-(G+C))),h!==l.digest())throw Error(`The message checksum (${l.digest()}) did not match the expected value of ${h}`);return{headers:new DataView(c,s+G+C,e),body:new Uint8Array(c,s+G+C+e,w-e-(G+C+C))}}class E{headerMarshaller;messageBuffer;isEndOfStream;constructor(n,s){this.headerMarshaller=new j(n,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return s}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return s}}}encode({headers:n,body:s}){let c=this.headerMarshaller.format(n),a=c.byteLength+s.byteLength+16,w=new Uint8Array(a),e=new DataView(w.buffer,w.byteOffset,w.byteLength),t=new ie.Crc32;return e.setUint32(0,a,!1),e.setUint32(4,c.byteLength,!1),e.setUint32(8,t.update(w.subarray(0,8)).digest(),!1),w.set(c,12),w.set(s,c.byteLength+12),e.setUint32(a-4,t.update(w.subarray(8,a-4)).digest(),!1),w}decode(n){let{headers:s,body:c}=Us(n);return{headers:this.headerMarshaller.parse(s),body:c}}formatHeaders(n){return this.headerMarshaller.format(n)}}function Se(n){let s=0,c=0,a=null,w=null,e=(h)=>{if(typeof h!=="number")throw Error("Attempted to allocate an event message where size was not a number: "+h);s=h,c=4,a=new Uint8Array(h),new DataView(a.buffer).setUint32(0,h,!1)},t=async function*(){let h=n[Symbol.asyncIterator]();while(!0){let{value:l,done:i}=await h.next();if(i){if(!s)return;else if(s===c)yield a;else throw Error("Truncated event message received.");return}let y=l.length,S=0;while(S<y){if(!a){let g=y-S;if(!w)w=new Uint8Array(4);let f=Math.min(4-c,g);if(w.set(l.slice(S,S+f),c),c+=f,S+=f,c<4)break;e(new DataView(w.buffer).getUint32(0,!1)),w=null}let b=Math.min(s-c,y-S);if(a.set(l.slice(S,S+b),c),c+=b,S+=b,s&&s===c)yield a,a=null,s=0,c=0}}};return{[Symbol.asyncIterator]:t}}function Bs(n,s){let c=o(s.deserializer,s.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let a of n){let w=s.eventStreamCodec.decode(a),e=await c(w);if(e===void 0)continue;yield e}}}}function o(n,s){return async function(c){let{value:a}=c.headers[":message-type"];if(a==="error"){let w=Error(c.headers[":error-message"].value||"UnknownError");throw w.name=c.headers[":error-code"].value,w}else if(a==="exception"){let w=c.headers[":exception-type"].value,e={[w]:c},t=await n(e);if(t.$unknown){let h=Error(s(c.body));throw h.name=w,h}throw t[w]}else if(a==="event"){let w={[c.headers[":event-type"].value]:c},e=await n(w);if(e.$unknown)return;return e}else throw Error(`Unrecognizable event type: ${c.headers[":event-type"].value}`)}}class p{universalMarshaller;constructor({utf8Encoder:n,utf8Decoder:s}){this.universalMarshaller=new x({utf8Decoder:s,utf8Encoder:n})}deserialize(n,s){let c=typeof n[Symbol.asyncIterator]==="function"?n:Os(n);return this.universalMarshaller.deserialize(c,s)}serialize(n,s){return cs.Readable.from(this.universalMarshaller.serialize(n,s))}}async function*Os(n){let s=!1,c=!1,a=[];n.on("error",(w)=>{if(!s)s=!0;if(w)throw w}),n.on("data",(w)=>{a.push(w)}),n.on("end",()=>{s=!0});while(!c){let w=await new Promise((e)=>setTimeout(()=>e(a.shift()),0));if(w)yield w;c=s&&a.length===0}}class ae{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:n,serializer:s,deserializer:c,serdeContext:a,defaultContentType:w}){this.marshaller=n,this.serializer=s,this.deserializer=c,this.serdeContext=a,this.defaultContentType=w}async serializeEventStream({eventStream:n,requestSchema:s,initialRequest:c}){let a=this.marshaller,w=s.getEventStreamMember(),e=s.getMemberSchema(w),t=this.serializer,h=this.defaultContentType,l=Symbol("initialRequestMarker"),i={async*[Symbol.asyncIterator](){if(c){let y={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:h}};t.write(s,c);let S=t.flush();yield{[l]:!0,headers:y,body:S}}for await(let y of n)yield y}};return a.serialize(i,(y)=>{if(y[l])return{headers:y.headers,body:y.body};let S="";for(let B in y)if(B!=="__type"){S=B;break}let{additionalHeaders:b,body:g,eventType:f,explicitPayloadContentType:u}=this.writeEventBody(S,e,y);return{headers:{":event-type":{type:"string",value:f},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u??h},...b},body:g}})}async deserializeEventStream({response:n,responseSchema:s,initialResponseContainer:c}){let a=this.marshaller,w=s.getEventStreamMember(),t=s.getMemberSchema(w).getMemberSchemas(),h=Symbol("initialResponseMarker"),l=a.deserialize(n.body,async(S)=>{let b="";for(let f in S)if(f!=="__type"){b=f;break}let g=S[b].body;if(b==="initial-response"){let f=await this.deserializer.read(s,g);return delete f[w],{[h]:!0,...f}}else if(b in t){let f=t[b];if(f.isStructSchema()){let u={},U=!1;for(let[B,M]of f.structIterator()){let{eventHeader:I,eventPayload:O}=M.getMergedTraits();if(U=U||Boolean(I||O),O){if(M.isBlobSchema())u[B]=g;else if(M.isStringSchema())u[B]=(this.serdeContext?.utf8Encoder??N.toUtf8)(g);else if(M.isStructSchema())u[B]=await this.deserializer.read(M,g)}else if(I){let $=S[b].headers[B]?.value;if($!=null)if(M.isNumericSchema())if($&&typeof $==="object"&&"bytes"in $)u[B]=BigInt($.toString());else u[B]=Number($);else u[B]=$}}if(U)return{[b]:u};if(g.byteLength===0)return{[b]:{}}}return{[b]:await this.deserializer.read(f,g)}}else return{$unknown:S}}),i=l[Symbol.asyncIterator](),y=await i.next();if(y.done)return l;if(y.value?.[h]){if(!s)throw Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let S in y.value)c[S]=y.value[S]}return{async*[Symbol.asyncIterator](){if(!y?.value?.[h])yield y.value;while(!0){let{done:S,value:b}=await i.next();if(S)break;yield b}}}}writeEventBody(n,s,c){let a=this.serializer,w=n,e=null,t,h=(()=>{return s.getSchema()[4].includes(n)})(),l={};if(!h){let[S,b]=c[n];w=S,a.write(15,b)}else{let S=s.getMemberSchema(n);if(S.isStructSchema()){for(let[b,g]of S.structIterator()){let{eventHeader:f,eventPayload:u}=g.getMergedTraits();if(u)e=b;else if(f){let U=c[n][b],B="binary";if(g.isNumericSchema())if(-2147483648<=U&&U<=2147483647)B="integer";else B="long";else if(g.isTimestampSchema())B="timestamp";else if(g.isStringSchema())B="string";else if(g.isBooleanSchema())B="boolean";if(U!=null)l[b]={type:B,value:U},delete c[n][b]}}if(e!==null){let b=S.getMemberSchema(e);if(b.isBlobSchema())t="application/octet-stream";else if(b.isStringSchema())t="text/plain";a.write(b,c[n][e])}else a.write(S,c[n])}else if(S.isUnitSchema())a.write(S,{});else throw Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}let i=a.flush()??new Uint8Array;return{body:typeof i==="string"?(this.serdeContext?.utf8Decoder??N.fromUtf8)(i):i,eventType:w,explicitPayloadContentType:t,additionalHeaders:l}}}var ie,N,cs,ce,ye="boolean",ys="byte",is="short",ws="integer",Ss="long",as="binary",fs="string",bs="timestamp",us="uuid",gs,we=4,G,C=4,Ms,P,k,v,d,x=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:s,utf8Decoder:c}){this.eventStreamCodec=new E(s,c),this.utfEncoder=s}deserialize(s,c){let a=Se(s);return new v({messageStream:new P({inputStream:a,decoder:this.eventStreamCodec}),deserializer:o(c,this.utfEncoder)})}serialize(s,c){return new k({messageStream:new d({inputStream:s,serializer:c}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},$s=(n)=>new x(n),Is=(n)=>new p(n),zs=(n)=>({[Symbol.asyncIterator]:async function*(){let s=n.getReader();try{while(!0){let{done:c,value:a}=await s.read();if(c)return;yield a}}finally{s.releaseLock()}}}),Ns=(n)=>{let s=n[Symbol.asyncIterator]();return new ReadableStream({async pull(c){let{done:a,value:w}=await s.next();if(a)return c.close();c.enqueue(w)}})},Gs=(n)=>Object.assign(n,{eventStreamMarshaller:n.eventStreamSerdeProvider(n)}),rs,Cs,Ts,Ls,Ws,Qs,Xs,Zs,Hs,qs,Ks,Fs,Vs,Js,ms,As,Rs,Ys;var Ds=hs(()=>{ie=Y(),N=ls(),cs=Xn("node:stream");(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(ce||(ce={}));gs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G=we*2,Ms=G+C*2;P=class P{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};k=class k{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);if(this.options.includeEndFrame)yield new Uint8Array(0)}};v=class v{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let s=await this.options.deserializer(n);if(s===void 0)continue;yield s}}};d=class d{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};rs=E,Cs=p,Ts=ae,Ls=j,Ws=W,Qs=P,Xs=k,Zs=v,Hs=d,qs=x,Ks=Is,Fs=Se,Vs=o,Js=Bs,ms=Ns,As=zs,Rs=Gs,Ys=$s});Ds();export{Ys as universalEventStreamSerdeProvider,Rs as resolveEventStreamSerdeConfig,As as readableStreamToIterable,ms as iterableToReadableStream,Js as getUnmarshalledStream,Vs as getMessageUnmarshaller,Fs as getChunkedStream,Ks as eventStreamSerdeProvider,qs as UniversalEventStreamMarshaller,Hs as SmithyMessageEncoderStream,Zs as SmithyMessageDecoderStream,Xs as MessageEncoderStream,Qs as MessageDecoderStream,Ws as Int64,Ls as HeaderMarshaller,Ts as EventStreamSerde,Cs as EventStreamMarshaller,rs as EventStreamCodec};export default {get universalEventStreamSerdeProvider(){return Ys},get resolveEventStreamSerdeConfig(){return Rs},get readableStreamToIterable(){return As},get iterableToReadableStream(){return ms},get getUnmarshalledStream(){return Js},get getMessageUnmarshaller(){return Vs},get getChunkedStream(){return Fs},get eventStreamSerdeProvider(){return Ks},get UniversalEventStreamMarshaller(){return qs},get SmithyMessageEncoderStream(){return Hs},get SmithyMessageDecoderStream(){return Zs},get MessageEncoderStream(){return Xs},get MessageDecoderStream(){return Qs},get Int64(){return Ws},get HeaderMarshaller(){return Ls},get EventStreamSerde(){return Ts},get EventStreamMarshaller(){return Cs},get EventStreamCodec(){return rs}};
@@ -0,0 +1,2 @@
1
+ import{A_ as Sr,B_ as Rr,C_ as xr,D_ as vr,E_ as Kt,F_ as kt,G_ as er,H_ as Ur,I_ as Mr,i_ as F,j_ as Nr,k_ as Dr,l_ as br,m_ as Ge,n_ as Zt,o_ as Et,p_ as $r,q_ as Is,r_ as Ar,s_ as Fr,t_ as hs,u_ as G,v_ as tt,w_ as pr,x_ as _r,z_ as Er}from"./cli-1.1.25-8vqmp6g5.mjs";import{J_ as ps}from"./cli-1.1.25-45mx738r.mjs";import{K_ as we}from"./cli-1.1.25-1hx796kk.mjs";import{Jta as dr,Kta as Z,Lta as Ce}from"./cli-1.1.25-8v1gw0tw.mjs";import{Mta as ir}from"./cli-1.1.25-6pthkv1w.mjs";import{Ota as Xe}from"./cli-1.1.25-6panntay.mjs";import{Uta as ge,Wta as S,Yta as no,Zta as X}from"./cli-1.1.25-7qxwpfwh.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.25-kh02yd5c.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.25-kh02yd5c.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}};